/* 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: 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: 22px;
  line-height: 1.4;
}
.carousel-caption p.lead{
  font-size: 27px;
  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;
}

/* 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: 12%;
  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;
}

.bg-cover {
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
}


#slider-content .container {
  width:100%;
  padding-left:0;
  padding-right:0;
}
#slider-content.carousel,
#slider-content.carousel .item {
  height: 500px;
  background: transparent;
}
#slider-content .img-responsive {
  margin: 0 auto;
  width:100%;
}
#slider-content .img-responsive.img-wowslider {
  margin-top: -260px;
  width: 100%;
}
#slider-content .carousel-caption {
  top: initial;
  bottom: 50px;
  right:7%;
  left:7%;
  position: absolute;
  padding-left: 15px;
  padding-right: 15px;
  width: 85%;
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .icon-prev {
  margin-left: 15px;
}
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next {
  margin-right: 15px;
}


/* 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;
  }
  #slider-content.carousel,
  #slider-content.carousel .item {
    height: 700px;
  }
  #slider-content .img-responsive.img-wowslider {
    margin-top: -330px;
    width: 100%;
  }
}
@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%;
  }
}
@media (min-width: 992px) {
  #slider-content .carousel-caption {
    width: 970px;
  }
}
@media (max-width: 991px) {
  .carousel,
  .carousel .item,
  .carousel-inner > .item > img {
	height: 400px;
  }
  #slider-content.carousel,
  #slider-content.carousel .item {
    height: 400px;
  }
  #slider-content .img-responsive.img-wowslider {
    margin-top: -240px;
  }
  /*#slider-content .img-responsive {
    margin: 0 auto;
    max-width: 1200px;
    height: 380px;
    width: initial;
  }*/
}
@media (max-width: 767px) {
  .carousel,
  .carousel .item,
  .carousel-inner > .item > img {
	height: 380px;
  }
  .carousel-caption {
	top:5px;
  }
  .carousel-caption p,
  .carousel-caption ul li {
	font-size: 20px;
	line-height: 1.4;
  }
  #slider-content .carousel-caption p,
  #slider-content .carousel-caption ul li {
    font-size: 16px;
    line-height: 1.3;
  }
  #slider-content.carousel,
  #slider-content.carousel .item {
    height: 360px;
  }
  #slider-content .img-responsive.img-wowslider {
    margin-top: -200px;
  }
}
@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: 640px) {
  #slider-content.carousel,
  #slider-content.carousel .item {
    height: 360px;
  }
  #slider-content .img-responsive.img-wowslider {
    margin-top: -160px;
    height: initial;
    width: initial;
    min-height: 500px;
    max-width: 550px;
  }
}
@media (max-width: 560px) {
  .caption-btn {
	bottom: 30px;
  }
  .carousel-caption p,
  .carousel-caption ul li {
	font-size: 19px;
	line-height: 1.3;
  }
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .icon-prev {
    margin-left: 5px;
  }
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-next {
    margin-right: 5px;
  }
}
@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;
	}
  #slider-content.carousel,
  #slider-content.carousel .item {
    height: 330px;
  }
}
@media (max-width: 460px) {
  .carousel-caption h1 {
	font-size:30px;
	padding: 15px 0 10px 0;
  }
	.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 center 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 ; }
.slider-home #slide-4 { background: url("images/slider/4.jpg") no-repeat center bottom; }

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

}

/* End of 'carousel' */


