@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700&family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Oswald:wght@300;500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:400,700&display=swap&subset=vietnamese');

html, body, .login-warper {
    height: 100%
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

#userid:-webkit-autofill + div + label {
    transform: translateY(-40px);
    font-size: .85em;
    color: #3A4F73;
}

#password:-webkit-autofill + i + div + label {
    transform: translateY(-40px);
    font-size: .85em;
    color: #3A4F73;
}

.form--user-input input:-webkit-autofill ~ .underline:before {
    transform: scaleX(1);
}

body {
    background: url(../login102020/images/bg.png) no-repeat;
    background-color: #F4F9FB !important;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    line-height: 1.5;
}

.custom-tooltip-captcha {
    --bs-tooltip-bg: var(--bs-info);
}

.custom-tooltip-thongbao {
    --bs-tooltip-bg: var(--bs-info);
    --bs-tooltip-max-width: 500px
}

.header--hotline, .header--contact {
    font-size: .7em;
    font-style: normal;
    font-weight: 600;
    color: #2F80ED;
    white-space: nowrap;
}

    .header--hotline .hotline__red, .header--contact .number__red {
        color: red;
    }

.logon--text {
    font-style: normal;
    font-family: 'Roboto Slab', serif;
    letter-spacing: 1.2px;
    margin: 0;
}

    .logon--text .text--main {
        font-size: 1.5em;
        font-weight: 700;
        line-height: 34px;
        color: #f78b00;
    }

    .logon--text .text--sub {
        font-size: 1.3em;
        font-weight: 600;
        line-height: 24px;
        color: #2b89fe;
        padding-top: 8px;
    }

.loginbox--title, .thongbao--title span {
    font-size: .8em;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-align: center;
    color: #2F80ED;
}

.logintile--staff-teacher, .logintile--parent-student {
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    cursor: pointer;
    min-height: 250px;
}

.staff-teacher--ilus img, .parent-student--ilus img, .item img, .thongbao--item {
    transition: all .5s;
}

    #StaffTeacher:hover img, #ParentStudent:hover img, .item:hover img, .thongbao--item:hover {
        transform: scale(1.1)
    }

    .thongbao--item:hover {
        transform: scale(1.03)
    }

.staff-teacher--title, .parent-student--title {
    font: bold 1.1em Roboto;
    color: #248FED;
}

.mobile-ads {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(77, 77, 77, .7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.ads--close {
    height: 40px;
    width: 40px;
    z-index: 1005;
}

.loginform--container {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 10px;
    background: rgb(255, 255, 255) none repeat scroll 0% 0%;
    padding: 30px 6%;
}

    .loginform--container #FromClose {
        padding: 5px 20px;
        font-size: 1.8em;
        opacity: .6;
    }

    .loginform--container .form-title span {
        padding: 10px 20px;
        font: 500 1.3em Roboto;
        color: #197de8;
    }

    .loginform--container span:not(#message,#FormTitle,.submit--text) {
        position: absolute;
        top: 0;
        left: 0;
        transform: translateY(30px);
        padding: 0px 10px;
        font-weight: 500;
        font-size: 1em;
        transition-duration: 300ms;
        color: #3A4F73;
    }

#forgetPassword {
    font-size: .85em;
}

.form--user-input {
    height: 45px;
    width: 100%;
    position: relative;
    margin-top: 2rem;
}

    .form--user-input input {
        height: 100%;
        width: 100%;
        border: none;
        font-size: 1.5em;
        border-bottom: 2px solid silver;
        padding-left: 15px;
        outline: none;
    }

        .form--user-input input:focus ~ label,
        .form--user-input input:valid ~ label {
            transform: translateY(-40px);
            font-size: .85em;
            color: #3A4F73;
        }

    .form--user-input label {
        position: absolute;
        bottom: 10px;
        left: 0;
        color: grey;
        font-size: 1.2em;
        pointer-events: none;
        transition: all 0.3s ease;
        padding-left: 10px
    }

    .form--user-input .underline {
        position: absolute;
        height: 2px;
        width: 100%;
        bottom: 0px;
    }

        .form--user-input .underline:before {
            position: absolute;
            content: "";
            height: 100%;
            width: 100%;
            border-right: 0px;
            border-top: 0px;
            border-bottom: 3px solid !important;
            border-image-slice: 1 !important;
            border-image-source: linear-gradient(to left, #8CF8FF, #5096E9) !important;
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 0.3s ease;
        }

    .form--user-input input:focus ~ .underline:before,
    .form--user-input input:valid ~ .underline:before {
        transform: scaleX(1);
    }

    .form--user-input input.parent-student--input {
        background: #ffffff45;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

.btn-submit {
    width: 100%;
    height: 44px;
    font-style: normal;
    font-weight: bold !important;
    font-size: 1em;
    margin-top: 20px;
    line-height: 23px;
    background: linear-gradient(to left, #3BC8FF,#197DE8);
    background-color: rgba(0, 0, 0, 0);
    border-radius: 100px !important;
    text-align: center;
    border-color: unset !important;
}

.form-title span.parent-student--title {
    border-radius: 50px;
    background: rgba(255,255,255,.3);
}

.loginform--container.parent-student--form {
    background: rgba(0, 0, 0, 0) linear-gradient(60deg, rgb(101, 219, 186), rgb(162, 249, 146)) repeat scroll 0% 0%;
}

.date-wraper {
    height: 82px;
    width: 90px;
    border-radius: 10px;
    background: rgb(200 225 255 / 50%) !important;
    text-align: center;
    justify-content: center;
    float: left;
}

.date--dm {
    font-size: 1.4em;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    color: #2F80ED;
}

.date--y {
    font-family: Roboto;
    font-size: 1.4em;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    color: #EB5757;
}

.content--title {
    font-size: 1.1em;
    font-style: normal;
    font-weight: 500;
    line-height: 21px;
    color: #3A4F73;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content--detail {
    font-size: 1em;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    color: #8B8B8B;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
/*.thongbao--container:before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 10px;
    left: 0;
    pointer-events: none;
    background-image: linear-gradient(to top, rgba(255,255,255,0), rgba(255,255,255, 1) 90%);
    width: 100%;
    height: 4em;
    margin-top: 1rem;
}*/
/*.thongbao--container:after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 70px;
    left: 0;
    pointer-events: none;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255, 1) 90%);
    width: 100%;
    height: 4em;
}*/
.item-content {
    min-width: 0
}

.thongbao--container::-webkit-scrollbar, .tienich--container::-webkit-scrollbar,
.thongbao--container::-webkit-scrollbar-thumb, .tienich--container::-webkit-scrollbar-thumb {
    width: 26px;
    border-radius: 13px;
    background-clip: padding-box;
    border: 10px solid transparent;
}

.thongbao--container::-webkit-scrollbar-thumb, .tienich--container::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 0 10px;
}

.thongbao--container:hover, .tienich--container:hover {
    color: rgba(0, 0, 0, 0.3);
}

.thongbao--container, .tienich--container {
    color: rgba(0, 0, 0, 0.05);
    transition: color .3s ease;
}

    .tienich--container div {
        height: 150px;
        background: #FFFFFF;
        box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.03), 0px 1.6711px 2.92443px rgba(0, 0, 0, 0.0215656), 0px 0.893452px 1.56354px rgba(0, 0, 0, 0.0178832), 0px 0.500862px 0.876509px rgba(0, 0, 0, 0.015), 0px 0.266004px 0.465507px rgba(0, 0, 0, 0.0121168), 0px 0.11069px 0.193708px rgba(0, 0, 0, 0.00843437);
        border-radius: 7px;
        align-items: center;
        justify-content: center;
        width: 40%;
        transition: all .5s;
    }

        .tienich--container div:hover {
            cursor: pointer;
            transform: scale(1.03);
            box-shadow: rgba(0, 0, 0, 0.07) 6px 6px 10px 3px;
        }

        .tienich--container div a img {
            width: 130px;
            height: 70px;
            object-fit: scale-down;
        }

.thongbao--item {
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    cursor: pointer;
    min-height: 115px;
}

.tienich--title {
    font-style: normal;
    font-weight: 500;
    font-size: 1.2em;
    line-height: 23px;
    text-align: start;
    color: #3A4F73;
    margin-top: 10px;
}

.capt-ip {
    width: 30px;
    height: 35px;
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
    border-bottom: 3px solid !important;
    border-image-slice: 1 !important;
    border-image-source: linear-gradient(to left, #8CF8FF, #5096E9) !important;
    outline: none;
    font-size: 25px;
    color: #3A4F73;
    text-align: center
}

    .capt-ip:focus {
        border: none
    }

.jpa {
    list-style: none;
    display: flex;
    flex-direction: row;
}

    .jpa input.capt-ip {
        margin-right: .2rem;
        margin-left: .2rem;
        text-align: center;
        background: #ffffff45;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .jpa inputcapt-ip:first-child {
        margin-left: 0;
    }

    .jpa inputcapt-ip:last-child {
        margin-right: 0;
    }

.box-empty-imt img {
    width: 70%;
}

.footer-container {
    font-weight: 500;
    font-size: 1.2em;
    color: #3A4F73;
    display: flex;
    justify-content: center;
}

.animate__delay-05 {
    /*--animate-duration: 0.8s;*/
    --animate-delay: 0.5s;
}

.forgetPassword:hover {
    font-weight: 500;
}

.forgetPassword:hover {
    color: #f78b00;
}

.mb-gap-1 {
    margin: .125rem;
}

    .mb-gap-1 > * {
        margin: .125rem;
    }

.mb-gap-2 {
    margin: .25rem;
}

    .mb-gap-2 > * {
        margin: .25rem;
    }

.mb-gap-3 {
    margin: .5rem;
}

    .mb-gap-3 > * {
        margin: .5rem;
    }

.mb-gap-4 {
    margin: .75rem;
}

    .mb-gap-4 > * {
        margin: .75rem;
    }

.mb-gap-5 {
    margin: 1.5rem;
}

    .mb-gap-5 > * {
        margin: 1.5rem;
    }

#NgayTaoThongBao {
    font-family: "Arial", sans-serif;
    font-size: 14px;
    color: #888;
}

@media (min-width: 576px) {
    /*small*/
    .loginbox--title, .thongbao--title span {
        font-size: 1.1em;
        text-align: start;
    }

    .logintile--staff-teacher, .logintile--parent-student {
        min-height: 186px;
    }

    /*    .loginform--container {
        min-height: 387px;
    }*/

    .w-sm-0 {
        width: unset !important
    }

    .w-sm-40 {
        width: 40% !important
    }

    .w-sm-50 {
        width: 50% !important
    }

    .w-sm-100 {
        width: 100% !important
    }

    .fs-sm-3 {
        font-size: calc(1.2rem + .6vw) !important;
    }

    .fs-sm-4 {
        font-size: calc(1.175rem + .3vw) !important;
    }
    /*    .logon--img img{
        width: 12%;
    }*/
    .loginform--container {
        padding: 25px 7%;
    }
}

@media (min-width: 768px) {
    /*    .logon--img img {
        width: 57%;
    }*/
    .w-md-90 {
        width: 90% !important;
    }

    .loginform--container {
        padding: 15px 7%;
    }
}

@media (min-width: 992px) {
    /*large*/
    .w-lg-30 {
        width: 30% !important
    }

    .w-lg-35 {
        width: 35% !important
    }

    .w-lg-40 {
        width: 40% !important
    }

    .w-lg-45 {
        width: 40% !important
    }

    .w-lg-50 {
        width: 50% !important
    }

    .w-lg-55 {
        width: 55% !important
    }

    .w-lg-60 {
        width: 60% !important
    }

    .w-lg-65 {
        width: 65% !important
    }

    .staff-teacher--ilus img, .parent-student--ilus img {
        height: 65px;
    }

    /*    .logon--img img {
        width: 75%;
    }*/
    .fs-lg-3 {
        font-size: calc(1.1rem + .6vw) !important;
    }

    .fs-lg-4 {
        font-size: calc(1.075rem + .3vw) !important;
    }

    .logintile--staff-teacher, .logintile--parent-student {
        min-height: 156px;
    }

    .thongbao--container {
        max-height: 400px;
    }

    .tienich--container {
        max-height: 436px;
    }
}

@media (min-width: 1200px) {
    /*x-large*/
    .staff-teacher--ilus img, .parent-student--ilus img {
        height: 80px;
    }

    /*    .logon--img img {
        width: 50%;
    }*/
    .thongbao--container {
        max-height: 350px;
    }

    .tienich--container {
        max-height: 436px;
    }

    .content-container {
        height: 480px;
    }
}

@media (min-width: 1300px) {
    /*x-large*/
    .mt-xsl-auto {
        margin-top: auto !important
    }

    .thongbao--container {
        max-height: 390px;
    }

    .tienich--container {
        max-height: 450px;
    }

    .content-container {
        height: unset;
    }
}

@media (min-width: 1400px) {
    /*xx-large*/

    .tienich--container {
        max-height: 510px;
    }

    .w-xxl-60 {
        width: 60% !important
    }

    .w-xxl-35 {
        width: 35% !important
    }

    .w-xxl-40 {
        width: 35% !important
    }

    .w-xxl-65 {
        width: 65% !important
    }
}

@media (min-width: 1540px) {
    /*xxx-large*/

    .box-empty-imt img {
        width: 550px;
    }

    .staff-teacher--ilus img, .parent-student--ilus img {
        height: 100px;
    }

    .logintile--staff-teacher, .logintile--parent-student {
        min-height: 160px;
    }
    /*    .logon--img img {
        width: 60%;
    }*/
    .w-xxxl-50 {
        width: 50% !important;
    }
}

@media (min-width: 1890px) {
    /*xxxx-large*/
    .thongbao--container {
        max-height: 520px;
    }

    .tienich--container {
        max-height: 675px;
    }

    .staff-teacher--ilus img, .parent-student--ilus img {
        height: 200px;
    }

    .logintile--staff-teacher, .logintile--parent-student {
        min-height: 200px;
    }
    /*    .logon--img img {
        width: 60%;
    }*/

    .w-xxxxl-45 {
        width: 45% !important;
    }

    .box-empty-imt img {
        width: 650px;
    }

    .loginform--container {
        padding: 30px 10%;
    }
}

.callout {
    background-color: rgba(var(--bs-warning-rgb), .075);
    border: rgba(var(--bs-warning-rgb), .5);
    padding: 1.25rem;
    border-left: 0.25rem solid rgba(255,193,7,.5);
    font-size: .65em;
    text-align: start;
    font-weight: 500;
}
#message .parent{
    text-align: left;
}
#message .child {
    text-align: left;
    padding-left: 25px;
}
