/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 40px;
}

/* 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-control{
	width:20%;
}
/* Carousel base class */
.carousel {
 /* height: 500px; */
 /*  margin-bottom: 30px; */
 border-top:		1px solid #ccc;
 border-right:		1px solid #ccc;
 border-left:		1px solid #ccc;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  background-color:		#002a50;
  width:100%;
  left: 0;
   padding: 10px;
   position: static;
   color:#ffffff;
   font-size:24px;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption-home {
    position: absolute;
    bottom: 0px; 
    width: 100%;
    padding: 10px;
    z-index: 10;
    
    font-size: 64px;
    text-align: center;
    text-shadow: 3px 3px 10px rgba(0,0,0,1); 
	font-weight:400;
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
	background-color:	rgba(36,26,34,0.5);
	color: #fff;
  /*  text-shadow:    -1px -1px 0 #fff,
   					1px -1px 0 #fff,
				   -1px 1px 0  #fff,
					1px 1px 0  #fff;   */
}
 
.carousel-caption-home a{
	color: #fff;
}
 
 @media only screen and (max-width: 1300px){
	.carousel-caption-home {
		
		font-size: 52px;
		-webkit-transition: all 0.3s ease-in-out;
	    -moz-transition: all 0.3s ease-in-out;
    	-o-transition: all 0.3s ease-in-out;
	    transition: all 0.3s ease-in-out;
	}
}
 
@media only screen and (max-width: 1200px){
	.carousel-caption-home {
		-webkit-transition: all 0.3s ease-in-out;
    	-moz-transition: all 0.3s ease-in-out;
	    -o-transition: all 0.3s ease-in-out;
    	transition: all 0.3s ease-in-out;
	}
}
@media only screen and (max-width: 1100px){
	.carousel-caption-home {
		-webkit-transition: all 0.3s ease-in-out;
	    -moz-transition: all 0.3s ease-in-out;
	    -o-transition: all 0.3s ease-in-out;
    	transition: all 0.3s ease-in-out;
	}
}
@media only screen and (max-width: 1000px){
	.carousel-caption-home {
		font-size: 46px;
		-webkit-transition: all 0.3s ease-in-out;
	    -moz-transition: all 0.3s ease-in-out;
    	-o-transition: all 0.3s ease-in-out;
	    transition: all 0.3s ease-in-out;
	}
}
@media only screen and (max-width: 900px){
	.carousel-caption-home {
		font-size: 32px;
		-webkit-transition: all 0.3s ease-in-out;
	    -moz-transition: all 0.3s ease-in-out;
    	-o-transition: all 0.3s ease-in-out;
	    transition: all 0.3s ease-in-out;
	}
}
@media only screen and (max-width: 767px){
	.carousel-caption-home {
	    z-index: 10;
		background-color:	#002a50;
		width:100%;
		left: 0;
		padding: 10px;
		position: static;
		color:#fff;
		font-size:24px;
		-webkit-transition: all 0.3s ease-in-out;
	    -moz-transition: all 0.3s ease-in-out;
    	-o-transition: all 0.3s ease-in-out;
	    transition: all 0.3s ease-in-out;
		border-bottom:		1px solid #e3e3e3;
		 text-shadow: 3px 3px 10px rgba(0,0,0,0);
	}
}

/* Declare heights because of positioning of img element */
.carousel .item {
  /* height: 500px; */
  background-color: #ffffff; /*#033f87; */

}
 .carousel-inner > .item > img {
/*   position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;*/
   margin: 0 auto;
} 


/* 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: 768px) {
  /* 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;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}

/* fade *********************************************/
/*
  Bootstrap Carousel Fade Transition (for Bootstrap 3.3.x)
  CSS from:       http://codepen.io/transportedman/pen/NPWRGq
  and:            http://stackoverflow.com/questions/18548731/bootstrap-3-carousel-fading-to-new-slide-instead-of-sliding-to-new-slide
  Inspired from:  http://codepen.io/Rowno/pen/Afykb 
*/
.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."
  Need to 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);
    }
}