/*
* 	Owl Carousel Owl Demo Theme 
*	v1.3.3
*/

.owl-theme .owl-controls{
	text-align: center;
	background:#1e4f68;
}

/* Styling Next and Prev buttons */

.owl-theme .owl-controls .owl-buttons div{
	color: #FFF;
	display: inline-block;
	zoom: 1;
	*display: inline;/*IE7 life-saver */
	margin: 5px;
	padding: 3px 10px;
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	background: #869791;
	filter: Alpha(Opacity=50);/*IE7 fix*/
	opacity: 0.5;
}
/* Clickable class fix problem with hover on touch devices */
/* Use it for non-touch hover action */
.owl-theme .owl-controls.clickable .owl-buttons div:hover{
	filter: Alpha(Opacity=100);/*IE7 fix*/
	opacity: 1;
	text-decoration: none;
}

/* Styling Pagination*/

.owl-theme .owl-controls .owl-page{
	display: inline-block;
	zoom: 1;
	*display: inline;/*IE7 life-saver */
}
.owl-theme .owl-controls .owl-page span{
	display: block;
	width: 12px;
	height: 12px;
	margin: 5px 15px;
	filter: Alpha(Opacity=50);/*IE7 fix*/
	/*opacity: 0.5;*/
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	/*background: #869791;*/
	background: #fff;
	border:2px solid rgba(255,255,255,0);
	
	position:relative;

}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
	filter: Alpha(Opacity=100);/*IE7 fix*/
	/*opacity: 1;*/
	display: block;
	width: 12px;
	height: 12px;
	background: #b41e27;
	border:2px solid #fff;

}

/* If PaginationNumbers is true */

.owl-theme .owl-controls .owl-page span.owl-numbers{
	height: auto;
	width: auto;
	color: #FFF;
	padding: 2px 10px;
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

/* preloading images */
.owl-item.loading{
	min-height: 150px;
	background: url(AjaxLoader.gif) no-repeat center center
}


/* HOMEPAGE SLIDESHOW */

#owl-demo .item img{
    display: block;
    width: 100%;
    height: auto;
	min-width:400px;}

.owlText {
	background:#1e4f68;
	padding:20px;
	text-align:center;
	color:#fff;
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;	
}
/* .no-rgba .owlText {background:rgb(149,64,69);} */	 /* IE8 */

.owl-carousel .owl-wrapper {background:#1e4f68;}	
	
.owlText h2 {font-size:30px; font-weight:normal; margin:0 0 .4em;}
.owlText p {display:none; }
.owlText a, .owlText a:visited {color:#fff; font-size:16px; border: 2px solid #fff; padding:9px 35px; display: inline-block; margin-top:10px;  text-decoration:none; font-family: 'Roboto Condensed', sans-serif; text-transform:uppercase; background:#24678e;
	-webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px;
}
.owlText a:hover, .owlText a:visited:hover,
.owlText a:focus, .owlText a:visited:focus {background:#7a7a7a;}
.owlText a span {display:none;}
.owl-item .item {display:block; position:relative;}
.owl-theme .owl-controls {/* background:#55151a; */ padding:10px 20px;}

/* ## 16px baseline (768px) m = medium ## */
@media only screen and (min-width:48em){
	.owlText {
		position:absolute; 
		bottom:0;
		left:0;
		height:400px;
		width:30%;
		padding:40px 20px 40px 30px;		
		
		text-align:left;
		background:rgba(23,67,92,0.9);
	}
	.owlText:after {
		position:absolute;
		content:"";
		top:0;
		right:-125px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 400px 125px 0 0;		
		border-color: rgba(23,67,92,0.9) transparent transparent transparent;		  
	}
	
	.owlText h2 {font-size:30px;}
	.owlText p {display:block; line-height: 1.2; font-size:16px; margin: 0 0 0.5em;}
	.owlText a, .owlText a:visited {font-size:18px; padding:12px 40px;}
	
	.owl-theme .owl-controls {
		position:absolute; 
		bottom:0;
		right:0;
		width:30%;
		padding:5px 20px 30px 20px;
		background:none;
	}	
}

@media only screen and (min-width:60em){
	.owlText h2 {font-size:32px;}
	.owlText p {font-size:16px; }
}
@media only screen and (min-width:75em){
	.owlText {
		height:275px;
		width:600px;
	}
	.owlText:after {
		right:-80px;
		border-width: 275px 80px 0 0;
	}	
	
	.owlText h2 {font-size:43px;}
	.owlText p {font-size:18px; }
}
@media only screen and (min-width:95em){
	.owl-theme .owl-controls {width:50%;}
}	
@media only screen and (min-width:100em){
	.owl-theme .owl-controls {width:100%;}
}

@media only screen and (max-width:47.938em){
	.owl-item .item {padding-top:256px; overflow: hidden;}
	.owl-item .item img {
		position:absolute;
		width:768px !important;
		min-width:768px !important;

		top:0;
		right:50%;
		margin-right:-384px;
	}
}
@media only screen and (min-width:48em) and (max-width:74.938em){
	.owl-item .item {padding-top:400px; overflow: hidden;}
	.owl-item .item img {
		position:absolute;
		width:1200px !important;
		min-width:1200px !important;

		top:0;
		right:50%;
		margin-right:-600px;
	}
	
	.owl-theme .owl-controls .owl-page span{
		margin: 5px 10px;
	}	
}	