/*
 * Additions on top of the live Omega/WordPress CSS. Everything else (fonts, swatches,
 * header, grid, footer) comes verbatim from the live site's stylesheets.
 */

/* Hero slider: stands in for LayerSlider 8 with the v5 skin (fullwidth, 420px, responsiveUnder 1170). */
.twc-ls {
	position: relative;
	height: 420px;
	background-color: #434f5a;
	direction: ltr;
}

@media (max-width: 1169px) {
	.twc-ls {
		height: auto;
		aspect-ratio: 1170 / 420;
	}
}

.twc-ls__inner {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 30;
}

.twc-ls__slide {
	position: absolute;
	inset: 0;
	visibility: hidden;
	overflow: hidden;
}

.twc-ls__slide.is-active,
.twc-ls__slide.is-leaving {
	visibility: visible;
}

.twc-ls__slide.is-active {
	z-index: 2;
}

.twc-ls__slide.is-leaving {
	z-index: 1;
}

.twc-ls__bg,
.twc-ls__tile img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 50%;
}

.twc-ls__tiles {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
}

.twc-ls__tile {
	position: absolute;
	top: 0;
	height: 100%;
	overflow: hidden;
}

.twc-ls .ls-nav-prev,
.twc-ls .ls-nav-next {
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0.3s;
}

.twc-ls:hover .ls-nav-prev,
.twc-ls:hover .ls-nav-next {
	visibility: visible;
	opacity: 1;
}

.twc-ls .ls-bottom-nav-wrapper {
	visibility: visible;
	z-index: 40;
}

.ls-v5 .ls-nav-prev,
.ls-v5 .ls-nav-next,
.ls-v5 .ls-nav-start,
.ls-v5 .ls-nav-stop,
.ls-v5 .ls-bottom-slidebuttons a {
	background-image: url(/img/layerslider/skin.png);
	background-repeat: no-repeat;
}

.ls-v5 .ls-nav-prev,
.ls-v5 .ls-nav-next {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 50px;
	margin-top: -25px;
	z-index: 10000;
	outline: none;
}

.ls-v5 .ls-nav-prev {
	left: 10px;
	background-position: 0 0;
}

.ls-v5 .ls-nav-prev:hover {
	background-position: 0 -75px;
}

.ls-v5 .ls-nav-next {
	right: 10px;
	background-position: -150px 0;
}

.ls-v5 .ls-nav-next:hover {
	background-position: -150px -75px;
}

.ls-v5 .ls-bottom-nav-wrapper {
	position: relative;
	top: -30px;
	height: 0;
	margin: 0 auto;
	text-align: center;
	line-height: 0;
	font-size: 0;
}

.ls-v5 .ls-bottom-nav-wrapper a {
	outline: none;
	padding: 0;
	border: 0;
	line-height: normal;
}

.ls-v5 .ls-bottom-slidebuttons,
.ls-v5 .ls-nav-start,
.ls-v5 .ls-nav-stop {
	position: relative;
	display: inline-block;
	height: 20px;
}

.ls-v5 .ls-bottom-slidebuttons {
	text-align: left;
}

.ls-v5 .ls-bottom-slidebuttons a {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-position: 0 -150px;
}

.ls-v5 .ls-bottom-slidebuttons a.ls-nav-active,
.ls-v5 .ls-bottom-slidebuttons a:hover {
	background-position: -75px -150px;
}

.ls-v5 .ls-nav-start,
.ls-v5 .ls-nav-stop {
	width: 25px;
}

.ls-v5 .ls-nav-start {
	background-position: -300px 0;
}

.ls-v5 .ls-nav-start:hover,
.ls-v5 .ls-nav-start-active {
	background-position: -300px -75px;
}

.ls-v5 .ls-nav-stop {
	background-position: -450px 0;
}

.ls-v5 .ls-nav-stop:hover,
.ls-v5 .ls-nav-stop-active {
	background-position: -450px -75px;
}

/* Contact form: Turnstile sits where Gravity Forms rendered reCAPTCHA. */
.gform_wrapper .ginput_turnstile {
	margin-top: 16px;
	min-height: 65px;
}

.twc-form__status {
	margin: 0 0 12px;
	padding: 10px 12px;
	font-size: 15px;
}

.twc-form__status.is-success {
	background: #e8f4ea;
	color: #2c5234;
}

.twc-form__status.is-pending {
	background: #f7f1e4;
	color: #5a4310;
}

.twc-form__status.is-error {
	background: #f8e6e6;
	color: #8a1f1f;
}
