@charset "utf-8";
/* CSS Document */

/*
Theme Name: contrast media promo
Theme URI: https://www.contrastmedia.promo
Description:  Drei Spalten flexibles Layout zum Platzieren von Videos mit 100% Breite im Content-Bereich
Version: 5.5
Author: Beate Eckert-Kraft
Author URI: https://www.contrastmedia.de
Tags: Responsive, three columns, valid HTML, widgets
--General---*/

* {
	box-sizing: border-box;
}
body {

	font-family: 'Poppins', sans-serif;
	font-size: 0.9em;
	font-weight: 400;
	line-height: 1.6em;
	color: #666666;
	}

h1 {
	font-size: 2.2em;
	font-weight: 900;
	letter-spacing: 0.2em;
	line-height: 1.5em;
	text-transform: uppercase;
	color: #BC181B;
	}

h2 {
	font-size: 1.4em;
	text-transform: uppercase;
	color: #002f55;
	}

h3 {
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
	font-size: 1.1em;
	line-height: 1.5em;
	text-transform: uppercase;
	color: #fff;
	}

h4 {	
	font-size: 1.2em;
	font-weight: 500;
	line-height: 1em;
	min-height: 30px;
	color: #3E809D;
	text-transform: uppercase;
	background: url("img/cm_menu.jpg") no-repeat;
	background-position: right top;
	}

h5 {
	font-family: 'Poppins', sans-serif;
	font-size: 1.5em;
	font-weight: 500;
	line-height: 1.2em;
	color: #fff;
	}

h6, h6 a, h6 a:link, h6 a:visited, h6 a:hover {
	font-family: 'Poppins', sans-serif;
	font-size: 1.4em;
	line-height: 1.4em;
	color: #4487a5;
	text-decoration: none;
	}

a:link {
	color: #43a2cd;
	}

a:hover {
	color: #4dafdb;
	}

a:visited, a:active {
	color: #4487a5;
	}

strong, b {
	color: #4487a5;
}

/*--Seitenbereiche--*/

#header {
	background:url("img/header.jpg") no-repeat bottom center #002f55;
	height: 260px;
	}

aside {
	width: 20%
}

#main {
	width: 100%;
	margin: auto;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
}
#main-start {
	width: 100%;
	margin: -1em 0 0 0;
}
#content {
	padding: 1em;
	width:60%;
	margin: 2em auto;
	}
#content-start {
	padding: 0;
	width:100%;
	margin: 0;
	}
#logo {
	width: 307px;
	height: auto;
	margin-left: 45vw;
	margin-top: 10em;
	}
#leiste {
	width: 100%;
	height: 50px;
	padding: 1em;
	background: #002f55; /* Old browsers */
	background: -moz-linear-gradient(top, #002f55 0%, #002f55 86%, #75a2c4 89%, #002f55 92%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #002f55 0%,#002f55 86%,#75a2c4 89%,#002f55 92%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #002f55 0%,#002f55 86%,#75a2c4 89%,#002f55 92%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#002f55', endColorstr='#002f55',GradientType=0 ); /* IE6-9 */
	background-repeat: no-repeat;
	background-size: 100%;
	}
	.slogan {
	text-align: center;
	position: absolute;
	top: 11em;
	z-index: 10;
	width: 100%;
	}
h2.slogan {
	font-size: 3em;
	color: #43a2cd;
	line-height: 1.2em;
	}
#footer {
	background: #002f55;
	overflow: auto;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}
.link {
	order: 1;
}
#content {
	order: 2;
}
.add {
	order: 3;
}
.add ul {
	padding-left: 0;
}
.custom-header {
	width: 100%;
	height: auto;
} 

/*--Teaser--*/

.teaser {
	display:flex;
	justify-content: flex-start;
	flex-flow: row wrap;
}
.teaserbox {
	position:relative;
	margin: 2px;
	overflow:hidden;
	}
.textbox {
	color:#F8F8F8;
	padding:10px;
	margin: 50px 0 1em 2.5em;
	opacity:0;
	}
.teaserbox img {
	width:220px;
	height:220px;
	}
.overlay {
	position:absolute;
	top:220px;
	width: 220px;
	height: 220px;
	background-color: rgba(62,128,157,1);
	border-top: solid 3px #002f55;
	-webkit-box-shadow: 1px 10px 10px -3px rgba(0,47,85,1);
	-moz-box-shadow: 1px 10px 10px -3px rgba(0,47,85,1);
	box-shadow: 1px 10px 10px -3px rgba(0,47,85,1);
	color:#fff;
	font-size: 2em;
	text-transform:uppercase;
	text-align:center;
	}

.teaserbox:hover .overlay {
	transform:translateY(-220px);
	transition:all 1s ease;

	}
/*--Parallax--*/
.scrolltext .wp-block-paragraph {
	padding: 7em;
}
h1.scrolltext {
	font-size: 1.5em;
}
.parallax1, .parallax2, .parallax3 {
	background-size:  cover;
}
.parallax1 {
	background-image:  url("img/parallax/background1.jpg");
	background-repeat: no-repeat;
	background-position: top;
	background-attachment: fixed;
	background-size: cover;
	height: 57em;
  }
  
  .parallax2 {
	background-image: url("img/parallax/background2.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	height: 50em;
  }
  
  .parallax3 {
	background-image:  url("img/parallax/background5.jpg");
	background-repeat: no-repeat;
	background-position: bottom center;
	background-attachment: fixed;
	background-size: cover;
	height: 57em;
  }
  
  .scrolltext {
	margin: 0;
	background-color: rgba(255,255,255,0.8);
	text-align: center;
	line-height: 1.8em;
	font-size: 1.02em;
	padding: 0px;
  }
  
.scrolltext.one {
	position: absolute;
	top:20em;
  }
  
.scrolltext.two {
	position: absolute;
	top:55em;
  }
.scrolltext.three {
	position: absolute;
	top:110em;
  }

/*--Navigation--*/

#mainnav {
	position: absolute;
	top: 36px;
	width: 100%;
	z-index: 800;
	}
#mainnav.sticky
	{
	  position: fixed;
	  top: 0px;
	}
#mainnav ul {
	background: rgba(62,128,157,1);
	width: 100%;
	padding-left: 0;
		text-align: center;
	}

#mainnav li, #mainnav li span {
	position: relative;
	display: inline-block;
	padding: 0.5em 1em 0.5em 1em;
  border-bottom: 1px solid rgba(62,128,157,1);
	}

#mainnav li:hover {
	border-bottom: solid 1px #fff;
	}

#mainnav li.active {
	border-bottom: solid 1px #fff;
	}

#mainnav li a,
#mainnav li span {
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
	color: #fff;
	font-size: 1.1em;
	font-weight: 300;
	text-decoration: none;
	text-transform: uppercase
	}

#mainnav li ul {
	position: absolute;
	top: 2.6em;
	left: 0;
	text-align: left;
	padding-left: 0;
	background: transparent;
	}

#mainnav li ul li {
	display: block;
	width: 7em;
	background: rgba(62,128,157,1);
}

#mainnav li ul li {
	display: none;
	}

#mainnav li:hover ul li {
	display: block;
	}

	/*
.home-button {
	width: 2em;
	background: url("img/home_white.svg") no-repeat center;
	background-size: cover;
}*/
.home-button {
	width: 4em;
	float: left;
}
#metanav, ul.metanav {
	width: 15em;
	margin-left: 0;
	padding-left: 0;
}
ul#menu-meta-menu {
	padding-left: 0;
}
#metanav li, ul.metanav li {
	padding: 0.3em 0;
	list-style: none;
	}

#metanav li a, ul.metanav li a {
	text-decoration: none;
	font-size: 1.1em;
	color: #4487a5;
	}

#metanav li a:hover, ul.metanav li a:hover {
	color: #4dafdb;
	}

#metanav li .active, ul.metanav li .active {
	color: #4dafdb;
	}

ul#extern {
	position: fixed;
	top: 11em;
	right: -3.8em;
	z-index: 1000;
	padding-left: 0;
	transform: rotate(-90deg);
	}

ul#extern li {
	background-color: rgba(62,128,157,1);
	border-radius: 9px 9px 0 0;
	padding: 1.2em 1.4em 2em 1.4em;
	list-style: none;
	display: inline-block;
	transition: 0.3s ease-out;
	}

ul#extern li:hover {
	padding: 1.2em 1.4em 3em 1.4em;
	}

 ul#extern li a {
 	text-decoration: none;
 	font-size: 1.2em;
	color: #fff;
	}

#social-media {
	position: fixed;
	z-index: 900;
	top: 20em;
	right: 0.1em;
}

#social-media li {
	list-style: none;
	line-height: 0;
}

#social-media img {
	width: 78%;
	margin: 0 0 0.5em 1.2em;
	transition: 0.3s ease-out;
}
#social-media img:hover {
	width: 85%;
	margin: 0.5em 0 0.5em 0.7em;
}

/*--Content--*/

.wp-block-buttons, .more {
	width: 40%;
	margin: auto;
	padding: 0.5em 1em;
	transition: 0.3s ease;
}
.wp-block-buttons a, .more a {
  display: inline-block;
  text-align: center;
  background-color: #002f55;
  padding: .5em 2em;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 5px;
  letter-spacing: .15em;
  word-spacing: .25em;
  font-weight: normal;
  transition: all 0.3s ease-in-out;
}
.wp-block-buttons a:hover {
  font-size: 1.5em;
}
.flex-cover {
	display: flex;
	flex-wrap:  row wrap;
	justify-content: center;
	}
	
.subbox-link {
	text-decoration: none;
	box-sizing: border-box;
	background: #002f55;
	width: 45%;
	margin: 1em;
	padding: 1em 2em;
	text-align: center;
	}
.subbox-link:hover {
	background: #194366;
	}
.subbox-link h6 {
	margin: 0.5em;
	color: #43a2cd;
	font-size: 4em;
	font-weight: bold;
	line-height: 1.2em;
	}
.subbox-link p {
	color: #fff;
	margin-top: 3em;
	font-size: 1.2em;
	line-height: 1.4em;
	opacity:0;
	transition: 0.5s ease-out;
	}
.subbox-link:hover.subbox-link p {
	margin-top: 0;
	opacity: 1;
	}
.y-video {
	position: relative;
	padding-bottom: 56.25%; /* Default for 1600x900 videos 16:9 ratio*/
	padding-top: 1em;
	height: 0;
	overflow: hidden;
	margin-bottom:1em;
	}
.y-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	}
  
/*--Search--*/

.widget_search {
	margin: 4em 2em 1em 0;
	color: #FFFFFF;
	}

ul.widget_search {
	padding-left: 0;
	}

li.widget_search  {
	list-style: none;
	}
.widget_search label {
	display:none;
	}
.widget_search input {
  	border: inset 2px #002f55;
  	width: 12em;
  	border-radius: 0.2em;
  	padding: 0.5em 1em 0.5em 0;
  	margin: 3px 0 0 5px;
  	font: 0.7em #49514F;
	}
.widget_search #searchsubmit {
	padding: 0.5em 2em;
	width: 8em;
	border: none;
	border-radius: 0.2em;
	text-decoration: none;
	cursor: pointer;
	color: #FFFFFF;
	background: #002f55;
	}
.widget_search #searchsubmit:hover {
	background: #4487a5;
	}
	
/*--Footer--*/	
#footer {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}
.sitemap {
	width: 15em;
	margin-left: 5em;
	order: 3;
}
.sitemap ul {
	padding-left: 0;
}
.sitemap li {
	list-style: none;
}
.foot {
	width: 15em;
	margin-left: 5em;
	order: 3;
}
.address {
	width: 15em;
	margin-left: 5em;
	order: 1;
}
.address p {
	font-size: 1.1em;
	line-height: 1em;
	color: #43a2cd;
}
.address a {
	color: #4dafdb;
}
.address a:hover {
	color: #fff;
}

/*--Formular--*/

input {
	border-radius: 0.2em;
	border: 2px solid #002f55;
	padding: 0.5em 1em 0.5em 0;
	font: 0.7em #49514F;
}

input[type=submit] {
	padding: 0.5em 1em;
	border-radius: 0.2em;
	background-color:#002f55;
	color: #fff;
  	border:0 none;
  	cursor:pointer;
}

	
@media only screen and (max-width: 1024px) {
	
	#header {
		height:27vw;
		background-size: 100% auto;
		background-position:center 6vw;
		}	
	#content {
		width: 90%;
		order: 1;
		}
	.add {
		width: 100%;
		order: 2;
		}	
	.link {
		width: 100%;
		order: 3;
		}
	ul#extern {
		top: 11em;
		}
	#logo {
		margin-top: 15vw;
		}
	.subbox-link p {
		margin-top: 0;
		opacity: 1;
		}
	.overlay {
		position:absolute;
		top:160px;
		padding: 0;
		font-size: 1.3em;
		}	
	.teaserbox:hover .overlay {
		transform:translateY(0);
		transition:all 1s ease;
		}
	.widget_search {
		text-align: center;
		margin: auto;
		color: #FFFFFF;
		}
	.widget_search input {
		  width: 15em;
		}
	}

@media only screen and (max-width: 980px) {
	
	h1 {
	font-size: 2em;
	}
	#footer {
		display: flex;
		flex-flow: column wrap;
		justify-content: center;
	}
	.sitemap {
		width: 60%;
		order: 3;
	}
	.foot {
		width: 60%;
		order: 3;
	}
	.address {
		width: 60%;
		order: 2;
		}
	#metanav, ul.metanav {
		width: 60%;
		}
	#metanav li, ul.metanav li {
		display: inline-block;
		margin-right: 1em;
		}
	.wp-block-buttons, .more {
		width: 60%;
	}
}
	
@media only screen and (max-width: 780px) {

	#logo {
		margin-top: 12vw;
		margin-left: 30vw;
		}
	 ul#extern {
		position: absolute;
		top: 2.2em;
		right: 4em;
		transform: rotate(0deg);
		}
	 ul#extern li {
		border-radius: 0 0 9px 9px;
		padding: 0.6em 2em 0.6em 2em;
		transition: 0.3s ease-out;
		}	
	ul#extern li:hover {
		padding: 0.9em 2em 0.6em 2em;
		}
	#social-media {
		top: 15em;
		}
	.flex-cover { 
		flex-direction: column; 
		justify-content: center;
	}
	.subbox-link {
		width: 90%;
	}
	h2.slogan {
		font-size: 2.5em;
	}
	.teaser {

		justify-content:center;
		}
}

@media only screen and (max-width: 640px) {

	#logo {
		width: 60%;
		height: auto;
		margin-top: 9vw;
		}
	#metanav li, ul.metanav li {
		display: block;
		margin-right: 1em;
	}
	.wp-block-buttons, .more {
		width: 80%;
	}
}
@media only screen and (max-width: 480px) {

	#header {
		background: #002f55;
		height: 7.5em;
		z-index: 30;
    }		
	h1 {
		font-size: 1.8em;
		}
	#logo {
		width: 240px;
		height: auto;
		margin-top: 8px;
		margin-left: 20vw;
		}
	.wp-block-buttons, .more {
		width: 100%;
	}
	h2.slogan {
		font-size: 2.2em;
	}
}