/* 
Theme Name: Child
Author: Publidental
Author URI: https://www.publidental.es
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: 'Amulya';
  src: url('/wp-content/themes/child/fonts/Amulya-Regular.woff2') format('woff2'); 
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Amulya';
  src: url('/wp-content/themes/child/fonts/Amulya-Bold.woff2') format('woff2'); 
  font-weight: 700;
  font-style: normal;
}

/* tipografia */
body {
	font-family: 'Amulya', -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-size: 18px;
	background: var(--e-global-color-secondary);
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Amulya';
}
@media (min-width: 1100px) {
	h1 {
    font-size: 3.2rem;
	}
	h2 {
	font-size: 2.2rem;
	}
	.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, a {
	color: var(--e-global-color-text);
}
a:hover, a:active {
	color: var(--e-global-color-accent);
}
html ::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}
html ::-webkit-scrollbar-button {
    display: none;
  }
html ::-webkit-scrollbar-track {
    background-color: var(--e-global-color-secondary);
  }
html ::-webkit-scrollbar-track-piece {
    background-color: transparent;
  }
html ::-webkit-scrollbar-thumb {
    background-color: var(--e-global-color-primary);
    border-radius: 3px;
  }
html ::-webkit-scrollbar-corner {
    background-color: #aaa;
  }
html ::-webkit-resizer {
    background-color: transparent;
  }
/*
.elementor-accordion .elementor-tab-title {
    border-bottom: 1px solid #d4d4d4;
}*/

.elementor-widget .elementor-icon-list-item {
	align-items: flex-start!important;
}
.elementor-widget .elementor-icon-list-icon:not(.elementor-inline-item) {
	padding-top: 8px;
}

/* header */
#cabecera {
	position: relative;
	width: 100%;
	z-index: 8888;
	padding: 0;
}
#cabecera.hfe-sticky {
	top: 0px;
	position: fixed;
	width: 100%;
	animation: slide-down 0.8s;
	background: var(--e-global-color-secondary);
	box-shadow: 0px 2px 8px rgba(179, 149, 115, .2);
	max-height: 110px;
}

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

@media (max-width: 767px) {
	#cabecera.elementor-section,
	#cabecera.elementor-section.hfe-sticky {
		top: 0;
		padding: 0;
	}
	#cabecera.elementor-section .headerlogo svg{
		transform: scale(.8);
	}
}
.headerlogo a {display: flex;}

@media (min-width: 768px){
	#cabecera.elementor-section .headerlogo svg {
		transform: scale(1);
		will-change: width;
		transition: .5s;
	}
	#cabecera.elementor-section.hfe-sticky .headerlogo svg {
		transform: scale(.8);
		transform-origin: left;
		transition: 1s;
	}
}
.head-icon .elementor-widget-container {
    line-height: 0;
	cursor: pointer;
}
.menu {
    cursor: pointer;
}

.menu-item .has-submenu:hover .sub-arrow .e-font-icon-svg,
.menu-item .elementor-item-active .sub-arrow .e-font-icon-svg {
	fill: var(--e-global-color-secondary);
}

.no-link > a {
	cursor: default;
}

/* slider home & heros */
#slider-home .swiper-slide-contents {
    background: var(--e-global-color-secondary);
    padding: 2rem 1rem 1rem;
    border-radius: 15px;
	opacity: .9;
}
.hero-title {
    background: #fefbf77a;
    padding: .5rem 1rem;
    border-radius: 15px;
}
.scroll-downs {
  margin: auto;
  width: 34px;
  height: 55px;
}
.mousey {
  width: 3px;
  padding: 10px 15px;
  height: 35px;
  border: 2px solid var(--e-global-color-text);
  border-radius: 25px;
  opacity: 0.75;
  box-sizing: content-box;
}
.scroller {
  width: 3px;
  height: 10px;
  border-radius: 25%;
  background-color: var(--e-global-color-text);
  animation-name: scroll;
  animation-duration: 2.2s;
  animation-timing-function: cubic-bezier(.15,.41,.69,.94);
  animation-iteration-count: infinite;
}
@keyframes scroll {
  0% { opacity: 0; }
  10% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0;}
}

/* svg shapes & img */
.ohanashape .widget-image-caption {
	position: absolute;
    top: 0;
    left: 50%;
    color: var(--e-global-color-accent);
    font-size: 1.2rem;
    text-transform: uppercase;
    font-style: normal;
    transform: translate(-50%, -50%);
}
@media (min-width:768px){
	.img-satelites::before {
		content: '';
		position: absolute;
		top: -20px;
		left: -30px;
		background: #B3957340;
		width: 60px;
		height: 60px;
		border-radius: 50%;
		z-index: 1;
	}
	.img-satelites::after {
		content: '';
		position: absolute;
		bottom: -20px;
		right: -30px;
		background: #B3957340;
		width: 60px;
		height: 60px;
		border-radius: 50%;
		z-index: 1;
		transform-origin: center;
		transform: scale(1.4);
	}
}

/* inputs, buttons */
.elementor-button {
	display: block;
	font-family: 'Amulya';
	font-weight: 400;
	font-size: 1.1rem;
	border-radius: 25px;
	padding: .75em 1.25em;
	letter-spacing: 2px;
	position: relative;
	width: max-content;
	background: var(--e-global-color-primary);
	background-size: 500%;
	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;
}

/* efectos de entrada */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translate3d(0,-30px,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}
.elementor-element.fadeInDown {
    animation-name: fadeDown
}
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px,0,0)
    }
    to {
        opacity: 1;
        transform: none
    }
}
.elementor-element.fadeInLeft {
    animation-name: fadeLeft
}
@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translate3d(30px,0,0)
    }
    to {
        opacity: 1;
        transform: none
    }
}
.elementor-element.fadeInRight {
    animation-name: fadeRight
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translate3d(0,30px,0)
    }
    to {
        opacity: 1;
        transform: none
    }
}
.elementor-element.fadeInUp {
    animation-name: fadeUp
}

/* blog */
.elementor-post__text {
    padding: 10%!important;
}

/* entradas de blog */
.single-post .page-header.titulo img {
	margin: 20px 0;
	border-radius: 15px;
}
.single-post .page-content {
	margin-bottom: 90px;
}
.blog-pn {
	display: flex;
	width: 100%;
	justify-content: space-between;
	border-top: 2px solid;
	border-bottom: 2px solid;
	color: var(--e-global-color-accent);
	margin: 70px 0;
	padding: 1rem 0;
}
.blog-pn .previous-button,
.blog-pn .next-button {
	display: inline-block;
	font-size: .9rem;
}

/* footer */
footer {
	background-color:hsla(34,77%,98%,1);
	background-image:
		radial-gradient(at 0% 99%, hsla(184,64%,20%,0.32) 0px, transparent 50%),
		radial-gradient(at 99% 99%, hsla(356,69%,64%,0.46) 0px, transparent 50%);
}