﻿* {box-sizing: border-box}

img {vertical-align: middle;}

.mySlides {display: none}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  z-index: 1;
}

/* Next & previous buttons */
.prev, .nexts {
  cursor: pointer;
  position: absolute;
  width: auto;
  padding: 8px;
  color: #fff;
  background-color: rgba(0,0,0,0.5);
  font-weight: bold;
  font-size: 16px;
  
  top: 40%;
}

/* Position the "next button" to the right */
.nexts {
  right: 0;
  border-radius: 8px 0 0 8px;
}
.prev {
  left: 0;
  border-radius: 0 8px 8px 0;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .nexts:hover {
  background-color: #000;
  -webkit-box-shadow: 0 0 9px 3px #f08;
-moz-box-shadow: 0 0 9px 3px #f08;
box-shadow: 0 0 9px 3px #f08;
}

/* Number text (1/3 etc) */
.numbertext {
  border-radius: 0 0 8px 0;
  color: #fff;
  font-size: 16px;
  padding: 4px 6px;
  position: absolute;
  top: 0;
  left: 0;
  background: rgb(0, 0, 0, 0.5);
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 17px;
  width: 15px;
  font-size: 12px;
  color: #000;
  border-radius: 25%;
  background-color: #bbb;
  
  display: inline-block;
  position: relative;
  z-index: 6;
}
.bb{
position: relative;
z-index: 3;
}
.active {
  background-color: #fff;
    -webkit-box-shadow: 0 0 3px 2px #f0f;
  -moz-box-shadow: 0 0 3px 2px #f0f;
  box-shadow: 0 0 3px 2px #f0f;
}
.dot:hover {
  background-color: #0ff;
  -webkit-box-shadow: 0 0 6px 2px #0ff;
  -moz-box-shadow: 0 0 6px 2px #0ff;
  box-shadow: 0 0 6px 2px #0ff;
}

/* Fading animation */
.fade2 {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
  opacity: 1;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .nexts, .slidetext {font-size: 11px}
}