#main-header {
    background: var(--black);
}

.et_header_style_centered #main-header div#et-top-navigation {
    padding-top: 20px;
}

#top-menu li {
    padding-right: 25px;
}

.et_header_style_centered #top-menu>li>a {
    color: var(--body);
    font-family: var(--primary_font);
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.3s ease all;
    padding: 0 15px 7px 15px !important;
    border-bottom: 2px solid transparent;
}

#top-menu-nav>ul>li>a:hover,
#top-menu li.current-menu-item>a {
    transition: 0.3s ease all;
    color: var(--primary);
    border-color: var(--primary);
    opacity: 1;
}

.et_header_style_centered #et_top_search {
    float: right;
    margin: -1px 30px 0 0;
}

.et_header_style_centered #et_search_icon:before {
    top: unset;
    left: unset;
}

.et_header_style_centered #et-top-navigation .et-cart-info {
    float: right !important;
    margin-left: 0;
}

/* Mobile */


@media only screen and (max-width: 980px) {

    .et_header_style_centered #main-header .container {
        display: flex;
        justify-content: center;
        flex-direction: row;
    }

    .et_header_style_centered header#main-header .logo_container {
        width: 50%;
        float: left;
        text-align: left;
    }

    .et_header_style_centered #main-header div#et-top-navigation {
        width: 50%;
        float: left;
        padding-top: 0;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .et_header_style_centered #et_mobile_nav_menu {
        margin-top: 0;
    }

    .et_header_style_centered #logo,
    .et_header_style_centered #logo img  {
        max-height: 45px;
    }

    .et_header_style_centered .mobile_nav .select_page {
        opacity: 0;
    }

    #mobile_menu {
        display: block;
        min-height: 100vh;
        height: 100%;
        top: 0;
        right: 0;
        position: fixed;
        z-index: 9998;
        overflow: scroll;
        border-top: none;
        padding: 75px 40px;
    }

    .et_mobile_menu li a {
        color: var(--white);
        width: 100%;
        float: left;
        border: none;
        text-align: left;
        margin: 3px 0;
        transition: .2s;
        text-transform: uppercase;
        font-size: 1.2em;
        font-weight: bold;
    }

    .et_mobile_menu li.icon.menu-item {
        display: inline-block;
        padding-left: 5%;
    }

    .sub-menu li a {
        font-size: 1em;
        padding-bottom: 0;
    }

    .sub-menu li:last-of-type a {
        padding-bottom: 15px;
    }

    .mobile_nav ul#mobile_menu .current_page_item > a {
        color: var(--primary);
    }

    .mobile_nav.closed #mobile_menu {
        -moz-background-size: cover;
        -o-background-size: cover;
        -webkit-background-size: cover;
        background: var(--background-dark);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transform: translateX(100%);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transition: -webkit-transform 0.4s 0s;
        -moz-transition: -moz-transform 0.4s 0s;
        transition: transform 0.4s 0s;
    }

    .mobile_nav.opened #mobile_menu {
        -moz-background-size: cover;
        -o-background-size: cover;
        -webkit-background-size: cover;
        background: var(--background-dark);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
        -webkit-overflow-scrolling: touch;
        -webkit-transition: -webkit-transform 0.4s 0s;
        -moz-transition: -moz-transform 0.4s 0s;
        transition: transform 0.4s 0s;
    }

    #main-header .container.clearfix.et_menu_container {
        /* width: 100%; */
    }

    .mobile_nav.opened .mobile_menu_bar:before {
        content: '\4d';
        z-index: 9999;
        color: var(--primary);
        border: 0;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        position: fixed;
        top: 30px;
        right: 30px;
        left: unset;
    }
}

@media only screen and (min-width: 981px) {

    .et_header_style_centered #main-header .logo_container {
        min-height: 95px;
    }

    .et_header_style_centered #logo,
    .et_header_style_centered #logo img {
        margin-left: -30px;
        max-height: 95px !important;
    }

}


@media only screen and (max-width: 980px) {

    .et_header_style_split .mobile_menu_bar,
    .et_header_style_left .mobile_menu_bar {
        z-index: 9999;
    }

    #et-top-navigation {
        padding-right: 5px;
    }

    .logo_container {
        padding-left: 40px;
    }

    .mobile_menu_bar {
        right: 40px;
    }
}

@media only screen and (min-width: 481px) {
    #mobile_menu {
        width: 340px;
        margin-left: calc(100% - 340px);
    }
}

@media only screen and (max-width: 480px) {
    #mobile_menu {
        width: 290px;
        margin-left: calc(100% - 290px);
    }
}

@media only screen and (max-width: 479px) {
    .logo_container {
        padding-left: 20px;
    }

    .mobile_menu_bar {
        right: 20px;
    }
}

@media only screen and (max-width: 369px) {

    .et_header_style_centered #logo {
        max-height: 40px;
    }

}

input.et-search-field,
.et-search-form input,
input.et-search-field #placeholder,
.et-search-form input #placeholder {
    color: var(--white);
}
