/* Hero
============================================================================= */

.heroes {
	position:relative;
	clear:both;
	margin-top:-18px;
	background:#0e4a74;
}

.sticky .heroes {
	margin-top:-65px;
}

.alert-message + #main .heroes {
	margin-top:0;
}

.lt-ie9 .heroes {
	max-width:1170px;
	overflow:hidden;
	margin:0 auto;
}

.heroes ul {
	margin:0;
	list-style:none;
}

.heroes .slides {
	position:relative;
	z-index:13000;
}

.heroes > .slides > li:not(:first-child) {
	display:none;
}

.heroes:after {
	display:table;
	clear:both;
	content:"";
}

.heroes .hero {
	position:relative;
	max-height:720px;
	width:100%;
	overflow:hidden;
	background-position:50% 0;
	background-size:cover;
	background-repeat:no-repeat;
	color:#fff;
}

.hero.inverted .hero-content {
	color:#000;
}

.hero-bg {
	display:block;
	width:100%;
	opacity:0;
}

.hero-inner-inner {
	position:relative;
	max-width:1212px;
	height:100%;
	margin:0 auto;
	padding:100px 0 0;
}

.hero-content {
	margin:0 auto;
	font-size:13px;
	line-height:18px;
	text-align:center;
}

.hero-content h1,
.hero-content h2 {
	margin-bottom:20px;
	padding:0 32px;
	font-size:24px;
	line-height:30px;
	text-transform:uppercase;
	letter-spacing:1px;
}

.hero-content .text {
	padding:15px 20px 0;
	border-top:1px solid #fff;
	background:#0e4a74;
	color:#fff;
}

.hero-content p {
	margin-bottom:0;
	padding-bottom:15px;
}

.hero-content a {
	color:#fff;
}

.hero .btn {
	display:inline-block;
	position:relative;
	padding:13px 70px 13px 40px;
	border-color:#fff;
}

.hero .btn:hover,
.hero .btn:focus {
	background-color:#fff;
	color:#000;
}

/* Carousel nav
---------------------------------------- */
.carousel-nav {
	display:none;
}

ul.flex-direction-nav {
	width:0;
	height:0;
}

ul.flex-direction-nav li {
	position:absolute;
	top:80px;
	right:18px;
	z-index:14000;
	width:auto;
}

ul.flex-direction-nav li:first-child {
	right:auto;
	left:18px;
}

ul.flex-direction-nav a {
	display:block;
	position:relative;
	width:32px;
	height:32px;
	border-radius:50%;
	background:#fff;
	background:rgba(255, 255, 255, 0.3);
	color:transparent;
	font-size:0;
	-moz-transition:opacity 0.162s ease, background 0.162s ease;
	-webkit-transition:opacity 0.162s ease, background 0.162s ease;
	transition:opacity 0.162s ease, background 0.162s ease;
}

.no-touch ul.flex-direction-nav a {
	opacity:0;
}

.heroes:hover ul.flex-direction-nav a,
ul.flex-direction-nav a:focus {
	opacity:1;
}

ul.flex-direction-nav a:hover,
ul.flex-direction-nav a:focus {
	background:#fff;
	background:rgba(255, 255, 255, 0.6);
}

ul.flex-direction-nav a:before,
ul.flex-direction-nav a:after {
	position:absolute;
	top:50%;
}

ul.flex-direction-nav a:before {
	left:11px;
	margin-top:-8px;
}

ul.flex-direction-nav .flex-next:before {
	right:11px;
	left:auto;
}


@media only screen and (min-width: 992px) {
	.heroes {
		background:none;
	}
	.heroes .hero {
		min-height:430px;
	}
	.heroes .hero:after {
		display:block;
		padding-top:33.59375%;
		content:"";
	}
	.hero-inner {
		position:absolute;
		top:0;
		left:0;
		width:100%;
		height:100%;
	}
	.hero-inner-inner {
		display:table;
		padding:0 30px;
	}
	.hero-content {
		display:table-cell;
		vertical-align:middle;
	}
	.hero-content {
		max-width:830px;
		font-size:24px;
		line-height:30px;
		letter-spacing:1px;
	}

	.hero-content h1,
	.hero-content h2 {
		padding:0;
		font-size:48px;
		line-height:52px;
		letter-spacing:2px;
	}

	.hero-content .text {
		padding:0;
		border-top:0;
		background:none;
	}

	.hero.inverted .hero-content a,
	.hero.inverted .hero-content .text {
		color:#000;
	}

	/* Carousel nav
	---------------------------------------- */
	ul.flex-direction-nav li {
		top:50%;
		right:40px;
		margin-top:-38px;
	}

	ul.flex-direction-nav li:first-child {
		left:40px;
	}

	ul.flex-direction-nav a:before {
		content:none;
	}

	ul.flex-direction-nav a:after {
		margin-top:-24px;
		content:"";
	}

	ul.flex-direction-nav .flex-prev:after {
		left:22px;
	}

	ul.flex-direction-nav .flex-next:after {
		right:22px;
	}

	.carousel-nav {
		display:block;
		position:absolute;
		bottom:33px;
		left:0;
		z-index:14000;
		width:100%;
		height:15px;
		margin:0;
		list-style:none;
		text-align:center;
	}

	.carousel-nav li {
		display:inline-block;
		margin-right:13px;
	}

	.lt-ie8 .carousel-nav li {
		display:inline;
		zoom:1;
	}

	.carousel-nav button {
		position:relative;
		width:15px;
		height:15px;
		outline:none;
		border:2px solid #fff;
		border-radius:50%;
		opacity:0.3;
		filter:alpha(opacity=30);
		-moz-transition:opacity 0.162s ease, border-color 0.162s ease, background-color 0.162s ease;
		-webkit-transition:opacity 0.162s ease, border-color 0.162s ease, background-color 0.162s ease;
		transition:opacity 0.162s ease, border-color 0.162s ease, background-color 0.162s ease;
	}

	.heroes.inverted .carousel-nav button {
		border-color:#000;
	}

	.carousel-nav button:hover,
	.carousel-nav button:focus {
		opacity:0.6;
		filter:alpha(opacity=60);
	}

	.carousel-nav button.flex-active {
		background:#fff;
	}

	.heroes.inverted .carousel-nav button.flex-active {
		background:#000;
	}

	.carousel-nav button span {
		display:block;
		width:0;
		height:0;
		overflow:hidden;
		color:transparent;
		font-size:0;
		text-indent:120%;
		white-space:nowrap;
	}

	.carousel-nav button:not(.flex-active):hover > span,
	.no-touch .carousel-nav button:not(.flex-active):focus > span {
		opacity:1;
		-moz-transform:scale(1) translateY(0);
		-webkit-transform:scale(1) translateY(0);
		transform:scale(1) translateY(0);
	}

	.lt-ie9 .carousel-nav button:hover > span,
	.no-touch .lt-ie9 .carousel-nav button:focus > span {
		width:370px;
		overflow:visible;
		padding:24px 30px 22px;
	}

	.lt-ie9 .carousel-nav button.flex-active:hover > span,
	.no-touch .lt-ie9 .carousel-nav button.flex-active:focus > span {
		width:0;
		overflow:hidden;
		padding:0;
	}

	ul.flex-direction-nav a {
		width:76px;
		height:76px;
	}
}