/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: TUCHO Development Team
Template: flatsome
Version: 1.0
*/

/* tipografia */
@font-face {
	font-family: 'Onest';
	src: url('/wp-content/themes/flatsome-child/fonts/Onest.woff2') format('woff2-variations');
	font-weight: 100 1000;
	font-stretch: 75% 125%;
	font-style: normal;
	font-display: swap;
}

body, input, textarea, select, button, p {
    font-synthesis: none;
    -moz-font-feature-settings: 'kern';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    direction: ltr;
	font-family: 'Onest';
}
h1, h2, h3, h4, h5, h6, .widget-title {
	font-weight: 600;
}
p, ul {
	text-align: justify;
}
b, strong {
	font-weight: 600;
}
.subtitle {
    font-size: 1.6rem;
}
.dobleline {
	margin: 10px 0;
	border-top: 2px solid currentColor;
	border-bottom: 1px solid currentColor;
}
@media (min-width: 1100px) {
	h1 {
    font-size: 2.8rem;
	}
	h2 {
	font-size: 2.2rem;
	}
	h3 {
	font-size: 1.4rem;
	}
}
@media (min-width: 110px) and (max-width: 1024px){
	h2 {
		font-size: 1.6rem;
	}
	h3 {
		font-size: 1.2rem;
	}
}

/* general */
body {
	font-size: 18px;
	font-weight: 300;
	overflow-x: clip;
}
.button.is-outline {
	border: 1px solid!important;
}
.secondary.is-outline:hover {
	color: var(--primary-color)!important;
	border-color: var(--fs-color-secondary)!important;
}
.qfaq {
	font-weight: 600;
}
@media (max-width: 768px) {
	.cta-block img {
		height: 140%!important;
		object-position: center right!important;
	}
}

/* cabecera */
.header-shadow .header-wrapper, .header-wrapper.stuck, .layout-shadow #wrapper {
    box-shadow: none;
}
.header-main .nav>li>a {
    font-size: 1rem;
}
.header-main:not(.stuck) .nav>li>a {
	color: var(--fs-color-secondary);
}
.header-main:not(.stuck) .nav-line-bottom>li>a:before {
	background-color: var(--fs-color-secondary)!important;
	height: 1px!important;
}
.header-button .secondary.is-outline, .header-button .secondary.is-outline:hover {
	border: 1px solid var(--fs-color-secondary)!important;
}
.header-button .secondary.is-outline span {
	color: var(--fs-color-secondary);
}
.header-button .secondary.is-outline:hover span {
	color: var(--primary-color);
}
.header-wrapper.stuck .nav-line-bottom>li>a:before {
	background-color: var(--primary-color)!important;
}
.header-wrapper.stuck a.button.secondary.is-outline {
	border: 1px solid var(--primary-color)!important;
	color: var(--primary-color)!important;
}
.header-wrapper.stuck a.button.secondary.is-outline span {
	color: var(--primary-color)!important;
}
.header-wrapper.stuck a.button.secondary.is-outline:hover {
	background-color: var(--primary-color);
}
.header-wrapper.stuck a.button.secondary.is-outline:hover span {
	color: #fbfbf7!important;
}
@media (max-width: 767px) {
	.nav-vertical .header-button {
		display: flex!important;
		flex-direction: column;
		align-items: center;
	}
}

/* helpers */
.center-section p {
	text-align: center;
}
.rounded img {
	border-radius: 25px;
}
.bocadillo-wrapper {
	position: relative;
	display: inline-block;
	cursor: pointer;
}
.bocadillo {
	visibility: hidden;
	opacity: 0;
	width: 220px;
	padding: 10px;
	background: var(--primary-color);
	color: #fff;
	text-align: center;
	font-size: 1rem;
	border-radius: 0px;
	position: absolute;
	z-index: 999;
	left: 50%;
	bottom: 135%;
	transform: translateX(-50%) scale(0.95) translateY(20px);
	transition:
		opacity 0.3s cubic-bezier(.68,-0.55,.27,1.55),
		transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
	box-shadow: 0 8px 30px rgba(0,0,0,0.26);
}
.bocadillo-wrapper:hover .bocadillo,
.bocadillo-wrapper:focus .bocadillo {
	visibility: visible;
	opacity: 1;
	transform: translateX(-50%) scale(1) translateY(0);
	pointer-events: auto;
}

/* efectos */
::-webkit-scrollbar {
	width: 6px;
	background-color: var(--fs-color-secondary); 
}
::-webkit-scrollbar-thumb {
	background-color: var(--primary-color);
}
svg #wheel {
	animation: scroll ease 2s infinite;
}
.saltador svg {
	transform: translateY(0px);
	transition: 0.5s;
}
.saltador:hover svg {
	transform: translateY(10px);
	transition: 0.5s;
}
.big-number {
	font-size: 2rem;
	font-family: 'Onest';
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 1rem;
	display: inline-flex;
	position: relative;
}
.lead-subtitle {
	font-size: 1.3em;
	color: var(--primary-color);
	font-weight: 600;
	margin: -58px 0 20px 30px;
}
.max-wide {
	max-width: 520px;
	margin: 25% auto;
}
.highlight .col-inner {
    -webkit-transition: 1s;
    transition: 1s;
	min-height: 220px;
}
.highlight .col-inner:hover {
	box-shadow: 0 0 2px 2px rgba(162, 173, 169, 0.6);
	transform: translate(0, -2%) scale(1);
	transition: 0.5s;
}
@media (min-width: 768px){
	.pegado {
		position: sticky;
		top: 110px;
	}
	.big-number::before {
		content: attr(data-n);
		position: absolute;
		opacity: 0.1;
		width: 100%;
		transform: scale(3.5) translateX(-10px);
	}
	.dos-colores {
		background: rgb(27, 60, 36);
		background: linear-gradient(90deg, rgba(251, 251, 247, 1) 30%, rgba(27, 60, 36, 1) 30%);
	}
}
@media (max-width: 769px){
	.dos-colores {
		background: rgba(27, 60, 36, 1);
	}
}
@keyframes scroll {
	0% {
		transform: translateY(0);
	}
	30% {
		transform: translateY(60px);
	}
}

/* marquesinas */
.marquee {
	--gap: 1rem;
	--duration: 60s;
	--duration-r: 40s;
	display: flex;
	overflow: hidden;
	user-select: none;
	gap: var(--gap);
}
.marquee__content {
	flex-shrink: 0;
	display: flex;
	justify-content: space-around;
	min-width: 100%;
	gap: var(--gap);
	list-style: none;
	padding-inline-start: 0;
	font-size: 2rem;
	text-transform: uppercase;
	letter-spacing: 5px;
	animation: scroll var(--duration) linear infinite;
	margin-bottom: 0;
}
.marquee__2.marquee__content {
	animation: scroll-2 var(--duration) linear infinite;
}
.marquee__3.marquee__content {
	animation: scroll-3 var(--duration-r) linear infinite;
}
.marquee__1.marquee__content li:nth-child(odd) {
	color: #a2ada9;
}
.marquee__2.marquee__content li:nth-child(3n) {
	color: #a2ada9;
}
.marquee__3.marquee__content li:nth-child(4n-7) {
	color: #a2ada9;
}
@keyframes scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(calc(-100% - var(--gap)));
	}
}
@keyframes scroll-2 {
	from {
		transform: translateX(calc(-100% - var(--gap)));
	}
	to {
		transform: translateX(0);
	}
}
@keyframes scroll-3 {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(calc(-100% - var(--gap)));
	}
}

/* servicios */
.servicios-wrapper .col-inner {
	display: grid;
	gap: 20px;
}
@media (max-width: 768px) {
	.servicios-wrapper .col-inner {
		justify-content: center;
	}
}
@media (min-width: 1100px) {
	.servicios-wrapper .col-inner {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}
.circular {
	display: grid;
	justify-content: center;
	align-content: center;
	text-align: center;
	width: 200px;
	height: 200px;
	padding: 1rem;
	border: 2px solid currentcolor;
	border-radius: 100%;
	transform: rotate(-45deg);
	transition: .6s all;
}
.circular .tit {
	display: block;
	border-bottom: 1px dashed currentColor;
	font-size: 1.5rem;
}
.circular .des {
	display: none;
	font-size: 1.2rem;
}
.circular:hover .des, .circular:active .des {
	display: block;
}

.circular:hover {
	border-radius: 0;
	transform: rotate(0deg);
	transition: .6s all;
}

/* fixes */
.absolute-footer {
	display: none;
}
.pegado-cta {
	margin-bottom: -120px;
	z-index: 1;
}
.single-post .title-overlay {
	background-color: rgba(41, 51, 193, 0.8)!important;
}
.single-post .page-title-inner {
	min-height: 400px!important;
}

/* listado servicios */
.listado li {
	list-style: none;
}
.listado a, .listado span {
	display: inline-block;
}
.listado a {
	text-decoration: none;
}
.col.listado {
	padding: 0 0 30px 15px!important;
}
.bullet-section, .bullet-section-white {
	//padding: 30px 50px;
	display: flex;
	justify-content: space-between;
}
.bullet-section__column {
	width: 100%;
	font-size: 16px;
	padding: 10px 20px;
	position: relative;
}
.bullet-section__column::before {
	content: '';
	width: 2px;
	height: 100%;
	background: var(--primary-color);
	display: block;
	float: left;
	margin-left: -17px;
}
.bullet-section__item--head {
	font-size: 20px;
	margin-bottom: 10px;
	display: block;
}
.bullet-section__item {
	padding: 2px 0;
	position: relative;
	list-style: none;
}
.bullet-section__item a {
	color: var(--primary-color);
	display: block;
	transition: all .2s;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-ms-transition: all .2s;
	-o-transition: all .2s;
}
.bullet-section__item::before, .bullet-section__item::after {
	content: '';
	position: absolute;
	width: 10px;
	height: 10px;
	background: var(--primary-color);
	border-radius: 50%;
	left: -21px;
	top: 10px;
}


.bullet-section-white .bullet-section__item::before, .bullet-section-white .bullet-section__item::after {
	content: '';
	position: absolute;
	width: 10px;
	height: 10px;
	background: #fff;
	border-radius: 50%;
	left: -21px;
	top: 10px;
}

.bullet-section__item::after {
	width: 6px;
	height: 6px;
	top: 12px;
	left: -19px;
	transition: all .2s;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-ms-transition: all .2s;
	-o-transition: all .2s;
}
.bullet-section__item:hover > a {
	color: var(--primary-color);
}
.bullet-section__item:hover::after {
	background-color: var(--primary-color);
	box-shadow: 0 0 22px 6px var(--primary-color);
}
@media (max-width: 768px) {
	.bullet-section {
		flex-direction: column;
	}
	.bullet-section__column {
		max-width: 100%;
		margin-bottom: 30px;
	}
	.bullet-section__column::before {
		position: absolute;
	}
}

/* footer */
.pie {
	font-size: 1rem;
}
.columna-pie {
	padding: 0 15px!important;
}
.columna-pie img {
	max-width: 200px;
}
.logoUE {
	width: 160px!important;
}
.logoR {
	width: 120px!important;
}
.widget>ul>li+li, ul.menu>li+li {
	border-top: none!important;
}
div#nav_menu-2.col, div#nav_menu-3.col {
	padding: 0!important;
}
ul#menu-locations.menu, ul#menu-legal.menu {
	display: flex;
	flex-direction: row;
}
#menu-legal.menu li, #menu-locations.menu li {
	padding-right: 15px;
}
.ue-texto {
	font-size: 0.9rem;
	padding-top: 10px;
}
@media (max-width: 768px) {
	.columna-logos {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.columna-menu {
		text-align: center;
	}
	ul#menu-locations.menu {
		justify-content: center;
	}
	ul#menu-legal.menu {
		flex-direction: column;
		align-items: center;
	}
}

/* ContactForm 7 */
form.wpcf7-form{
	//background: var(--fs-color-secondary);
	padding: 2rem 2rem 0;
	border-radius: 0;
}
form.wpcf7-form * {
	transition: 225ms;
}
form.wpcf7-form label {
	display: block;
	width: 100%;
	cursor: pointer;
	color: #767675;
}
form.wpcf7-form input,
form.wpcf7-form select,
form.wpcf7-form textarea {
	display: block;
	width: 100%;
	padding: .5em 0;
	margin-bottom: 2rem;
	border: 0;
	border-bottom: 1px solid var(--primary-color);
	border-radius: 0;
	background: transparent;
	font-size: 1rem;
	color: #767675;
	box-shadow: none;
	padding: 0 10px;
}
form.wpcf7-form input:hover,
form.wpcf7-form select:hover,
form.wpcf7-form textarea:hover {
	cursor: pointer;
	border-bottom: 1px solid var(--primary-color);
}
form.wpcf7-form input:focus,
form.wpcf7-form select:focus,
form.wpcf7-form textarea:focus {
	border-bottom: 2px solid var(--primary-color);
	box-shadow: none;
	outline: none;
	background: var(--fs-color-secondary);
}

form.wpcf7-form input,
form.wpcf7-form textarea{
	background: rgba(0,0,0,.03);
}

form.wpcf7-form input[type="submit"] {
	padding: 0.5em;
	margin-bottom: 0;
	box-shadow: none;
	background: #a2ada9;
	color: #fff;
	line-height: 1.2em;
    display: inline-block;
    margin-right: 1em;
	font-weight: 700;
	border-radius: 0!important;
}
form.wpcf7-form input[type="submit"]:hover {
	background-color: var(--primary-color);
	color: #fff;
}
.wpcf7-list-item-label a {
	color: var(--primary-color)!important;
}
span.wpcf7-not-valid-tip {
	position: relative;
	top: -1em;
	color: var(--fs-color-secondary);
}
div.wpcf7-response-output {
	padding: 1em !important;
	margin: 0 !important;
}
form.wpcf7-form .wpcf7-acceptance label {
	display: inline-flex;
}
form.wpcf7-form .wpcf7-acceptance label input {
	max-width: 50px;
}
div.wpcf7 .ajax-loader {
	display:none;
   background: none;
  -webkit-animation: spin 1s ease-in-out infinite;
  animation: spin 1s cubic-bezier(0.36, 0.09, 0.27, 0.97) infinite;
  border: 3px solid #dedede;
  border-top: 3px solid #000000;
  border-radius: 50%;
  height: 1em;
  width: 1em;
  margin: 0;
  vertical-align: middle;
}
@-webkit-keyframes spin {
  50% {
    border-top-color: #a7005d;
  }
  100% {
    border-top-color: #000000;
   -webkit-transform: rotate(360deg);
           transform: rotate(360deg);
  }
}
@keyframes spin {
  50% {
    border-top-color: #a7005d;
  }
  100% {
    border-top-color: #000000;
   -webkit-transform: rotate(360deg);
           transform: rotate(360deg);
  }
}
.wpcf7-form-control.g-recaptcha.wpcf7-recaptcha {
    opacity: .75;
}
.wpcf7-list-item {
	display: block!important;
}

/* Datos de contacto */
.titulo-contacto {
	font-size: 1em;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	margin-bottom: 0.25em;
}