 /* Menú pequeño */
.menu-simple {
    background: #f8f9fa;
    padding: 10px;
    text-align: center;
}
.menu-simple a {
    margin: 0 10px;
    text-decoration: none;
    color:#61a60e;
    font-weight: bold;
}

/* Menú anclado */
.menu-anclado {
    position: sticky;
    top: 0;
    z-index: 1000;
    background:#06a7e2;
    /*background: linear-gradient(to bottom,#06a7e2 #024d706d,  #06a7e23a);  Degradado de azul claro a azul oscuro */
    padding: 10px;
}
.menu-anclado a, .menu-anclado button {
    color: white;
    margin: 0 10px;
}
.icono-principal {
    width: 40px;
}

/* Estilos para popup */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index: 1001;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/*Estilo boton inscripcion*/
.custom-btn {
background-color:#a0c868; 
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
}
.custom-btn:hover {
    background-color: #96c84f /* Cambio de color al pasar el mouse */
}

/*Estilo colores del footer*/
.custom-footer {
background-color:#1d2326; 
color: white; 
}

/* Estilos para los iconos flotantes */
.social-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}
.social-icons a {
    display: block;
    background: #63902993;
    color: white;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    transition: background-color 0.3s ease;
}
/* Efecto hover para iconos flotantes */
.social-icons a:hover {
    background: #61a60e;
}

/* Estilos para el popup2  */
#popup2 {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(255, 255, 255);
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index: 1001;
    width: 90%;
    max-width: 600px;
    min-width: 280px;
}
#overlay2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.boton-derecha {
    text-align: right; /* Alinea el botón a la derecha */
}


/* Estilos para el popup 3 */
#popup3 {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index: 1001;
}

#overlay3 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Estilos para el popup 3 */
#popup4 {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index: 1001;
}
#overlay4 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Barra translúcida de nivel académico */
.barra-translucida {
    width: 100%;
    background: #a0c868; 
    /*}background: linear-gradient(to bottom,  rgb(98, 166, 14),  rgba(98, 166, 14, 0.393));*/
    padding: 10px;
    z-index: 999;
    backdrop-filter: blur(5px);
    font-weight: bold 
}
.barra-translucida a {
    background: #a0c868;
    margin: 0 10px;
    text-decoration: none;
    color:#575757;
    font-weight: bold;
}

/* Barra translúcida de servicios */
.barra-tran {
    width: 100%;
    background: #797c79; 
    /*}background: linear-gradient(to bottom,  rgb(98, 166, 14),  rgba(98, 166, 14, 0.393));*/
    padding: 10px;
    z-index: 999;
    backdrop-filter: blur(5px);
    font-weight: bold 
}
.barra-tran a {
    background: #797c79;
    margin: 0 10px;
    text-decoration: none;
    color:#ffffff;
    font-weight: bold;
}

/* Oso inicio */
.oso-inicio {
    position: fixed;
    bottom: 30px;
    left: 25px;
    max-width: 100px;
    width: 100%;
    height: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}
.oso-inicio:hover {
    transform: scale(1.2); /* hace la imagen un 20% más grande */
}

/*Avisos carrusel*/
.avisos {
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 2px solid #dee2e6;
    height: 100%;
}


/*Carrusel con Galeria*/
.thumb {
    cursor: pointer;
    border: 2px solid transparent;
}

.thumb:hover {
    border-color: #06a7e2;
}

.thumb.active {
    border-color: #06a7e2;
}

.thumb img {
    max-width: 100%;
    height: auto;
}

.gallery-column {
    max-height: 500px;
    overflow-y: auto;
}

/*Para miniaturas del carrusel en Comunidad*/
.thumb img {
    cursor: pointer;
    width: 100%;
    border: 2px solid transparent;
  }
  .thumb.active img {
    border-color: #a0c868;
  }
  #textoAviso {
    white-space: pre-wrap;
  }