/*!
 * Bootstrap v2.3.2
 *
 * Copyright 2012 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
 */
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.carousel {
  position: relative;
  margin-bottom: 20px;
  line-height: 1;
}
.carousel-inner {
  overflow: hidden;
  width: 100%;
  position: relative;
  display:block;
}
.carousel-inner > .item {
  display: none;
  position: relative;
  -webkit-transition: 0.6s ease-in-out left;
  -moz-transition: 0.6s ease-in-out left;
  -o-transition: 0.6s ease-in-out left;
  transition: 0.6s ease-in-out left;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  line-height: 1;
}
.carousel-inner > .item > img.mobile-img {
  display: none;
}
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
  display: block;
}
.carousel-inner > .active {
  left: 0;
}
.carousel-inner > .next,
.carousel-inner > .prev {
  position: absolute;
  top: 0;
  width: 100%;
}
.carousel-inner > .next {
  left: 100%;
}
.carousel-inner > .prev {
  left: -100%;
}
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
  left: 0;
}
.carousel-inner > .active.left {
  left: -100%;
}
.carousel-inner > .active.right {
  left: 100%;
}
.carousel-control {
  position: absolute;
  top: 47%;
  left: 15px;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  font-size: 60px;
  font-weight: 100;
  line-height: 30px;
  color: #ffffff;
  text-align: center;
  background: #222222;
  border: 3px solid #ffffff;
  -webkit-border-radius: 23px;
  -moz-border-radius: 23px;
  border-radius: 23px;
  opacity: 0.5;
  filter: alpha(opacity=50);
  text-decoration: none;
  display:none;
}
.carousel-control.right {
  left: auto;
  right: 15px;
}
.carousel-control:hover,
.carousel-control:focus {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  filter: alpha(opacity=90);
}
.carousel-indicators {
  position: absolute;

  left: 50%;
  z-index: 5;
  margin-left:-36px;
  list-style: none;
  bottom:430px;
  width:auto;
  min-width:100px;
  text-align:center;
}
.sub-move-up .carousel-indicators {
  bottom:540px;
}
.carousel-indicators li {
  display: inline-block;
  float: left;
  width: 12px;
  height: 12px;
  margin-left: 5px;
  text-indent: -999px;
  background-color: #ccc;
  background-color: rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  border: 3px solid #fff;
}
.carousel-indicators .active {
  background-color: rgb(45,45,45);
}

/* NEW CAPTION ADDED BY AE */
.carousel-caption {

  /*position: absolute;*/
	/*position:relative;
  /*left: 25%;
  right: 25%;*/
	/*bottom: 23em;
	padding: 0 15px;
  /*background: #333333;
  background: rgba(0, 0, 0, 0.75);
	background-color: rgb(9,79,56);*/
	z-index: 10;
	width:475px;
	-moz-box-sizing:border-box
	-webkit-box-sizing:border-box
	box-sizing:border-box;
	margin:0 auto;
}

.carousel-caption {

  /*position: absolute;*/
	/* AE position:relative; */
  /*left: 25%;
  right: 25%;*/
	/* AEbottom: 23em;
	/* AEpadding: 0 15px;
  /*background: #333333;
  background: rgba(0, 0, 0, 0.75);
	background-color: rgb(9,79,56);*/
	/* AEz-index: 10;
	width:475px;
	-moz-box-sizing:border-box
	-webkit-box-sizing:border-box
	box-sizing:border-box;
	margin:0 auto;*/
}

.carousel-caption a{
	text-decoration:none;
	color: #fff;
}

.carousel-caption h1,
.carousel-caption h2,
.carousel-caption h3{
	font-size: 15px;
	color: #fff;
	letter-spacing:2px;
	font-weight: bold;
	margin: 0;
	line-height: 15px;
	background-color:rgb(104,168,52);
	display:inline-block;
	text-transform:uppercase;
	padding:5px 13px;
}


.carousel-caption h4,
.carousel-caption p {
  color: #ffffff;
  line-height: 25px;
  background-color:rgba(9,79,56, .8);
  display:block;
  box-sizing:border-box;
  padding:10px 12px;
  text-transform:uppercase;
  font-size:27px;
  font-weight:lighter;
  letter-spacing:2px;
  word-wrap: break-word;
}
.carousel-caption h4 {
  margin: 0 0 5px;
}
.carousel-caption p {
  margin-bottom: 0;
}

.carousel-caption img{
	opacity: 1;
	webkit-transform: scale(1, 1) rotate(0deg); /* Ch, Saf  */
    -moz-transform: scale(1, 1) rotate(0deg); /* Fx <16 */
    -ms-transform: scale(1, 1) rotate(0deg); /* IE 9 */
    -o-transform: scale(1, 1) rotate(0deg); /* Op <12.1 */
    transform: scale(1, 1) rotate(0deg);
	visibility: visible;
	max-width:100%;
}

@media only screen and (max-width: 990px){
	.carousel-control {
		top: 44%;
		display:none;
	}
	.carousel-indicators{
		bottom:300px;
	}
.sub-move-up .carousel-indicators {
  bottom:630px;
}
	
	.carousel-caption{
		padding:0 25px;
		text-align:center;
		width:90%;
		bottom:13em;
	}
	
	.carousel-caption h4,
	.carousel-caption p {
		background-color:rgba(9,79,56,.8);
	}
}

/*
| Responsive Tweeks
*/
@media screen and (max-width: 767px) {
  .carousel-inner > .item > img.desktop-img {
    display: none;
  }
  .carousel-inner > .item > img.mobile-img {
    display: block;
  }
}
