
/*
==================================================================
Theme Name: Bauxus
Version: 1.0
Author: Neobrand®
Author URI: https://neobrand.com
==================================================================

Blue: #24586e;

*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');


/* General */

html,body {
	font-family: 'Open Sans', sans-serif;
}

body {
	width: 100%;
	float: left;
}

body.noscroll {
	overflow: hidden;
}

body.legal {
	background-color: #24586e;
}

a {
	color: #24586e;
	transition: all 280ms ease-out;
}

.wrapper {
	width: 100%;
	padding: 0 60px;
	float: left;
}

.angle {
	width: 30px;
	height: 30px;
	transform: rotate(45deg);
	display: inline-block;
	transition: all 500ms ease-in;
}

.angle.up {
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
}

.angle.right {
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}

.angle.down {
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
}

.angle.left {
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
}

.parallax-mirror {
	z-index: 4 !important;
}

.parallax-mirror:nth-child(4) {
	z-index: -100 !important;
}


/* Header */

#logo {
	width: 163px;
	height: 63px;
	position: fixed;
	top: 60px;
	left: 60px;
	z-index: 12;
}

#logo img {
	width: 100%;
	height: auto;
	float: left;
}

#header {
	width: 100%;
	position: absolute;
	bottom: 0;
	z-index: 9;
}

#header.sticky,
.legal #header {
	backdrop-filter: blur(5px);
	position: fixed;
	top: 60px;
	bottom: auto;
}

#header .panel-left {
	width: 50px;
	height: 63px;
	background-color: rgba(255, 255, 255, 0.75);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

#header .panel-right {
	width: calc(100% - 50px);
	height: 63px;
	background-color: rgba(255, 255, 255, 0.75);
	transition: all 140ms ease;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 0;
}

#header.open .panel-right,
.legal #header .panel-right {
	width: calc(100% - 233px);
}

#header .menu-wrapper {
	float: left;
	position: relative;
	left: 50%;
}

#header #menu {
	float: left;
	position: relative;
	left: -50%;
	z-index: 1;
}

#header #menu li {
	padding: 20px;
	margin-right: 20px;
	float: left;
}

#header #menu li.contact {
	margin-right: 0;
}

#header #menu li.line {
	height: 2px;
	background-color: #24586e;
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 10px;
	transition: all 720ms ease;
}

#header #menu li a {
	font-weight: 600;
	color: #24586e;
}

#header #mobile {
	display: none;
}

#header #contacts {
	float: right;
	position: relative;
	z-index: 1;
}

#header #contacts li {
	padding: 20px 0;
	margin-left: 20px;
	float: left;
}

#header #contacts li:last-child a i {
	font-size: 16pt;
	position: relative;
	top: 1px;
}

#mobile-menu {
	width: 100%;
	height: 100%;
	background-color: #2a5d72;
	position: fixed;
	z-index: 9999;
	display: none;
}

#mobile-menu li {
	width: 100%;
	height: 25%;
	text-align: center;
	font-size: 16pt;
	display: table;
}

#mobile-menu li a {
	color: #fff;
	display: table-cell;
	vertical-align: middle;
}

#mobile-menu .close-menu {
	font-size: 16pt;
	color: #fff;
	position: absolute;
	right: 20px;
	top: 13px;
}

#langs {
	display: none !important;
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 5;
}

#langs li {
	width: 24px;
	height: 16px;
	opacity: 0.5;
	transition: all 280ms ease-out;
	text-indent: -9999px;
	white-space: nowrap;
	float: left;
}

#langs li.lang-item-es {
	background-image: url(images/es.png);
	margin-right: 5px;
}

#langs li.lang-item-en {
	background-image: url(images/en.png);
}

#langs li:hover,
#langs li.current-lang {
	opacity: 1;
}

#langs li a {
	width: 100%;
	height: 16px;
	float: left;
}


/* Body */

.panel {
	width: 100%;
	min-height: 100vh;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	justify-content: center;
	align-items: center;
	display: flex;
	float: left;
	position: relative;
}

#services {
	padding: 100px 0;
}

.panel .background {
	width: 100%;
	height: 100%;
	background-attachment: fixed;
	background-size: 100% 100%;
	background-position: 0;
	background-size: cover;
	position: absolute;
	left: 0;
	top: 0;
}

#intro {
	overflow: hidden;
}

#intro #play {
	width: 56px;
	height: auto;
	margin-top: -32px;
	margin-left: -28px;
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 3;
}

#intro #play:hover {
	transform: scale(1.2);
}

#intro #video {
	pointer-events: none;
}

#intro #video.loaded {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 0;
}

#intro #video .ytplayer-container {
	opacity: 0;
	position: absolute;
	top: 0;
	transition: all 1200ms ease;
}

#intro #video.loaded .ytplayer-container {
	opacity: 1;
}

#intro #video.loaded .ytplayer-container iframe {
	top: 0 !important;
	transition: filter 500ms ease;
}

#main-video {
	width: 90%;
	height: 80%;
	position: fixed;
	top: 10%;
	left: 5%;
	z-index: 11;
	display: none;
}

#main-video .close {
	position: absolute;
	top: 20px;
	right: 30px;
	cursor: pointer;
	transition: all 280ms ease;
	z-index: 10;
}

#main-video .close:hover {
	transform: scale(1.1);
}

#main-video .close .angle {
	clear: both;
	float: left;
}

#main-video .close .angle.up {
	margin-top: 10px;
}

#main-video .aspect-ratio {
	width: 100%;
	height: 100%;
	position: relative;
}

#main-video .aspect-ratio iframe {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

body.noscroll #intro #video.loaded {
	background-color: #000;
}

.go {
	width: 100%;
	text-align: center;
	display: block;
	position: absolute;
	bottom: 40px;
	z-index: 4;
	transition: all 280ms ease;
}

.go:hover {
	transform: scale(1.1);
}

#intro .go {
	bottom: 110px;
}

#intro .overlay {
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	position: absolute;
	z-index: 10;
	display: none;
}

.content {
	width: 100%;
	max-width: 920px;
	height: 50vh;
	padding: 40px;
	background-color: #fff;
	float: left;
	z-index: 4;
}

.legal .content {
	height: auto;
	margin: 150px auto 0;
	position: static;
	float: none;
}

#bauxus .content,
#contact .content {
	height: auto;
	margin-top: 0;
}

.block {
	width: calc(50% - 30px);
	float: left;
}

.block:last-child {
	float: right;
}

.block {
	width: 100%;
}

#bauxus .content p {
	width: 100%;
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 10pt;
	text-align: justify;
	hyphens: auto;
	color: #808080;
	float: left;
}

#bauxus .content .member {
	width: 100%;
	margin-bottom: 30px;
	float: left;
	position: relative;
}

#bauxus .content .member .image,
#bauxus .content .member .text {
	width: 50%;
	color: #808080;
}

#bauxus .content .member .text {
	color: #808080;
	position: absolute;
	bottom: 0;
}

#bauxus .content .member .image img {
	float: left;
}

#bauxus .content .member:nth-child(odd) .image,
#bauxus .content .member:nth-child(odd) .image img {
	float: left;
}

#bauxus .content .member:nth-child(odd) .text {
	padding-left: 20px;
	right: 0;
}

#bauxus .content .member:nth-child(even) .image,
#bauxus .content .member:nth-child(even) .image img {
	float: right;
}

#bauxus .content .member:nth-child(even) .text {
	padding-right: 20px;
	text-align: right;
	left: 0;
}

#bauxus .content .member .text li:nth-child(2) {
	margin-bottom: 15px;
}

#bauxus .content .member .text strong {
	color: #24586e;
}

#services .content {
	height: auto;
	padding: 0;
	margin-top: 0;
	display: grid;
	grid-template-columns: repeat(3,1fr);
	top: auto;
	background-color: transparent;
}

#services .content .service {
	width: 100%;
	text-align: center;
	float: left;
}

#services .content .service .image {
	width: 100%;
	float: left;
}

#services .content .service .image img {
	width: 100%;
	height: auto;
	opacity: 1;
	transition: all 370ms ease-in;
	float: left;
}

#services .content .service .image a:hover img {
	opacity: 0.8;
}

#services .content .service .text h3 {
	width: 100%;
	font-weight: 300;
	color: #24586e;
	float: left;
}

#services .content .service .text p {
	width: 100%;
	margin-bottom: 0;
	font-size: 10pt;
	color: #808080;
	float: left;
}

#contact .content {
	height: auto;
}

#contact .content .text,
#contact .content .text p {
	width: 100%;
	float: left;
}

#contact .content .text p {
	margin-top: 0;
	margin-bottom: 40px;
	font-size: 11pt;
	text-align: center;
	color: #808080;
}

#contact .content .contacts {
	width: 50%;
	text-align: center;
	margin-bottom: 40px;
	float: left;
}

#contact .content .contacts a {
	font-size: 16pt;
	font-weight: 300;
	color: #24586e;
}

#contact .content #gmap {
	width: calc(50% - 20px);
	height: 400px;
	margin-right: 40px;
	float: right;
	position: relative;
}

#contact .content #gmap::after {
	content: 'Ver en Google Maps';
	width: 100%;
	height: 100%;
	font-size: 18px;
	background-color: rgb(36 88 110 / 85%);
	color: white;
	opacity: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 280ms ease;
	position: absolute;
	top: 0;
	left: 0;
}

#contact .content #gmap:hover::after {
	opacity: 1;
}

#contact .content .wpcf7 {
	width: calc(50% - 20px);
	color: #808080;
	font-weight: 300;
	font-size: 10pt;
	float: right;
	position: relative;
}

#contact .content .wpcf7 p {
	width: 100%;
	margin-top: 0;
	margin-bottom: 20px;
	float: left;
	position: relative;
}

#contact .content .wpcf7 label {
	width: 100%;
	height: 100%;
	border: 1px solid #808080;
	text-align: center;
	background-color: #fff;
	float: left;
	position: absolute;
	left: 0;
	z-index: 3;
	transition: all 520ms ease;
}

#contact .content .wpcf7 .focus label {
	width: 100px;
	color: #24586e;
	border-color: #24586e;
}

#contact .content .wpcf7 .filled label {
	width: 100px;
}

#contact .content .wpcf7 label > span {
	width: 100%;
	height: 100%;
	text-align: center;
	display: table;
}

#contact .content .wpcf7 label > span > span {
	display: table-cell;
	vertical-align: middle;
}

#contact .content .wpcf7 input,
#contact .content .wpcf7 textarea {
	width: 100%;
	height: 40px;
	padding: 10px 10px 10px 110px;
	border: 1px solid #808080;
	font-size: 10pt;
	color: #24586e;
	font-family: 'Open Sans', sans-serif;
	float: left;
	transition: all 520ms ease;
}

#contact .content .wpcf7 .focus input,
#contact .content .wpcf7 .focus textarea {
	border-color: #24586e;
}

#contact .content .wpcf7 .wpcf7-not-valid,
#contact .content .wpcf7 .focus .wpcf7-not-valid input,
#contact .content .wpcf7 .focus .wpcf7-not-valid textarea {
	color: #ff9800;
}

#contact .content .wpcf7 .wpcf7-not-valid,
#contact .content .wpcf7 .focus .wpcf7-not-valid,
#contact .content .wpcf7 .wpcf7-not-valid textarea {
	border: 2px solid #ff9800 !important;
}

#contact .content .wpcf7 textarea {
	height: auto;
	max-height: 180px;
	padding-bottom: 0;
	overflow: scroll !important;
	resize: none;
}

#contact .content .wpcf7 input[type=checkbox] {
	visibility: hidden;
	opacity: 0;
	position: absolute;
}

#contact .content .wpcf7 label[for=accept] {
	width: 25px;
	height: 25px;
	margin-right: 10px;
	border: 1px solid #24586e;
	cursor: pointer;
	display: block;
	float: left;
	padding: 3px;
	position: static;
}

#contact .content .wpcf7 label[for=accept]::after {
	content: '';
	display: block;
	width: 17px;
	height: 17px;
	background-color: #24586e;
	opacity: 0;
	transform: scale(0);
	float: left;
	transition: all 280ms ease;
}

#contact .content .wpcf7 label[for=accept].checked::after {
	opacity: 1;
	transform: scale(1);
}

#contact .content .wpcf7 .policy {
	margin-top: 4px;
	float: left;
}

#contact .content .wpcf7 .policy a {
	text-decoration: underline;
}

#contact .content .wpcf7 .policy a:hover {
	text-decoration: none;
}

#contact .content .wpcf7 p.accept {
	width: 60%;
	margin-top: 7px;
	margin-bottom: 0;
}

#contact .content .wpcf7 p.submit {
	width: 30%;
	margin-bottom: 0;
	float: right;
}

#contact .content .wpcf7 p.submit input {
	padding: 0;
	border: 1px solid #24586e;
	color: #24586e;
	background-color: transparent;
	transition: all 280ms ease;
}

#contact .content .wpcf7 p.submit input:hover {
	background-color: #24586e;
	color: #fff;
}

#contact .content .wpcf7 p.submit input[disabled=disabled],
#contact .content .wpcf7 p.submit input:disabled:hover {
	opacity: 0.4;
	background-color: transparent;
	color: #24586e;
}

#contact .content .wpcf7 .wpcf7-not-valid-tip,
#contact .content .wpcf7 .wpcf7-response-output {
	display: none !important;
}

#contact .content .wpcf7 .wpcf7-mail-sent-ok {
	width: 100%;
	height: 40px;
	padding: 10px 0 0 0;
	margin: 0;
	text-align: center;
	background-color: #24586e;
	border-color: #24586e;
	color: #fff;
	display: block !important;
	position: absolute;
	bottom: 0;
}

#contact .content .wpcf7 .ajax-loader {
	position: absolute;
	left: -30px;
	top: 12px;
}

.grecaptcha-badge{
	opacity: 0;
	pointer-events: none;
}


/* Footer */

#footer {
	width: 100%;
	padding: 30px 0 20px;
	font-weight: 300;
	font-size: 10pt;
	font-weight: 300;
	background-color: #24586e;
	color: #fff;
	float: left;
	position: relative;
	z-index: 9;
}

#footer .block {
	width: auto;
}

#footer span {
	margin: 0 10px;
	float: left;
}

#footer #copy {
	float: right;
}

#footer #copy img {
	margin-right: 10px;
	float: left;
	position: relative;
	top: -4px;
}

#footer #links {
	float: left;
}

#footer a {
	color: #fff;
}

#footer a:hover {
	text-decoration: underline;
}