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

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

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

.site-header .wrapper {
    max-width: 1780px;
}

.site-identity {
    .site-title {
        font-size: 20px;
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 900;
        line-height: 1.25;
        margin-bottom: 0;
        text-transform: uppercase;
        @include media(wide) {
            font-size: 28px;
            font-size: 1.75rem;
        }
    }
    .site-description {
        font-size: 12px;
        font-size: 0.75rem;
        line-height: 1.75;
        margin-top: 0;
    }
}

.site-header .site-header-menu {
    align-items: center;
    z-index: 9;
    .social-navigation li a {
        opacity: 1;
    }
}

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

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: 29px;
        padding-top: 29px;
    }
}

.scroll-down {
    bottom: 28px;
    cursor: pointer;
    left: 50%;
    letter-spacing: 2px;
    height: 20px;
    position: absolute;
    text-transform: uppercase;
    text-align: center;
    transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    width: 70px;
    z-index: 1;
    span {
        display: block;
        font-size: 12px;
        font-size: 0.75rem;
        letter-spacing: 2px;
        margin-top: -14px;
    }
    .fa-angle-down {
        font-style: normal;
        &:before {
            font-family: FontAwesome;
            font-size: 16px;
            font-size: 1rem;
        }
    }
}

body:not(.home) .custom-header .scroll-down {
    display: none;
}

.custom-header .entry-summary {
    font-size: 18px;
    font-size: 1.125rem;
}

.custom-header .entry-title,
.archive .custom-header .entry-title span {
    letter-spacing: -1.13px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    @include media(diagonal) {
        font-size: 70px;
        font-size: 4.375rem;
    }
}


/*Arrow Animation*/

@keyframes arrow-jump {
    0% {
        opacity: 1;
        -webkit-transform: translateY(10px);
        -moz-transform: translateY(10px);
        -o-transform: translateY(10px);
        transform: translateY(10px);
    }
    50% {
        opacity: 1;
        -webkit-transform: translateY(20px);
        -moz-transform: translateY(20px);
        -o-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(10px);
        -moz-transform: translateY(10px);
        -o-transform: translateY(10px);
        transform: translateY(10px);
    }
}

@-webkit-keyframes arrow-jump {
    0% {
        opacity: 1;
        -webkit-transform: translateY(10px);
        -moz-transform: translateY(10px);
        -o-transform: translateY(10px);
        transform: translateY(10px);
    }
    50% {
        opacity: 1;
        -webkit-transform: translateY(20px);
        -moz-transform: translateY(20px);
        -o-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(10px);
        -moz-transform: translateY(10px);
        -o-transform: translateY(10px);
        transform: translateY(10px);
    }
}

.scroll-here {
    -webkit-animation: arrow-jump 1s infinite;
    /* Safari 4+ */
    -moz-animation: arrow-jump 1s infinite;
    /* Fx 5+ */
    -o-animation: arrow-jump 1s infinite;
    /* Opera 12+ */
    animation: arrow-jump 1s infinite;
    /* IE 10+, Fx 29+ */
}

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

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

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

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

#menu-toggle {
    cursor: pointer;
    font-size: 13px;
    font-size: 0.8125rem;
    overflow: hidden;
    margin-top: 0;
    padding: 10px;
    &: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(-47deg) translate(-3px, 6px);
        -o-transform: rotate(-47deg) translate(-3px, 6px);
        -moz-transform: rotate(-47deg) translate(-3px, 6px);
        -ms-transform: rotate(-47deg) translate(-3px, 6px);
        -webkit-transform: rotate(-47deg) translate(-3px, 6px);
    }
    .bar3 {
        transform: rotate(45deg) translate(-1px, -4px);
        -o-transform: rotate(45deg) translate(-1px, -4px);
        -moz-transform: rotate(45deg) translate(-1px, -4px);
        -ms-transform: rotate(45deg) translate(-1px, -4px);
        -webkit-transform: rotate(45deg) translate(-1px, -4px);
    }
}

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

.menu-toggle {
    display: block;
}

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

.custom-header .entry-title .sub-title {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

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

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

.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%);
    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: 13px;
            padding-right: 60px;
        }
        button {
            padding: 15px 20px 13px 20px;
        }
    }
}

.catch-breadcrumb.breadcrumb-area {
    margin-bottom: 15px;
    .breadcrumb,
    .breadcrumb-current {
        letter-spacing: 1px;
        text-transform: uppercase;
    }
}

.catch-breadcrumb+.entry-title {
    margin: 0;
}

.no-header-media-image .custom-header {
    -ms-flex-line-pack: center;
    align-content: center;
    height: 100%;
}

.custom-header .entry-title {
    margin-bottom: 21px;
}

.archive .custom-header .entry-title span {
    display: inline-block;
    text-transform: capitalize;
}

.no-header-media-text .custom-header {
    min-height: 100vh;
}

.home .custom-header-content .entry-container {
    padding: 0 30px;
    @include media(mobile_horizontal) {
        padding: 0 40px;
    }
    @include media(wide) {
        padding: 0 50px;
    }
}

.custom-header-content .entry-container {
    max-width: 800px;
    padding: 120px 30px;
    
    @include media(wide) {
        padding: 162px 40px 90px 40px;
    }

    @include media(diagonal) {
        padding: 285px 40px 188px 40px;
    }
}

.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;
    max-width: 1000%;
    min-height: 100%;
    min-width: 100%;
    min-width: 100vw;
    height: 100%;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    top: 0;
    -ms-transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    transform: none;
    width: 100%;
}