/*** XS ***/
@media (max-width: 575px) {

    #head {
        padding-top: 38px;
        /*padding-left: 30px;*/
        /*padding-right: 30px;*/
        /*height: 100vh;*/
        background-image: none !important;
    }

    #head .container-fluid, .page-title-box .container-fluid, .head-container {
        /*padding-left: 28px;*/
        /*padding-right: 28px;*/
        padding-left: 15px;
        padding-right: 15px;
    }

    #head .logos .logo-box {
        height: 36px !important;
    }

    #head .logos .kfu-logo-box {
        display: none;
    }

    #head .logos .kfu-logo-mobile-box {
        display: inline-block !important;
    }

    #head .logos .observ-logo-box {
        /*height: 41px !important;*/
        margin-left: 10px !important;
    }

    #head .logos .observ-logo-box .logo-text {
        font-size: 8px;
        margin-left: 6px !important;
        padding-left: 9px !important;
    }

    #head .head-page-title {
        margin-top: 71px;
    }

    #head .head-page-title .sub {
        font-size: 14px;
    }

    #head .main-menu-box {
        /*margin-left: -28px !important;*/
    }

    .table {
        margin-left: auto;
    }

    .table th, table td.th {
        font-size: 24px;
    }

    .table td, .table th {
        padding: 15px;
        font-size: 18px;
    }

    .table td small {
        font-size: 14px;
    }

    .site-page ul {
        margin-left: auto;
    }

    h3, .h3 {
        font-size: 20px;
    }

    .main-menu-toggle-btn {
        /*width: 29px;*/
        /*display: inline-block;*/
    }

    .main-menu-toggle-btn > img {
        max-width: 100%;
    }

    #head .menu-col {
        text-align: right;
        padding-left: 0;
    }


}

/*** SM- ***/
@media (max-width: 767px) {

    #head {
        background-image: none !important;
    }

    .table th, table td.th {
        font-size: 24px;
    }

    h1 {
        font-size: 40px !important;
    }

    h2, .h2 {
        font-size: 36px;
    }

    body, p {
        font-size: 16px;
    }

    /*** MAIN MENU ***/

    #head {
        position: relative;
    }

    #head .main-menu-box {
        display: none;
        position: absolute;
        margin-top: 0;
        top: 0;
        width: 100%;
        z-index: 999;
    }

    #head .main-menu .nav-link {
        font-size: 18px !important;
        /*padding: 24px 34px;*/
        padding: 15px;
    }

    #head .main-menu-box .main-menu {
        display: block;
        /*width: 100%;*/
    }

    #head .main-menu-box .main-menu .nav-item {
        display: block;
        background: linear-gradient(
            180deg,
            #47388B 0%,
            rgba(47, 32, 115, 0.98) 133.87%
        );
        border-bottom: 1px solid var(--cyan);
        font-size: 18px !important;
    }

    #head .main-menu-box .main-menu .nav-item:first-child .nav-link {
        padding-top: 43px;
    }

    #head .main-menu-box .main-menu .nav-item .dropdown-menu {
        /*display: block !important;*/
        /*position: static;*/
        /*float: none;*/
        /*transform: none !important;*/
        /*margin-top: 0;*/
    }

    #head .main-menu-box .main-menu .nav-item .dropdown-menu.show {
        /*display: block !important;*/
        position: static !important;
        float: none;
        transform: none !important;
        margin-top: 0;
    }

    #head .main-menu-box .main-menu .dropdown-item,
    #head .main-menu-box .main-menu .dropdown-header {
        font-size: 18px;
        border-top: 1px solid rgba(66, 53, 129, 1) !important;
        background: rgba(46, 36, 94, 1);
        color: rgba(153, 139, 205, 1) !important;
        padding: 17px 34px;
    }

    #head .main-menu-box .main-menu .dropdown-header {
        text-decoration: line-through;
        opacity: 0.5;
    }

    #head .main-menu-box .main-menu .dropdown-item.active {
        color: var(--cyan) !important;
    }

    /*** caret ***/

    #head .main-menu-box .main-menu .nav-item .dropdown-toggle::after {
        display: none;
    }

    #head .main-menu-box .main-menu .nav-item .dropdown-toggle {
        background-repeat: no-repeat;
        /*background-position: right 41px center;*/
        background-position: right 15px center;
        background-image: url("../img/arrow-down.svg");
        /*padding-right: 100px;*/
    }

    #head .main-menu-box .close-btn {
        position: absolute;
        top: 42px;
        right: 21px;
    }

    #head .main-menu-box .main-menu .nav-item.show .dropdown-toggle {
        background-image: url("../img/arrow-up.svg");
    }

    .content-root > .up-btn-box {
        margin-top: 0px;
    }

    #footer .social-col {
         margin-top: 30px;
    }

    .up-btn .text {
        /*margin-top: 2px;*/
        font-size: 11px;
    }

    .up-btn .logo {
        width: 75px !important;
    }

    #footer .contacts-col {
        margin-top: 0;
    }

    #footer .contacts-col .footer-header {
        margin-bottom: 10px;
    }

    #footer .contacts-col .phone-link {
        font-size: 13px;
    }

}

/*** SM ***/
@media (min-width: 576px) and (max-width: 767px) {

    #head {
        padding-top: 48px;
    }

    #head .logos .logo-box {
        height: 45px;
    }

    #head .main-menu-box {
        margin-left: -46px;
    }

    #head-page-title {
        margin-top: 70px;
    }

    #head-page-title > h1 {
        font-size: 40px !important;
        width: 75%;
    }

    #head-page-title > .sub {
        font-size: 14px;
        margin-top: 14px;
    }


}

/*** SM+ ***/
@media (min-width: 576px) {

    .head-container {
        padding-left: 46px;
        padding-right: 46px;
    }

}

/*** MD- ***/
@media (max-width: 991px) {
}

/*** MD ***/
@media (min-width: 768px) and (max-width: 991px) {

    h1, .h1 {
        font-size: 26px;
    }

    h2, .h2 {
        font-size: 24px;
    }

    h3, .h3 {
        font-size: 18px;
    }

    body, p {
        font-size: 16px;
    }

    .site-page .page-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    #head {
        padding-top: 32px !important;
        min-height: auto !important;
    }

    #head .main-menu .nav-link {
        font-size: 14px !important;
    }

    #head .logos .logo-box {
        height: 30px;
    }

    #head .main-menu-box {
        margin-top: 48px;
    }

    #head-page-title {
        margin-top: 40px;
    }

    #head-page-title > h1 {
        font-size: 26px !important;
    }

    #head-page-title > .sub {
        font-size: 13px !important;
        margin-top: 8px;
    }

}

/*** LG- ***/
@media (max-width: 1199px) {

    h1, .h1 {
        font-size: 26px !important;
    }

    h2, .h2 {
        font-size: 24px;
    }

    h3, .h3 {
        font-size: 22px;
    }

    .site-page .page-content {
        padding-top: 60px;
    }

}

/*** LG ***/
@media (min-width: 992px) and (max-width: 1199px) {

    #head {
        padding-top: 32px !important;
        min-height: auto !important;
        /*height: 692px !important;*/
    }

    #head .main-menu .nav-link {
        font-size: 14px !important;
    }

    #head .logos .logo-box {
        height: 40px;
    }

    #head .main-menu-box {
        margin-top: 48px;
    }

    #head-page-title {
        margin-top: 40px;
    }

    #head-page-title > .sub {
        font-size: 13px !important;
        margin-top: 8px;
    }

    body, p {
        font-size: 18px;
    }

}