/*
* 	Owl Carousel - BrockU Theme
*	by S.M.
*/


/* Font */
@font-face {
  font-family: 'AlfaSlabOne-Regular';
  src: url('../font/AlfaSlabOne-Regular.eot');
  src:	url('../font/AlfaSlabOne-Regular.eot?#iefix') format('embedded-opentype'),
		url('../font/AlfaSlabOne-Regular.woff') format('woff'),
		url('../font/AlfaSlabOne-Regular.ttf')  format('truetype');
  font-weight: normal;
  font-style: normal;
}


/* Carousel
----------------------- */

#carousel-container {
	position: relative;
	}

#carousel {
	margin: 0 auto;
	width: 100%;
	height: 800px;
	}
#carousel .slide {
	position: relative;
	height: 800px;
	overflow: hidden;
	z-index: 100;
	text-align: right;
	}
	#carousel .slide .slide-overlay {
		padding: 8em 0 0 8em; padding-left: 7vw;
		position: absolute;
		top: 0; bottom: 0; left: 0;
		width: 45%;
		z-index: 101;
		opacity: 1 !important;
		text-align: left;
		background-color: #cc0000;
/* 		background-color: rgba(204, 0, 0, .80); */
		}
		
		/* alfa */ /*		
		#carousel .slide .slide-overlay h2 {
			margin: 0;
			font-family: AlfaSlabOne-Regular, "Trebuchet MS", sans-serif;
			letter-spacing: 0.03em;
			line-height: 100%;
			}
				
		#carousel .slide .slide-overlay p {
			margin: 0 0 .5em 0;
			font-family: AlfaSlabOne-Regular, "Trebuchet MS", sans-serif;
			letter-spacing: 0.03em;
			line-height: 100%;
			} */
		
		/* Bliss */				
		#carousel .slide .slide-overlay h2 {
			margin: 0;
			font-family: "Bliss Bold", "Trebuchet MS", sans-serif;
			font-weight: bold;
			letter-spacing: 0.0;
			line-height: 100%;
			}
				
		#carousel .slide .slide-overlay p {
			margin: 30px 0 .5em 0;
			font-family: "Bliss Bold", "Trebuchet MS", sans-serif;
			font-weight: bold;
			letter-spacing: 0.0;
			line-height: 100%;
			}	
		
		#carousel .slide .slide-overlay a {
			margin: 30px 0 0 0; padding: .9em 1.4em;
			display: inline-block;
			text-transform: uppercase;
			letter-spacing: .05em;
			text-decoration: none;
			background: #fff;
			-webkit-transition: background-color .1s ease-out;
				-ms-transition: background-color .1s ease-out;
			   -moz-transition: background-color .1s ease-out;
			     -o-transition: background-color .1s ease-out;
		    		transition: background-color .1s ease-out;
			}

			#carousel .slide .slide-overlay a span {
				margin-left: 8px;
				}

	#carousel .slide a.image:hover { cursor: -webkit-grab; cursor: -moz-grab; }
	#carousel .slide a.image:active { cursor: -webkit-grabbing; cursor: -moz-grabbing; }
	#carousel .slide a.image:focus {
		outline: solid;
		}
		#carousel .slide img {
			width: 100%;
			height: auto !important;
			}
		#carousel .slide.overlay img {
			width: 55%; /* if we have an overlay, slide is only 55% wide */
			}

	/* Emergencies */
	#carousel .slide .slide-overlay.top { left: 0; top: 50px; bottom: auto; width: 100%; height: auto; background: #cc0000 !important; color: #fff !important; }

	/* Colours */
	#carousel .slide .slide-overlay h2 { color: #fff !important; }
	#carousel .slide .slide-overlay p { color: #fff !important; }
	#carousel .slide .slide-overlay a { color: #fff !important; background: #000 !important; }
	#carousel .slide .slide-overlay a:hover { color: #000 !important; background: #fff !important; }
	
	
	/* Font size */
		
	#carousel .slide .slide-overlay h2.large { font-size: 4.5em; font-size: 4.5vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.large { font-size: 3.2em; font-size: 3.2vw; }
	
	#carousel .slide .slide-overlay h2.medium { font-size: 3.7em; font-size: 3.7vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.medium { font-size: 2.3em; font-size: 2.3vw; }
	
	#carousel .slide .slide-overlay h2.small { font-size: 3.2em; font-size: 3.2vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.small { font-size: 1.8em; font-size: 1.8vw; }
	
	#carousel .slide .slide-overlay a { font-size: 1.2em; font-size: 1.2vw; }

/* video */

#carousel .slide video {
	position: relative;
/* 	height: 100%; */
	width: 100%;
/* 	max-height: 100%; */
	max-width: 100%;
	overflow: hidden;
	z-index: 100;
	}
			

/* Custom Controls
----------------------- */

#play_pause_wrapper {
	/* Carousel's margin is 20px */
	}

/* Prev / Next
----------------------- */

#custom_prev_button:focus,
#custom_prev_button:hover {
	outline: none;
	background-color: rgba(0,0,0,0.2);
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.25+0,0+100 */
background: -moz-linear-gradient(left,  rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */

	}
#custom_next_button:focus,
#custom_next_button:hover {
	outline: none;
	background-color: rgba(0,0,0,0.2);
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.25+100 */
background: -moz-linear-gradient(left,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.25) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.25) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#40000000',GradientType=1 ); /* IE6-9 */
	}
#custom_prev_button:focus span.fa,
#custom_next_button:focus span.fa {
	color: #fff;
	}
#play_pause_wrapper #custom_prev_button {
	padding: 0 40px 0 20px;
	position: absolute;
	left: 0; top: 0;
	height: 100%;
	width: 100px;
	display: inline-block;
	*display: inline;/*IE7 life-saver */
	display: inline;
	text-align: center;
	z-index: 101;
	text-decoration: none;
	-webkit-transition: background-color .1s ease-out;
		-ms-transition: background-color .1s ease-out;
	   -moz-transition: background-color .1s ease-out;
	     -o-transition: background-color .1s ease-out;
		    transition: background-color .1s ease-out;
	-webkit-transition: background .1s ease-out;
		-ms-transition: background .1s ease-out;
	   -moz-transition: background .1s ease-out;
	     -o-transition: background .1s ease-out;
		    transition: background .1s ease-out;
	}
#play_pause_wrapper #custom_next_button {
	padding: 0 20px 0 40px;
	position: absolute;
	right: 0; top: 0;
	height: 100%;
	width: 100px;
	display: inline-block;
	*display: inline;/*IE7 life-saver */
	display: inline;
	text-align: center;
	z-index: 101;
	text-decoration: none;
	-webkit-transition: background-color .1s ease-out;
		-ms-transition: background-color .1s ease-out;
	   -moz-transition: background-color .1s ease-out;
	     -o-transition: background-color .1s ease-out;
		    transition: background-color .1s ease-out;
	}
	#custom_prev_button span,
	#custom_next_button span { display: none; }
	
#custom_prev_button span.fa,
#custom_next_button span.fa {
	position: relative;
	display: inherit;
	top: 43%;
	color: #fff;
	font-size: 5em;
	-webkit-transition: color .2s ease-out;
		 -o-transition: color .2s ease-out;
		-ms-transition: color .2s ease-out;
	   -moz-transition: color .2s ease-out;
	    	transition: color .2s ease-out;
	}
#custom_prev_button:hover span.fa { color: #dc0000; }
#custom_next_button:hover span.fa { color: #dc0000; }


/* Read More
----------------------- */
/* This link will be used via keyboard only. Therefore it behaves like the accessibility skipnav links */
#custom_readmore_button {
	position: absolute;
	left: 0; bottom: 0;
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px; height: 1px;
	overflow: hidden;
	}
#custom_readmore_button:focus {
	left: 100px; bottom: 0;
	width: auto; height: auto;
	padding: 8px 20px 2px 20px;
	text-align: left;
	background: #fff;
	color: #585858 !important;
	font-size: 1em;
	text-decoration: none;
	}
	#custom_readmore_button .fa {
		margin-left: 3px;
		}

/* Play / Pause
----------------------- */

#play_pause_button {
	padding: 10px 10px 2px 20px;
	position: absolute;
	display: block;
	left: 0; bottom: 0;
	width: 100px;
	background: #fff;
	z-index: 102;
	text-transform: uppercase;
	letter-spacing: .05em;
	text-decoration: none !important;
	color: #585858 !important;
	font-size: .9em;
	
	/* floating style */
	width: auto;
	color: #fff !important;
	background: transparent;
	left: 15px; top: 15px; bottom: auto;
	padding: 10px 10px 10px 10px;
	}
	#play_pause_button:hover { 
		color: #cc0000 !important;
		
		/* floating style */
		color: #fff !important;
		background: #000000;
		}
	#play_pause_button .fa {
		margin-left: 3px;
		}

/* Pagination
----------------------- */

.owl-controls .owl-pagination {
	padding: 5px 10px 0 10px;
	position: absolute;
	bottom: 0; right: 0;
	background: #fff;
	z-index: 102;
	
	/* floating style */
	top: 15px; right: 10px; bottom: auto;
	background: transparent;
	}
.owl-controls .owl-dots .owl-dot,
.owl-controls .owl-page {
	display: inline-block;
	zoom: 1;
	*display: inline;/*IE7 life-saver */
	}
.owl-controls .owl-dots .owl-dot span,
.owl-controls .owl-page span {
	display: block;
	width: 15px;
	height: 15px;
	margin: 5px 7px 0 7px;
	border-radius: 0;
	background: #fff;
	}

.owl-controls .owl-page.active span {
	background: #cc0000 !important;
	}

.owl-controls.clickable .owl-page span:hover {
	background: #cc0000 !important;
	}

/* If PaginationNumbers is true */

.owl-controls .owl-dots .owl-dot span.owl-numbers,
.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;
}


/* All screens except
   mobile
----------------------- */
@media only screen 
and (min-width : 841px) {
	
#carousel {
	display: block !important; background: #fff !important; overflow: hidden !important; /* ensure that carousel shows the first picture instantly on page load */
	}
	
}

/* Large Screen desktops
----------------------- */

@media only screen 
and (min-width : 1701px) {
	
	/* Default. */
			
}


/* Medium Screen desktop
----------------------- */

@media only screen 
and (min-width : 1401px) and (max-width: 1700px) { /*  */
	
	#carousel .slide .slide-overlay {
		padding: 6em 0 0 7em;
		}
		
	#carousel, #carousel .slide { height: 600px; }
	
	/* Font size */
	
	#carousel .slide .slide-overlay h2.large { font-size: 3.8em; font-size: 3.8vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.large { font-size: 3.6em; font-size: 3.6vw; }
	
	#carousel .slide .slide-overlay h2.medium { font-size: 3.2em; font-size: 3.2vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.medium { font-size: 2.8em; font-size: 2.8vw; }
	
	#carousel .slide .slide-overlay h2.small { font-size: 2.3em; font-size: 2.3vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.small { font-size: 2em; font-size: 2vw; }
	
	#carousel .slide .slide-overlay a { font-size: 1.2em; font-size: 1.2vw; }
		
}


/* Small Screen desktop
----------------------- */

@media only screen 
and (min-width : 1115px) and (max-width: 1400px) { /*  */
	
	#carousel .slide .slide-overlay {
		padding: 6em 0 0 5em;
		}
		
	#carousel, #carousel .slide { height: 600px; }
	
	/* Font size */
	
	#carousel .slide .slide-overlay h2.large { font-size: 3.8em; font-size: 3.8vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.large { font-size: 3.6em; font-size: 3.6vw; }
	
	#carousel .slide .slide-overlay h2.medium { font-size: 3.2em; font-size: 3.2vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.medium { font-size: 2.8em; font-size: 2.8vw; }
	
	#carousel .slide .slide-overlay h2.small { font-size: 2.3em; font-size: 2.3vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.small { font-size: 2em; font-size: 2vw; }
	
	#carousel .slide .slide-overlay a { font-size: 1.2em; font-size: 1.2vw; }

		
}

/* Tablet
----------------------- */

@media only screen 
and (min-width : 841px) and (max-width: 1114px) { /* previously 691px min */

	#carousel .slide .slide-overlay {
		padding: 4em 0 0 5em;
		}
	
	#carousel, #carousel .slide { height: 500px; }
	
	/* Font size */
	
	#carousel .slide .slide-overlay h2.large { font-size: 4.2em; font-size: 4.2vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.large { font-size: 3.8em; font-size: 3.8vw; }
	
	#carousel .slide .slide-overlay h2.medium { font-size: 3.6em; font-size: 3.6vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.medium { font-size: 3.2em; font-size: 3.2vw; }
	
	#carousel .slide .slide-overlay h2.small { font-size: 2.6em; font-size: 2.6vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.small { font-size: 2.2em; font-size: 2.2vw; }
	
	#carousel .slide .slide-overlay a { font-size: 1.2em; font-size: 1.2vw; }


}


/* Mobile
----------------------- */

@media only screen 
and (max-width: 840px) { /*  */

	#carousel { height: auto !important; }
	
	#carousel .owl-item,
	#carousel .owl-item .slide,
	#carousel .owl-item .slide a { height: auto !important; }
	#carousel .owl-item .slide { margin-bottom: -4px !important; }
	
	#custom_prev_button, #custom_next_button, #play_pause_button { display: none !important; }
	
	#carousel .slide .slide-overlay {
		padding: 2em 0 0 4vw; margin-top: -4px !important;
		}
	
	#carousel .slide .slide-overlay h2 { margin: 0 10px 0 0; line-height: 110%; }
	#carousel .slide .slide-overlay p { margin: 10px 10px .5em 0; }
	#carousel .slide .slide-overlay a { margin: 15px 0 0 0; }
			
	.owl-controls .owl-pagination { top: auto; bottom: 8px; right: 2px; height: 30px; background: transparent; }
	
	.owl-controls .owl-dots .owl-dot span,
	.owl-controls .owl-page span {
		display: block;
		width: 10px;
		height: 10px;
		margin: 5px 6px 0 6px;
		border-radius: 0;
		background: #fff;
		}
	
	.owl-controls .owl-page span { background: #fff; }
	
	/* Font size */
	
	#carousel .slide .slide-overlay h2.large { font-size: 5em; font-size: 5vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.large { font-size: 5em; font-size: 5vw; }
	
	#carousel .slide .slide-overlay h2.medium { font-size: 4.5em; font-size: 4.5vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.medium { font-size: 4.5em; font-size: 4.5vw; }
	
	#carousel .slide .slide-overlay h2.small { font-size: 3.5em; font-size: 3.5vw; margin-bottom: 0; }
	#carousel .slide .slide-overlay p.small { font-size: 3.5em; font-size: 3.5vw; }
	
	#carousel .slide .slide-overlay a { font-size: 2.4em; font-size: 2.4vw; }
	
	
}