/*BUSQUEDA*/
#portal-searchbox {
    display: none !important;
}

.navbar {
    background-color: #C0D93F !important;
}

.navbar li{
    background-color: #C0D93F !important;
}

.btn-primary{
    background: #9AAE32 !important; 
    border: 2px solid #9AAE32;
}

.modalmask {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
    width: auto;
    height: auto;
}
.modalmask:target {
    opacity:1;
    pointer-events: auto;
}

/*Formato de la ventana*/
.modalbox{
    width: auto;
    height: auto;
    position: relative;
    /*padding: 5px 20px 13px 20px;*/
    background: #fff;
    border-radius:3px;
    -webkit-transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    transition: all 500ms ease-in; 
}

/*Movimientos*/
.resize {
    margin: 10% auto;
    max-width:60vw;
    min-width:200px;
    width:auto;
    max-height:90vw;
    min-height:200px;
    height:auto;
    overflow: auto;
 
}
    
.modalmask:target .resize{
    width:auto;
    height:auto;
    overflow: auto;
}

/*Boton de cerrar*/
.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: 1px;
    text-align: center;
    top: 1px;
    max-width:20vw;
    min-width:30px;
    width:0;
    text-decoration: none;
    font-weight: bold;
    border-radius:3px;
 
}
 
.close:hover {
    background: #FAAC58;
    color:#222;
}

.modalmask {
    font-size: x-large;
}

#S1,#S2,#S3,#S4,#S6,#S7,#S8,#S9,#S10,#S11,#S12,#S13,#S14,#S15,
#S16,#S17,#S18,#S19,#S20,#S21,#S22,#S23,#S24,#S25,#S26,#Semblanza1,
#Semblanza2,#Semblanza3,#Semblanza4,#Semblanza6,#Semblanza7,
#Semblanza8,#Semblanza10,#SS1,#SS2,#SS3 {
    font-size: medium;
}

#S5,#Semblanza5,#Semblanza7,#Semblanza9{
    font-size: small;
}

.carousel-item img {
    margin: auto;
    width: 300px;
    height: 300px; /* Ajusta la altura según tu diseño */
    object-fit: cover; /* Ajusta la imagen sin deformarla */
  }

  /* Estilo de los indicadores (puntos) */
  .carousel-indicators button {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #474B4E !important;  /*Color de los indicadores */
    bottom: -25px;
  }

  /* Resaltar el indicador activo */
  .carousel-indicators .active {
    background-color: #CD171E !important; /* Color */
  }

 /* Asegura que los controles sean visibles */
  .carousel-control-prev,
  .carousel-control-next {
    width: 5%; /* Ajusta el ancho para mejor visibilidad */
    opacity: 1; /* Asegura que no estén transparentes */
  }

/*RESPONSIVE, modificar para cambiar el tamaño del modal*/
@media only screen and (min-width: 480px) {
	.modalmask:target .resize{
    position: relative;
    top: -3em;
    padding: 1em;
    /*padding: 20px 15px 20px 2em;*/
    max-width:60vw;
    min-width:200px;
    width:auto;
    max-height:60vw;
    min-height:200px;
    height:auto;
    overflow: auto;
    }
}