/* 
Theme Name: Zalatek Apuestas Deportivas
Description: Zalatek Apuestas Deportivas is a child theme of Hello Elementor, created by PreciseFuture
Author: PreciseFuture
Author URI: https://precisefuture.com/
Template: hello-elementor
Version: 1.2.4
Text Domain: zalatek-apuestas-deportivas
*/

/*
    Add your custom styles here
*/

/*  Global Styles */

:root {
	--primary: #009739;
	--secondary: #009739;
	--text: #171717;
	--emphasis: #042C8C;
	--gray: #efeff5;
}

@font-face {
    font-family: 'Open Sans', sans-serif;
    src: url('/wp-content/themes/zalatek-apuestas-deportivas/fonts/OpenSans-Regular.ttf');
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat', sans-serif;
    src: url('/wp-content/themes/zalatek-apuestas-deportivas/fonts/Montserrat-Regular.ttf');
    font-display: swap;
}

body {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	color: var(--text);
}

p {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight:400;
	margin:0!important;
	padding: 10px 0;
}

.supercenter {
	width:100%!important;
	display:grid!important;
	place-items:center!important;
}

a {
	transition: all 0.5s ease-in-out;
	color: var(--primary);
	font-weight:600;
}

a:hover {
	transition: all 0.5s ease-in-out;
	color: var(--emphasis);
}

h1, h2, h3, h4, h1 span, h2 span, h3 span, h4 span {
	color: var(--text);
}

h1 {
	font-family: 'Montserrat', sans-serif;
	font-size: 23px;
	font-weight:600;
}

h2, h2 span {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight:600;
}

h3, h3 span {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight:600;
}

h4, h4 span {
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	text-transform:uppercase;
	font-weight:800;
	letter-spacing: 3px;
}

ul {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	padding: 20px 10px;
    margin-left: 20px;
}

span, li, li span, li p, li a {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
}

div.rollover {
	font-family: 'Montserrat', sans-serif;
	font-size:14px!important;
}

.author-link {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: var(--primary);
    color: #ffffff !important;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.author-link:hover {
    background-color: var(--emphasis);
}

/*  ***************  */

/* Métodos de pago en Casa de apuestas */
@media screen and (min-width:768px) {
    .sub-menu {
		columns: 2;
		-webkit-columns: 2;
		-moz-columns: 2;
	}
	.sub-menu .menu-item a.elementor-sub-item {
		width:280px;
		white-space: normal;
		word-wrap: break-word;
	}
}

.payment-in-casino-colombia a:hover img {
	transform: scale(1.2);
	transition: transform 0.3s ease-in-out;
	filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

.payment-in-casino-colombia {
	display: flex;
	justify-content: flex-start;
	gap:20px;
	padding: 0 30px;
	overflow-x: auto;
	scroll-snap-type: x-mandatory;
}

.payment-in-casino-colombia span.payment-item {
	min-width:150px;
	height: 100px;
	display:grid;
	place-items: center;
	scroll-snap-align: center;
}

.payment-in-casino-colombia img {
	width:150px;
	height:50px;
	object-fit:cover;
}

.left-side {
    min-width:220px;
}
.right-side {
    min-width:300px;
}
.custom-author-box {
	display: inline-flex;
	width:100%;
	gap: 20px;
	border: 1px solid rgba(90,90,90,0.15);
	padding: 10px 30px;
	border-radius: 10px;
}
.custom-author-box img {
	width:96px;
	height:96px;
	border-radius:50%;
	object-fit:cover;
	border: 8px solid #fff;
}

.author-link-out {
	width:24px;
	height:24px;
}

.pros-y-cons {
	display: inline-flex;
	width:100%;
	gap: 20px;
	border: 1px solid rgba(90,90,90,0.15);
	padding: 10px 30px;
	background-color: #f3f3fa;
	border-radius: 10px;
}

.lo-mejor, .por-mejorar {
	flex: 1 48%;
}

.casino-resumen {
	display:flex;
	flex-direction:column;
	justify-content:center;
	place-items:center;
	text-align:center;
	border: 1px solid rgba(90,90,90,0.15);
	background-color: #f3f3fa;
	border-radius: 10px;
	filter: drop-shadow(0 2px 15px rgba(0,0,0,0.3));
}

.casino-resumen img {
	width:150px;
	height:150px; 
	object-fit:cover;
	border-radius:10px;
	margin-bottom:20px;
	margin-top:20px;
}

@media screen and (max-width:768px) {
	.casino-resumen img {
		width:100%;
		height:100px; 
		object-fit:cover;
		border-radius:10px;
		margin-bottom:20px;
		margin-top:20px;
	}
}

a#goto_client {
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	text-transform:uppercase;
	font-weight:800;
	letter-spacing: 3px;
	color: #fff;
	background: var(--emphasis);
    background: linear-gradient(to bottom, var(--emphasis) 50%, var(--primary) 50%);
    background-size: 100% 200%;
    background-position:center bottom;
    transition:all 0.5s ease;
	width:100%;
	padding: 30px 20px;
	margin:0;
	border-radius: 0 0 10px 10px;
}

a#goto_client:hover {
	background-position:center top;
	transition:all 0.2s ease;
}

.valoraciones {
	display:flex; 
	justify-content:center;
	place-items:center;
	text-align:center;
	flex-wrap:wrap;
	gap: 10px;
	background-color: #f3f3fa;
	padding-bottom: 50px;
	margin-top:120px
}

.valoraciones img {
	width:150px;
	height:150px;
	object-fit:contain;
	border-radius: 50%;
	border:8px solid #fff;
	margin-top: -75px;
	background-color: #f3f3fa;
	filter: drop-shadow(0 2px 15px rgba(0,0,0,0.3));
}

.valoraciones .general-wrapper {
	width:100%;
	display:flex; 
	justify-content:center;
	place-items:center;
	flex-direction:column;
}

.valoraciones .calificacion-general {
	background-color: #23232a;
	border-radius: 10px;
	filter: drop-shadow(0 2px 15px rgba(0,0,0,0.1));
	width:250px;
}
.valoraciones div.v-block {
	flex: 0 48%;
	margin-top:20px;
}

.valoraciones div.v-block p {
	line-height:16px;
	margin:0;
	padding:0;
}

.mejores-casa-de-apuestas {
	font-family: 'Open Sans', sans-serif;
	font-size:13px;
	display: flex;
	flex-direction: column;
}

.casa-de-apuestas-side {
	display:flex;
	gap: 10px;
	max-width: 350px;
	place-items: center;
}

.casa-de-apuestas-side img {
	width:80px!important;
	height:80px;
	object-fit:contain;
}

a.boton {
	text-decoration:none;
	font-family: 'Open Sans', sans-serif;
}

#goto_client_squared {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	text-transform:uppercase;
	font-weight:600;
	letter-spacing: 3px;
	color: var(--primary);
	background: var(--emphasis);
    background: linear-gradient(to bottom, var(--emphasis) 50%, #fff 50%);
    background-size: 100% 200%;
    background-position:center bottom;
    transition:all 0.5s ease;
	width:100%;
	padding: 10px 20px;
	border-radius: 5px;
	margin-bottom:20px;
	margin-top:5px;
	text-decoration:none;
}

#goto_client_squared:hover {
	background-position:center top;
	transition:all 0.2s ease;
	color: #fff;
}

.anuncio {
	margin-bottom:10px;
	z-index:1
}
.anuncio-img {
	z-index:1!important;
	position:relative;
}
.ranking-casa-de-apuestas {
	margin-top:50px
}

.ranking-casa-de-apuestas .casa-de-apuestas {
	display:flex;
	flex-direction:column;
	justify-content:center;
	place-items:center;
	text-align:center;
	color: #fff;
	background: #0F2027;  /* fallback for old browsers */
	background: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027);  /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to right, #2C5364, #203A43, #0F2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
	border-radius: 10px;
	margin-top:50px;
	padding:50px;
	filter: drop-shadow(0 2px 15px rgba(0,0,0,0.1));
}

span.posicion {
	font-family:'Montserrat', sans-serif;
	font-size:24px;
	font-weight:600;
	padding:10px;
	width: 70px;
	height:70px;
	border-radius: 50%;
	border:8px solid #fff;
	margin-top: -85px;
	background-color: #f3f3fa;
	filter: drop-shadow(0 2px 15px rgba(0,0,0,0.3));
	color: black;
}

.ranking-casa-de-apuestas .casa-de-apuestas img {
	width:250px;
	height:120px;
	object-fit:contain;
	margin-top:20px;
	border-radius:10px;
}

.ranking-casa-de-apuestas .casa-de-apuestas .botones {
	display:flex;
	flex-direction:column;
	place-items:center;
	position:relative;
}

.casa-de-apuestas .botones .ver-resena {
	position: static;
	bottom: auto;
	color:#fff;
	font-family:'Montserrat', sans-serif;
	font-size:12px;
	font-weight:300;
	margin-top:0;
}

.casa-de-apuestas .botones .ver-resena:hover {
	color:#009739;
	transition:all 0.2s ease;
}

.ranking-casa-de-apuestas .casa-de-apuestas p {
	margin:0; padding:0; line-height:20px;
}
.caracteristica {
	position:relative;
	margin-top: 10px;
	padding:2px 5px;
	border-radius: 5px;
	border: 3px solid #fff;
	text-transform: uppercase;
	font-family: "Montserrat", sans-serif;
	font-weight:600;
	font-size:10px;
	letter-spacing:2px;
}

@media screen and (min-width:768px) {
	
	.ranking-casa-de-apuestas .casa-de-apuestas {
		display:flex;
		flex-direction:row;
		justify-content:space-between;
		place-items:center;
		text-align:center;
		color: #fff;
		background: #0F2027;  /* fallback for old browsers */
		background: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027);  /* Chrome 10-25, Safari 5.1-6 */
		background: linear-gradient(to right, #2C5364, #203A43, #0F2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
		filter: drop-shadow(0 2px 15px rgba(0,0,0,0.5));
		border-radius: 10px;
		margin-top:50px;
		padding:10px;
		border: 1px solid rgba(90,90,90,0.15);
	}
	
	.ranking-casa-de-apuestas .casa-de-apuestas p {
		margin:0; padding:0; line-height:20px;
	}

	span.posicion {
		font-family:'Montserrat', sans-serif;
		font-size:24px;
		font-weight:600;
		padding:10px;
		color: black;
		width: 70px;
		height:70px;
		border-radius: 50%;
		border:8px solid #fff;
		margin-top: 0;
		margin-left: -50px;
		background-color: #f3f3fa;
		filter: drop-shadow(0 2px 15px rgba(0,0,0,0.6));
	}

	.ranking-casa-de-apuestas .casa-de-apuestas img {
		width:80px;
		height:80px;
		object-fit:contain;
		margin-top:0;
		border-radius:10px;
	}

	.ranking-casa-de-apuestas .casa-de-apuestas .botones {
		display:grid;
		place-items:center;
		position:relative;
		min-height:120px;
	}
	.ranking-casa-de-apuestas div.promocion {
		width:300px;
		color: var(--gray);
		height: 100%;
		display: flex;
		flex-direction:column;
		justify-content: space-between;
	}
	.casa-de-apuestas .botones .ver-resena {
		position: absolute;
		bottom: 5px;
		color:#fff;
		font-family:'Montserrat', sans-serif;
		font-size:12px;
		font-weight:300;
	}
	
	.casa-de-apuestas .botones .ver-resena:hover {
		color:#009739;
		transition:all 0.2s ease;
	}
	
	.caracteristica {
		position:absolute;
		right:2px;
		top:-20px;
		padding:2px 5px;
		border-radius: 5px;
		border: 3px solid #fff;
		text-transform: uppercase;
		font-family: "Montserrat", sans-serif;
		font-weight:600;
		font-size:10px;
		letter-spacing:2px;
	}
}


.casino-resumen div.promocion {
	height: 100%!important;
	display: flex;
	flex-direction:column;
	justify-content: space-between;
	margin-bottom: 10px;
	padding: 0 10px;
	max-width:200px;
	color: var(--text);
}

.mobile-scrollable-container {
	width:100%;
	overflow-x: scroll;
}

.ultimos-tutoriales {
	display: inline-flex;
	flex-direction: row;
	gap: 10px;
}

.ultimos-tutoriales img {
	border-radius: 10px;
	width: 100%;
	height: 150px;
	object-fit: cover;
}

.ultimos-tutoriales .tutorial {
	width: 200px!important;
}

.ultimos-tutoriales .tutorial a {
	text-decoration:none;
}

.ultimos-tutoriales .tutorial h3 {
	font-size:16px;
}

@media screen and (min-width: 768px) {
	.mobile-scrollable-container {
		width:100%;
		overflow-x: hidden;
	}
	.ultimos-tutoriales {
		display: inline-flex;
		flex-direction: row;
		justify-content:space-between;
		flex-wrap:wrap;
	}
	
	.ultimos-tutoriales .tutorial {
		flex: 1 25%;
		max-width: 250px;
	}
	
	.ultimos-tutoriales a {
		width: 100%;
	}
	.ultimos-tutoriales img {
		border-radius: 10px;
		width: 100%;
		height: auto;
		object-fit: cover;
	}
}

.authors-container {
	font-family: "Montserrat", sans-serif;
	margin-bottom:60px;
}

.author-item {
	display:flex; 
	gap:20px;
	place-items:center;
	margin-top:10px;
}
.author-info {
	display:flex; 
	gap:20px;
	place-items:center;
	margin-top:50px;
	width:100%;
	flex-direction:column;
}

.author-info .author-img-container {
	flex: 0 200px;
	height:200px;
}
.author-info .author-details {
	flex: 1 50%;
}
.author-info .author-img-container img {
	width:200px;
	height:200px;
	object-fit:cover;
	border-radius:50%
}
.author-articles {
	display: flex; 
	gap:20px;
	flex-wrap:wrap;
}
.author-articles a::before {
	content:"#";
}

.author-articles a {
	flex: 1 100%;
}

@media screen and (min-width:768px) {
	.author-info {
		display:flex; 
		gap:20px;
		place-items:center;
		margin-top:50px;
		width:100%;
		flex-direction:row;
	}
	.author-articles a {
		flex: 1 30%;
	}
}
.related-posts {
	display:flex;
	justify-content:space-around;
	place-items:center;
	text-align:left;
	gap: 10px;
	flex-wrap:wrap;
}
.related-posts .related-post {
	flex: 1 23%;
	background-color: #f3f3fa;
	padding:20px;
	min-width:200px;
	height: 200px;
	display:flex;
	flex-direction:column;
	justify-content:space-between;
}

.related-post span {
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	text-transform:uppercase;
	font-weight:800;
	letter-spacing: 3px;
}
.related-posts h3 {
	font-size:20px;
}

.casa-de-apuestas-side-content .bono-de-bienvenida {
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight:400;
}

.resumen-simple {
	margin-top: 20px;
	margin-bottom: 30px;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight:400;
}

.resumen-simple .casa-de-apuestas-side-content {
	display:flex;
	flex-direction:column;
	justify-content:space-between;
}

.resumen-simple img {
	border-radius:10px;
}

.casas-de-apuestas-con-metodo-de-pago {
	display:flex;
	flex-wrap: wrap;
	justify-content:space-around;
	gap:20px;
}
.scrollable {
	max-height:480px;
	overflow-y:hidden;
	overflow-x:scroll;
}

.scrollable .casas-de-apuestas-con-metodo-de-pago {
	display:flex;
	width:auto;
	flex-wrap: nowrap;
	justify-content:flex-start;
	gap:20px;
}
.casas-de-apuestas-con-metodo-de-pago .casino-resumen {
	flex: 1 23%;
	display:flex;
	min-width:140px;
	max-width:250px;
	flex-direction: column;
	justify-content: space-between;
}
.scrollable .casas-de-apuestas-con-metodo-de-pago  .casino-resumen{
	flex: 1 23%;
	display:flex;
	min-width:240px;
/* 	max-width:250px; */
	flex-direction: column;
	justify-content: space-between;
}

.casas-de-apuestas-con-metodo-de-pago img {
	border-radius: 10px;
}
/* @media screen and (min-width:) */

.ultimas-publicaciones {
	display:flex;
	flex-direction:column;
	gap:20px;
}

.ultimas-publicaciones .img-container {width:100%;}

.ultimas-publicaciones .img-container img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

@media screen and (min-width: 500px) {
	
	.ultimas-publicaciones .img-container {width:150px; height:150px}
	.ultimas-publicaciones .img-container img {
		width: 150px;
		height: 150px;
	}
}

.ultimas-publicaciones .publicacion {
	position:relative;
	display:flex;
	gap: 20px;
	flex-wrap:wrap;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
}

.ultimas-publicaciones .publicacion .fecha {
	width:100%;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight:600;
	color: #042C8C;
}


.ultimas-publicaciones .publicacion .up-post-info {
	flex: 1 60%;
}
.ultimas-publicaciones .publicacion .categoria {
	position:absolute;
	top:0;
	left:0;
/* 	width:150px;	 */
}

.publicacion .categoria a {
	background-color: #334;
	color:#fff;
	padding:5px;
	font-family: 'Montserrat', sans-serif;
	font-size: 10px;
	font-weight:400;
}

/* .mejores-casa-de-apuestas {
	display:flex!important;
	flex-wrap: wrap;
	gap:20px;
}

.mejores-casa-de-apuestas .casino-resumen {
	flex: 0 23%;
	display:flex;
	flex-direction: column;
	justify-content: space-between;
} */

.author-details h2 {
/* 	margin:0px; */
	margin-bottom:10px;
}

.invert #goto_client_squared {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	text-transform:uppercase;
	font-weight:600;
	letter-spacing: 3px;
	color: #fff;
	background: #009739;
    background: linear-gradient(to bottom, #009739 50%, #042C8C 50%);
    background-size: 100% 200%;
    background-position:center bottom;
    transition:all 0.5s ease;
	width:100%;
	padding: 10px 20px;
	border-radius: 5px;
	margin-bottom:20px;
	margin-top:5px;
	text-decoration:none;
}

.invert #goto_client_squared:hover {
	background-position:center top;
	transition:all 0.2s ease;
	color: #fff;
}

.cab-author-info {
	display: inline-flex;
	place-items:center;
	gap:10px;
}

#z-post-grid {
	display:flex;
	flex-wrap: wrap;
	gap: 10px;
}

.z-post-item {
	flex: 1 47%;
	min-width:280px;
}

.z-post-item img {
	height:280px;
	width: 100%;
	object-fit:cover;
}

.casino-table-container {
    display:grid;
    place-items:center;
}

table.invert {
    max-width: 900px;
    text-align: center;
    border-collapse: collapse;
}

table.invert td, table.invert th {
    vertical-align: middle;
    padding: 10px;
    border: 1px solid #ddd;
}

/* Oculta los nombres de las columnas en la vista de escritorio */
table.invert thead {
    display: none;
}

@media (max-width: 768px) {
    table.invert, table.invert tbody, table.invert th, table.invert td, table.invert tr {
        display: block;
    }

    table.invert tr {
        border: 1px solid #ccc;
        margin-bottom: 1em;
    }

    table.invert td {
        border: none;
        border-bottom: 1px solid #ddd;
        position: relative;
/*         padding-left: 50%; */
        text-align: center; /* Centra el contenido en la vista móvil */
    }

    /* Oculta los nombres de las columnas en la vista móvil */
    table.invert td:before {
        display: none;
    }
}

.related-games-container {
    width:100%;
    display:flex;
    justify-content:space-around;
	flex-wrap:wrap;
	gap:10px;
}
.casino-game-container {
    flex: 0.2 50%;
    max-width: 250px;
	min-width: 170px;
}
.casino-link {
	position:relative;
	width:100%;
	height:100%;
	margin:0;
	padding:0;
	display:flex;
	flex-direction:column;
	justify-content:center;
	text-align:center;
}
.casino-link img {
	width:250px;
	height:180px;
	object-fit:cover;
}
.casino-link .game-content {
	position:absolute;
	width:100%;
	bottom:5px;
	margin:0;
	padding:0;
}

.en-post {
	display:flex;
	justify-content:center;
	gap:10px;
}

.en-post .casino-resumen {
	flex: 1 30%;
	display:flex;
	flex-direction:column;
	justify-content: space-between;
	text-align:center;
	place-items:center;
}

.pasarelas-grid {
    display: flex;
	justify-content: space-around;
	padding: 20px 10px;
	background-color: #efefef;
	flex-wrap:wrap;
	margin-bottom: 50px;
}

.pasarela-item {
    display: flex;
    flex-direction: column;
    align-items: center;
	background-color: #fff;
	justify-content: space-between;
	padding: 5px 10px 20px 10px;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 20px;
	flex: 1 calc(20% - 20px);
	max-width: 250px;
	border-radius: 5px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	text-align:center;
}

.pasarela-item-image img {
    width: 120px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 10px;
}

.pasarela-button {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #009739;
    color: #fff!important;
    text-decoration: none;
    border-radius: 5px;
}

.hentry.casa-de-apuestas h1:after, .hentry.page h1:after, .hentry.casa-de-apuestas h2:after, .hentry.page h2:after, h1:after {
    background: var(--primary);
    border-radius: 5px;
    content: "";
    display: block;
    height: 3px;
    margin-top: 7px;
    width: 100px;
}


.not-pretty h2:after, .z-post-title:after, .hentry.casa-de-apuestas h1.has-text-align-center:after, .hentry.page h2.has-text-align-center:after, .hentry.page h1.has-text-align-center:after, .hentry.casa-de-apuestas h2.has-text-align-center:after {
    height: 0px !important;
    margin-top: 0px !important;
	display: none !important;
}

/* Caja de autor en páginas */

.custom-author-box-description {
	display: flex;
	width: 100%;
	gap: 20px;
	border: 1px solid rgba(90,90,90,0.15);
	padding: 10px 30px;
	border-radius: 10px;
	margin-top: 20px;
}

.custom-author-box-description img {
	border-radius: 50%;
	object-fit: cover;
	border: 8px solid #fff;
}

.custom-author-box-description h3 {
	font-size: 20px;
}

.cab-author-info-description {
	display: flex;
	align-items: center;
	gap: 10px;
}

@media (max-width: 768px) {
	.custom-author-box-description {
		padding: 10px 5px;
	}
    .cab-description {
        display: none;
    }
}

.main-navigation {
    display: flex;
    flex-direction: column;
}

.menu-item {
    position: relative!important;
	display:flex;
	place-items:center;
	flex-wrap:wrap;
	text-transform: uppercase;
	font-size:12px;
	font-family: 'Montserrat', sans-serif;
	min-height: 35px;
	padding: 0 10px;
}

.menu-item-link {
	margin:0;
	padding: 0;
	line-height:24px;
}

.menu-item .decor {
	margin-left: 5px!important;
	margin-right: 5px!important;
	margin-top:0!important;
	margin-bottom:2px!important;
}

.submenu {
	display: none;
	flex-direction: column;
	background-color: #fff;
	border: none;
	border-top: 1px solid rgba(255, 0, 0, 0.2);
	border-bottom: 1px solid rgba(255, 0, 0, 0.2);
	columns: 2; 
	-webkit-columns: 2; 
	-moz-columns: 2;
	padding: 10px;
	opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    max-height: 0;
    overflow: hidden;
	
}

.submenu.active {
	display: block;
    opacity: 1;
    visibility: visible;
    max-height: 1000px; /* Un valor alto para asegurarte de que todos los elementos se muestren */
}


.submenu-item {
    width: 100%;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    display: inline-block; /* Esto es necesario para que break-inside funcione */	
	padding: 10px 0;
}

.submenu-item .decor {
	margin-bottom: -2px!important;
	padding:0;
}


.submenu-toggle {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0 10px;
    margin-left: auto;
	fill: #009739;
}

.submenu-item-link {
	margin-top:10px;
}

/* Estilos para móviles */
.mobile-menu-button {
    display: block;
	background-color:transparent;
	color: #009739;
	border: none;
	place-items: center;
	z-index:9999;
}

.submenu-toggle:hover, .submenu-toggle:active, .submenu-toggle:focus, .submenu-toggle:active:focus, .mobile-menu-button:hover, .mobile-menu-button:active, .mobile-menu-button:focus, .mobile-menu-button:active:focus {
	background-color:transparent;
	color: #009739;
	fill: #009739;
	border: none;
	outline: none;
	box-shadow: none;
}

#site-navigation {
    display: none;
}

/* Estilos para escritorio */
@media (min-width: 1200px) {
    .mobile-menu-button {
        display: none;
    }

    #site-navigation {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
		border: 1px solid rgba(0,0,0,0.2);
		padding:0px 5px;
		border-radius:5px;
    }

    .menu-item {
        position: static;
		padding:0;
    }

    .submenu {
        position: absolute;
        top: 100%;
        left: 0;
		border: 1px solid rgba(0,0,0,0.2);
		min-width: 450px;
		padding: 10px;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
		max-height: 0;
		overflow: hidden;
		z-index:9999;
    }
	
	.submenu.active {
		display: block;
		opacity: 1;
		visibility: visible;
		max-height: 1000px; /* Un valor alto para asegurarte de que todos los elementos se muestren */
	}
}

.submenu-align-right {
    left: auto;
    right: 0;
}


/* Grid de autores */
.scrollable {
	width: 100%;
}
.grid-authors-container {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 20px;
	width: auto;
	padding: 10px 0
}

.author-card {
    width: 220px!important;
    border: 1px solid #e0e0e0;
    padding: 30px 20px;
    text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
    transition: transform 0.3s;
}

@media screen and (min-width:768px) {
	.grid-authors-container {
		display: flex;
		flex-wrap: wrap;
		justify-content:center;
		gap: 20px;
		width: 100%;
	}
	
	.scrollable {
		
	}
}

.author-card:hover {
    transform: scale(1.02);
}

.author-img-container img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
}



.toc-container {
	margin:0;
	padding: 10px;
	box-sizing: border-box;
	width:100%;
    position: relative;
    background-color: #efeff5;
}

.toc-title {
	text-align:center;
    font-size: 24px;
    margin-right: 10px;
	width:100%;
	margin-top:20px;
}

.toc-toggle {
	position: static;
	width:100%;
	background-color: #323240;
	color: #efeff5;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

@media screen and (min-width:600px) {
	.toc-container {width:95%;}
	.toc-title {text-align:left; margin-top:0}
	.toc-toggle { position: absolute; top: 10px; right: 10px; width: fit-content;}
}

.toc-toggle:hover, .toc-toggle:active, .toc-toggle:focus, .toc-toggle:active:focus {
    background-color: #17272d;
}

.toc-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
	padding:0;
	margin:0;
}
.toc-list .h2 {padding:10px 5px 5px 0; }
.toc-list .h3 {padding:2px 5px 5px 20px; }
.toc-list .h2 a {font-size: 16px; font-weight: 500}
.toc-list .h3 a {font-size: 13px; font-weight:700}

.texto-destacado-container {
    padding: 10px;
    border: none;
	color: #000;
	margin-bottom:20px;
}

.texto-destacado-container a {
	font-weight:bold;
	color:#000080;
}

/* .texto-destacado-container.tipo-verde {
	background-color: #6CDCA7;
} */

.texto-destacado-container {
    padding: 10px 10px 10px 20px;
	border-left-width:4px;
	border-left-style: solid
}

.texto-destacado-container.tipo-rojo {
    background-color: #ffeaea;
}
.texto-destacado-container.tipo-verde {
    background-color: #e0ffef;
}
.texto-destacado-container.tipo-morado {
    background-color: #efe0ff;
}
.texto-destacado-container.tipo-azul {
    background-color: #eaecff;
}


.texto-destacado-container.tipo-rojo  {
	border-left-color:#ff6060;
}
.texto-destacado-container.tipo-verde  {
	border-left-color:#008040;
}
.texto-destacado-container.tipo-morado {
	border-left-color:#400080;
}

.texto-destacado-container.tipo-azul {
	border-left-color:#5060ff;
}

.floating-menu-container {
	width:100%;
	display:none;
	place-items:center;
	position: fixed;
    bottom: 5px;
	left: 0;
}
.floating-menu {
    display: flex;
	justify-content: space-between;
    width: 250px;
    background-color: #000;
    padding: 4px;
    text-align: center;
	text-transform: capitalize;
    z-index: 9999;
	border-radius:3px;
	filter: drop-shadow(-3px 0 10px #444);
}

.ff-menu-item-link {
	display:flex; flex-direction:column; justify-content: center; place-items:center; width:48px; height:60px;
}
.ff-menu-item-link span {
	margin:0; padding:0; line-height:10px; font-size:10px; font-weight:600; margin-top: 2px; color: var(--gray);
}

@media (max-width: 600px) {
    .floating-menu-container {
        display: grid;
		place-items: center;
    }
}

.fnews {
	display:flex;
	flex-wrap:wrap;
	gap:20px;
	margin-bottom:20px;
}

.fnews h3 {margin:0; padding:0; font-size:16px}

.fnews-item {
	flex: 1 25%;
	min-width: 240px;
}

.fnews-small {
	flex: 1 25%;
	min-width: 240px;
}

.fnews .post-0 {
	flex: 1 46%;
	min-width: 340px;
}


.fnews .post-0 img {
	width: 100%; 
	object-fit: cover;
	height:auto;
}

.fnews-date {
	font-size:12px;
	padding: 0;
}

.fnews p {
	font-size:13px;
	font-weight:400;
}

.fnews-small h3 {
	font-size: 18px;
}
/* 
.fnews-small .fnews-date {
	padding-bottom:20px;
} */

.fnews-small hr {
	margin-top:10px;
	margin-bottom:10px;
}

.fnews img {
	border-radius:10px;
}

.fnews-small {
	display: flex;
	flex-direction:column;
	justify-content: space-between;
}

.post-6 {
	display: flex;
	flex-direction: column
}
.post-6 img {
	height: 320px;
	width: 320px;
	object-fit:cover;
}

.post-6 h3 {margin-top: auto}

@media screen and (max-width:1115px) {
	.fnews .post-0 { flex: 1 80%; max-width: 800px; }
	.fnews .fnews-small { flex: 1 48%; }
	.fnews .post-6 { flex: 1 48%; }
}
