/** main header */
#main-header {
    position: relative;
}

html:not(.nav-open) #main-header.highlight {
    z-index: 20000;
    background: #fff;
}

#main-header .site-header-container {
    min-height: 95px;
    padding-top: 27px;
    padding-bottom: 20px;
}

#main-header .site-header-inner {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: space-between;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
}

#main-header .site-header-inner::after {
    content: "";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

/*
.site-header-inner .submenu-newsletter-wrap {display: none;}
.site-header-inner .submenu-newsletter-wrap {background-color: #404040; color: #ffffff;margin: 10px 50px;font-size: 20px;position: relative;}
.site-header-inner .submenu-newsletter-wrap:before {content: ""; height: 1px; width: 60px;display: block ;background-color: #ffffff;position: absolute; top: -10px;}
.site-header-inner #main-nav:hover + .submenu-newsletter-wrap {display:block;}
*/

/* Header image */
.header-image .header-text--item.color-gradient-dark .header-text--title::selection,
.header-image .header-text--item.color-gradient-white .header-text--title::selection {
    color: #FFF;
    -webkit-text-fill-color: #fff;
}

.header-image .header-text--item.color-gradient-dark .header-text--title::-moz-selection,
.header-image .header-text--item.color-gradient-white .header-text--title::-moz-selection {
    color: #FFF;
    -webkit-text-fill-color: #fff;
}

/* Social header */
#headersocial {
    margin-bottom: 10px;
    display: none;
}

/* logo */
#logo {
    align-self: center;
    margin-left: auto;
}

#logo a {
    background: var(--logo);
    background-size: 100%;
    display: block;
    height: 50px;
    width: 250px;
    background-repeat: no-repeat;
}

#logo span {
    display: none;
}

@media screen and (max-width: 374px) {
    /* smaller than iPhone6 - portrait */
    #main-header .site-header-container {
        min-height: 80px;
    }

    #logo a {
        height: 40px;
        width: 180px;
    }
}

/* 374px */
