/* oswald-300 - latin */
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/oswald-v49-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/oswald-v49-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/oswald-v49-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/oswald-v49-latin-300.woff') format('woff'), /* Modern Browsers */
         url('../fonts/oswald-v49-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/oswald-v49-latin-300.svg#Oswald') format('svg'); /* Legacy iOS */
  }
  
  /* oswald-regular - latin */
  @font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/oswald-v49-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/oswald-v49-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/oswald-v49-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/oswald-v49-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/oswald-v49-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/oswald-v49-latin-regular.svg#Oswald') format('svg'); /* Legacy iOS */
  }
  
  /* oswald-600 - latin */
  @font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/oswald-v49-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/oswald-v49-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/oswald-v49-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/oswald-v49-latin-600.woff') format('woff'), /* Modern Browsers */
         url('../fonts/oswald-v49-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/oswald-v49-latin-600.svg#Oswald') format('svg'); /* Legacy iOS */
  }
  

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
}
html,body {
	margin:0;
	padding:0;
	box-sizing: border-box;
}
.cb-slideshow,
.cb-slideshow:after { 
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0; 
	
}
.cb-slideshow:after { 
    content: '';
    _background: transparent url(../images/pattern.png) repeat top left; 
}
.cb-slideshow li span { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
	-webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 24s linear infinite 0s;
    -moz-animation: imageAnimation 24s linear infinite 0s;
    -o-animation: imageAnimation 24s linear infinite 0s;
    -ms-animation: imageAnimation 24s linear infinite 0s;
    animation: imageAnimation 24s linear infinite 0s; 
}

a{display: block;text-decoration: none;cursor: pointer;}
div.leiste {
	width: 100%; background:#fff;
    height: auto;
	 position: absolute;
   bottom: 0px;
    left: 0px;
    z-index: 9999999;
	opacity: 1;	
	display: flex;
}
div.leiste div{
	display: flex;
	flex: 1;justify-content: space-around;}

div.leiste p,div.leiste a  {
	font-size: 16px;
	align-content: center;
	line-height: 2.5;
	font-family: 'Oswald',sans-serif;
	letter-spacing: 1px;
	color: black;
}
#overlay,#overlay_ {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.8); /* Black background with opacity */
  z-index: 9999999999999999999; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */overflow-y: scroll;
}
#text,#text_{
  position: absolute;
  top: 3%;
  left: 3%;
  font-size: 16px;
  color: white;
  _transform: translate(-50%,-50%);
  _-ms-transform: translate(-50%,-50%);
	margin-right: 3%;
	font-family: 'Oswald',sans-serif;
}
#text a,#text_ a{display:block;color: #fff;text-decoration: underline;}
#text a:hover,#text_ a:hover{color: #999;}
h3{margin: 18px 0 8px 0;}
p strong,h3{margin: 18px 0 8px 0;display: block;}
#text p,#text_ p{line-height: 1.4;}
@media only screen and (max-width:955px) {
	div.leiste div{flex-direction: column;justify-content: space-between}
	div.leiste p{width: 100%;text-align: center;}
}
.cb-slideshow li:nth-child(1) span { 
    background-image: url(../images/1.jpg) 
}

.cb-slideshow li:nth-child(2) span { 
    background-image: url(../images/2.jpg);
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) span { 
    background-image: url(../images/3.jpg);
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s; 
}
.cb-slideshow li:nth-child(4) span { 
    background-image: url(../images/4.jpg);
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s; 
}


/*.cb-slideshow li:nth-child(1) div {
}
.cb-slideshow li:nth-child(2) div { 
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) div { 
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s; 
}
.cb-slideshow li:nth-child(4) div { 
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s; 
}*/

@-webkit-keyframes imageAnimation { 
    0% { opacity: 0;
    -webkit-animation-timing-function: ease-in; }
    7.9% { opacity: 1;
         -webkit-animation-timing-function: ease-out; }
    25% { opacity: 1 }
    32.9% { opacity: 0 }
    100% { opacity: 0 }
}
@-moz-keyframes imageAnimation { 
    0% { opacity: 0;
    -moz-animation-timing-function: ease-in; }
    7.9% { opacity: 1;
         -moz-animation-timing-function: ease-out; }
    25% { opacity: 1 }
    32.9% { opacity: 0 }
    100% { opacity: 0 }
}
@-o-keyframes imageAnimation { 
    0% { opacity: 0;
    -o-animation-timing-function: ease-in; }
    7.9% { opacity: 1;
         -o-animation-timing-function: ease-out; }
    25% { opacity: 1 }
    32.9% { opacity: 0 }
    100% { opacity: 0 }
}
@-ms-keyframes imageAnimation { 
    0% { opacity: 0;
    -ms-animation-timing-function: ease-in; }
    7.9% { opacity: 1;
         -ms-animation-timing-function: ease-out; }
    25% { opacity: 1 }
    32.9% { opacity: 0 }
    100% { opacity: 0 }
}
@keyframes imageAnimation { 
    0% { opacity: 0;
    animation-timing-function: ease-in; }
    7.9% { opacity: 1;
         animation-timing-function: ease-out; }
    25% { opacity: 1 }
    32.9% { opacity: 0 }
    100% { opacity: 0 }
}

/* Show at least something when animations not supported */
.no-cssanimations .cb-slideshow li span{
	opacity: 1;
}

@media screen and (max-width: 860px) { 
    div.leiste p:nth-of-type(1){
	float: left;
	margin-right: 20px;

}
div.leiste p:nth-of-type(2){
	float: none;
	
}
div.leiste p:nth-of-type(3){
	float: left;
	margin:  -10px 20px 0 0;
}
div.leiste p:nth-of-type(4){
	float: none;
	margin-top: -10px;
}
}
@media screen and (max-width: 615px) { 
.cb-slideshow li:nth-child(1) span { 
    background-image: url(../images/m1.jpg) 
}

.cb-slideshow li:nth-child(2) span { 
    background-image: url(../images/m2.jpg);
    
}
.cb-slideshow li:nth-child(3) span { 
    background-image: url(../images/m3.jpg);
    
}
.cb-slideshow li:nth-child(4) span { 
    background-image: url(../images/m4.jpg);
    
}

}