﻿body {
    font-family: 'Montserrat', sans-serif;
    /*background-image: url("../img/logo/logo.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom left; */
    font-size: 0.9375rem;
}

.f-f-default {
    font-family: 'Noto Sans SC', sans-serif !important;
}

.body-lg {
    background-color: #F4F6FA;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
}

    .separator::before,
    .separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #c8c9ca;
    }

    .separator:not(:empty)::before {
        margin-right: .25em;
    }

    .separator:not(:empty)::after {
        margin-left: .25em;
    }

.body-mspt {
    background-color: #F4F6FA;
    padding-bottom: 50px;
}

.b-r-none {
    border-radius: 0;
}

.nav-p-5 {
    padding: 0 5px;
}

.background-wrapper {
    width: 100vw;
    height: 200vh;
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    top: -600px;
    left: -450px;
    background: radial-gradient(rgb(49, 153, 238) 0%, rgb(49, 153, 238) 25%, rgb(38, 123, 233) 25%, rgb(38, 123, 233) 50%, rgb(7, 115, 202) 50%, rgb(7, 115, 202) 75%);
}

.login-bg {
    background-image: url('../img/bg/login_bg_o.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    background-color: rgba(0,0,0,0.15);
}

.bg-light-blue {
    background-color: rgb(214, 243, 251);
}

.btn-circle {
    border-radius: 50%;
}

.a-info {
    width: 30px;
    height: 30px;
    padding: 6px;
}

.a-answer {
    width: 30px;
    height: 30px;
    padding: 6px 8px;
}

.p-l-tab-50 {
    padding-left: 50px;
}

.c-tear-green {
    color: #128C7E;
}

.c-fb-blue {
    color: #4267B2;
}

.a-blue {
    color: blue;
}

.bg-tear-green {
    background-color: #128C7E;
}

.bg-fb-blue {
    background-color: #4267B2;
}

.border-radius-btm-15 {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.mspy-footer {
    margin-top: 20px;
    font-size: 11px;
}

.container-login {
    max-width: 600px;
    padding-top: 15%;
}

.container-pt {
    max-width: 1000px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.container-pr {
    max-width: 700px;
}

.container-lg {
    max-width: 1400px;
}

.container-fluid {
    padding: 0 50px;
}

.body-login {
    display: inline-flex;
    width: 100%;
}

.login-logo {
    margin: 10px 40px 10px 20px !important;
}

.login-submit {
    padding-top: 10px;
}

.input-bd-0 {
    border: none;
}

    .form-control:disabled, .form-control[readonly] {
        border: none;
        background-color: rgb(240,240,240);
    }

input:checked ~ span {
    font-weight: bold;
    color: #0d6efd;
}

.pt-title {
    font-size: 2.5rem;
    margin: 30px 0 50px;
    text-align: center;
}

.pt-title-result {
    font-size: 2.5rem;
    margin: 30px 0 20px;
    text-align: center;
}

.pt-result-user {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.card-body-disc-description {
    font-family: "楷体","楷体_GB2312";
}

.btn-mspt-nav {
    display: block;
    position: absolute;
    padding: 10px;
    padding-top: 15px;
}

.btn-mspt-nav i {
    margin: 0 3px;
}

.btn-home-mspt {
    margin-left: 10px;
    left: 0;
    top: 0;
}

.btn-logout-mspt {
    right: 0;
    margin-right: 10px;
    top: 0;
}

.card {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.card-cust {
    max-width: 1800px;
    margin: auto;
}

.card-mb-10 {
    margin-bottom: 100px;
}

.card-body {
    padding: 1.5rem; 
}

.card-body-s {
    padding: 1rem;
}

.card-body-table {
    padding: 1rem;
}

.card-title-m {
    margin-bottom: 15px;
}

.card-highlight {
    border-top: 7px solid rgb(230, 230, 230);
}

.img-logo {
    margin: 50px auto;
    max-width: 150px;
}

.img-logo-s {
    max-width: 50px;
    margin: 15px auto 0;
}

.desc-container {
    max-width: 880px;
    margin: auto;
    font-size: 1.3rem;
}

    .desc-container p {
        margin-bottom: 1.5rem;
    }

.p-t {
    padding-left: 50px;
}

.m-b-0 {
    margin-bottom: 0;
}

.question-container {
    max-width: 880px;
    margin: auto;
    font-family: 'Noto Sans SC', sans-serif;
}

.form-question-container {
    margin-bottom: 40px;
}

.form-answer {
    padding-left: 22px;
}

.form-personal-information {
    margin-bottom: 30px;
}

.form-personal-information-input {
    max-width: 800px;
}

    .form-personal-information-input .input-group-text {
        background-color: #f0f0f0;
        width: 45px;
        text-align: center;
        display: inline-block;
    }

.btn-submit {
    width: 125px;
    margin: 5px;
}

.btn-orange {
    background-color: #ffcf00;
    border-color: #ffcf00;
}

.btn-grey {
    background-color: #e5e7ea;
    border-color: #e5e7ea;
}

.chart-container {
    position: relative;
    max-width: 400px;
    margin: auto;
}


.chart-container-s {
    max-width: 300px;
}

.result-container {
    max-width: 880px;
    margin: auto;
}

.pt-result-highlight {
    display: inline-flex;
    width: 100%;
    font-size: 1.3rem;
}

    .pt-result-highlight .pt-result-highlight-r {
        margin-left: auto;
    }


.pt-result-highlight-cfg {
    display: block;
}

.result-title {
    border-bottom: 1px solid lightgray;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: black;
}

.list-btn {
    display: inline-flex;
    flex-direction: row;
    
}
.list-btn>.list-group-item {
    border: 0;
    width: 33.3333%;
    text-align: center;
    background-color: transparent !important;
}

.card-footer-s {
    padding: 3px !important;
}

.card-pt {
    margin-bottom: 2rem;
    border: 0;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

    .card-pt .card-header {
        border-radius: 0;
        border-bottom: 0;
    }

    .card-pt .card-body {
        background-color: white;
    }

    .card-pt .card-footer {
        border-top: 0;
        background-color:  transparent;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

.card-pt-s {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

    .card-pt-s .card-footer {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

.card-pt-light-grey, .card-pt-light-grey .card-header, .card-pt-light-grey .card-footer {
    border-color: rgb(240, 240, 240) !important;
    background-color: rgb(240, 240, 240) !important;
}

.card-pt-light-blue, .card-pt-light-blue .card-header, .card-pt-light-blue .card-footer {
    border-color: rgb(220, 235, 255) !important;
    background-color: rgb(220, 235, 255) !important;
}

.card-pt-light-red, .card-pt-light-red .card-header, .card-pt-light-red .card-footer  {
    border-color: rgb(255, 200, 200) !important;
    background-color: rgb(255, 200, 200) !important;
}

.card-pt-light-green, .card-pt-light-green .card-header, .card-pt-light-green .card-footer {
    border-color: rgb(180, 235, 205) !important;
    background-color:  rgb(180, 235, 205) !important;
}

.card-pt-light-yellow, .card-pt-light-yellow .card-header, .card-pt-light-yellow .card-footer {
    border-color: rgb(255, 255, 200) !important;
    background-color:  rgb(255, 255, 200) !important;
}

.dashboard-title {
    margin-bottom: 30px;
}

.list-group-container {
    width: 200px;
    margin: auto;
}

.list-group-container-cfg {
    width: 300px;
}

.list-group-disc .list-group-item {
    width: 50px;
    text-align: center;
}

.list-group-disc-title>.list-group-item:first-child {
    border-bottom-left-radius: 0;
    border-bottom: 0;
}

.list-group-disc-title>.list-group-item+.list-group-item {
    border-bottom: 0;
}

.list-group-disc-title>.list-group-item:last-child {
    border-bottom-right-radius: 0;
}


.list-group-disc-value>.list-group-item:first-child {
    border-top-left-radius: 0;
}

.list-group-disc-value>.list-group-item:last-child {
    border-top-right-radius: 0;
}

.btn-sm {
    margin-bottom: 3px;
    font-size: 0.5rem;
}

.btn-outline-primary {
    color: white;
    border-color: #4f96ff;
    background-color: #4f96ff;
}

.btn-outline-success {
    color: white;
    border-color: #52a27d;
    background-color: #52a27d;
}

.cust-alert-placeholder {
    display: block;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0;
    border: none;
}

.cust-alert {
    display: block;
    margin: auto;
    max-width: 978px;
}

.loading-placeholder {
    position: fixed;
    display: block;
    height: 100%;
    width: 100%;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.lds-ring {
    margin: auto;
    display: block;
    top: 40%;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid #fff;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #fff transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

.language-option-container {
    padding-top: 15%;
    min-height: 550px;
}

.row-grey {
    background-color: #f4f3ea;
    padding: 10px;
}

.row-white {
    background-color: white;
    padding: 10px;
}

.cfg-title-desc {
    padding-left: 15px;
}

/**** progression ****/
.progress-indicator {
    margin: auto auto 10px;
    max-width: 800px;
}

    .progress-indicator > li.completed .bubble, .progress-indicator > li.completed .bubble:after, .progress-indicator > li.completed .bubble:before {
        background-color: #ffcf00;
        border-color: #ffcf00;
    }
    .progress-indicator > li.completed, .progress-indicator > li.completed .bubble {
        color: #ffcf00;
    }
    .progress-indicator > li .bubble {
        width: 10px;
        height: 10px;
        border-bottom: none;
        background-color: #e5e7ea;
    }
        .progress-indicator > li .bubble:after, .progress-indicator > li .bubble:before {
            top: 4px;
            background-color: #e5e7ea;
        }

/**** progression ****/


/**** radio ****/
.switch-field {
    display: flex;
    overflow: hidden;
    padding-right: 2px;
    margin-left: auto;
    height: 28px;
    float: right;
}

    .switch-field input {
        position: absolute !important;
        clip: rect(0, 0, 0, 0);
        height: 1px;
        width: 1px;
        border: 0;
        overflow: hidden;
    }

    .switch-field label {
        background-color: transparent;
        color: rgba(0, 0, 0, 0.6);
        font-size: 12px;
        line-height: 1;
        text-align: center;
        padding: 7px 16px;
        margin-right: -1px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px rgba(255, 255, 255, 0.1);
        transition: all 0.1s ease-in-out;
    }

        .switch-field label:hover {
            cursor: pointer;
        }

    .switch-field input:checked + label {
        background-color: #333d51;
        color: white;
        box-shadow: none;
    }

    .switch-field input:disabled + label {
        background-color: #e6e6e6;
        color: #bbbbbb;
    }

    .switch-field label:first-of-type {
        border-radius: 4px 0 0 4px;
    }

    .switch-field label:last-of-type {
        border-radius: 0 4px 4px 0;
    }
/**** radio ****/

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.table-striped-lightblue > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: rgb(235, 245, 255);
}

.table-striped-lightgreen > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: rgb(235, 255, 245);
}


.table-hover > tbody > tr:hover {
    --bs-table-accent-bg: rgba(0,0,0,0.05);
}

.page-link {
    color: black;
}

.page-item.active .page-link {
    background-color: #6c757d;
    border-color: #6c757d;
}

@media (max-width: 1199.98px) {
    .container-login {
        padding-top: 25%;
    }

    .container-fluid {
        padding: 0;
    }

    .container-nav {
        max-width: 100%;
    }

    .card-body-table {
        padding: 1rem 5px;
    }

    .row-0 {
        --bs-gutter-x: 0;
    }

        .row-0 .col-lg-6 {
            padding: 0 10px;
        }
}

@media (max-width: 999.98px) {
    .card-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .container-login {
        padding-top: 12px;
    }

    .body-login {
        display: block;
        width: 100%;
    }

    .login-logo {
        margin: 10px auto 30px auto !important;
        display: block;
    }

    .login-submit {
        text-align: center;
    }

    .nav-label {
        display: none;
    }

    .card-body-disc-description {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .btn-mspt-nav {
        padding-top: 10px;
    }

    div.dataTables_wrapper div.dataTables_length, div.dataTables_wrapper div.dataTables_filter, div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
        margin-bottom: 5px;
    }

    div.dataTables_wrapper div.dataTables_length, div.dataTables_wrapper div.dataTables_filter, div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
        margin-bottom: 10px;
    }
    
    .container-fluid {
        padding: 0;
    }

    .desc-container {
        font-size: 1.1rem;
    }

    .pt-result-highlight {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
    }

        .pt-result-highlight .pt-result-highlight-r {
            margin-top: 5px;
            margin-left: 0;
        }

    .btn-home-mspt {
        margin-left: 0;
        left: 0;
        padding-left: 0;
    }
    
    .btn-logout-mspt {
        right: 0;
        margin-right: 0;
        padding-right: 0;
    }
    
    .card-body-table {
        padding: 1rem 0;
    }

    .card-body-m {
        padding: 1rem; 
    }
    
    h5 {
        font-size: 1rem;
    }

    .language-option-container {
        padding-top: 50%;
        min-height: 550px;
    }

    .cfg-title-desc {
        padding-left: 0;
    }
}