body {
  display: block;
}

.container-listado-lic {
  display: grid;
}

/* texto efecto maquina de escribir */

.div-titulo-listado-lic {
  margin: auto;
}

.mensaje-msj-lic {
  display: flex;
  justify-content: center;
  margin: 50px 15px;
  color: red;
  font-weight: 600;
}

#texto-maqesc {
  display: inline-block;
  font-size: 26px;
  font-weight: bold;
  color: #54595f;
  text-shadow: 0.5px 0px 1px black;
  text-decoration: underline;
  /* text-underline-position: under; */
}

#titulo-dos-lic {
  display: none;
  font-size: 26px;
  font-weight: bold;
  color: #54595f;
  text-shadow: 0.5px 0px 1px black;
  text-decoration: underline;
  /* text-underline-position: under; */
  text-align: center;
}
/* #texto-maqesc span{
  box-shadow: 0 0 15px rgba(206, 8, 8, 0.7);
} */

#barra-vertical {
  display: none;
  color: #54595f;
  font-size: 24px;
  margin-left: -5px;
}

.desaparecer {
  animation: desaparecer 0.2s forwards;
}

@keyframes desaparecer {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
/* fin efecto maq escribir */

.div-datos-antes-listado-lic {
  display: flex;
  justify-content: space-between;
  margin-left: 230px;
  margin-right: 230px;
  /*   width: 70%;
  margin: auto; */
  margin-top: 30px;
  flex-direction: row;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.85);
}
.nro-ultimos7d-lic {
  background-color: black;
  height: 250px;
  width: 50%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  text-align: center;
}
.div-progressbar-listado-lic {
  height: 250px;
  width: 50%;
  padding: 22px 22px 22px 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.numero-lic {
  display: flex;
}

.bloque-number {
  background-color: black;
  display: flex;
  color: white;
  font-size: 24px;
  padding: 8px 12px 8px 8px;
  width: 99px;
}

.bloque-number span {
  margin-left: auto;
}

.numero-lic > span {
  align-self: center;
  margin-left: 10px;
  font-size: 20px;
}

.nro-ultimos7d-lic p:first-child,
.nro-ultimos7d-lic p:nth-child(2) {
  color: white;
  margin: auto;
  animation: parpadeoo 1s ease-in-out infinite;
}
.nro-ultimos7d-lic p:first-child {
  font-size: 88px;
  font-weight: 600;
  margin-bottom: 5px;
}
.nro-ultimos7d-lic p:nth-child(2) {
  font-size: 35px;
  margin-top: 0;
}
/* .nro-ultimos7d-lic p:nth-child(2) span:nth-child(2) {
  display: none;
} */

@keyframes parpadeoo {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.05);
    color: #cacbfb;
  }
  50% {
    transform: scale(1.1);
    color: #ffd2d2;
  }
  75% {
    transform: scale(1.05);
    color: #cacbfb;
  }
  100% {
    transform: scale(1);
  }
}

.contain-licdestac {
  /*   display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr; */
  margin-left: 230px;
  margin-right: 230px;
  display: flex;
  flex-direction: column;
}

table {
  border-collapse: collapse;
}

/* .bloquelicdestacd-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  margin-right: 10px;
}

.bloquelicdestacd-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  margin-left: 20px;
}

.bloquelicdestacd-3 {
  grid-column: 1/ -1;
  grid-row: 2 / 3;
  margin-top: 10px;
} */

.bloquelicdestacd-1,
.bloquelicdestacd-2,
.bloquelicdestacd-3 {
  /*   border: 1px solid black; */
  background-color: white;
  margin-top: 20px;
  /* padding-bottom: 15px; */
  margin-bottom: 5px;
}


.lic-bloqdest-1 {
  position: relative;
  padding: 16px 24px;
  background: #e9e5e5;
  border-radius: 4px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  /* Sombras: fuerte a la derecha, ligera arriba, CERO abajo */
  box-shadow:
    18px 0 26px -14px rgba(0,0,0,.45),
    32px 0 38px -18px rgba(0,0,0,.35),
    0 -10px 18px -12px rgba(0,0,0,.18);
  /* z-index: 1; */
  border-right: 3px solid #c0bcbc;
  border-bottom: 1px solid #c0bcbc;
}

/* “Hojas” apiladas (solo derecha) */
.lic-bloqdest-1::before,
.lic-bloqdest-1::after {
  content: "";
  position: absolute;
  top: 10px;
  right: -7px; /* sobresale a la derecha */
  bottom: 10px;
  width: 6px;
  background: var(--paper);
  border-radius: 0 6px 6px 0;
  border-top: 2px solid #c0bcbc;
  border-right: 1px solid #c0bcbc;
  border-bottom: 2px solid #c0bcbc;
  border-left: 1px solid #c0bcbc;
  z-index: -1; /* por detrás del bloque */
  box-shadow:
    10px 0 18px -10px rgba(0,0,0,.35); /* sombra lateral */
}

/* tercera “hoja” usando un contenedor interno opcional */
.lic-bloqdest-1::after {
  right: -13px;
  top: 19px;
  bottom: 16px;
  opacity: .9;
}

@media (max-width: 600px) {
  .lic-bloqdest-1 {
  border-right: 2px solid #c0bcbc;
}
.lic-bloqdest-1::before,
.lic-bloqdest-1::after {
  right: -6px; 
  width: 5px;
}
.lic-bloqdest-1::after {
  right: -11px;
}


}

.haz-click-rojo {
  background-color: red;
  color: white;
  text-decoration: none;
  padding: 6px 9px;
  border-radius: 5px;
}

.tarjetas-lics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 5px 20px;
}

.tarjetita-tr {
  flex: 1 1 calc(50% - 8px); 
  max-width: calc(50% - 8px);
  border: 2px dashed black;
  padding: 10px;
  background-color: white;
  height: 220px;
  font-size: 15px;
}

.nro_tarjet {
  color:#525252;
  font-size: 11px;
  margin-bottom: 5px;
}






/* .lic-bloqdest-1 table thead tr {
  background-color: #ffe1de;
  background-color: #e9e5e5;
  height: 50px;
}

.lic-bloqdest-1 table {
  margin: 10px 0;
}

.lic-bloqdest-1 table thead th {
  border: 2px solid gray;
  padding: 5px;
}

.lic-bloqdest-1 table tbody td {
  border: 2px solid gray;
  padding: 5px;
  padding-top: 8px;
  padding-bottom: 15px;
}

.lic-bloqdest-1 table tbody td:first-child {
  text-align: center;
}

.lic-bloqdest-1 table tbody tr td {
  height: 85px;
} */

/* .lic-bloqdest-1 table tbody tr td:first-child */
.fecha-fin-lic {
  /*   display: block;
  width: 110px;
  text-align: center; */
  color: red;
  font-weight: bold;
  background: linear-gradient(to bottom, yellow 85%, transparent 85%);
  font-size: 1.1em;
}

.lic-bloqdest-1 table tbody tr td:nth-child(4) {
  text-align: center;
}

/* .lic-bloqdest-1 table tbody tr td:nth-child(2){
  display: flex;
  flex-direction: column;
} */

.lic-bloqdest-1 .conv-tabla-lic {
  display: -webkit-box;
  line-clamp: 7;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lic-bloqdest-1
  table
  tbody
  tr
  td:nth-child(2)
  .conv-tabla-lic
  span:first-child {
  font-weight: bold;
}

@media (max-width: 1100px) {
  .tarjetita-tr {
  font-size: 14px;
  height: 220px;
  }
  .lic-bloqdest-1 .conv-tabla-lic {
  line-clamp: 8;
  -webkit-line-clamp: 8;
}
}

@media (max-width: 680px) {
  .tarjetita-tr {
    flex: 1 1 100%; 
    max-width: 100%;
  }
  .tarjetas-lics{
    padding: 0;
  }
}

/* .lic-bloqdest-1 table thead tr th:first-child,
.lic-bloqdest-1 table tbody tr td:first-child {
  color: red;
  font-weight: bold;
} */

/* .lic-bloqdest-1 p {
  font-weight: bold;
  text-align: center;
} */

/* .lic-bloqdest-1 p:first-child {
  font-size: 1.6em;
} */

.titulo-subtitulo-diario {
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 30px;
}

.diario-titulo {
  /* font-size: 2em; */
  margin: 15px 15px 22px;
  line-height: 1;
  font-family: "Georgia", serif;
  font-size: clamp(28px,3vw,42px);
}

.diario-subtitulo {
  font-size: 18px;
  margin-top: 8px;
}

.membrete-diario {
  display: flex;
  justify-content: space-between;
}

.membrete-diario div{
background-color: white;
border: 1px solid #bcbcbc;
font-size: 11px;
padding: 5px 8px;
color: #5c5959;
margin-right: 10px;
}

.membrete-diario div p {
  margin-block-start: 3px;
  margin-block-end: 3px;
}

.parrafo-antes-boletin {
  line-height: 1.3;
  font-size: 18px;
}

/* .deck{max-width:70ch; font-size:clamp(1rem,.95rem + .3vw,1.125rem);}
.deck-strong{display:block; font-weight:700; margin-bottom:.35rem;} */

.pag-chip {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  margin-left: 10px;
  margin-top: 5px;
}

@media (max-width: 1100px) {
.diario-subtitulo {
  font-size: 13px;
}
}

@media (max-width: 600px) {
  .membrete-diario div{
    /* width: 50%; */
  font-size: 10px;
  }
  .parrafo-antes-boletin {
    font-size: 16px;
  }
}

@media (max-width: 455px) {
.membrete-diario div{
  width: 150px;
}
/* .membrete-diario div p span{
display: block;
} */
 .pag-chip {
  margin-left: 5px;
  margin-top: 0;
}
}

@media (max-width: 319px) {
  .membrete-diario div{
    font-size: 9px;
    /* width: 180px; */
    width: auto;
 }
 .membrete-diario div p span{
display: block;
}
.diario-titulo {
  font-size: clamp(26px,3vw,42px);
}
}

.doble-linea {
 border-top: 2px solid #525252;
 border-bottom: 2px solid #525252;
 height: 4.5px;
 margin-top: 5px;
 margin-right: 10px;
 margin-left: 10px;
}



/* === CTA CARDS — AJUSTADOS PARA NO SER TAN ANCHOS EN ESCRITORIO === */

/* Contenedor: centrado, con wrap y gap */
.boletin-cta-wrap{
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;   /* centra las cards */
  margin: 1.25rem 0 1.75rem;
  padding: 0 .5rem;          /* un poco de aire lateral en móvil */

  margin: 25px 0 120px 0;
}

/* Card base: por defecto (móvil) ocupa todo el ancho disponible, pero con max-width para no excederse */
.boletin-cta{
  --radius: 16px;
  --shadow: 0 6px 18px rgba(0,0,0,.08);
  --bg: #fff;
  --fg: #1b1b1b;

  display: flex;
  align-items: center;
  gap: .95rem;
  text-decoration: none;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 25px 12px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;

  width: 95%;
  max-width: 450px; /* móvil/tablet puede llegar hasta acá */
}

/* En desktop: cards más angostas, sin ocupar todo el ancho */
@media (min-width: 768px){
  .boletin-cta{
    flex: 0 1 clamp(320px, 36vw, 520px); /* ancho “bonito”: no menos de 320, no más de 520 */
    /* max-width: unset; */
    padding: 35px 15px;
  }
  .boletin-cta-wrap {
    /* margin: 65px 0 100px 0; */
    gap: 45px;
  }
}

/* Hover / focus */
.boletin-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  border-color: rgba(0,0,0,.12);
}
.boletin-cta:focus-visible{
  outline: 3px solid #2563eb; /* azul accesible */
  outline-offset: 2px;
  border-radius: calc(var(--radius) + 2px);
}

/* Icono */
.boletin-cta__icon{
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(0,0,0,.04);
}
.boletin-cta--primary .boletin-cta__icon{
  background: rgba(255,255,255,.3);
}

/* Textos */
.boletin-cta__text{
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.boletin-cta__title{
  font-weight: 800;
  font-size: clamp(1rem, .9rem + .4vw, 1.1rem);
  letter-spacing: .2px;
}
.boletin-cta__subtitle{
  font-size: .92rem;
  opacity: .8;
}

/* Flecha */
.boletin-cta__arrow{
  margin-left: auto;
  font-weight: 700;
  font-size: 1.25rem;
  opacity: .5;
  transition: transform .18s ease, opacity .18s ease;
}
.boletin-cta:hover .boletin-cta__arrow{
  transform: translateX(4px);
  opacity: .9;
}

/* Estado primario (alertas) — más llamativo */
.boletin-cta--primary{
  --fg: #0b1220;
  color: var(--fg);
  /* background: linear-gradient(135deg,#ffe07d 0%,#ffb84d 40%,#ff8b3d 100%); */
  background: linear-gradient(142deg, #11bb39 0%, #33fd36 40%, #90ff03 100%);
  border-color: rgba(0,0,0,.06);
  box-shadow: 0 10px 26px rgba(255,140,61,.28);
  animation: solo-parpadeo 1.3s infinite;
}
.boletin-cta--primary:hover{
  box-shadow: 0 14px 32px rgba(255,140,61,.34);
}
.boletin-cta--primary .boletin-cta__title{
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}

@keyframes solo-parpadeo {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

.bole--diario {
  /* background: linear-gradient(135deg,#ffa07d 0%,#ff504d 40%,#ff3d3d 100%); */
  /* background: linear-gradient(343deg, #ffcc7d 0%, #ff504d 40%, #ff6700 100%); */
  /* background: linear-gradient(243deg, #ffcc7d 0%, #ff6b4e 40%, #ff6700 100%); */
  background: linear-gradient(220deg, #ffe97d 0%, #ff421d 40%, #ff0000 100%);
}

.bole--diario .boletin-cta__title,
.boton-resumen .boletin-cta__title,
.boton-ver-filtradas .boletin-cta__title {
  font-size: 1.5em;
}

/* Variante secundaria (resumen) */
.boletin-cta--secondary{
  background: var(--bg);
}

/* Modo oscuro opcional */
@media (prefers-color-scheme: dark){
  .boletin-cta{
    --bg: #121418;
    --fg: #e9edf2;
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 6px 18px rgba(0,0,0,.5);
  }
  .boletin-cta__icon{ background: rgba(255,255,255,.06); }
  .boletin-cta--primary{
    --fg: #0b1220;
    border-color: rgba(255,255,255,.12);
  }
}

.div-boletin-iconos-desktop {
  display: block;
}

.div-boletin-iconos-tablet {
  display: none;
  margin-right: 100px;
  margin: auto;
}

.div-boletin-iconos-cel {
  display: none;
}

@media (max-width: 1100px) {
  .div-boletin-iconos-desktop {
    display: none;
  }

  .div-boletin-iconos-tablet {
    display: block;
  }

  .div-boletin-iconos-cel {
    display: none;
  }

  .doble-linea:first-of-type {
    margin-block-end: 10px;
  }

  h1.titulo-subtitulo-diario {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .div-boletin-iconos-desktop {
    display: none;
  }

  .div-boletin-iconos-tablet {
    display: none;
  }

  .div-boletin-iconos-cel {
    display: block;
  }
  .doble-linea:first-of-type {
    margin-block-end: 0;
  }
  

}



/* ---------- card de publicidad ----------------------------------- */

.tarjetita-tr.card-publicidad {
    display: flex;
    align-items: center;
    /* background: #fff7e6;  
    border: 2px solid #f5a623; */
    padding: 14px 16px;
    /* margin: 10px 0 16px; */
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.color-publi-uno {
    background: #feff0e;  
    border: 2px dashed #000000;
}

.color-publi-dos {
    background: #3ef2ff;  
    border: 2px dashed #1baab4;
}

.color-publi-tres {
    background: #fff7e6;  
    border: 2px dashed #f5a623;
}

.tarjetita-tr.card-publicidad a {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.tarjetita-tr.card-publicidad:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Título grande y bien llamativo */
.publi-titulo {
    font-size: 1.3rem; 
    font-weight: 700;
    margin: 0 0 6px;
    /* color: #ff0000; */ 
    color: red;
    text-align: center;
}

/* Texto de apoyo, un poco más discreto */
.publi-texto {
    font-size: 1.05rem;
    margin: 0 0 10px;
    line-height: 1.4;
    color: #5b4636;
    text-align: center;
}

/* CTA tipo botón dentro del card */
.publi-cta {
    display: inline-block;
    margin: 0;
    padding: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    /* background: #ff6101; */
    background: red;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tarjetita-tr.card-publicidad:hover .publi-cta {
    background: #e27c10;
}


@media (max-width: 1100px) {
  .publi-titulo {
      font-size: 1.2rem; 
  }
  .publi-texto {
      font-size: 0.95rem;
  }
  .publi-cta {
      padding: 14px 16px;
  }
}


/* .lic-bloqdest-1 p:nth-child(2) span {
  line-height: 1.1;
  background: linear-gradient(to bottom, yellow 85%, transparent 85%);
} */

.hidden-cap-lic {
  display: none;
}

/* .hidden-tabla-lic{
  display: block;
} */

.color_cap_bien,
.color_cap_serv,
.color_cap_obra,
.color_cap_cons {
  padding: 3px 8px;
  border-radius: 8px;
  line-height: 2;
}

.color_cap_bien {
  background-color: var(--colorcapbien);
  background-color: red;
  color: white;
}

.color_cap_serv {
  background-color: var(--colorcapserv);
  background-color: red;
  color: white;
}

.color_cap_obra {
  background-color: var(--colorcapobr);
  background-color: red;
  color: white;
}

.color_cap_cons {
  background-color: var(--colorcapcons);
  background-color: red;
  color: white;
}

/* Estilo para la ventana emergente */
.ventana-emergente-vermas {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  /*   height: 300px; */
  background-color: white;
  border: 3px solid black;
  z-index: 1000;
  padding: 30px;
  max-height: 98vh;
  overflow-y: auto;
}

.fondo-opaco-licdestac {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.67);
  z-index: 999;
}

.cerrar-ventana-licdest {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  border: 1px solid black;
  background-color: #e7e8ff;
  padding: 2px 5px;
  /* Estilos adicionales según tus preferencias */
}

/* Estilos CSS para los encabezados de departamento */
.depto-0 {
  background-color: #ff0000; /* Rojo */
}

.depto-1 {
  background-color: #00ff00; /* Verde */
}

.depto-2 {
  background-color: #0004ff; /* Verde */
}

.depto-3 {
  background-color: #ffcc02; /* Verde */
}

.depto-4 {
  background-color: #ae00ff; /* Verde */
}

/* .pagination {
  margin-top: 20px;
}

.pagination a {
  display: inline-block;
  padding: 5px 10px;
  margin-right: 5px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
}

.pagination a.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
} */

.pagination {
  /* margin-top: 20px; */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffe1de;
  background-color: #e9e5e5;
  margin-top: 15px;
  margin-bottom: 20px;
}

.pagination a {
  display: inline-block;
  padding: 5px 12px;
  margin-right: 7px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  font-size: 1.2em;
  background-color: #c1c1c1;
}

.pagination a.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.pagination p:first-child {
  margin-right: 10px;
}

.pagination p:nth-child(2) {
  margin-left: 10px;
}

.div-lic-destacadas {
  height: max-content;
  /*   width: 70%;
  margin: auto; */
  margin-left: 230px;
  margin-right: 230px;
  margin-top: 30px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.lic-destacad {
  width: calc((100vw - 460px) / 2 - 10px);
  /*   width: 49%; */
  height: 220px;
  border-radius: 5px;
  border: 0.5px solid rgb(231, 231, 231);
  border-top: 5px solid var(--colortitulosecciones);
  margin-bottom: 20px;
  box-shadow: 5px 0 5px -5px rgba(0, 0, 0, 0.5),
    -5px 0 5px -5px rgba(0, 0, 0, 0.5), 0 5px 5px -5px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  padding: 5px;
  overflow: hidden;
}

.lic-destacad-dpto,
.lic-destacad-palcla {
  /* width: calc((100vw - 460px) / 2 - 10px); */
  /*   width: 49%; */
  border-radius: 5px;
  border: 0.5px solid rgb(231, 231, 231);
  /* margin-bottom: 20px; */
  box-shadow: 5px 0 5px -5px rgba(0, 0, 0, 0.5),
    -5px 0 5px -5px rgba(0, 0, 0, 0.5), 0 5px 5px -5px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  padding: 5px;
  overflow: hidden;
}

.lic-destacad p:first-child,
.lic-destacad-dpto p:first-child,
.lic-destacad-palcla p:first-child {
  margin: auto;
}
.lic-destacad p:first-child span,
.lic-destacad-dpto p:first-child span,
.lic-destacad-palcla p:first-child span {
  font-weight: 600;
}
.bloque-1-lic {
  display: flex;
  /*   height: 110px; */
}
.bloque-2-lic {
  display: flex;
}
.bloque-1-lic-uno {
  width: 75%;
  height: 115px;
}

.bloque-1-lic-dos {
  width: 25%;
  height: 115px;
  display: flex;
  flex-direction: column;
}

.ventana-emergente-vermas {
  color: black;
}

.vermas-lic-details,
.vermas-lic-details-bases/* ,
.vermas-lic-details-bases-dos */ {
  border: 1px solid black;
  margin: 10px;
  padding: 10px 5px 20px 10px;
  margin-top: 0;
}

.vermas-lic-details span:first-child,
.etiqueta-campo {
  display: block;
  text-decoration: underline;
  margin-bottom: 5px;
  font-weight: bold;
}

.ventana-emergente-vermas p:nth-child(2) {
  text-align: center;
  text-decoration: underline;
  font-size: 1.3rem;
  color: black;
  margin: 0 15px;
  margin-bottom: 5px;
}

.ventana-emergente-vermas .mas-chico-85 {
  margin: 0 10px 25px;
}

/* .ventana-emergente-vermas div:nth-child(7) span:first-child span {
  display: inline;
}

.ventana-emergente-vermas div:nth-child(7) span:first-child span,
.ventana-emergente-vermas div:nth-child(7) span:nth-child(2) {
  background-color: yellow;
} */

.ventana-emergente-vermas div:nth-child(6) span:nth-child(2) {
  /* display: none; */
  /* background-color: yellow; */
}

.vermas-lic-details-bases/* ,
.vermas-lic-details-bases-dos */ {
  /* color: blue; */
  /* color: white; */
  color: black;
  text-align: center;
  /* background-color: #cacbfb; */
  /* background-color: red; */
  background-color: #17dc90;
  padding: 15px 5px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1.05em;
  /* margin-top: 20px; */
}

/* .vermas-lic-details-bases-dos {
  margin-top: 10px;
} */

.contenedor-botones-lic {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

/* Primeros dos: la mitad */
.contenedor-botones-lic > div:nth-child(1),
.contenedor-botones-lic > div:nth-child(2) {
  flex: 1 1 calc(50% - 5px);
}

/* Tercero: toda la fila */
.contenedor-botones-lic > a:nth-child(3) {
  flex: 1 1 100%;
}

.contenedor-botones-lic > div:nth-child(1) .vermas-lic-details-bases,
.contenedor-botones-lic > div:nth-child(2) .vermas-lic-details-bases {
  background-color: darkgray;
}

.contenedor-botones-lic .vermas-lic-details-bases i {
  margin-right: 2px;
}

@media (max-width: 600px) {
  /* .contenedor-botones-lic > a {
    flex: 1 1 100%;
  } */
  .contenedor-botones-lic {
    display: block;
  }
}

@media (max-width: 320px) {
  .ventana-emergente-vermas p:nth-child(2) {
    font-size: 1.2rem;
  }
}

.convocatoria-lic,
.cubso-lic,
.tipo-lic,
.tipo-lic,
.vermas-lic {
  border: 1px solid black;
  margin: 5px;
  padding: 5px;
}
.vermas-lic {
  height: 105px;
  display: flex;
  flex-direction: column;
  color: blue;
}

.vermas-lic > span,
.vermas-lic i {
  height: 50%;
  align-self: center;
  color: black;
}

.vermas-lic span {
  text-decoration: underline;
  color: blue;
}

.vermas-lic i {
  margin-top: 15px;
  font-size: 33px;
}

.vermas-lic-bloqdest-1 {
  margin: 5px;
  padding: 5px;
  /* height: 105px; */
  display: flex;
  flex-direction: column;
  /* color: blue; */
}

.vermas-lic-bloqdest-1 > span,
.vermas-lic-bloqdest-1 i {
  height: 50%;
  align-self: center;
  color: black;
}

.vermas-lic-bloqdest-1 span {
  text-decoration: underline;
  /* color: blue; */
  color: black;
}

.vermas-lic-bloqdest-1 i {
  /* margin-top: 15px; */
  font-size: 33px;
  /* color: blue; */
  color: black;
}

/* .vermas-en-modulos {
  font-size: 14px;
} */

.vermas-lic-bloqdest-1:hover,
.vermas-en-modulos:hover {
  cursor: pointer;
}

.ficha-inteligente {
  font-weight: bold;
}

.fichasubt-uno {
  font-size: 0.85em;
  font-weight: bold;
  text-align: center;
}

.clase_fichaintelig {
  display: flex;
  align-items: center;
  /* color: blue; */
  font-size: 0.9em;
  text-align: left;
  margin-top: 2px;
  margin-bottom: 10px;
  font-weight: bold;
  margin-top: 15px;
}

.clase_fichaintelig i {
  /* font-size: 1.3em; */
  margin-right: 5px;
}

/* @media (max-width: 350px) {
  .clase_fichaintelig {
    font-size: 0.95em;
  }
} */

@media (max-width: 295px) {
  .clase_fichaintelig i {
    display: none;
  }
}

.convocatoria-lic {
  height: 105px;
  overflow: hidden;
  /*   display: -webkit-box;
  -webkit-box-orient: vertical; */
}

.convocatoria-lic span:nth-child(2) {
  margin-top: 5px;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* .tipo-lic {
  height: 40%;
} */
.cubso-lic {
  width: 37%;
}
.cubso-lic > span:first-child {
  margin-bottom: 5px;
  display: block;
}

.tipo-lic {
  width: 63%;
  /*   line-height: 2; */
}
.tipo-lic > span:first-child {
  display: block;
  margin-bottom: 5px;
}

.cubso-lic span,
.tipo-lic span:first-child,
.convocatoria-lic span:first-child {
  font-weight: 600;
}

.div-button-lic-destac {
  display: flex;
  margin: auto;
  margin-bottom: 120px;
}

.button-lic-destac {
  background-color: #000000;
  padding: 10px 60px;
  border-radius: 4px;
  /*   transform-origin: left center; */
}

.div-button-lic-destac a {
  font-size: 40px;
  font-weight: 600;
  color: white;
  animation: colorchange 0.88s ease-in-out infinite;
}

.a-button-lic-destac:hover {
  font-size: 41px;
  border-radius: 4px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

.vermas-lic-contenedor {
  display: flex;
  /* gap: 5px; */
  margin-top: 30px;
  /* margin-bottom: 15px; */
  flex-wrap: wrap;
  /* align-items: stretch; */
}

.vermas-lic-columna {
  flex: 1 1 45%;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
}

/* .vermas-lic-contenedor .col-der {
  justify-content: flex-start;
} */

/* .vermas-lic-contenedor .col-der .vermas-lic-details,
.vermas-lic-contenedor .col-der .alinear-doble .detalle-item {
  padding-bottom: 30px;
} */

/* .vermas-lic-details {
  margin-bottom: 8px;
  font-size: 15px;
} */

.barra-avance {
  /* font-size: 14px; */
  /* margin-top: 5px; */
}

.bloques-avance {
  display: block;
  font-family: monospace;
  font-weight: bold;
  margin-right: 6px;
  color: #2e7d32;
  font-size: 30px;
  letter-spacing: 2px;
  margin-left: 10px;
}

.porcentaje-avance {
  color: #555;
  margin-left: 20px;
  font-size: 0.85em;
}

/* .bloques-avance.animada {
  position: relative;
  display: inline-block;
  color: #2e7d32;
  background: linear-gradient(
    120deg,
    #2e7d32 25%,
    #a5d6a7 50%,
    #2e7d32 75%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: brillo-avance 1.5s linear infinite;
} */

@keyframes brillo-avance {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* === Línea de tiempo horizontal y vertical en móviles === */

.linea-tiempo-licitacion {
  display: flex;
  justify-content: space-around;
  position: relative;
  /* margin-bottom: 1.5rem; */
  /* padding: 20px 10px; */
  gap: 10px;
}

.bloque-tiempo {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 33.33%;
  text-align: center;
}

.punto-tiempo {
  width: 10px;
  height: 10px;
  background-color: #2e7d32;
  border-radius: 50%;
  z-index: 2;
  margin-bottom: 6px;
}

.etiqueta {
  font-weight: bold;
  font-size: 0.9rem;
  display: block;
}

.fecha {
  font-size: 1rem;
  color: #666;
  display: inline-block;
  margin-left: 25px;
}

/* Línea horizontal */
.linea-tiempo-licitacion::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: #ccc;
  z-index: 1;
}

.alinear-doble {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
  /* flex-wrap: wrap; */
  margin: 10px;
  margin-top: 0;
}

.detalle-item {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* min-width: 120px; */
  border: 1px solid black;
  padding: 10px 5px 10px 10px;
}

.alinear-doble .detalle-item:first-child {
  flex: 2;
  min-width: 120px;
}

.alinear-doble .detalle-item:last-child {
  flex: 1;
  justify-content: flex-start;
  padding: 10px 5px;
}

.alinear-doble .detalle-item:last-child .etiqueta-campo {
  text-align: center;
}

/* .destacado-rojo {
  background-color: red;
  color: white;
  width: 40%;
} */

.destacado-rojo {
  position: relative;
  background-color: red;
  background-color: #ab9393;
  background-color: yellow;
  /* color: white; */
  width: 50%;
  padding: 10px 10px 20px 10px;
  /* border-radius: 8px; */
  font-weight: bold;
  position: relative;
  border: 1px solid rgb(194, 194, 46);
  /* font-family: monospace; */
}

.destacado-rojo::before {
  content: "📌";
  position: absolute;
  top: -26px;
  left: -2px;
  font-size: 28px;
  transform: rotate(-50deg);
}

.estado-contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
  margin-top: 5px;
}

/* Parte del texto "Estado: ABIERTA" */
.vermas-lic-details.destacado-rojo .estado-label {
  display: inline-block;
  text-decoration: none;
  vertical-align: middle;
  margin-right: 5px;
  margin-bottom: 0;
  font-size: 18px;
}

/* Switch visual tipo ON */
.switch-container {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 30px;
  background-color: #fff;
  border-radius: 20px;
  vertical-align: middle;
  border: 1px solid rgb(101, 101, 101);
  animation: parpadeito 1s ease-in-out infinite;
}

@keyframes parpadeito {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.02);
  }
  50% {
    transform: scale(1.04);
  }
  75% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.switch-label {
  position: absolute;
  right: 14px;
  top: 5.5px;
  font-size: 18px;
  font-weight: bold;
  color: black;
  z-index: 2;
}

.switch-slider {
  position: absolute;
  top: 5px;
  left: 6px;
  width: 20px;
  height: 20px;
  background-color: green;
  border-radius: 50%;
  z-index: 1;
}

.mensaje-rotativo {
  /* font-family: monospace; */
  /* font-size: 1.1em; */
  /* border-right: 2px solid black; */
  white-space: normal;
  word-break: break-word;
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  max-width: 100%;
  min-height: 1.2em;
}

.vermas-lic-details.destacado-rojo .mensaje-rotativo ul {
  padding-inline-start: 15px;
}

.vermas-lic-details.destacado-rojo .mensaje-rotativo li {
  font-size: 1em;
  text-decoration: none;
  margin-block-start: 15px;
  margin-block-end: 15px;
  text-align: left;
  margin-left: 15px;
}

.vermas-lic-details.destacado-rojo .mensaje-rotativo li {
  margin-block-start: 15px;
  margin-block-end: 15px;
}

@media (max-width: 600px) {
  .destacado-rojo {
    width: 100%;
    /* min-height: 270px;
    max-height: auto; */
  }
  .destacado-rojo::before {
    top: -23px;
    font-size: 25px;
  }
  .ocultar-en-movil-dos {
    display: none;
  }
}

.mini-alerta {
  position: absolute;
  background-color: #ffeded;
  color: #a00;
  border: 1px solid #a00;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 13px;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  animation: fadeOut 3s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-5px);
  }
}

@keyframes vibrar {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateY(-2px);
    background-color: #84fcce;
  }
  40% {
    transform: translateY(2px);
  }
  60% {
    transform: translateY(-2px);
    background-color: #84fcce;
  }
  80% {
    transform: translateY(2px);
  }
}

.boton-parpadeo {
  animation: vibrar 0.5s ease-in-out 2;
}

.icono-bases {
  text-align: center;
  font-size: 40px;
  color: #c62828;
  margin-top: 20px;
}

.texto-login-bases {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}

.etiqueta-campo {
  font-weight: bold;
  margin-bottom: 4px;
}

.div-valorcampo {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.valor-campo {
  margin-top: 5px;
  margin-bottom: 5px;
  color: #333;
  /* font-size: 15px; */
}

.vermas-lic-palabras {
  margin-bottom: 10px;
}

.ventana-emergente-vermas .vermas-lic-details .tag-palabra {
  display: inline-block;
  background-color: #e8f0fe;
  color: #1a73e8;
  border: 1px solid #1a73e8;
  border-radius: 16px;
  padding: 3px 10px;
  /* font-size: 14px; */
  margin: 3px 5px 3px 0;
  font-weight: 500;
  text-decoration: none;
}

.div-tagpalabras {
  margin-left: 10px;
  margin-top: 10px;
}

.descripcion-vermas,
.palabras-vermas {
  padding-top: 15px;
  padding-bottom: 20px;
}

@media (max-width: 750px) {
  .vermas-lic-contenedor {
    gap: 0;
  }
}

/* En móviles: modo vertical */
@media (max-width: 600px) {
  .linea-tiempo-licitacion {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 25px;
    position: relative;
  }

  .bloque-tiempo {
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 8px;
    width: 100%;
    text-align: left;
    gap: 10px;
  }

  .punto-tiempo {
    margin-top: 5px;
  }

  .linea-tiempo-licitacion::before {
    top: 10px;
    bottom: 0;
    left: 28px;
    width: 2px;
    height: 80%;
  }
  .vermas-lic-contenedor {
    margin-top: 25px;
  }

  .alinear-doble .detalle-item:first-child {
    flex: 1.3;
  }

  .vermas-lic-columna.col-izq {
    margin-top: 20px;
  }
}

@media (max-width: 390px) {
  .alinear-doble {
    margin: 5px;
  }
}

@media (max-width: 1420px) {
  .nro-ultimos7d-lic p:nth-child(2) {
    font-size: 30px;
  }
  .cubso-lic {
    width: 45%;
  }
  .tipo-lic {
    width: 55%;
  }
}

@media (max-width: 1325px) {
  .div-datos-antes-listado-lic,
  .contain-licdestac {
    margin-left: 180px;
    margin-right: 180px;
  }
  .div-lic-destacadas {
    margin-left: 180px;
    margin-right: 180px;
  }
  .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    width: calc((100vw - 360px) / 2 - 10px);
  }
  .div-progressbar-listado-lic {
    padding-left: 35px;
  }
}
@media (max-width: 1210px) {
  .nro-ultimos7d-lic p:nth-child(2) {
    font-size: 26px;
  }
  .bloque-2-lic {
    flex-direction: column;
  }
  .cubso-lic,
  .tipo-lic {
    width: auto;
  }

  .cubso-lic span:first-child,
  .tipo-lic span:first-child {
    margin-bottom: 0;
    display: inline-block;
    margin-right: 4px;
  }

  .convocatoria-lic,
  .cubso-lic,
  .tipo-lic,
  .tipo-lic,
  .vermas-lic,
  .vermas-lic-bloqdest-1 {
    font-size: 15px;
  }
  .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    height: 240px;
  }
  .bloque-number {
    padding-left: 3px;
    width: 75px;
    font-size: 20px;
  }
  .numero-lic > span {
    font-size: 19px;
  }
  .div-progressbar-listado-lic {
    padding-left: 25px;
  }
  .lic-destacad p:first-child,
  .lic-destacad-dpto p:first-child .lic-destacad-palcla p:first-child {
    margin: 5px auto;
  }
  .convocatoria-lic span:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 1150px) {
  .div-datos-antes-listado-lic,
  .contain-licdestac {
    margin-left: 160px;
    margin-right: 160px;
  }
  .div-lic-destacadas {
    margin-left: 160px;
    margin-right: 160px;
  }
  .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    width: calc((100vw - 320px) / 2 - 10px);
  }
}

@media (max-width: 1060px) {
  .nro-ultimos7d-lic p:nth-child(2) {
    font-size: 24px;
  }
  .numero-lic > span span {
    display: block;
  }
  .nro-ultimos7d-lic {
    width: 60%;
  }
  .div-progressbar-listado-lic {
    width: 40%;
  }
}

@media (max-width: 1037px) {
  .div-datos-antes-listado-lic,
  .contain-licdestac {
    margin-left: 140px;
    margin-right: 140px;
  }
  .div-lic-destacadas {
    margin-left: 140px;
    margin-right: 140px;
  }
  .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    width: calc((100vw - 280px) / 2 - 10px);
  }
  .convocatoria-lic,
  .cubso-lic,
  .tipo-lic,
  .tipo-lic,
  .vermas-lic,
  .vermas-lic-bloqdest-1 {
    font-size: 13.5px;
  }
  /*   .convocatoria-lic,
  .vermas-lic,
  .vermas-lic-bloqdest-1 {
    height: 90px;
  } */
  .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    height: 220px;
  }
}

@media (max-width: 955px) {
  .nro-ultimos7d-lic {
    width: 55%;
  }
  .div-progressbar-listado-lic {
    width: 45%;
  }
}
@media (max-width: 935px) {
  .div-datos-antes-listado-lic,
  .contain-licdestac {
    margin-left: 105px;
    margin-right: 105px;
  }
  .div-lic-destacadas {
    margin-left: 105px;
    margin-right: 105px;
  }
  .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    width: calc((100vw - 210px) / 2 - 10px);
  }
  .nro-ultimos7d-lic p:first-child {
    font-size: 85px;
  }
  .nro-ultimos7d-lic p:nth-child(2) {
    font-size: 21px;
  }
  .numero-lic > span {
    font-size: 17.5px;
  }

  .ventana-emergente-vermas {
    width: 700px;
    padding-left: 15px;
  }
}

@media (max-width: 895px) {
  .tarjetita-tr {
    font-size: 13.5px;
  }
}

@media (max-width: 865px) {
  .div-datos-antes-listado-lic,
  .contain-licdestac {
    margin-left: 90px;
    margin-right: 90px;
  }
  .div-lic-destacadas {
    margin-left: 90px;
    margin-right: 90px;
  }
  .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    width: calc((100vw - 180px) / 2 - 10px);
  }
  .div-progressbar-listado-lic {
    padding: 20px;
  }
  #texto-maqesc,
  #barra-vertical {
    font-size: 24px;
  }
}

@media (max-width: 836px) {
  .cubso-lic span:first-child span,
  .tipo-lic span :first-child {
    display: none;
  }
  .hidden-mas {
    display: block;
  }
  /* .lic-bloqdest-1 .conv-tabla-lic {
    line-clamp: 8;
    -webkit-line-clamp: 8;
  } */
  .lic-bloqdest-1 table tbody tr td {
    height: 102px;
  }
  .ventana-emergente-vermas {
    width: 650px;
    padding-left: 15px;
    padding-right: 10px;
  }
}

@media (max-width: 768px) {
  .div-progressbar-listado-lic {
    padding: 18px;
  }
  .nro-ultimos7d-lic p:first-child {
    font-size: 80px;
  }
  .nro-ultimos7d-lic p:nth-child(2) {
    font-size: 19px;
  }
  .bloque-number {
    width: 65px;
    font-size: 18px;
  }
  .numero-lic > span {
    font-size: 16px;
  }
  .lic-bloqdest-1 table thead tr {
    height: 40px;
  }
  .lic-bloqdest-1 .conv-tabla-lic {
    line-clamp: 9;
    -webkit-line-clamp: 9;
  }
  .tarjetita-tr {
    height: 230px;
  }
}

@media (max-width: 750px) {
  .div-progressbar-listado-lic {
    height: 200px;
    padding: 14px;
  }
  .nro-ultimos7d-lic {
    height: 200px;
  }
  .div-datos-antes-listado-lic,
  .contain-licdestac {
    margin-left: 75px;
    margin-right: 75px;
  }

  /*   .div-lic-destacadas {
    margin-left: 75px;
    margin-right: 75px;
  } */

  /*   .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    width: calc(100vw - 150px);
    height: 195px;
  } */

  .nro-ultimos7d-lic p:first-child {
    font-size: 75px;
  }
  .nro-ultimos7d-lic p:nth-child(2) {
    font-size: 18px;
  }
  .bloque-number {
    font-size: 17px;
    padding: 6px;
  }
  .numero-lic > span {
    font-size: 15px;
  }

  .bloque-2-lic {
    flex-direction: row;
  }
  #texto-maqesc,
  #barra-vertical {
    font-size: 22px;
  }
  .cubso-lic {
    width: 45%;
  }
  .tipo-lic {
    width: 55%;
  }
  .cubso-lic > span:first-child,
  .tipo-lic > span:first-child {
    display: block;
  }
  .hidden-mas {
    display: inline-block;
  }
  .cubso-lic span:first-child span,
  .tipo-lic span :first-child {
    display: inline-block;
  }
  /* .ventana-emergente-vermas {
    width: 500px;
    padding-left: 15px;
  } */
}

@media (max-width: 720px) {
  .div-datos-antes-listado-lic {
    flex-direction: column;
  }
  .nro-ultimos7d-lic {
    width: 100%;
    /* height: 150px; */
    height: auto;
    padding: 30px;
  }
  .div-progressbar-listado-lic {
    display: none;
    /*     flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    height: 140px;
    padding: 15px 25px; */
  }
  .numero-lic {
    height: 45px;
  }
  .numero-lic:first-child,
  .numero-lic:nth-child(3) {
    width: 45%;
  }
  .numero-lic:nth-child(2),
  .numero-lic:nth-child(4) {
    width: 55%;
  }
  .numero-lic:first-child,
  .numero-lic:nth-child(2) {
    margin-bottom: 20px;
  }
  .bloque-number {
    width: 70px;
    font-size: 20px;
    padding: 10px;
  }
  .numero-lic > span {
    font-size: 20px;
    margin-left: 5px;
  }
  .nro-ultimos7d-lic p:nth-child(2) {
    font-size: 22px;
  }

  .pagination a {
    padding: 4px 8px;
    margin-right: 7px;
    font-size: 1em;
  }
  .ventana-emergente-vermas {
    width: 620px;
  }
  .vermas-lic-contenedor .col-der .vermas-lic-details,
  .vermas-lic-contenedor .col-der .alinear-doble .detalle-item {
    padding-bottom: 10px;
  }
}

/* @media (max-width: 599px) {
  .div-progressbar-listado-lic {
    padding: 15px 5px 15px 12px;
  }
  .numero-lic:first-child,
  .numero-lic:nth-child(3) {
    width: 43%;
  }
  .numero-lic:nth-child(2),
  .numero-lic:nth-child(4) {
    width: 57%;
  }
  #texto-maqesc,
  #barra-vertical {
    font-size: 20px;
  }
} */

@media (max-width: 680px) {
  .ventana-emergente-vermas {
    width: 600px;
  }
    .tarjetita-tr {
    height: 180px;
  }
  .lic-bloqdest-1 .conv-tabla-lic {
    line-clamp: 6;
    -webkit-line-clamp: 6;
  }
}

@media (max-width: 645px) {
  .div-datos-antes-listado-lic,
  .contain-licdestac {
    margin-left: 60px;
    margin-right: 60px;
  }
  .div-progressbar-listado-lic {
    padding: 15px 5px 15px 12px;
  }
  .numero-lic:first-child,
  .numero-lic:nth-child(3) {
    width: 43%;
  }
  .numero-lic:nth-child(2),
  .numero-lic:nth-child(4) {
    width: 57%;
  }
  #texto-maqesc,
  #barra-vertical {
    font-size: 18px;
  }
  .bloque-number {
    width: 62px;
    padding: 7px;
  }
  .numero-lic > span {
    font-size: 18px;
  }
  .numero-lic {
    height: 40px;
  }
  /*   tbody, */
  thead {
    font-size: 0.9em;
  }
  /* .lic-bloqdest-1 .conv-tabla-lic {
    line-clamp: 8;
    -webkit-line-clamp: 8;
  } */
  .lic-bloqdest-1 table tbody tr td {
    height: 108px;
  }
  /*   .lic-bloqdest-1 table tbody tr td:first-child .fecha-fin-lic {
    width: 88px;
  } */

  .lic-bloqdest-1 table tbody td:first-child,
  .lic-bloqdest-1 table thead th:first-child {
    font-size: 0.8em;
  }

  .ventana-emergente-vermas {
    width: 580px;
  }
}

@media (max-width: 595px) {
  .div-datos-antes-listado-lic,
  .contain-licdestac {
    margin-left: 15px;
    margin-right: 15px;
  }
  .div-progressbar-listado-lic {
    flex-wrap: nowrap;
    flex-direction: column;
    height: 220px;
    padding-left: 40px;
  }
  .numero-lic {
    height: 35px;
  }
  .numero-lic:first-child,
  .numero-lic:nth-child(2),
  .numero-lic:nth-child(3),
  .numero-lic:nth-child(4) {
    width: 100%;
    margin-bottom: 10px;
    /*     justify-content: center; */
  }
  .numero-lic > span span {
    display: inline;
  }
  .div-lic-destacadas {
    margin-left: 35px;
    margin-right: 35px;
  }
  .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    width: calc(100vw - 70px);
  }
  /*.lic-bloqdest-1 table tbody tr td:first-child span {
    width: 80px;
  }
     .lic-bloqdest-1 table tbody tr td {
    height: 125px;
    padding-bottom: 10px;
    word-break: break-word;
    white-space: normal;
  }
  .hidden-cap-lic {
    display: block;
    margin-bottom: 5px;
  }

  .hidden-tabla-lic {
    display: none;
  } */

  .color_cap_bien,
  .color_cap_serv,
  .color_cap_obra,
  .color_cap_cons {
    padding: 3px 8px;
    background-color: red;
    color: white;
    border-radius: 8px;
    line-height: 2;
  }
  .ventana-emergente-vermas {
    width: 450px;
  }
}

@media (max-width: 535px) {
  .ventana-emergente-vermas {
    width: 425px;
  }
}

@media (max-width: 495px) {
  .pagination a {
    padding: 4px 6px;
    margin-right: 3px;
    font-size: 0.9em;
  }
  .pagination p:first-child {
    margin-right: 5px;
  }
  .pagination p span {
    display: none;
  }
  .ventana-emergente-vermas {
    width: 400px;
  }
}

@media (max-width: 465px) {
  #texto-desapar {
    display: none;
  }
  /*   .lic-bloqdest-1 table tbody tr td:nth-child(2) .conv-tabla-lic {
    -webkit-line-clamp: 9;
  }
  .lic-bloqdest-1 table tbody tr td {
    height: 158px;
  } */
  .ventana-emergente-vermas {
    width: 385px;
    padding: 30px 5px 20px 10px;
  }
}

@media (max-width: 430px) {
  .bloque-2-lic {
    flex-direction: column;
  }
  .cubso-lic,
  .tipo-lic {
    width: auto;
  }
  .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    height: 235px;
  }
  .convocatoria-lic,
  .cubso-lic,
  .tipo-lic,
  .tipo-lic,
  .vermas-lic,
  .vermas-lic-bloqdest-1 {
    margin: 2.5px;
  }
  .vermas-lic-bloqdest-1 {
    margin: 0;
    padding: 0;
  }
        .lic-bloqdest-1 .conv-tabla-lic {
    line-clamp: 8;
    -webkit-line-clamp: 8;
  }
  .tarjetita-tr {
    height: 210px;
  }
}

@media (max-width: 420px) {
  /*   #texto-desapar {
    display: none;
  }
 */
  .div-progressbar-listado-lic {
    padding-left: 65px;
  }
  .numero-lic > span span {
    display: block;
  }
  /*   .nro-ultimos7d-lic p:nth-child(2) span:first-child {
    display: none;
  }
  .nro-ultimos7d-lic p:nth-child(2) span:nth-child(2) {
    display: block;
    font-size: 22px;
  } */
  .numero-lic > span {
    /*     font-size: 21px; */
    margin-left: 8px;
  }
  .ventana-emergente-vermas {
    width: 350px;
    padding: 25px 5px 20px 8px;
  }
}

@media (max-width: 390px) {
  #texto-maqesc {
    display: none;
  }
  #titulo-dos-lic {
    display: inline-block;
  }
  .div-datos-antes-listado-lic {
    margin-top: 20px;
    /*     margin-left: 28px;
    margin-right: 10px; */
  }
  /*   .div-lic-destacadas {
    margin-left: 28px;
    margin-right: 10px;
  } */
  .div-progressbar-listado-lic {
    padding-left: 55px;
  }
  .button-lic-destac {
    padding: 10px 20px;
  }
  .ventana-emergente-vermas {
    width: 330px;
    /* font-size: 0.9em; */
  }
  .vermas-lic-details/* ,
  .vermas-lic-details-bases */ {
    margin: 5px;
  }
  .descripcion-vermas {
    margin-top: 10px;
  }
}

@media (max-width: 370px) {
  /*   .bloque-2-lic {
    flex-direction: column;
  }
  .cubso-lic,
  .tipo-lic {
    width: auto;
  } 
  .lic-destacad, .lic-destacad-dpto{
    height: 235px;
  }*/
  .vermas-lic span {
    margin-top: 8px;
    text-transform: uppercase;
  }
  .vermas-lic-bloqdest-1 span {
    margin-top: 8px;
    text-transform: uppercase;
  }
  .hidden-mas {
    display: none;
  }
  .vermas-lic-bloqdest-1 i {
    font-size: 30px;
  }

}

@media (max-width: 360px) {
  .ventana-emergente-vermas {
    width: 310px;
    /* font-size: 0.85em; */
  }
}

@media (max-width: 340px) {
  .div-lic-destacadas {
    margin-bottom: 10px;

    margin-left: 28px;
    margin-right: 23px;
  }
  .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    width: calc(100vw - 51px);
  }
  /*   .div-datos-antes-listado-lic,
  .contain-licdestac {
    margin-left: 28px;
    margin-right: 23px;
  } */
  .div-progressbar-listado-lic {
    padding-left: 33px;
  }

  /*   .bloque-1-lic-uno {
    width: 185px;
  }
  .bloque-1-lic-dos {
    width: 63px;
  } */
  .convocatoria-lic,
  .cubso-lic,
  .tipo-lic,
  .tipo-lic,
  .vermas-lic,
  .vermas-lic-bloqdest-1 {
    margin: 2px;
  }
  /* tbody {
    font-size: 0.9em;
  }
  .lic-bloqdest-1 table thead tr {
    height: 35px;
  } */
  .lic-bloqdest-1 .conv-tabla-lic {
    line-clamp: 9;
    -webkit-line-clamp: 9;
  }
  .tarjetita-tr {
    height: 220px;
  }
}

@media (max-width: 320px) {
  .ventana-emergente-vermas {
    width: 290px;
    /* font-size: 0.8em; */
  }
  .fecha-fin-lic {
    /* font-size: 1.12em; */
  }

  .pagination a {
    margin-right: 1px;
  }
  .pagination p:first-child {
    font-size: 0.9em;
  }
}

@media (max-width: 310px) {
  .div-progressbar-listado-lic {
    padding-left: 22px;
  }
  /*   .bloque-1-lic-uno {
    width: 173px;
  } */
  /*   .bloque-1-lic-dos {
    width: 63px;
  } */
  .div-lic-destacadas {
    margin-right: 20px;
  }
  .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    width: calc(100vw - 48px);
  }
  /*   .div-datos-antes-listado-lic,
  .contain-licdestac {
    margin-right: 20px;
  } */
  .ventana-emergente-vermas {
    width: 280px;
  }
}

/* @media (max-width: 305px) {
  .pagination a {
    margin-right: 1px;
  }
  .pagination p:first-child {
    font-size: 0.9em;
  }
} */
@media (max-width: 300px) {
  .div-button-lic-destac a {
    font-size: 33px;
  }
  .div-lic-destacadas {
    margin-right: 15px;
  }
  .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    width: calc(100vw - 43px);
  }
  .div-datos-antes-listado-,
  .contain-licdestac {
    margin-right: 15px;
  }
  .nro-ultimos7d-lic {
    padding: 20px;
  }
  /* .lic-bloqdest-1 p:first-child {
    margin: 10px 5px;
  } */
  .fecha-fin-lic {
    font-size: 1.08em;
  }
  .pagination p:first-child {
    display: none;
  }
  .tarjetita-tr {
    font-size: 13.5px;
  }
}

@media (max-width: 295px) {
  .ventana-emergente-vermas {
    width: 270px;
  }
  .ventana-emergente-vermas div:nth-child(7) {
    display: none;
  }
}

@media (max-width: 290px) {
  .div-progressbar-listado-lic {
    display: none;
  }
  /*   .bloque-1-lic-uno {
    width: 170px;
  }
  .bloque-1-lic-dos {
    width: 60px;
  } */
  .div-lic-destacadas {
    margin-right: 10px;
  }
  .lic-destacad,
  .lic-destacad-dpto,
  .lic-destacad-palcla {
    width: calc(100vw - 38px);
  }
  .div-datos-antes-listado-lic,
  .contain-licdestac {
    margin-right: 10px;
  }
  .fecha-fin-lic {
    font-size: 1.05em;
  }
}

/* @media (max-width: 625px) {
  .div-progressbar-listado-lic {
    height: 190px;
    padding: 12px;
  }
  .nro-ultimos7d-lic {
    height: 190px;
  }
  .nro-ultimos7d-lic p:first-child {
    font-size: 70px;
  }
  .nro-ultimos7d-lic p:nth-child(2) {
    font-size: 17px;
  }
  .bloque-number {
    font-size: 16px;
    padding: 5px;
  }
  .numero-lic > span {
    font-size: 14px;
  }
  #texto-maqesc,
  #barra-vertical {
    font-size: 20px;
  }
}

@media (max-width: 590px) {
  .div-progressbar-listado-lic {
    height: 170px;
    padding: 10px;
  }
  .nro-ultimos7d-lic {
    height: 170px;
  }
  .div-datos-antes-listado-lic {
    margin-left: 55px;
    margin-right: 55px;
  }
  .div-lic-destacadas {
    margin-left: 55px;
    margin-right: 55px;
  }

}

@media (max-width: 550px) {
  .nro-ultimos7d-lic {
    width: 52%;
  }
  .div-progressbar-listado-lic {
    width: 48%;
  }
  .nro-ultimos7d-lic p:nth-child(2) span:first-child {
    display: none;
  }
  .nro-ultimos7d-lic p:nth-child(2) span:nth-child(2) {
    display: block;
    font-size: 21px;
  }
  .nro-ultimos7d-lic p:first-child {
    font-size: 60px;
  }
  .bloque-number {
    font-size: 15px;
    padding: 5px;
  }
  .numero-lic > span {
    font-size: 13px;
  }

  #texto-maqesc,
  #barra-vertical {
    font-size: 18px;
  }
}

@media (max-width: 500px) {
  #texto-maqesc, #barra-vertical {
    font-size: 16.5px;
}
  .div-datos-antes-listado-lic {
    margin-left: 40px;
    margin-right: 40px;
  }
  .nro-ultimos7d-lic {
    width: 50%;
  }
  .nro-ultimos7d-lic p:first-child {
    font-size: 55px;
  }
  .nro-ultimos7d-lic p:nth-child(2) span:nth-child(2) {
    font-size: 19px;
  }
  .div-progressbar-listado-lic {
    width: 50%;
  }
  .div-progressbar-listado-lic {
    padding: 8px;
  }
  .bloque-number {
    width: 55px;
  }
  .numero-lic > span {
    font-size: 12px;
  }
}

@media (max-width: 425px){
  #texto-maqesc, #barra-vertical {
    font-size: 15.5px;
}
  .div-datos-antes-listado-lic {
    margin-left: 33px;
    margin-right: 33px;
  }
  .nro-ultimos7d-lic p:first-child {
    font-size: 50px;
  }
  .nro-ultimos7d-lic p:nth-child(2) span:nth-child(2) {
    font-size: 18.5px;
  }

  .bloque-number {
    width: 45px;
    font-size: 14px;
  }
  .numero-lic > span {
    font-size: 11px;
  }
}
 */

/* ----palabras en licper------------- */

.div-palabrasitems-licper {
  border: 4px solid red;
  padding: 0px 15px 20px;
  margin-bottom: 5px;
}

.titulo-palabras-items {
  text-align: center;
  font-size: 18px;
}

.nota-mas-items {
  text-align: center;
  font-size: 18px;
  line-height: 1.3;
  margin: 35px 80px 120px 80px;
}

.top-palabras-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.top-palabra-badge,
.top-palabra-badge-vermas,
.top-palabra-badge-other {
  display: inline-block;
  background-color: #f0f8ff;
  border: 1px solid #8bb8e8;
  border-radius: 8px;
  padding: 8px;
  font-size: 12.5px;
  color: #1c3d5a;
  text-decoration: none;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.2s;
  font-weight: 400;
}

.top-palabra-badge:hover,
.top-palabra-badge-vermas:hover {
  background-color: #d9ecff;
}

.vermas-palbadge {
  display: none;
  color: red;
  margin-bottom: 20px;
}

#typewriter-text {
  /* display: none; */
  /* font-family: 'Courier New', monospace; */
  /* white-space: pre-wrap; */
  color: red;
  /* background-color: yellow; */
  line-height: 1.3;
  font-weight: bold;
  /* font-size: 1.1em; */
}

.indicador-escribiendo {
  display: none;
  font-style: italic;
  color: #555;
  margin-top: 8px;
  animation: parpadeoescribiendo 1s infinite;
}

@keyframes parpadeoescribiendo {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.copymonto-lista li {
  margin-bottom: 10px;
}

.checkitem {
  list-style: none;
  position: relative;
  padding-left: 33px;
}

.checkitem span,
.titulo-palabras-items span span {
  color: green;
}

.checkitem::before {
  content: "✔️";
  position: absolute;
  left: 0;
  top: 0;
}

.copymonto-bloque ul {
  padding-inline-start: 10px;
}

.solo-movil {
  display: none;
}

.solo-escritorio {
  display: inline;
}

@media (max-width: 768px) {
  .solo-movil {
    display: inline;
  }

  .solo-escritorio {
    display: none;
  }

  .ocultar-en-movil {
    display: none;
  }
  /* .lic-bloqdest-1,
  .lic-bloqdest-1 p:first-child {
    margin-top: 10px;
  } */
  .top-palabra-badge,
  .top-palabra-badge-vermas,
  .top-palabra-badge-other {
    padding: 4px 8px;
  }
  .nota-mas-items {
    font-size: 16px;
    margin: 30px 20px 100px 25px;
  }
}

/* //----marquee horizontal rubros mas buscados ------------------------ */

.rubros-mas-buscados {
  background-color: #f8f9fa;
  padding: 0.5rem;
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  margin-bottom: 25px;
  margin-top: 30px;
}

.flecha-iniciolic {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: red;
  animation: mover-flecha 3.2s ease-in-out infinite;
}

@keyframes mover-flecha {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px); /* baja 8px */
  }
  100% {
    transform: translateY(0);
  }
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 144px;
  margin-bottom: 5px;
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: fit-content;
  animation: scroll-left 35s linear infinite;
}

.rubro-card {
  flex: 0 0 auto;
  width: 260px;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.rubro-clave {
  font-size: 1.2em;
}

.rubro-emoji {
  font-size: 2.2em;
}

.numeros-rubrocard {
  color: blue;
  /* font-size: 1.2em; */
}

/* .rubro-card .reglon {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
} */

.link-marquee {
  margin-top: 0.5rem;
  display: inline-block;
  text-decoration: underline;
  color: #0056b3;
  font-weight: bold;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .marquee-track {
    animation: scroll-left 45s linear infinite;
  }
}

@media (max-width: 360px) {
  .rubro-card {
    min-width: 80vw;
  }
}

.barra-titulo-masbuscados,
.barra-titulo-depts {
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: red; */
  /* padding: 0.3rem; */
  text-align: center;
  color: red;
  font-weight: bold;
  font-size: 1.2em;
  /* animation: parpadeito 1s ease-in-out infinite; */
}

.texto-masbuscados {
  margin-block-start: 40px;
  color: red;
  margin-left: 5px;
  margin-right: 5px;
  font-size: 25px;
}

.texto-masbuscados .primer-span{
  padding-left: 5px;
  padding-right: 5px;
}

.texto-masbuscados:hover,
.texto-masbuscados a:hover {
    color: red;
}

.barra-titulo-masbuscados .triang-abajo,
.barra-titulo-depts .triang-abajo {
  font-size: 2em;
}

#listado-aleatorio:hover {
  cursor: pointer;
}



.alerta-resumen-dia{
  display:flex;
  align-items:flex-start;
  gap:12px;
  background:#FFF4D6;
  border-left:5px solid #FFB703;
  padding:25px 16px;
  margin:18px auto;          
  border-radius:6px;
  text-decoration:none;
  color:#5f3b00;
  max-width: 720px;          
  width: calc(100% - 24px);  
  font-size: 22px;
}



.alerta-resumen-dia:hover {
  background: #FFE8B3;
  transform: translateY(-1px);
}

.alerta-icono {
  font-size: 30px;
  line-height: 1.2;
}

.alerta-texto {
  text-align: left;
}

.alerta-texto strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.alerta-link {
  font-weight: 600;
  text-decoration: underline;
  margin-top: 20px;
}


@media (max-width: 600px) {
  .alerta-resumen-dia{
    font-size: 20px;
  }
}

@media (max-width: 400px) {
  .alerta-resumen-dia{
    font-size: 19px;
  }
}


/* ----borrar marquee departamentos ubicacion ------- */

/*--------------------*/

/* Contenedor general (sin marquee) */
.marquee-container-deps {
  width: 100%;
  box-sizing: border-box;
  padding: 5px;
  margin: 0 8px 20px 5px;
  overflow: visible;
  white-space: normal;
}

/* Grid auto-adaptable */
.marquee-text-line {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

@media (max-width: 500px) {
  .marquee-text-line {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}

/* Badge ocupa su celda completa */
.dep-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* background: red; */
  background-color: #5b5858;
  color: #fff;
  padding: 10px;
  /* padding: 6px 8px; */
  border: 1px solid #cce5ff;
  border-radius: 20px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.dep-badge:hover {
  background: #464646;
  transform: scale(1.02);
}

@media (max-width: 500px) {
  .dep-badge {
    padding: 6px 8px;
    font-size: 13px;
  }
}

.tooltip-aviso {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tooltip-aviso::after {
  content: "";
  position: absolute;
  bottom: 100%; /* pone la flecha arriba del tooltip */
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333; /* flechita apuntando hacia arriba */
}

/* @keyframes parpadeoResaltado {
  0%   { background-color: #03fd0b; }
  50%  { background-color: #ffdf76; }
  100% { background-color: #ccffcb; }
} */

/* @keyframes sacudidaSuave {
  0%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-6px);
  }
  50% {
    transform: translateY(6px);
  }
  75% {
    transform: translateY(-6px);
  }
} */

@keyframes sacudidaSuave {
  0%,
  100% {
    transform:  scale(1);
  }
/*   25% {
    transform:  scale(1.04);
  } */
  50% {
    transform:  scale(1.05);
  }
/*   75% {
    transform:  scale(1.03);
  } */
}

.destello-animado {
  animation: /* parpadeoResaltado 1s ease,  */ sacudidaSuave 1.4s ease-in-out infinite;
}
