@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900");
@import url("fontawesome-all.min.css");

/*
	Big Picture by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, 
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, 
caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary, 
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	-webkit-text-size-adjust: none;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input, select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

/* Basic */
@-ms-viewport {
	width: device-width;
}

html {
	height: 100%;
}

html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body {
	/*background: #00356a;*/
	background: rgb(0, 25, 49);
	height: 100%;
	min-width: 320px;
}

body.is-preload *, body.is-preload *:before, body.is-preload *:after {
	-moz-animation: none !important;
	-webkit-animation: none !important;
	-ms-animation: none !important;
	animation: none !important;
	-moz-transition: none !important;
	-webkit-transition: none !important;
	-ms-transition: none !important;
	transition: none !important;
}

/* Spinner */

@-moz-keyframes spinner-rotate {
	0% {
		-moz-transform: scale(1) rotate(0deg);
		-webkit-transform: scale(1) rotate(0deg);
		-ms-transform: scale(1) rotate(0deg);
		transform: scale(1) rotate(0deg);
	}

	100% {
		-moz-transform: scale(1) rotate(360deg);
		-webkit-transform: scale(1) rotate(360deg);
		-ms-transform: scale(1) rotate(360deg);
		transform: scale(1) rotate(360deg);
	}
}

/* Centered responsive inline video (Videobook) */
.video-embed {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 1rem 0 1.5rem 0;
}

.video-embed__iframe {
	width: 100%;
	max-width: 1100px;
	aspect-ratio: 16/9;
	height: auto;
	border: 0;
	display: block;
}

@media screen and (max-width: 736px) {
	.video-embed { margin: 0 0 1rem 0; }
	.video-embed__iframe { max-width: 100%; }
}

@media screen and (max-width: 420px) {
	.video-embed__iframe { aspect-ratio: 16/9; }
}

@-webkit-keyframes spinner-rotate {
	0% {
		-moz-transform: scale(1) rotate(0deg);
		-webkit-transform: scale(1) rotate(0deg);
		-ms-transform: scale(1) rotate(0deg);
		transform: scale(1) rotate(0deg);
	}

	100% {
		-moz-transform: scale(1) rotate(360deg);
		-webkit-transform: scale(1) rotate(360deg);
		-ms-transform: scale(1) rotate(360deg);
		transform: scale(1) rotate(360deg);
	}
}

@-ms-keyframes spinner-rotate {
	0% {
		-moz-transform: scale(1) rotate(0deg);
		-webkit-transform: scale(1) rotate(0deg);
		-ms-transform: scale(1) rotate(0deg);
		transform: scale(1) rotate(0deg);
	}

	100% {
		-moz-transform: scale(1) rotate(360deg);
		-webkit-transform: scale(1) rotate(360deg);
		-ms-transform: scale(1) rotate(360deg);
		transform: scale(1) rotate(360deg);
	}
}

@keyframes spinner-rotate {
	0% {
		-moz-transform: scale(1) rotate(0deg);
		-webkit-transform: scale(1) rotate(0deg);
		-ms-transform: scale(1) rotate(0deg);
		transform: scale(1) rotate(0deg);
	}

	100% {
		-moz-transform: scale(1) rotate(360deg);
		-webkit-transform: scale(1) rotate(360deg);
		-ms-transform: scale(1) rotate(360deg);
		transform: scale(1) rotate(360deg);
	}
}

/* Loader */

@-moz-keyframes spinner-show {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@-webkit-keyframes spinner-show {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@-ms-keyframes spinner-show {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes spinner-show {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@-moz-keyframes spinner-hide {
	0% {
		-moz-transform: scale(1) rotate(0deg);
		-webkit-transform: scale(1) rotate(0deg);
		-ms-transform: scale(1) rotate(0deg);
		transform: scale(1) rotate(0deg);
		color: #00356a;
		z-index: 100001;
	}

	99% {
		-moz-transform: scale(0.5) rotate(360deg);
		-webkit-transform: scale(0.5) rotate(360deg);
		-ms-transform: scale(0.5) rotate(360deg);
		transform: scale(0.5) rotate(360deg);
		color: #00356a;
		z-index: 100001;
	}

	100% {
		-moz-transform: scale(0.5) rotate(360deg);
		-webkit-transform: scale(0.5) rotate(360deg);
		-ms-transform: scale(0.5) rotate(360deg);
		transform: scale(0.5) rotate(360deg);
		color: #00356a;
		z-index: -1;
	}
}

@-webkit-keyframes spinner-hide {
	0% {
		-moz-transform: scale(1) rotate(0deg);
		-webkit-transform: scale(1) rotate(0deg);
		-ms-transform: scale(1) rotate(0deg);
		transform: scale(1) rotate(0deg);
		color: #00356a;
		z-index: 100001;
	}

	99% {
		-moz-transform: scale(0.5) rotate(360deg);
		-webkit-transform: scale(0.5) rotate(360deg);
		-ms-transform: scale(0.5) rotate(360deg);
		transform: scale(0.5) rotate(360deg);
		color: #00356a;
		z-index: 100001;
	}

	100% {
		-moz-transform: scale(0.5) rotate(360deg);
		-webkit-transform: scale(0.5) rotate(360deg);
		-ms-transform: scale(0.5) rotate(360deg);
		transform: scale(0.5) rotate(360deg);
		color: #00356a;
		z-index: -1;
	}
}

@-ms-keyframes spinner-hide {
	0% {
		-moz-transform: scale(1) rotate(0deg);
		-webkit-transform: scale(1) rotate(0deg);
		-ms-transform: scale(1) rotate(0deg);
		transform: scale(1) rotate(0deg);
		color: #00356a;
		z-index: 100001;
	}

	99% {
		-moz-transform: scale(0.5) rotate(360deg);
		-webkit-transform: scale(0.5) rotate(360deg);
		-ms-transform: scale(0.5) rotate(360deg);
		transform: scale(0.5) rotate(360deg);
		color: #00356a;
		z-index: 100001;
	}

	100% {
		-moz-transform: scale(0.5) rotate(360deg);
		-webkit-transform: scale(0.5) rotate(360deg);
		-ms-transform: scale(0.5) rotate(360deg);
		transform: scale(0.5) rotate(360deg);
		color: #00356a;
		z-index: -1;
	}
}

@keyframes spinner-hide {
	0% {
		-moz-transform: scale(1) rotate(0deg);
		-webkit-transform: scale(1) rotate(0deg);
		-ms-transform: scale(1) rotate(0deg);
		transform: scale(1) rotate(0deg);
		color: #00356a;
		z-index: 100001;
	}

	99% {
		-moz-transform: scale(0.5) rotate(360deg);
		-webkit-transform: scale(0.5) rotate(360deg);
		-ms-transform: scale(0.5) rotate(360deg);
		transform: scale(0.5) rotate(360deg);
		color: #00356a;
		z-index: 100001;
	}

	100% {
		-moz-transform: scale(0.5) rotate(360deg);
		-webkit-transform: scale(0.5) rotate(360deg);
		-ms-transform: scale(0.5) rotate(360deg);
		transform: scale(0.5) rotate(360deg);
		color: #00356a;
		z-index: -1;
	}
}

@-moz-keyframes overlay-hide {
	0% {
		opacity: 1;
		z-index: 100000;
	}

	15% {
		opacity: 1;
		z-index: 100000;
	}

	99% {
		opacity: 0;
		z-index: 100000;
	}

	100% {
		opacity: 0;
		z-index: -1;
	}
}

@-webkit-keyframes overlay-hide {
	0% {
		opacity: 1;
		z-index: 100000;
	}

	15% {
		opacity: 1;
		z-index: 100000;
	}

	99% {
		opacity: 0;
		z-index: 100000;
	}

	100% {
		opacity: 0;
		z-index: -1;
	}
}

@-ms-keyframes overlay-hide {
	0% {
		opacity: 1;
		z-index: 100000;
	}

	15% {
		opacity: 1;
		z-index: 100000;
	}

	99% {
		opacity: 0;
		z-index: 100000;
	}

	100% {
		opacity: 0;
		z-index: -1;
	}
}

@keyframes overlay-hide {
	0% {
		opacity: 1;
		z-index: 100000;
	}

	15% {
		opacity: 1;
		z-index: 100000;
	}

	99% {
		opacity: 0;
		z-index: 100000;
	}

	100% {
		opacity: 0;
		z-index: -1;
	}
}

body {
	text-decoration: none;
}

body:before {
	-moz-animation: spinner-show 1.5s 1 0.25s ease forwards, spinner-hide 0.25s ease-in-out forwards !important;
	-webkit-animation: spinner-show 1.5s 1 0.25s ease forwards, spinner-hide 0.25s ease-in-out forwards !important;
	-ms-animation: spinner-show 1.5s 1 0.25s ease forwards, spinner-hide 0.25s ease-in-out forwards !important;
	animation: spinner-show 1.5s 1 0.25s ease forwards, spinner-hide 0.25s ease-in-out forwards !important;
	-moz-transform-origin: 50% 50%;
	-webkit-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
	color: #00356a;
	content: '\f1ce';
	cursor: default;
	display: block;
	font-size: 2em;
	height: 2em;
	left: 50%;
	line-height: 2em;
	margin: -1em 0 0 -1em;
	opacity: 0;
	position: fixed;
	text-align: center;
	top: 50%;
	width: 2em;
	z-index: -1;
}

body:after {
	-moz-animation: overlay-hide 1.5s ease-in forwards !important;
	-webkit-animation: overlay-hide 1.5s ease-in forwards !important;
	-ms-animation: overlay-hide 1.5s ease-in forwards !important;
	animation: overlay-hide 1.5s ease-in forwards !important;
	background: #00356a;
	content: '';
	display: block;
	height: 100%;
	left: 0;
	opacity: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: -1;
}

body.is-preload:before {
	-moz-animation: spinner-show 1.5s 1 0.25s ease forwards, spinner-rotate 0.75s infinite linear !important;
	-webkit-animation: spinner-show 1.5s 1 0.25s ease forwards, spinner-rotate 0.75s infinite linear !important;
	-ms-animation: spinner-show 1.5s 1 0.25s ease forwards, spinner-rotate 0.75s infinite linear !important;
	animation: spinner-show 1.5s 1 0.25s ease forwards, spinner-rotate 0.75s infinite linear !important;
	z-index: 100001;
}

body.is-preload:after {
	-moz-animation: none !important;
	-webkit-animation: none !important;
	-ms-animation: none !important;
	animation: none !important;
	opacity: 1;
	z-index: 100000;
}

@media (-webkit-min-device-pixel-ratio: 2) {

	body:before {
		line-height: 2.025em;
	}

}

/* Type */
body, input, textarea, select {
	font-family: "Source Sans Pro", "sans-serif";
	font-weight: 300;
	font-size: 18pt;
	line-height: 1.75em;
	color: #ffffff;
	letter-spacing: 0.025em;
}

@media screen and (max-width: 1920px) {
	body, input, textarea, select {
		font-size: 17pt;
	}
}

@media screen and (max-width: 1680px) {
	body, input, textarea, select {
		font-size: 15pt;
	}
}

@media screen and (max-width: 1280px) {
	body, input, textarea, select {
		font-size: 13pt;
	}
}

@media screen and (max-width: 1000px) {
	body, input, textarea, select {
		font-size: 13pt;
	}
}

@media screen and (max-width: 736px) {
	body, input, textarea, select {
		font-size: 12pt;
		line-height: 1.5em;
	}
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 900;
	color: inherit;
	letter-spacing: -0.0325em;
}

	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
		color: inherit;
		text-decoration: none;
	}

h2 {
	font-size: 2.25em;
	line-height: 1.25em;
	letter-spacing: -0.05em;
}

@media screen and (max-width: 736px) {
	h2 {
		font-size: 1.5em;
	}
}

strong, b {
	font-weight: 900;
	color: inherit;
}

em, i {
	font-style: italic;
}

a {
	-moz-transition: color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
	-ms-transition: color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out;
	color: #ffffffbb;
}

sub {
	position: relative;
	top: 0.5em;
	font-size: 0.8em;
}

sup {
	position: relative;
	top: -0.5em;
	font-size: 0.8em;
}

hr {
	border: 0;
	border-top: solid 1px #00356a;
}

blockquote {
	border-left: solid 0.5em #00356a;
	padding: 1em 0 1em 2em;
	font-style: italic;
}

p, ul, ol, dl, table {
	margin-bottom: 1em;
}

/* Box */
.box {
	/*background: rgba(0, 53, 106, 0.2);*/
	color: #ffffff;
	padding: 2em;
}

	.box> :last-child {
		margin-bottom: 0;
	}

	.box.style2 {
		padding: 3.5em 2.5em 3.5em 2.5em;
	}

	@media screen and (max-width: 736px) {
		.box {
			padding: 0;
		}

		.box.style2 {
			padding: 1.5em 1.25em 1.5em 1.25em;
			/*background-color: rgba(255, 255, 255, 0.9);*/
			background: (0, 53, 106, 0.2);
		}
	}

/* Button */

input[type="button"], input[type="submit"], input[type="reset"], .button, button {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	-moz-transition: background-color 0.2s ease-in-out;
	-webkit-transition: background-color 0.2s ease-in-out;
	-ms-transition: background-color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out;
	background-color: #00356a;
	border: 0;
	border-radius: 3.5em;
	color: #ffffff;
	cursor: pointer;
	display: inline-block;
	height: 3.5em;
	line-height: 3.5em;
	outline: 0;
	padding: 0 2em 0 2em;
	position: relative;
	text-align: center;
	text-decoration: none;
}

input[type="button"].down, input[type="submit"].down, input[type="reset"].down,
.button.down, button.down {
	width: 5em;
	height: 5em;
	line-height: 4.5em;
	padding: 0;
	background-image: url("images/dark-arrow.svg");
	background-position: center center;
	background-repeat: no-repeat;
	text-indent: -10em;
	overflow: hidden;
}

input[type="button"].down.anchored, input[type="submit"].down.anchored, input[type="reset"].down.anchored,
.button.down.anchored, button.down.anchored {
	bottom: 0;
	border-bottom: 0;
	border-radius: 3em 3em 0 0;
	height: 4.5em;
	margin-left: -2.5em;
}

input[type="button"].anchored, input[type="submit"].anchored, input[type="reset"].anchored,
.button.anchored, button.anchored {
	position: absolute;
	left: 50%;
}

input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover,
.button:hover, button:hover {
	background-color: #00356a;
}

input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active,
.button:active, button:active {
	background-color: #00356a;
}

input[type="button"].style2, input[type="submit"].style2, input[type="reset"].style2,
.button.style2, button.style2 {
	background-color: transparent;
	border: solid 2px #00356a;
	color: inherit;
}

input[type="button"].style2:hover, input[type="submit"].style2:hover, input[type="reset"].style2:hover,
.button.style2:hover, button.style2:hover {
	background-color: rgba(229, 230, 231, 0.25);
}

input[type="button"].style2:active, input[type="submit"].style2:active, input[type="reset"].style2:active,
.button.style2:active, button.style2:active {
	background-color: rgba(229, 230, 231, 0.375);
}

input[type="button"].style2.down, input[type="submit"].style2.down, input[type="reset"].style2.down,
.button.style2.down, button.style2.down {
	background-image: url("images/arrow.svg");
}

/* Form */
form {
	margin: 0 0 2em 0;
}

	form> :last-child {
		margin-bottom: 0;
	}

	form>.fields {
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-moz-flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		width: calc(100% + 3em);
		margin: -1.5em 0 2em -1.5em;
	}

	form>.fields>.field {
		-moz-flex-grow: 0;
		-webkit-flex-grow: 0;
		-ms-flex-grow: 0;
		flex-grow: 0;
		-moz-flex-shrink: 0;
		-webkit-flex-shrink: 0;
		-ms-flex-shrink: 0;
		flex-shrink: 0;
		padding: 1.5em 0 0 1.5em;
		width: calc(100% - 1.5em);
	}

	form>.fields>.field.half {
		width: calc(50% - 0.75em);
	}

	form>.fields>.field.third {
		width: calc(100%/3 - 0.5em);
	}

	form>.fields>.field.quarter {
		width: calc(25% - 0.375em);
	}

	@media screen and (max-width: 480px) {
		form>.fields {
			width: calc(100% + 2em);
			margin: -1em 0 2em -1em;
		}

		form>.fields>.field {
			padding: 1em 0 0 1em;
			width: calc(100% - 1em);
		}

		form>.fields>.field.half {
			width: calc(100% - 1em);
		}

		form>.fields>.field.third {
			width: calc(100% - 1em);
		}

		form>.fields>.field.quarter {
			width: calc(100% - 1em);
		}
	}

label {
	display: block;
}

input[type="text"], input[type="password"], input[type="email"], input[type="tel"],
input[type="search"], input[type="url"], select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	-moz-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-webkit-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-ms-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
	transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
	color: #39454b;
	display: block;
	width: 100%;
	padding: 0.65em 0.75em;
	background: none;
	border: solid 2px #00356a;
	color: inherit;
	border-radius: 0.5em;
	outline: none;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus,
input[type="tel"]:focus, input[type="search"]:focus, input[type="url"]:focus,
select:focus, textarea:focus {
	border-color: #9ac8e9;
}

input[type="text"], input[type="password"], input[type="email"], 
input[type="tel"], input[type="search"], input[type="url"],
select {
	line-height: 1.35em;
}

textarea {
	min-height: 8em;
}

::-moz-focus-inner {
	border: 0;
}

::-webkit-input-placeholder {
	opacity: 0.375;
}

:-moz-placeholder {
	opacity: 0.375;
}

::-moz-placeholder {
	opacity: 0.375;
}

:-ms-input-placeholder {
	opacity: 0.375;
}

/* Icon */
.icon {
	text-decoration: none;
	position: relative;
	text-decoration: none;
}

	.icon:before {
		-moz-osx-font-smoothing: grayscale;
		-webkit-font-smoothing: antialiased;
		display: inline-block;
		font-style: normal;
		font-variant: normal;
		text-rendering: auto;
		line-height: 1;
		text-transform: none !important;
		font-family: 'Font Awesome 5 Free';
		font-weight: 400;
	}

	.icon:before {
		line-height: inherit;
	}

	.icon>.label {
		display: none;
	}

	.icon.solid:before {
		font-weight: 900;
	}

	.icon.brands:before {
		font-family: 'Font Awesome 5 Brands';
	}

/* Image */

.image {
	position: relative;
	display: inline-block;
}

	.image:before {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: url("images/overlay.png");
	}

	.image img {
		display: block;
		width: 100%;
	}

	.image.featured {
		display: block;
		width: 100%;
		margin: 0 0 2em 0;
	}

	.image.fit {
		display: block;
		width: 100%;
	}

	.image.left {
		float: left;
		margin: 0 2em 2em 0;
	}

	.image.centered {
		display: block;
		margin: 0 0 2em 0;
	}

	.image.centered img {
		margin: 0 auto;
		width: auto;
	}

/* List */

ul.default {
	list-style: disc;
	padding-left: 1em;
}

ul.default li {
	padding-left: 0.5em;
}

ul.menu {
	cursor: default;
}

ul.menu li {
	display: inline-block;
	line-height: 1em;
	border-left: solid 1px #00356a;
	padding: 0 0 0 0.5em;
	margin: 0 0 0 0.5em;
}

ul.menu li:first-child {
	border-left: 0;
	padding-left: 0;
	margin-left: 0;
}

ol.default {
	list-style: decimal;
	padding-left: 1.25em;
}

ol.default li {
	padding-left: 0.25em;
}

/* Actions */
ul.actions {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	cursor: default;
	list-style: none;
	margin-left: -1em;
	padding-left: 0;
}

ul.actions li {
	padding: 0 0 0 1em;
	vertical-align: middle;
}

ul.actions.special {
	-moz-justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	width: 100%;
	margin-left: 0;
}

ul.actions.special li:first-child {
	padding-left: 0;
}

ul.actions.stacked {
	-moz-flex-direction: column;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	margin-left: 0;
}

ul.actions.stacked li {
	padding: 1.3em 0 0 0;
}

ul.actions.stacked li:first-child {
	padding-top: 0;
}

ul.actions.fit {
	width: calc(100% + 1em);
}

ul.actions.fit li {
	-moz-flex-grow: 1;
	-webkit-flex-grow: 1;
	-ms-flex-grow: 1;
	flex-grow: 1;
	-moz-flex-shrink: 1;
	-webkit-flex-shrink: 1;
	-ms-flex-shrink: 1;
	flex-shrink: 1;
	width: 100%;
}

ul.actions.fit li>* {
	width: 100%;
}

ul.actions.fit.stacked {
	width: 100%;
}

@media screen and (max-width: 480px) {
	ul.actions:not(.fixed) {
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		margin-left: 0;
		width: 100% !important;
	}

	ul.actions:not(.fixed) li {
		-moz-flex-grow: 1;
		-webkit-flex-grow: 1;
		-ms-flex-grow: 1;
		flex-grow: 1;
		-moz-flex-shrink: 1;
		-webkit-flex-shrink: 1;
		-ms-flex-shrink: 1;
		flex-shrink: 1;
		padding: 1em 0 0 0;
		text-align: center;
		width: 100%;
	}

	ul.actions:not(.fixed) li>* {
		width: 100%;
	}

	ul.actions:not(.fixed) li:first-child {
		padding-top: 0;
	}

	ul.actions:not(.fixed) li input[type="submit"],
	ul.actions:not(.fixed) li input[type="reset"],
	ul.actions:not(.fixed) li input[type="button"],
	ul.actions:not(.fixed) li button,
	ul.actions:not(.fixed) li .button {
		width: 100%;
	}

	ul.actions:not(.fixed) li input[type="submit"].icon:before,
	ul.actions:not(.fixed) li input[type="reset"].icon:before,
	ul.actions:not(.fixed) li input[type="button"].icon:before,
	ul.actions:not(.fixed) li button.icon:before,
	ul.actions:not(.fixed) li .button.icon:before {
		margin-left: -0.5rem;
	}
}

/* Icons */

ul.icons {
	cursor: default;
}

ul.icons li {
	display: inline-block;
}

ul.icons a {
	display: inline-block;
	width: 2em;
	height: 2em;
	line-height: 2em;
	text-align: center;
	border: 0;
}

/* Sections/Article */
header {
	margin-bottom: 1em;
}

header p {
	display: block;
	margin: 1em 0 0 0;
	padding: 0 0 0.5em 0;
}


#contacto header p + p {
	margin-top: 0.01rem;
}

#cv header p + p {
	margin-top: 0.01rem;
}

footer {
	margin-top: 2em;
}

/* Table */

table {
	width: 100%;
}

table.default {
	width: 100%;
}

table.default tbody tr:nth-child(2n+2) {
	background: rgba(229, 230, 231, 0.5);
}

table.default td {
	padding: 0.5em 1em 0.5em 1em;
}

table.default th {
	text-align: left;
	font-weight: 900;
	padding: 0.5em 1em 0.5em 1em;
}

table.default thead {
	background: #39454b;
	color: #ffffff;
}

table.default tfoot {
	background: rgb(0, 25, 49);
}

/* Poptrox */
.poptrox-popup {
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	-ms-box-sizing: content-box;
	box-sizing: content-box;
	background: #ffffff;
	padding-bottom: 3em;
	box-shadow: 0 0.1em 0.15em 0 rgba(0, 0, 0, 0.15);
}

.poptrox-popup .loader {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -1em 0 0 -1em;
	width: 2em;
	height: 2em;
	display: block;
	font-size: 2em;
}

.poptrox-popup .loader:before {
	-moz-animation: spinner-rotate 0.75s infinite linear !important;
	-webkit-animation: spinner-rotate 0.75s infinite linear !important;
	-ms-animation: spinner-rotate 0.75s infinite linear !important;
	animation: spinner-rotate 0.75s infinite linear !important;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
	color: rgb(0, 25, 49);
	content: '\f1ce';
	cursor: default;
	display: block;
	height: 2em;
	left: 0;
	line-height: 2em;
	position: absolute;
	text-align: center;
	top: 0;
	width: 2em;
}

.poptrox-popup .caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #ffffff;
	width: 100%;
	height: 3em;
	line-height: 2.8em;
	text-align: center;
	cursor: default;
	z-index: 1;
	font-size: 0.9em;
}

.poptrox-popup .nav-next,
.poptrox-popup .nav-previous {
	-moz-transition: opacity 0.2s ease-in-out;
	-webkit-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
	position: absolute;
	top: 0;
	width: 50%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.01);
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.poptrox-popup .nav-next:before,
.poptrox-popup .nav-previous:before {
	content: '';
	position: absolute;
	width: 96px;
	height: 64px;
	background: url("images/poptrox-nav.svg");
	top: calc(50% - 1.5em);
	margin: -32px 0 0 0;
}

.poptrox-popup:hover .nav-next,
.poptrox-popup:hover .nav-previous {
	opacity: 0.5;
}

.poptrox-popup:hover .nav-next:hover,
.poptrox-popup:hover .nav-previous:hover {
	opacity: 1.0;
}

.poptrox-popup .nav-previous:before {
	-moz-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	-ms-transform: scaleX(-1);
	transform: scaleX(-1);
	-ms-filter: "FlipH";
	filter: FlipH;
}

.poptrox-popup .nav-next {
	right: 0;
}

.poptrox-popup .nav-next:before {
	right: 0;
}

.poptrox-popup .nav-previous {
	left: 0;
}

.poptrox-popup .nav-previous:before {
	left: 0;
}

.poptrox-popup .closer {
	-moz-transition: opacity 0.2s ease-in-out;
	-webkit-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
	position: absolute;
	top: 0;
	right: 0;
	width: 64px;
	height: 64px;
	text-indent: -9999px;
	z-index: 2;
	opacity: 0;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.poptrox-popup .closer:before {
	content: '';
	display: block;
	position: absolute;
	right: 16px;
	top: 16px;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	box-shadow: inset 0 0 0 2px #fff;
	background: url("images/poptrox-closer.svg") center center;
	color: #ffffff !important;
}

.poptrox-popup:hover .closer {
	opacity: 0.5;
}

.poptrox-popup:hover .closer:hover {
	opacity: 1.0;
}

body.is-touch .poptrox-popup .nav-next,
body.is-touch .poptrox-popup .nav-previous,
body.is-touch .poptrox-popup .closer {
	opacity: 1.0 !important;
}

@media screen and (max-width: 736px) {

	.poptrox-popup .nav-next:before,
	.poptrox-popup .nav-previous:before {
		width: 48px;
		height: 32px;
		background-size: contain;
		margin: -16px 0 0 0;
	}

	.poptrox-popup .closer:before {
		right: 12px;
		top: 12px;
		width: 20px;
		height: 20px;
		box-shadow: inset 0 0 0 1px #fff;
		background-size: contain;
		opacity: 0.65;
	}

}

/* Gallery */

.gallery {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	width: 45em;
	max-width: 100%;
	margin: 0 auto 2em auto;
}

.gallery article {
	-moz-transition: -moz-transform 1s ease, opacity 1s ease;
	-webkit-transition: -webkit-transform 1s ease, opacity 1s ease;
	-ms-transition: -ms-transform 1s ease, opacity 1s ease;
	transition: transform 1s ease, opacity 1s ease;
	-moz-transform: translateX(0);
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	width: 50%;
	position: relative;
	opacity: 1.0;
}

.gallery article .image {
	margin: 0;
	display: block;
}

.gallery article:nth-last-child(1n) {
	-moz-transition-delay: 0.05s;
	-webkit-transition-delay: 0.05s;
	-ms-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

.gallery article:nth-last-child(2n) {
	-moz-transition-delay: 0.05s;
	-webkit-transition-delay: 0.05s;
	-ms-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

.gallery article:nth-last-child(2n) {
	-moz-transition-delay: 0.1s;
	-webkit-transition-delay: 0.1s;
	-ms-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

.gallery article:nth-last-child(3n) {
	-moz-transition-delay: 0.1s;
	-webkit-transition-delay: 0.1s;
	-ms-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

.gallery article:nth-last-child(3n) {
	-moz-transition-delay: 0.15s;
	-webkit-transition-delay: 0.15s;
	-ms-transition-delay: 0.15s;
	transition-delay: 0.15s;
}

.gallery article:nth-last-child(4n) {
	-moz-transition-delay: 0.15s;
	-webkit-transition-delay: 0.15s;
	-ms-transition-delay: 0.15s;
	transition-delay: 0.15s;
}

.gallery article:nth-last-child(4n) {
	-moz-transition-delay: 0.2s;
	-webkit-transition-delay: 0.2s;
	-ms-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

.gallery article:nth-last-child(5n) {
	-moz-transition-delay: 0.2s;
	-webkit-transition-delay: 0.2s;
	-ms-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

.gallery article:nth-last-child(5n) {
	-moz-transition-delay: 0.25s;
	-webkit-transition-delay: 0.25s;
	-ms-transition-delay: 0.25s;
	transition-delay: 0.25s;
}

.gallery article:nth-last-child(6n) {
	-moz-transition-delay: 0.25s;
	-webkit-transition-delay: 0.25s;
	-ms-transition-delay: 0.25s;
	transition-delay: 0.25s;
}

.gallery article:nth-last-child(6n) {
	-moz-transition-delay: 0.3s;
	-webkit-transition-delay: 0.3s;
	-ms-transition-delay: 0.3s;
	transition-delay: 0.3s;
}

.gallery article:nth-last-child(7n) {
	-moz-transition-delay: 0.3s;
	-webkit-transition-delay: 0.3s;
	-ms-transition-delay: 0.3s;
	transition-delay: 0.3s;
}

.gallery article:nth-last-child(7n) {
	-moz-transition-delay: 0.35s;
	-webkit-transition-delay: 0.35s;
	-ms-transition-delay: 0.35s;
	transition-delay: 0.35s;
}

.gallery article:nth-last-child(8n) {
	-moz-transition-delay: 0.35s;
	-webkit-transition-delay: 0.35s;
	-ms-transition-delay: 0.35s;
	transition-delay: 0.35s;
}

.gallery article:nth-last-child(8n) {
	-moz-transition-delay: 0.4s;
	-webkit-transition-delay: 0.4s;
	-ms-transition-delay: 0.4s;
	transition-delay: 0.4s;
}

.gallery article:nth-last-child(9n) {
	-moz-transition-delay: 0.4s;
	-webkit-transition-delay: 0.4s;
	-ms-transition-delay: 0.4s;
	transition-delay: 0.4s;
}

.gallery article:nth-last-child(9n) {
	-moz-transition-delay: 0.45s;
	-webkit-transition-delay: 0.45s;
	-ms-transition-delay: 0.45s;
	transition-delay: 0.45s;
}

.gallery article:nth-last-child(10n) {
	-moz-transition-delay: 0.45s;
	-webkit-transition-delay: 0.45s;
	-ms-transition-delay: 0.45s;
	transition-delay: 0.45s;
}

.gallery article:nth-last-child(10n) {
	-moz-transition-delay: 0.5s;
	-webkit-transition-delay: 0.5s;
	-ms-transition-delay: 0.5s;
	transition-delay: 0.5s;
}

.gallery article:nth-last-child(11n) {
	-moz-transition-delay: 0.5s;
	-webkit-transition-delay: 0.5s;
	-ms-transition-delay: 0.5s;
	transition-delay: 0.5s;
}

.gallery article:nth-last-child(11n) {
	-moz-transition-delay: 0.55s;
	-webkit-transition-delay: 0.55s;
	-ms-transition-delay: 0.55s;
	transition-delay: 0.55s;
}

.gallery article:nth-last-child(12n) {
	-moz-transition-delay: 0.55s;
	-webkit-transition-delay: 0.55s;
	-ms-transition-delay: 0.55s;
	transition-delay: 0.55s;
}

.gallery article:nth-last-child(12n) {
	-moz-transition-delay: 0.6s;
	-webkit-transition-delay: 0.6s;
	-ms-transition-delay: 0.6s;
	transition-delay: 0.6s;
}

.gallery article:nth-last-child(13n) {
	-moz-transition-delay: 0.6s;
	-webkit-transition-delay: 0.6s;
	-ms-transition-delay: 0.6s;
	transition-delay: 0.6s;
}

.gallery article:nth-last-child(13n) {
	-moz-transition-delay: 0.65s;
	-webkit-transition-delay: 0.65s;
	-ms-transition-delay: 0.65s;
	transition-delay: 0.65s;
}

.gallery article:nth-last-child(14n) {
	-moz-transition-delay: 0.65s;
	-webkit-transition-delay: 0.65s;
	-ms-transition-delay: 0.65s;
	transition-delay: 0.65s;
}

.gallery article:nth-last-child(14n) {
	-moz-transition-delay: 0.7s;
	-webkit-transition-delay: 0.7s;
	-ms-transition-delay: 0.7s;
	transition-delay: 0.7s;
}

.gallery article:nth-last-child(15n) {
	-moz-transition-delay: 0.7s;
	-webkit-transition-delay: 0.7s;
	-ms-transition-delay: 0.7s;
	transition-delay: 0.7s;
}

.gallery article:nth-last-child(15n) {
	-moz-transition-delay: 0.75s;
	-webkit-transition-delay: 0.75s;
	-ms-transition-delay: 0.75s;
	transition-delay: 0.75s;
}

.gallery article:nth-last-child(16n) {
	-moz-transition-delay: 0.75s;
	-webkit-transition-delay: 0.75s;
	-ms-transition-delay: 0.75s;
	transition-delay: 0.75s;
}

.gallery article:nth-last-child(16n) {
	-moz-transition-delay: 0.8s;
	-webkit-transition-delay: 0.8s;
	-ms-transition-delay: 0.8s;
	transition-delay: 0.8s;
}

.gallery article:nth-last-child(17n) {
	-moz-transition-delay: 0.8s;
	-webkit-transition-delay: 0.8s;
	-ms-transition-delay: 0.8s;
	transition-delay: 0.8s;
}

.gallery article:nth-last-child(17n) {
	-moz-transition-delay: 0.85s;
	-webkit-transition-delay: 0.85s;
	-ms-transition-delay: 0.85s;
	transition-delay: 0.85s;
}

.gallery article:nth-last-child(18n) {
	-moz-transition-delay: 0.85s;
	-webkit-transition-delay: 0.85s;
	-ms-transition-delay: 0.85s;
	transition-delay: 0.85s;
}

.gallery article:nth-last-child(18n) {
	-moz-transition-delay: 0.9s;
	-webkit-transition-delay: 0.9s;
	-ms-transition-delay: 0.9s;
	transition-delay: 0.9s;
}

.gallery article:nth-last-child(19n) {
	-moz-transition-delay: 0.9s;
	-webkit-transition-delay: 0.9s;
	-ms-transition-delay: 0.9s;
	transition-delay: 0.9s;
}

.gallery article:nth-last-child(19n) {
	-moz-transition-delay: 0.95s;
	-webkit-transition-delay: 0.95s;
	-ms-transition-delay: 0.95s;
	transition-delay: 0.95s;
}

.gallery article:nth-last-child(20n) {
	-moz-transition-delay: 0.95s;
	-webkit-transition-delay: 0.95s;
	-ms-transition-delay: 0.95s;
	transition-delay: 0.95s;
}

.gallery article:nth-last-child(20n) {
	-moz-transition-delay: 1s;
	-webkit-transition-delay: 1s;
	-ms-transition-delay: 1s;
	transition-delay: 1s;
}

.gallery article:nth-last-child(21n) {
	-moz-transition-delay: 1s;
	-webkit-transition-delay: 1s;
	-ms-transition-delay: 1s;
	transition-delay: 1s;
}

.gallery article:nth-last-child(21n) {
	-moz-transition-delay: 1.05s;
	-webkit-transition-delay: 1.05s;
	-ms-transition-delay: 1.05s;
	transition-delay: 1.05s;
}

.gallery article:nth-last-child(22n) {
	-moz-transition-delay: 1.05s;
	-webkit-transition-delay: 1.05s;
	-ms-transition-delay: 1.05s;
	transition-delay: 1.05s;
}

.gallery article:nth-last-child(22n) {
	-moz-transition-delay: 1.1s;
	-webkit-transition-delay: 1.1s;
	-ms-transition-delay: 1.1s;
	transition-delay: 1.1s;
}

.gallery article:nth-last-child(23n) {
	-moz-transition-delay: 1.1s;
	-webkit-transition-delay: 1.1s;
	-ms-transition-delay: 1.1s;
	transition-delay: 1.1s;
}

.gallery article:nth-last-child(23n) {
	-moz-transition-delay: 1.15s;
	-webkit-transition-delay: 1.15s;
	-ms-transition-delay: 1.15s;
	transition-delay: 1.15s;
}

.gallery article:nth-last-child(24n) {
	-moz-transition-delay: 1.15s;
	-webkit-transition-delay: 1.15s;
	-ms-transition-delay: 1.15s;
	transition-delay: 1.15s;
}

.gallery.inactive article {
	opacity: 0;
}

.gallery.inactive article.from-left {
	-moz-transform: translateX(-14em);
	-webkit-transform: translateX(-14em);
	-ms-transform: translateX(-14em);
	transform: translateX(-14em);
}

.gallery.inactive article.from-right {
	-moz-transform: translateX(14em);
	-webkit-transform: translateX(14em);
	-ms-transform: translateX(14em);
	transform: translateX(14em);
}

.gallery.inactive article.from-top {
	-moz-transform: translateY(-7em);
	-webkit-transform: translateY(-7em);
	-ms-transform: translateY(-7em);
	transform: translateY(-7em);
}

.gallery.inactive article.from-bottom {
	-moz-transform: translateY(7em);
	-webkit-transform: translateY(7em);
	-ms-transform: translateY(7em);
	transform: translateY(7em);
}

@media screen and (max-width: 480px) {

	.gallery {
		-moz-flex-wrap: nowrap;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.gallery article {
		width: 100%;
	}

}

/* Header */
#header {
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	/*background: rgba(255, 255, 255, 0.95);
		background: #00356a;*/
	background: rgb(0, 25, 49);
	height: 2.5em;
	/*line-height: 3em;*/
	box-shadow: 0 0 0.15em 0 rgba(0, 0, 0, 0.1);
}

#header h1 {
	position: absolute;
	align-self: flex-end;
	left: 1em;
	top: 0;
	height: 3em;
	line-height: 3em;
	cursor: default;
	color: #ffffff;
}

#header h1 a {
	font-size: 1.25em;
}

#header nav {
	position: absolute;
	right: 0.5em;
	top: 0;
	height: 3em;
	line-height: 3em;
}

#header nav ul {
	margin: 0;
}

#header nav ul li {
	display: inline-block;
	margin-left: 0.5em;
	font-size: 0.9em;
}

#header nav ul li a {
	display: block;
	color: inherit;
	text-decoration: none;
	height: 3em;
	line-height: 3em;
	padding: 0 0.5em 0 0.5em;
	outline: 0;
	color: #ffffff;
}

#header h2 {
	background: rgb(0, 25, 49);
}

@media screen and (max-width: 736px) {
	#header {
		height: 2.5em;
		line-height: 2.5em;
	}

	#header h1 {
		text-align: center;
		position: relative;
		left: 0;
		top: 0;
		height: 2.5em;
		line-height: 2.5em;
	}

	#header h1 a {
		font-size: 1em;
	}

	#header nav {
		display: none;
	}
}

body {
	padding-top: 3em;
}

@media screen and (max-width: 736px) {

	body {
		padding-top: 2.5em;
	}

}

/* Main */
.main {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	position: relative;
	margin: 0;
	overflow-x: hidden;
}

.main>.content {
	width: 45em;
	max-width: calc(100% - 4em);
	margin: 0 auto;
}

.main>.content> :last-child {
	margin-bottom: 0;
}

.main.fullscreen {
	min-height: 100%;
}

.main.style1 {
	-moz-align-items: flex-end;
	-webkit-align-items: flex-end;
	-ms-align-items: flex-end;
	align-items: flex-end;
	-moz-justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	text-align: center;
	padding: 3em 0 3em 0;
}

.main.style1 h2 {
	font-size: 4.25em;
	line-height: 1em;
}

.main.style3 h2 {
	color: #ffffff;
}

.main.style1>.content {
	-moz-transition: opacity 1s ease;
	-webkit-transition: opacity 1s ease;
	-ms-transition: opacity 1s ease;
	transition: opacity 1s ease;
	-moz-transform: translateZ(0);
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	opacity: 1.0;
	margin: 0;
}

.main.style1.inactive>.content {
	opacity: 0;
}

.main.style2 {
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	-moz-justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	padding: 3em 0 3em 0;
	overflow: hidden;
}

.main.style2>.content {
	-moz-transition: -moz-transform 1s ease;
	-webkit-transition: -webkit-transform 1s ease;
	-ms-transition: -ms-transform 1s ease;
	transition: transform 1s ease;
	-moz-transform: translateZ(0);
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	position: relative;
	width: 35%;
	margin: 0;
}

.main.style2.left {
	-moz-justify-content: -moz-flex-start;
	-webkit-justify-content: -webkit-flex-start;
	-ms-justify-content: -ms-flex-start;
	justify-content: flex-start;
}

.main.style2.right {
	-moz-justify-content: -moz-flex-end;
	-webkit-justify-content: -webkit-flex-end;
	-ms-justify-content: -ms-flex-end;
	justify-content: flex-end;
}

.main.style2.inactive.left>.content {
	-moz-transform: translateX(-100%);
	-webkit-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
	transform: translateX(-100%);
}

.main.style2.inactive.right>.content {
	-moz-transform: translateX(100%);
	-webkit-transform: translateX(100%);
	-ms-transform: translateX(100%);
	transform: translateX(100%);
}

.main.style3 {
	text-align: center;
	padding: 6em 0 6em 0;
}

.main.style3 .content>header {
	margin-bottom: 2em;
}

.main.style3.primary {
	background: rgb(0, 25, 49);
}

.main.style3.secondary {
	background: rgb(0, 25, 49);
}

.main.style4 {
	text-align: center;
	padding: 1em 0 1.5em 0;
}

.main.style4 .content>header {
	margin-bottom: 1em;
}

.main.style4.primary {
	background: rgb(0, 25, 49);
}

.main.dark {
	color: #ffffff;
}

.main.dark a {
	color: inherit;
}

.main.dark .button.style2 {
	border-color: #ffffff;
}

.main.dark .button.style2:hover {
	background-color: rgba(255, 255, 255, 0.125);
}

.main.dark .button.style2:active {
	background-color: rgba(255, 255, 255, 0.25);
}

.main.dark .button.style2.down {
	background-image: url("images/dark-arrow.svg");
}

body.is-touch .main {
	background-attachment: scroll !important;
}

@media screen and (max-width: 1920px) {

	.main.style2 .content {
		width: 40%;
	}

}

@media screen and (max-width: 1280px) {

	.main.style2 .content {
		width: 50%;
	}

}

@media screen and (max-width: 1000px) {

	.main.style2 .content {
		width: 60%;
	}

}

@media screen and (max-width: 736px) {

	.main>.content br {
		display: none;
	}

	.main.fullscreen {
		height: auto !important;
	}

	.main.style1 {
		padding: 4em 15px 4em 15px;
	}

	.main.style1 h2 {
		font-size: 3em;
	}

	.main.style2 {
		padding: 6em 15px 6em 15px;
	}

	.main.style2:before,
	.main.style2:after {
		display: none !important;
	}

	.main.style2 .button.anchored {
		display: none;
	}

	.main.style2 .content {
		width: 100%;
		max-width: 100%;
		text-align: center;
		-moz-transform: none;
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
	}

	.main.style3 {
		text-align: center;
		padding: 3em 10px 3em 10px;
	}

	.main.style4 {
		padding: 0 0 0 0;
	}

	.box {
		padding: 0em;
	}

	.main.style4 .content>header {
		margin-bottom: 0em;
	}

}

@media screen and (max-width: 480px) {

	.main>.content {
		max-width: calc(100% - 1.5em);
	}

}

/* Footer */
#footer {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	-moz-justify-content: space-between;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
	position: relative;
	margin: 0;
	line-height: 1em;
	padding: 1.5em;
	background: rgb(0, 25, 49);
	color: rgba(185, 186, 187, 0.5);
	overflow: hidden;
}

#footer>* {
	margin-bottom: 0;
}

#footer {
	color: #ffffffbb;
}

#footer a {
	color: #ffffffbb;
}

.main.style3.secondary span {
	color: #ffffffbb;
}

#footer a:hover {
	color: #b9babb;
}

#footer ul.menu {
	margin: 0;
}

#footer ul.menu li {
	border-left-color: rgb(0, 25, 49);
	font-size: 0.9em;
}

@media screen and (max-width: 1000px) {

	#footer {
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-moz-justify-content: center;
		-webkit-justify-content: center;
		-ms-justify-content: center;
		justify-content: center;
		line-height: 1.5em;
		text-align: center;
		padding: 2em 1em 2em 1em;
	}

	#footer>* {
		margin: 0 0 1em 0;
	}

}

@media screen and (max-width: 736px) {

	#footer ul.menu li {
		border-left: none;
		display: block;
		line-height: inherit;
		margin: 0.25em 0 0 0;
		padding: 0.25em 0 0 0;
	}

	#footer ul.menu li:first-child {
		margin-top: 0;
		padding-top: 0;
	}

}

/* Intro */
#intro {
	background: url("images/overlay.png"), url("../../images/portada.jpg");
	background-size: 256px 256px, cover;
	background-attachment: fixed, fixed;
	background-position: 0% 0%, 50% 30%;
	background-repeat: repeat, no-repeat;
}

/* One */
#one {
	background: url("images/overlay.png"), url("../../images/one.jpg");
	background-size: 256px 256px, cover;
	background-attachment: fixed, fixed;
	background-position: top left, center center;
}

/* Two */
#two {
	background: url("images/overlay.png"), url("../../images/two.jpg");
	background-size: 256px 256px, cover;
	background-attachment: fixed, fixed;
	background-position: top left, center center;
}

/* Contact */
#contact {
	overflow: hidden;
	padding-bottom: 0;
}

#contact .box {
	-moz-transition: -moz-transform 1s ease;
	-webkit-transition: -webkit-transform 1s ease;
	-ms-transition: -ms-transform 1s ease;
	transition: transform 1s ease;
	-moz-transform: translateY(0);
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	position: relative;
}

#contact.inactive .box {
	-moz-transform: translateY(100%);
	-webkit-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
}

@media screen and (max-width: 736px) {

	#contact .box {
		padding: 1.5em 1.5em 2em 1.5em;
	}

}

@media screen and (max-width: 480px) {

	#contact .box {
		padding: 1em 1em 2em 1em;
	}
	}

	/* Carrusel (galería de fotos) */
	.carousel {
		position:relative;
		overflow: hidden;
		width: 90%;
		max-width: 900px;
		margin: 0 auto;
	}

	/* Centrar el contenido del track para que las imágenes (horizontal/vertical)
	   queden alineadas verticalmente en el centro del slide. */
	.carousel-track {
		display: flex;
		align-items: center;
		transition: transform 600ms cubic-bezier(.22, .9, .29, 1);
		will-change: transform;
		z-index: 1; /* asegurar que el track quede por debajo de los controles */
	}

	/* Cada slide se convierte en un contenedor flex centrado para garantizar
	   que la imagen quede centrada (horizontal o vertical). */
	.carousel-slide {
		min-width: 100%;
		box-sizing: border-box;
		padding: 0.5rem;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/* Limitar tamaño de la imagen para que la galería no ocupe demasiada altura
	   y mantener aspecto. Usamos max-height en viewport para conservar responsividad. */
	.carousel-slide .image.fit img {
		max-width: 100%;
		max-height: 70vh;
		width: auto;
		height: auto;
		display: block;
		border-radius: 4px;
		margin: 0 auto;
	}

	/* Controles */
	.carousel-control {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		background: rgba(0, 0, 0, 0.1);
		color: #ffffff;
		border: none;
		padding: 0.5rem 0.75rem;
		cursor: pointer;
		z-index: 1000; /* aseguramos que los controles estén por encima */
		pointer-events: auto; /* garantizar que reciban eventos de puntero */
		border-radius: 3px;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 40px;
		width: 40px;
	}

.carousel-control.prev {
	left: 1rem;
}

.carousel-control.next {
	right: 1rem;
}

/* Indicadores */
.carousel-indicators {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 1rem;
	display: flex;
	gap: 0.5rem;
	z-index: 10;
}

.carousel-indicators button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.9);
	cursor: pointer;
	padding: 0;
}

.carousel-indicators button[aria-current="true"] {
	background: #00356a;
}

	/* Opcional: ajustar controles en pantallas pequeñas */
	@media (max-width: 450px) {
		.carousel-control {
			padding: 0.35rem 0.5rem;
			height: 34px;
			width: 34px;
		}
		.carousel {
			width: 92%;
			max-width: none;
		}
		.carousel-slide .image.fit img {
			max-height: 50vh;
		}
		.carousel-indicators button {
			width: 5px;
			height: 5px;
		}
		.carousel-indicators {
			gap: 0.1rem;
			display: none;
		}
	}

/* Accordion (CV menu) */
.accordion {
	width: 90%;
	max-width: 900px;
	margin: 1rem auto;
	color: #fff;
}
.accordion-item {
	border-bottom: 1px solid rgba(255,255,255,0.08);
	/* Usamos grid para colocar título + toggle en la primera fila
	   y el contenido en la segunda fila ocupando todo el ancho */
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	column-gap: 1rem;
	row-gap: 0.6rem;
	align-items: center;
	padding: 0.8rem 0;
}
.accordion-title {
	background: none;
	border: 0;
	color: inherit;
	font-weight: 900;
	font-size: 1rem; /* reducido para que quepa */
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-align: left;
	cursor: pointer;
	/* Make title take available space and prevent wrapping */
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	white-space: nowrap;
	text-overflow: ellipsis;
	padding-right: 0.75rem; /* leave space before toggle */
	min-height: 40px;
	box-sizing: border-box;
}
.accordion-toggle,
button.accordion-toggle {
	/* Forzamos dimensiones cuadradas y sin padding para que sean circulares */
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	padding: 0;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.15);
	background: rgba(0,0,0,0.15);
	color: #ffffff;
	font-size: 1rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-sizing: border-box;
	flex: 0 0 40px;
	/* Asegurar que el toggle quede en la primera fila del grid */
	grid-column: 2;
	grid-row: 1;
}
.accordion-content {
	width: 100%;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.35s ease, padding 0.35s ease;
	padding-left: 0;
	color: rgba(255,255,255,0.95);
}
.accordion-item .accordion-title {
	/* Título en la primera fila, columna 1 */
	grid-column: 1;
	grid-row: 1;
}
.accordion-item .accordion-content {
	/* Contenido en la fila 2 ocupando todo el ancho */
	grid-column: 1 / -1;
	grid-row: 2;
	text-align: left;
}
.accordion-item .accordion-content p {
	margin: 0.5rem 0 0 0;
}
.accordion-item.open .accordion-content {
	max-height: 600px;
	padding-top: 1rem;
}
.accordion-item.open .accordion-toggle {
	background: rgba(255,255,255,0.06);
	border-color: rgba(255,255,255,0.25);
}

/* Video Modal */
#video-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

#video-overlay.open {
	opacity: 1;
	visibility: visible;
}

#video-modal {
	position: relative;
	width: 90%;
	max-width: 800px;
	height: 0;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	background: #000;
	border-radius: 8px;
	overflow: hidden;
}

#video-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

#video-close {
	position: absolute;
	top: -40px;
	right: 0;
	background: rgba(0,0,0,0.7);
	color: #fff;
	border: none;
	font-size: 2rem;
	width: 40px;
	height: 40px;
	cursor: pointer;
	border-radius: 50%;
	z-index: 10001;
	transition: background 0.3s ease;
}

#video-close:hover {
	background: rgba(0,0,0,0.9);
}

@media screen and (max-width: 736px) {
	#video-modal {
		width: 95%;
	}
	#video-close {
		top: -35px;
		width: 35px;
		height: 35px;
		font-size: 1.5rem;
	}
}

/* =========================================================
   VIDEOBOOK – OVERRIDES
   ========================================================= */

/* Sección */
#videobook {
	padding: 0;
}

#videobook .videobook-content {
	width: 80%;
	max-width: 1400px; /* ajustable */
	margin: 0 auto;
	padding: 0;
}

/* Header */
#videobook header {
	text-align: center;
	margin-bottom: 1rem;
	margin-top: 2rem;
}

/* Player */
.videobook-player {
	width: 100%;
	aspect-ratio: 16 / 9;
	position: relative;
	background: #000;
	overflow: hidden;
}

.videobook-player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* Miniaturas */
.video-thumbnails {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
	padding: 0;
}

.video-thumbnails img {
	display: block;
	max-width: 250px;
	border-radius: 4px;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease;
	aspect-ratio: 16/9;
}

.video-thumbnails img:hover {
	/*transform: scale(1.05);*/
	opacity: 0.9;
}

/* ===============================
   MÓVIL
   =============================== */
@media screen and (max-width: 736px) {

	#videobook > .content {
		max-width: 100%;
		width: 100%;
		align-items: center;
		margin: 0;
		padding: 0;
	}

	#videobook header {
		margin-bottom: 0.5rem;
	}

	.video-thumbnails {
		gap: 0.5rem;
		margin-top: 0.6rem;
	}

	.video-thumbnails img {
		max-width: 150px;
	}

	.accordion {
		width: 100%;
		max-width: none;
		margin: 0; /* sin auto-centering */
		padding: 0; /* respetar el padding del contenedor padre */
		box-sizing: border-box;
	}

	.accordion-title { font-size: 0.95rem; }
	.accordion-item {
		/* mantener grid pero reducir gaps para móviles */
		padding: 0.9rem 0;
		column-gap: 0.75rem;
		row-gap: 0.5rem;
	}

	/* Asegurar que el toggle no quede pegado al borde en móviles */
	/*.accordion-toggle { margin-right: 0.25rem; }*/
}

@media screen and (max-width: 480px) {
	.video-thumbnails img {
		max-width: 160px;
	}

}
