/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  /*padding-bottom: 40px;*/
  color: #5a5a5a;
  background-color: #ffffff;
}

body {
    -webkit-animation-delay: 0.1s;
    -webkit-animation-name: fontfix;
    -webkit-animation-duration: 0.1s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: linear;
}

@-webkit-keyframes fontfix {
    from { opacity: 1; }
    to   { opacity: 1; }
}

.mainbody {
	padding-bottom: 100px;
}

/* 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-brand {
	padding-top: 0;
}
.navbar {
	border: 0;
}
.navbar-right {
	background-color: #212424;
}
.navbar-default .navbar-nav>li>a:hover {
	color: #ffffff;
}

.navbar-wrapper .navbar-brand {
	max-width: 65%;
}
.navbar-wrapper .navbar-brand img {
	max-width: 100%;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
	z-index: 10;
	text-align: left;
}


/* Declare heights because of positioning of img element */
	.carousel {
		margin-top: 70px;
		height: 400px;
	}
	.navbar-wrapper {
		margin-top: 10px;
	}

	.carousel .item {
	  	height: 400px;
		background-color: #212424;
	}
	.carousel-inner > .item > img {
		position: absolute;
		bottom: 0;
		top: auto;
		/*max-height: 300px;*/
		width: auto;
	}

	.carouselWell {
		margin-top: 16px;
	}
	.carousel.productCarousel {
		margin: 0px auto;
		max-height: 325px;
		max-width: 550px;
	}
		.carousel.productCarousel .item {
			height: 325px;
		}
	.carousel.productCarousel2 {
		margin: 0px auto;
		max-height: 305px;
		max-width: 550px;
	}
		.carousel.productCarousel2 .item {
			height: 305px;
		}

		.carousel.productCarousel .carousel-inner > .item > img, .carousel.productCarousel2 .carousel-inner > .item > img {
			height: auto;
			width: 100%;
			vertical-align: top;
			top: auto;
			bottom: auto;
		}

	.item .container .carousel-caption {
		display: block;
		width: 100%;
		height: auto;
		margin: 0;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: auto;
		background: rgba(100,100,100,0.7);
		padding: 0 10px;
	}

  .carousel-caption h2 {
	  font-size: 24px;
  }
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.3;
  }



/* Featurettes
------------------------- */

.featurette-divider {
  margin: 40px 0; /* Space out the Bootstrap <hr> more */
  border-color: #ce1126;
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}



h1 {
	color: #000;
}

footer {
	width: 100%;
	background-color: #212424;
	color: #ffffff;
	margin-top: 40px;
	padding: 2% 5%;
}

.jumbotron {
	padding-top: 70px;
	padding-bottom: 0;
}

.thumbnail {
	background-color: #ffffff;
}
	.thumbnail .caption {
		/*padding: 9px;*/
	}

.row {
	margin: 0;
}

.model-link {
	margin: 0;
}
	.model-link a {
		color: #ffffff;
	}

.btn-primary a {
	color: #ffffff;
}

.ytVideoFrame {
	height: 144px;
	width: 256px;
}
	.videoLabel {
		font-weight: bold;
		color: #000000;
	}


.basket-table {
	display: none;
}
 .liners-table {
	 /*max-width: 250px;*/
    width: 100%;
 }
.basket-table, .liners-table {
	background-color: #3a3a3a;
	color: #ffffff;
	border-color: #000000;
	margin: 15px auto;
}
	.basket-table thead, .liners-table thead {
		color: #000000;
		background-color: #fed117;
	}
	.basket-table tbody > tr:hover, .liners-table tbody > tr:hover {
		background-color: #ce1126;
	}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 384px) {

	.navbar-wrapper .navbar-brand {
		max-width: 100%;
	}
	.navbar-wrapper .navbar-brand img {
		max-width: 100%;
	}

  .carousel-caption h2 {
	  font-size: 30px;
  }
  .carousel-caption p {
    font-size: 14px;
  }

	.ytVideoFrame {
		height: 169px;
		width: 300px;
	}

}

@media (min-width: 512px) {

	.ytVideoFrame {
		height: 258px;
		width: 460px;
	}

}

@media (min-width: 768px) {

  /* Remove the edge padding needed for mobile */
  .marketing {
    padding-right: 0;
    padding-left: 0;
  }

  /* 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;
  }

	.carousel {
	  height: 400px;
	  margin-top: 100px;
	}
	.carousel .item {
	  height: 400px;
	}

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.4;
  }

	.navbar-wrapper {
		margin-top: 10px;
	}

	.carousel-inner > .item > img {
		left: 0;
		height: auto;
		max-height: 400px;
	}

	.item .container .carousel-caption {
		position: absolute;
		width: auto;
		height: auto;
		/*left: 30%;
		right: 10%;*/
		left: 42%;
		right: 10%;
		top: auto;
		padding: 0px 20px;
		margin: 0;
		bottom: auto;
		background: none;
		background:rgba(155,155,155,0.4);
	}

	#truckCarousel 	.item .container .carousel-caption {
		text-align: left;
		left: 50%;
		right: 0%;
	}

	#promoCarousel 	.item .container .carousel-caption {
		text-align: left;
		left: 50%;
		right: 0%;
	}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
	z-index: 10000;
}

	.ytVideoFrame {
		height: 360px;
		width: 640px;
	}
	.videoLabel {
		padding: 10px 0;
		border-top: 1px solid #999999;
		font-size: 1.3em;
	}


  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }

	.thumbnail .caption {
		font-size: 12px;
	}

	.ytVideoFrame {
		height: 253px;
		width: 450px;
	}
	.videoLabel {
		padding: 20px 0 10px 0;
		width: 450px;
		border-top: none;
		border-bottom: 2px solid #ff0000;
	}

}

@media (min-width: 1200px) {
	.ytVideoFrame {
		height: 303px;
		width: 540px;
	}
	.videoLabel {
		width: 540px;
	}

}
