



.carousel-fade .carousel-control {
  z-index: 2;
} 
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
} 

    html,
    body,
    .carousel,
    .carousel-inner,
    .carousel-inner .item {
      height: 100%;
    } 
    .item:nth-child(1) {
      background:url(1.jpg) no-repeat center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }

    .item:nth-child(2) {
      background:url(2.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }

    .item:nth-child(3) {
     background:url(3.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
	    .item:nth-child(4) {
     background:url(4.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
		    .item:nth-child(5) {
     background:url(5.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
			    .item:nth-child(6) {
     background:url(6.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
			    .item:nth-child(7) {
     background:url(7.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
		    .item:nth-child(8) {
     background:url(8.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }	
	
	
@media only screen and (min-width:320px) {	
	    .item:nth-child(1) {
       background:url(w1.jpg) no-repeat center top;
	   background-size: 100%;
    }

    .item:nth-child(2) {
      background:url(w2.jpg) no-repeat center top;
	   	   background-size: 100%;
    }
	    .item:nth-child(3) {
      background:url(w3.jpg) no-repeat center top;
	   	   background-size: 100%;
    }
	    .item:nth-child(4) {
      background:url(w4.jpg) no-repeat center top;
	   	   background-size: 100%;
    }
	    .item:nth-child(5) {
      background:url(w5.jpg) no-repeat center top;
	   	   background-size: 100%;
    } 	
		    .item:nth-child(6) {
      background:url(w6.jpg) no-repeat center top;
	   	   background-size: 100%;
    } 
		    .item:nth-child(7) {
      background:url(w7.jpg) no-repeat center top;
	   	   background-size: 100%;
    } 
		    .item:nth-child(8) {
      background:url(w8.jpg) no-repeat center top;
	   	   background-size: 100%;
    } 
}	
@media only screen and (min-width:500px) {	
	    .item:nth-child(1) {
       background:url(1.jpg) no-repeat center top;
    }

    .item:nth-child(2) {
       background:url(2.jpg) no-repeat center top;
    }
	    .item:nth-child(3) {
       background:url(3.jpg) no-repeat center top;
    }
	    .item:nth-child(4) {
       background:url(4.jpg) no-repeat center top;
    }
	    .item:nth-child(5) {
       background:url(5.jpg) no-repeat center top;
    }
		    .item:nth-child(6) {
       background:url(6.jpg) no-repeat center top;
    }
		    .item:nth-child(7) {
       background:url(7.jpg) no-repeat center top;
    }
		    .item:nth-child(8) {
       background:url(8.jpg) no-repeat center top;
    }	
}	

@media(max-width:520px){
    .carousel{ height:auto; }
    .carousel-inner>.item{
        height:300px;
        background-size:100% 100%;
    }
}


