#timeline * {
    margin: 0;
    padding: 0;
}

#timeline a {
    color: #000000;
    text-decoration: none;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
}

#timeline a:hover,
#timeline a.selected {
    color: #000000;
}

#timeline h1, #timeline h2, #timeline h4, #timeline h5, #timeline h6 {
    text-align: center;
    color: #000000;
    /*text-shadow: #000 1px 1px 2px;*/
    margin-bottom: 5px;
}

#timeline h1 {
    font-size: 18px;
}

#timeline h2 {
    font-size: 16px;
}

.sociales {
    text-align: center;
    margin-bottom: 20px;
}

#timeline {
    width: 500px;
    height: 600px;
    overflow: hidden;
    margin: 40px auto;
    position: relative;

}

#dates {
    width: 100px;
    height: 600px;
    overflow: hidden;
    float: left;
}

#dates li {
    list-style: none;
    width: 100px;
    height: 100px;
    line-height: 100px;
    font-size: 24px;
    padding-left: 10px;
}

#dates a {
    line-height: 38px;
    padding-bottom: 10px;
}

#dates .selected {
    font-size: 38px;
}

#issues {
    width: 400px;
    height: 600px;
    overflow: hidden;
    float: left;
}

#issues li {
    width: 400px;
    height: 600px;
    list-style: none;
}

#issues li.selected img {
    -webkit-transform: scale(1.1, 1.1);
    -moz-transform: scale(1.1, 1.1);
    -o-transform: scale(1.1, 1.1);
    -ms-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

#issues li img {
    float: left;
    margin: 50px 30px 10px 145px;
    zoom: 1;
    -webkit-transition: all 2s ease-in-out;
    -moz-transition: all 2s ease-in-out;
    -o-transition: all 2s ease-in-out;
    -ms-transition: all 2s ease-in-out;
    transition: all 2s ease-in-out;
    -webkit-transform: scale(0.7, 0.7);
    -moz-transform: scale(0.7, 0.7);
    -o-transform: scale(0.7, 0.7);
    -ms-transform: scale(0.7, 0.7);
    transform: scale(0.7, 0.7);
}

#issues li h1 {
    color: #ffffff;
    font-size: 48px;
    text-align: center;
    text-shadow: #000 1px 1px 2px;
}

#issues li p {
    font-size: 14px;
    margin: 10px 20px;
    font-weight: normal;
    line-height: 22px;
    text-shadow: #000 1px 1px 2px;
}

#grad_top,
#grad_bottom {
    width: 500px;
    height: 80px;
    position: absolute;
}

#grad_top {
    top: 0;

}

#grad_bottom {
    bottom: 0;

}

#next,
#prev {
    position: absolute;
    left: 55%;
    font-size: 70px;
    width: 38px;
    height: 22px;
    background-position: 0 -44px;
    background-repeat: no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}

#next:hover,
#prev:hover {
    background-position: 0 0;
}

#next.disabled,
#prev.disabled {
    opacity: 0.2;
}

.text-a {
    color: #23356B;
}

.text-v {
    color: #59A971;
}

.text-str {
    font-weight: bold;
}

.text-az {
    font-weight: normal;
}

.content-wrap {
    background-color: #efefef;
    position: relative;
    padding: 80px 0;
}

.vertical-line-left,
.vertical-line-right {
    width: 2px;
    height: 40%;
    background-color: #ccc;
    position: absolute;
    bottom: 0;
}

.vertical-line-left {
    left: 0;
}

.vertical-line-right {
    right: 0;
}

.stat-box {
    position: relative;
    padding: 1rem;
    text-align: center;
}

.box-dashed {
    border: 3px dashed #59A971;
    padding: 1rem;
    width: fit-content;
    float: right;
    margin-left: auto;
    margin-right: 0;
    border-radius: 25px;
}

.rectangulo {
    width: 30%;
    background-color: #23356B;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    color: white;
    padding: 10px 0 10px 40px;
    margin-left: 0;
    letter-spacing: 1.5px;
}

.rectangulo-l {
    width: 30%!important;
    background-color: #23356B;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    color: white;
    padding: 10px 0 10px 20px;
    margin-left: 0;
}

.rectangulo-r {
    width: 30%!important;
    background-color: #23356B;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    color: white;
    padding: 10px 0 10px 20px;
    margin-left: auto;
}

.linea-horizontal {
    flex-grow: 1;
    height: 2px;
    background: #333;
    margin: 0 10px;
}

.font-z {
    font-size: 20px;
}

.container-botones {
    position: relative;
    height: 20%;
}

.container .row > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

button.btn1 {
    width: 40% !important;
    padding: 5px 0;
    font-size: 12px;
    text-align: center;
    border-radius: 8px;
}

.btn-primary:hover {
    color: #fff;
    background-color: #afb0b1;
    border-color: #afb0b1;
}

.col-12.text-center button.btn {
    margin: 0 auto;
    display: block;
}

.col-12.text-center button.btn1 {
    margin: 0 auto;
    display: block;
}

.gray-line {
    height: 1px;
    background-color: #afb0b1!important; /* Color gris */
    margin: 20px 0; /* Espacio arriba y abajo */
    width: 100%; /* Ancho completo */
}

hr {
    border-top: 3px solid #59A971 !important;
    opacity: 1 !important;
}

.modal-body h5 {
    color: #59A971;
}

.modal-body p, .modal-body ul {
    color: #80868a;
}

.presidente {
    color: #59A971;
    font-weight: bold;
    margin-top: 20px;
}

.banner-contenedor {
    position: relative;
    width: 100%;
    height: 300px;
    background-image: url("../images/corporativo/gobierno_corporativo_educa.png");
    background-size: cover;
    background-position: top;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-texto {
    color: white;
    font-size: 36px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    padding: 0 20px;
}

.stat-row {
    min-height: 300px;
}

.stat-img-fondo {
    height: 100%;
    min-height: 300px;
    background-image: url("../images/corporativo/comites.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.stat-img-fondo1 {
    height: 100%;
    min-height: 300px;
    background-image: url("../images/corporativo/reconocimiento.jpeg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

    .video-section {
        position: relative;
        width: 100vw;
        height: 100vh;
        min-height: 800px;
        overflow: hidden;
    }

    .preview-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* Asegura que cubra todo el espacio */
        z-index: 0;
        display: block; /* Visible por defecto */
    }

    .video-fondo {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
        display: none; /* Oculto inicialmente */
    }

    /* Tus estilos originales mejorados */
    .cuadro-izquierda {
        position: absolute;
        bottom: 40px;
        left: 40px;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 25px;
        z-index: 2;
        max-width: 400px;
        border-left: 4px solid #00c96b;
    }

    .cuadro-central {
        position: absolute;
        top: 85%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 3px solid #00c96b;
        padding: 15px 40px;
        color: #00c96b;
        font-size: 28px;
        font-weight: bold;
        background-color: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(6px);
        z-index: 2;
        cursor: pointer;
        transition: all 0.4s ease;
    }

    .cuadro-central:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%) scale(1.08);
    }

.img-comites {
    /*height: 50% !important;*/
    width: 100% !important;
}

.asambleas {
    background-color: #23356B !important;
    color: white;
    font-size: 14px;
    border-radius: 20px;
}

#img1 {
    width: 40% !important;
    height: auto;

}

.tabla-expertos {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.tabla-expertos th,
.tabla-expertos td {
    padding: 4px;
    text-align: left;
    border-bottom: 2px solid #23356B;
}

.tabla-expertos thead th {
    color: #23356B; /* azul */
    font-weight: bold;
}

.tabla-expertos td:first-child {
    color: #23356B;
    font-weight: bold;
}

.tabla-expertos tbody tr:first-child td {
    border-top: none;
}

.circle {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #00c96b;
    border-radius: 50%;
    pointer-events: none;
}

.floating-circle {
    width: 350px;
    height: 350px;
    background-color: #ccc; /* gris */
    border-radius: 50%;
    position: absolute;
    right: 100px;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: 2px solid #59A971;
}

.circle-text {
    color: #59A971; /* verde */
    font-weight: bold;
    font-size: 30px;
    text-align: center;
}

.contenido-oculto {
    display: none;
}

.contenido-activo {
    display: block;
}

.owl-carousel .item img {
    width: 200px;
}

.owl-carousel .item > div {
    color: #fff;
}

.owl-carousel .item {
    height: 325px;
}

.item {
    background-color: #1D3164;
    padding: 10px;
    border-radius: 5px;
}

.table.bc-blue th {
    color: #fff;
    background-color: #1D3164;
}

.list-item-justified {
    list-style: none;
    padding-left: 0;
}

.list-item-justified li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.list-item-justified li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.6em;
    height: 0.6em;
    background-color: #1D3164;
    border-radius: 50%;
    transform: translateY(-50%);
}

.cus-button {
    display: inline-block;
    background-color: #59A971;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s ease;
}

.cus-button:hover {
    background-color: #4c8b5e;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/*grafico*/
.logo-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 10px;
}

.fibra-title {
    color: #22345c;
    font-weight: bold;
    font-size: 1.2em;
    letter-spacing: 1px;
}

.fibra-score {
    color: #22345c;
    font-weight: bold;
    font-size: 1.2em;
}

.us-box {
    position: absolute;
    right: 5%;
    top: 40px;
    background: none;
    background-color: white;
    border: 2px dashed #23356B;
    border-radius: 16px;
    padding: 8px 24px;
    color: #fff;
    font-size: 1.1em;
    text-align: right;
    width: 30%;
    max-width: 300px;
}

.us-box1 {
    position: absolute;
    right: 35%;
    top: 50px;
    background: none;
    border-radius: 16px;
    padding: 8px 24px;
    color: #fff;
    font-size: 1.1em;
    text-align: right;
    width: 30%;
    max-width: 300px;
}

.recuadros-wrapper {
    margin-top: 240px;
}

.fibra-title {
    font-weight: bold;
    font-size: 1em;
}

.fibra-score-circle {
    display: inline-block;
    /*margin-top: 6px;*/
    background-color: transparent;
    border: 3px solid #D0323A;
    color: #23356B;
    font-weight: bold;
    width: 40px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    font-size: 1.2em;
}


.us-box span {
    color: #23356B;
}

.chart-area {
    margin-top: 30px;
    background: white;
    border-radius: 18px;
    padding: 30px 30px 60px 60px;
    position: relative;
}

.blue-line {
    position: absolute;
    left: 60px;
    right: 30px;
    top: 90px;
    height: 7px;
    background: #23356B;
    border-radius: 4px;
    z-index: 2;
}

.note-box {
    position: absolute;
    top: 28%;
    right: 50px;
    background: #f5f5f5;
    color: #888;
    border-radius: 18px;
    padding: 10px 14px;
    max-width: 300px;
    width: 30%;
    font-size: 1em;
    box-shadow: 0 2px 12px #0002;
    z-index: 3;

    /* Evita desbordamiento con scroll/zoom */
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

.legend {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    font-size: 1.1em;
    justify-content: center;
}

.legend-box {
    width: 16px;
    height: 10px;
}

.legend-box1 {
    width: 16px;
    height: 5px;
}

.legend .color {
    width: 40px;
    height: 8px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
}

.legend .green {
    background: #5fd6a6;
}

.legend .blue {
    background: #22345c;
}

#chartdiv {
    width: 100%;
    height: 420px;
    background: transparent;
    z-index: 1;
}

#chart-covid {
    width: 100%;
    height: 500px;
}

#chart-legend {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    font-family: Arial, sans-serif;
}

.legend-item {
    font-size: 14px;
}

.recuadros-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    z-index: 10;
    position: relative;
}

/* Responsive: en pantallas pequeñas ponerlos en columna */
@media (max-width: 768px) {
    .recuadros-wrapper {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .us-box {
        width: 40%;
        max-width: 90%;
        text-align: center;
        right: 5%;
        top: 65%;
    }

    .us-box1 {
        width: 40%;
        max-width: 90%;
        text-align: center;
        right: 45%;
        top: 65%;
    }

    .green {
        background-color: #59A971;
    }

    .blue {
        background-color: #1D3164;
    }

}

.circle1 {
    width: 15px;
    height: 15px;
    background-color: #59A971;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    margin-top: 5px;
}

