/*===== BOXICONS =====*/
@import url('https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css');
/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');

/*=============== VARIABLES ROOT ===============*/
:root {
    --first-color: #2f418e;
    --second-color: #fbdb03;
    --title-color: #000000;
    --text-color: #555555;
    --text-color-light: #7e7e7e;
    --body-color: #ffffff;

    --body-font: 'PT Sans', sans-serif;
    --h1-fz: 32px;
    --h2-fz: 28px;
    --h3-fz: 18px;
    --normal-fz: 16px;
    --small-fz: 14px;
    --smaller-fz: 12px;

    --font-regular: 400;
    --font-bold: 700;

    --transition: all 0.35s ease-in-out;

    --z-tooltip: 10;
    --z-fixed: 100;
}

/*=============== BASE STYLES ===============*/
* {
    -moz-box-sizing: border-box;
        box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

html body {
    display: block;
    position: relative;
    height: 100%;
    background: var(--body-color);
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: var(--normal-fz);
    line-height: 1.2;
}

html body a {
    text-decoration: none;
    color: var(--first-color);
    -webkit-transition: var(--transition);
        -o-transition: var(--transition);
            -moz-transition: var(--transition);
                transition: var(--transition);
}

html body a:hover {
    text-decoration: none;
    color: var(--second-color);
}

html body h1,
html body h2,
html body h3 {
    color: var(--title-color);
}

html body h2 {
    font-size: var(--h2-fz);
    font-weight: var(--font-bold);
    margin-bottom: 24px;
}

html body h3 {
    font-size: var(--h3-fz);
    font-weight: var(--font-bold);
    text-transform: uppercase;
}

html body label {
    color: var(--title-color);
    font-size: var(--smaller-fz);
    font-weight: var(--font-bold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

html body main {
    padding: 77px 0 0;
}

html body p {
    color: var(--text-color);
    margin-bottom: 5px;
}

html body section {
    min-height: -webkit-calc(100vh - 208px);
    min-height: -moz-calc(100vh - 208px);
    min-height: calc(100vh - 208px);
    padding: 80px 0;
}

html body table {
    font-size: 14px;
}

html body table.table thead {
    text-align: center;
}

html body table.table td {
    text-align: center;
}

html body table.table td:first-child {
    text-align: right;
}

html body table.table td:nth-child(2) {
    text-align: left;
}

html body table.table ul {
    margin-left: 15px;
    list-style: circle !important;
}

html body ul {
    list-style: none;
}

::-moz-selection {
    background: var(--first-color);
    color: var(--body-color);
}

::selection {
    background: var(--first-color);
    color: var(--body-color);
}

::-webkit-input-placeholder {
    color: var(--text-color);
    font-size: var(--normal-fz);
    opacity: 0.7;
}

::-moz-placeholder {
    color: var(--text-color);
    font-size: var(--normal-fz);
    opacity: 0.7;
}

:-ms-input-placeholder {
    color: var(--text-color);
    font-size: var(--normal-fz);
    opacity: 0.7;
}

::-ms-input-placeholder {
    color: var(--text-color);
    font-size: var(--normal-fz);
    opacity: 0.7;
}

::placeholder {
    color: var(--text-color);
    font-size: var(--normal-fz);
    opacity: 0.7;
}

.alert {
    margin-top: 15px;
}

.alert * {
    margin: 0;
}

.pagination {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -moz-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -moz-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    padding: 50px 0;
}

.pagination .active a {
    background: var(--first-color) !important;
    color: var(--body-color) !important;
}

.pagination a {
    color: var(--first-color);
    font-weight: 700;
    border: unset;
    border-radius: 5px;
    padding: 10px 12px;
}

.pagination span {
    color: var(--first-color);
    font-weight: 700;
    border: unset;
    border-radius: 5px;
    padding: 10px 12px;
}

.summary {
    margin-bottom: 5px;
}

/*=============== BOOTSTRAP FORM ===============*/
.btn:focus {
    box-shadow: unset !important;
}

.btn.btn-primary {
    width: 100%;
    background: var(--first-color) !important;
    font-weight: var(--font-bold) !important;
    border: 1px solid  var(--first-color) !important;
    color: var(--body-color) !important;
    padding: 10px 20px;
}

.btn.btn-primary:hover {
    width: 100%;
    background: var(--title-color) !important;
    border: 1px solid  var(--title-color) !important;
}

.btn.btn-primary.btn-primary--sign-in {
    background: #f9f8fd !important;
    border: 1px solid #d3d3d5 !important;
    color: var(--text-color) !important;
}

.control-btns {
    margin-bottom: 15px;
}

.control-btns a,
.control-btns button {
    margin-right: 5px;
    margin-bottom: 5px;
}

.control-btns a span,
.control-btns button span {
    display: none;
}

.custom-control-label {
    padding-top: 5px;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: var(--first-color);
    background-color: var(--first-color);
}

.form-control {
    height: 48px;
    font-size: 1rem;
    color: var(--text-color);
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 5px;
    box-shadow: none;
}

.help-block {
    margin-bottom: 5px;
    color: red;
}

.was-validated .custom-control-input:valid ~ .custom-control-label,
.custom-control-input.is-valid ~ .custom-control-label {
    color: var(--first-color);
}

.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before,
.custom-control-input.is-valid:checked ~ .custom-control-label::before {
    border-color: var(--first-color);
    background-color: var(--first-color);
}

.required label.control-label:after {
    content: " *";
    color: red;
}

#forgot-password-form .required label:after,
#login-form .required label:after,
#sign-up-form .required label:after {
    content: " *";
    color: red;
}

select.form-control {
    opacity: .7;
}

select.is-valid {
    opacity: 1;
}

/*=============== BRAND STYLES ===============*/
.brand {
    position: relative;
}

.brand__image {
    width: 50px;
    height: 39px;
}

.brand__link {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -moz-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    gap: 10px;
    color: var(--body-color);
}

.brand__title {
    display: none;
}

/*=============== BREADCRUMBS ===============*/
.breadcrumb {
    gap: 20px;
    background-color: var(--first-color);
    margin-top: 15px;
    margin-bottom: 0;
}

.breadcrumb__item {
    position: relative;
}

.breadcrumb__item::before {
    content: "/";
    display: block;
    position: absolute;
    left: -13px;
    color: var(--body-color);
}

.breadcrumb__item:first-child::before {
    display: none;
}

.breadcrumb__link {
    color: var(--body-color);
}

.active > .breadcrumb__name {
    position: relative;
    color: var(--body-color);
}

.active > .breadcrumb__name::before {
    content: "/";
    display: block;
    position: absolute;
    left: -13px;
    color: var(--body-color);
}

/*=============== SECTION FOOTER ===============*/
.footer {
    display: block;
    position: relative;
    background: var(--first-color);
    color: var(--body-font);
    padding: 15px;
    z-index: var(--z-tooltip);
}

.footer__container {
    text-align: center;
}

.footer__copy {
    color: var(--body-color);
    font-size: var(--small-fz);
}

.footer__copy a {
    color: var(--body-color);
    text-decoration: underline;
}

.footer__copy a:hover {
    text-decoration: underline;
}

/*=============== SECTION HEADER ===============*/
.header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--first-color);
    color: var(--body-font);
    padding: 15px;
    z-index: var(--z-tooltip);
}

.header__container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -moz-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -moz-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
}

.header_control {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -moz-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    gap: 30px;
}

/*=============== NAVIGATION MENU ===============*/
.nav {
    display: block;
    position: fixed;
    top: 0px;
    left: -280px;
    bottom: 0px;
    width: 280px;
    background: #0F1E5C;
    padding: 150px 15px;
    overflow: auto;
    z-index: 5;
    -webkit-transition: var(--transition);
        -o-transition: var(--transition);
            -moz-transition: var(--transition);
                transition: var(--transition);
}

.nav--active {
    left: 0;
}

.nav__link {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -moz-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    gap: 10px;
    color: var(--body-color);
    font-size: var(--normal-fz);
    font-weight: var(--font-bold);
    text-transform: uppercase;
}

.nav__list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    gap: 15px;
}

/*=============== NAVIGATION TOGGLE ===============*/
.nav-hamburger {
    position: relative;
    z-index: var(--z-fixed);
    cursor: pointer;
}

.nav-hamburger__ham {
    display: block;
    height: 2px;
    width: 26px;
    background: var(--body-color);
    margin: 7px 0;
    -webkit-transition: all .3s linear;
        -moz-transition: all .3s linear;
            -o-transition: all .3s linear;
            -ms-transition: all .3s linear;
                transition: all .3s linear;
}

.nav-hamburger__ham:first-child {
    margin-top: 0;
}

.nav-hamburger__ham:last-child {
    margin-bottom: 0;
}

.nav-hamburger--active .nav-hamburger__ham {
    background: var(--second-color);
}

.nav-hamburger--active .nav-hamburger__ham--top {
    -webkit-transform: translateY(9px) rotateZ(-45deg);
        -moz-transform: translateY(9px) rotateZ(-45deg);
            -ms-transform: translateY(9px) rotateZ(-45deg);
                -o-transform: translateY(9px) rotateZ(-45deg);
                    transform: translateY(9px) rotateZ(-45deg);
}

.nav-hamburger--active .nav-hamburger__ham--bottom {
    -webkit-transform: translateY(-9px) rotateZ(45deg);
        -moz-transform: translateY(-9px) rotateZ(45deg);
            -ms-transform: translateY(-9px) rotateZ(45deg);
                -o-transform: translateY(-9px) rotateZ(45deg);
                    transform: translateY(-9px) rotateZ(45deg);
}

.nav-hamburger--active .nav-hamburger__ham--middle {
    background: var(--first-color);
    width: 0;
}

/*=============== SECTIONS FORGOT PASSWORD, LOGIN ===============*/
.site-error {
    min-height: -webkit-calc(100vh - 150.2px);
    min-height: -moz-calc(100vh - 150.2px);
    min-height: calc(100vh - 150.2px);
    height: auto;
}

.site-forgot-password,
.site-login,
.site-sign-up {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -moz-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    background: #f8f9fd;
    min-height: -webkit-calc(100vh - 150.2px);
    min-height: -moz-calc(100vh - 150.2px);
    min-height: calc(100vh - 150.2px);
    height: auto;
}

.site-forgot-password__banner,
.site-login__banner,
.site-sign-up__banner {
    display: none;
}

.site-forgot-password__container,
.site-login__container,
.site-sign-up__container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
        -moz-box-align: stretch;
            -ms-flex-align: stretch;
                align-items: stretch;
    max-width: 480px;
}

.site-forgot-password__info,
.site-login__info,
.site-sign-up__info {
    text-align: center;
    margin-bottom: 15px;
}

.site-forgot-password__info a,
.site-sign-up__info a,
.site-login__info a {
    font-weight: var(--font-bold);
}

.site-forgot-password__msg,
.site-login__msg,
.site-sign-up__msg {
    color: var(--first-color);
    font-size: var(--small-fz);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.site-forgot-password__wrapper,
.site-sign-up__wrapper,
.site-login__wrapper {
    width: 100%;
    padding: 60px 45px;
    background: var(--body-color);
    box-shadow: 0 10px 34px -15px rgba(0, 0, 0, .24);
}


/*=============== SECTIONS NEWS, POLL ===============*/
.news {
    position: relative;
}

.poll__container,
.news__container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    gap: 30px;
}

.poll-item,
.news-post {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -moz-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    position: relative;
    background: var(--body-color);
    box-shadow: 0 3px 15px -5px rgba(68, 107, 138, 0.3);
}

.poll-item__content,
.news-post__content {
    position: relative;
    padding: 30px 15px;
}

.poll-item__date,
.news-post__date {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--first-color);
    color: var(--body-color);
    font-size: var(--small-fz);
    padding: 5px 8px;
    z-index: 1;
}

.poll-item__image,
.news-post__image {
    overflow: hidden;
}

.poll-item__img,
.news-post__img {
    width: 100%;
    height: auto;
    -webkit-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
            -ms-transform: scale(1, 1);
                -o-transform: scale(1, 1);
                    transform: scale(1, 1);
    -webkit-transition: all .3s linear;
        -moz-transition: all .3s linear;
            -o-transition: all .3s linear;
                -ms-transition: all .3s linear;
                    transition: all .3s linear;
}

.poll-item:hover .poll-item__img,
.news-post:hover .news-post__img {
    -webkit-transform: scale(1.1, 1.1);
        -moz-transform: scale(1.1, 1.1);
            -ms-transform: scale(1.1, 1.1);
                -o-transform: scale(1.1, 1.1);
                    transform: scale(1.1, 1.1);
}

.poll-item__title,
.news-post__title {
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: all .3s linear;
        -moz-transition: all .3s linear;
            -o-transition: all .3s linear;
                -ms-transition: all .3s linear;
                    transition: all .3s linear;
}

.poll-item:hover .poll-item__title,
.news-post:hover .news-post__title {
    color: var(--first-color);
}

.news-post-page__content ul {
    list-style: disc;
    margin-bottom: 5px;
    margin-left: 15px;
}

.news-post-page__created {
    color: #9d9d9d;
    text-align: right;
    font-size: var(--smaller-fz);
    font-weight: var(--font-bold);
    margin-top: 10px;
}

.poll-item__link {
    display: block;
    font-weight: var(--font-bold);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/*=============== PROFILE PAGE ===============*/
.profile-index__avatar {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.profile-index__avatar img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
}

.profile-index__container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -moz-box-align: center;
            -ms-flex-align: center;
                align-items: center;
}

.profile-index__info {
    width: 100%;
}

.profile-index__info table th {
    width: 150px;
}

.department-rate-form .control-label,
.faculty-rate-form .control-label,
.profile-teacher-rate-form .control-label {
    font-size: var(--normal-fz);
    text-transform: unset;
}

.department-rate-form #departmentsrate-category_list label,
.faculty-rate-form #facultyrate-category_list label,
.profile-teacher-rate-form #teachersrate-category_list label {
    display: block;
    font-size: var(--normal-fz);
    font-weight: var(--font-regular);
    line-height: 1.5;
    text-align: justify;
    text-transform: unset;
}

/*=============== USER CONTROL BTN ===============*/
.user {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -moz-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    gap: 10px;
    color: var(--body-color);
}

.user:hover {
    color: var(--body-color);
}

.user:hover .user__info {
    color: var(--body-color);
    opacity: .7;
}

.user__img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.user__info {
    font-size: var(--smaller-fz);
    text-align: right;
    text-transform: uppercase;
    -webkit-transition: var(--transition);
        -o-transition: var(--transition);
            -moz-transition: var(--transition);
                transition: var(--transition);
}

.user__username {
    font-size: var(--h3-fz);
    font-weight: var(--font-bold);
    text-transform: capitalize;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

}

@media only screen and (min-width: 768px) {
    .control-btns a span,
    .control-btns button span {
        display: inline;
    }

    .brand__image {
        width: 80px;
        height: 63px;
    }

    .brand__title {
        display: block;
        font-size: var(--h1-fz);
        font-weight: var(--font-bold);
    }

    .poll__container,
    .news__container {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
            -moz-box-orient: horizontal;
            -moz-box-direction: normal;
                -ms-flex-direction: row;
                    flex-direction: row;
        -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
    }

    .poll-item,
    .news-post {
        width: -webkit-calc(100% / 2 - 15px);
        width: -moz-calc(100% / 2 - 15px);
        width: calc(100% / 2 - 15px);
    }

    .profile-index__info table th {
        width: 200px;
    }

    .site-forgot-password__banner,
    .site-login__banner,
    .site-sign-up__banner {
        display: block;
        position: relative;
        width: 50%;
        background-image: -webkit-linear-gradient(140deg, rgb(186, 219, 251), rgb(255, 255, 255) 100%);
        background-image: -moz-linear-gradient(140deg, rgb(186, 219, 251), rgb(255, 255, 255) 100%);
        background-image: linear-gradient(140deg, rgb(186, 219, 251), rgb(255, 255, 255) 100%);
        border-radius: 5px 0 0 5px;
        padding-left: 0;
        box-shadow: -10px 10px 34px -15px rgba(0, 0, 0, .24);
    }

    .site-forgot-password__banner-img,
    .site-sign-up__banner-img,
    .site-login__banner-img {
        position: absolute;
        bottom: 0;
        right: -30px;
    }

    .site-forgot-password__wrapper,
    .site-sign-up__wrapper,
    .site-login__wrapper {
        width: 50%;
        padding: 60px 45px;
    }

    .user__img {
        width: 40px;
        height: 40px;
    }
}

@media only screen and (min-width: 992px) {
    html body main {
        padding: 101px 0 0;
    }

    .news-post {
        width: -webkit-calc(100% / 3 - 23px);
        width: -moz-calc(100% / 3 - 23px);
        width: calc(100% / 3 - 23px);
    }

    .profile-index__avatar {
        width: 173px;
        margin-bottom: unset;
    }

    .profile-index__avatar img {
        width: 173px;
        height: 173px;
    }

    .profile-index__container {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
            -moz-box-orient: horizontal;
            -moz-box-direction: normal;
                -ms-flex-direction: row;
                    flex-direction: row;
        -webkit-box-align: stretch;
        -webkit-align-items: stretch;
            -moz-box-align: stretch;
                -ms-flex-align: stretch;
                    align-items: stretch;
        gap: 30px;
    }

    .profile-index__info {
        width: calc(100% - 173px);
    }

    .site-forgot-password__container,
    .site-login__container,
    .site-sign-up__container {
        max-width: 920px;
    }

    .user__username {
        max-width: 200px;
    }

}

@media only screen and (min-width: 1200px) {
    .poll-item,
    .news-post {
        width: -webkit-calc(100% / 4 - 25px);
        width: -moz-calc(100% / 4 - 25px);
        width: calc(100% / 4 - 25px);
    }
}