/*
headerbild.css GULA
Author: steckdesign.ch
Author URI: http://www.steckdesign.ch/
Version: 1.0-ps
*/

/*@import url('css/headerbild-cover.css');*/
@import url('css/headerbild-flex.css');
@import url('css/headerbild-fixed.css');
@import url('css/headerbild-map.css');


.module.cover {
	position: relative;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important; 
}

.module.parallax {
	position: relative;
	background: transparent;
}

/*	---| Overlay |------  */
.layer {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	min-height: 100%;
	z-index: 2;
}

.flex-me {
    display: flex;
	flex-direction: column;
	height: 100%;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    height: 100%;
	margin-left: 30px;
	margin-right: 30px;
}
.overlay-content-top {
	justify-content: flex-start;
}
.overlay-content-center {
	justify-content: center;
}
.overlay-content-bottom {
	justify-content: flex-end;
}

.overlay-content h1,
.overlay-content h2 {
	line-height: 1.0;
	letter-spacing: 1px;
	margin: 0px;
	padding: 0px;
}
.overlay-content h5,
.overlay-content h4,
.overlay-content h3,
.overlay-content h2,
.overlay-content h1 {
    color: inherit;
}
.overlay-content p {
	line-height: 1.2;
	letter-spacing: 1px;
    color: inherit;
}

/*	 Versatz links - Versatz oben - Unschärfe (Blur) - Farbe */
.overlay-text_shadow {
    text-shadow: 1px 1px 0px #000;
}


/* hr.line-overlay */
.overlay-content hr:after {
	clear: both;
	content: " ";
}
.overlay-content hr {
	border: 0;
	height: 4px;
	width: 60px;
	background: #FFFFFF;
	display: inline-block;
	vertical-align: top;
	margin-top: 13px;
	margin-bottom: 15px;
	margin-left: 2px;
}
	@media (min-width: 320px) and (max-width: 479px) {
		.overlay-content hr {
			height: 4px;
			width: 60px;
			margin-top: 0px;
			margin-bottom: 0px;
			margin-left: 2px;
		}
	}
	@media (min-width: 480px) and (max-width: 767px) {
		.overlay-content hr {
			height: 2px;
			width: 40px;
			margin-top: 3px;
			margin-bottom: 0px;
			margin-left: 0px;
		}
	}
	@media (min-width: 768px) and (max-width: 991px) {
	}



/*	---| Overlayband |------  */
.overlayband {
	position: absolute;
	left: 0%;
	bottom: 0;
	right: 0;
	width: 100%;
	z-index: 10;
}
.overlayband-content {
	position: relative;
	padding-right: 30px;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-left: 30px;
	margin-right: 30px;
}
.overlayband-content h1,
.overlayband-content h2,
.overlayband-content h3,
.overlayband-content h4,
.overlayband-content h5,
.overlayband-content p {
	display: inline-block;
	vertical-align: baseline;
	margin-top: 0px;
	padding-top: 0px;
	margin-bottom: 0px;
	padding-bottom: 0px;
}
	@media (min-width: 320px) and (max-width: 479px) {
		.overlayband-content {
			padding-right: 15px;
			padding-top: 5px;
			padding-bottom: 5px;
			margin-left: 15px;
			margin-right: 15px;
		}
	}
	@media (min-width: 480px) and (max-width: 767px) {
		.overlayband-content {
			padding-right: 15px;
			padding-top: 5px;
			padding-bottom: 5px;
			margin-left: 15px;
			margin-right: 15px;
		}
	}
	@media (min-width: 768px) and (max-width: 991px) {
		.overlayband-content {
			position: relative;
			padding-right: 30px;
			padding-top: 10px;
			padding-bottom: 10px;
			margin-left: 30px;
			margin-right: 30px;
		}
	}

/* --- Composed ---  */
.pics_in_a_row {
  display: flex;
}
.composed img {
	width: 100%;
	height: auto;
	vertical-align: middle;
	position: relative;
	z-index: -1;
}


/* --- Split ---  */
.pad-around-1 {
	padding: 0.25rem;
}
.pad-around-2 {
	padding: 0.5rem;
}
.pad-around-3 {
	padding: 1rem;
}
.pad-around-4 {
	padding: 1.5rem;
}


.links {
	display: flex;
	flex-direction: column;
	width: 66.66%;
	padding-left: 4px;
	padding-right: 4px;
}
.rechts {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 33.33%;
	padding-left: 4px;
	padding-right: 4px;
}
.aspr-go {
	padding-top: calc(66.66% - 1px);
}


/* --- Grid 3 images - 2 images right ---  */
.grid-container {
	display: grid;
	grid-template-columns: 66.66% auto;
	grid-template-rows: auto auto;
}
.item-left {
	grid-column-start: 1;
	grid-column-end: 2;
	grid-row-start: 1;
	grid-row-end: 3;
}
.row1 {
	grid-row-start: 1;
	grid-row-end: 2;
}
.row2 {
	grid-row-start: 2;
	grid-row-end: 3;
}

	
/* --- Aside 4 images - 3 images right ---  */
.grid-container3 {
	display: grid;
	width: 100%;
	grid-template-columns: 75% auto;
	grid-template-rows: auto auto auto ;
}
.item-left3 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 4;
}
/*.row13 {
  grid-row-start: 1;
  grid-row-end: 2;
}
.row23 {
  grid-row-start: 2;
  grid-row-end: 3;
}
.row33 {
  grid-row-start: 3;
  grid-row-end: 4;
}*/


/* --- Aside 6 images ---  */
.wrapper {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto;
    width: 100%!important;
}
.item:first-of-type {
    grid-column: 1/3;
    grid-row: 1/3;
}
.item:last-of-type {
    grid-column: 2/4;
    grid-row: 6/4;
}


/* --- Aside 1+3 images ---  */
.wrapper4 {
	display: grid;
	grid-template-columns: repeat(4);
	grid-template-rows: repeat(2);
}
.item2 {
	grid-column: 1 / 3; 
	grid-row: 1 / 3; 
}
.item3 {
	grid-column: 3 / 5;
}


/* --- Grid 2 columns ---  */
.wrapper2col {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

/* --- Grid 3 columns ---  */
.wrapper3col {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

/* --- Grid 3 columns ---  */
.wrapper4col {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}


/* 
 * Video
 */
.video-wrapper{
	position: relative;
	/*height: 100vh;*/
	overflow: hidden;
}
.featured-video {
	position: absolute;
	width: calc(100vh * (1920 / 1080));    /*  video width / height  */
	height: calc(100vw * (1080 / 1920));   /*  video height / width  */
	min-width: 100%;
	min-height: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.video-wrapper iframe,
.featured-video video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}


.masthead {
    position: relative;
	overflow: hidden;
}
.masthead-video video,
.masthead-video iframe {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	ydisplay: block;
	width: 100%;
	height: 100%;
	z-index: -1;
}

