﻿@charset "utf-8";

div.slideshow-outline {
	/*position: relative;*/
}

ul#slideshow {
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 0;
	position: absolute;
	/*
	top: 0;
	left: 0;
	z-index: 0;
	*/
}

ul#slideshow li {
	position: absolute;
	width: 101%;
	height: 101%;
	top: -0.5%;
	left: -0.5%;
	opacity: 0;
	-webkit-transition: opacity 1s;
	-moz-transition: opacity 1s;
	transition: opacity 1s;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 0;
}

ul#slideshow li div.slide-description {
	width: auto;
	height: auto;
	padding: 2.5em;
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

ul#slideshow li div.slide-description div.slide-description-line {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	font-family: 'Montserrat', sans-serif;
	color: #fff;
}

ul#slideshow li div.slide-description p.first-line {
	flex-basis: 100%;
	font-size: 2.5em;
	font-weight: 800;
	text-align: center;
	margin-bottom: 0.5em;
}

ul#slideshow li div.slide-description p.second-line {
	flex-basis: 100%;
	font-size: 1.875em;
	font-weight: 400;
	text-align: center;
	margin-top: 0.5em;
}

ul#slideshow li div.slide-description div.separator {
	width: 3.75em;
	border-top-style: solid;
	border-top-width: 0.0454em;
	border-top-color: #fff;	
}

ul#slideshow li div.mask {
	width: 100%;
	height: 100%;
	background-image: url( '../img/mask.png' );
	background-attachment: fixed;
	opacity: 0.4;
	position: absolute;
	z-index: 1;
}

ul#slideshow li picture {
	width: 100%;
}

ul#slideshow li picture img {
	width: 100%;
	display: block;
}

.backgroundsize ul#slideshow > li {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-position: center right 20%;
}
	
.backgroundsize ul#slideshow > li picture img.slide-image {
	/*display: none;*/
}

.no-js.no-backgroundsize #slideshow > li:first-child {
	opacity: 1;
}

.no-js.backgroundsize #slideshow > li:first-child picture img {
	display: block;
}