/* 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 .bg-box {
  padding: 6px 20px 6px 60px;
  margin: 0;
  width: 57%;
  position: absolute;
  top:40px;
  z-index:40;
  left:0px;
}
.carousel .bg-box-grey { background: #555555; }
.carousel .bg-box-blue { background: #00a7e0; }
.carousel .bg-box.white-text p a {
  color:#fae82e !important;
  text-decoration: underline;
}
.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;
}
.slider-testimonials .carousel-caption {
  position: relative;
  right:auto;
  top: auto;
  left: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align:left;
  text-shadow: none;
  width: 80%;
  margin: 60px auto 0 auto;
}
.carousel.slider-testimonials .fa-quote-left.fa-2x {
  font-size: 32px;
  padding-top: 5px;
}
.carousel.slider-testimonials p.quote { font-size: 19px; }

.caption-btn {
  position: absolute;
  right: 12%;
  bottom: 40px;
  left: 14%;
  z-index: 100;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align:left;
}
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-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 (min-width: 1680px) {
  .carousel .bg-box {
    padding: 6px 20px 6px 270px;
    top:100px;
  }
}
@media (min-width: 1920px) {
  .carousel .bg-box {
    padding: 6px 20px 6px 400px;
    top:100px;
  }
}
@media (min-width: 1200px) {
  .carousel.slider-testimonials,
  .carousel.slider-testimonials .item {
    height: 320px;
  }
  .carousel.slider-testimonials p.quote { font-size: 20px; }
}

@media (max-width: 1200px) {
  .carousel .bg-box h1 {
	font-size:30px;
  }
	.carousel .bg-box p.lead{
	font-size: 17px;
	line-height: 1.4;
	}
}
@media (max-width: 999px) {
  .carousel .bg-box h1 {
	font-size:28px;
  }
	.carousel .bg-box p.lead{
	font-size: 16px;
	line-height: 1.4;
	}
  .carousel .bg-box {
    width: 64%;
  }
  .carousel.slider-testimonials,
  .carousel.slider-testimonials .item {
    height: 250px;
  }
  .carousel.slider-testimonials .fa-quote-left.fa-2x { font-size: 30px; }
  .carousel.slider-testimonials p.quote { font-size: 17px; }
  .slider-testimonials .carousel-caption { margin: 50px auto 30px auto; }

  .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;
  }
}
@media (max-width: 767px) {
  .carousel,
  .carousel .item {
	height: 380px;
  }
  .carousel-caption {
	top:5px;
  }
  .carousel-caption p,
  .carousel-caption ul li {
	font-size: 20px;
	line-height: 1.4;
  }
  .carousel.slider-testimonials .quote p.name {
    display: inline-block;
    border-left: none;
    margin-bottom: 0;
    padding-top: 20px;
    padding-left: 46px;
    width: 100%;
  }
  .carousel.slider-testimonials,
  .carousel.slider-testimonials .item {
    height: auto;
  }
  .carousel.slider-testimonials .img-responsive { margin-bottom:20px; }
}
@media (max-width: 680px) {
  .carousel-caption h1 {
  	font-size:30px;
  	margin-top:0px;
  }
  .carousel.slider-testimonials .fa-quote-left.fa-2x {
    font-size: 22px;
    padding-top: 3px;
  }
  .carousel.slider-testimonials p.quote { font-size: 17px; }
  .slider-testimonials .carousel-caption { margin: 40px auto 10px auto; }
}
@media (max-width: 666px) {
  .carousel .bg-box {
  padding: 6px 20px 6px 20px;
  width: 100%;
  top:0;
  }
  .carousel .bg-box-grey,
  .carousel .bg-box-blue {
    background: url("images/backgrounds/bg-black.png") repeat transparent;
  }
}
@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) {
	.fa-li {
	left: -2em;
	}
	.carousel-caption ul li {
	margin: 0 0 5px -20px;
	}
  .carousel.slider-testimonials .quote p.name {
    font-size: 12px;
    padding-left: 35px;
  }
  .carousel.slider-testimonials .quote p.name strong { font-size: 14px; }
}
@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;
	}
}
@media (max-width: 340px) { /* iPhone portrait view */
  .carousel-caption h1 { font-size:24px !important; }
  .slider-testimonials .carousel-caption { margin: 34px auto 10px auto; }
  .carousel.slider-testimonials p.quote { font-size: 16px; }
}


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

.slider-home > #slide-1 { background: url("images/slider/1.jpg") no-repeat center; }
.slider-home > #slide-2 { background: url("images/slider/2.jpg") no-repeat center top; }
.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; }*/
}

/* End of 'carousel' */


