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

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

/* Carousel base class */
.carousel {
	  background-image:url(../assets/bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
	height: 40rem;
	overflow:hidden;
}
.subpage .carousel{
	height: 12rem !important;
}

.bg-img {
  background-image:url(../assets/bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  position:absolute;
  top:0px;
  left:0px;
  right:0px;
  bottom:0px;
  opacity:0.5;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 30%;
  z-index: 10;
  top:20%;
  left:10%;
  right:10%;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 40rem;
}
.subpage .carousel-item{
	height: 12rem !important;
}
.subpage .carousel-caption {
	top:0;
	left:0;
	position:relative;
}


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

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


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

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

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

#videoBG {
	width:100%;
	 transition:opacity 2s ease-out;
}
@media (max-width: 1165px) {
    #videoBG {
        display: none;
    }
}

/* rtl:end:remove */

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

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}
@media (max-width: 991px) {
.carousel-caption {
  bottom: 30%;
  z-index: 10;
  top:10%;
}
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
