/**
 * 5.3 - Header
 */

.site-header {
	position: relative;
    transition: all 0.5s;
	z-index: 99;
}

.site-header-main .wrapper {
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	max-width: 100%;
	padding: 21px 30px;
}

.site-header.scrollDown .site-header-main .wrapper,
.site-header.scrollUp .site-header-main .wrapper {
	padding-bottom: 14px;
	padding-top: 14px;
}

.custom-logo {
	display: block;
	max-width: 250px;
}

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

.wp-custom-logo .site-identity {
	display: none;
}

.site-header-menu {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
	width: 25%;
	z-index: 999;
}

.site-branding {
	margin: 0 auto 0;
	max-width: 100%;
	min-width: 0;
	text-align: center;
	width: auto;
	overflow: hidden;
}

.site-title {
	font-weight: 900;
	line-height: normal;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.5;
	letter-spacing: 3px;
	margin: 0;
	text-transform: uppercase;
}

.site-title a {
	text-decoration: none;
}

.site-description {
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.62;
	opacity: 0.6;
	margin: 0;
	text-transform: capitalize;
}

.custom-header {
	clear: both;
	position: relative;
}

/*.home .custom-header {
    min-height: 100vh;
}*/

.custom-header .post-thumbnail {
	margin: 0;
}

.has-header-video .custom-header-media .wp-custom-header img {
	display: none;
}

.custom-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    width: 100%;
    transition: padding-top 0.3s;
}

.absolute-header .custom-header {
    padding-top: 92px;
}

.custom-header-content {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: 2;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.has-header-media:not(.home) .custom-header-content {
	position: relative;
	-webkit-transform: initial;
	-moz-transform: initial;
	-ms-transform: initial;
	-o-transform: initial;
	transform: initial;
}

.custom-header-content-wrapper,
#feature-slider-section .content-container {
    margin: 0 auto;
}

.custom-header-media,
#feature-slider-section .entry-container {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
}

.custom-header-content-wrapper,
#feature-slider-section .content-container {
	max-width: 280px;
	width: 100%;
}

.header-sidebar-active .custom-header-content-wrapper {
	max-width: 760px;
}

#feature-slider-section.content-align-left .content-container,
.custom-header-content.content-align-left .custom-header-content-wrapper {
	margin: 0 auto 0 0;
}

#feature-slider-section.content-align-right .content-container,
.custom-header-content.content-align-right .custom-header-content-wrapper {
	margin: 0 0 0 auto;
}

#feature-slider-section.text-align-left .content-container,
.custom-header-content.text-align-left {
	text-align: left;
}

#feature-slider-section.text-align-right .content-container,
.custom-header-content.text-align-right {
	text-align: right;
}

.custom-header-content .site-header-logo {
	margin-bottom: 21px;
}

.section-tagline + .site-header-logo {
	margin-top: 21px;
}

.custom-header-content .site-header-text,
#feature-slider-section .entry-content,
#feature-slider-section .entry-summary {
	line-height: 1.59;
}

.custom-header-media .more-button {
	display: inline-block;
}

.custom-header-media .more-button {
	margin-right: 14px;
}

.custom-header-media .more-button:last-child {
	margin-right: 0;
}

body:not(.home) .custom-header-content .custom-header-content-wrapper {
	margin: 0 auto;
	text-align: center;
}

.has-header-media:not(.home) .custom-header-media {
	position: relative;
}

.header-media-text-disabled .custom-header-media .wp-custom-header img {
	display: block;
	position: relative;
}

.custom-header-overlay,
#feature-slider-section .post-thumbnail:before {
	background-color: rgba(0,0,0,0);
    bottom: 0;
    content: "";
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1;
}

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

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

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

.has-header-image .custom-header-media .wp-custom-header img,
.has-header-video .custom-header-media .wp-custom-header video,
.has-header-video .custom-header-media .wp-custom-header iframe {
	position: absolute;
	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-image .custom-header-media .wp-custom-header img,
	.has-header-video .custom-header-media .wp-custom-header video {
		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%;
	}
}

/* Hides div in Customizer preview when header images or videos change. */

.custom-header-media .wp-custom-header-video-button { /* Specificity prevents .color-dark button overrides */
	border-radius: 50%;
	border: 2px solid;
	font-size: 18px;
	font-size: 1.125rem;
	opacity: 0;
	overflow: hidden;
	padding: 7px 14px;
	position: absolute;
	left: 49%;
	bottom: 35px;
	z-index: 100;
	height: 44px;
	width: 44px;
}

.sticky-playlist-enabled .custom-header-media .wp-custom-header-video-button {
	bottom: 75px;
}

.header-media:hover .wp-custom-header-video-button {
	opacity: 1;
}

// .site-title a:hover,
// .site-title a:focus,
// .menu-toggle:hover,
// .menu-toggle:focus,
// .cart-contents:hover,
// .cart-contents:focus,
// .navigation-classic.absolute-header .cart-contents:hover,
// .navigation-classic.absolute-header .cart-contents:focus,
// .main-navigation a:hover,
// .main-navigation a:focus,
// .site-header-main .social-navigation a:hover,
// .site-header-main .social-navigation a:focus,
// .absolute-header .site-header-main .social-navigation a:hover,
// .absolute-header .site-header-main .social-navigation a:focus,
// .absolute-header .main-navigation a:hover,
// .absolute-header .main-navigation a:focus,
// .dropdown-toggle:hover,
// .dropdown-toggle:focus {
//     opacity: 0.6;
//     /*transition: opacity .6s;
//     -webkit-transition: all .3s ease-in-out;
// 	-moz-transition: all .3s ease-in-out;
// 	-o-transition: all .3s ease-in-out;
// 	transition: all .3s ease-in-out;*/

// }



.has-header-media.header-media-text-disabled .wp-custom-header {
    padding: 85px 30px;
}

.custom-header-content-wrapper .section-title span {
    font-style: normal;
}

.home .header-media .entry-title,
#feature-slider-section .entry-title {
    line-height: 1;
	text-transform: uppercase;
}

.header-sidebar-active .custom-header-content .site-header-text {
	margin-top: 14px;
}

.header-media .more-button .more-link:hover,
.header-media .more-button .more-link:focus,
.header-media .more-button .more-link {
	border-bottom: none;
}

#primary-search-wrapper .menu-inside-wrapper input[type="search"] {
	border: none;
	padding: 0;
	height: 45px;
}

#primary-search-wrapper .search-container button {
	height: 45px;
	width: 45px;
	border-radius: 50%;
}

body.menu-open:before {
    width: 100%;
    height: 100%;
    content: '';
    background: #ffffffe0;
    z-index: 99;
    top: 0;
    left: 0;
    position: absolute;
}
body.color-scheme-dark.menu-open:before {
    background: #3a3a3ae0;
}

body.color-scheme-blue.menu-open:before {
    background: #414c8be0;
}

body.color-scheme-red.menu-open:before {
    background: #781212e0;
}

body:not(.home) .custom-header-content-wrapper {
	max-width: 700px;
}

.site-header-text .entry-meta a:hover {
	text-decoration: underline;
}

.custom-header-content .site-header-text {
    margin-top: 21px;
}

.navigation-classic .site-header-menu button#close-button {
	display: none;
}
