@charset "utf-8";
/* CSS Document */

/* Import styles for fonts */
@import url("fonts.css");

/*==============================
1 Defaults h1, h2, p, a...
===============================*/
html {
    height: 100%;
    max-height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
}

body {
    height: 100%;
    max-height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    font-family: 'latoregular', Arial, Verdana, sans-serif;
    font-size: 14px;
    font-weight: normal;
    overflow-x: hidden;
}

body, div, dl, dt, dd, ul, ol, li, span, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td, span {
    margin: 0;
    padding: 0;
    font-family: 'latoregular', Arial, Verdana, sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 1em;
}

body, div, dl, dt, dd, ul, ol, li, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td, span {
    font-family: 'latoregular', Arial, Verdana, sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 1em;
}

a, a:link, a:focus, a:hover, a:active {
    outline: none;
    text-decoration: none;
}

.main .btn-default:hover, .main .btn-default:focus, .main .btn-default:active, .main .btn-default.active, .main .open > .dropdown-toggle.btn-default {
    background-color: transparent;
    border-color: transparent;
    outline: none;
}

.btn:focus, .btn:active:focus, .btn.active:focus {
    outline: none;
}

ul, ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

p {
    padding: 0 0 20px;
}

/*===========================================================================
2. Page wrapper
===========================================================================*/
body {
    background-color: #f1f0f1 !important;
}

.page_wrapper {
    width: 100%;
    min-height: 100%;
}

/*===========================================================================
3. Header
===========================================================================*/
.top-header {
    min-height: 41px;
    background-color: #008fc1;
    position: relative;
    box-shadow: 0 0 7px -1px #000;
}

.container {
    margin: 0 auto;
}

@media (max-width: 1099px) {
    .container {
        width: calc(100% - 30px);
    }
}

@media (min-width: 1100px) {
    .container {
        width: calc(100% - 100px);
    }
}

@media (min-width: 1600px) {
    .container {
        width: calc(100% - 200px);
        max-width: 1700px;
    }
}


.top-header .logo, .container .logo {
    float: left;
    height: 100%;
}

.top-header .logo h1 {
    padding-top: 8px;
    margin-top: -2px;
    overflow: hidden;
}

.top-header .logo a, .container .logo {
    display: flex;
    height: 41px;
    font: normal normal 13px 'latoregular', Arial, Verdana, sans-serif;
    color: #ffffff;
    max-width: 120px;
    overflow: hidden;
}

.top-header .logo a img, .container .logo img {
    height: 100%;
}

.top-header .top-menu {
    float: right;
    margin-right: 10px;
}

.top-menu ul {
    height: 41px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-header .top-menu li {
    display: inline-flex;
    height: 41px;
    align-items: center;
    justify-content: center;
    position: relative;
}

.top-header .top-menu ul ul li:before {
    position: absolute;
    height: 100%;
    width: 1px;
    content: '';
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 30%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.4) 70%, rgba(255, 255, 255, 0) 100%);
    transition: all .3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.top-header .top-menu ul ul li:first-child:before {
    display: none;
}

.top-header .top-menu ul ul li:hover a,
.bottom-header .bottom-menu ul li a:hover {
    text-shadow: 1px 1px 4px rgb(0 0 0 / 70%);
}

.top-header .top-menu li a {
    display: flex;
    height: 41px;
    padding: 0 10px;
    margin-right: 9px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1300px) {
    .top-header .top-menu li:first-child a {
        width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
        line-height: 41px;
        text-align: right;
    }
}

@media (max-width: 1200px) {
    .top-header .top-menu li a {
        font-size: 13px;
        padding: 0 8px;
    }

    .top-header .top-menu li:first-child a {
        width: 127px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
        line-height: 41px;
        text-align: right;
    }
}

@media (max-width: 1140px) {
    .top-header .top-menu li:first-child a {
        width: 97px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
        line-height: 41px;
        text-align: right;
    }

    .top-header .top-menu li a {
        padding: 0 6px;
    }
}

.top-header .top-menu li:last-child a {
    margin-right: 0;
}

.top-header .top-menu li.active.last a[href*=agenda] {
    margin-right: 0;
    padding-bottom: 0;
    height: 20px;
}

.top-header .top-menu a {
    font: normal normal 14px 'latoregular', Arial, Verdana, sans-serif;
    color: #ffffff;
}

.top-header .top-menu a.cart_order {
    background: url(../img/icons/cart.png) no-repeat 0 10px;
    padding-left: 26px;
    margin-left: 10px;
}

.top-header .top-menu .username img {
    margin-right: 6px;
    margin-top: -1px;
}

.top-header .top-menu .active a {
    display: block;
    height: 34px;
    text-align: center;
    border: 1px solid #66bcda;
    border-radius: 0 0 5px 5px;
}

.bottom-header {
    background-color: #28a7e1;
    box-shadow: 0 5px 5px rgba(154, 153, 155, 0.4);
}

.bottom-header .bottom-menu {
    float: left;
}

.bottom-header .bottom-menu ul {
    padding-top: 10px;
}

.bottom-header .bottom-menu ul li {
    display: inline-block;
    margin-right: 10px;
}

.bottom-header .bottom-menu ul li a {
    display: block;
    padding: 8px 10px;
    margin-bottom: 10px;
}

.bottom-header .bottom-menu ul li.active a {
    background-color: #0194c7;
    border-radius: 5px;
}

.bottom-header .bottom-menu ul li a {
    font: normal normal 14px 'latoregular', Arial, Verdana, sans-serif;
    color: #ffffff;
}

.main .content-container #content {
    width: 100%;
    border-radius: 5px;
    background-color: #fff;
    padding: 25px 20px 25px 30px;
    margin-bottom: 70px;
}

.main .content-container .inner-content {
    padding: 30px;
    border-radius: 5px;
    background-color: #fff;
    margin-bottom: 70px;
}

.main .content-container h2 {
    font: normal normal 20px/20px 'latobold', Arial, Verdana, sans-serif;
    color: #626164;
}

.main .tabs-container {
    height: 60px;
    border-bottom: 1px solid #b3b3b3;
    position: relative;
    z-index: 1;
}

.main .container {
    height: 60px;
}

.main .header .nav-tabs {
    position: absolute;
    z-index: 5;
    bottom: -1px;
    border-bottom: 1px solid #b3b3b3;
    margin-left: 20px;
}

.main .header .nav-tabs > li > a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 0 solid transparent;
}

.main .header .nav > li > a:hover,
.main .header .nav > li > a:focus {
    text-decoration: none;
    background-color: #f1f0f1;
    border: 0 solid transparent;
}

.main .header .nav-tabs > li.active > a {
    border-radius: 5px 5px 0 0;
    background-color: transparent;
    border: 1px solid #b3b3b3;
    border-bottom: 1px solid #f1f0f1;
    cursor: pointer;
}

.main .header .nav-tabs li a {
    font: normal normal 14px 'latoregular', Arial, Verdana, sans-serif;
    color: #58595b;
}

.main .header .nav-tabs > li.active a {
    color: #008fc1;
}

.main .header .nav-tabs > li.disabled a {
    color: #b3b3b3;
}

.main .content-container {
    margin-top: 30px
}

/* Spinner */
.glyphicon-refresh-animate {
    animation: spin .7s infinite linear;
}

@keyframes spin2 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}


/*Student Intake CSS*/
.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 10px;
}

.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.cal-month-day {
    cursor: pointer;
}

#competency_id {
    overflow-x: scroll;
}

.dang_mess {
    position: fixed;
    top: -100%;
    width: 80%;
    max-width: 800px;
    color: #ff0000;
    background: #fff;
    border: 1px solid #777;
    box-shadow: 0 0 10px 1px #777;
    transition: all 1s;
    font-size: 22px;
    border-radius: 5px;
    line-height: 1.3em;
    padding: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.dang_mess.active {
    top: 10%;
}

.switch_student .dropdown {
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #0abf53;
}

.switch_student .dropdown li {
    position: relative;
    padding-top: 5px;
    color: #fff;
}

/* -- new menu --*/
.top-header .top-menu > ul {
    align-items: center;
    display: flex;
    height: 41px;
}

.switch_student .dropdown {
    height: 41px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 0 6px;
}

.switch_student .dropdown li {
    display: flex;
    align-items: center;
    padding: 0 5px;
    margin: 0;
    font-size: 14px;
}

ul.menu_level_1 {
    left: -5px;
    background: #008FC1 !important;
    box-shadow: 0 5px 7px -3px #555;
    position: absolute;
    top: 100%;
    width: max-content;
    display: none;
}

.switch_student .dropdown:hover ul.menu_level_1 {
    display: block
}

ul.menu_level_1 li {
    width: 100%;
    border-top: 1px solid #28A7E1;
}

ul.menu_level_1 li:hover {
    background: rgba(255, 255, 255, 0.2);
    border-top: 1px solid #008FC1;
}

ul.menu_level_1 li a {
    color: #fff !important;
    text-align: left !important;
}

.switch_student .dropdown li ul li a:hover {
    background: none;
    width: 100%;
}

ul.menu_level_1 li:hover a {
    background: none
}

.top-menu i.fa.fa-sort-desc {
    transform: translateY(-3px);
}

/*-- End new menu --*/

@media (min-width: 990px) {
    .logo {
        max-width: 350px !important;
    }
}
@media (min-width: 1300px) {
    .logo {
        max-width: 460px !important;
    }
}

/*-- new menu --*/
.bottom-header, #grouped-menu {display: none;}
.student .bottom-header {display: block;}
.docent #grouped-menu {
    margin: 20px auto;
    width: max-content;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: stretch;
    border: 1px solid #ccc;
    border-radius: 5px;
    max-width: 100%;

    .menu-item {
        position: relative;
        border-right: 1px solid #ccc;
        display: flex;
        justify-content: center;
        align-items: center;
        width: max-content;

        &:last-child {border-right: none;}

        a {
            font-size: 14px;
            padding: 15px 6px;
            letter-spacing: .5px;
            color: #444;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            gap: 10px;
            text-align: center;
            height: 100%;

            &:hover {
                color: #008FC1;
            }
        }
    }

    .menu-group {
        position: relative;
        border-right: 1px solid #ccc;
        display: flex;
        justify-content: center;
        align-items: center;
        width: max-content;

        &:last-child {
            border-right: none;
        }

        &:first-child {
            ul {
                left: 0;
                transform: translateX(0);

                li:first-child:before {
                    left: 25%;
                }
            }
        }

        h3 {
            font-size: 14px;
            padding: 15px 6px;
            letter-spacing: .5px;
            color: #444;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            gap: 10px;
            text-align: center;
            height: 100%;
        }

        ul {
            z-index: -1;
            opacity: 0;
            position: absolute;
            transition: all .3s ease-in-out;
            top: 150%;
            left: 50%;
            width: max-content;
            padding-top: 10px;
            transform: translateX(-50%);
            filter: drop-shadow(3px 3px 4px rgba(0,0,0,.3));
            list-style: none;
            
            li {
                position: relative;
                font-size: 13px;
                font-weight: 500;
                color: #444;
                cursor: pointer;
                background: #fff;
                transition: all .3s ease-in-out;
                border: solid #ccc;
                border-width: 1px 0;
                margin-top: 20px;
                min-width: 150px;

                &:hover {
                    transform: scale(1.1);
                    z-index: 1;
                    border-bottom: 1px solid #ccc !important;

                    a {
                        color: #008FC1;
                    }
                }

                &:first-child:before {
                    content: '';
                    position: absolute;
                    top: -10px;
                    left: 50%;
                    transform: translateX(-50%) rotate(45deg);
                    width: 20px;
                    height: 20px;
                    background: #fff;
                    border-width: 1px;
                    border-style: solid;
                    border-color: #ccc transparent transparent #ccc;
                    border-radius: 4px;
                    pointer-events: none;
                    opacity: 0;
                    transition: all .2s;
                }

                a {
                    color: #333;
                    padding: 10px;
                    display: block;
                }
            }
        }

        &:hover ul {
            z-index: 11;
            opacity: 1;
            top: 100%;

            li {
                margin-top: 0;
                border-bottom-color: #fff;

                &:last-child {
                    border-bottom-color: #ccc;
                }
            }

            li:first-child:before {
                opacity: 1;
            }
        }
    }

}
