* {margin: 0;padding: 0;}

body { 
	height:100%;
	font-family: Arial;
	font-size: 16px;
	text-align:left;
	margin-left : auto;
	margin-right : auto;
	font-display: swap;
}

h1 { 
	font-family: Arial;
	font-size:22px;
}

@media screen and (max-width: 340px) { /* min */
  body {
    width: 340px;
  }
}

@media screen and (min-width: 341px) and (max-width: 1200px) { /* S */
  body {
    width: 100%;
  }
}

@media screen and (min-width: 1200px) and (max-width: 3200px) { /* L */
  body {
    width:1200px;
  }
}

div.hand {
  cursor: pointer;
  cursor: hand;
}

.nosel {
  -moz-user-select: none; 
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none; 
}

/* a */
a {
    color: #1d1b3b;
    text-decoration: none;
}

a:hover {
    color: #231d96;
}

a:active {
    color: #961d2d;
}


/* header */
header { 
    width: calc(100% - 16px);
    margin-bottom: 10px;
    position: relative;
	margin: 8px;
}

header img.logo { 
	margin: 5px;
	float: left;
}

header #brand_container { 
	font-size: 42px;
	letter-spacing: 4px;
	justify-content: center;
}

div#search_area { 
	display: flex;
	justify-content: center; /* Centra horizontalmente */
	align-items: center; /* Centra verticalmente */
}

p#search {
	background:chocolate; 
	padding: 3px;
	border-radius: 5px;
	align-items: center; /* Alinea verticalmente */
	display: flex; /* Activamos flexbox para alinear los elementos */
	width: clamp(200px, 95%, 400px);
}

p#search input {
	font-size: 25px;
	border-radius: 5px 0px 0px 5px;
	padding: 3px;
	border-width: 0px;
	width: calc(100% - 44px);
}

#search i {
	width: 40px; 
	height: 33px;
	font-size: 33px;
	overflow: hidden;
	color:white;
	align-items: center;
	display: inline-block;
	text-align: center;
	
}

@media screen and (max-width: 900px) { /* S */
    header {
		height: 155px;
		padding-top: 10px;
        display: flex;
        flex-direction: column;
        align-items: center; 
    }
	header img.logo {
		width: clamp(70px, 16vw, 90px); 
		height:auto;
	}
	header #brand_container {
        justify-content: center;
		width: fit-content; 
        height: auto;
        margin: 0 auto; 
		white-space: nowrap;
		display: flex;
		align-items: flex-start; 
	}

	div#search_area {
		width: calc(100% - 1px);
		height:50px;
	}

	#brand_container #txt {
		display: flex;
		flex-direction: column;
		justify-content: center; 
	}
}

@media screen and (min-width: 901px) { /* L */
    header {
		height: 105px;
        margin-bottom: 5px;
		display: grid;
		grid-template-columns: 55% 45%;
    }
	header img.logo {
		width:90px;
		height:90px;
	}
	header #brand_container {
		height:100px;
	}
	div#search_area {
		height:100px;
	}
	p#search {
		width: 350px;
	}
	p#search input {
		font-size: 25px;
	}
}

#brand_container a:visited,
#brand_container a:link {
    color: white;
}

#brand_container p.title  {
	margin-top: 5px;
	white-space: nowrap;
	color: white;
}

#brand_container p.undertitle  {
	width: calc(100% - 20px);
	height: 24px;
	line-height: 2px;
	white-space: nowrap;
	font-size: clamp(14px, 3vw, 24px); 
	color: white;
}


/* nav menu 2025 */
nav {
	display: flex;
	overflow-x: auto;
	white-space: nowrap;
	padding: 5px 5px 10px 5px;
	margin: 5px 0px 5px 5px;
	scrollbar-width: thin;
	scrollbar-color: #888 #ddd;
	position: relative;

	scrollbar-width: none;
	-ms-overflow-style: none;
}

nav::-webkit-scrollbar {
	display: none;/* Para navegadores basados en WebKit (Chrome, Safari, Edge) */
}

nav a {
    display: inline-flex;
    align-items: center; /* Centra el texto verticalmente */
    justify-content: center; /* Centra el texto horizontalmente */
    height: 32px; 
    border: none;
	cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
    border-radius: 8px;
    text-decoration: none; /* Elimina subrayado en enlaces */
    font-family: inherit; /* Asegura que todos usen la misma fuente */
	line-height: 1;
}
nav button {
    display: inline-flex; 
    align-items: center; /* Centra el texto verticalmente */
    justify-content: center; 
    height: 32px; 
    padding: 3px 12px; 
    border: none;
    background: rgb(239, 239, 239);
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
    border-radius: 8px;
    text-decoration: none; 
    font-family: inherit; /* Asegura que todos usen la misma fuente */
	margin: 0px 8px 0px 0px;
	line-height: 1;
}

nav button.telegram {
    background: rgb(0, 136, 204);
	color: white;
	border: 1px solid white;	
}
nav button.stm {
    background: rgb(46, 46, 46);
	color: white;
	border: 1px solid white;	
}
nav button.sfan {
    background: rgb(18, 140, 126);
	color: white;
	border: 1px solid white;	
}



/* Si hay iconos dentro, alinea correctamente */
nav button i,
nav a i,
nav button button i {
    margin-right: 5px; /* Espacio entre el icono y el texto */
}

/* popup langs 2025 */
#popupOverlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 98;
}
#languagePopup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
	text-align: center;
	z-index: 99;
}
#languageList {
	list-style: none;
	padding: 0;
	max-height: 350px;
	overflow-y:scroll;
	text-align: center;
}
#languageList li {
	margin: 10px 0;
	cursor: pointer;
	color: rgb(0, 0, 0);
	text-decoration: none;
	padding: 2px;;
}
#showMoreBtn, #closePopup {
	background-color: #28a745;
	color: white;
	border: none;
	padding: 10px;
	margin-top: 10px;
	cursor: pointer;
	border-radius: 5px;
}
#closePopup {
	background-color: #423dda;
}

/* Oculta elementos fuera del popup cuando está activo */
body.popup-active *:not(#popupOverlay):not(#languagePopup):not(#languagePopup *) {
	filter: blur(5px);
	pointer-events: none;
}




  
section#sticker {
	border: 0px;
	float:left;
}

@media screen and (min-width: 1px) and (max-width: 780px) { /* S */
  section#sticker {
    width: 100%;
    margin:0px 0px 10px 0px;
  }
}

@media screen and (min-width: 780px) and (max-width: 1200px) { /* M */
  section#sticker {
    width: calc(100% - 270px);
  }
}

@media screen and (min-width: 1200px) and (max-width: 4200px) { /* L */
  section#sticker {
    width: 630px;
    margin:0px 10px 10px 0px;
  }
}

div.cajon {
	background:#FFF; 
	clear:both;
	overflow:hidden;
	border-radius: 8px 8px 8px 8px;
	-moz-border-radius: 8px 8px 8px 8px;
	-webkit-border-radius: 8px 8px 8px 8px;
	border: 0px solid #FFF;
	margin:0 8px 10px 8px;
}

div.cajon_title {
  background:#FFF; 
  font-size:22px;
  text-align: center;
  margin:4px;
  padding:8px;

  -moz-user-select: none; 
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none; 
}

div.cajon_content {
	background-color:#ECE5DD;
	border: 0px solid #c0c0c0;
	text-align: center;
}
  
div.cajon_content img.share_icon {
	width:40px;
	height:40px;
	padding:10px;
}
  
img.cajon_content_app {
  background-color:#ECE5DD;
  border: 0px solid #c0c0c0;
  text-align: center;
}

div.cajon_details {
	height:20px;
	clear:both;
	margin: 8px;
	color: rgb(53, 53, 53);
}

div.cajon_details span.txt {
	height:20px;
    line-height: 1.5rem;
	padding-right: 10px;
	float: left;
}

div.cajon_details img {
	width:20px;
	height:20px;
	float: left;
	margin-right: 10px;
}

div.cajon_details i {
	font-size:20px;
	float: left;
}

div.cajon_content_sticker {
  width:110px;
  height:110px;
  display: inline-block;
  font-size:36px;
  padding: auto;
}

img.cajon_content_sticker {
  width:100px;
  height:100px;
  display: block;
  margin:5px;
}


div.cajon_tab_on {
	width:         calc(50% - 5px);
	background-color:#ECE5DD;
	text-align: center;
	display: inline-block;
	font-size:24px;
	border-radius: 12px 12px 0px 0px;
	padding: 10px 0px 10px 0px;
	border-top:  1px solid #000000;;
	border-right:  1px solid #000000;;
	border-bottom:  1px solid #ECE5DD;
	border-left:  1px solid #000000;;
}

div.cajon_tab_off {
  width: calc(50% - 5px);
  background-color:rgb(233, 233, 233);
  text-align: center;
  display: inline-block;
  font-size:24px;
  border-radius: 12px 12px 0px 0px;
  padding: 10px 0px 10px 0px;
  border-top: 1px solid rgb(233, 233, 233);
  border-right: 1px solid rgb(233, 233, 233);
  border-bottom: 1px solid #000000;
  border-left: 1px solid rgb(233, 233, 233);
}

div#xxx{
	color:#FFF; 
	background-color:#000; 
	text-align: left;
	border-color: #000;
}


/* RANKING HOME */

div.rank_pack_gif {
	margin:2px; 
	background-color:#FFFF00; 
	position:relative;
	float:left;
}

div.rank_txts {
  height:50px;
  float:left; 
  padding:5px 0px 0px 10px; 
  overflow:ellipsis;
  width: calc(100% - 64px);
}

img.rank_home {
  width:50px;
  height:50px;
}

div.ads_under_header {
  clear:both;
  margin:0px 0px 10px 0px;
  width:100%;
}

div[itemscope="footer"] {
   color: red;
   display:block;
   visibility: hidden;
   width:5px;
   height:5px;
   overflow:hidden;
}

ol#top_nav {
	margin:5px 8px 12px 0px;
	list-style-type: none;
}

ol#top_nav li{
	float:left;
	margin:0px 0px 0px 8px;
}

div.bloque_ads {
	clear:both;
	margin:10px;
}

div.bloque_dia {
	background:rgba(86, 75, 114, 0.22); /* kpurple transp */
	clear:both;
	margin:10px;
	overflow:hidden;
}

div.bloque_footer {
    clear:both;
    margin:10px;
    padding:15px;
    color:white;
}

div.sticker_en_lista {
    background:rgba(255, 255, 255, 0.48); /* blancp transp */
    height: 100px;
    margin:10px;
    padding:5px;
    float:left;
    border-radius: 13px 13px 13px 13px;
    -moz-border-radius: 13px 13px 13px 13px;
    -webkit-border-radius: 13px 13px 13px 13px;
    border: 0px solid #000000;
}

div.bloque_ads {
    clear:both;
    margin:10px;
}

div.bloque_footer {
    clear:both;
    margin:10px;
    padding:15px;
    text-align: center;
}


/* -------RANKS 2020-(STICKERS)----------- */
.rank_container_stickers {
    background-color: #fff;
    font-size: 10px;
    width: 100%;
}

/* Elementos dentro del contenedor */
.rank_container_stickers .element {
    margin: 1px;
    padding: 0;
    height: 70px;
    border: 1px solid transparent; /* Ajustado para evitar errores */
    background-color: #ECE5DD;
    text-align: left;
    display: inline-block;
    overflow: hidden;
}

/* Enlaces dentro del elemento */
.rank_container_stickers .element a {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
}

/* Imagen dentro del elemento */
.rank_container_stickers .element img {
    background: transparent;
    position: absolute;
    margin: 5px;
    width: 60px;
    height: 60px;
}

/* Títulos */
.rank_container_stickers .element .title,
.rank_container_stickers .element .undertitle {
    background: transparent;
    padding-left: 75px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ajustes de tamaños de fuente */
.rank_container_stickers .element .title {
    padding-top: 14px;
    font-size: 18px;
}

.rank_container_stickers .element .undertitle {
    font-size: 14px;
}

/* Media Queries */
@media screen and (max-width: 550px) { /* s */
    .rank_container_stickers .element {
        width: calc(100% - 5px);
    }
}

@media screen and (min-width: 551px) { /* M */
    .rank_container_stickers .element {
        width: calc(50% - 6px);
    }
}

@media screen and (min-width: 900px) { /* L */
    .rank_container_stickers .element {
        width: calc(33% - 5px);
    }
}


/* Share buttons */
div.share {
	width:33%;
	height:28px;
	float:left;
	margin:0px 0px 6px 0px;
	padding: auto;
	text-align:center;
	display: inline-block;
}

div.share div.wsp {
	width: 100px;
	height:28px;
	background-color:#25d366;
	text-align:left;
	overflow:hidden;
	margin-left: auto;
	margin-right: auto; 
	border-radius: 5px 5px 5px 5px;
}

div.share a:link#wsp, div.share a:link#wsp, div.share a:visited#wsp, div.share a:hover#wsp, div.share a:active#wsp  {
	width: 100%;
	height:100%;
	background-color:#25d366;
	font-size: 13px;
	line-height: 30px;
	color:white;
	font-weight: 500;
	display: block;
	text-overflow: ellipsis;
	overflow: hidden; 
	padding:0px 0px 0px 32px;
	border-radius: 5px 5px 5px 5px;
}

div.share div.wsp img {
	width: 18px;
	height:18px;
	margin: 5px 4px 0px 10px;
	float:left;
	position:absolute;
}

div#langList a:link, div#langList a:visited, div#langList a:hover, div#langList a:active {
	color:white;
}

/* player v18 */
@media screen and (max-width: 340px) { /* min */
	iframe#videoh {
		height: 280px;
	}
}

@media screen and (min-width: 340px) and (max-width: 780px) { /* S */
	iframe#videoh {
		height: 390px;
	}
}

@media screen and (min-width: 780px) { /* M */
	iframe#videoh {
		height: 481px;
	}
}

/* thumb video list v18 */
div.thumbVideoList {
	/* background:rgba(210, 210, 210, 0.075); */
	margin: 5px; 
	float: left;
	height: 200px;
	overflow: hidden;
}

@media screen and (max-width: 599px) { /* min */
	div.thumbVideoList {
		width: calc(50% - 10px); 
	}
}

@media screen and (min-width: 600px) and (max-width: 1049px) { /* S */
	div.thumbVideoList {
		width: calc(33% - 10px); 
	}
}

@media screen and (min-width: 1050px) { /* M */
	div.thumbVideoList {
		width: calc(25% - 10px); 
	}
}


div.thumbVideoList div.img {
	background:#000;
	width: 100%; 
	height: 140px;
	overflow: hidden;
}

div.thumbVideoList img {
	width: 100%; 
}

div.thumbVideoList div.title {
	width: 100%; 
	height: 150px;
	overflow: hidden;
	color:#FFF;
	text-align:center;
}


/* pagination */
.pagination_div {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.pagination {
    display: flex;
    gap: 10px;
}

.pagination button {
display: inline-flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
border: 1px solid #ccc;
background-color: #fff;
color: #333;
font-size: 14px;
font-weight: 500;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.pagination button:hover {
	background-color: #e0e0e0;
	border-color: #bbb;
}

.pagination button.active {
	background-color: #333;
	color: #fff;
	border-color: #333;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.pagination button.disabled {
	color: #aaa;
	border-color: #ddd;
	background-color: #f9f9f9;
	cursor: not-allowed;
}

.pagination button:active {
	background-color: #444;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}



/* topsearch */
#topsearch a:visited, 
#topsearch a:link {
    white-space: nowrap;
    display: inline-block; /* Para que el efecto de escala funcione correctamente */
    transition: transform 0.3s ease; /* Suaviza la animación */
	margin: 2px 3px;
    padding: 2px 3px;

}

#topsearch a:hover, 
#topsearch a:active {
    transform: scale(1.03); /* Aumenta el tamaño en un 3% */
}
