/* 
Theme Name: Child
Author: Awake Development Team
Author URI: https://awake-studio.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

@font-face {
	font-family: 'HafferSQ';
	src: url('/wp-content/themes/child/fonts/HafferSQ-Regular.woff2') format('woff2'); 
	font-weight: 400;
	font-style: normal;
}
@font-face {
	font-family: 'HafferSQ';
	src: url('/wp-content/themes/child/fonts/HafferSQ-Medium.woff2') format('woff2'); 
	font-weight: 500;
	font-style: normal;
}
@font-face {
	font-family: 'HafferSQ';
	src: url('/wp-content/themes/child/fonts/HafferSQ-SemiBold.woff2') format('woff2'); 
	font-weight: 600;
	font-style: normal;
}
@font-face {
	font-family: 'Canela';
	src: url('/wp-content/themes/child/fonts/Canela.woff2') format('woff2'); 
	font-weight: normal;
	font-style: normal;
}

/* tipografia */
body, input, textarea, select, button, .sans h1 {
	font-family: 'HafferSQ', -apple-system, sans-serif;
	font-synthesis: none;
	-moz-font-feature-settings: 'kern';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	direction: ltr;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Canela';
	font-weight: 400;
}
.sans h1, .sans h2, .sans h3, .sans h4, .sans h5, .sans h6 {
	font-family: 'HafferSQ';
	font-weight: 400;
}
.titulo-sans h1, .subtitulo-sans {
	font-family: 'HafferSQ';
}
.subtitulo-serif {
	font-family: 'Canela';
}

@media (min-width: 769px) {
	body {
		font-size: 16px;
	}
	h1, h2, .subtitulo-sans, .subtitulo-serif {
		font-size: 38px;
		line-height: 38px;
	}
	.big-h1 h1 {
		font-size: 56px;
		line-height: 58px;
	}
	.titulo-sans h1 {
		font-size: 40px;
		line-height: 43,76px;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 14px;
	}
	h1, h2, .subtitulo-sans, .subtitulo-serif {
		font-size: 24px;
		line-height: 24px;
	}
	.titulo-sans h1 {
		font-size: 18px;
		line-height: 19,69px;
		font-weight: 500;
	}
}

/* general */
body {
	color: var(--e-global-color-text);
	//overflow-x: clip;
	overflow-x: hidden;
}
a, a:hover, a:active {
	color: var(--e-global-color-text);
}
.white {
	color: var(--e-global-color-secondary);
}
@media (max-width: 768px) {
	.mobile-blue {
		color: var(--e-global-color-primary);	
	}
	.no-bg {
		background-image: none!important;
	}
}
	
/* header */
#cabecera {
	position: absolute;
	width: 100%;
	z-index: 8888;
	padding: 20px 64px;
}
#cabecera.hfe-sticky {
	top: 0px;
	position: fixed;
	width: 100%;
	max-height: 120px;
	background: var(--e-global-color-text);
	animation: slide-down 0.8s;
	z-index: 9991;
	padding: 10px 64px;
}

/* Safari altura header fix */
#cabecera.hfe-sticky .elementor-container {
	max-height: 120px;
	transition: 0.5s;
}
#cabecera .elementor-nav-menu .sub-arrow .e-font-icon-svg {
	fill: var(--e-global-color-secondary);
}
.h-logo, .f-logo, .mn-off .elementor-icon-wrapper {
	line-height: 1;
}
.h-menu a {
	display: inline-block;
	position: relative;
	text-decoration: none;
	width: fit-content;
}
.h-menu a::after {
	content: '';
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 0.05em;
	bottom: 0;
	left: 0;
	background: currentcolor;
	transform-origin: bottom right;
	transition: transform 0.4s ease-out;
}
.h-menu a:hover::after,
.h-menu a.elementor-item-active::after {
	transform: scaleX(1);
	transform-origin: bottom left;
}

@media (max-width: 767px) {
	#cabecera {
		padding: 20px 24px 10px 24px;
	}
	#cabecera.hfe-sticky {
		padding: 14px 24px;
	}
	#cabecera.elementor-section,
	#cabecera.elementor-section.hfe-sticky {
		top: 0;
		padding: 10px;
	}
}

@keyframes slide-down {
	0% {
		opacity: 0;
		transform: translateY(-100%);
	}
	100% {
		opacity: 0.9;
		transform: translateY(0);
	}
}

/* inputs, buttons */
.elementor-button {
	display: inline-block;
	border-radius: 0;
	padding: 1em 1.6em;
	width: max-content;
	background: var(--e-global-color-primary);
	outline: none;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	color: var(--e-global-color-secondary);
	-webkit-transition: ease-out 0.4s;
	-moz-transition: ease-out 0.4s;
	transition: ease-out 0.4s;
}
.elementor-button:visited {
	color: currentcolor;
}
.bt-under a::after {
	content: '';
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 0.05em;
	bottom: 0;
	left: 0;
	background: currentcolor;
	transform-origin: bottom right;
	transition: transform 0.4s ease-out;
}
.bt-under a:hover::after {
	transform: scaleX(1);
	transform-origin: bottom left;
}
a.e-con-boxed .arrow-loop {
	opacity: 0;
}
a.e-con-boxed:hover .arrow-loop {
	opacity: 1;
}

/* servicios home */
#image-swap {
	background-image: url('/wp-content/uploads/Servicios-Home-Ondara.jpg');
	background-size: cover;
	background-position: center center;
}
.servicios-list {
    text-align: right;
}
.servicios-list a {
    color: var(--e-global-color-secondary);
    font-size: 30px;
    line-height: 32,82px;
    font-weight: 400;
}
.servicios-list a:hover {
    color: var(--e-global-color-text);
}

/* ajustes home */
@media (min-width: 769px){
	.max-wide-cont .e-con-inner {
		max-width: 464px;
		margin-left: 120px;
	}
}

/* footer web */
@media (max-width: 768px) {
	.menu-legal ul {
		display:flex;
		flex-direction: column;
		align-items: flex-start;
	}
	.menu-legal li {
		--e-nav-menu-horizontal-menu-item-margin: 0;
	}
	.menu-legal .elementor-nav-menu a, .menu-legal .elementor-nav-menu:hover a {
		padding: 5px!important;
	}
}