@charset "utf-8";
/* CSS Document */

/*Slideshow auf der Startseite---------------------*/
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
 float:left;
  width:500px; height:100%;
  position: relative;
  margin:0;
}

/* Hide the images by default */
.mySlides {display: none;}

/* Next & previous buttons */
.prev, .next {
  position: absolute;
  top: 250px;
  width: auto;
  margin-top: -22px;
  margin-bottom:-10px;
  padding: 8px;
  
  color: #ccc;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  background:#666;
  cursor: pointer;
}

.next {right: 0; border-radius: 3px 0 0 3px;}


/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
 color:#fff; background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  position: relative;
  width: 100%;   
  padding: 2% 5px 1% 5px;
  font-size: 15px;
  text-align: left;
  line-height:1.7em;
  background:#fff;/*Hintergrundfarbe*/ }
  
  .text h3{padding-bottom:20px;}


.thumbs{float:left;  width:850px; margin-left:140px;  margin-top:20px;}

/* Thumb columns side by side */
.column, .column-lastthumb {float: left; width: 20%; padding:0 0 10px 10px;}

.column img{height:100%;}

/* Add a transparency effect for thumnbail images */
.demo {opacity: 0.6;}

.demo:hover {opacity: 1; cursor:pointer;}


/* Fading animation-------------------------------- */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .9}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .9}
  to {opacity: 1}
}
/*--------------------------------*/

/* Smartphones/Tablets*/
@media screen and (min-width: 320px) and (max-width: 1199px){

/* Slideshow container */
.slideshow-container {
 clear:left;
  width:100%;
   margin:0;
}
.thumbs{clear:left; margin:0; width:100%;}

.column-lastthumb{padding-right:0;}

.column img{height:100%;}

}

/* Smartphone, breitere Displays*/
@media screen and (min-width: 520px) and (max-width: 767px){
	
/* Next & previous buttons */
.prev, .next {top: 350px;}

.slideshow-container .mySlides img{margin: 0 auto; width:500px; }

}
