﻿@charset "utf-8";

ul#slideshow {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
}

ul#slideshow li {
	position: absolute;
	width: 101%;
	height: 101%;
	top: -0.5%;
	left: -0.5%;
	opacity: 0;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-transition: opacity 1s;
	-moz-transition: opacity 1s;
	transition: opacity 1s;
}

ul#slideshow li div.slide-description {
	flex-basis: 100%;
	padding-top: 2.5em;
	padding-bottom: 2.5em;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	position: absolute;
	z-index: 1;
}

ul#slideshow li div.slide-description > p.slide-title {
	flex-basis: 100%;
	font-family: Montserrat, sans-serif;
	font-size: 4.375em;
	font-weight: 400;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	text-shadow: 0 0 20px #000;
}

ul#slideshow li div.slide-description > p.slide-subtitle {
	flex-basis: 100%;
	margin-top: 1.25em;
	font-family: Montserrat, sans-serif;
	font-size: 1.625em;
	font-style: italic;
	font-weight: 500;
	line-height: 1.5em;
	color: #fff;
	text-align: center;
	text-shadow: 0 0 20px #000;
}

ul#slideshow li div.slide-description > a.call-to-action {
	flex-basis: 0%;
	margin: 3.125em auto 0;
	padding: 1em 1.25em;
	box-sizing: border-box;
	outline-style: solid;
	outline-width: 1px;
	outline-color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 1em;
	font-weight: 500;
	font-style: italic;
	white-space: nowrap;
	text-align: center;
	text-decoration: none;
	color: #fff;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

ul#slideshow li div.slide-description > a.call-to-action:hover {
	background-color: #fff;
	color: #000;
}

ul#slideshow li div.mask {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
}

ul#slideshow li {
	width: 100%;
}

ul#slideshow li img.slide-image {
	width: 100%;
	display: block;
}

.backgroundsize ul#slideshow > li {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-position: center center;
}
	
.backgroundsize ul#slideshow > li img.slide-image {
	display: none;
}

.no-js.no-backgroundsize #slideshow > li:first-child {
	opacity: 1;
}

.no-js.backgroundsize #slideshow > li:first-child img.slide-image {
	display: block;
}