/* 
Theme Name: Child
Author: ConsulWeb Development Team
Author URI: https://consulweb.com/
Template: hello-elementor
Version: 2.0.0
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: 'Hind';
	src: url("/wp-content/themes/child/fonts/Hind.woff2") format("woff2-variations");
	font-weight: 100 1000;
	font-stretch: 75% 125%;
	font-style: normal;
	font-display: swap;
}

/* tipografia */
body, input, textarea, select, button {
    font-synthesis: none;
    -moz-font-feature-settings: 'kern';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    direction: ltr;
	font-family: 'Hind';
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Hind', serif;
}
p {
	text-align: justify;
}
@media (min-width: 768px) {
	h1 {
		font-size: 3.4rem;
		letter-spacing: 1px;
	}
	h2 {
		font-size: 2.8rem;
	}
}

/* general */
body {
	color: var(--e-global-color-text);
	font-size: 18px;
	overflow-x: clip;
}
a, a:hover, a:active {
	color: var(--e-global-color-text);
}
.no-link > a {
    cursor: default;
}

/* scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #f5f5f5 var(--e-global-color-primary);
}
*::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}
*::-webkit-scrollbar-track {
  border-radius: 0px;
  background-color: var(--e-global-color-primary);
}
*::-webkit-scrollbar-thumb {
  border-radius: 0px;
  background-color: var(--e-global-color-accent);
}

/* temporal */
body.admin-bar header {
	margin-top: 32px;
}

/* header */
/*header {
	position: absolute;
	width: 100%;
	top: 0;
	z-index: 9991;
}
header.hfe-sticky {
	position: fixed;
	animation: slide-down 0.8s;
	background: var(--e-global-color-secondary);
}
main {
	margin-top: 70px;
}
@media (max-width: 767px) {
	header {
		padding: 20px 10px;
		max-height: 92px;
	}
	main {
		margin-top: 92px;
	}
	header.hfe-sticky .h-logo {
		transform: scale(1);
	}
}*/

/* header-new */
header {
	position: relative;
	width: 100%;
	top: 0;
	z-index: 9991;
	background: var(--e-global-color-secondary);
}
header.hfe-sticky {
	position: fixed;
	animation: slide-down 0.8s;
	background: rgba(255,255,255,0.80);
	backdrop-filter: blur(10px);
	box-shadow: 0 1px 0 #F9564F;
}
header.hfe-sticky .pre-header {
	display: none!important;
}
header .mainbar {
	padding: 20px 10px;
}
header.hfe-sticky .mainbar {
	padding: 10px;
}
header .h-logo {
	transform-origin: left center;
	transform: scale(1);
	transition: 0.8s;
}
header.hfe-sticky .h-logo {
	transform: scale(0.85);
	transition: 0.8s;
}

@media (max-width: 767px) {
	header {
		//padding: 20px 10px;
		max-height: 120px;
	}
	header.hfe-sticky .h-logo {
		transform: scale(1);
	}
}

@media (min-width: 768px) {
	.contacto-btn .elementor-button {
		background-color: var(--e-global-color-accent)!important;
		//padding: 0 20px 0 10px!important;
		border-radius: 7px!important;
	}
	.contacto-btn .elementor-button:hover {
		background-color: var(--e-global-color-primary)!important;
	}
	.contacto-btn a {
		color: var(--e-global-color-secondary)!important;
	}
	.contacto-btn a.elementor-item::after {
		display: none!important;
	}
}
@keyframes slide-down {
    0% {
        transform: translateY(-100%);
    } 
    100% {
        transform: translateY(0);
    }
}

/* floating cita */
#floatcita {
	padding: 0px;
	margin: 0px;
	position: fixed;
	right: -100px;
	top: 50%;
	width: 160px;
	z-index: 999;
}
#floatcita li {
	list-style-type: none;
	background: var(--e-global-color-primary);
	height: 60px;
	margin-bottom: .5em;
	text-decoration: none;
	line-height: 60px;
	box-shadow: 0 2px 10px 0 rgba(0,0,0,.1);
	transition: all 0.4s ease;
	padding: 0 0 0 20px;
	white-space: nowrap;
	overflow: hidden;
	border-radius: 7px;
}
#floatcita img {
    transform: translate(-4px, 8px);
}

#floatcita li span {
	padding: 0 15px;
	margin: 0px;
	visibility: collapse;
	color: var(--e-global-color-secondary);
}
#floatcita li:hover {
	margin-left: -180px;
	background: var(--e-global-color-accent);
}
#floatcita li:hover span, #floatcita li:hover i {
	visibility: visible;
}

/* footer-new */
@media (max-width: 768px) {
    .menu-legal .elementor-nav-menu {
        display: flex!important;
        flex-direction: column;
        align-items: center;
    }
}