/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

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


/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}


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

/* Carousel base class */
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.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;
}

/*
WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
now override the 3.3 new styles for modern browsers & apply opacity
*/
@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);
    }
}


/* 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: 992px) {
	  /* Navbar positioning foo */
	  .navbar-wrapper {
	    margin-top: 20px;
	  }
	  .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;
	  }

	  .featurette-heading {
	    font-size: 50px;
	  }
	  .carousel {
		  height: 300px;
		  /*width: 100%;*/
	  }
	/* Since positioning the image, we need to help out the caption */
	.carousel-caption {
	  /*z-index: 100;*/
	  text-align: left;
	  font-family: 'open_sanslight';
	  text-transform: uppercase;
	  padding-bottom: 8%;
	  padding-left: 3%;
	}

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


@media (min-device-width : 768px) and (max-device-width : 1024px)  {
	.navbar-wrapper {
	    margin-top: 20px;
	  }
	  .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;
	  }

	  .featurette-heading {
	    font-size: 50px;
	  }
	  .carousel {
		  height: 300px;
		  /*width: 100%;*/
	  }
	/* Since positioning the image, we need to help out the caption */
	.carousel-caption {
	  /*z-index: 100;*/
	  text-align: left;
	  font-family: 'open_sanslight';
	  text-transform: uppercase;
	  padding-bottom: 8%;
	  padding-left: 3%;
	}

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

.carousel-fade .item {-webkit-transition: opacity 1s; -moz-transition: opacity 1s; -ms-transition: opacity 1s; -o-transition: opacity 1s; transition: opacity 1s;}
.carousel-fade .active.left {left:0;opacity:0;z-index:2;}
.carousel-fade .active.right {left:0;opacity:0;z-index:2;}
.carousel-fade .next {left:0;opacity:1;z-index:1;}
.carousel-fade .prev {left:0;opacity:1;z-index:1;}

.carousel-control {
	top: 80% !important;
	bottom: 0px !important;
	/*border:1px solid red;*/
	width: 40px;
	height: 40px;
	z-index: 201;
	opacity: 1;
	border: 0px;
	display: none;
}
.carousel-control.left{
	background-image: none !important;
	left: 20%;
	top: !important;
	bottom: 0px;
	/*border:1px solid green;*/
}
.carousel-control.right{
	background-image: none !important;
	top: !important;
	left: 22.5%;
	bottom: 0px;
}
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right{
	width: 30px;
}


