/* 
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: 'Outfit';
  src: url('/wp-content/themes/child/fonts/Outfit-Regular.woff2') format('woff2'); 
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Outfit';
  src: url('/wp-content/themes/child/fonts/Outfit-Bold.woff2') format('woff2'); 
  font-weight: 700;
  font-style: normal;
}

/* tipografia */
body {
	font-family: 'Outfit', -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-size: 17px;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}
p, ul, ol, div.elementor-testimonial__text {
	text-align: justify;
}
@media (min-width: 1100px) {
	h1, .single-post .site-main h1 {
    font-size: 3rem;
	}
	h2 {
	font-size: 2.6rem;
	}
	.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);
}

::-webkit-scrollbar {
    width: 7px;
	border: 1px solid var(--e-global-color-accent);
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--e-global-color-accent);
}

.elementor-accordion .elementor-tab-title {
    border-bottom: 1px solid var(--e-global-color-accent);
}
.elementor-widget .elementor-icon-list-item {
	align-items: flex-start!important;
}
.listado .elementor-icon-list-icon {
	margin-top: 8px;
}

@media (min-width: 768px) {
    .equal-blocks .elementor-widget-container {
        min-height: 300px;
    }
	.equal-blocks-th .elementor-widget-container {
        min-height: 224px;
    }
	/* submenu header fix */
	.elementor-nav-menu--main .elementor-nav-menu ul {
		min-width: 225px!important;
	}
}

/* header */
#cabecera {
	position: relative;
	width: 100%;
	z-index: 8888;
}
#cabecera.hfe-sticky {
	top: 0px;
	position: fixed;
	width: 100%;
	animation: slide-down 0.8s;
	padding: 0;
	background: rgba(255,255,255,.9);
	border-bottom: 1px solid var(--e-global-color-accent);
}
/*#cabecera .headerlogo {
	transform-origin: left;
	transform: scale(0.8);
}*/
@media (max-width: 767px) {
	#cabecera.elementor-section,
	#cabecera.elementor-section.hfe-sticky {
		top: 0;
		padding: 0;
	}
	/*#cabecera.elementor-section .headerlogo svg {
		transform: scale(.8);
	}*/
}
#h-logo a {display: flex;}
.head-icon .elementor-widget-container {
    line-height: 0;
	cursor: pointer;
}
.menu {
    cursor: pointer;
}
.elementor-sub-item {border:0!important;}
/*.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);
}*/

/*@media (min-width: 768px){
	#cabecera.elementor-section .headerlogo svg {
		transform: scale(1);
		will-change: transform;
		transition: .5s;
	}
	#cabecera.elementor-section.hfe-sticky .headerlogo svg {
		transform: scale(.8);
		transform-origin: left;
		transition: 1s;
	}
	.no-link a.hfe-menu-item {
		cursor: default!important;
		color: var(--e-global-color-text)!important;}
}*/

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

/* inputs, buttons */
.elementor-button {
	display: block;
	font-family: 'Outfit';
	font-weight: 700;
	font-size: 1.1rem;
	border-radius: 5px;
	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;
}

/* cajas destacadas */
#valores-destacado:hover .elementor-icon {
	background-color: var(--e-global-color-primary)!important;
}
#valores-destacado:hover .elementor-icon-box-content h3,
#valores-destacado:hover .elementor-icon-box-content p {
	color: var(--e-global-color-text)!important;
}
@media (min-width: 768px) {
	#valores-destacado{
		transition: .5s;
	}
	#valores-destacado:hover {
		transform: translateY(-40px);
		transition: .5s;
	}
}

/* sombra */
.info-clinic {
	box-shadow: rgba(64, 79, 106, 1) 30px 30px 0;
}
.sombra-izq .elementor-widget-container::before {
	content: '';
	position: absolute;
	width: 90%;
	height: 100%;
	background: var(--e-global-color-primary);
	z-index: -1;
	animation: zoomy 6s infinite;
	transform-origin: right;
	left: -15px;
	max-width: 500px;
}
.sombra-der .elementor-widget-container::before {
	content: '';
	position: absolute;
	width: 90%;
	height: 100%;
	background: var(--e-global-color-primary);
	z-index: -1;
	animation: zoomy 6s infinite;
	transform-origin: left;
	right: 0;
	max-width: 500px;
}
.sombra-izq img, .sombra-der img {
	z-index: 1;
}
@media (min-width:769px) {
	.sombra-caja {
		box-shadow: rgba(42, 100, 89, 1) -30px 30px 0;
	}
}
@keyframes zoomy {
    0%, 100% {
        transform: scale(1.02);
    }

    50% {
        transform: scale(1.08);
    }
}

/* 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-accent);
	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: 0;
}
#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: -115px;
	background: var(--e-global-color-primary);
}
#floatcita li:hover span, #floatcita li:hover i {
	visibility: visible;
}

/* entradas de blog */
.single-post .page-header.titulo img,
.single-consejos .page-header.titulo img{
	margin: 20px 0;
	border-radius: 0;
}
.single-post .page-content,
.single-consejos .page-content{
	margin-bottom: 90px;
}
.single-consejos .wp-post-image {
	width: 100%;
max-height: 500px;
-o-object-fit: cover;
object-fit: cover;
}
.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;
}

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

/* info protección datos */
.masinfo .elementor-tab-content {
	position: absolute;
    background: #efefeff7;
    border-radius: 0px;
    margin-top: 10px;
    padding-bottom: 10px!important;
    box-shadow: 0 0 20px #2A645960;
	z-index: 9;
	color: var(--e-global-color-text)!important;
}
.masinfo .elementor-tab-content a {
    color: var(--e-global-color-text)!important;
}