/* Front page hero slider (see hero-slider.php and js/hero-slider.js).
   Positions and sizes of the layers are set by the script. The heights below
   only hold the space before the script runs. */

.lp-hero {
	position: relative;
	width: 100%;
	height: 540px;
	overflow: hidden;
	background: #fff;
	-webkit-text-size-adjust: 100%;
}

@media (max-width: 1279px) {
	.lp-hero {
		height: 42.1875vw;
	}
}

@media (max-width: 1023px) {
	.lp-hero {
		height: 46.875vw;
	}
}

@media (max-width: 767px) {
	.lp-hero {
		height: 51.4139vw;
	}
}

@media (max-width: 479px) {
	.lp-hero {
		height: 72.9167vw;
	}
}

.lp-slides,
.lp-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.lp-slide {
	z-index: 1;
	overflow: hidden;
	visibility: hidden;
}

.lp-slide.is-active {
	z-index: 20;
	visibility: visible;
}

.lp-slide.is-leaving {
	z-index: 10;
	visibility: visible;
}

.lp-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
}

.lp-layer-wrap {
	position: absolute;
	top: 0;
	left: 0;
}

.lp-mask {
	display: block;
	overflow: hidden;
}

.lp-layer {
	position: relative;
	display: block;
	box-sizing: border-box;
	margin: 0;
	text-align: left;
	letter-spacing: 0;
	text-decoration: none;
	font-family: "Source Sans Pro";
	white-space: normal;
}

.lp-title,
.lp-subtitle {
	color: #fff;
	padding: 0;
}

.lp-title {
	padding-bottom: 10px;
}

.lp-subtitle {
	white-space: nowrap;
}

.lp-button {
	color: #00b288;
	background-color: #fff;
	cursor: pointer;
	padding: 12px 0;
	border: 3px solid rgba(255, 255, 255, 0);
	box-shadow: none;
	outline: none;
}

/* Same rules the old slider carried as its custom CSS. */
.cls-home-slide-btn1 {
	padding: 12px 0px !important;
	min-width: 184px !important;
	text-align: center;
	border-bottom: 3px solid #e0f3ec !important;
	background: #fff !important;
	border-radius: 0px !important;
}

.cls-home-slide-btn2 {
	padding: 12px 0px !important;
	min-width: 120px !important;
	text-align: center;
	border-bottom: 3px solid #e0f3ec !important;
	background: #fff !important;
	border-radius: 0px !important;
}

/* The first button loses its transparent side and top borders on hover. */
.cls-home-slide-btn1:hover {
	border-width: 0;
	border-color: #fff;
}

.lp-button a {
	display: block;
	text-align: center;
}

/* Arrows */
.lp-arrow {
	position: absolute;
	top: 50%;
	z-index: 1000;
	display: none;
	width: 50px;
	height: 50px;
	margin: -25px 0 0;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, 0);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	color: #fff;
	-webkit-appearance: none;
	appearance: none;
}

.lp-arrow--prev {
	left: 60px;
}

.lp-arrow--next {
	right: 60px;
}

.lp-hero.has-arrows .lp-arrow {
	display: block;
}

.lp-arrow svg {
	display: block;
	fill: #fff;
	stroke: #fff;
	stroke-width: 34px;
	stroke-linejoin: round;
	opacity: 0.7;
	transition: all 0.3s;
}

/* The theme colours every button blue on hover. The arrows stay clear. */
.lp-arrow:hover,
.lp-arrow:focus,
.lp-arrow:active {
	background: rgba(255, 255, 255, 0);
	box-shadow: none;
}

.lp-arrow:hover svg,
.lp-arrow:focus-visible svg {
	opacity: 0.75;
}

.lp-arrow:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

/* Bullets */
.lp-bullets {
	position: absolute;
	right: 80px;
	bottom: 40px;
	z-index: 1000;
	height: 12px;
}

.lp-bullet {
	position: absolute;
	top: 0;
	box-sizing: content-box;
	width: 8px;
	height: 8px;
	margin: 0;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.lp-bullet:hover,
.lp-bullet.is-selected {
	background: #27a87b;
}

.lp-bullet:focus-visible {
	outline: 2px solid #27a87b;
	outline-offset: 2px;
}
