/* 
Theme Name: Child
Author: Consulweb Development Team
Author URI: https://www.consulweb.net
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: 'GeneralSans';
	src: url('/wp-content/themes/child/fonts/GeneralSans-var.woff2') format('woff2 supports variations'),
       url('/wp-content/themes/child/fonts/GeneralSans-var.woff2') format('woff2-variations');
	font-weight: 100 1000;
	font-stretch: 25% 151%;
	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;
    text-align: justify;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 300;
}
@media (min-width: 1100px) {
	h1, .h2grande h2{
    font-size: 3.3rem;
	}
	h2 {
	font-size: 2.9rem;
	}
	.single-post .site-main h1 {
		font-size: 2.4rem;
		color: var(--e-global-color-accent);
	}
	.single-post .site-main h2 {
		font-size: 1.8rem;
	}
	.single-post .site-main h3 {
		font-size: 1.3rem;
	}
}

/* general */
body {
	color: var(--e-global-color-text);
	font-size: 17px;
	font-weight: 300;
	overflow-x: hidden;
}
a, a:hover, a:active {
	color: var(--e-global-color-text);
}
.elementor-icon-list-item {
    align-items: flex-start!important;
}

/* header */
#cabecera {
	position: absolute;
	width: 100%;
	z-index: 8888;
	padding: 10px;
}
#cabecera.hfe-sticky {
	top: 0px;
	position: fixed;
	width: 100%;
	max-height: 120px;
	background: var(--e-global-color-accent);
	animation: slide-down 0.8s;
	z-index: 9991;
}

/* 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);
}

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

@media (min-width: 1100px) {
	#cabecera.elementor-section .headerlogo img {
		transition: 0.8s;
	}
	#cabecera.elementor-section.hfe-sticky .headerlogo img {
		transform: scale(0.8);
		transform-origin: left;
		transition: 0.8s;
	}
}
@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    } 
    100% {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* inputs, buttons */
.elementor-button {
	display: inline-block;
	font-family: 'GeneralSans';
	font-weight: 500;
	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;
}

/* efectos */
.icon-scroll,
.icon-scroll:before {
  position: absolute;
  left: 50%;
}
.icon-scroll {
  width: 40px;
  height: 70px;
  margin-left: -20px;
  top: 50%;
  margin-top: -35px;
  box-shadow: inset 0 0 0 2px var(--e-global-color-secondary);
  border-radius: 25px;
}
.icon-scroll:before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--e-global-color-secondary);
  margin-left: -4px;
  top: 8px;
  border-radius: 4px;
  -webkit-animation-duration: 1.5s;
          animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-name: scroll;
          animation-name: scroll;
}
@-webkit-keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(46px);
  }
}
@keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(46px);
  }
}

.circulo {
	position: relative;
	margin-right: 1rem;
	z-index: 1;
	color: var(--e-global-color-secondary);
}
.circulo::before {
	position: absolute;
	background: var(--e-global-color-accent);
	width: 50px;
	height: 50px;
	content: '';
	border-radius: 0;
	margin-left: -8px;
	margin-top: -9px;
	z-index: -1;
}

.high {
	transform-origin: center;
	transform: scale(.95);
	transition: .5s;
}
.high:hover {
	transform: scale(1);
	transition: .5s;
}

/* grid */
.grid-contenedor {
	--auto-grid-min-size: 330px;
	display: grid;
	grid-gap: 2rem;
	grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.grid-item img {
	transition: 0.5s;
	border-radius: 0;
	height: 287px;
	object-fit: cover;
}
.grid-item .precio {
	color: var(--e-global-color-accent);
}
.grid-item:not(:hover) img {
	transform: scale(0.95);
	border-radius: 8px;
}
.grid-contenedor a {
    display: flex;
    flex-direction: column;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0px 2px 20px #ddd;
    padding-bottom: 10px;
	transition: 0.5s;
}