/* =========================================================================
   New header and footer on pages that still use Enfold's templates
   (inc/site-chrome.php). The header and footer markup and most of their
   styles are shared with the homepage (home.css); this file only adapts them
   to sit inside Enfold's page instead of over the homepage hero.
   ========================================================================= */

/* Enfold pads #main to make room for its fixed header, which is gone. */
.drh-site-chrome #main { padding-top: 0 !important; }

/* The chrome wrappers are only containers, not full .drh pages. */
.drh.drh-chrome { background: transparent; }
body.admin-bar .drh.drh-chrome { padding-top: 0; }
.drh-site-chrome .drh-skip { position: absolute; }
.drh-site-chrome .drh-skip:focus { top: 16px; }

/* Header sitting on the page instead of floating over a photo. */
.drh-chrome--header { background: var(--drh-cream-light); border-bottom: 1px solid #E6D9C4; }
.drh .drh-header--solid {
	position: relative;
	z-index: 20;
	max-width: 1240px;
	margin: 0 auto;
	padding: 12px 20px;
}
.drh .drh-header--solid .drh-header__card {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	box-shadow: none;
}

/* Enfold styles form fields and links globally; keep the header search plain. */
#top .drh-chrome .drh-search input[type="search"],
#top .drh-chrome .drh-search input[type="search"]:focus {
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--drh-ink);
	font-family: inherit;
	font-size: 14px;
}

@media (max-width: 760px) {
	.drh .drh-header--solid { margin-top: 0; padding: 8px 12px; }
}
