.navbar-OE {
    background-color: inherit;
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;    }

.dropdown-OE {
    position: relative;
    display: inline-block;    }

.dropdown-btn-OE {
    background-color: #999FAA;
    border-radius: 5px;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;    }

.dropdown-content-OE {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    z-index: 1000;    }

.dropdown-content-OE a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black;    }

.dropdown-content-OE a:hover {
    background-color: #999FAA;
    color: #fff;    }

.navbar-OE .dropdown-content-OE a:hover {    color: #fff !important;    }

.show-OE {    display: block;    }

/* Contenido de tabs */
.container-OE {
    margin: 20px;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);    }

.tab-content-OE {    display: none;    }

.tab-content-OE.active-OE {    display: block;    }


.contenedor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 10px;
    padding: 10px;
    justify-items: center;    }

.contenedor a {
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 5px;
    box-sizing: border-box;
    text-decoration: none;    }

.contenedor a:hover {
    background-color: #999FAA;
    transform: translateY(-8px);    }

.contenedor img {
    /*max-width: 250px;*/
    width: 100%;
    height: auto;
    object-fit: contain;    }

    /*@media (max-width: 600px) {
        .contenedor img {    max-width: 80px;    }
    }*/

.facultad-oe{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    align-items: center;    }


.tabla table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-family: Arial, sans-serif;
    font-size: 1em;
    overflow: hidden;
    border-radius: 8px;
    table-layout: fixed;     }

.tabla th {
    background-color: #6c7480;
    color: white;
    padding: 0.75em;
    text-align: center;
    font-weight: bold;    }

.tabla td {
    padding: 0.75em;
    word-break: break-word!important;
    border-bottom: 1px solid #ccc;
    text-align: left;    }

/* Colores de filas xd */
.tabla tr:nth-child(even) td {    
    background-color: #ffffff;    }

.tabla tr:nth-child(odd) td {
    background-color: #d1d5db; 
    color: #333;    }

/* Botones */
.tabla a.button {
    display: inline-block;
    padding: 0.3em 1.5em;
    background-color: #6c7480;
    color: white;
    text-decoration: none;
    border-radius: .55rem; 
    font-weight: normal;
    transition: background-color 0.3s ease;
    margin: 0.2em; 
    max-width: 160px;    }

.tabla a.button:hover {    
    background-color: #50575f; 
    color: #fff!important;    }

/* Alinear last columna  */
.tabla td:last-child {        text-align: center;    }


.tabla th:first-child,
.tabla td:first-child {    width: 40%;     }

.tabla th:last-child,
.tabla td:last-child {
    width: 60%;
    text-align: center;    }

/* Celular */
@media (max-width: 768px) {
    .tabla table, 
    .tabla thead, 
    .tabla tbody, 
    .tabla th, 
    .tabla td, 
    .tabla tr {
        display: block;
        word-break: break-word;    }

    .tabla thead tr {                display: none;    }

    .tabla tr {
        margin-bottom: 1em;
        border: 1px solid #6c7480;
        border-radius: 8px;
        overflow: hidden;    }

    .tabla td::before {
        content: attr(data-label);
        position: absolute;
        left: 1em;
        width: 45%;
        padding-right: 1em;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #333;    }

    .tabla a.button {        
        width: auto;
        display: block;     }
}

/*ESCUDO FACULTAD*/
.oe-escudo img{
    width: 100%; 
    max-width: 90%; 
    margin: 0 auto;
}
