.site-header {
    width: 100%;
    // background: $dark_color;
}

.navbar {
    position: relative;
    z-index: 200;
    color: #fff;
    background: $dark_color;
    padding: 18px 0;
    transition: all 0.5s ease-in-out;
}

.navbar:before,
.navbar:after {
    content: " ";
    display: table;
}

.navbar:after {
    clear: both
}

.navbar.page-with-cover {
    position: absolute;
    width: 100%;
    background: none;
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.2) 1%, rgba(0, 0, 0, 0) 100%);
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.2) 1%, rgba(0, 0, 0, 0) 100%);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 1%, rgba(0, 0, 0, 0) 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#33000000', endColorstr='#00000000', GradientType=0);
}

.navbar .inner-wrap {
    width: 100%;
}


@media (min-width: 1500px) {
    .site-header .inner-wrap.wpz_layout_full {
        max-width: 96%;
    }
}


.navbar .inner-wrap .navbar-secondary {
    display: none;
}

.navbar .inner-wrap.wpz_layout_style_logo_center {
    display: flex;
    flex-flow: row wrap;
}

.navbar .inner-wrap.wpz_layout_style_logo_center > * {
    flex-grow: 0;
}

.navbar .inner-wrap.wpz_layout_style_logo_center .navbar-collapse {
    flex-grow: 1;
}

.navbar .inner-wrap.wpz_layout_style_logo_center .navbar-secondary {
    display: block;
}

.navbar .inner-wrap.wpz_layout_style_logo_center .navbar-header {
    flex-grow: 3;
    text-align: center;
}

.navbar .inner-wrap.wpz_layout_style_logo_center .navbar-brand-wpz {
    float: none;
    max-width: none;
}

.navbar-brand-wpz {
    line-height: 54px;
    float: left;
    padding: 0 15px 0 0;
    max-width: 350px;
}

.navbar-brand-wpz img {
    max-width: 100%;
    height: auto;
}

.navbar-brand-wpz h1 {
    margin: 0;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: $font__headings;
}

.navbar-brand-wpz a {
    font-size: 26px;
    text-transform: uppercase;
}

.navbar-brand-wpz a:hover {
    text-decoration: none;
    opacity: 0.8;
    color: #fff;
}



/* Hides navigation links and site footer when infinite scroll is active */
.infinite-scroll .paging-navigation {
  display: none;
}

/* Fix compatibility with Visual Composer */
.nav:after, .nav:before, .navbar-collapse:after, .navbar-collapse:before, .navbar-header:after, .navbar-header:before, .navbar:after, .navbar:before {
    content: "";
    display: inline !important;
}



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

    .headroom--not-top  {
        // box-shadow: 0 1px 10px 0 rgba(0,0,0,0.1);
        // box-shadow: -2px 2px 81px -27px rgba(0,0,0,.29);

        box-shadow: 0px 0px 18px 1px rgba(0, 0, 0, 0.1);
    }

    .headroom--not-top .navbar {
        background: rgba(0,0,0,.9);
        padding: 12px 0;
    }


    .headroom--not-top  .navbar-brand-wpz img {
        transition: all .2s ease-in-out;
        max-height: 70px;
        width: auto;
    }


    .site-header.headroom {
        width: 100%;
        z-index: 1000;
        position: fixed;
        top: 0;
    }

    .site-header.headroom--not-top {
        position: fixed;
        top: 0;
        border: none;
    }

    .site-header.headroom .navbar-brand h1,
    .site-header.headroom .main-navbar {
        transition: all 0.2s ease-in-out
    }

    .site-header.headroom .tagline {
        transition-duration: .2s;
    }

    .site-header.headroom--not-top {
    }

    .site-header.headroom--not-top .navbar-brand h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .site-header.headroom--not-top .navbar-brand img {
        transition-duration: .34s;
        max-width: 80%;
        height: auto;
    }

    .site-header.headroom--not-top .navbar-brand .tagline {
        font-size: 0;
    }


    /* Compatibility with WP admin bar */
    .admin-bar .headroom {
        top: 32px;
    }

}


@media screen and (max-width: 782px) {
    .admin-bar #header { margin-top: 46px; }
    .headroom + div {  }
}
@media screen and (max-width: 600px) {
    .admin-bar #header.headroom--not-top { margin-top: 0; }
}


