/*! http://responsiveslides.com v1.54 by @viljamis */

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  border-radius:12px;
  transform: translate3d(0,0,0);
    box-shadow: 0px 1px 5px #999999;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  border-radius:12px;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  border-radius:12px;
  max-height:200px;
  
  }


.callbacks_container {
  margin-bottom: 0px;
  position: relative;
  float: left;
  width: 100%;
 
  }

.callbacks {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.callbacks li {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  }

.callbacks img {
  display: block;
  position: relative;
  z-index: 1;
  height: auto;
  width: 100%;
  border: 0;
  }

.callbacks .caption {
  display: block;
  position: absolute;
  z-index: 3;
  font-size: 100%;
  text-shadow: none;
  color: #fff;
  background: #000;
  background: rgba(0,0,0, .8);
  left: 0;
  right: 0;
  bottom: 8%;
  min-height:15%;
  height:auto;
  margin: 0;
  max-width: none;
  opacity:0.7;
  border-radius:5px;
  text-align:center;
  width:70%;
  margin:0 auto;
  padding-bottom:0.3%;
  padding-top:0.3%;
 
  }

.rslides_container .callbacks_nav {
    visibility: hidden;
  }

  .rslides_container:hover .callbacks_nav {
    visibility: visible;
  } 


.callbacks_nav {
    position: absolute;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    top: 104%;
    left: calc(100% - 60px);
    opacity: 1;
    z-index: 3;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    height: 32px;
    width: 30px;
    background: transparent url(../images/direction_nav.png) no-repeat left top;
    visibility: visible !important;
}

.callbacks_nav:active {
  opacity: 1.0;
  }

.callbacks_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }

/*@media screen and (max-width: 600px) {
  h1 {
    font: 24px/50px "Helvetica Neue", Helvetica, Arial, sans-serif;
    }
  .callbacks_nav {
    top: 47%;
    }
  }
*/
@media (max-width: 580px) {
.caption {bottom: 0; height:10%;}
#next > span,
#prev > span {
  display: none;}
.callbacks .caption {font-size: 70%;} 

}
@media (min-width: 579px) and (max-width: 767px) {
	.caption {bottom: 0; height:10%;}
	.callbacks .caption {font-size: 80%;} 
	
}

@media (min-width: 768px) and (max-width: 991px) {
    .caption {bottom: 0; height:11%;}
	.callbacks .caption {font-size: 80%;} 
	
}

@media (min-width: 992px) and (max-width: 1199px) {
    .caption {bottom: 0; height:13%;}
	.callbacks .caption {font-size: 90%;} 
	
}

@media (min-width: 1200px) {
    .caption {bottom: 0; height:15%;}
	.callbacks .caption {font-size: 100%;} 
	
}