/* 
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: 'Poppins';
  src: url('/wp-content/themes/child/fonts/Poppins-Light.woff2') format('woff2'); 
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('/wp-content/themes/child/fonts/Poppins-Medium.woff2') format('woff2'); 
  font-weight: 500;
  font-style: normal;
}

/* tipografia */
body {
	font-family: 'Poppins', -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-size: 17px;
	font-weight: 300;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 500;
}
@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 {
	text-decoration: none!important;
}
a:hover, a:active {
	color: var(--e-global-color-accent);
}

.elementor-widget .elementor-icon-list-item {
	align-items: flex-start!important;
}
.elementor-icon-list-icon {
	margin-top: 5px;
}
@media (min-width: 768px) {
	.pegado {
		position: sticky;
		top: 100px;
	}
}
.no-link > a {
	cursor: default;
}

/* header */
#cabecera {
	position: relative;
	width: 100%;
	z-index: 8888;
	background: var(--e-global-color-secondary);
}
#cabecera.hfe-sticky {
	top: 0px;
	position: fixed;
	width: 100%;
	padding: 0;
	box-shadow: 0 2px 10px 0 rgba(0,0,0,.1);
}
.h-logo a {display: flex;}
.head-icon .elementor-widget-container {
    line-height: 0;
	cursor: pointer;
}
#cabecera.elementor-section .h-logo .logo-texto {
	opacity: 0;
}

.elementor-sub-item {border:0!important;}
.lema {
	font-size: 1.6rem;
	text-shadow: 1px 1px 4px #fff;
}

@media (min-width: 768px){
	#cabecera.elementor-section .h-logo path:not(.noword) {
		opacity: 1;
		transition: .5s;
	}
	#cabecera.elementor-section.hfe-sticky .h-logo:not(:hover) path:not(.noword) {
		opacity: 0;
		transition: .5s;
	}
	#cabecera.elementor-section.hfe-sticky .h-logo:not(:hover) .logo-texto {
		opacity: 1;
		transition: .7s;
	}
	.featured::before {
		position: absolute;
		content: '★';
		color: var(--e-global-color-accent);
		display: flex;
		font-size: .9rem;
		width: 20px;
		left: 35%;
		top: 55px;
		transition: .5s;
	}
	.featured:hover::before {
		color: var(--e-global-color-primary);
		top: 10px;
	}
}


/* scroll down */
.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;}
}

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

/* floating cita */
#floatcita {
	padding: 0px;
	margin: 0px;
	position: fixed;
	right: -100px;
	top: 50%;
	width: 160px;
	z-index: 999;
}
#floatcita li {
	list-style-type: none;
	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;
}
#floatcita li.telefono, #floatcita li.email {
	background: var(--e-global-color-accent);
}
#floatcita li.whatsapp {
	background: #25D366;
}
#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 {
	margin: 20px 0;
	border-radius: 5px;
}
.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;
}

/* tarjetas */
.tarjeta svg {
	transform: rotate(0deg);
	transition: .5s;
}
.tarjeta:not(:hover) svg {
	transform: rotate(360deg);
	transition: .5s;
}
.tarjeta .elementor-widget-container a {
	display: flex;
	flex-direction: column;
    align-items: center;
    justify-content: space-between;
	width: 350px;
	text-align: center;
	padding: 2rem 1rem;
	transition: .5s;
}
.tarjeta .elementor-widget-container a::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-shadow: 0 0 10px 0 rgba(0,0,0,.10);
	opacity: 0;
	transition: .5s;
}
.tarjeta .elementor-widget-container a:hover::after {
    opacity: 1;
}
.tarjeta .elementor-widget-container a h3 {
	margin: 1rem 0 0;
	font-size: 1.2rem;
}

/* tarjetas puntos clinicas */
.puntos-clinica .elementor-icon-box-wrapper {
    height: 200px;
}