
/*
*@author:Jacobwang
*@date:2015-04-15
*@info:main.css
*/

/*reset*/


.wrap-index {width:100%; max-width: 900px; height: 500px; position: relative; margin: 0 auto 135px;}


/*slider*/

.slider { float: left; }

.slider .jquery-reslider .slider-block {
  width: 100%;
  height: 500px;
  position: absolute;
  z-index: 97;
  background-position: 50% 50%;
  background-size: cover;
  opacity: 0;
}

.slider .jquery-reslider .slider-direction {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 45%;
  z-index: 99;
  cursor: pointer;
}

.slider .jquery-reslider .slider-direction.slider-direction-prev {
  left: 2%;
  background: url('../images/prev.png') no-repeat;
}

.slider .jquery-reslider .slider-direction.slider-direction-next {
  right: 2%;
  background: url('../images/next.png') no-repeat
}

.slider .jquery-reslider .slider-dots {
  position: absolute;
  width: 100%;
  text-align: center;
  bottom: 2%;
}

.slider .jquery-reslider .slider-dots li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin: 10px;
  border: 1px solid #ffffff;
  cursor: pointer;
}

.slider .jquery-reslider .slider-dots li.active { background-color: #ffffff; }

@media only screen and (max-device-width:768px) {
  .wrap-index{width: 100%;}
}

@media only screen and (max-device-width:440px) {
  .wrap-index, .slider .jquery-reslider .slider-block {height: 300px;}
}

