﻿/*#region loading */

#loading {
    display: none;
    width: 100%;
    height: 100%;
    background: url('/Theme/dist/img/loading.gif') no-repeat center;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 9999 !important;
    top: 2px;
    left: 0;
}


/*#endregion */

/*#region Modal */
.modal {
    background: rgba(0, 0, 0, 0.5);
}

.modal-common {
    color: #333;
    font-family: 'Roboto Condensed', sans-serif;
}

    .modal-common .modal-dialog {
        /*margin-top: 100px;*/
    }

        .modal-common .modal-dialog.modal-xl {
            max-width: 95%;
        }

    .modal-common .modal-content {
        border: 0;
        border-radius: 0;
    }

        .modal-common .modal-content .modal-header {
            border: none;
            padding: 15px 20px;
        }

            .modal-common .modal-content .modal-header .close {
                float: right;
                font-size: 30px;
                font-weight: normal;
                line-height: 1;
                color: #000;
                text-shadow: 0 1px 0 #fff;
                opacity: 0.3;
            }

            .modal-common .modal-content .modal-header .modal-title {
                text-transform: uppercase;
                font-weight: 500;
                font-size: 16px;
            }

        .modal-common .modal-content .modal-body {
            padding: 0 20px 20px;
        }

        .modal-common .modal-content .modal-footer {
            text-align: right;
            border: none;
            padding: 20px 0 10px;
        }

            .modal-common .modal-content .modal-footer a {
                min-width: 120px;
                padding: 8px;
                font-weight: bold;
                font-size: 15px;
                color: #fff;
                border-radius: 3px;
            }

                .modal-common .modal-content .modal-footer a.btn-yes {
                    background: #ff9100;
                }

                    .modal-common .modal-content .modal-footer a.btn-yes:hover {
                        background: #ff6f00;
                    }

                .modal-common .modal-content .modal-footer a.btn-no {
                    background: #9fa2a3;
                }

                    .modal-common .modal-content .modal-footer a.btn-no:hover {
                        background: #8e9293;
                    }

                .modal-common .modal-content .modal-footer a i {
                    width: 16px;
                    font-size: 16px;
                    vertical-align: text-bottom;
                }
/*#endregion */

/*#region Login page */

.login-page label:not(.form-check-label):not(.custom-file-label) {
    font-weight: normal;
}

.login-page, .register-page, .download-page {
    background-color: transparent;
    background-image: url('/Theme/dist/img/bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

    .login-page .card {
        background-color: rgb(255 255 255 / 70%);
        border-radius: 1rem;
    }

    .login-page a.h1 {
        font-size: 28px;
        color: #444;
    }

        .login-page a.h1 img {
            width: 260px;
            margin-bottom: 10px;
        }

    .login-page [class*=icheck-] > input:first-child + input[type=hidden] + label::before, .login-page [class*=icheck-] > input:first-child + label::before {
        border-color: #0c8698
    }

    .login-page .icheck-primary > input:first-child:checked + input[type=hidden] + label::before, .login-page .icheck-primary > input:first-child:checked + label::before {
        background-color: #0c8698;
        border-color: #0c8698;
    }

    .login-page .btn-login {
        background-color: #0c8698;
        border-color: #0c8698;
    }

        .login-page .btn-login:hover {
            background-color: #29b5bb;
            border-color: #29b5bb;
        }

.social-auth-links img {
    width: 20px;
}

.login-page .social-auth-links {
    margin: 0
}

.login-page .btn-social {
    background-color: #000;
    border-color: #000;
}

    .login-page .btn-social:hover {
        background-color: #000000b6;
        border-color: #000000b6;
    }

.login-box .form-control {
    border-radius: 1rem;
    border-color: #29b5bb;
    border-left: none;
    padding-left: 30px;
}

.login-page .input-group-append {
    margin-left: -1px;
    margin-right: -18px;
    z-index: 9;
}

.login-page .input-group-text {
    border-radius: 50% !important;
    border-color: #29b5bb;
}

    .login-page .input-group-text span {
        color: #29b5bb;
    }

/*#endregion */

/*#region Languages */

.change-lang {
    list-style: none;
    transition: all .15s ease-out;
    -webkit-transition: all .15s ease-out;
    -moz-transition: all .15s ease-out;
    -ms-transition: all .15s ease-out;
    -o-transition: all .15s ease-out;
}


    .change-lang li {
        float: left;
    }

        .change-lang li a {
            display: block;
        }

            .change-lang li a img {
                height: 22px;
                width: auto;
                border: 1px solid #fff;
                margin: 10px 0 0 5px;
            }

/*#endregion */

/*#region Form Process Steps */
.bs-wizard {
    display: -ms-flexbox;
    display: flex;
    margin-right: -1.25rem;
    margin-left: -1.25rem;
    padding-bottom: 15px;
    overflow: auto;
    z-index: 9999
}

    .bs-wizard > .bs-wizard-step {
        padding: 0;
        position: relative;
        min-width: 25%;
        max-width: 50%;
    }

        .bs-wizard > .bs-wizard-step + .bs-wizard-step {
        }

        .bs-wizard > .bs-wizard-step .bs-wizard-stepnum {
            color: #595959;
            font-size: 16px;
            margin-bottom: 5px;
        }

        .bs-wizard > .bs-wizard-step .bs-wizard-info {
            color: #999;
            font-size: 14px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .bs-wizard > .bs-wizard-step > .bs-wizard-dot {
            position: absolute;
            width: 30px;
            height: 30px;
            display: block;
            background: #fbe8aa;
            top: 45px;
            left: 50%;
            margin-top: -15px;
            margin-left: -15px;
            border-radius: 50%;
        }

            .bs-wizard > .bs-wizard-step > .bs-wizard-dot:after {
                content: ' ';
                width: 14px;
                height: 14px;
                background: #fbbd19;
                border-radius: 50px;
                position: absolute;
                top: 8px;
                left: 8px;
            }

        .bs-wizard > .bs-wizard-step > .progress {
            position: relative;
            border-radius: 0px;
            height: 8px;
            box-shadow: none;
            margin: 20px 0;
        }

            .bs-wizard > .bs-wizard-step > .progress > .progress-bar {
                width: 0px;
                box-shadow: none;
                background: #fbe8aa;
            }

        .bs-wizard > .bs-wizard-step.complete > .progress > .progress-bar {
            width: 100%;
        }

        .bs-wizard > .bs-wizard-step.active > .progress > .progress-bar {
            width: 50%;
        }

        .bs-wizard > .bs-wizard-step:first-child.active > .progress > .progress-bar {
            width: 0%;
        }

        .bs-wizard > .bs-wizard-step:last-child.active > .progress > .progress-bar {
            width: 100%;
        }

        .bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot {
            background-color: #f5f5f5;
        }

            .bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot:after {
                opacity: 0;
            }

        .bs-wizard > .bs-wizard-step:first-child > .progress {
            left: 50%;
            width: 50%;
        }

        .bs-wizard > .bs-wizard-step:last-child > .progress {
            width: 50%;
        }

        .bs-wizard > .bs-wizard-step.disabled a.bs-wizard-dot {
            pointer-events: none;
        }

/*#endregion */

/*#region style */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', sans-serif;
}

.color-green {
    color: green;
}

.home-page .small-box p {
    min-height: 51px;
    font-size: 1.05rem;
}

a {
    cursor: pointer
}

.badge:not(.count-noti) {
    font-size: 80%;
}

/*Tạo mới*/
.sample-status[data-value="10"] {
    background: #FFCF33;
    color: #FFFFFF;
}

/*Đang mã hóa*/
.sample-status[data-value="20"], .sample-status[data-value="30"] {
    background: #FF8A60;
    color: #fff;
}

/*Đang tách chiết*/
.sample-status[data-value="40"], .sample-status[data-value="50"], .sample-status[data-value="60"], .sample-status[data-value="70"] {
    background: #60D5FF;
    color: #fff;
}

/*Đang Sequencing*/
.sample-status[data-value="75"], .sample-status[data-value="90"] {
    background: #9974FF;
    color: #fff;
}

/*Thu Máu Lại*/
.sample-status[data-value="100"] {
    background: #68EAD7;
    color: #fff;
}

/*Hoàn tất / Đã trả KQ*/
.sample-status[data-value="80"] {
    background: #ADDC59;
    color: #FFFFFF;
}

/*Đã Xóa*/
.sample-status[data-value="0"] {
    background: #FF8A60;
    color: #FFFFFF;
}

/*Ngưng chạy*/
.sample-status[data-value="116"] {
    background: #FF8A60;
    color: #FFFFFF;
}

/*Huỷ*/
.sample-status[data-value="120"] {
    background: #FF8A60;
    color: #FFFFFF;
}

/*Đã có KQ*/
.combo-status[data-value="1"] {
    background: #00a65a;
    color: #fff;
}

/*Không XN Combo*/
.combo-status[data-value="0"] {
    background: #777777;
    color: #fff;
}

/*Chưa có KQ*/
.combo-status[data-value="2"] {
    background: #FF851B;
    color: #fff;
}

.is_send_result_True {
    color: #fff;
    background: #00BAC6;
}

.is_send_result_False {
    color: #000;
    background: #d2d6de;
}

.combo-name[data-value="Không"] {
    background: #dd4b39;
    color: #FFFFFF;
}

.combo-name[data-value="Carrier (NIPT)"] {
    background: #f39c12;
    color: #FFFFFF;
}

.combo-name[data-value="Gencare Premium (ECD)"] {
    background: #d2d6de;
    color: #000;
}

.combo-name[data-value="Pinkcare (NIPT)"] {
    background: #00a65a;
    color: #FFFFFF;
}

.combo-name[data-value="Onco (NIPT)"] {
    background: #0073b7;
    color: #FFFFFF;
}

.combo-name[data-value="Oncosure (ECD)"] {
    background: #d2d6de;
    color: #000;
}

.combo-name[data-value="Oncosure Plus (ECD)"] {
    background: #d2d6de;
    color: #000;
}

.type-status[data-value="1"] {
    background: #dd4b39;
    color: #FFFFFF;
}

.type-status[data-value="2"] {
    background: #f39c12;
    color: #FFFFFF;
}

.type-status[data-value="3"] {
    background: #68EAD7;
    color: #fff;
}

.type-status[data-value="4"] {
    background: #9974FF;
    color: #fff;
}

.type-status[data-value="5"] {
    background: #d2d6de;
    color: #000;
}

.type-status[data-value="6"] {
    background: #00a65a;
    color: #fff;
}

.hcptype-status[data-value="Partner"] {
    background: #dd4b39;
    color: #FFFFFF;
}

.hcptype-status[data-value="Nursing"] {
    background: #f39c12;
    color: #FFFFFF;
}

.hcptype-status[data-value="Secretary"] {
    background: #68EAD7;
    color: #fff;
}

.hcptype-status[data-value="ClinicOwner"] {
    background: #d2d6de;
    color: #000;
}

.active-status[data-value="true"] {
    background: #00a65a;
    color: #fff;
}

.active-status[data-value="false"] {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.permission-type[data-value="FullRole"] {
    background: #00a65a;
    color: #fff;
}

.permission-type[data-value="Page"] {
    background: #dd4b39;
    color: #fff;
}

.permission-type[data-value="Control"] {
    background: #0073b7;
    color: #fff;
}


.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    padding: 0.46875rem 0.75rem;
    height: calc(2.25rem + 2px);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff;
    border-color: #006fe6;
    color: #fff;
    padding: 0 10px;
    margin-top: 0.31rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: rgba(255,255,255,.7);
    float: right;
    margin-left: 5px;
    margin-right: -2px;
}

.content-wrapper {
    background-color: transparent;
}

.cb-search {
    padding: 1rem 1.25rem 0;
}

.jsgrid-table {
    font-family: 'Roboto Condensed', sans-serif;
}

#tableFilter .jsgrid-table, #tableReport .jsgrid-table {
    font-size: 13px;
}

.jsgrid a.btn {
    text-align: center;
    margin: 0 auto;
    float: left;
    width: 87px;
    display: block;
    font-size: 12px;
    margin: 0 3px;
    white-space: nowrap;
}

.jsgrid.stick {
    position: fixed !important;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: grid;
    min-height: auto !important;
}

.jsgrid.stick > * {
    position: relative;
}

.details ul.detail-ul {
    margin: 10px 0 0;
    padding: 0;
}

    .details ul.detail-ul li {
        list-style: none;
        border-top: 1px solid #dee2e6;
        padding: 3px;
        display: block;
        clear: both;
        overflow: hidden;
    }

        .details ul.detail-ul li:nth-of-type(odd) {
            background-color: rgba(0,0,0,.05);
        }

        .details ul.detail-ul li label {
            font-weight: normal !important;
            margin: 0;
            min-width: 40%;
            display: block;
            float: left;
        }

        .details ul.detail-ul li span {
            max-width: 60%;
            display: block;
            float: left;
        }

.inline-block {
    display: inline-block;
}

.ckb-send {
    width: 16px;
    height: 16px;
}

.hide {
    display: none
}

.box-download {
    font-size: 16px;
}

    .box-download .gr-checkbox {
        padding-left: 30px;
    }


.jsgrid .jsgrid-grid-header, .jsgrid .jsgrid-grid-body {
    overflow-y: hidden !important;
}

.jsgrid-cell {
    overflow: hidden;
}

.download-page {
    font-size: 18px;
    -ms-flex-align: center;
    align-items: center;
    background-color: #e9ecef;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    -ms-flex-pack: center;
    justify-content: center;
}

    .download-page .card h3 {
        font-size: 22px;
    }

.box-radio .custom-radio {
    display: inline-flex;
    padding-right: 25px;
    margin-bottom: 0.5rem;
    margin-top: -0.5rem;
}


.custom-radio .custom-control-label {
    cursor: pointer;
    margin-top: 8px;
}

.nav-tabs.flex-column .nav-item.show .nav-link, .nav-tabs.flex-column .nav-link.active {
    border-color: #dee2e6 transparent #dee2e6 #dee2e6;
    border-left: 3px solid #007bff;
}

.link-down span {
    color: #777;
    padding: 0 5px;
}

.link-down:hover span {
    color: #007bff
}

#boxCount2 > div .small-box {
    background-color: #28a745 !important;
}

#boxCount3 > div .small-box {
    background-color: #dc3545 !important
}

#boxCount4 > div .small-box {
    background-color: #ffc107 !important
}

#boxCount4 h3, #boxCount4 p, #boxCount4 a {
    color: #1f2d3d;
}

.custom-download a.btn {
    text-align: center;
    width: 80px;
    display: inline-block;
    font-size: 12px;
    margin: 0 3px;
    white-space: nowrap;
    float: right;
}

a.box-report:hover .icon-report i {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.text-report {
    position: absolute;
    bottom: 0;
}

.icon-report {
    text-align: center;
    margin-top: 25px;
}

    .icon-report i {
        transition: -webkit-transform .3s linear;
        transition: transform .3s linear;
        transition: transform .3s linear,-webkit-transform .3s linear;
        font-size: 60px;
        opacity: 0.6;
    }

.box-language {
    position: absolute;
    right: 15px;
    top: 3px;
}

.btn-view-result {
    margin: -10px 0 0 15px;
}

#boxLoyaltyProgramGifts {
    margin: 15px 0 35px;
}

.lp-left {
    display: inline-block;
    width: calc(100% - 38px - 3.5px)
}

.lp-right {
    width: 38px;
    float: right;
}
/*#endregion */

