.header_main_menu {
    flex: 1;
    padding: 17px 0;
    background: #fff;
    border-top: 3px solid var(--color-orange);
    border-bottom: 3px solid var(--color-orange);
}

.header_main_menu_list {
    display: flex;
    justify-content: space-between;
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    border-right: 1px solid #C4C4C4;
    /*border-left: 1px solid #C4C4C4;*/
    margin-left: 8px;
}

.header_main_menu_item {
    width: inherit;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 27px;
    width: -webkit-fill-available;
}

.header_main_menu_item:not(:last-child) {
    border-right: 1px solid #C4C4C4;
}

.header_main_menu_item:last-child {
    margin-right: 0;
}

.header_main_menu_item.active a{
    /*text-decoration: underline;*/
}
.main_menu_sub_item.active a {
    text-decoration: underline;
}
.header_main_menu_item > a,
.header_main_menu_item > a:hover {
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 400;
    line-height: 40px;
    text-align: left;
    font-size: calc(12px + 0.3vw);
}

.header_main_menu_item > .fa {
    margin-left: 8px;
    width: 15px;
}

.header_main_menu_item > .fa-chevron-right {
    display: none;
}


.main_menu_sub {
    display: none;
    position: absolute;
    min-width: 100%;
    top: -14px;
/*    left: -18px;*/
    padding: 50px 0 0 0;
    opacity: 0;
    border-radius: 5px;
    z-index: 99;
}

.header.mainpage .main_menu_sub_list {
    list-style: none;
    padding: 0;
    
    backdrop-filter: contrast(1.5) blur(3px);
    background: rgb(65 73 46 / 50%);
}
.header .main_menu_sub_list{
    margin: 19px 0;
    padding-bottom: 5px !important;
}
.header:not(.mainpage) .main_menu_sub_list{
    background: #95947A;
    padding: unset;
}

.main_menu_sub_item a:hover{
    color: white;
    text-decoration: underline;
}
.main_menu_sub_item a:active{
    color: black;
    text-decoration: unset;
}

.main_menu_sub_item.active {
}

/*hover*/
.header_main_menu_item:hover > img {
    z-index: 100;
}


.header_main_menu_item:hover > .fa-chevron-down {
    display: none;
}

.header_main_menu_item:hover > .fa {
    z-index: 100;
}

.header_main_menu_item:hover > .fa-chevron-right {
    display: inline-block;
}

.header_main_menu_item:hover .main_menu_sub {
    display: block;
    opacity: unset;
}

.main_menu_sub_item {
/*    min-width: 150px;*/
/*    padding: 0 20px;*/
    margin-bottom: 15px;
}

.main_menu_sub_item a {
    color: var(--main-color);
    position: relative;
/*    white-space: nowrap;*/
    border-radius: inherit;
    width: 100%;
    text-decoration: none;
    line-height: 28px;
}

.main_menu_sub_item a:hover {
    border-bottom-color: transparent;
}

/*@media screen and (max-width: 992px) {
    .header_main_menu_item > img {
        display: none;
    }

}*/

@media screen and (max-width: 991px) {
    .header_main_menu {
        position: absolute;
        width: 100%;
        border: 0;
        display: none;
        padding: 0;
        z-index: 100;
        box-shadow: 0 5px 5px 0 #dedede;
    }

    .header_main_menu_list {
        border: 0;
    }

    .header_main_menu_item {
        display: flex;
        width: fit-content !important;
        justify-content: left;
        border-right: 0;
    }
    .header_main_menu_item > a, .header_main_menu_item > a:hover{
        font-size: 14px;
    }
    .header_main_menu_item > img, .main_menu_sub_item > img{
        margin-right: 12px !important;
        height: 10px;
        position: relative;
        top: -1px;
    }

    .header_main_menu_item:not(:last-child) {
        border-right: 0;
    }

    .header_main_menu_item > .fa {
        display: none;
    }

    .header_main_menu_item > img {
        display: initial;
    }

    .header_main_menu_item > a {
        display: block;
        padding: 5px 0;
        text-transform: uppercase;
    }
}
.header_main_menu_item > img,.main_menu_sub_item > img{
    margin-right: 25px;
}
.main_menu_sub_item{
    width: 80%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 40px;
    margin-left: 20%;
}
.main_menu_sub_item a{
    color: white;
/*    width: 128px;*/
}
.menu_action {
    position: relative;
    display: flex;
}
.menu_action a{
    margin-left: 25px;
    color: #F9C442 !important;    

}
.menu_action:hover a {
    text-decoration: underline;
}
.menu_action:before {
    display: block;
    content: '';
    width: 14px;
    height: 20px;
    background-image: url('/local/templates/redezign/img/percent.png');
}
@media(max-width: 767px) {
    .menu_action.mobile {
        display: none;
    }
    .header_top_menu_item.menu_action:before {
        background: #F9C442;
    }
    .menu_action a {
        margin-left: unset;
    }
} 
