@import url('//fonts.googleapis.com/css?family=Lato:400,700');
@import url('//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css');

/* ############### */
/* ### COMMON #### */
/* ############### */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
}

/* ############### */
/* ### HEADER ### */
/* ############### */
header {
	position: fixed;
	top: 0;
	width: 100%;
	color: #12a19a;
	z-index: 100;
}

header:after {
	display: block;
	content: '';
	width: 100%;
	max-height: 40px;
	height: 3.7vh;
	background-image: url("images/onda_cabecera.png");
	background-size: cover;
	background-repeat: repeat-x;
	background-position: center bottom;
}

header .header-helper {
	width: 100%;
	background-color: white;
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
}

header .logo {
	flex: 0 0 auto;
}

header #menu {
	flex-grow: 1;
	max-width: 60%;
	display: flex;
	justify-content: space-between;
	list-style: none;
}

header #menu a {
	text-decoration: none;
	margin: 0 10px;
	color: inherit;
	white-space: nowrap;
}

header #menu-toggle {
	display: none;
	color: inherit;
	position: absolute;
	top: 0;
	right: 0;
	font-size: 20px;
	padding: 10px;
	margin-top: 4vh;
	margin-right: 1vw;
}

header #menu-toggle .fa {
	font-size: inherit;
}

@media screen and (max-width: 979px) {
	header .container {
		flex-direction: column;
		padding: 10px;
	}

	header #menu {
		overflow: hidden;
		max-height: 0;
		transition: max-height 0.5s linear;
		flex-direction: column;
	}

	header.open #menu {
		max-height: 100vh;
	}

	header #menu li {
		text-align: center;
		margin-top: 8px;
	}

	header #menu-toggle {
		display: block;
	}
}
/* ############### */
/* ### FOOOTER ### */
/* ############### */
footer {
	position: fixed;
	bottom: 0px;
	width: 100%;
	background-color: #7abbcd;
	z-index: 99;
}

footer .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 35px;
}

footer .logo {
	max-height: 8vh;
}

footer .social {
	display: flex;
	list-style: none;
}

footer .social a {
	display: block;
	padding: 8px 5px;
	margin: 8px;
	border-radius: 100%;
	border: 2px solid white;
	text-decoration: none;
	color: white;
	font-size: 22px;
}

@media screen and (max-width: 670px) {
	footer .container {
		flex-wrap: wrap;
		justify-content: center;
		padding: 5px 0px;
	}

	footer .logo {
		margin-bottom: 15px;
	}

	footer .social {
		transform: scale(0.75);
	}
}

/* ############### */
/* #### HOME ##### */
/* ############### */
#main-content {
	height: 100vh;
	max-width: 100vw;
	padding: 5vh 0;
	background-color: #d9f7ff;
	position: relative;
}

#main-content.home {
	/* TEMP PLACE HOLDER !*/
	/*background-image: url("images/slider 07.jpg");*/
}

.slides {
	height: 100%;
	position: relative;
}

.slide {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: opacity 0.25s ease-in;
}

.slide.active {
	opacity: 1;
}

.slide.slide-01{ background-image: url("images/slider 01.jpg"); }
.slide.slide-02{ background-image: url("images/slider 02.jpg"); }
.slide.slide-03{ background-image: url("images/slider 03.jpg"); }
.slide.slide-04{ background-image: url("images/slider 04.jpg"); }
.slide.slide-05{ background-image: url("images/slider 05.jpg"); }
.slide.slide-06{ background-image: url("images/slider 06.jpg"); }
.slide.slide-07{ background-image: url("images/slider 07.jpg"); }
.slide.slide-08{ background-image: url("images/slider 08.jpg"); }

@media all and (orientation: portrait) { 
	.slide.slide-01{ background-image: url("images/slider-movil-01.jpg"); }
	.slide.slide-02{ background-image: url("images/slider-movil-02.jpg"); }
	.slide.slide-03{ background-image: url("images/slider-movil-03.jpg"); }
	.slide.slide-04{ background-image: url("images/slider-movil-04.jpg"); }
	.slide.slide-05{ background-image: url("images/slider-movil-05.jpg"); }
	.slide.slide-06{ background-image: url("images/slider-movil-06.jpg"); }
	.slide.slide-07{ background-image: url("images/slider-movil-07.jpg"); }
	.slide.slide-08{ background-image: url("images/slider-movil-08.jpg"); }	
}

.slide-control {
	height: 100%;
	position: absolute;
	display: flex;
	align-items: center;
	z-index: 90;
	padding: 0 20px;
	color: white;
	text-shadow: 2px 2px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	top: 0;
	opacity: 0.7;
}

.slide-control.left { left: 0; }
.slide-control.right { right: 0; }
.slide-control:hover { opacity: 1; }

/* ################### */
/* #### CONTACTO ##### */
/* ################### */
#main-content.contacto {
	background-position: center center;
	background-image: url("images/contacto.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	color: #5191a3;
}

.contacto h2 {
	text-align: center;
	text-transform: uppercase;
	font-size: 16px;
}

.contacto .columns {
	display: flex;
	justify-content: center;
	margin: 40px;
}

.contacto .info {
	padding: 0 50px;
	text-align: center;
}

.contacto .info:not(:last-child) {
	border-right: 1px solid #5191a3;
}

@media screen and (max-width: 768px) {
	.contacto .columns {
		flex-direction: column;
		background-color: white !important;
		padding: 5px;
	}

	.contacto .info:not(:last-child) {
		border-right: none;
		margin-bottom: 30px;
	}
}

/* ################### */
/* #### VERANEAR ##### */
/* ################### */

#main-content.veranear {
	background-position: center center;
	background-size: cover;
	background-image: url("images/veranear.jpg");
	color: #5191a3;
}

.veranear .columns {
	display: flex;
	justify-content: left;
	margin-top: 10px;
	margin-left: 0;
}

.veranear .info {
	padding: 0 25px;
	text-align: center;
}

@media screen and (max-width: 768px) {
	.veranear .columns {
		flex-direction: column;
	}

	.veranear .info:not(:last-child) {
		border-right: none;
		margin-bottom: 30px;
	}
}