@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');



/* ------------------- Contenido general ------------------- */
body {
    padding: 0px;
    font-size: 18px;
    font-weight: 300;
    background-color: #efefef70 !important;
    font-family: 'Open Sans', sans-serif;
}

a {
    color: #1d1d1f; /* Negro oscuro similar al de Apple */
    text-decoration: none; /* Opcional */
}

a:hover, a:focus {
    color: #333; /* Un gris oscuro */
}

/* ------------------- Espaciado ------------------- */
.espacio-izqder { padding-left: 125px !important; padding-right: 125px !important; }
.espacio-der { padding-right: 125px !important; }
.espacio-izq { padding-left: 125px !important; }

/* ------------------- Fondos ------------------- */
.fondoFooter { background-color: #00B2E3 !important; }
.fondo-blanco { background-color: white !important; }
.fondo-eventosGeneral { background-color: #e7ecf16b !important; }
.fondo-diaEvento { background-color: #004A98 !important; color: white; }
.fondo-horaEvento { background-color: #00B2E3 !important; color: white; }
.separacionAzul { background-color: #004A98 !important; }
.separacionGris { background-color: #E7ECF1 !important; }

/* ------------------- Cabecera ------------------- */
.header {
    width: auto;
    height: 120px;
    text-align: left;
    background-color: #004A98;
    transition: height 0.8s;
}

.header a, .piePagina a {
    color: white !important;
    text-decoration: none !important;
    font-weight: 600; /* OpenSans-SemiBold */
}

.header a { font-size: 18px !important; }
.header a:hover, .piePagina a:hover { text-decoration: underline !important; }

.header-gris {
    width: auto;
    background-color: #D8D8D8 !important;
}

.header-gris a {
    color: #706F6F !important;
    text-decoration: none !important;

}

.badge {
  display: inline-block;
  padding: 0.6em 0.4em;
  font-size: 75%;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.badge-pill {
  padding-right: 0.7em;
  padding-left: 0.7em;
  border-radius: 10rem;
}

.badge-info {
  color: #fff;
  background-color: #17a2b8;
}

.m-1 {
  margin: 0.25rem !important;
}

.footnote {
  font-size: 80%;
}

/* ------------------- Logo ------------------- */
.logoUASLP {
    height: 84px !important;
    padding: 10px 15px;
}

/* ------------------- Textos ------------------- */
.textoAdministrativa {
    font-size: 20px !important;
    margin: 0;
}

.textoUASLP, .textoUASLP a {
    font-weight: 700; /* OpenSans-Bold */
    color: white !important;
    font-size: 35px !important;
    margin-bottom: 0;
}

.nombre-entidad {
    color: #FFFFFF;
    font-weight: 700; /* OpenSans-Bold */
    font-size: 35px;
}

.descripcion-entidad {
    color: #FFFFFF;
    font-weight: 300; /* OpenSans-Bold */
    font-size: 25px;
}


/* ------------------- Títulos y subtítulos ------------------- */
.titulo1 {
    font-weight: 800; /* OpenSans-ExtraBold */
    color: #00B2E3 !important;
    font-size: 42px !important;
}

.titulo2 {
    font-weight: 600; /* OpenSans-SemiBold */
    color: #004A98 !important;
    font-size: 22px !important;
}

.subtitulo {
    font-weight: 700; /* OpenSans-Bold */
    color: #004A98 !important;
    font-size: 45px !important;
}

.subtitulo2 {
    font-weight: 400; /* OpenSans-Regular */
    color: #004A98 !important;
    font-size: 26px !important;
}

.subtitulo--azul {
    font-weight: 600; /* OpenSans-SemiBold */
    color: #2080CB !important;
    font-size: 26px !important;
}

h4 {
  text-transform: uppercase !important;
  font-size: 20px;
}
/* ------------------- Botones ------------------- */
.btn-vermas, .btn-pildora {
    background-color: #2080CB !important;
    color: white !important;
    padding: 5px 20px;
    font-weight: 600; /* OpenSans-SemiBold */
    font-size: 20px !important;
    border-radius: 20px 20px !important;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2080CB;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.btn-link:hover {
    background: #003fcc;
    color: white;
}
.btn-link img {
    width: 22px;
    height: auto;
}

.icon-white {
    filter: brightness(0) invert(1);
}

/* ------------------- Pie de página ------------------- */
.piePagina {
    width: auto;
    height: 280px;
    background-color: #004A98;
    padding: 25px 50px 30px 50px;
    font-weight: 300;
}

/* ------------------- Responsive ------------------- */
@media only screen and (max-width: 600px) {
    .img-evento, .img-noticia {
        max-width: 100%;
        height: 150px !important;
    }
}

@media only screen and (min-width: 600px) {
    .img-evento, .img-noticia {
        max-width: 100%;
        height: 300px !important;
    }
}

@media only screen and (max-width: 970px) {
    .img-evento, .img-noticia {
        height: 100px !important;
    }
}

@media only screen and (min-width: 1200px) {
    .img-evento, .img-noticia {
        max-height: 200px !important;
    }
}

@media (max-width: 767px) {
    .header { text-align: center !important; height: auto !important; }
    .logoUASLP { padding: 5px 15px !important; }
    .nombre-entidad { font-size: 20px; }
    .descripcion-entidad { display: none; }
    .piePagina { height: 550px !important; }
    .titulo1 { font-size: 35px !important; }
    .espacio-izqder, .espacio-izq, .espacio-der { padding-left: 15px !important; padding-right: 15px !important; }
}

/* ------------------- Imagen Encabezado ------------------- */
.imagenPrincipal {
    height: 200px;
    background-position: inherit;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #004A98;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}


.d-md-block > div {
    position: relative;
}


.imagenPortada {
    height: 300px;
    background-position: inherit;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #004A98;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}

/* ------------------- Tablas ------------------- */

table {
   margin-top: 10px;
}
th{
  font-weight: 400;
}

.JCLRgrips { display: none; }
#detalles table a { word-break: break-all; }

.paginas-tbHeader__azul1 > tbody:first-child > tr:first-child {
    background-color: #004A98 !important;
}
.paginas-tbHeader__azul1 > tbody:first-child > tr:first-child td {
    color: white !important;
}

.paginas-tbHeader__azul2 > tbody:first-child > tr:first-child {
    background-color: #00b2e3 !important;
}
.paginas-tbHeader__azul2 > tbody:first-child > tr:first-child td {
    color: white !important;
}
.paginas-tbHeader__azul1 td:first-child,
.paginas-tbHeader__azul2 td:first-child {
    width: 45%;
}

.paginas-tbHeader__azul1 td:nth-child(2),
.paginas-tbHeader__azul2 td:nth-child(2) {
    width: 15%;
}

.paginas-tbHeader__azul1 td:nth-child(3),
.paginas-tbHeader__azul2 td:nth-child(3) {
    width: 10%;
}

.paginas-tbHeader__azul1 td:nth-child(4),
.paginas-tbHeader__azul2 td:nth-child(4) {
    width: 25%;
}


.tabla_productos td:first-child {
width: 7%;
}.tabla_productos td:nth-child(2) {
width: 75%;
}

/* ------------------- Búsqueda de Google ------------------- */
.gsc-control-cse {
    padding: 0px !important;
}

.btn-search-button-v2 {
    border-color: #004A98;
    background-color: #004A98;
    padding: 6px 27px;
    width: auto;
    vertical-align: middle;
}
.btn-search-button-v2 svg {
    fill: #FFFFFF;
}

input.search-input {
    border: 1px solid #004A98;
}

/* ------------------- Ajustes de imagen ------------------- */
.img-evento, .img-noticia {
    max-width: 100%;
    height: auto;
    min-height: 200px !important;
    max-height: 525px !important;
}

.badge {
   font-size: 0.6em;
   background-color: #ABB2B9;
   color: white;
   padding: 8px 12px;
   border-radius: 16px;
}
