/*--------------------------------------------------------------
# Header Styles
--------------------------------------------------------------*/

.site-header {
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 0 5px #ccc;
    z-index: 99;
}

.top-header-bar {
    display: flex;
    flex-direction: column;
    padding: 10px 30px;
    width: 100%;
    order: 4;
}

.menu-opened .top-header-bar {
    padding: 10px 30px;
}

.header-top-menu__container {
    position: relative;
}

.header-top-menu__items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-top-menu__items li.menu-item {
    padding: 0 7.5px;
    float: left;
}

.header-top-menu__items li.menu-item:first-child {
    padding-left: 0;
}

.header-top-menu__items li.menu-item:last-child {
    padding-right: 0;
}

.header-top-menu__items .menu-item a {
    color: #808080;
    text-transform: uppercase;
    font-size: 10px;
}

.header-top-menu__items .menu-item a:hover {
    text-decoration: none;
}

/*search form*/

.search-form {
    position: relative;
}

.roll-search-input {
    border: none;
    background: #fff;
    padding: 0;
    transition: width .2s ease-in-out;
}

.roll-search-button {
    background: transparent;
    padding: 0;
    border: none;
    position: absolute;
    color: #c4c4c4;
}

.roll-search-button:after {
    font-family: FontAwesome;
    content: "\f002";
    transform: scaleX(-1);
     display: inline-block;
    font-size: 12px;
    line-height: 12px;
    background: transparent;
}

/*search form end*/

.header-bottom__content {
    background: #fff;
    display: flex;
    align-items: stretch;
    padding: 0 30px;
    justify-content: space-between;
    width: 100%;
    position: relative;
    order: 2;
}

.header-bottom__logo {
    float: left;
    padding: 10px 0;
    max-width: 90px;
}

.header-bottom__logo img {
    display: block;
    width: 110px;
    height: 60px;
}

.header-bottom__menu-wrap {
    display: flex;
    transition: height 200ms ease-in;
}

.menu-opened .header-bottom__menu-wrap {
    height: auto;
}

.header-main-menu__container {

}

.menu-hamburger__wrap {
    display: none;
}

.header-main-menu__items {
    display: block;
    text-align: right;
    list-style: none;
    padding: 0;
    margin: auto;
    height: 100%;
}

.header-main-menu__items li.menu-item {
    display: inline-block;
    margin: 0;
    padding: 0 8px;
    position: relative;
}

.header-main-menu__items li.menu-item:hover > a {
    color: #ed3424;
}

.header-main-menu__items > li.menu-item {
    height: 100%;
    position: relative;
}

.header-main-menu__items > li.menu-item a {
    height: 100%;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.header-main-menu__items > li.menu-item:first-child {
    padding-left: 0;
}

.header-main-menu__items > li.menu-item:last-child {
    padding-right: 0;
}

.header-main-menu__items .menu-item a {
    font-family: "museo_sans_cyrl700", Arial, sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    color: #272727;
    position: relative;
    z-index: 2;
}

.header-main-menu__items .menu-item a:hover {
    color: #ed3424;
    text-decoration: none;
}


.header-main-menu__items .sub-menu-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    left: unset;
    right: 26px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    cursor: pointer;
    z-index: 1;
}

li.menu-item:hover > .sub-menu-arrow {
    color: #ed3424
}

.header-main-menu__items .sub-menu-arrow:after {
    cursor: pointer;
    font-family: FontAwesome;
    content: '\f0da';
}

.header-main-menu__items .sub-menu {
    background: #fff;
    display: none;
}

.header-main-menu__items .sub-menu
.header-main-menu__items .sub-menu .sub-menu {
    left: unset;
    right: -100%;
    top: -16px;
}

.header-main-menu__items > li.menu-item:nth-last-child(1) > .sub-menu,
.header-main-menu__items > li.menu-item:nth-last-child(2) > .sub-menu {
    left: unset;
    right: 0;
}

.sub-menu > li.menu-item {
    width: 100%;
    padding: 5px 30px;
}

.sub-menu > li.menu-item {
    width: 100%;
    padding: 5px 30px;
}

.sub-menu > li.menu-item a {
    font-family: "museo_sans_cyrl500", Arial, sans-serif;
    font-weight: 500;
    font-size: 12px;
    text-transform: none;
    width: 100%;
    text-align: left;
}


/* responsive mobile */

@media (max-width: 1024px) {
    body.menu-opened {
        overflow: hidden;
    }

    .site-header {
        display: block;
        position: sticky;
        top: 0;
        max-height: 100vh;
    }

    body.menu-opened .site-header {
        overflow-y: scroll;
    }

    .top-header-bar {
        padding: 0;
        overflow: hidden;
        height: 0;
        transition: width .2s ease-in-out;
        order: 2;
    }

    body.menu-opened .top-header-bar {
        padding: 10px 30px 20px;
        height: auto;
    }

    body.menu-opened .top-header-bar > div {
        padding: 3px 0;
    }


    .header-top-menu__container {
        display: block;
        float: left;
        width: 100%;
    }


    .search-form {
        display: block;
        height: 34px;
        float: left;
        width: 100%;
        margin-top: 20px;
    }

    .roll-search-input {
        width: 100%;
        height: 34px;
        padding: 0 5px 0 10px;;
        border: 1px solid #808080;
    }

    .roll-search-button {
        right: 10px;
        top: 0;
        bottom: 0;
        margin: auto;
    }


    .header-bottom__menu-wrap {
        height: 0;
        padding: 0;
        overflow: hidden;
    }


    .menu-hamburger__wrap {
        display: block;
        position: absolute;
        right: 24px;
        top: 32px;
    }

    .menu-hamburger {
        border: none;
        font-size: 0;
        color: #333;
        display: block;
        background: transparent;
        float: right;
        cursor: pointer;
        position: relative;
        z-index: 2;
        height: 18px;
        width: 18px;
    }

    .menu-hamburger span,
    .menu-hamburger:before,
    .menu-hamburger:after {
        content: '';
        display: block;
        background: #808080;
        width: 100%;
        left: 0;
        right: 0;
        height: 2px;
        position: absolute;
        transition: .2s ease-in-out;
    }

    .menu-hamburger:before {
        top: 3px;
    }

    .menu-hamburger:after {
        bottom: 3px;
    }

    .menu-hamburger span {
        top: 0;
        bottom: 0;
        margin: auto;
    }

    body.menu-opened .menu-hamburger span {
        display: none;
    }

    body.menu-opened .menu-hamburger:before,
    body.menu-opened .menu-hamburger:after {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }

    body.menu-opened .menu-hamburger:before {
        transform: rotate(-45deg);
    }

    body.menu-opened .menu-hamburger:after {
        transform: rotate(45deg);
    }

    .header-bottom__content {
        display: flex;
        flex-direction: column;
    }

    .header-main-menu__container {
        width: 100%;
        text-align: left;
        display: inline-flex;
    }


    .header-bottom__logo img {
        margin-left: -15px;
    }

    .header-main-menu__items > li.menu-item {
        height: auto;
    }

    .header-main-menu__items > li.menu-item a {
        width: 100%;
        height: auto;
        font-size: 14px;
    }

    .header-main-menu__items > li.menu-item .sub-menu a {
        font-size: 12px;
        line-height: 200%;
    }

    .header-main-menu__items li.menu-item.active > .sub-menu-arrow {
        color: #ed3424;
    }

    .header-main-menu__items > li.menu-item.active > .sub-menu-arrow {
        top: 10px;
    }

    .header-main-menu__items li.menu-item.active > .sub-menu-arrow::after {
        transform: rotate(90deg);
    }

    .header-main-menu__items .sub-menu-arrow {
        bottom: unset;
        top: 10px;
        right: 2px;
    }

    .header-main-menu__items .sub-menu .sub-menu-arrow {
        top: 0;
    }

    .header-main-menu__items .sub-menu {
        position: relative;
        width: 100%;
    }

    .header-main-menu__items li.menu-item.active > .sub-menu .sub-menu {
        padding-left: 15px;
    }

    .header-main-menu__items {
        flex-direction: column;
        display: flex;
        text-align: left;
        width: 100%;
    }

    .header-main-menu__items li.menu-item {
        padding: 7px 0;
    }

    .sub-menu > li.menu-item {
        padding: 2px 0;
    }

    .header-main-menu__items li.menu-item.active > .sub-menu {
        display: block;
        padding: 0;
    }


    .header-main-menu__items > li.menu-item.active > .sub-menu {
        border-left: 3px solid #ed3424;
        margin-top: 10px;
        padding-left: 22px;
    }
}

/* responsive mobile end */


/* responsive desktop  */

@media (min-width: 1025px) {
    .site-header {
        position: sticky;
        top: -44px;
    }

    body.admin-bar .site-header {
        top: -13px;
    }


    .top-header-bar {
        flex-direction: row;
        background: #fff;
        height: 44px;
        order: 0;
    }

    .top-header-bar__left,
    .top-header-bar__right {
        display: flex;
        width: 50%;
    }

    .top-header-bar__left {
        justify-content: flex-start;
    }

    .top-header-bar__right {
        justify-content: flex-end;
        position: relative;
    }

    .header-top-menu__items {
        display: inline-flex;
    }

    .header-top-menu__items .menu-item a {
        color: #272727;
    }

    .header-top-menu__items .menu-item a:hover{
        color: #ed3424;
    }

    .header-top-menu__items .menu-item .fa-low-vision {
        font-size: 17px;
    }


    .search-form {
        height: 24px;
        min-width: 24px;
        padding-left: 8px;
    }

    .roll-search-input {
        width: 0;
        overflow: hidden;
    }

    .search-form.open {
        position: absolute;
        background: #fff;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        justify-content: flex-end;
        display: flex;
    }

    .search-form.open .roll-search-input {
        width: auto;
        min-width: 350px;
        height: 24px;
        padding-left: 10px;
        padding-right: 25px;
        border: 1px solid #808080;
    }

    .roll-search-button {
        width: 24px;
        height: 100%;
        top: -2px;
        bottom: 0;
        color: #272727;
    }

    .roll-search-button:hover{
        color: #ed3424;
    }

    .roll-search-button:after {
        font-family: FontAwesome;
        content: "\f002";
        transform: scaleX(-1);
        display: inline-block;
        font-size: 12px;
        line-height: 12px;
        background: transparent;
    }

    .header-main-menu__items > li.menu-item > .sub-menu-arrow {
        display: none;
    }

    .header-main-menu__items .sub-menu {
        border-top: 3px solid #ed3424;
        position: absolute;
        left: -7px;
        top: calc(100% - 10px);
        z-index: 4;
        box-shadow: rgb(204, 204, 204) 0 0 5px 0;
        /*width: 262px;*/
        width: 350px;
        padding: 15px 0;
    }

    .header-main-menu__items .sub-menu .sub-menu {
        left: unset;
        right: calc(-100% + 10px);
        top: -19px;
    }

    .header-main-menu__items li.menu-item:hover > .sub-menu {
        display: block;
    }
}

@media (max-width: 1620px ) and (min-width: 1024px) {
    .header-main-menu__items li:nth-child(3) .sub-menu .sub-menu {
        right: calc(100% - 10px);
    }
}

/* responsive desktop end */

/* highlight menu item */
li.highlight.menu-item a {
    font-weight: bold;
    color: #e74c3c;
}