/*
* Brocket Hall full slider
* Version: 1
*/

.carousel,
.item,
.active {
    height: 100%;
	-webkit-backface-visibility: hidden;
   	-webkit-perspective: 1000;
	position: relative;
}

@media (max-width: 992px) {
	.carousel {
		top:-134px;
		margin-bottom:-134px;
	}
}

@media (max-width: 768px) {
	.carousel {
		top:-130px;
		margin-bottom:-130px;
	}
}

.carousel-inner {
    height: 100%;
	position: relative;
	background:#222222;
	-webkit-backface-visibility: hidden;
   	-webkit-perspective: 1000;
}

.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.carousel-control.left, .carousel-control.right {
    background-image: none;
	z-index:3
  }

.carousel.carousel-fade .item {
	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	-ms-transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
	opacity:0.3;
	-webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;
}

.carousel.carousel-fade .active.item {
	opacity:1;
}

.carousel.carousel-fade .active.left,
.carousel.carousel-fade .active.right {
	left: 0;
	z-index: 2;
	opacity: 0;
	filter: alpha(opacity=0);
}

.carousel.carousel-fade .next,
.carousel.carousel-fade .prev {
	left: 0;
	z-index: 1;
}
.carousel.carousel-fade .carousel-control {
	z-index: 3;
}



.pmedia-overlay-pattern{
	background-image: url("../img/overlay-pattern.png") !important;
	background-color: rgba(0,0,0,0.3);
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-repeat: repeat;
}

.carousel-caption {
  position: absolute;
  left:0; right:auto;
  top:45%; bottom:auto;
  margin:auto;
  max-width:800px;
  height:auto;
  padding-left: 40px;
  text-align:left !important;
  z-index:2;
  background: rgba(0,0,0,0);
  background: -moz-linear-gradient(left, rgba(0,0,0,0.4) 34%, rgba(0,0,0,0) 100%);
  background: -webkit-gradient(left top, right top, color-stop(34%, rgba(0,0,0,0.4)), color-stop(100%, rgba(0,0,0,0)));
  background: -webkit-linear-gradient(left, rgba(0,0,0,0.4) 34%, rgba(0,0,0,0) 100%);
  background: -o-linear-gradient(left, rgba(0,0,0,0.4) 34%, rgba(0,0,0,0) 100%);
  background: -ms-linear-gradient(left, rgba(0,0,0,0.4) 34%, rgba(0,0,0,0) 100%);
  background: linear-gradient(to right, rgba(0,0,0,0.4) 34%, rgba(0,0,0,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=1 );
  -webkit-backface-visibility: hidden;
   	-webkit-perspective: 1000;
}

.carousel-caption h2 {
 	font-size: 48px;
	line-height:48px;
	font-weight:300;
	color: #ffffff;
	text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.4);
	margin-bottom:0;
	-webkit-font-smoothing: antialiased;
	-webkit-backface-visibility: hidden;
   	-webkit-perspective: 1000;
}

.carousel-caption p {
	display:inline-block;
	font-size: 24px;
	line-height:28px;
  	font-weight: 300;
	text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.4);
	color: #ffffff;
	margin-top:30px;
	text-transform:none;
	-webkit-font-smoothing: antialiased;
	-webkit-backface-visibility: hidden;
   	-webkit-perspective: 1000;
	
}

.carousel-caption a {
	color: #ffffff;
	border: 1px solid #ffffff;
	border-radius: 2px;
	padding: 5px 10px;
}

.carousel-caption a:hover {
	text-decoration: none;
	color: #b5a268;
	border: 1px solid #b5a268;
}

@media (max-width: 1024px) {
.carousel-caption h2 {
 	font-size: 42px;
	line-height:42px;
}

.carousel-caption p {
	font-size: 22px;
	line-height:26px;	
}
}

@media (max-width: 767px) {
.carousel-caption {
  position: absolute;
  left:0; right:auto;
  top:50%; bottom:auto;
  margin:auto;
  max-width:800px;
  height:auto;
  padding-left: 15px;
}

.carousel-caption h2 {
 	font-size: 30px;
	line-height:30px;
}

.carousel-caption p {
	font-size: 18px;
	line-height:22px;	
}
}

@media (max-width: 400px) {
.carousel-caption {
  position: absolute;
  left:0; right:auto;
  top:50%; bottom:auto;
  margin:auto;
  max-width:800px;
  height:auto;
  padding-left: 15px;
}

.carousel-caption h2 {
 	font-size: 26px;
	line-height:26px;
}

.carousel-caption p {
	font-size: 18px;
	line-height:20px;	
}
}

/*Delays
------------------------------------*/

.delay1 {
	animation-delay: 0.8s;
	-webkit-animation-delay: 0.8s;
	-webkit-backface-visibility: hidden;
   -webkit-perspective: 1000;
}
.delay2 {
	animation-delay: 1.2s;
	-webkit-animation-delay: 1.2s;
	-webkit-backface-visibility: hidden;
   -webkit-perspective: 1000;
}

.delay3 {
	animation-delay: 1.8s;
	-webkit-animation-delay: 1.8s;
	-webkit-backface-visibility: hidden;
   -webkit-perspective: 1000;
}
@media (max-width: 992px) {
/*Shift image
------------------------------------*/

#shift{
    width: 100%;
    height: 100%;
    background-position: center left;
	-webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

#shift2{
    width: 100%;
    height: 100%;
    background-position: center right;
	background-position: 35% 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

}

