/* 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;
  left: 0;
  right: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper .container {
  padding-left: 0;
  padding-right: 0;
}
.navbar-wrapper .navbar {
  padding-left: 15px;
  padding-right: 15px;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  /*height: 500px;*/
  margin-top:130px;
  /*margin-bottom: 45px;*/
}

	.carousel.fixed-image {
		overflow: hidden;
	}

	
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

.carousel-caption p {
	display:none;
	font-weight:400;
	font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.carousel-caption .btn {
	margin-top:5px;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  /*background-color: #777;*/
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 650px;
  /*height: 500px;*/
}

	.carousel.fixed-image > .item > img {
		min-width: 650px;
		width: 100%;
	}



/* MARKETING CONTENT
-------------------------------------------------- */

/* Pad the edges of the mobile views a bit */
.marketing {
  padding-left: 15px;
  padding-right: 15px;
}

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  text-align: center;
  margin-bottom: 20px;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-left: 10px;
  margin-right: 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;
}


/* Carousel thumbnails
------------------------- */
.carousel-thumbnails {
	float:left;
	position:relative;
	left:50%;
	/*display:none;*/
}

.carousel-thumbnails li {
	float:left;
	position:relative;
	right:50%;
	width:150px;
	height:50px;
	margin:10px 0;
	text-align:center;
}

.carousel-thumbnails li:hover {
	cursor:pointer;
	opacity:0.7;
}

.carousel-control {
	opacity:1;
}

.carousel-control:hover {
	opacity:0.7;
}

.carousel-control,
.carousel-control.left,
.carousel-control.right {
	background:none;
}

.carousel-control .prev-button,
.carousel-control .next-button {
	position:absolute;
	top:45%;
	z-index:5;
	display:inline-block;
	width:40px;
	height:60px;
}

.carousel-control .prev-button {
	left:0;
	background:url("images/carousel-prev-next-button.png") no-repeat -2px -6px;
}

.carousel-control .next-button {
	right:0;
	background:url("images/carousel-prev-next-button.png") no-repeat -42px -6px;
}

.carousel-indicators {
	bottom:15px;
	left:90%;
	right:0;
	width:auto;
	margin:0;
}

.carousel-indicators li,
.carousel-indicators .active {
	width:13px;
	height:13px;
	float:left;
	margin:0 3px;
	background:#fff;
	border:none;
	opacity:0.8;
}

.carousel-indicators li:hover {
	opacity:1;
}

.carousel-indicators .active {
	background:#ec7404;
	border:none;
	opacity:1;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  .carousel-control .prev-button {
		background:url("images/carousel-prev-next-button.png") no-repeat left top;
	}

	.carousel-control .next-button {
		background:url("images/carousel-prev-next-button.png") no-repeat right top;
	}
  
  
  /* Remove the edge padding needed for mobile */
  .marketing {
    padding-left: 0;
    padding-right: 0;
  }

  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-left:  15px;
    padding-right: 15px;
  }
  .navbar-wrapper .navbar {
    padding-left:  0;
    padding-right: 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 */
  
  .featurette-heading {
    font-size: 50px;
  }

}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}

@media (max-width: 2000px) {
	.carousel, .carousel .item {
		height:350px;
	}
	.carousel.carousel-home, .carousel.carousel-home .item {
		height:525px;
	}
	.carousel-caption p {
		font-size: 15px;
		line-height: 1.5;
		font-weight:300;
		display:block;
	}
}

@media (max-width: 1920px) {
	.carousel, .carousel .item {
		height:460px;
	}
	.carousel.carousel-home, .carousel.carousel-home .item {
		height:500px;
	}
}

@media (max-width: 1920px) {
	.height-logged {
		height:6px;
	}
	.carousel.carousel-home, .carousel.carousel-home .item {
		height:500px;
	}
}

@media (max-width: 1800px) {
	.carousel, .carousel .item {
		height:430px;
	}
	.carousel.carousel-home, .carousel.carousel-home .item {
		height:475px;
	}
}

@media (max-width: 1680px) {
	.carousel, .carousel .item {
		height:400px;
	}
	.carousel.carousel-home, .carousel.carousel-home .item {
		height:440px;
	}
}


@media (max-width: 1680px) {
	.height-logged {
		height:7px !important;
	}
	.carousel.carousel-home, .carousel.carousel-home .item {
		height:440px;
	}
}

@media (max-width: 1440px) {
	.carousel, .carousel .item {
		height:340px;
	}
	.carousel.carousel-home, .carousel.carousel-home .item {
		height:380px;
	}
	.carousel-caption h2 {
		font-size: 24px;
		line-height:1.2;
		margin-top:10px;
		margin-bottom:10px;
	}
	.carousel-caption p {
		margin-bottom: 7px;
		font-size: 13px;
		font-weight:400;
	}
	.carousel-indicators {
		left:87%;
	}
}

@media (max-width: 1366px) {
	.carousel, .carousel .item {
		height:325px;
	}
	.carousel.carousel-home, .carousel.carousel-home .item {
		height:360px;
	}
}

@media (max-width: 1280px) {
	.carousel, .carousel .item {
		height:300px;
	}
	.carousel.carousel-home, .carousel.carousel-home .item {
		height:330px;
	}
}

@media (max-width: 1200px) {
	.carousel {
	  margin-top:120px;
	}
}

@media (max-width: 1024px) {
	.carousel, .carousel .item {
		height:270px;
	}
	
	.carousel.carousel-home, .carousel.carousel-home .item {
		height:280px;
	}
	
	.carousel-caption h2 {
		font-size: 20px;
		margin-top:0px;
	}
	
	.carousel-caption {
		padding-top:20px;
		left:50px;
		width:340px;
	}
	
	.carousel {
	  margin-top:98px;
	}
	
	.carousel-indicators {
		left:84%;
	}
}

@media (max-width: 800px) {
	.carousel, .carousel .item {
		height:210px;
	}
	.carousel.carousel-home, .carousel.carousel-home .item {
		height:255px;
	}
	.carousel-indicators {
		left:80%;
	}
	.carousel-caption h2 {
		font-size:18px;
	}
}

@media (max-width: 768px) {
	.carousel, .carousel .item {
		height:190px;
	}
	.carousel.carousel-home, .carousel.carousel-home .item {
		height:240px;
	}
	.carousel-caption {
		padding:15px 20px;
	}
	.carousel-caption h2 {
		font-size: 15px;
	}
	.carousel-caption p {
		font-size:12px;
	}
	.carousel {
	  margin-top:90px;
	  margin-bottom:20px;
	}
	.carousel-indicators {
		display:none;
	}
	.carousel-control .prev-button, .carousel-control .next-button {
		top:38%;
	}
}

@media (max-width: 700px) {
	.carousel-caption {
		top:auto;
		bottom:0;
		height:60px;
		padding:10px 5%;
		width:100%;
		left:0;
		right:0;
	}
	.carousel-caption p {
		display:none;
	}
	.carousel-caption h2 {
		margin-bottom:5px;
	}
	.carousel-caption .btn {
		position:absolute;
		right:5px;
		bottom:5px;
	}
}

@media (max-width: 600px) {
	.carousel.carousel-home, .carousel.carousel-home .item {
		height:200px;
	}
	.carousel.carousel-home {
		margin-bottom:0;
	}
	.carousel-control .prev-button, .carousel-control .next-button {
		top:35%;
		width:34px;
		height:50px;
	}
}

@media (max-width: 480px) {
	
	.carousel-inner > .item > img {
		left:-35%;
	}
	.carousel-control .glyphicon-chevron-left,
	.carousel-control .glyphicon-chevron-right {
		top:42%;
	}
}
