

.gestion {
    padding: 20px 0;
}

.admision {
    max-width: 1400px;
    margin: auto;
}

.admision-uni {
    margin: 40px 20px; /* Cambia a 20px para pantallas más pequeñas */
}

hr{
    height: 4px;
    background: #0fa759;
}

.bienvenida{
    display: flex;
    justify-content: center;
}

.bienvenida-img{
    width: 50%;
    margin-right: 20px;
}

.bienvenida-img img{
    width: 100%;
}

.bienvenida-texto{
    width: 50%;
    padding: 0 40px;
}

.bienvenida-texto ul{
    margin: 10px 0;
}

.bienvenida-texto li{
    list-style: none !important;
}

.bienvenida-texto h2{
    text-align: center;
    font-size: 25px;
    color: #0fa759;
    margin-top: 16px;
}

.bienvenida-texto-img{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 20px;
}

.bienvenida-texto-img a{
    margin: 10px;
    text-align: center;
    color: #0fa759;
}

.bienvenida-texto-img i{
    font-size: 70px;
    transition: .3s;
}

.bienvenida-texto-img i:hover{
    transform: scale(1.1);
}

.bienvenida-texto-img h4{
    font-size: 25px;
    font-weight: 700;
}


/* Estilos responsivos */

/* Tablets (pantallas de 768px o menos) */
@media (max-width: 768px) {
    .bienvenida {
        flex-direction: column; /* Cambia a una columna */
        align-items: center;
    }

    .bienvenida-img {
        width: 80%; /* Reduce el ancho */
        margin-right: 0;
        margin-bottom: 20px; /* Espaciado entre imagen y texto */
    }

    .bienvenida-texto {
        width: 90%;
        padding: 0;
    }

    .bienvenida-texto h2 {
        font-size: 22px; /* Reduce el tamaño del texto */
    }

    .bienvenida-texto-img i {
        font-size: 50px; /* Reduce el tamaño de los íconos */
    }

    .bienvenida-texto-img h4 {
        font-size: 20px; /* Reduce el tamaño del texto */
    }
}

/* Móviles (pantallas de 480px o menos) */
@media (max-width: 480px) {
    .bienvenida-img {
        width: 100%;
    }

    .bienvenida-texto {
        width: 100%;
    }

    .bienvenida-texto h2 {
        font-size: 20px;
    }

    .bienvenida-texto-img {
        justify-content: center; /* Centra los íconos */
    }

    .bienvenida-texto-img i {
        font-size: 40px;
    }

    .bienvenida-texto-img h4 {
        font-size: 18px;
    }
}



.admision-uni h1 {
    text-align: center;
    font-size: 2.5em; /* Cambia a em para escalabilidad */
    padding: 10px;
    color: #379364;
}

.admision-uni h3 {
    font-size: 1.5em; /* Cambia a em para escalabilidad */
    font-weight: 800;
    margin-top: 30px;
    color: #0fa759;
    text-align: center;
}


.admision-uni li {
    margin: 10px 0;
    font-size: 1em; /* Cambia a em para escalabilidad */
    list-style-type: lower-alpha;
    text-align: justify;
}

.lista-disposiciones{
    display: flex;
}

#texto-disposiciones li{
    list-style: none !important;
    display: flex;
    align-items: center;
}

.fa-check{
    padding: 6px;
    background: #0fa759;
    color: white;
    border-radius: 100%;
    margin: 6px;

}

.lista-img{
    width: 40%;
    text-align: center;
}

.lista-img img{
    width: 80%;
}

.lista-ul{
    width: 50%;
}



button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #379364;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

button:hover {
    background-color: #2b7053;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    .lista-disposiciones {
        flex-direction: column; /* Cambia a columnas */
        align-items: center;
    }

    .lista-img,
    .lista-ul {
        width: 100%; /* Ambos ocupan el 100% del ancho */
    }

    .lista-img img {
        max-width: 90%;
    }

    .admision-uni h1 {
        font-size: 2em; /* Reduce el tamaño del texto */
    }

    .admision-uni ul {
        padding: 1px 10px; /* Reduce el padding para pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .admision-uni h1 {
        font-size: 1.5em; /* Más pequeño para pantallas muy pequeñas */
    }

    .admision-uni li {
        font-size: 0.9em; /* Reduce el tamaño del texto en listas */
    }

    button{
        margin: 30px 0;
    }
}

    /**CRITERIOS DE SELECCION**/

.criterios-contenedor{
    justify-content: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.criterios-uni{
    width: 300px;
    text-align: center;
    margin: 20px;
}

.criterios-uni img{
    width: 180px;
}


    /**ETAPAS DEL PROCESO**/

    .etapas-contenedor {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: flex-start; /* Para evitar que los contenedores adyacentes se expandan */
    }
    
    .etapas-uni {
        width: 430px;
        margin: 10px;
        border: 2px solid;
        border-radius: 20px;
        background: white;
        padding: 30px;
        text-align: center;
        transition: height 0.3s ease;
    }

    .etapas-uni-igual{
        height: 480px;
    }
    
    .etapas-uni p {
        margin: 15px 0;
    }
    
    .etapas-uni img {
        width: 200px;
        margin-bottom: 20px;
    }
    
    .etapas-uni li {
        list-style: none;
        display: flex;
        align-items: center;
    }

    .etapas-uni a{
        background: #0fa759;
        color: white;
        padding: 8px;
        border-radius: 20px;
    }
    
    .etapas-uni small {
        background: #0fa759;
        padding: 8px;
        color: white;
        border-radius: 10px;
        font-size: 18px;
    }
    
    .expandable {
        flex-grow: 1; /* Solo este contenedor se ajustará dinámicamente */
    }
    
    .expandable .content {
        max-height: 79px;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    .expandable .content.expanded {
        max-height: 1000px; /* Ajustar al tamaño esperado del contenido */
    }
    
    .flujograma {
        display: flex;
        justify-content: center;
        margin-top: 60px;
    }
    
    .flujograma a {
        text-align: center;
        color: white;
        padding: 20px;
        background: #e0af60;
        transition: 0.2s;
    }
    
    .flujograma a:hover {
        transform: scale(1.06);
    }
    
    .flujograma i {
        font-size: 100px;
    }
    
    .flujograma h4 {
        font-size: 25px;
    }

    /**Requisitos**/

.requisitos-tabla-contenedor{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tabla-requisitos{
    text-align: left !important;
    margin: 0 20px;
    width: 600px !important;
}

.tabla-requisitos i{
    padding: 7px;
    margin: 9px;
    border-radius: 100%;
    background: #0fa759;
    color: white;
}

.requisitos-img{
    text-align: center;
    margin-top: 30px;
}

.requisitos-img img{
    width: 450px !important;
    border: 6px solid #0fa759;
}

.tabla-requisitos td{
    text-align: left !important;
    display: flex;
    align-items: center;
}

.tabla-grados-contenedor{
    display: flex;
    justify-content: center;
    align-items: center;
}


.tabla-grados{
    width: 40%;
}

.tabla-grados th{
    width: 200px;
}

.requisitos{
    display: flex;
    justify-content: center;
}


.requisitos-tabla{
    justify-content: center;
    flex-direction: row !important;
    align-items: inherit !important;
}

@media (max-width: 1200px){
    .requisitos-tabla{
        flex-direction: column !important;
    }
}

@media (max-width: 700px){

    .tabla-requisitos{
        width: 100% !important;
        margin: 20px 0;
    }
}

    /**Edad Cronologica**/

.edad-admision-contenedor{
    display: flex;
    justify-content: center;
    align-items: center;
}

.edad-admision-img img{
    width: 500px;
}

.edad-contenedor-uni li{
    padding: 15px 30px;
    background: #0fa759;
    color: white;
    border-radius: 20px;
    font-size: 19px;
    list-style: none;
    margin: 20px 0;
}



.edades {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.edades-uni {
    flex: 1 1 300px; /* Flexbox permite que se ajusten automáticamente */
    height: auto; /* Cambia a auto para adaptarse */
    overflow: hidden;
    position: relative;
    margin: 20px;
}

.edades-uni img {
    width: 100%;
    height: 250px;
    filter: brightness(70%);
    transition: .2s;
    border-radius: 20px;
}

.edades-uni img:hover{
    filter: brightness(40%);
}

.edades-uni h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 30px;
}

.edades-uni p{
    font-size: 20px;
    color: white;
}

@media (max-width: 768px) {
    .edad-admision-contenedor {
        flex-direction: column; /* Apilar elementos verticalmente */
        align-items: center;
    }

    .edad-admision-img img {
        max-width: 90%; /* Reducir el ancho para pantallas medianas */
    }

    .edad-contenedor-uni li {
        font-size: 17px; /* Reducir el tamaño de fuente en pantallas medianas */
    }
}

@media (max-width: 480px) {
    .edad-contenedor-uni li {
        padding: 10px 20px; /* Reducir el padding para pantallas pequeñas */
        font-size: 15px; /* Reducir aún más el tamaño de fuente */
    }

    .edad-admision-img img {
        max-width: 100%; /* Utilizar todo el ancho disponible */
    }
}



.vacantes-img {
    display: flex; /* Cambia a flexbox para centrar */
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente, si la altura es mayor */
    width: 100%; /* Asegúrate de que ocupe todo el ancho del contenedor */
}

.vacantes-img img {
    max-width: 100%; /* Mantiene la imagen dentro de su contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
}

.tabla {
    display: flex;
    flex-direction: column;
    padding: 30px 0;
    align-items: center;
}

.tabla table {
    width: 70%;
    border: 2px solid black; /* Borde exterior de la tabla */
    border-collapse: collapse; /* Celdas comparten bordes */
    text-align: center;
    background: white;
}

.tabla th, .tabla td {
    padding: 8px;
    font-weight: 700;
    border: 1px solid black; /* Bordes internos de las celdas */
}

.tabla th {
    background: #0fa759;
    color: white;
    font-size: 1.2em;
    padding: 20px;
}

.tabla td{
    background: white;
}

.tabla caption {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.document-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin: 20px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.table-header {
    background-color: #0fa759;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    padding: 12px;
    text-align: left;
}

.document-table td {
    border: 1px solid #dddddd;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}


.document-table tr:hover {
    background-color: #e0f7df;
}

.table-caption {
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.document-table td ul {
    list-style-type: disc;
    margin: 10px 0 0 20px;
    padding-left: 10px;
}


.subdireccion{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.subdireccion-texto{
    width: 50%;
}

.subdireccion-img{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.subdireccion-img img{
    width: 300px;
    margin: 10px;
}




.table-header {
    background-color: #0fa759;
    color: white;
    padding: 10px;
}

.document-table {
    width: 100%;
    border-collapse: collapse;
}

.document-table td,
.document-table th {
    padding: 8px;
    border: 1px solid #ddd;
}



.document-table tbody tr:hover {
    background-color: #e2e2e2;
}

@media (max-width: 768px) {
    .fase2 h1,
    .fases-titulo h2 {
        font-size: 1.3em;
    }
    
    .document-table td,
    .document-table th {
        font-size: 0.9em;
    }
}

.costos-titulo{
    width: 50%;
    margin: 0 50px;
    text-align: center;
}

.costos-titulo h1{
    padding: 20px;
}

.costos-titulo img{
    width: 500px;
}

.admision-costos{
    display: flex;
    justify-content: center;
    align-items: center;
}


.table-wrapper {
    overflow-x: auto; /* Permite el desplazamiento horizontal */
    -webkit-overflow-scrolling: touch; /* Mejora el desplazamiento en dispositivos táctiles */
}

.table-container{
    display: flex;
    justify-content: center;
}

.color{
    background: #c7ffe2;
}

.pension{
    width: 90% !important;
    overflow-x: auto
}

.pension th{
    font-size: 19px;
}

.tabla p{
    font-weight: 600;
    margin: 20px 30px;
    background: #e0af60;
    color: white;
    padding: 10px;
    border-radius: 10px;
}

.tabla img{
    width: 100%;
    border: 2px solid;
}

@media (max-width: 1214px){
    .admision-costos{
        flex-direction: column;
    }

    .costos-titulo{
        width: 100%;
        margin: 0;
    }

    .costos-titulo img{
        width: 70%;
    }
}

@media (max-width: 768px) {
    .tabla table {
        width: 100%;
    }

    .tabla th, .tabla td {
        padding: 5px;
        font-size: 0.9em;
    }

    .tabla p {
        font-size: 0.9em;
        margin: 15px 20px;
    }

    .pension {
        width: 100%;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .tabla th, .tabla td {
        padding: 4px;
        font-size: 0.8em;
    }

    .tabla p {
        font-size: 0.8em;
        margin: 10px 15px;
    }

    .pension {
        width: 100%;
        overflow-x: auto;
    }
}


.link {
    margin-top: 30px;
    text-align: center;
}

.link a {
    text-decoration: none;
    color: white;
    background: #0fa759;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 5px;
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    h1 {
        font-size: 1.3rem;
    }

    .link a {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}



/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    .admision-uni {
        margin: 20px 10px; /* Reduce los márgenes para pantallas pequeñas */
    }

    .admision-uni h1 {
        font-size: 2em; /* Reduce el tamaño del texto */
    }

    .admision-uni h3,
    .admision-uni li {
        font-size: 14px; /* Reduce el tamaño del texto */
    }

    .edades-uni {
        flex: 1 1 100%; /* Hace que cada unidad ocupe el 100% del ancho en pantallas pequeñas */
        height: auto; /* Asegura que el alto sea automático */
    }

    .tabla {
        flex-direction: column; /* Asegura que la tabla se apile en pantallas pequeñas */
    }

    .tabla th, .tabla td {
        font-size: 0.9em; /* Reduce el tamaño del texto en la tabla */
    }
}

.pago-contenedor{
    color: black;
}