﻿/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #ededee;
    background: #ededee;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #aeaeae;
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #c4c4c4;
    }

@font-face {
    font-family: 'roboto-regular';
    src: url('/src/font/roboto-regular.ttf') format('truetype');
}

:root {
    --primary-color: #2B53EE;
    --organization_color: #2B53EE;
    --organization-border-color: #FFF;
    --button-hover-color: #5A78FA;
    --text-color-gray: #586074;
}

body {
    margin: 0px;
    font-family: Roboto;
}

#frmLogin {
    height: 100% !important;
    color: #1F2229;
    margin: 0;
    line-height: 1.6;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#content {
    height: 100vh !important;
}

#content.active-notification {
    height: calc(100vh - 36px) !important;
    margin-top: -4px;
}

.h-100 {
    height: 100% !important;
}

.w-100 {
    width: 100% !important;
}

#mainContent {
    padding: 0px !important;
}

.hide {
    display: none !important;
}

.main-login-ctn {
    margin: 16px 60px;
}

    .main-login-ctn .database-system-text {
        font-size: 18px;
        font-weight: 500;
        line-height: 28px;
        color: var(--primary-color);
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .main-login-ctn .system-text {
        font-size: 16px;
        font-weight: 400;
        line-height: 28px;
        color: #000;
    }

    .page-title {
        position: absolute;
        top: 0;
    }    

    .page-title img {
        height: 57px;
        object-position: 0 -9px;
    }

#grid-login {
    width: 549px;
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    /*flex-direction: column;*/
    box-sizing: border-box;
    border-radius: 2px;
    /*background-color: #fff;*/
    overflow: hidden;
    position: absolute;
    margin-bottom: 100px;
}

.right-ctn {
    width: 100%;
    text-align: center;
    background-color: white;
    border-radius: 2px;
}

.input-warning {
    border: 1px solid #ff0000 !important;
}

.grid-forgot-password {
    text-align: center;
}

.grid-reset-password {
    z-index: 2000;
}

.grid-login-normal {
    text-align: center;
}

.forgot-password-text {
    text-align: center;
    margin: 24px 0 0 0;
    font-size: 14px;
    line-height: 17px;
    color: var(--text-color-gray);
}

.capcha-container {
    height: 40px;
    margin-top: 12px;
    background-color: #D0D8FB;
    border-radius: 4px;
    display: flex;
}

    .capcha-container .ctn-img-identity {
        height: 100%;
    }

    .capcha-container .reload-capcha {
        width: 24px;
        height: 24px;
        background-size: 450px;
        background-repeat: no-repeat;
        cursor: pointer;
        background-image: url('../../../img/qlts-icon.svg');
        background-position: -81px -42px;
        margin: auto 0;
        padding-left: 8px;
        border-left: 1px solid #C0C0C0;
    }

.ctn-identity-capcha {
    display: flex;
    width: 100%;
    position: relative;
    justify-content: center;
}

.ctn-quick-login {
    margin-top: 24px;
}

.custom-text-form-quick {
    text-align: center !important;
    font-size: 16px !important;
    white-space: break-spaces !important;
}

#login-footer {
    bottom: 0px;
    text-align: center;
}

.main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.logo {
    margin: 0px auto;
    /*margin-top: 20px;*/
    /*background-position-y: center;*/
    background-repeat: no-repeat;
    height: 49px;
    width: 114px;
    background-size: cover;
    background-image: url('/src/img/Logo MISA_VN.svg');
    background-size: contain;
}

.product-name-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .product-name-container .product-name {
        color: var(--primary-color);
        font-size: 18px;
        font-weight: 500;
        line-height: 22px;
        margin-left: 14px;
    }

/*.login-title {
    color: #1F2229;
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    margin: 24px 0 12px 0;
}*/

.btn-space {
    margin-top: 20px;
}

.show-popup-login {
    /*height: 20px;*/
    color: #F93154;
    width: 300px;
    font-size: 12px;
    font-family: inherit;
    display: flex;
    align-items: center;
}

.show-identity-code img {
    width: 89px;
    height: 40px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    margin-right: 7px;
}

.logo-text {
    text-align: center;
    margin: 24px 0 0 0;
    font-size: 14px;
    line-height: 17px;
    color: var(--text-color-gray);
}

    .logo-text .medium {
        font-weight: 500;
    }

#province-input {
    margin-top: 4px;
}

#province-icon {
    top: 14px;
}

.ctn-login-recently {
    margin-bottom: 12px;
    height: 60px;
    width: 100%;
    border-radius: 6px;
    display: flex;
    position: relative;
    cursor: pointer;
    border: 1px solid #D3D7DE;
}

    .ctn-login-recently:hover {
        background-color: #e7ebfd;
    }

.ctn-img-user {
    width: 60px;
    height: 60px;
    text-align: center;
}

.img-user {
    height: 36px;
    width: 36px;
    margin: 12px;
}

.custom-user-logo {
    height: 60px;
    width: 60px;
    margin: 16px;
}

.user-image {
    background-size: contain;
    background-image: url('../../../img/ic_UserIcon.svg');
}

.main-user-info {
    width: calc(100% - 88px);
    padding-right: 20px;
    align-self: center;
}

.fullName {
    text-align: left;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.organizationName {
    text-align: left;
    font-size: 13px;
    line-height: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-color-gray);
}

.icon-delete {
    width: 20px;
    height: 20px;
    position: absolute;
    background-repeat: no-repeat;
    cursor: pointer;
    right: 10px;
    top: 21px;
    background-image: url('../../../img/Icon-qlts-update.svg');
    background-position-x: -1122px;
    background-position-y: -66px;
}

.input-login {
    width: 100%;
    height: 40px;
    padding: 12px 12px 12px 16px;
    margin-top: 12px;
    border-radius: 4px;
    outline: none;
    border: 1px solid #D3D7DE;
    font-size: 13px;
    box-sizing: border-box;
    background-color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .input-login:focus {
        border-radius: 4px;
        border: 1px solid var(--primary-color);
    }

::placeholder {
    color: #abadb1;
    font-size: 14px;
    font-style: normal;
}

.active {
    border-radius: 4px;
    border: 1px solid var(--primary-color);
}

#identity-code {
    width: calc(100% - 129px);
    margin-right: 7px;
}

.forgot-password {
    font-size: 16px;
    font-weight: 400;
    margin-top: 20px;
    color: var(--primary-color);
    cursor: pointer;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.back-to-login, .open-login {
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
    color: var(--primary-color);
    cursor: pointer;
}

    .back-to-login:hover, .open-login:hover {
        text-decoration: underline;
    }

.get-password {
}

.notify-form {
    width: 400px;
    background: white;
    border-radius: 0.25rem;
    padding: 1rem;
    padding-top: 1.5rem;
    font-weight: 400;
    color: black;
    font-size: 15px;
    margin: auto;
}



.notify-icon {
    background-image: url('../../../img/QLTS-icon-2.svg');
    background-position-x: -605px;
    background-position-y: -24px;
    width: 52px;
    height: 40px;
}

.change-success {
    background-image: url('../../../img/QLTS-icon-2.svg');
    background-position-x: -535px;
    background-position-y: -24px;
    width: 42px;
    height: 40px;
}

.close-notify:active {
    border: none;
}

.close-notify:focus {
    border: none;
}

.notify-text {
    margin-left: 20px;
    width: calc(100% - 52px);
}

.notify-body {
    display: flex;
}

.close-notify {
    vertical-align: bottom;
    border: 0;
    font-weight: 500;
    padding: 0.625rem 1.8rem 0.5rem 1.8rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #fff;
    border-radius: 4px;
    background-color: var(--primary-color);
    /* float: right; */
    margin-left: auto;
    cursor: pointer;
}

.notify-footer {
    margin-top: 10px;
    display: flex;
}

.password-login {
    position: relative;
}
/*popup thông báo*/
#popupLogin {
    border-radius: 22.5px;
    width: 350px;
    height: 46px;
    color: #fff;
    margin-top: 16px;
    overflow-wrap: break-word;
    text-align: center;
    background-color: #FFA900;
    font-size: 14px;
    font-family: Roboto;
    line-height: 46px;
}

.select-label {
    padding-top: 0.4rem;
}

.form-control {
    height: 40px;
}

.select-arrow {
    top: 10px;
}

.copy-right {
    width: 200px;
    height: 14px;
    position: absolute;
    bottom: 29px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px !important;
    left: calc(50% - 100px);
    text-align: center;
    font-family: "roboto-regular";
}

.eye {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 10px;
    top: 20px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.on-eye {
    background: url('../../../img/qlts-icon.svg') no-repeat;
    background-position: -43px -660px;
}

.off-eye {
    background: url('../../../img/qlts-icon.svg') no-repeat;
    background-position: -88px -660px;
}

.login {
    font-family: inherit;
    position: relative;
}

.button {
    width: 100%;
    height: 39px;
    border-radius: 4px;
    font-size: 13px !important;
    font-weight: 500;
    line-height: 21px;
    outline: none;
    border: none;
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
}

    .button:hover {
        background-color: var(--button-hover-color);
    }

button:hover {
    color: white;
}

.chart-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background-color: rgba(1,1,0,.2);
}

    .chart-loading .mask-item {
        width: 64px;
        height: 64px;
        background-size: cover;
        display: inline-block;
        border: 3px solid #fff;
        border-radius: 50%;
        border-top-color: #2ea4f1;
        width: 40px;
        height: 40px;
        -webkit-animation: spin 1.5s linear infinite;
        animation: spin 1.5s linear infinite;
        margin: 0 auto;
        position: absolute;
        z-index: 99999999;
    }

.icon {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 10px;
    top: 22px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.icon-dropdown-up {
    background-image: url('../../../img/Icon-qlts-update.svg');
    background-position-x: -814px;
    background-position-y: -67px;
}

.icon-dropdown-down {
    background-image: url('../../../img/Icon-qlts-update.svg');
    background-position-x: -858px;
    background-position-y: -67px;
}


.dropdown {
    width: 300px;
    max-height: 250px;
    min-height: 44px;
    position: absolute;
    background-color: #fff;
    overflow: auto;
    z-index: 3;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    box-shadow: 0px 3px 10px rgba(0,0,0,.16);
    padding-top: 14px;
    padding-bottom: 14px;
    position: fixed;
}

.province-dropdown {
    display: none;
}

.orga-dropdown {
    display: none;
    width: 450px !important;
}

.show {
    display: block !important;
}

.custom-dropdown-item {
    font-size: 13px;
    line-height: 44px;
    padding-left: 20px;
    padding-right: 10px;
    /*align-items: center;*/
    /*display: flex;*/
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .custom-dropdown-item:hover {
        background-color: #c4c4c44d;
        cursor: pointer;
    }

    .custom-dropdown-item.disable {
        color: #afafaf;
    }

    .custom-dropdown-item.disable:hover {
        background-color: unset;
        cursor: unset;
    }

.dropdown-item-active {
    background-color: rgba(66, 98, 240, 0.15) !important;
}

.mask-login {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    z-index: 999998;
    display: none;
}

.loader-login {
    z-index: 999999;
    color: var(--primary-color);
    font-size: 8px;
    top: 50%;
    left: 50%;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load4 1.5s infinite linear;
    animation: load4 1.5s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

.loader {
    color: var(--primary-color);
    font-size: 6px;
    margin: 100px auto;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load4 1.5s infinite linear;
    animation: load4 1.5s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

@-webkit-keyframes load4 {
    0%, 100% {
        box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }

    12.5% {
        box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    25% {
        box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    37.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    50% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    62.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }

    75% {
        box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }

    87.5% {
        box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
}

@keyframes load4 {
    0%, 100% {
        box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }

    12.5% {
        box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    25% {
        box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    37.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    50% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    62.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }

    75% {
        box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }

    87.5% {
        box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
}


@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media(max-width: 1366px) {
    #grid-login {
        width: 549px;
        display: flex;
        flex-direction: column;
        /*align-items: center;*/
        /*flex-direction: column;*/
        box-sizing: border-box;
        border-radius: 2px;
        /*background-color: #fff;*/
        overflow: hidden;
        position: absolute;
        margin-bottom: 100px;
    }

    .logo-text {
        text-align: center;
        margin: 24px 0 0 0;
        font-size: 14px;
        line-height: 17px;
        color: var(--text-color-gray);
    }

    .logo {
        margin: 0px auto;
        /*margin-top: 20px;*/
        /*background-position-y: center;*/
        background-repeat: no-repeat;
        height: 49px;
        width: 114px;
        background-size: cover;
        background-image: url('/src/img/Logo MISA_VN.svg');
        background-size: contain;
    }

    .copy-right {
        width: 200px;
        height: 14px;
        position: absolute;
        bottom: 9px;
        color: rgba(255, 255, 255, 0.3);
        font-size: 12px !important;
        left: calc(50% - 100px);
        text-align: center;
        font-family: "roboto-regular";
    }
}

@media(max-width: 1536px) {
    .copy-right {
        width: 200px;
        height: 14px;
        position: absolute;
        bottom: 15px;
        color: rgba(255, 255, 255, 0.3);
        font-size: 12px !important;
        left: calc(50% - 100px);
        text-align: center;
        font-family: "roboto-regular";
    }
}


/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden;
    min-width: 250px;
    max-width: 400px;
    /*background-color: #f65335;
    color: #fff;*/
    text-align: center;
    border-radius: 6px;
    padding: 16px 20px;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 44px;
    font-size: 14px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(31, 34, 41, 0.19);
    border-left: 5px solid #FFD1D1;
    display: flex;
}

    #snackbar.forgot-password-notify {
        border-left: 5px solid #D9DFFC;
        text-decoration: none;
    }

        #snackbar.forgot-password-notify .icon-info {
            height: 24px !important;
            width: 24px !important;
        }

        #snackbar.forgot-password-notify .message .message__title {
            color: #2B53EE !important;
            cursor: text !important;
            text-decoration: none !important;
        }

        #snackbar.forgot-password-notify .message .message__content {
            color: var(--text-color-gray);
            cursor: text !important;
            text-decoration: none !important;
            font-weight: normal;
            line-height: 20px;
        }

    #snackbar.show-snack {
        visibility: visible;
    }

    #snackbar .icon-error {
        height: 24px;
        width: 24px;
    }

    #snackbar .message {
        margin: 0 24px 0 10px;
        text-align: left;
    }

        #snackbar .message .message__title {
            font-weight: 500;
            color: #EC4141;
            margin-bottom: 6px;
        }

        #snackbar .message .message__content {
            color: var(--text-color-gray);
        }

    #snackbar .icon-close {
        height: 10px;
        width: 10px;
        margin: auto 0;
        cursor: pointer;
    }

.btn-link {
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
    color: var(--primary-color);
    cursor: pointer;
}

    .btn-link:hover {
        text-decoration: underline;
    }

.background-backdrop {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0,0, 0.15);
}

#frmTwoFactorConfig {
    position: absolute;
}

.tenant-information {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

    .tenant-information .tenant-background {
        position: absolute;
        width: 100%;
        height: 61px;
    }

    .tenant-information .tenant-container {
        display: flex;
        position: relative;
        justify-content: center;
        align-items: center;
    }

        .tenant-information .tenant-container .tenant-logo {
            width: 50px;
            height: 50px;
            margin-right: 16px;
            background-size: 50px 50px;
        }

        .tenant-information .tenant-container .tenant-name {
            font-size: 28px;
            font-weight: 700;
            line-height: 29px;
            color: var(--organization_color);
            text-shadow: -1px -1px 0 var(--organization-border-color), 1px -1px 0 var(--organization-border-color), -1px 1px 0 var(--organization-border-color), 1px 1px 0 var(--organization-border-color);
            text-align: center;
            margin: 16px 0;
            text-transform: uppercase;
        }

