@font-face {
    font-family: 'Montserrat';
    src: url('https://fonts.cdnfonts.com/css/montserrat');
}

html, body {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-style: normal;
}

.main {
    background: #EDF6FF;
}

/* css header */
header {
    background: #005BAA;
}
.header {
    padding: 10px 80px;
    background: #005BAA;
}

.content-header {
    align-items: center;
}

.branch-logo {
    width: 100px;
}

.header-info {
    color: #FFFFFF;
    cursor: pointer;
}

.info-user {
    margin-right: 12px;
}


.header-info .info-user .info-name {
    line-height: 15px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 2px;
}

.header-info .info-user .info-id {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
}

.content-icon {
    cursor: pointer;
}

.menu__list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu__link {
    color: #ffffff;
}

.menu__item {
    padding: 10px 15px;
}

.menu__item .menu__link:hover {
    color: #F8A927;
}

.content-header-search {
    margin-right: 20px;
    position: relative;
}

.search__icon {
    filter: brightness(0) saturate(100%) invert(99%) sepia(1%) saturate(222%) hue-rotate(14deg) brightness(121%) contrast(100%);
    cursor: pointer;
}

.search__form {
    display: none;
    position: absolute !important;
    z-index: 9;
    top: -6px;
    right: 30px;
    width: 200px;
}

.input-search {

}

.content-icon .student-profile {
    background-color: #00ADD0;
    border-radius: 50%;
    padding: 4.71px 8px;
    position: relative;
    margin-right: 4px;
}

.content-icon .icon-arrow .icon {
    width: 14px;
    height: 14px;
}

.content-icon .student-profile .icon {
    width: 18px;
    height: 18px;
}


.btn-logout-login {
    background: #FFFFFF;
    box-shadow: 0px 0px 4px #2B577D;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #0C0C0C;
    padding: 10px 18px;
    width: 117px;
    height: 36px;
    z-index: 1;
}

.btn-logout-login:hover {
    opacity: 0.9;
    color: #0C0C0C;
}

.btn-logout-login-icon {
    margin-left: 8px;
    width: 18px;
    height: 18px;
}

.btn-login .btn-logout-login-icon {
    transform: rotate(0.50turn);
}

.header-btn {
    margin-top: 10px;
    display: none;
}

.account-menu {
    list-style: none;
    background: #ffffff;
    border-radius: 3px;
    border: 1px solid #d7d7d7;
    padding: 15px;
    min-width: 150px;
}

.account-menu__item {
    padding: 5px;
}

.account-menu__link {
    color: #0C0C0C
}

.account-menu__link:hover {
    color: #2a2929
}

.header-btn.show {
    display: flex;
}

.select-language {
    margin-right: 36.25px;
}

.select-language.show {
    transition: all 0.5s;
}

.select-language .dropdown-menu {
    padding: 16px 12px;
    background: rgb(255, 255, 255);
    box-shadow: rgb(117 126 134) 0px 0px 4px;
    border-radius: 4px;
    border: none;
    width: 195px !important;
    top: 32px !important;
    transform: translate3d(-130px, 0px, 0px) !important;
}

.icon-flag-dropdown {
    margin-right: 9.25px;
}

.btn-dropdow {
    position: relative;
    cursor: pointer;
    transition: 0.5s;
}


.btn-dropdow::after {
    content: "";
    position: absolute;
    background-image: url(../images/icons/arrow_down.png);
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    transform: translateY(50%);
}

.select-language.show .btn-dropdow::after {
    transform: rotate(270deg) translateY(50%);
    transition: 0.5s;
    top: 25%;
    right: -9.5px;
}

.dropdown-menu-search {
    margin: 16px 12px 8px;
}

.dropdown-menu-search .icon-search {
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    right: 8px;
}

.input-search-language {
    background: #FFFFFF;
    border: 1px solid #B7B7B7;
    border-radius: 4px;
    color: #B7B7B7;
    height: 28px;
    outline: 0;
    padding-left: 8px;
    width: 100%;
}

.dropdown-menu-content {
    overflow-y: scroll;
    margin-bottom: 16px;
}

.dropdown-menu-content .dropdown-item {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #0C0C0C;
    padding: 4px 0 4px 24px;
    display: flex;
    align-items: center;
    height: 32px;
}

.dropdown-menu-content .dropdown-item:hover, .dropdown-menu-content .dropdown-item.active {
    background: #DDEFFF;
    font-weight: 700;
}

.dropdown-menu-content .dropdown-item img {
    margin-right: 12px;
    height: 24px;
}

.content-header-notication {
    margin-right: 50px;
    display: none;
}

.content-notication {
    position: relative;
    display: none;
}

.content-notication .num-noti {
    position: absolute;
    width: 12.958px;
    height: 12.958px;
    background: #EB5757;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-weight: 600;
    text-align: center;
    font-size: 10px;
    border-radius: 50%;
    left: 16.96px;
    top: -4px;
}

/* width */
.dropdown-menu-content::-webkit-scrollbar {
    width: 4px;
}

/* Handle */
.dropdown-menu-content::-webkit-scrollbar-thumb {
    background: #CACACA;
    border-radius: 50px;
}

.content-header-info {
    position: relative;
    z-index: 1;
}

.content-header-info .header-btn {
    position: absolute;
}

.content-btn-none-login .btn-login {
    color: #FFFFFF;
    border-color: #ffffff;
}

.content-btn-none-login .btn-sign-up {
    color: #FFFFFF;
    background-color: #fbb736;
}

.header {
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 1496px;
    margin: auto;
}

.content-sidebar-sp, .btn-open-sidebar {
    display: none;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

.dropmenu-header {
    background: #005baa;
}

.menu__item.dropdown:hover> .menu__link {
    color: #0a6ebd;
}

.dropdown-item.active {
    color: #333;
    text-decoration: none;
    background-color: #f5f5f5;
}

/* end css header */
/* css footer */
.footer {
    background-color: #005BAA;
    padding: 18px;
}

.footer__content {
    max-width: 1366px;
    padding: 0 15px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .copyright {
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
}

.footer__menu .menu__item {
    border-right: 1px solid #fff;
    padding: 0 10px;
    line-height: 1;
}

.footer__menu .menu__item:last-child {
    border-right: none;
}

/* end css footer */
/* css app */
.app {
    padding: 60px 80px 114px;
    max-width: 1496px;
    margin: 0 auto;
    width: 100%;
    min-height: calc(100vh - 135px);
}
/* end css app */

#loading {
    background-color:white;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    bottom: 0;
    z-index: 1000000;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    text-align: center;
}

#loading img {
    margin: auto;
    display: block;
    position: relative;
    top: -30px;
    width: 60px;
    height: auto;
    z-index: 999999;
}

.sp-block-info {
    display: none;
}

.bg-danger-subtle {
    background-color: #f8d7da !important;
}

.text-danger-emphasis {
    color: #58151c !important;
}

.text-success-emphasis {
    color: #0a3622 !important;
}

.bg-success-subtle {
    background-color: #d1e7dd !important;
}

.form-text.text-danger {
    font-size: 11px;
    margin-top: 0;
}

@media only screen and (max-width: 1024px) {
    .btn-open-sidebar {
        display: block;
        cursor: pointer;
    }

    .header {
        padding: 10px 20px 10px;
        height: 81px;
    }

    .header .menu__list,
    .content-header-info,
    .content-btn-none-login.btn-auth {
        display: none;
    }

    .content-sidebar-sp {
        height: 100vh;
        position: fixed;
        top: 0;
        right: 0;
        transition: transform 0.3s ease;
        z-index: 40;
        width: 100%;
        background: #001629B2;
    }

    .content-sidebar-sp.show {
        display: flex;
        justify-content: end;
    }


    .content-sidebar-sp .content-item {
        background: #005BAA;
        width: 300px;
        padding-top: 60px;
        padding-bottom: 20px;
        position: relative;
        transition: transform 0.3s ease;
        transform: translateX(100%);
    }

    .content-sidebar-sp .content-item.show {
        transform: translateX(0);
    }

    .btn-close-sidebar {
        background: none;
        padding: 0;
        border: none;
        position: absolute;
        top: 12px;
        right: 12px;
    }

    .content-sidebar-sp .branch {
        text-align: center;
        margin-bottom: 14px;
    }

    .content-sidebar-sp .nav-link {
        font-size: 16px;
        font-weight: 500;
        line-height: 19.5px;
        color: #FFFFFF;
        padding: 14px 0;
        text-transform: uppercase;
    }

    .content-sidebar-sp .nav-link.active {
        font-weight: 799;
    }

    .content-sidebar-sp .nav-language .label {
        margin-right: 12px;
    }

    .content-sidebar-sp .nav-account .parent {
        position: relative;
    }

    .content-sidebar-sp .nav-account .parent::after {
        content: "";
        position: absolute;
        background-image: url(../images/icons/arrow_down.png);
        width: 14px;
        height: 14px;
        background-repeat: no-repeat;
        transform: translateY(50%);
        margin-left: 12px;
        bottom: 50%;
    }

    .content-sidebar-sp .nav-action.show .nav-link::after {
        transform: rotateX(180deg);
        transition: 0.5s;
        transform-style: preserve-3d;
    }

    .content-sidebar-sp .nav-account .nav-link-child {
        gap: 6px;
    }
    .content-sidebar-sp .nav-account .dot {
        width: 8px;
        display: block;
        height: 8px;
        border-radius: 50%;
        background: white;
    }

    .nav-item.content-btn-none-login {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
        flex-direction: column;
    }

    .open-search .content-header-search {
        margin-right: 0;
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 10px;
    }

    .open-search .search__form {
        width: 100%;
        position: unset !important;
        display: block;
    }

    .open-search .branch,
    .open-search .btn-open-sidebar {
        display: none;
    }

    .open-search .content-header {
        width: 100%;
    }
}


@media only screen and (max-width: 576px) {
    .dropdown-menu-search {
        margin: 8px 12px;
    }

    .content-header .select-language {
        margin-right: 51px;
        margin-top: 0;
        position: absolute;
        left: 20px;
    }

    .header-info {
        justify-content: right;
    }

    .info-user {
        margin-right: 6px;
    }

    .header-info .info-user .info-name {
        max-width: 70px;
    }

    .select-language .dropdown-menu {
        transform: translate3d(0, 0px, 0px) !important;
        height: 205px;
    }

    .dropdown-menu-content .dropdown-item {
        padding: 4px 0 4px 12px;
    }

    .content-icon .student-profile {
        margin-right: 7.5px;
    }

    .btn-logout-login {
        padding: 5px 8px;
        width: auto;
        height: auto;
        z-index: 1;
    }

    .header-info .info-user {
        display: none;
    }

    .info-user.sp-block-info {
        display: block;
        z-index: 1;
        font-size: 14px;
        margin-right: 0;
        padding: 2px 5px 0;
        font-weight: 600;
    }

    .btn-logout-login {
        font-weight: 600;
        font-size: 14px;
        display: block;
        background: transparent;
        box-shadow: 0 0 0 #fff;
        margin: 0;
    }

    .header-btn.justify-content-end.show {
        max-width: 160px;
        flex-flow: column-reverse;
        background: #fff;
        border-radius: 4px;
    }

    .content-header.none-login {
        justify-content: flex-end;
    }

    .content-header-info .header-btn {
        position: unset;
    }
}
@media only screen and (max-width: 414px) {
    .info-user.sp-block-info, .btn-logout-login {
        font-size: 12px;
    }

    .header-btn.justify-content-end.show {
        max-width: 140px;
    }
}

@media only screen and (max-width: 384px) {
    .dropdown-menu-content .dropdown-item {
        padding: 0 0 0 12px;
        font-size: 12px;
        line-height: 15px;
        height: 26px;
    }

    .dropdown-menu-content .dropdown-item img {
        height: 20px;
    }

    .select-language .dropdown-menu {
        height: 178px;
    }

    .footer {
        padding: 16px;
    }
}
