@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 {
    padding: 32px 80px 29px;
    background: #005BAA;
}

.branch-logo {
    width: 166px;
    height: 46.64px;
}

.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;
}

.content-icon .student-profile {
    background-color: #004989;
    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;
}

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

.select-language {
    margin-right: 51px;
    margin-top: 5px;
}

.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;
    height: 220px;
    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;
}

.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;
}

.dropdown-menu-content {
    height: 148.73px;
}

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

/* Handle */
.dropdown-menu-content::-webkit-scrollbar-thumb {
    background: #CACACA;
    border-radius: 50px;
}
/* end css header */
/* css footer */
.footer {
    background-color: #005BAA;
    padding: 18px;
}

.footer .copyright {
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
}
/* end css footer */
/* css app */
.app {
    padding: 60px 80px 114px;
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    min-height: calc(100vh - 160.63px);
}
/* 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;
}

@media only screen and (max-width: 1280px) {
    .header {
        padding: 32px 50px 29px;
    }
}

@media only screen and (max-width: 768px) {
    .header {
        padding: 32px 30px 29px;
    }
}

@media only screen and (max-width: 576px) {

    .header {
        padding: 20px;
        height: 262px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

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

    .header .branch {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

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

    .content-header .content-header-info {
        position: absolute;
        right: 20px;
        z-index: 1;
    }

    .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;
        padding: 0 5px 5px;
        margin: 0;
    }

    .header-btn.justify-content-end.show {
        max-width: 160px;
        flex-flow: column-reverse;
        background: #fff;
        border-radius: 4px;
    }
}
@media only screen and (max-width: 414px) {
    .branch-logo {
        width: 141px;
        height: auto;
    }

    .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;
    }
}
