/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
*/

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
*/

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
*/

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
*/

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
*/

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
*/

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: 'galaxie_polarisbook';
    src: url('../files/polaris/polaris_v2_book-webfont.eot');
    src: url('../files/polaris/polaris_v2_book-webfont.eot?#iefix') format('embedded-opentype'),
		url('../files/polaris/polaris_v2_book-webfont.woff') format('woff'),
		url('../files/polaris/polaris_v2_book-webfont.ttf') format('truetype'),
		url('../files/polaris/polaris_v2_book-webfont.svg#galaxie_polarisbook') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'galaxie_polarisbold';
    src: url('../files/polaris/polaris_v2_bold-webfont.eot');
    src: url('../files/polaris/polaris_v2_bold-webfont.eot?#iefix') format('embedded-opentype'),
		url('../files/polaris/polaris_v2_bold-webfont.woff') format('woff'),
		url('../files/polaris/polaris_v2_bold-webfont.ttf') format('truetype'),
		url('../files/polaris/polaris_v2_bold-webfont.svg#galaxie_polarisbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'galaxie_polarismedium';
    src: url('../files/polaris/polaris_v2_medium-webfont.eot');
    src: url('../files/polaris/polaris_v2_medium-webfont.eot?#iefix') format('embedded-opentype'),
		url('../files/polaris/polaris_v2_medium-webfont.woff') format('woff'),
		url('../files/polaris/polaris_v2_medium-webfont.ttf') format('truetype'),
		url('../files/polaris/polaris_v2_medium-webfont.svg#galaxie_polarismedium') format('svg');
    font-weight: normal;
    font-style: normal;

}

* {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
	/*	padding: 30px 10px;*/
	font-size: 20px;
	line-height: 1.4;
	color: #737373;
	background: #f8f8f6;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	height: 100%;
}

body {
	height: 100%;
	padding: 0;
	margin: 0;
}

a {
	color: #b93417;
}

a:visited {
	color: #bbb9a0;
}

a.sub
    {font-size: 0.7em;
    }

h1 {
	color: #474539;
	font-family: 'galaxie_polarismedium';
	letter-spacing: 2px;
	padding: 0;
	margin: 0 0 20px 0;
	font-weight: normal;
	font-size: 1.3em;
}

@media (max-width: 480px) {
	h1 {
		font-size: 15px;
		margin-bottom: 15px;
	}
}

h2 {
	color: #474539;
	font-family: 'galaxie_polarismedium';
	letter-spacing: 2px;
	padding: 0;
	margin: 0 0 20px 0;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.1em;
}

h3 {
	color: #474539;
	font-family: 'galaxie_polarismedium';
	padding: 0;
	letter-spacing: 1px;
	margin: 0 0 20px 0;
	font-weight: normal;
	font-size: 20px;
}

.grid-unit--col3 h3 {
	margin-bottom: 7px;
	font-size: 20px;
}

h4 {
	color: #000;
	font-family: 'galaxie_polarismedium';
	padding: 0;
	letter-spacing: 1px;
	margin: 0 0 15px 0;
	font-weight: normal;
	font-size: 15px;
}

h7 {
	color: #474539;
	font-family: 'galaxie_polarismedium';
	letter-spacing: 2px;
	padding: 0;
	margin: 0 0 20px 0;
	font-weight: normal;
	font-size: 1.1em;
}




p {
	color: #474539;
	padding: 0;
	margin: 0 0 15px 0;
	font-size: 13px;
	line-height: 1.5em;
}

img {
	max-width: 100%;
}

iframe {
	max-width: 100%;
}

.slidesjs-container,
#backdrop {
	position: fixed;
	left: 0;
	top: 0;
	overflow: hidden;
	height: 100%;
	width: 100%;
	z-index: -999;
}

.slidesjs-container,
.slidesjs-control {
	height: 100% !important;
	width: auto !important;
}
.slidesjs-control img {
	height: 100% !important;
}

.preloaded-image-sprite.visual1 {
	display: none;
	background-size: 1920px 1280px;
	width: 1920px;
	height: 1280px;
	background-image: url(../img/backdrop_newhorizons_01.jpg);
}
.preloaded-image-sprite.visual2 {
	display: none;
	background-size: 1920px 1280px;
	width: 1920px;
	height: 1280px;
	background-image: url(../img/backdrop_newhorizons_02.jpg);
}
.preloaded-image-sprite.visual3 {
	display: none;
	background-size: 1920px 1280px;
	width: 1920px;
	height: 1280px;
	background-image: url(../img/backdrop_newhorizons_03.jpg);
}

.container.home {
	height: 100%;
}
.container-horizontal-center {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.page-title {
	width: 100%;
	transform: translateY(-24px);
	position: relative;

}

.page-title h1 {
	color: #fff;
	font-size: 80px;
	letter-spacing: 8px;
	text-align: center;
	width: 100%;
	margin-bottom: 0;
	line-height: 1;
}

.page-title h2 {
	color: #fff;
	font-size: 27px;
	letter-spacing: 4px;
	/* position: absolute;
	top: 20%;
	margin-top: -62px; */
	text-align: center;
	width: 100%;
	margin-bottom: 0;
}

.page-title h1 a {
	color: #fff;
	text-decoration: none;
}

.page-title h1 a:visited {
	color: #fff;
	text-decoration: none;
}

.page-title h2 a {
	color: #fff;
	text-decoration: none;
}

.page-title h2 a:visited {
	color: #fff;
	text-decoration: none;
}

.page-title h2 a:active {
	color: #fff;
	text-decoration: none;
}

.page-home-payoff {
	display: none;
	top: 100%;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	/* max-width: 700px; */
	/* top: 100px; */
	text-align: center;
	position: absolute;
}

.page-home-intro {
	display: none;
	bottom: 100%;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	/* max-width: 700px; */
	/* top: 100px; */
	text-align: center;
	position: absolute;
}

.page-home-payoff p, .page-home-intro p {
	color: #fff;
}

@media (max-width: 480px) {
	.page-home-intro p,
	.page-home-payoff p {
		font-size: 11px;
	}
}

.page-home-intro p a,
.page-home-intro p a:hover,
.page-home-intro p a:visited,
.page-home-intro p a:link,
.page-home-payoff p a,
.page-home-payoff p a:hover,
.page-home-payoff p a:visited,
.page-home-payoff p a:link {
	color:#fff;
	text-decoration: none;
}

@media (max-width: 730px) {
	.page-title h1 {
		font-size: 70px;
	}
}
@media (max-width: 660px) {
	.page-title h1 {
		font-size: 50px;
	}
}

@media (max-width: 480px) {
	.page-title h1 {
		font-size: 25px;
		top: 30%;
	}
}

.slidesjs-pagination,
.carrousel-dots {
	width: 100%;
	text-align: center;
	position: fixed;
	bottom: 50px;
	margin: 0;
	padding: 0;
}

.slidesjs-pagination-item,
.carrousel-dots li {
	display: inline-block;
	margin: 0 10px;
}

.slidesjs-pagination-item a,
.carrousel-dots li a {
	display: block;
	width: 14px;
	height: 14px;
	border-radius: 7px;
	background-color: rgba(255, 255, 255, 0.3);
	text-decoration: none;
	overflow: hidden;
	text-indent: -9999px;
}

.slidesjs-pagination-item a.active,
.carrousel-dots li.active a {
	background-color: rgba(255, 255, 255, 0.7);
}

.carrousel-lightbox {
	position: relative;
}

.carrousel-lightbox-slide {
	display: none;
}

.carrousel-lightbox-slide.active {
	display: block;
}

.carrousel-lightbox-left {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 70px;
	height: 100%;
	background: url('../img/prev.png') no-repeat 0 50%;
	z-index: 100;
	text-decoration: none;
}

.carrousel-lightbox-right {
	position: absolute;
	top: 0;
	right: 0;
	width: 70px;
	height: 100%;
	background: url('../img/next.png') no-repeat 100% 50%;
	z-index: 100;
	text-decoration: none;
}

.slidesjs-navigation {
	display: none !important;

}

.main-navigation {
	box-sizing: border-box;
	position: fixed;
	top: 50px;
	left: 0px;
	background-color: #fff;
	padding: 0 55px 0 20px;
	height: 40px;
	line-height: 40px;
	overflow: hidden;
	-webkit-box-shadow:	0px 0px 10px rgba(0, 0, 0, 0.5);
	-moz-box-shadow:	0px 0px 10px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);

}

.main-navigation {
	opacity: 1;
}

.main-navigation ul {
	margin: 0;
	padding: 0;
}

.main-navigation li {
	display: inline-block;
	margin: 0 0 0 20px;
	font-size: 0.8em;
}

.main-navigation li:first-child {
	margin: 0;
}

.main-navigation a {
	text-decoration: none;
	color: #000;
	letter-spacing: 1px;
}

.main-navigation-icon {
	position: absolute;
	width: 34px;
	height: 40px;
	/*border-left: 1px solid #bbb;*/
	background-color: #fff;
	right: 0;
	top: 0;
	background: transparent url('../img/icon-menu.png') no-repeat 50% 50%;
	-webkit-box-shadow:	0px 0px 10px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:	0px 0px 10px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 990px) {
	.main-navigation {
		top: 25px;
	}
}

@media (max-width: 480px) {
	.main-navigation {
		top: 15px;
		width: 100%;
		overflow: visible;
		padding: 0;
	}

	.main-navigation li {
		display: block;
		background-color: #fff;
		margin: 0;
		padding: 0 0 0 20px;
	}

	.main-navigation.closed ul {
		display: none;
	}
}

.content {
	background-color: #fff;
	padding: 40px 45px;
	width: 990px;
	margin: 130px auto 0 auto;
	box-sizing: border-box;
}

@media (max-width: 990px) {
	.content {
		width: 100%;
		margin-top: 90px
	}
}

@media (max-width: 480px) {
	.content {
		/*width: 100%;*/
		padding: 15px;
	}
}

.content--fullwidth {
	width: 100%;
	padding: 40px 0;
}

.grid {
	width: 100%;
}

.grid--wide {
	width: auto;
	margin-left: -45px;
}

.grid-unit {
	float: left;
}

.grid-unit--main {
	width: 580px;
}

@media (max-width: 990px) {
	.grid-unit--main {
		width: 55%;
	}
}

@media (max-width: 720px) {
	.grid-unit--main {
		width: auto;
		float: none;
	}
}

@media (max-width: 480px) {
	.grid-unit--main {
		width: auto;
		float: none;
	}
}

.grid-unit--aside {
	float: right;
	width: 250px;
}

@media (max-width: 720px) {
	.grid-unit--aside {
		float: none;
		width: auto;
	}
}

@media (max-width: 480px) {
	.grid-unit--aside {
		float: none;
		width: auto;
	}
}

.grid-unit--col3 {
	width: 33.3%;
	box-sizing: border-box;
	padding-left: 45px;
}

@media (max-width: 480px) {
	.grid-unit--col3 {
		float: none;
		width: auto;
	}
}

.img {
	max-width: 100%;
	margin-bottom: 0px;
}

.img--float {
	float: left;
	margin: 0 0 0 0;
}

.block {
	margin-bottom: 30px;
}

.block--gray {
	background-color: #f7f4ed;
	padding: 15px;
}

@media (max-width: 480px) {
	.block--gray {
		margin-bottom: 15px;
	}
}

.footnote {
	color: #bbb;
	font-size: 10px;
	margin-top: 30px;
}

.content--fullwidth .footnote {
	padding: 0 30px;
	color: #000;
}

.facts {
	font-size: 13px;
	margin-bottom: 30px;
}

.facts dt {
	float: left;
	font-weight: bold;
	color: #000;
}

.facts dd {
	margin-left: 20%;
	color: #000;
}

.list {
	margin: 0 0 30px 0;
	padding: 0 0 0 20px;
}

.list li {
	font-size: 13px;
}

.list--linked {
	list-style: none;
	padding: 0;
}

.list--linked li {
	padding: 0 0 0 10px;
}

.list--linked li:before {
	content: '';
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid black;
	display: inline-block;
	position: relative;
	left: -10px;
}

.field--text,
.field--textarea {
	margin-bottom: 10px;
}

.field--btn {
	margin-bottom: 30px;
}

.label--text {
	float: left;
	width: 120px;
	font-size: 12px;
	color: #000;
	padding-top: 8px;
	padding-left:10px;
}

.label--textarea {
	font-size: 12px;
	color: #000;
	padding-top: 8px;
}

.label--checkbox {
	font-size: 12px;
	color: #000;
	padding-top: 8px;
	width:500px;
	display: inline-block;
}

.input--text,
.input--textarea {
	border: 1px solid #000;
	padding: 5px;
	font-size: 12px;
	width: 350px;
	color: #b77464;
	background: #FFF;
}

.input--text-small {
	width: 150px;
}

.input--textarea {
	height: 150px;
}

.input--textarea-full {
	width: 100%;
	height: 100px;
}


.input--submit {
	font-size: 13px;
	padding: 5px 10px;
}

.field--btn .input--submit {
	margin-left: 150px;
}

.btn {
	text-decoration: none;
}

.btn--next, .btn--next:visited {
	background-color: #f8f8f6;
	display: inline-block;
	padding: 5px 10px;
	color: #b93417;
	font-weight: bold;
	position: relative;
	padding-right: 20px;
	-webkit-box-shadow:	0px 0px 5px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:	0px 0px 5px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

.btn--next:after {
	content: '';
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid #b93417;
	display: inline-block;
	position: absolute;
	right: 8px;
	top: 11px;
}

.btn--big {
	font-size: 17px;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
*/

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
*/

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
*/

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
*/

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
*/

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
	*/

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
