* {
    margin: 0;
    padding: 0;
}

ol li a {
 color: #2F6004 !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
}


.header-back {
    position: absolute;
    height: 112px;
    width: 100%;
    top: 0;
    display: flex;
    z-index: -1;
}
.header-back .color-filter:first-child {
/*    background: #2AB5B1; */
    width: 31%;
/*    border-radius: 0 800px 800px 0; */
}
.header-back .color-filter:nth-child(2) {
    background: #fff;
    width: 70%;
}
.header-red {
    position: relative;
    height: 112px;
    z-index: 999;
}

.header-red ul {
    margin-top: 10px;
    margin-bottom: 0;
}

.header-red * {
    font-family: 'Josefin Sans';
}
.header-red .container {
    display: flex;
    height: inherit;
    align-items: center;
    width: initial;
}

.header-red .logo-wrapper {
    margin-right: 75px;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    max-width: 179px;
    width: 100%;
}
.header-red .logo-wrapper img {
/*    width: 100%; */
}
.header-red .right-bar {
    display: flex;
    flex-wrap: wrap;
/*    margin-left: 30px; */
    margin-left: 10px;
    position: relative;
}
.header-red a {
    text-decoration: none;
    transition: 0.3s;
}
.header-red .bottom-navbar {

}
.header-red .bottom-navbar ul {
    display: flex;
}
.header-red .bottom-navbar ul .menu-item-has-children .sub-menu li+li {
    margin-left: 0;
    margin-top: 10px;
}
.header-red .menu-item-has-children .sub-menu li {
    position: relative;
}
.header-red .menu-item-has-children .sub-menu {
    display: none;
    transition: 0.2s;
    position: absolute;
    border-radius: 3px;
    width: 230px;
    padding: 15px;
    background: #fff;
    margin-left: 0;
    top: 25px;
/*    left: -20px; */
}
.header-red .popular-request {
    position: relative;
}


/*
.header-red .menu-item-has-children .sub-menu li:nth-of-type(5):after {
    display: block;
    content: "";
    color: #2AB5B1;
    background-image: url(/wp-content/themes/medin/assets/images/icons/most-popular.svg);
    position: absolute;
    right: -60px;
    width: 100%;
    height: 10px;
    top: 8px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
*/


/*
.header-red .menu-item-has-children .sub-menu li:first-child:after {
    display: block;
    content: "";
    color: #2AB5B1;
    background-image: url(/wp-content/themes/medin/assets/images/icons/most-popular.svg);
    position: absolute;
    right: -60px;
    width: 100%;
    height: 10px;
    top: 8px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
*/


.header-red  .menu-item-has-children:hover .sub-menu {
    display: block;
}
.header-red .top-info {
    display: flex;
    align-items: center;
    margin-bottom: 27px;
}
.header-red .contact-header {
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
    color: #444444;
    display: flex;
    align-items: flex-start;
}
.header-red .contact-header a:hover {
    color: #2F6004;
}
.header-red .contact-header:before {
    content: "";
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 16px;
    height: 16px;
    margin-right: 12px;
}
.header-red .address {
    margin-right: 50px;
}
.header-red .address:before {
    background-image: url("/wp-content/themes/medin/assets/images/icons/address-point.svg");
}
.header-red .phone {
    margin-right: 95px;
}
.header-red .mail:before {
    background-image: url("/wp-content/themes/medin/assets/images/icons/mail-ico.svg");
}
.header-red .phone:before {
    background-image: url("/wp-content/themes/medin/assets/images/icons/phone-ico.svg");
}
.header-red .contact-header p, .header-red .contact-header a {
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
    color: #444444;
}

.header-red .contacts-header {
    display: flex;
    width: 100%;
    margin-bottom: 27px;
}

.header-red .bottom-navbar ul li {
    list-style: none;
}

.header-red .bottom-navbar ul li+li {
/*    margin-left: 35px; */
    margin-left: 20px;
}

.header-red .bottom-navbar ul li a {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: #444444;
    letter-spacing: -1px;
}
.header-red .bottom-navbar ul li a:hover {
    color: #2F6004;
}
.header-red .header-search {
    position: absolute;
    right: 0;
    top: 41px!important;
    cursor: pointer;
}
.header-red .header-search .search-btn {
    background-image: url("/wp-content/themes/medin/assets/images/icons/search-btn.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 18px;
    height: 18px;
}

.header-red .header-search button {
    border: none;
}
.header-red .header-search button,  .header-red .header-search button:focus {
    height: 42px;
    min-height: 42px;
    background: transparent;
}

body.touch .header-red .header-search input[type='submit'], body.touch .header-search button[type='submit']{
    display: block;
}
.header-red .mobile-header-block .header-search button svg path, .header-red .mobile-header-block .header-search button:focus svg path {
    fill: #fff;
}


.mobile-phone {
    display: none;
}
.mobile-menu-btn {
    display: none;
}
.mobile-header-block {
    display: none;
}

@media (max-width: 1600px) {
    .header-back .color-filter:first-child {
        width: 27%;
    }
}

@media (max-width: 1440px) {
    .header-back .color-filter:first-child {
        width: 25%;
    }
}

@media (max-width: 1024px) {
 .header-red .phone-h {
  margin-left: 50px !important;
 }

    .header-red .top-info {
        flex-wrap: wrap;
    }
    .header-red .bottom-navbar ul .menu-item-has-children .sub-menu li:first-child {
        width: 100%;
        max-width: 100%;
    }
    .header-red .menu-item-has-children .sub-menu {
        left: -15px;
    }
    .header-red .bottom-navbar ul .menu-item-has-children .sub-menu li {
        max-width: 100%;
        width: 100%;
    }
    .header-red {
        height: 190px;
    }
    .header-red .bottom-navbar ul li {
        margin-bottom: 15px;
        max-width: 25%;
        width: 50%;
    }
    .header-red .contacts-header {
        flex-wrap: wrap;
    }
    .header-red .bottom-navbar ul li:first-child {
        max-width: 50%;
    }
    .header-red .bottom-navbar ul li+li {
        margin-left: 0;
    }
    .header-back {
        height: 190px;
    }
    .header-red .bottom-navbar ul {
        flex-wrap: wrap;
    }
    .header-back .color-filter:first-child {
        width: 27%;
    }
    .header-red .right-bar {
        align-self: flex-start;
        padding-top: 17px;
        margin-left: 30px;
    }
    .header-red .header-search {
        right: 5%;
        top: 41px!important;
    }
    .header-red .logo-wrapper {
        margin-right: 75px;
    }
    .header-red .address {
        margin-right: 0;
        width: 100%;
        margin-bottom: 10px;
    }
    .header-red .top-info {
        margin-bottom: 20px;
    }
    .header-red .top-info:after {
        margin-top: 20px;
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: auto;
        background-image: url("/wp-content/themes/medin/assets/images/header-line.png");
    }
    .header-red .phone {
        margin-right: 26px;
    }
    .header-red .bottom-navbar {
        position: relative;
    }
}

@media (max-width: 900px) {
    .header-red .right-bar {
        margin-left: 10px;
    }
}


@media (max-width: 800px) {
    .header-red .right-bar {
        margin-left: 10px;
    }
    .header-back .color-filter:first-child {
        width: 28%;
    }
    .header-red .logo-wrapper {
        margin-right: 45px;
    }
}

@media (max-width: 767px) {
    .header-red .header-search {
        top: 45px!important;
    }
    .header-back .color-filter:first-child {
        width: 30%;
    }
}


@media (max-width: 700px) {
    .header-back .color-filter:first-child {
        width: 35%;
    }
}

@media (max-width: 600px) {
    .header-red {
        background: #ffffff;
/*        height: 104px; */
        height: 64px;
    }
    .header-red .menu-item-has-children:hover .sub-menu {
        position: initial;
        background: transparent;
    }
    .header-red .container {
        padding: 0 24px;
        justify-content: space-between;
    }
    .header-red .logo-wrapper {
        max-width: 27%;
    }
    .header-red .logo-wrapper img:first-child {
        max-width: 141px;
        width: 100%;
    }
    .header-red .logo-wrapper img:nth-child(2) {
        height: 13px;
        max-width: 57px;
        width: 100%;
    }
    .mobile-phone {
        display: block;
    }
    .mobile-menu-btn {
        display: block;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        width: 30px;
        height: 30px;
        background-image: url("/wp-content/themes/medin/assets/images/icons/menu-btn.svg");
    }
    .header-red .mobile-menu {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 540px;
        background: #99b581;
        margin-left: -200%;
        padding-top: 0;
        transition: all 0.2s;
    }
    .header-red .bottom-navbar ul .menu-item-has-children .sub-menu li a {
        font-size: 16px;
        line-height: 24px;
    }
    .header-red .top-info {
        align-items: flex-start;
    }
    .header-red .header-search {
        right: 15%;
        top: 39px!important;
    }
    .header-red .mobile-menu.show {
        display: flex;
        margin-left: 0;
    }
    .header-back {
        display: none;
    }
    .mobile-header-block {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 104px;
        margin-bottom: 38px;
    }
    .btn-close-menu {
        display: block;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        width: 30px;
        height: 30px;
        background-image: url("/wp-content/themes/medin/assets/images/icons/menu-btn-close.svg");
    }
    .header-red .header-search .search-btn {
        background-image: url("/wp-content/themes/medin/assets/images/icons/search-btn-white.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        width: 18px;
        height: 18px;
    }
    .header-red .bottom-navbar .header-search {
        display: none;
    }
    .header-red .bottom-navbar ul li a {
        font-weight: 400;
        font-size: 20px;
        line-height: 30px;
        color: #FFFFFF;
    }
    .header-red .top-info {
        padding: 0 24px;
        width: 100%;
        height: 104px;
        margin-bottom: 0;
    }
    .header-red .bottom-navbar {
        padding: 0 24px;
    }
    .header-red .bottom-navbar ul li {
        max-width: 100%;
        margin-bottom: 10px;
        width: 100%;
    }
    .header-red .bottom-navbar ul li:first-child {
        max-width: 100%;
    }
    .header-red .contacts-header {
        order: 1;
    }
    .header-red .contact-header p, .header-red .contact-header a {
        font-size: 16px;
        line-height: 24px;
        color: #FFFFFF;
    }
    .header-red .contact-header {
        width: 100%;
        margin: 0 0 10px;
        padding: 0 24px;
    }
    .header-red .contacts-header:before {
        content: "";
        background-image: url("/wp-content/themes/medin/assets/images/mobile-line.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: auto;
        height: 1px;
        margin-bottom: 14px;
        width: 100%;
    }
    .header-red .top-info:after {
        display: none;
    }
    .header-red .address:before {
        background-image: url("/wp-content/themes/medin/assets/images/icons/address-point-white.svg");
    }
    .header-red .mail:before {
        background-image: url("/wp-content/themes/medin/assets/images/icons/mail-ico-white.svg");
    }
    .header-red .phone:before {
        background-image: url("/wp-content/themes/medin/assets/images/icons/phone-ico-white.svg");
    }
    .header-red .mobile-phone {
        font-weight: 400;
        font-size: 14px;
        line-height: 21px;
        color: #2F6004;
        display: flex;
        align-items: center;
    }
    .header-red .mobile-phone:before {
        content: "";
        background-image: url("/wp-content/themes/medin/assets/images/icons/phone-ico-white.svg");
        display: block;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        width: 16px;
        height: 16px;
        margin-right: 12px;
        margin-bottom: 5px;
    }
}



.header-red .phone-h {
    font-family: 'Josefin Sans';
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    background: #2F6004;
    border-radius: 5px;
    display: flex;
    align-items: center;
    height: 50px;
/*
    max-width: 234px;
    width: 100%;
*/
    justify-content: center;
    color: #FFFFFF;
    transition: 0.3s;
    padding: 0 22px 0 22px;
/*    margin-left: 100px; */
    margin-left: 30px;
}

.header-red .phone-h:before {
    content: "";
    background-image: url(/wp-content/themes/medin/assets/images/icons/phone-ico-red.svg);
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 16px;
    height: 16px;
    margin-right: 12px;
    margin-bottom: 5px;
}
