/* Start of CMSMS style sheet 'carousel' */
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  width:100%; /* carousel width */
  height: 480px;
  margin: 0 auto;
  background:#999;
}
.carousel-caption h1 {
  font-size: 40px;
  padding: 15px 0;
  margin:0;
  color:#002341;
  text-shadow:none !important;
}
.carousel-caption p, 
.carousel-caption ul li {
  color:#000 !important;
  text-shadow:none !important;
}
.white-text h1,
.white-text p, 
.white-text ul li {
  color:#fff !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 1.0) !important;
}
.carousel-caption p, 
.carousel-caption ul li {
  font-size: 20px;
  line-height: 1.4;
}
.carousel-caption p {
  margin: 0 0 20px 0;
}
.carousel-caption ul {
  margin-top: 0;
  margin-bottom: 10px;
}
.carousel-caption ul li {
  margin: 0 0 5px 0;
  padding:0;
}
#carousel-caption-fixed {
  /*background:rgba(0, 0, 0, .5);*/
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  position: absolute;
  right: 10%;
  top:20px;
  /*bottom: 40px;*/
  left: 12%;
  z-index: 100;
  padding-top: 0;
  padding-bottom: 20px;
  text-align:left;
}
.caption-btn {
  position: absolute;
  right: 12%;
  bottom: 40px;
  left: 14%;
  z-index: 100;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align:left;
}
.caption-box {
  position:relative;
}
button.btn-carousel {
  margin-left:1% !important;
  margin-bottom:1%;
}

.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
  left: 40%;
}
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
  right: 40%;
}
.carousel-control {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15%;
  font-size: 20px;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  filter: alpha(opacity=50);
  opacity: .4;
}
.carousel-control.left {
  
  
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
  background-repeat: repeat-x;
}
.carousel-control.right {
  right: 0;
  left: auto;
  
  
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
  background-repeat: repeat-x;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 480px;
  background: #333;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: auto;
}
.carousel-img {
  height:auto;
  margin-bottom:-15px;
}
.img-badge {
  bottom:0;
  right:0;
  position:absolute;
}
  


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (max-width: 999px) {
  .carousel-caption h1 {
	font-size:36px;
  }
}
@media (max-width: 991px) {
  .carousel, .carousel .item, .carousel-inner > .item > img {
	height: 460px;
  }
}
@media (max-width: 767px) {
  .carousel, .carousel .item, .carousel-inner > .item > img {
	height: 440px;
  }
  .carousel-caption {
	top:5px;
  }
  .carousel-caption p, 
  .carousel-caption ul li {
	font-size: 18px;
	line-height: 1.4;
  }
}
@media (max-width: 560px) {
  .caption-btn {
	bottom: 30px;
  }
  .carousel-caption p, 
  .carousel-caption ul li {
	font-size: 16px;
	line-height: 1.3;
  }
}
@media (max-width: 504px) {
  .caption-box .checklist li {
	background: url(images/backgrounds/bullet1.png) no-repeat left top;
  }
  .caption-box li, .caption-box .checklist li {
	font-size:19px;
  }
}
@media (max-width: 460px) {
  .carousel-caption h1 {
	font-size:28px;
  }
}
@media (max-width: 432px) {
  .caption-box li, .caption-box .checklist li {
	font-size:18px;
  }
}


/* SLIDER BACKGROUND IMAGES
-------------------------------------------------- */

div#slide-1 {
  background: url("images/slider/1.jpg") no-repeat center bottom;
}
div#slide-2 {
  background: url("images/slider/2.jpg") no-repeat center bottom;
}
div#slide-3 {
  background: url("images/slider/3.jpg") no-repeat center bottom;
}
div#slide-4 {
  background: url("images/slider/4.jpg") no-repeat center bottom;
}

div#slide-1,
div#slide-2,
div#slide-3,
div#slide-4 {
  -webkit-background-size: cover;
     -moz-background-size: cover;
       -o-background-size: cover;
          background-size: cover;
}

@media (max-width: 400px) {
/* Use for images cropped to fit mobile screens

  div#slide-1 {
	background: url("images/slider/1-sm.jpg") no-repeat center bottom;
  }
  div#slide-2 {
	background: url("images/slider/2-sm.jpg") no-repeat center bottom;
  }
  div#slide-3 {
	background: url("images/slider/3-sm.jpg") no-repeat center bottom;
  }
  div#slide-4 {
	background: url("images/slider/4-sm.jpg") no-repeat center bottom;
  }
  
*/
  div#slide-1,
  div#slide-2,
  div#slide-3,
  div#slide-4 {
	-webkit-background-size: cover;
	   -moz-background-size: cover;
		 -o-background-size: cover;
			background-size: cover;
  }
}

/* End of 'carousel' */

