
:root {
	--admin-bar-height: 0px;
	--site-announcement-height: 0px;
}
body.admin-bar {
	--admin-bar-height: 32px;
}
body.has-site-announcement {
	--site-announcement-height: 50px;
}

#site-announcement {
	position: fixed;
	width: 100%;
	left: 0;
	top: calc(var(--admin-bar-height));
	z-index: 100;
	height: 50px;
	display: none;
}
body.has-site-announcement #site-announcement {
	display: block;
}
#site-announcement button.dismiss {
	position: absolute;
	right: 0;
	top: 0;
	width: 50px;
	height: 50px;
	overflow: hidden;
	text-indent: -100000px;
	background-color: transparent;
	border: none;
	color: inherit;
	font-weight: 400;
}
#site-announcement button.dismiss::before {
	content: '\00d7';
	text-indent: 0;
	text-align: center;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-size: 40px;
	padding-bottom: 4px;
}
#site-announcement .container {
	max-width: none;
}
#site-announcement .container > .inner {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
}
#site-announcement p {
	margin-bottom: 0;
	font-size: 16px;
	line-height: 1.2;
}
#site-announcement p.link {
	margin-left: 20px;
}
#site-announcement p.link a {
	display: block;
	text-decoration: none;
	background-color: #fff;
	color: #333;
	font-weight: 700;
	padding: 10px 14px;
}
#site-announcement.text-color-dark p.link a {
	background-color: #333;
	color: #fff;
}

#header {
	position: fixed;
	width: 100%;
	left: 0;
	top: calc(var(--admin-bar-height) + var(--site-announcement-height));
}
body.home #header::before {
	display: block;
	opacity: 0;
	transition: opacity .5s;
}
body.home.window-scrolled-down #header::before {
	opacity: 1;
}
body {
	padding-top: calc(91px + var(--site-announcement-height));
}
@media (min-width: 576px) {
	body {
		padding-top: calc(112px + var(--site-announcement-height));
	}
}
@media (min-width: 992px) {
	body {
		padding-top: calc(143px + var(--site-announcement-height));
	}
}

#header .search-form {
	display: none;
	margin-top: -18px;
	position: relative;
	margin-right: 20px;
}
#header .search-form input[type=search] {
	background-color: transparent;
	border: 1px solid rgba(255,255,255,.5);
	padding: 10px 16px;
	padding-right: 56px;
	outline: none;
	font-size: 16px;
	color: #fff;
}
#header .search-form input[type=search]::placeholder {
	color: rgba(255,255,255,.75);
}
#header .search-form input[type=submit] {
	position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 40px;
    font-size: 0;
    border: 0;
    outline: 0;
    background: url(../../img/icon-search-mag-glass-white.svg) center no-repeat;
	text-indent: -1000px;
	overflow: hidden;
	background-size: 20px 20px;
}
@media (min-width: 992px) {
	#header .search-form {
		display: flex;
	}
}

body.search #index-main {
	margin-top: 4rem !important;
}
body.search #index-main .entry-thumbnail-container {
	display: none;
}

.wp-block-page-section .section-link-overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: block;
}