.wp-custom-logo .custom-logo-link {
    display: inline-block;
}

.wp-custom-logo .site-identity {
    display: none;
    
    @include media(mobile) {
        display: inline-block;
    }
}

.header-text-hidden {
    .custom-logo-link {
        max-width: 200px;
        
        @include media(desktop) {
            max-width: 320px;
        }
    }
}

.site-identity {
    
    .site-title {
        font-size: 15px;
        font-size: 0.9375rem;
        font-style: normal;
        font-weight: 700;
        letter-spacing: 2.5px;
        line-height: 1.56;
        text-transform: uppercase;

        @include media(diagonal) {
            font-size: 18px;
            font-size: 1.125rem;
            letter-spacing: 3px;
        }
    }
    
    .site-description {
        font-size: 13px;
        font-size: 0.8125rem;
        font-style: italic;
        margin-top: 0;

        @include media(wide) {
            font-size: 16px;
            font-size: 1rem;
        }
    }
}

.site-header .site-header-menu {
    align-items: center;
    z-index: 9;

    .social-navigation li a {
        display: block;
        opacity: 1;

        @include media(desktop) {
            padding-top: 5px;
            padding-bottom:5px;
        }
    }
}

.custom-header-media .wp-custom-header img {
    display: block;
}

.has-header-video .custom-header-media .wp-custom-header video,
.has-header-video .custom-header-media .wp-custom-header iframe {
    height: auto;
    left: 50%;
    max-width: 1000%;
    min-height: 100%;
    min-width: 100%;
    min-width: 100vw; /* vw prevents 1px gap on left that 100% has */
    width: auto;
    top: 50%;
    padding-bottom: 1px; /* Prevent header from extending beyond the footer */
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

/* For browsers that support 'object-fit' */
@supports ( object-fit: cover ) {
    .has-header-video .custom-header-media .wp-custom-header video,
    .custom-header .wp-custom-header img,
    .has-header-video .custom-header-media .wp-custom-header iframe {
        height: 100%;
        left: 0;
        -o-object-fit: cover;
        object-fit: cover;
        position: absolute;
        top: 0;
        -ms-transform: none;
        -moz-transform: none;
        -webkit-transform: none;
        transform: none;
        width: 100%;
    }
}

.home.has-header-video .site .custom-header {
    min-height: calc(100vh - 470px);
}

.custom-logo-link {
    max-width: 120px;
    margin-right: 12px;

    @include media(desktop) {
        max-width: 150px;
    }
}

header .site-branding {
    align-items: center;
}

.site-header-main {
    padding-bottom: 12px;
    padding-top: 13px;
    @include flex;
    justify-content: space-between;
    position: relative;

    @include media(desktop) {
        padding-bottom: 15px;
        padding-top: 15px;
    }

    @include media(wide) {
        padding-bottom: 20px;
        padding-top: 20px;
    }

    @include media(diagonal) {
        padding-bottom: 29px;
        padding-top: 29px;
    }
}

.scrolled-logo-link {
    display: none;
}

button#menu-toggle > * {
    display: inline-block;
    vertical-align: middle;
}

.menu-label {
    margin-left: 10px;
}

.site-header button {
    &:hover,
    &:focus {
        box-shadow: none;
    }
}

#menu-toggle {
    border-radius: 0;
    cursor: pointer;
    font-size: 15px;
    font-size: 0.9375rem;
    overflow: hidden;
    margin-top: 0;
    padding: 0;

    &:focus {
        outline: none;
    }
}

.menu-toggle-wrapper {

    @include media(desktop) {
        padding-right: 0;
    }
}

.navigation-classic .menu-toggle-wrapper {
    padding: 0;
}

.selected {
    .bar2 {
        opacity: 0;
        transform: translateX(-200%);
        -o-transform: translateX(-200%);
        -moz-transform: translateX(-200%);
        -ms-transform: translateX(-200%);
        -webkit-transform: translateX(-200%);
    }
    
    .bar1 {
        transform: rotate(-45deg) translate(-4px, 4px);
        -o-transform: rotate(-45deg) translate(-4px, 4px);
        -moz-transform: rotate(-45deg) translate(-4px, 4px);
        -ms-transform: rotate(-45deg) translate(-4px, 4px);
        -webkit-transform: rotate(-45deg) translate(-4px, 4px);
    }

    .bar3 {
        transform: rotate(42deg) translate(-4px, -5px);
        -o-transform: rotate(42deg) translate(-4px, -5px);
        -moz-transform: rotate(42deg) translate(-4px, -5px);
        -ms-transform: rotate(42deg) translate(-4px, -5px);
        -webkit-transform: rotate(42deg) translate(-4px, -5px);

    }
}

.bars {
    height: 3px;
    margin: 3px 0;
    width: 20px;
}

.menu-toggle {
    display: block;
}

.custom-header {
    position: relative;

    .custom-header-media {
        img {
            width: 100%;
        }
    }
}

.scroll-down {
    bottom: 20px;
    cursor: pointer;
    height: 50px;
    left: 50%;
    position: absolute;
    text-align: center;
    transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    width: 50px;
}

.slider-content-wrapper {
    .scroll-down {
        bottom: 60px;
    }
}

.custom-header-content {
    position: relative;
    width: 100%;
}

.custom-header-content .entry-title {
    position: relative;
}

.entry-header-image {
    margin: 15px 0;
}

button#wp-custom-header-video-button {
    cursor: pointer;
    font-size: 0;
    left: 50%;
    opacity: 0.7;
    margin-top: 0;
    outline: none;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    z-index: 999;

    &:hover,
    &:focus {
        box-shadow: none;
        -webkit-box-shadow: none;
        opacity: 1;
    }
}

.wp-custom-header-video-pause:before {
    content: "\f144";
    font-size: 54px;
    font-size: 3.375rem;
}

.wp-custom-header-video-play:before {
    content: "\f28b";
    font-size: 54px;
    font-size: 3.375rem;
}

.catch-breadcrumb.breadcrumb-area {

    .sep {
        font-size: 12px;
        font-size: 0.75rem;
    }
}

#primary-search-wrapper {
    
    .search-container {
        padding: 10px;

        input[type="search"] {
            padding: 15px;
            padding-right: 60px;
        }

        button {
            padding: 15px 20px;
        }
    }
}

.no-header-media-text .custom-header {
    min-height: 480px;

    @include media(tablet) {
        min-height: 720px;
    }

    @include media(wide) {
        min-height: 822px;
    }
}

.home .custom-header-content .entry-container {
    padding: 0 30px;

    @include media(mobile_horizontal) {
        max-width: 610px;
        padding: 0 40px;
    }

    @include media(wide) {
        padding: 0 50px;
    }
}

.custom-header-content .entry-container {
    max-width: 800px;
    padding: 150px 30px;

    @include media(mobile_horizontal) {
        padding: 190px 40px;
    }

    @include media(wide) {
        padding-left: 50px;
        padding-right: 50px;
    }
}

.custom-header:before {
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.custom-header img {
    display: none;
    -o-object-fit: cover;
    object-fit: cover;
}

.custom-header-content {
    z-index: 2;
}

.custom-header:after {
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.has-header-video .custom-header-media iframe {
    height: 100%;
    left: 50%;
    -o-object-fit: cover;
    object-fit: cover;
    top: 50%;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 100%;
}

.has-header-video .custom-header-media video, 
.has-header-video .custom-header-media iframe {
    position: absolute;
    left: 50%;
    max-width: 1000%;
    min-height: 100%;
    min-width: 100%;
    min-width: 100vw;
    top: 50%;
    padding-bottom: 1px;
    width: auto;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.boxed-layout .header-top-bar {
    .wrapper {
        max-width: 100%;
    }
}

.absolute-header .header-top-bar {
    border-bottom: 0;
}

.header-top-bar .header-top-content .header-top-left-content ul li a {
    font-weight: 400;
}

.header-top-bar .header-top-content .header-top-left-content ul li span {
    font-weight: 500;
}

.color-scheme-photography,
.color-scheme-e-commerce {
    .header-top-bar .header-top-content .header-top-left-content ul li span {
        font-weight: 600;
    }
    }

.header-top-bar {
    border-bottom: 1px solid;
    .header-top-content {
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        padding-bottom: 7px;
        padding-top: 7px;

        @include media(wide) {
            padding-bottom: 10px;
            padding-top: 10px;
        }

        @include media(diagonal) {
            padding-bottom: 14px;
            padding-top: 14px;
        }

        .header-top-left-content {
            ul {
                margin: 0;
                list-style: none;
                align-items: center;

                li {
                    font-size: 13px;
                    font-size: 0.8125rem;
                    margin-right: 15px;

                    @include media(diagonal) {
                        font-size: 15px;
                        font-size: 0.9375rem;
                        margin-right: 35px;
                    }

                    span span {
                        display: none;
                        
                        @include media(desktop) {
                            display: inline-block;
                        }
                    }

                    &:last-child {
                        margin-right: 0;
                    }

                    .fa {
                        margin-right: 5px;
                    }
                }
            }
        }

        .header-top-right-content a {
            opacity: 1;
            font-size: 13px;
            font-size: 0.8125rem;

            @include media(diagonal) {
                font-size: 15px;
                font-size: 0.9375rem;
            }
        }
    }
}

.header-top-bar .header-top-content .header-top-left-content span.hours {
    position: relative;
    .fa {
        cursor: pointer;
    }
}

.header-top-bar .header-top-content .header-top-left-content span.mobile-hours {
    left: 0;
    padding: 5px 14px;
    position: absolute;
    top: 150%;
    width: 230px;
    z-index: 9;

    @include media(desktop) {
        display: none;
    }
    &:before {
        border: 10px solid;
        content: "";
        height: 0px;
        left: 0;
        position: absolute;
        top: -20px;
        width: 0px;
    }
}

.header-top-bar .header-top-content .header-top-left-content .top-contact-information span.mobile-hours:before {
    border-top-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;
}

.home .site {

    .custom-header {
        align-items: center;
        display: flex;
        min-height: 100vh;
    }
}

//* With Admin bar and Sticky Playlist *//
.sticky-playlist-enabled.admin-bar.absolute-header.home .site .custom-header {
    min-height: calc(100vh - 93px );

    @include media (diagonal) {
        min-height: calc(100vh - 103px );
    }
}

.sticky-playlist-enabled.admin-bar.absolute-header .slider-content-wrapper.section.style-two .hentry {

    @include media (mobile_horizontal) {
        min-height: calc(100vh - 93px );
    }
    @include media (diagonal) {
        min-height: calc(100vh - 103px );
    }
}

@media screen and (max-width: 782px) {
    .sticky-playlist-enabled.admin-bar.absolute-header.home .site .custom-header,
    .sticky-playlist-enabled.admin-bar.absolute-header .slider-content-wrapper.section.style-two .hentry {
        min-height: calc(100vh - 107px );
    }
}

//* Without Admin bar *//
.sticky-playlist-enabled.absolute-header.home .site .custom-header {
    min-height: calc(100vh - 58px );
}


.sticky-playlist-enabled.absolute-header .slider-content-wrapper.section.style-two .hentry {
    
    @include media(mobile_horizontal) {
        min-height: calc(100vh - 58px );
    }
}

.absolute-header .site {
    
    .site-header {
        position: relative;
        .inner-header {
            left: 0;
            position: absolute;
            width: 100%;
            z-index: 9;
        }
    }
}

.site {   
    .site-header {
        .inner-header {
            position: relative;
        }
    }
}
