/**
 * #.#  Header styles
 *
 * This stylesheet include styles for default divi header menu
 */

#main-header {
    box-shadow    : none;
    border-bottom : 1px solid rgba(0, 0, 0, 0.15);
}

#top-menu li {
    line-height : 1.05;
    font-weight : 400;
    opacity     : 1;
}

/**
 * #.#   Top Header
 *
 */

#et-info-phone,
#et-info-email {
    font-size : 120%;
}

#et-info-phone span,
#et-info-email span {
    font-size    : 75% !important;
    margin-right : 5px;
    font-weight  : 300;
}

#et-info-phone:before,
#et-info-email:before {
    display : none;
}

#top-header li.et-social-icon {
    margin-left : 5px !important;
    margin-top  : 0 !important;
}

#top-header .et-social-icon a {
    font-size     : 14px;
    width         : 35px;
    height        : 35px;
    line-height   : 35px;
    border-width  : 1px !important;
    border-style  : solid !important;
    border-color  : rgba(0, 0, 0, 0.2);
    border-radius : 1px;
    transition    : all 0.2s ease-in-out 0s;
}

#top-header .et-social-icon a:hover {
    opacity : 1;
}

/**
 * #.#   Top header navigation
 *
 */

#et-secondary-menu {
    padding-left : 10px;
}

#et-secondary-nav > li {
    padding-bottom : 4px;
    padding-top    : 4px;
}

#et-secondary-nav > li a {
    padding-bottom : 10px !important;
    padding-top    : 10px !important;
    margin-bottom  : 0;
    position       : relative;
}

#et-secondary-nav .menu-item-has-children > a:first-child:after {
    top       : 50%;
    transform : translateY(-50%);
}

/**
 * #.#   Sub menu
 *
 */

.nav li ul, #et-secondary-nav li ul, ul#mobile_menu {
    border  : none !important;
    padding : 0;
}

#top-menu li li, #et-secondary-nav li ul li {
    width       : 100%;
    padding     : 0;
    font-weight : normal !important;
}

#top-menu li li a, #et-secondary-nav li ul li a, .et_mobile_menu li a, #mobile_menu li a {
    text-transform : none;
    width          : 100% !important;
    display        : block;
    padding        : 15px 25px !important;
    border-bottom  : 1px solid rgba(0, 0, 0, 0.1);
    opacity        : 1;
}

#top-menu li .menu-item-has-children > a:first-child:after {
    top       : 50%;
    transform : translateY(-50%);
}

#top-menu li li:last-child a,
ul#mobile_menu li:last-child a,
#mobile_menu i:last-child a {
    border : none;
}

.mobile_nav.opened span.mobile_menu_bar:before {
    content : "\4d";
}

@media (max-width : 980px) {
    #main-header .mobile_nav {
        background-color : transparent !important;
        font-weight      : normal;
        text-transform   : uppercase;
    }
}

/**
 * #.#   Responsive
 *
 */

@media (min-width : 981px) and (max-width : 1200px) {
    #main-header .container,
    #top-header .container {
        width : 95%;
    }
}

@media (max-width : 980px) {
    .et_header_style_split #et_mobile_nav_menu {
        margin-top : 0 !important;
    }

    #et-info {
        float          : none;
        width          : 100%;
        position       : relative;
        overflow       : hidden;
        padding-bottom : 0;
    }

    #et-info-phone, #et-info-email {
        margin-top : 10px;
        display    : block;
        float      : left;
    }

    #top-header .et-social-icons {
        display : block;
        float   : right;
    }
}

@media (max-width : 600px) {
    #et-info {
        display : none;
    }
}

.et_pb_section_1_tb_header,
#header-main-nav{
    padding: 0!important;
    max-width: 100%!important;
}

.et_pb_section_1_tb_header > .et_pb_row,
#header-main-nav > .et_pb_row{
    width : 100%!important;
}

.et_pb_section_1_tb_header .icon.et_pb_with_border,
#header-main-nav .icon.et_pb_with_border{
    height: 28px!important;
    width: 28px!important;
    border-radius: 1px 1px 1px 1px!important;
    border-width: 1px!important;
    border-color: #7F7F7F!important;
    &::before{
        line-height: 28px!important;
        height: 28px!important;
        width: 28px!important;
        font-size: 14px!important;
        color: #7F7F7F!important;
    }
    &:hover{
        border-color: transparent!important;
        &::before{
            color: #fff!important;
        }
    }
}

.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit{
    text-shadow: none!important;
}
#dgwt-wcas-search-input-1{
    font-style: normal!important;
}
#dgwt-wcas-search-input-1::placeholder,
#dgwt-wcas-search-input-1::-webkit-input-placeholder{
    font-style: normal!important;
}
#dgwt-wcas-search-input-1:-moz-placeholder{
    font-style: normal!important;
}
#dgwt-wcas-search-input-1::-moz-placeholder{
    font-style: normal!important;
}
#dgwt-wcas-search-input-1:-ms-input-placeholder{
    font-style: normal!important;
}

#header-buttons .fcm-header-icons{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}
#header-buttons .fcm-header-icon{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    text-decoration: none;
}
#header-buttons i{
    color: #fff!important;
}
#header-buttons .fcm-header-icon:hover{
    opacity: .8;
}
#header-buttons .fcm-basket-count{
    position: absolute;
    top: -8px;
    right: -11px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    background: #d9483d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    font-family: Poppins, sans-serif;
}

/* Replaced by the search icon button inline with the hamburger (fcm-mega-menu) */
@media (max-width: 980px) {
    #header-search-form{
        display: none !important;
    }
}