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

/* Carousel base class */
.carousel {
  height: 350px;
  margin-bottom: 30px;
  background:#333;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 20px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align:left;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 1.0);
}
/* carousel testimonial */
.carousel.carousel-testimonial {
  margin-bottom: 0;
  background:transparent;
}
.carousel-testimonial .carousel-caption {
  position: absolute;
  right: 15%;
  left: 15%;
  top: 13%;
  bottom: initial;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
}
.carousel-testimonial.bg-white .carousel-caption {
  color: #000;
  text-shadow: none;
}
.carousel-testimonial .item {
  background: #367db5;
}
.carousel-control.left,
.carousel-control.right {
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}
.carousel-testimonial .carousel-control.left {
  
  
}
.carousel-testimonial .carousel-control.right {
  
  
}
.carousel-testimonial.bg-white .carousel-control.left,
.carousel-testimonial.bg-white .carousel-control.right {
  background: none !important;
}

.caption-box {
  position:relative;
}
.btn-carousel {
	margin-left:2%;
	margin-bottom:1%;
}
.carousel-text ul.checklist {
	margin-bottom:20px;
}
.carousel-text li {
	font-size:20px;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 350px;
  background-color:transparent;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 350px;
}
.carousel-img {
	height:140px;
	margin-bottom:-15px;
}
.img-badge {
	bottom:0;
	right:0;
	position:absolute;
}




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

@media (min-width: 768px) {

  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 0px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left:  15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left:  0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }
  .carousel-testimonial .carousel-caption p {
    font-size: 17px;
  }

  .carousel-inner > .item > img {
    width: 768px;
  }

  .featurette-heading {
    font-size: 50px;
  }

}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}

@media (max-width: 500px) {
  .carousel-img {
	  margin-bottom:5px;
  }
}

@media (max-width: 991px) {
  .carousel-testimonial .carousel-caption p {
	font-size:13px !important;
  }
}
@media (max-width: 924px) {
  .carousel-caption h1 {
    font-size: 32px !important;
	margin-top: 0px;
  }
  .checklist-sm {
	margin-top:0;
	padding-bottom:1%;
  }
  .carousel-caption p {
	font-size:18px !important;
	line-height:1.3 !important;
  }
}
@media (max-width: 880px) {
  .carousel-caption h1 {
    font-size: 32px !important;
  }
}
@media (max-width: 804px) {
  .carousel-caption h1 {
    font-size: 30px !important;
  }
  .carousel .btn-lg {
    font-size: 17px !important;
  }
  .img-badge {
	width:120px;
  }
}
@media (max-width: 720px) {
  .img-badge {
	width:90px;
  }
  .carousel-caption h1 {
    font-size: 29px !important;
  }
  .carousel-text li {
	font-size:18px;
  }
}
@media (max-width: 590px) {
  .img-badge {
	display:none;
  }
}
@media (max-width: 642px) {
  .carousel-caption h1 {
    font-size: 28px !important;
  }
  .carousel-text li {
	font-size:17px;
  }
  .carousel .btn-lg {
    font-size: 15px !important;
  }
  .btn-carousel {
	margin-left:1%;
  }
  .carousel.carousel-testimonial,
  .carousel.carousel-testimonial .item {
    height: 370px;
  }
  .carousel-testimonial .carousel-caption {
    top:3%;
  }
}
@media (max-width: 525px) {
  .carousel-caption h1 {
    font-size: 28px !important;
  }
  .carousel-text li {
	font-size:16px;
  }
  .carousel .btn-lg {
    font-size: 14px !important;
  }
  .btn-carousel {
	margin-left:1%;
  }
  .checklist-sm {
	margin-top:5%;
	padding-bottom:5%;
  }
  .carousel-caption p {
	font-size:16px !important;
	line-height:1.3 !important;
  }
}
@media (max-width: 465px) {
  .carousel-caption h1 {
    font-size: 28px !important;
  }
  .carousel-text li {
	font-size:16px;
  }
  .btn-carousel {
	margin-left:1%;
  }
}
@media (min-width: 341px) and (max-width: 420px) {
  .carousel-caption h1 {
    font-size: 24px !important;
	text-align:center;
  }
  .carousel-text li {
	font-size:14px;
	line-height:1.4;
	padding-right:0px;
  }
  .carousel-caption p {
	text-align:center;
	margin-bottom:0;
  }
  .btn-carousel {
	margin-bottom:3%;
	width:80%;
  }
  .carousel-text ul.checklist {
	margin-bottom:10px;
  }
}
@media (max-width: 340px) {
  .carousel-caption h1 {
    font-size: 24px !important;
	text-align:center;
  }
  .carousel-caption p {
	text-align:center;
	margin-bottom:0;
  }
  .carousel-text li {
	font-size:14px;
	line-height:1.4;
	padding-right:0px;
  }
  .btn-lg {
    font-size: 13px !important;
  }
  .btn-carousel {
	margin-bottom:3%;
	width:80%;
  }
  .carousel-text ul.checklist {
	margin-bottom:10px;
  }
  .carousel {
	height: 380px;
	margin-bottom: 20px;
  }
  .carousel .item {
	height: 380px;
  }
  .checklist-sm {
	margin-top:6%;
	padding-bottom:8%;
  }
  .checklist-sm li {
	font-size:16px;
  }
}


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

.carousel-testimonial div.item,
.carousel-testimonial div#slide-1,
.carousel-testimonial div#slide-2,
.carousel-testimonial div#slide-3 {
  background: #1f4d71;
}
.carousel-testimonial.bg-white div.item,
.carousel-testimonial.bg-white div#slide-1,
.carousel-testimonial.bg-white div#slide-2,
.carousel-testimonial.bg-white div#slide-3 {
  background: #fff;
}

.bg-cover,
div#slide-1,
div#slide-2,
div#slide-3 {
  -webkit-background-size: cover;
     -moz-background-size: cover;
       -o-background-size: cover;
          background-size: cover;
}

@media (min-width: 1201px) {
  div#slide-1 {
	background: url("images/slider/1-lg.jpg") no-repeat center;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
		 -o-background-size: cover;
			background-size: cover;
  }
}

@media (min-width: 1647px) { /* 67% zoom */
  /*div#slide-1,
  div#slide-2,
  div#slide-3 {
    -webkit-background-size: contain !important;
    -moz-background-size: contain !important;
    -o-background-size: contain !important;
    background-size: contain !important;
  }
  .carousel-inner {
    width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }*/
  div#slide-1 { background-position: center top; }
  div#slide-2 { background-position: center top; }
  .carousel-control {
    width: 20%;
  }
  .caption-box {
    position: relative;
    width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 1854px) { /* 50% zoom */
  .carousel-control {
    width: 45%;
  }
}

/* End of 'carousel' */

