/* Start of CMSMS style sheet 'carousel' */
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  width:100%; /* carousel width */
  height: 420px;
  margin: 0 auto;
  background:#deecf6; /* set background colour */
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  position: absolute;
  right: 10%;
  top:6%;
  /*bottom: 40px;*/
  left: 12%;
  z-index: 100;
  padding-top: 0;
  padding-bottom: 20px;
  color: #333;
  text-align:left;
  text-shadow:none;
}
.carousel-btn {
  margin:10px 0 10px 0;
}

.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
  left: 80%;
  margin-top: -26px;
  font-size: 40px;
}
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
  right: 80%;
  margin-top: -26px;
  font-size: 40px;
}
.carousel-control {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 12%;
  font-size: 20px;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  filter: alpha(opacity=0);
  opacity: 0;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
}
.carousel-control:hover, .carousel-control:focus {
  outline: 0;
  color: #fff;
  text-decoration: none;
  opacity: .2;
  filter: alpha(opacity=20);
}
.carousel-indicators-blue .active {
  background: #126aa9;
}
.carousel-indicators-blue li {
  border: 1px solid #126aa9;
}


/* Declare heights because of positioning of img element */
.carousel .item {
  height: 420px;
  background: #333;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 420px;
}

.carousel-img {
  height:140px;
  margin-bottom:-15px;
}






/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 1200px)  {
  #slide-2 .row { padding-top:15px; } /* pad-top-lg */
  #slide-3 .row { padding-top:20px; } /* pad-top-lg */
  #slide-4 .row { padding-top:20px; } /* pad-top-lg */
  #slide-5 .row { padding-top:25px; } /* pad-top-lg */
}
@media (min-width: 991px) and (max-width: 1199px)  {
  #slide-2 .row { padding-top:15px; } /* pad-top-md-lg */
  #slide-3 .row { padding-top:15px; } /* pad-top-md-lg */
  #slide-4 .row { padding-top:20px; } /* pad-top-md-lg */
  #slide-5 .row { padding-top:20px; } /* pad-top-md-lg */
}
@media (max-width: 991px)  {
  #slide-3 .row { padding-top:10px; } /* pad-top-md */
  #slide-4 .row { padding-top:10px; } /* pad-top-md */
}
@media (max-width: 767px) {
  .carousel, .carousel .item, .carousel-inner > .item > img {
	height: 370px;
  }
  #slide-2 .row { padding-top:15px; } /* pad-top-sm */
  #slide-3 .row { padding-top:25px; } /* pad-top-sm */
  #slide-4 .row { padding-top:20px; } /* pad-top-sm */
  #slide-5 .row { padding-top:35px; } /* pad-top-sm */
}
@media (min-width: 600px) and (max-width: 767px)  {
  #slide-2 .col-xs-12, #slide-3 .col-xs-12, #slide-4 .col-xs-12 { width: 80%;}
}
@media (max-width: 600px) {
  .carousel-caption {
	top:1%;
	left: 10%;
  }
}
@media (max-width: 530px) {
  #slide-3 .row { padding-top:30px; } /* pad-top-xs */
  #slide-4 .row { padding-top:20px; } /* pad-top-xs */
}
@media (max-width: 550px) {
  .carousel, .carousel .item, .carousel-inner > .item > img {
	height: 390px;
  }
  #slide-1 .col-xs-5 { width: 20%; }
  #slide-1 .col-xs-7 { width: 80%; }
}
@media (max-width: 340px) { /* iPhone portrait view */
  #slide-1 .col-xs-5 { width: 15%; }
  #slide-1 .col-xs-7 { width: 85%; }
  #slide-5 .col-xs-10 { width: 100%;}
  #slide-5 .col-xs-2 { width: 100%; }
  #slide-2 .row { padding-top:0; }
  #slide-3 .row { padding-top:15px; }
  #slide-4 .row { padding-top:0; }
}

/* SLIDER BACKGROUND IMAGES
-------------------------------------------------- */

div#slide-1 { background: url("images/slider/6.jpg") no-repeat center; }
div#slide-2 { background: url("images/slider/1.jpg") no-repeat center bottom; }
div#slide-3 { background: url("images/slider/2.jpg") no-repeat center bottom; }
div#slide-4 { background: url("images/slider/3.jpg") no-repeat center bottom; }
div#slide-5 { background: url("images/slider/4.jpg") no-repeat center bottom; }
div#slide-6 { background: url("images/slider/5.jpg") no-repeat center bottom; }

div#slide-01 { background: url("images/slider/01.jpg") no-repeat center; }
div#slide-02 { background: url("images/slider/02.jpg") no-repeat center bottom; }
div#slide-03 { background: url("images/slider/03.jpg") no-repeat center; }
div#slide-04 { background: url("images/slider/04.jpg") no-repeat center bottom; }
div#slide-05 { background: url("images/slider/05.jpg") no-repeat center; }
div#slide-06 { background: url("images/slider/06.jpg") no-repeat center; }
div#slide-07 { background: url("images/slider/07.jpg") no-repeat center; }
div#slide-08 { background: url("images/slider/08.jpg") no-repeat center; }

.carousel-inner .item,
.bg-cover {
  -webkit-background-size: cover !important;
     -moz-background-size: cover !important;
       -o-background-size: cover !important;
          background-size: cover !important;
}
@media (max-width: 1024px) {
  div#slide-1 { background: url("images/slider/6-sm.jpg") no-repeat center; }
}
@media (max-width: 768px) {
  div#slide-2 { background: url("images/slider/1-sm.jpg") no-repeat center bottom; }
  div#slide-3 { background: url("images/slider/2-sm.jpg") no-repeat center bottom; }
  div#slide-4 { background: url("images/slider/3-sm.jpg") no-repeat center bottom; }
  div#slide-5 { background: url("images/slider/4-sm.jpg") no-repeat center bottom; }
  div#slide-6 { background: url("images/slider/5-sm.jpg") no-repeat center bottom; }

  div#slide-01 { background: url("images/slider/01-sm.jpg") no-repeat center; }
  div#slide-02 { background: url("images/slider/02-sm.jpg") no-repeat center top; }
  div#slide-03 { background: url("images/slider/03-sm.jpg") no-repeat center; }
  div#slide-04 { background: url("images/slider/04-sm.jpg") no-repeat center top; }
  /*div#slide-6 { background: url("images/slider/6-sm.jpg") no-repeat center bottom; }*/
  div#slide-05 { background: url("images/slider/05-sm.jpg") no-repeat center; }
  div#slide-06 { background: url("images/slider/06-sm.jpg") no-repeat center; }
  div#slide-07 { background: url("images/slider/07-sm.jpg") no-repeat center; }
  div#slide-08 { background: url("images/slider/08-sm.jpg") no-repeat center; }
}
@media (max-width: 414px) {
  div#slide-1 { background: url("images/slider/6-xs.jpg") no-repeat center; }
}

/* End of 'carousel' */

