/* Start of CMSMS style sheet 'carousel' */
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  width:100%; /* carousel width */
  height: 400px;
  margin: 0 auto;
  background:#999;
}
.carousel-sm {
 height: 260px;
}
.carousel-caption h1 {
  font-size: 33px;
  padding: 15px 0;
  margin:0;
  color:#002341;
  text-shadow:none !important;
}
.carousel-caption h1.large {
  font-size: 40px;
}
.carousel-caption p, 
.carousel-caption ul li {
  color:#000 !important;
  text-shadow:none !important;
}
.carousel .white-text h1,
.carousel .white-text p, 
.carousel .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: 22px;
  line-height: 1.3;
}
.carousel-caption p.lead{
  font-size: 24px;
  line-height: 1.2;
}
.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 .checklist i {
  color: #fae82e;
  line-height: 1.1;
}
.carousel-caption .quote i {
  color: #fae82e;
}
.carousel-caption .quote p.name {
	display:inline-block;
	border-left: none;
	margin-bottom: 20px;
	padding-top:15px;
	padding-left:45px;
	width:100%;
}
#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: 20%;
}
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
  right: 20%;
}
.carousel-control {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 16%;
  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: 400px;
  background: #333;
}
.carousel-sm .item {
 height: 260px;
}
.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;
}
#slide-2 img {
  padding-top: 140px;
}



/* RESPONSIVE CSS
-------------------------------------------------- */

@media (max-width: 999px) {
  .carousel-caption h1 {
	font-size:30px;
  }
	.carousel-caption h1.large {
	font-size: 36px;
	}
	.carousel-caption p.lead{
	font-size: 24px;
	line-height: 1.2;
	}
}
@media (max-width: 991px) {
  .carousel, .carousel .item, .carousel-inner > .item > img {
	height: 400px;
  }
  .carousel-sm, .carousel-sm .item {
	height: 260px;
  }
  
}
@media (max-width: 767px) {
  .carousel, .carousel .item, .carousel-inner > .item > img {
	height: 380px;
  }
  .carousel-sm, .carousel-sm .item {
	height: 220px;
  }
  .carousel-caption {
	top:5px;
  }
  .carousel-caption p, 
  .carousel-caption ul li {
	font-size: 20px;
	line-height: 1.4;
  }
  #slide-2 img {
    padding-top: 0;
  }
}
@media (max-width: 560px) {
  .caption-btn {
	bottom: 30px;
  }
  .carousel-caption p, 
  .carousel-caption ul li {
	font-size: 19px;
	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:18px;
  }
	.fa-li {
	left: -2em;
	}
	.carousel-caption ul li {
	margin: 0 0 5px -20px;
	}
}
@media (max-width: 460px) {
  .carousel-caption h1 {
	font-size:26px;
	padding: 15px 0 10px 0;
  }
  .carousel-caption h1.large {
	font-size:30px;
  }
	.carousel-caption p.lead{
	font-size: 22px;
	line-height: 1.2;
	}
}


/* SLIDER BACKGROUND IMAGES
-------------------------------------------------- */

.slider-home > #slide-1 { background: url("images/slider/1.jpg") no-repeat right top; }
.slider-home > #slide-2 { background: url("images/slider/2.jpg") no-repeat center; }
.slider-home > #slide-3 { background: url("images/slider/3.jpg") no-repeat center top; }
.slider-home > #slide-4 { background: url("images/slider/4.jpg") no-repeat center top; }
.slider-home > #slide-5 { background: url("images/slider/5.jpg") no-repeat center top; }
.slider-home > #slide-6 { background: url("images/slider/6.jpg") no-repeat center top; }

.carousel-inner > .item {
  -webkit-background-size: cover !important;
     -moz-background-size: cover !important;
       -o-background-size: cover !important;
          background-size: cover !important;
}

@media (max-width: 540px) {
/* Use for images cropped to fit mobile screens */
  
  .slider-home > #slide-1 { background: url("images/slider/1-sm.jpg") no-repeat center; }
  /* .slider-home > #slide-2 { background: url("images/slider/2-sm.jpg") no-repeat center; }
  .slider-home > #slide-3 { background: url("images/slider/3-sm.jpg") no-repeat center; }
  .slider-home > #slide-4 { background: url("images/slider/4-sm.jpg") no-repeat center bottom; }
  .slider-home > #slide-5 { background: url("images/slider/5-sm.jpg") no-repeat center bottom; }
  .slider-home > #slide-6 { background: url("images/slider/6-sm.jpg") no-repeat center bottom; }*/

	.carousel-inner > item {
	  -webkit-background-size: cover !important;
	     -moz-background-size: cover !important;
	       -o-background-size: cover !important;
	          background-size: cover !important;
	}
}

/* End of 'carousel' */

