/** {box-sizing:border-box}*/

/* Slideshow Frame */
.slideshowframe {
  /*max-width: 820px;*/
  position: relative;
  margin: auto;
}

.slidediv{
    display: none;
    text-align: center;
}

/* Forward & Backward buttons */
.slideforw, .slidebackw{
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  background-color: rgba(0,0,0,0.2);
}

.slideforw{
  right: 0;
  border-radius: 3px 0 0 3px;
}

.slideforw:hover, .slidebackw:hover {
  background-color: rgba(0,0,0,0.5);
}

/*Slide caption*/
.slidetext{
  color: #f2f2f2;
  font-size: 18px;
  padding: 8px 12px;
  /*position: absolute;*/
  bottom: 4px;
  /*width: 100%;*/
  text-align: center;
  background-color: rgba(0,0,0,0.2);
  border-radius: 3px 3px 3px 3px;
  display:inline-block;
  /*margin-left:auto; margin-right:auto;*/
  
  
  position:relative;
   left: -50%;
   float:right;
   width:auto;
}

/*Slide caption*/
.wrapperin{
  /*position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  height:100%;
  background-color: rgba(100,0,0,0.2);*/
  float:left;
  left:50%;
  position: relative;
  pointer-events:none;
}
.wrapperout{
  /*overflow:hidden;*/
  position: absolute;
  bottom: 0px;
  width: 100%;
  display:block;
  pointer-events:none;
}

/*Slide number*/
.slidenumber {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  background-color: rgba(0,0,0,0.2);
  border-radius: 0 0 3px 0;
}

/*Direct Slide Links*/
.slidedot {
  cursor:pointer;
  height: 13px;
  width: 13px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .slidedot:hover {
  background-color: #717171;
}

/*Slide Auto Link*/
.slideautodot {
  cursor:pointer;
  height: 13px;
  width: 13px;
  margin: 0 2px;
  background-color: #f66;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.running{
  background-color: #6f6;
}

/*video {  
   width:100%; 
   max-width:100%; 
   height:auto; 
}*/

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}