/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  width:100%; /* carousel width */
  height: 500px;
  margin: 0 auto;
  background:#ACD8EF;
}
.carousel-sm {
 height: 260px;
}
.carousel-caption-box {
  background: url("images/backgrounds/bg-blue.png") repeat center transparent;
  padding:10px 30px 10px 30px;
  margin: 0 auto 20px auto;
  width:90%;
}
.box-black { background: url("images/backgrounds/bg-black.png") repeat center transparent; }
.carousel-caption h1 {
  font-size: 36px;
  padding: 15px 0;
  margin:0;
  color:#00447C;
  text-shadow:none !important;
  line-height:1.3; /* text line-height */
}
.carousel-caption h1.large {
  font-size: 74px;
  padding: 5px 0 20px 0;
  line-height: 1.1;
}
.carousel-caption h1.small {
  font-size: 32px;
  padding: 15px 0 0 0;
}
.carousel-caption h2.large {
  font-size: 50px;
}
.carousel-caption p,
.carousel-caption ul li {
  color:#000 !important;
  text-shadow:none !important;
}
.carousel .white-text h1,
.carousel .white-text h2,
.carousel .white-text p,
.carousel .white-text p.lead,
.carousel .white-text p.lead strong,
.carousel .white-text ul li {
  color:#fff !important;
  text-shadow: none;
  /*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: 22px;
  line-height: 1.4;
  color: #375B85 !important;
}
.carousel-caption p.lead.large {
  font-size: 28px;
}
.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:30px;
  /*bottom: 40px;*/
  left: 12%;
  z-index: 100;
  padding-top: 0;
  padding-bottom: 0;
  text-align:left;
}
.carousel-caption-box-sm {
  display: table-cell;
  vertical-align: middle;
  position: relative;
  height: auto;
}
.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;
}

.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 {
  background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .3) 0%), color-stop(rgba(0, 0, 0, .0001) 100%));
  background-image: linear-gradient(to right, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .0001) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
  background-repeat: repeat-x;
}
.carousel-control.right {
  right: 0;
  left: auto;
  background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .0001) 0%), color-stop(rgba(0, 0, 0, .3) 100%));
  background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .3) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
  background-repeat: repeat-x;
}


/* Set carousel fade transition */
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
  transition-duration: 4s;
  transition-timing-function:linear;
  -webkit-transition: opacity 0.6s ease-in-out;
       -o-transition: opacity 0.6s ease-in-out;
          transition: opacity 0.6s ease-in-out;
}
.carousel-fade .carousel-inner .active {
  opacity: 1;
}
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;

}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-control {
  z-index: 2;
}
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}


/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background: #333;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: auto;
}
.carousel-caption .btn-lg, .btn-group-lg > .btn {
  padding: 14px 12px;
  font-size: 24px;
  line-height: 1.3333333;
  border-radius: 3px;
}
.carousel-indicators {
  bottom: 10px !important;
}
ol.carousel-indicators {
  padding-bottom: 0;
}
.carousel-indicators li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 1px;
  text-indent: -999px;
  border: 2px solid #fff;
  border-radius: 10px;
  cursor: pointer;
  background: #000;
  background: rgba(0,0,0,0);
  opacity:0.8;
}
.carousel-indicators .active {
  margin: 0;
  width: 12px;
  height: 12px;
  background: #fff;
  opacity:0.98;
}

#slider  {
  width: 100%;
}
.slider-container  {
  width: 950px;
  margin: 0 auto;
}
#slider-full-img {
  margin-bottom: 30px;
}
#slider-full-img .container {
  width:100%;
  padding-left:0;
  padding-right:0;
}
#slider-full-img.carousel,
#slider-full-img.carousel .item {
  height: auto !important;
  background: transparent;
}
#slider-full-img .img-responsive {
  margin: 0 auto;
  width:100%;
}

.carousel-fade {
    .carousel-inner {
        .item {
            transition-property: opacity;
        }
        
        .item,
        .active.left,
        .active.right {
            opacity: 0;
        }

        .active,
        .next.left,
        .prev.right {
            opacity: 1;
        }

        .next,
        .prev,
        .active.left,
        .active.right {
            left: 0;
            transform: translate3d(0, 0, 0);
        }
    }

    .carousel-control {
        z-index: 2;
    }
}



html, 
body, 
.carousel, 
.carousel-inner, 
.carousel-inner .item {
    height: 100%;
}

.item:nth-child(1) {
    background: #74C390;
}

.item:nth-child(2) {
    background: #51BCE8;
}

.item:nth-child(3) {
    background: #E46653;
}

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

@media (min-width: 1500px)  {

}
@media (min-width: 1200px)  {
  .carousel-caption-box {
    width:94%;
  }
}
@media (max-width: 1199px)  {
  .carousel, .carousel .item, .carousel-inner > .item > img {
  	height: 480px;
  }
  .carousel-caption-box-sm {
    height: auto;
  }
  .carousel-caption-box {
    padding:10px 30px 10px 30px;
    width:100%;
  }
  .carousel-caption h1.large {
    font-size: 64px;
  }
  .carousel-caption h1.small {
    font-size: 30px;
  }
  .carousel-caption h2.large {
    font-size: 45px;
  }
}
@media (max-width: 991px) {
  .carousel-caption h1.large {
    font-size: 58px;
  }
  .carousel-caption h1.small {
    font-size: 25px;
  }
  .carousel-caption h2.large {
    font-size: 40px;
    margin:5px 0 15px 0;
  }
	.carousel-caption p.lead {
  	font-size: 21px;
  	line-height: 1.3;
	}
  .carousel-caption p.lead.large {
    font-size: 26px;
  }
  .carousel-caption .btn-lg, .btn-group-lg > .btn {
    font-size: 18px;
    padding: 11px 12px;
  }
  .carousel, .carousel .item, .carousel-inner > .item > img {
  	height: 440px;
  }
  .carousel-caption p.footnote {
    font-size: 18px !important;
  }
}
@media (max-width: 820px) {
  .carousel-caption h1.large {
    font-size: 48px;
  }
}
@media (max-width: 767px) {
  #slider-full-img {
    margin-bottom: 20px;
  }
  .carousel-caption-box,
  .carousel-caption-box-sm {
    padding:10px 20px;
    width:100%;
  }
  .carousel-caption-box-sm {
    background: url("images/backgrounds/bg-white-50.png") repeat center transparent;
    margin: 0 auto 50px auto;
  }
  .carousel-caption h1.small {
    font-size: 23px;
  }
  .carousel-caption h2.large {
    font-size: 33px;
  }
  .carousel-caption p.lead {
    font-size: 19px;
  }
  .carousel-caption p.lead.large {
    font-size: 26px;
  }
  .carousel, .carousel .item, .carousel-inner > .item > img {
  	height: 410px;
  }
  .carousel-caption {
  	top:8%;
  }
  .carousel-caption p,
  .carousel-caption ul li {
  	font-size: 20px;
  	line-height: 1.4;
  }
}
@media (max-width: 694px) {
  .carousel-caption p.lead {
    font-size: 17px !important;
  }
  .carousel-caption p.lead.large {
    font-size: 22px !important;
  }
}
@media (max-width: 634px) {
  .carousel-caption-box-sm {
    background: url("images/backgrounds/bg-white.png") repeat center transparent;
    margin: 0 auto 20px auto;
  }
  .carousel, .carousel .item, .carousel-inner > .item > img {
    height: 440px;
  }
}
@media (max-width: 592px) {
  .carousel-caption h1.large {
    font-size: 44px;
  }
}
@media (max-width: 560px) {
  .caption-btn {
  	bottom: 30px;
  }
  .carousel-caption p,
  .carousel-caption ul li {
  	font-size: 18px;
  	line-height: 1.3;
  }
  .carousel-caption .btn-lg, .btn-group-lg > .btn {
    font-size: 18px;
    padding: 10px 10px;
  }
}
@media (max-width: 504px) {
  .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.small {
    font-size: 21px;
  }
  .carousel-caption h2.large {
    font-size: 30px;
  }
}
@media (max-width: 499px) {
  .carousel-caption h1.large {
    padding: 5px 0 5px 0;
  }
}
@media (max-width: 360px) { /* iPhone & Galaxy S5 portrait view */
  .carousel-indicators {
    bottom: 5px !important;
  }
  .carousel-caption {
  	top:3%;
  }
  .carousel, .carousel .item, .carousel-inner > .item > img {
  	height: 480px;
  }
}

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

.slider-home > #slide-1 { background: url("images/slider/1.png") no-repeat right bottom; }
.slider-home > #slide-2 { background: url("images/slider/2.jpg") no-repeat center top #000; }
.slider-home > #slide-3 { background: url("images/slider/3.jpg") no-repeat center top #000; }
.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: 767px) {
/* Use for images cropped to fit mobile screens

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

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