/* Core Styles*/

body {
	margin: 0;
	font-family: Calibri,Helvetica, sans-serif;
	background: #000;
	color: #fff;
	font-size: 1.1em;
	line-height: 1.5;
	text-align: center;	
	font-weight: 350;
	overflow-x: hidden !important;
}

html {
	scroll-margin-top: 20px;
}

h1, h2, h3 {	
	margin: 0;
	padding: 1em 0;
	font-variant: small-caps;
}

h1 {
	font-size: 1.1em;	
}

h2 {
	font-size: 1.1em;	
}

p {
	margin: 0;
	padding: 1em 0;
}

.blockautowide {
	display: inline-block;
	background: #333;
	color: #fff;
	text-decoration: none;
	padding: 0.2em 0.2em;
	padding-left: 0.5em;
	padding-right: 0.5em;	
	margin: 0.5em 0;	
	width: auto;	
	border-radius: 0.2em;
}

.btn {
	display: inline-block;
	background: #333;
	text-decoration: none;
	padding: 0.2em 0.2em;
	margin-bottom: 0.5em;
	border: 1px solid #666;
	margin: 0.5em 0.5;	
	min-width: 5em;
	-moz-transition: all 0.3s ease-out;
	-webkit-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	cursor: pointer;
	color: #fff;
	border-radius: 0.2em;
	font-size: 0.9em;
}

.btn:hover {
	background: #eaeaea;
	color: #000;
}

/**************************************/

/* Header Showcase */

#showcase {
	min-height: 45vh;
	color: #fff;
	text-align: center;
}

#showcase .bg-image {
	position: fixed;
	position: absolute;
	background: #333 url('showcase_background_slim.jpg');
	background-position: top;
	background-repeat: no-repeat;
	background-size: cover;	
	width:  100%;
	height: 45vh;
	z-index: -1;
	opacity: 1;
	filter: grayscale(25%);
}

#showcase .content-wrap,
#section-logo .content-wrap,
#section-aboutus .content-wrap,
#section-gallery .content-wrap,
#section-offer .content-wrap,
#section-jobs .content-wrap,
#main-footer .content-wrap, 
#sub-footer .content-wrap {
	padding: 0 1.5em ;
}

/**************************************/

/* Main */

#main a {
color: #fff;
text-decoration: none;
}

#main a.anchor {
    display: block;
    position: relative;
    top: -250px;
 
}

/**************************************/

/* Logo */

#section-logo {
	background-color: #fff;
	color: #000;
	padding-bottom: 2em;
}

#section-logo img {
	width: 100%;
	height: auto;
}

/**************************************/

/* About Us */

#section-aboutus {	
	background-color: #99AE2D;
	color: #fff;
	padding-bottom: 0em;
	font-weight: 390;
}


/**************************************/

/* Top-Navigation */
#section-topnav {
	background-color: #fff;
}

/**************************************/

/* Cards */

#section-cards {
	padding: 2em 1em 1em;
	background: #333;
}

.card-content {
	padding:  1.5em;
	color: #000;
}

#section-cards a {
	color: #000;
	margin: 0;
	}

#section-cards ul {
	list-style: none;
	margin: 0em;
	padding: 0em;
}

#section-cards li {
	margin-bottom: 1em;
	background: #fff;
	color: #000;
	border-radius: 0.2em;
}

#section-cards img {
	display: block;
	width: 100%;
	height: auto;
	border-top-left-radius: 0.2em;
	border-top-right-radius: 0.2em;
}


/**************************************/

/* Offer */

#section-offer {
	background-color: #fff;	
}

#tagi {
  width: 100%;
  padding-top: 0.5em; 	
}

svg text.blink {
  animation: blink 2s ease-out;
}

@keyframes blink {
  0% {
    text-shadow: 0 0 20px rgba(153, 174, 45, 0);
  }
  20% {
    fill: rgba(153, 174, 45, 1);
    text-shadow: -5px -5px 20px rgba(153, 174, 45, 0.8), 5px -5px 20px rgba(153, 174, 45, 0.8), 5px 5px 20px rgba(153, 174, 45, 0.8), -5px 5px 20px rgba(153, 174, 45, 0.8);
    ;
  }
  30% {
    fill: rgba(153, 174, 45, 1);
    -5px -5px 20px rgba(153, 174, 45, 0.8), 5px -5px 20px rgba(153, 174, 45, 0.8), 5px 5px 20px rgba(153, 174, 45, 0.8), -5px 5px 20px rgba(153, 174, 45, 0.8);
  }
  100% {
    text-shadow: 0 0 20px rgba(153, 174, 45, 0);
  }
}

.st0 {
  font-size: 68px;
}

.st1 {
  font-size: 27px;
}

.st2 {
  font-size: 82px;
}

.st3 {
  font-size: 41px;
}

.st4 {
  font-size: 41px;
}

.st5 {
  fill: #808080;
}

.st6 {
  font-size: 24px;
}

.st7 {
  font-size: 24px;
}

.st8 {
  font-size: 62px;
}

.st9 {
  font-size: 86px;
}

.st10 {
  font-size: 18px;
}

.st11 {
  font-size: 18px;
}

.st12 {
  font-size: 25px;
}

.st13 {
  font-size: 25px;
}

.st14 {
  font-size: 25px;
}

.st15 {
  font-size: 32px;
}

.st16 {
  font-size: 32px;
}

.st17 {
  font-family: 'Open Sans';
  font-weight: 600;
  fill: #a0a0a0;
}

.st18 {
  font-size: 22px;
}

.st19 {
  font-size: 22px;
}

.st20 {
  font-size: 36px;
}

.st21 {
  font-size: 19px;
}

.st22 {
  font-size: 51px;
}

.st23 {
  font-size: 26px;
}

.st24 {
  font-size: 33px;
}

.st25 {
  font-size: 20px;
}

.st26 {
  font-size: 23px;
}

.st27 {
  font-size: 23px;
}

.st28 {
  font-family: 'Open Sans';
}

.st29 {
  font-size: 54px;
}

.st30 {
  font-size: 20px;
}

.st31 {
  font-size: 37px;
}

/**************************************/

/* Videos 1 */

/**************************************/

/* Gallery */

.gallery__image {
	display: flex;
	width: 100%;	  
}

/**************************************/

/* Jobs */

#section-jobs {	
	background-color: #fff;
	color: #333;
	padding-bottom: 0em;
	font-weight: 390;
	height: auto;
	transition:height 0s;
	overflow: hidden;
}

#section-jobs button {
	background-color: #fff;
	color: #333;
	border-style: none;
	cursor: pointer;
	font-size: 1em;
}

#section-jobs .linespace {
	line-height: 0.5em;
	color: #fff;
}

#section-jobs hr {
border: #fff;
}

/**************************************/

/* Contact */

#section-contact .box {
	background:  #333;
	padding: 2em;
	color:  #fff;	
}

#section-contact .box:last-child {
	background:  #99AE2D;		
}

#section-contact img {
	height: 1.2em;
}

/**************************************/

/* Videos 2 */

/**************************************/

/* Main Footer */

#main-footer {
	padding:  2em;
	background: #fff;
	color: #fff;
	text-align: center;
}

#main-footer .logo img {
	display: inline-block;
	width: 10em;
	height: auto;	
}

/**************************************/

/* Sub Footer */

#sub-footer {
	background: #333;
}

#sub-footer div {
align-content: center;
display: inline-block;
}

/**************************************/

/*Embedded videos*/
.video-background {
	background-color: #000;
  position: relative;
  top: 0; right: 0; bottom: 0; left: 0;    
}

.video-background iframe {	
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 25em;
  animation-fill-mode: backwards;
}


/**************************************/

/*Popup - Stellenangebote/Datenschutz/Impressum*/

.boxpopup {
	font-size: 0.9em;
}

.buttonpopup {	
	background: #333;
  font-size: 1em;
  color: #fff;  	
  text-decoration: none;
  cursor: pointer;
 	-moz-transition: all 0.3s ease-out;
 	-webkit-transition: all 0.3s ease-out;
 	-o-transition: all 0.3s ease-out;
 	padding: 0.5em 0.5em;
	border: 1px solid #666;
	margin: 0.5em 0;
	padding-bottom: 0.7em;
	border-radius: 0.2em;
}

.buttonpopup:hover {
	background: #eaeaea;
	color: #000 !important;
}

.overlaypopup {
  	position: fixed;
  	top: 0;
  	bottom: 0;
  	left: 0;
  	right: 0;
  	background: rgba(0, 0, 0, 0.7);
  	-moz-transition: opacity 500ms;
  	-webkit-transition: opacity 500ms;
  	-o-transition: opacity 500ms;
  	visibility: hidden;
  	opacity: 0;
}

.overlaypopup:target {
	visibility: visible;
	opacity: 1;
}

.popup {
	opacity: 0.9;
	overflow-y: scroll !important;
	max-height: 80%;
  	margin: 70px auto;
  	padding: 20px;
  	background: #fff;  	
  	width: 70%;
  	position: relative;
  	-moz-transition: all 0.3s ease-in-out;
  	-webkit-transition: all 0.3s ease-in-out;
  	-o-transition: all 0.3s ease-in-out;
}

.popup a {
	color: #99AE2D !important;
	text-decoration: none;
}

.popup .closepopup {
  	position: absolute;
  	top: 20px;
  	right: 30px;
  	-moz-transition: all 200ms;
  	-webkit-transition: all 200ms;
  	-o-transition: all 200ms;
  	font-size: 30px;
  	font-weight: bold;
  	text-decoration: none;
  	color: #000 !important;
}

.popup .closepopup:hover {
	color: #99AE2D !important;
}

.popup .contentpopup {
	font-size: 0.7em;
	max-height: 30%;
	overflow: auto;
	color: #000;	
}

.popup h3 {
	margin-top: -1em;
	color: #000;
  padding-bottom: 0em;
  font-size: 1.3em;
}

.contentpopup img {
	width: 15em !important;	
}

/**************************************/

/*Popup - Bewerbung*/
.buttonpopup_jobs {
  font-size: 1em;
  font-weight: 500;
  color: #fff;  	
  text-decoration: none;
  cursor: pointer;
 	-moz-transition: all 0.3s ease-out;
 	-webkit-transition: all 0.3s ease-out;
 	-o-transition: all 0.3s ease-out;
 	padding: 1em 1em;
	border: 1px solid #666;	
	position: fixed;
  bottom: -1px;
  right: 10px;
  background-color : #99AE2D;
  padding: 1px 12px;
  border-radius: 0.2em;
  border: none;
}

/*
.buttonpopup_jobs:hover {
	background: #eaeaea;
	color: #000;
}
*/

.overlaypopup_jobs {
  	position: fixed;
  	top: 0;
  	bottom: 0;
  	left: 0;
  	right: 0;
  	background: rgba(0, 0, 0, 0.7);
  	-moz-transition: opacity 500ms;
  	-webkit-transition: opacity 500ms;
  	-o-transition: opacity 500ms;
  	visibility: hidden;
  	opacity: 0;
}

.overlaypopup_jobs:target {
	visibility: visible;
	opacity: 1;
}

.popup_jobs {
	opacity: 0.9;
	overflow-y: scroll !important;
	max-height: 80%;
  	margin: 70px auto;
  	padding: 20px;
  	background: #fff;  	
  	width: 70%;
  	position: relative;
  	-moz-transition: all 5s ease-in-out;
  	-webkit-transition: all 5s ease-in-out;
  	-o-transition: all 5s ease-in-out; 
}

.popup_jobs a {
	color: #99AE2D;
	text-decoration: none;	
}

.popup_jobs .linespace {
	line-height: 0.5em;
	color: #fff;
}

.popup_jobs .closepopup_jobs {
  	position: absolute;
  	top: 20px;
  	right: 30px;
  	-moz-transition: all 200ms;
  	-webkit-transition: all 200ms;
  	-o-transition: all 200ms;
  	font-size: 30px;
  	font-weight: bold;
  	text-decoration: none;
  	color: #000;
}

.popup_jobs .closepopup_jobs:hover {
	color: #99AE2D;
}

.popup_jobs .contentpopup_jobs {
	font-size: 0.7em;
	max-height: 30%;
	overflow: auto;
	color: #000;	
}

.contentpopup_jobs img {
	width: 15em !important;	
}

.popup_jobs h3 {
	margin-top: -1em;
	color: #000;
  font-size: 1.5em;
}

/**************************************/
/**************************************/

/*Media Queries */
/*Display Width*/
@media(max-width: 500px){
.btn {
	margin-bottom: 2.2em !important;
	}
}

@media(min-width: 1000px){

	body{
			font-weight: 300;
	}

	.grid {
		display:  grid;
		grid-template-columns: 1fr repeat(2, minmax(auto, 25em)) 1fr;
	}

	.box, div {
		grid-column: span 2;
	}

	.block:hover {
	transform: scale(1.04);
	cursor: default; 
	} 

	.content-wrap {
		grid-column: 2/4;
	}

	.btn {
		font-size: 1em !important;
	}
	
	/* Showcase */

	#showcase {
	min-height: 67vh;	
	}

	#showcase .bg-image {
	position: fixed;
	position: absolute;
	background: #333 url('showcase_background.jpg');
	background-position: top;
	background-repeat: no-repeat;
	background-size: cover;	
	width:  100%;
	height: 67vh;
	z-index: -1;
	opacity: 1;
	filter: grayscale(25%);
}

	/**************************************/

	/* Logo */
		#section-logo img {
		width: 84% !important;		
	}

	/**************************************/

	/* Top-Navigation */
	#section-topnav {
		margin-bottom: -0.43em;
	}

	/**************************************/

	/* About Us */

	#section-aboutus {	
		font-weight: 500;
	}

	/**************************************/

	/* Cards */

	#section-cards ul {
		display: flex;
		grid-column: span 4;
		padding-right: 2em;
		padding-left: 2em;
		justify-content: space-around;					
	}

	#section-cards li {	
		margin: 1em;
		width: 14em;
		min-width: 15em;
		max-width: 15em;
		transition:all 0.3s ease-in-out;		
	}

	#section-cards li:hover {
		transform: scale(1.05);
	} 

	/**************************************/
	

	/* Offer */



	/**************************************/

	/* Videos1 */

	#section-videos1 {
		padding-top: 0.3em;
	}

	/**************************************/

	/* Videos2 */

	#section-videos2 {
		padding-top: 0.4em;
	}

	/* Gallery */

	.gallery {
	  display: flex !important;
	  padding: 2px;
	  transition: 0.3s;
	}
	.gallery:hover .gallery__image {
	  filter: grayscale(1);
	}
	.gallery__column {
	  display: flex;
	  flex-direction: column;
	  width: 25%;
	}
	.swipebox {
    margin: 2px;
    overflow: hidden;
  }
  .swipebox:hover .gallery__image {
    filter: grayscale(0);
    transform: scale(1.1);
  }
  .swipebox:hover .gallery__caption {
    opacity: 1;
  }
	.gallery__thumb {
	  position: relative;
	}
	.gallery__image {
	  display: block;
	  width: 100%;
	  transition: 0.3s;
	}
	.gallery__image:hover {
	  transform: scale(1.1);
	}
	
 	/**************************************/

	/* Offer */

 	#section-offer .content-wrap {
		grid-column: span 4;		
	}

	#tagi {
  	padding-top: none !important;
	}

	/**************************************/

	/*Jobs */

	#section-jobs {	
		font-weight: 500;
	}

	/**************************************/

	/* Main-Footer */

	#main-footer .logo img {
	width: 15em !important;	
	}

	/**************************************/

	/*Popup - Datenschutz/Impressum*/
	
	.boxpopup {
	font-size: 1em !important;
	}

	.popup {
    width: 70%;
	}

	.popup h3 {
  font-size: 1.8em !important;
}

    .popup .contentpopup {
	font-size: 1em;	
	}

	/**************************************/

	/*Popup - Bewerbung*/
	.popup_jobs {
    width: 50%;
	}

    .popup_jobs .contentpopup_jobs {
	font-size: 1em;	
	}
}