header {
    color: #303030;
    min-height: 110px;
}

header .header-container {
    min-height: 90px;
    position: relative;
    top: 30px;
    font-size: .85rem;
}

.logo_header {
    background: url("../icon/header/Logo_HQ.svg") no-repeat top left;
    display: block;
    text-indent: -9999px;
    width: 120px;
    height: 75px;
    background-size: cover;
    float: right;
}

.logo_rsuh {
    background: url("../icon/header/rggu-logo.png") no-repeat top left;
    display: block;
    text-indent: -9999px;
    width: 75px;
    height: 75px;
    background-size: cover;
}

.header-line{
    background: url("../icon/header/Line.svg") no-repeat bottom left;
    display: block;
    text-indent: -9999px;
    width: 100%;
    height: 10px;
    background-size: cover;
}

.no-mobile-padding{
    margin-top: 38px;
}

header ul {
    list-style: none;
    margin: 0 30px 0 30px;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    float: right;
}

header ul li {
    padding: 5px 15px 5px 15px;
}

header a {
    text-decoration: none;
    color: #000000;
    font-weight: 400;
    display: inline-block;
    position: relative

}

header a:hover {
    color: green;
    text-decoration: none;
}

/*Подчеркивание меню */
header a.active-link {
    text-decoration: none;
    color: #000000;
    font-weight: 400;
    display: inline-block;
    position: relative
}

header a.active-link:after {
    display: block;
    position: absolute;
    content: "";
    height: 5px;
    width: 100%;
    background: #97bf0d;
    left: 0;
    bottom: -13px;
}

header .menu-bottom-first,
header ul li.menu-bottom-first {
    margin: 0;
    font-weight: bolder;
    font-size: 0.8rem;
    padding: 0;
}

header ul li.menu-bottom-expand ul {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
}

header ul li.menu-bottom-expand ul li {
    margin-right: 1rem;
}

header ul a,
header ul a:hover,
header ul a:visited {
    text-decoration: none;
    color: #303030;
}

header .menu-language {
    font-size: 0.8rem;
}

header .menu-select-language {
    font-size: 0.8rem;
    font-weight: bold;
}

/* Конец подчеркивания меню*/

@media all and (min-width: 1200px) and (max-width: 1280px) {
    header .header-container {
        font-size: .8rem;
    }

    header ul {
        margin: 0 20px 0 0 !important;
    }

    header ul li {
        padding: 5px 10px 5px 10px !important;
    }
    header ul li.menu-bottom-first {
        padding: 5px 0px !important;
    }

    header ul li.menu-bottom-expand ul {
        padding: 5px 0px !important;
    }
}

@media all and (min-width: 992px) and (max-width: 1199px) {
    header .header-container {
        font-size: .7rem;
    }

    header ul {
        margin: 0 10px 0 0 !important;
    }

    header ul li {
        padding: 5px 7px 5px 7px !important;
    }
    header ul li.menu-bottom-first {
        padding: 5px 0px !important;
    }

    header ul li.menu-bottom-expand ul {
        padding: 5px 0px !important;
    }
}

@media all and (min-width: 768px) and (max-width: 991px) {
    header .header-container {
        font-size: .55rem;
    }

header .logo_lsi {
    width: 146px;
    height: 34px;
}

header .logo_rub {
    width: 54px;
    height: 21px;
}


    header ul {
        margin: 0 0 0 0 !important;
    }

    header ul li {
        padding: 5px 4px 5px 3px !important;
    }
    header ul li.menu-bottom-first {
        padding: 5px 0px !important;
    }

    header ul li.menu-bottom-expand ul {
        padding: 5px 0px !important;
    }
}

@media all and (max-width: 767px) {
    header {
        min-height: 0;
    }

    header .header-container {
        min-height: 0;
        top: 0;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .logo_header {
    }

    .logo_rsuh {
        width: 50%;
        background-size: contain;
    }


    /* mobile*/
    #nav-icon {
        width: 28px;
        height: 20px;
        right: 15px;
        top: 0;
        position: absolute;
        margin: 1rem auto;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
    }

    #nav-icon span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #303030;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }

    #nav-icon span:nth-child(1) {
        top: 0px;
    }

    #nav-icon span:nth-child(2) {
        top: 8px;
    }

    #nav-icon span:nth-child(3) {
        top: 16px;
    }

    #nav-icon.open span:nth-child(1) {
        top: 14px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    #nav-icon.open span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }

    #nav-icon.open span:nth-child(3) {
        top: 14px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

    #nav-icon2 {
        width: 28px;
        height: 28px;
        position: absolute;
        right: 15px;
        top: 0;
        margin: 1rem auto;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
    }

    #nav-icon2 span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #303030;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }


    #nav-icon2 span:nth-child(1) {
        top: 14px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    #nav-icon2 span:nth-child(2) {
        top: 14px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

    .modal-custom {
        width: 100%;
        height: 100%;
        min-height:480px;
        padding: 0;
        margin: 0;
    }

    .modal-content-custom {
        height: 100%;
        min-height: 100%;
        border-radius: 0;
    }

    .modal-body {
        height: 100%;
        background: #f0eeef;
    }

    #mobile-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        float: none;
    }

    #mobile-menu ul li {
        padding: 10px 0 0 0;
        display: flex;
        flex-flow: row wrap;
        align-items: center;
    }

    #mobile-menu ul li a {
        font-weight: bold;
        font-size: 1.5rem;
    }

    #mobile-menu ul li:after {
        font-family: FontAwesome;
        content: "\f105";
        font-weight: 400;
        font-size: 2rem;
        position: absolute;
        right: 8px;
    }

    .header-line{
        background-repeat: repeat-y;
        background-size: contain;
    }
    .no-mobile-padding{
        padding: 0;
        margin-top: 15px;
    }
}
