/* 
Theme Name: Child
Author: Publidental Development Team
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: 'Moderustic';
	src: url("/wp-content/themes/child/fonts/Moderustic.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: 'Moderustic';
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Moderustic';
	font-weight: 600;
	//color: var(--e-global-color-primary);
}
p, ul, ol {
	text-align: justify;
}
@media (min-width: 768px) {
	h1 {
		font-size: 3rem;
	}
	h2 {
		font-size: 2.7rem;
	}
}

/* general */
body {
	color: var(--e-global-color-text);
	font-size: 17px;
	overflow-x: clip;
}
a, a:hover, a:active {
	color: var(--e-global-color-text);
}
.galeria-instalaciones .e-gallery-item {
    box-shadow: -20px -20px 10px 0 var(--e-global-color-accent);
}

/* header */
header {
	position: absolute;
	width: 100%;
	top: 0;
	z-index: 9991;
	padding: 20px 0;
}
/*.home header {
	position: absolute;
}*/
header.hfe-sticky {
	position: fixed;
	animation: slide-down 0.8s;
	background-color: var(--e-global-color-secondary);
	padding: 10px 0;
}
header.hfe-sticky .pre-header {
	display: none!important;
}
.no-link > a {
    cursor: default;
}
@media (max-width: 767px) {
	header, header.hfe-sticky {
		padding: 10px;
	}
	header.hfe-sticky .elementor-menu-toggle {
		color: var(--e-global-color-text)!important;
	}
}

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

/* marquee */
.marquee .elementor-widget-container {
	--gap: 40px;
	--duration: 60s;
	display: flex;
	overflow: hidden;
	user-select: none;
	gap: var(--gap);
}
.marquee__content {
	list-style-type: none;
	flex-shrink: 0;
	display: flex;
	justify-content: space-around;
	min-width: 100%;
	gap: var(--gap);
	padding-inline-start: 0;
	font-size: 6rem;
	color: var(--e-global-color-accent);
	-webkit-text-stroke: min(0.25vmin, 1px) var(--e-global-color-accent);
	text-stroke: min(0.25vmin, 1px) var(--e-global-color-accent);
	text-transform: uppercase;
	font-family: sans-serif;
	font-weight: 600;
	animation: scroll var(--duration) linear infinite;
}
.marquee__content li:nth-child(odd) {
	color: var(--e-global-color-secondary);
	-webkit-text-stroke: min(0.25vmin, 1px) var(--e-global-color-accent);
	text-stroke: min(0.25vmin, 1px) var(--e-global-color-accent);
}
@keyframes scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(calc(-100% - var(--gap)));
	}
}

/* efectos */
.enlace-flecha {
	width: 60px;
	height: 60px;
	display: block;
	margin: auto;
	position: relative;
	border: 1px solid var(--e-global-color-primary);
	border-radius: 50%;
	padding: 20px;
}
.arrow-bajar {
	width: 16px;
	margin: auto;
	display: block;
	height: 70px;
	animation: MoveUpDown 1.5s linear infinite;
	will-change: transform;
}
@keyframes MoveUpDown {
    0%, 100% {transform: translateY(-30px);}
	50% {transform: translateY(-20px);}
}

/* footer últimas entradas */
.elementor-widget-wp-widget-recent-posts h5 {
	display: none;
}
.elementor-widget-wp-widget-recent-posts ul {
	list-style: none;
	padding: 0;
}
.elementor-widget-wp-widget-recent-posts li {
	font-size: 14px;
	padding-bottom: 20px;
}

/* 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: 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: #EF7007;
}
#floatcita li:hover span, #floatcita li:hover i {
	visibility: visible;
}