/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Aquí puedes añadir tus estilos personalizados */


/**********
 * HEADER*
 * ********/

#menu-principal-custom .navigation-desktop-style-underline-fullheight > .menu-container > .kb-navigation > .menu-item > .kb-link-wrap > .kb-nav-link-content::before,
#menu-principal-custom .navigation-desktop-style-underline-fullheight > .menu-container > .kb-navigation > .menu-item > .kb-link-wrap > .kb-nav-link-content::after {
  background-color: #9BC31C;
}

.btn-search-referral button{
	padding:0;
}

#section-center-side-header-tlb .height-nav-menu-header{
	height:64px;
}

#section-center-side-header-tlb .kb-nav-link-content:after{
	background: #9BC31C;
	height:3px;
}

#section-center-side-header-tlb .links-transform-animation .kb-nav-link-content:hover{
	transform:translatex(6px);
}

.link-animation-navbar-megamenu-tlb p:hover{
	transform:translatex(6px);
}
.link-animation-navbar-megamenu-tlb p{
	transition:
        opacity .25s cubic-bezier(.22,1,.36,1),
        transform .25s cubic-bezier(.22,1,.36,1);
}


.header-animation-tlb .kb-nav-sub-menu.mega-menu {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
    transition:
        opacity .25s cubic-bezier(.22,1,.36,1),
        transform .25s cubic-bezier(.22,1,.36,1);
}

.header-animation-tlb:hover .kb-nav-sub-menu.mega-menu {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.diag.tr {
    top: 0;
    right: 0;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.diag.tl{	
	top: 0;
	left: 0;
	clip-path: polygon(100% 0%, 0% 0%, 0% 100%);
}

.diag.bl{
	bottom:0;
	left:0;
	clip-path: polygon(0 100%, 100% 100%, 0 0);
}

.diag.br{
	bottom:0;
	right:0;
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

#color-bottom-left-triangle{
	background: #23272A33;
}

.diag {
    position: absolute;
    width: 180px;
    height: 80px;
    background: #9bc31c;
    z-index: 2;
	pointer-events: none;
}

.overflow-hidden-catalogo-cta-tlb{
    overflow:hidden;
    position:relative;
    border-radius:20px;
}

#header-animation-tlb-secondary .mega-menu{
	border-radius:0 0 10px 10px;
}

/********
 * FOOTER 
 ********/
.site-middle-footer-inner-wrap{
	border-top:1px solid #80857f;
}

.site-footer .diag {
    position: absolute;
    bottom: 0;
    right: calc((100vw - 100%) / -2);
    width: 230px;
    height: 120px;
    background: #9bc31c;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}


.site-footer-middle-section-1,.site-footer-middle-section-2{
	z-index:99;
}


/************
 * HOME 
 * *********/

.ancho-text-pill{
	display: inline-block;
width: fit-content;
}

.search-position-spoon .kb-search-icon{
	right:none;
	left:10px;
}

.search-position-spoon input{
	height: 60px;
	border: 0;
}

#circle-year-image{
	width: -webkit-fill-available;
position: absolute;
top: 13px;
left: -41px;
	z-index:20;
}

#above-img-decoration{
	background: #7BA00F;
	height:130x;
	width: 130px;
	left: -30px;
	top:-20px;
	z-index:10;
}

.cards-tlb-container .text-cards-tlb{
	height:66px;
}

.text-cards-2-lines-tlb{
	height:44px;
}


/*Cards with image*/
#mark-tip-above-img-tlb-lft{
	position:absolute;
	top:11px;
	left:11px;
}

#mark-tip-above-img-tlb-right{
	position:absolute;
	top:11px;
	right:11px;
}

/*Cards animation*/

.animation-cards-blacks-tlb{
	transition:
	transform .65s cubic-bezier(.22,1,.36,1);
}

.animation-cards-blacks-tlb:hover{
	transform:translatey(-6px);
}

/**********
 * ACORDEON
 * **********/
#accordeon-styles-tlb .kt-accordion-panel-active{
	border-radius: 6px 6px 0 0;
	border-bottom: none;
}

/*********
 *CTA 
 ********/

#container-cta .btn-cta{
	width: 100%;
}

#container-cta .kt-has-2-columns{
	z-index:4;
}


/*********
 *HERO PAGINAS INTERNAS
 ********/

#container-hero-container-tlb ol{
	padding:0;
}

/*********
 *HERO PAGINAS INTERNAS
 ********/

.text-height-card-3-l-2-col{
	height:81px;
}

/*********
 *BUTTONS LETTERS
 ********/

#text-about-us-container p:hover{
	background-color: #9BC31C;
}

/****
 * BLOG
 * ****/

.blog-cards-styles-tlb .kt-blocks-above-categories{
	position:absolute;
	top:-50px;
}

.blog-cards-styles-tlb-templates .kt-blocks-above-categories{
	position:absolute;
	top:-70px;
	padding:6px 14px 6px 14px;
	background-color: #9BC31C;
	border-radius: 99px;
}

#post-tags-tlb a{
	font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--ink);
    background: #f2f4ef;
    border: 1px solid #e3e6e0;
    padding: 8px 14px;
    border-radius: 4px;
    transition: .15s;
}

#post-tags-tlb a:hover{
	 background: #7BA00F;
}


.blog-cards-styles-tlb .kt-blocks-above-categories a{
	padding:6px 14px 6px 14px;
	background-color: #9BC31C;
	border-radius: 99px;
}

.post-container-tlb #post-category-title{
	min-width:-webkit-max-content;
	font-family:poppins;
	font-weight:500;
	font-size:13px;
}

/*ALTURA LEER MÁS*/

#articulos-relacionados .kb-query-grid-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    grid-auto-rows: 1fr;
}

#articulos-relacionados .kb-query-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#articulos-relacionados .kb-query-item > .wp-block-kadence-image {
    flex: 0 0 auto;
}

#articulos-relacionados .blog-cards-styles-tlb {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

#articulos-relacionados
.blog-cards-styles-tlb > .kt-inside-inner-col {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

#articulos-relacionados
.blog-cards-styles-tlb .kb-buttons-wrap {
    margin-top: auto;
}

@media (max-width: 1024px) {
    #articulos-relacionados .kb-query-grid-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    #articulos-relacionados .kb-query-grid-wrap {
        grid-template-columns: 1fr;
    }
}

/***************************
 * Image gallery
 * ************************/


.imagen-sector-page-tlb img{
	height:412px !important;
}

.imagen-sector-col-2-tlb img{
	object-fit: cover !important;
	height: 198px !important;
}

.info-sector-image-tlb{
	position:absolute;
	bottom:-30px;
	left:-26px;
	width: -webkit-max-content;
}
.info-sector-image-tlb-one{
	position:absolute;
	bottom: 10px;
	left: 10px;
	width: -webkit-max-content;
}

.image-sectores-page-tlb img{
	height:400px;
}

/***************************
 * Media queries - Responsive
 * ************************/

/*Tamaño minimo*/
@media(min-width:1024px){
	#container-hero-container-tlb .Subtitle-text-tlb-pages-int{
	min-height:84px;
}	
}

@media(min-width:768px){
	#section-countries-contact-tlb .tlb-subtitle{
	min-height:54px;
}
	#block-prespuesto-work-us-container .work-us-prespuesto-tlb{
		min-height:46px;
	}
}

/*Tamaño maximos*/
@media(max-width:1024px){
	.sub-menu{
		margin-left:0 !important;
	}
	#link-servicios-mobile .link-media-container{
		margin-right:20px;
	}
	.ft-ro-dir-row .footer-section-inner-items-2 .footer-widget-area {
		margin-left: 0px !important; 
		margin-top: 10px;
	}
	.info-sector-image-tlb{
		left:-6px;
	}
		.query-card-row-mobile-gap ul li:not(:last-child) {
    margin-bottom: 16px;
}
}

@media(max-width:678px){
	.cards-tlb-container{
		min-width:-webkit-fill-available;
	}
	.info-sector-image-tlb{
		bottom:-436px;
	}
	.sector-images-tlb-2-files{
		z-index:auto;
	}
	.imagen-sector-page-tlb img{
	height:198px !important;
}
	.image-sectores-page-tlb img{
	height:260px;
}
}

@media(min-width:1024px){
	.footer-section-inner-items-2{
	justify-content: flex-end;
}
	
}



/*CARDS*/


#modelos-card ul {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#modelos-card li {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 60px;
	min-height: 40px;
	padding: 8px 16px;
	margin: 0;
	background: #f3f4f1;
	border: 1px solid #cbd0d3;
	border-radius: 6px;
	color: #34383d;
	font-weight: 600;
	line-height: 1;
}

#imagen-sector-productos-tlb img{
	width:48px;
}

#lista-wrap-productos-tlb .kb-query-grid-wrap{
	display:flex;
	flex-wrap:wrap;
}

/*wpml*/

/* TLB - Permitir que el selector WPML salga de la fila superior */

.kadence-header-row-inner,
.wp-block-kadence-header-section2088_9d101a-13,
.kb-row-layout-id2088_5a43fc-17,
.kb-row-layout-id2088_5a43fc-17 > .kt-row-column-wrap,
.kadence-column2088_5ae466-21,
.kadence-column2088_5ae466-21 > .kt-inside-inner-col {
    overflow: visible !important;
}

/* Elevar toda la zona del selector */
.wp-block-kadence-header-section2088_9d101a-13 {
    position: relative;
    z-index: 9999 !important;
}

.kadence-column2088_5ae466-21 {
    position: relative;
    z-index: 10000 !important;
}

/* WPML */
.kadence-column2088_5ae466-21 .wpml-ls {
    position: relative;
    z-index: 10001 !important;
}

/* Desplegable */
.kadence-column2088_5ae466-21 .wpml-ls-sub-menu {
    position: absolute !important;
    z-index: 99999 !important;
}










/*/TEST/*/

/* =========================================================
   TLB - SELECTOR DE PAÍSES WPML
   ========================================================= */


/* =========================================================
   1. KADENCE HEADER
   Evita que el desplegable sea recortado por la cabecera
   ========================================================= */

.kadence-header-row-inner,
.wp-block-kadence-header-section2088_9d101a-13,
.kb-row-layout-id2088_5a43fc-17,
.kb-row-layout-id2088_5a43fc-17 > .kt-row-column-wrap,
.kadence-column2088_5ae466-21,
.kadence-column2088_5ae466-21 > .kt-inside-inner-col {
	overflow: visible !important;
}

.wp-block-kadence-header-section2088_9d101a-13 {
	position: relative;
	z-index: 9999 !important;
}

.kadence-column2088_5ae466-21 {
	position: relative;
	z-index: 10000 !important;
}


/* =========================================================
   2. CONTENEDOR DEL SELECTOR
   ========================================================= */

.tlb-country-switcher {
	position: relative;
	width: 320px;
	font-size: 16px;
	z-index: 10001;
}


/* =========================================================
   3. BOTÓN - PAÍS ACTUAL
   ========================================================= */

.tlb-country-current {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	width: 100%;
	min-height: 58px;
	padding: 9px 48px 9px 14px;
	box-sizing: border-box;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: #25282a;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
}


/* =========================================================
   4. BADGES ES / ES-CL / EN-BR...
   ========================================================= */

.tlb-country-code {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 70px;
	min-height: 40px;
	padding: 6px 10px;
	box-sizing: border-box;
	border: 1px solid #dedfda;
	border-radius: 6px;
	background: #f7f7f4;
	color: #565b5d;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
}


/* Badge del país actual */

.tlb-country-current .tlb-country-code {
	background: #95c11f;
	border-color: #95c11f;
	color: #202628;
	box-shadow:none;
}

.tlb-country-current:hover {
	background: #f3f4ef;
	color:#565b5d;
	box-shadow:none;
}


/* =========================================================
   5. NOMBRE DEL PAÍS
   ========================================================= */

.tlb-country-name {
	flex: 1;
}


/* =========================================================
   6. FLECHA
   ========================================================= */

.tlb-country-arrow {
	position: absolute;

	right: 20px;
	top: 50%;

	width: 8px;
	height: 8px;

	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;

	transform: translateY(-70%) rotate(45deg);

	transition: transform 0.2s ease;
}


/* Flecha cuando está abierto */

.tlb-country-switcher.is-open .tlb-country-arrow {
	transform: translateY(-30%) rotate(225deg);
}


/* =========================================================
   7. DROPDOWN
   ========================================================= */

.tlb-country-dropdown {
	display: none;

	position: absolute;

	top: calc(100% + 4px);
	right: 0;

	width: 100%;

	padding: 8px;

	box-sizing: border-box;

	background: #ffffff;

	border-radius: 8px;

	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

	z-index: 99999;
}


/* Mostrar dropdown */

.tlb-country-switcher.is-open .tlb-country-dropdown {
	display: block;
}


/* =========================================================
   8. OPCIONES
   ========================================================= */

.tlb-country-option {
	display: flex;
	align-items: center;
	gap: 18px;

	min-height: 58px;

	padding: 8px 14px;

	box-sizing: border-box;

	border-radius: 6px;

	background: #ffffff;

	color: #25282a;

	text-decoration: none;
}


/* =========================================================
   9. HOVER
   ========================================================= */

.tlb-country-option:hover {
	background: #f3f4ef;
	color: #25282a;
	text-decoration: none;
}

/* =========================================================
   10. PAÍS ACTUAL DENTRO DEL DROPDOWN
   ========================================================= */

.tlb-country-option.is-active {
	background: #eef5d7;
	font-weight: 600;
}

/* Badge del país activo */

.tlb-country-option.is-active .tlb-country-code {
	background: #95c11f;
	border-color: #95c11f;
	color: #202628;
}

/* =========================================================
   11. CHECK DEL PAÍS ACTUAL
   ========================================================= */

.tlb-country-check {
	margin-left: auto;
	color: #789d00;
	font-size: 0px;
	font-weight: 700;
	line-height: 1;
}


@media (max-width: 767px) {

	/* Selector cerrado más compacto */
	.tlb-country-switcher {
		width: auto;
		max-width: 100%;
	}

	.tlb-country-current {
		width: auto;
		min-height: 44px;
		padding: 6px 30px 6px 8px;
		gap: 8px;
	}

	.tlb-country-current .tlb-country-code {
		min-width: auto;
		min-height: 32px;
		padding: 5px 8px;
		font-size: 11px;
	}

	.tlb-country-current .tlb-country-name {
		font-size: 12px;
		line-height: 1.1;
		white-space: nowrap;
	}

	.tlb-country-arrow {
		right: 9px;
		width: 7px;
		height: 7px;
	}

	/* Dropdown adaptado a móvil */
	.tlb-country-dropdown {
		right: 0;
		left: auto;

		width: 230px;
		max-width: calc(100vw - 20px);

		padding: 6px;
	}

	/* Opciones más compactas */
	.tlb-country-option {
		min-height: 46px;
		gap: 10px;
		padding: 6px 8px;
	}

	.tlb-country-option .tlb-country-code {
		min-width: 58px;
		min-height: 32px;
		padding: 5px 6px;
		font-size: 11px;
	}

	.tlb-country-option .tlb-country-name {
		font-size: 12px;
		line-height: 1.15;
		white-space: normal;
	}

	.tlb-country-check {
		font-size: 18px;
	}
}

.enlace-pais-selector-idioma{
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.enlace-pais-selector-idioma:hover{
	transform: translateY(-5px);
}