/* GLOBAL STYLES
-------------------------------------------------- */

body {
  padding-bottom: 40px;
  color: #5a5a5a;
  padding-top: 0px;
}

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

/* Carousel base class */
.carousel {
  height: 400px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  background-color: rgba(0,0,0,0.35);
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  -khtml-border-radius: 20px;
  border-radius: 20px;
}
.carousel-caption p {
	text-align: justify;
	margin: 15px;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 400px;
  background-color: #777;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 400px;
}



/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}

/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 651px) and (max-width: 951px) {
  .carousel {
   	height: 325px;
  }
  .carousel .item {
	height: 325px;
  }
  .carousel-inner > .item > img {
  	height: 325px;
  }
}


@media (min-width: 951px) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

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

@media (min-width: 950px) {
  .featurette-heading {
    margin-top: 120px;
  }
}
@media (max-width:650px) {
	.carousel {
		height: 200px;
	}
	.carousel .item {
		height: 200px;
	}
	.carousel-inner .item img {
		margin-top: 50px;
		height: 150px;
	}
	.carousel-caption { margin: -20px; }
	.visible-xs { display: none !important; }
}
@media (min-width:1400px) {
	.carousel-inner > .item > img {
		height: 650px;
	}
}
