/* CSS Document */

.break {
	margin: 0px 25px;
}

/* HERO NAV STYLES */

.hero {
	position: relative;
	max-width: 480px;
	margin: 0px auto;
}

.hero .photo:after {
	content: '';
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	box-shadow: inset 0px -20px 150px 0px rgba(0,0,0,0.8);
}

.hero .cta {
	position: absolute;
	font-family: 'Roboto Slab', sans-serif;
	left: -5px;
	bottom: 60px;
	font-size: 15px;
	font-weight: bold;
	text-transform: uppercase;
	background: #0077B8;
	border-radius: .25em;
}

.hero .cta h3 {
	font-size: 15px;
	margin: 3px 0px;
}

.hero .cta h3 a {
	text-decoration: none;
	color: #fff !important;
	padding: 0px 15px 0px 10px;
}

.hero .description {
	position: absolute;
	left: 10px;
	bottom: 10px;
	font-size: 14px;
	line-height: 1.2;
	color: #fff;
	width: 90%;
	text-align: left;
	line-height: 1.5;
	veritical-align: top;
	height: 3em;
}

.hero .description a {
	text-decoration:  none;
	color: #fff !important;
	display: block;
}

.hero .double-chevron {
	position: absolute;
	right: 5px;
	bottom: 0px;
	font-size: 36px;
	color: #fec231 !important;
}

.hero .double-chevron a {
	color: #fec231 !important;
}


/* CAROUSEL STYLES */

.row-carousel {
	margin: 0px;
}

.row-carousel .col-xs-12 {
	padding: 0px;
}

.carouselNode {
	padding: 0px 5px 0px 5px;
	font-size: 16px;
	font-weight: normal !important;
	line-height: 1.4;
}

.nav-carousel {
	position: relative;
	padding: 0px 10px 0px 10px;
	margin: 0px 0px 40px 0px;
}

.nav-carousel a {
	color: #353734;
}

.advertisement {
	padding-left: 15px;
	padding-right: 15px;
	background: none;
}

.nav-carousel .advertisement {
	padding-left: 0px;
	padding-right: 0px;
}

.sub-container h3 {
	color: #00447d;
	text-transform: uppercase;
	margin: 0px 0px 10px 15px;
	line-height: 1.2;
}

.nav-carousel .entry-thumbnail img {
	width: 100%;
}

.nav-carousel a.post-title {
	font-family: 'Roboto Slab', sans-serif;
	font-size: 20px;
	font-weight: normal;
	line-height: 1.4;
}

/*.owl-controls {
	display: none !important;
	can't do this because it is dynamic based on number of items in carousel
}*/


/* OWL THEME */

.owl-carousel .owl-buttons div{
	color: #FFF;
	display: inline-block;
	zoom: 1;
	*display: inline;/*IE7 life-saver */
	margin: 5px;
	padding: 1px 7px;
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	background: none;
	filter: Alpha(Opacity=100); /*IE7 fix*/
	opacity: 1;
}
/* 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 7px;
	filter: Alpha(Opacity=50); /*IE7 fix*/
	opacity: .5;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background: #c2cbc8;
}

.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;
}

.owl-theme .owl-controls .owl-buttons div {
	filter: Alpha(Opacity=80); /*IE7 fix*/
	opacity: .8;
}

/* 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
}

#owl-demo .owl-item > div img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-bottom:4px;
}

#owl-demo .owl-item > div{
  background : #42bdc2;
  text-align: center;
  padding:50px 0px;
  margin:3px;
  color: white;
  font-size:32px;
  border:1px white;
}

.wrapper-with-margin{
  margin:0px 50px;
}

 
.nav-carousel .owl-custom-buttons div {
  position: absolute;
}
 
.nav-carousel .owl-custom-buttons .owl-prev{
  left: -10px;
  top: 34%;
	cursor: pointer;
}
 
.nav-carousel .owl-custom-buttons .owl-next{
  right: -10px;
  top: 34%;
	cursor: pointer;
}

.owl-pagination {
	display: none;
}

.ad-container {
	margin: 0px auto 40px auto;
	max-width: 300px;
}

/* REPONSIVE STYLES */

@media (min-width: 768px) {
	
	.hero .cta {
		font-size: 14px;
	}
	
	.hero .cta h3 {
		font-size: 14px;
	}
	
	.nav-carousel {
		border: 1px solid #ebebeb;
	}
	
	.sub-container h3 {
		margin: 10px 0px 10px 25px;
	}
	
	.carouselNode {
		padding: 0px 15px 0px 15px;
		font-size: 16px;
		font-weight: normal !important;
		line-height: 1.4;
	}
	
	.nav-carousel .owl-custom-buttons .owl-prev {
		left: 0px;
		top: 39%;
	}
	 
	.nav-carousel .owl-custom-buttons .owl-next {
		right: 0px;
		top: 39%;
	}
	
	#carousel1 .owl-custom-buttons .owl-next {
		right: -5px;
	}
	
	.owl-pagination {
		display: block;
	}
	
	.ad-container {
		width: 318px;
		height: 265px;
		max-width: 500px;
		/*background: #ebebeb;*/
	}
	
	.advertisement {
		padding-top: 7px;
		padding-right: 0px;
		padding-left: 0px;
	}
}

@media (min-width: 992px) {

	.ad-container {
		width: 272px;
		height: 227px;
	}
	
	.advertisement {
		padding-top: 0px;
	}
	
	.nav-carousel {
		margin-bottom: 0px;
	}
}

@media (min-width: 1200px) {
	
	.hero .cta {
		font-size: 16px;
	}
	
	.hero .cta h3 {
		font-size: 16px;
	}
	
	.hero .description {
		font-size: 14px;
	}
	
	.ad-container {
		width: 342px;
		height: 285px;
		border: 1px solid #d3d3d3;
	}
	
	.advertisement {
		padding-top: 17px;
		padding-bottom: 17px;
	}
}

@media (min-width: 1400px) {

	.ad-container {
		width: 352px;
		height: 293px;
	}
	
	/*.advertisement {
		padding-top: 21px;
	}*/
}