.primero-fila {
    margin-left: 144.8px;
}

.filas-siguientes {
    margin-top: -141.42px;
}

#rombo .contenido {
    border-radius: 10px;
    background-color: rgb(60, 221, 185);
    padding: 0;
    width: 150px;
    height: 150px;
    margin: auto;
    text-align: center;
    display: block;
    border: 5px solid white;
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
    transition: transform 0.1s cubic-bezier(0, 1.8, 1, 1.8);
}

#rombo {

    padding: 10px;
    float: left;
}

#rombo .contenido:hover {
    transform: rotate(45deg) scale(1.005) translateX(-0.5px);
    background-color: rgb(20, 181, 145);
    box-shadow: 10px 10px 50px rgb(0, 161, 125) inset, -10px -10px 50px rgb(0, 161, 125) inset;
}

#rombo .contenido .texto {
    border-radius: 4px;
    font-family: Verdana;
    color: white;
    position: relative;
    overflow: hidden;
    /* padding: 20px; */
    top: 0;
    /* -webkit-transform: translateY(-50%) rotate(-45deg); */
    -ms-transform: translateY(-50%) rotate(-45deg);
    /* transform: translateY(-50%) rotate(-45deg); */
    font-size: 1vw;
    text-transform: uppercase;
    width: 100%;
    height: 100%;

    & img {
        width: 100%;
        height: 100%;
        background-size: cover;
        object-fit: cover;

    }

}

/* Estilos tabs */
.tabs-ceibas .nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border: none;
    width: 100%;
}

.tabs-ceibas .nav-tabs .nav-item > .nav-link {
    width: 100%;
    border: 1px solid #DEE2E6;
    box-shadow: 1px 0 4px rgb(0 0 0 / 20%);
    background-color: #FFFFFF !important;
    color: #108F40 !important;
}

.tabs-ceibas .nav-tabs .nav-item > .nav-link.active {
    color: #108F40 !important;
    border-bottom: 3px solid #108F40;
    background-color: #ffffff !important;
}

.tabs-govco .nav-tabs > .nav-item.nav-link.nav-prensa {
    width: 100%;
    border: 1px solid #DEE2E6;
    box-shadow: 1px 0 4px rgb(0 0 0 / 20%);
}

.tabs-ceibas .tab-content {
    background-color: #ffffff;
    width: 100%;
    border-radius: 0 0 10px 10px;
}

.tabs-ceibas .tab-content .tab-pane > p {
    font-size: 1rem !important;
}

.border-p > p {
    font-size: 1rem !important;
}

.container-card {
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2rem;

    & .card {
        width: 50%;
    }
}

.green-separator-bar {
    width: 50px;
    height: auto;
    background-color: #4d733e;
}


.grid-cards {
    position: relative;
    width: 100%;
    height: 600px;
}

.container-hexagono {
    position: absolute;
    width: 200px;
    height: 173px;
}

.card-1 {
    top: 20%;
    left: 0;

}

.card-2 {
    top: 50%;
    left: 0;
}

.card-3 {
    top: 35%;
    left: 14%;
}

.card-4 {
    top: 5%;
    left: 14%;
}

.card-5 {
    top: 20%;
    left: 28%;
}

.card-6 {
    top: 50%;
    left: 28%;
}

.card-7 {
    top: 35%;
    left: 42%;
}

.card-8 {
    top: 5%;
    left: 42%;
}

.card-9 {
    top: 20%;
    left: 56%;
}

.card-10 {
    top: 50%;
    left: 56%;
}

.card-11 {
    top: 35%;
    left: 70%;
}

.card-12 {
    top: 5%;
    left: 70%;
}

.card-13 {
    top: 20%;
    left: 84%;
}

.card-1, .card-5, .card-9, .card-13 {
    & .hexagono {
        background-color: #75B9BE;
    }
}

.card-2, .card-6, .card-10 {
    & .hexagono {
        background-color: #B3D6C6;
    }
}

.card-3, .card-7, .card-11 {
    & .hexagono {
        background-color: #B4C8AC;
    }
}

.card-4, .card-8, .card-12 {
    & .hexagono {
        background-color: #A8CCC9;
    }
}


.hexagono {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(25% 0, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-number {
    position: absolute;
    top: -25px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}


.content-number > p {
    font-size: 10em;
    font-weight: bold;
    color: #ffffff4f !important;
    margin: 0;
}


.contenido {
    padding: 20px;
    text-align: center;
}

.contenido > p {
    color: #084783 !important;
    margin: 5px 0 5px 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: bold;
}

.contenido hr {
    border-top: 1px solid #ffffff !important;
    text-align: center;
    margin: 0;
}


.container-category {
    background-color: #4D8D9D;

    & h2 {
        color: #ffffff !important;
        font-weight: bold;
        font-size: 2rem;
        margin-bottom: 0;
    }

    & .row-category {
        text-align: center;
        padding: 1rem;
    }
}

.container-graphic {
    position: relative;
    width: 100%;
    min-height: 770px;
    height: 770px;
}

.parent-graphic {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    height: 100%;
}

.div1-graphic {
    grid-area: 1 / 1 / 2 / 5;
    height: 100px;
}

.div2-graphic {
    grid-area: 2 / 1 / 6 / 3;
}

.div3-graphic {
    grid-area: 1 / 3 / 6 / 7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.div4-graphic {
    grid-area: 1 / 6 / 2 / 9;
    height: 100px;
}

.div5-graphic {
    grid-area: 2 / 7 / 4 / 9;
    display: flex;
    align-items: center;
}

.div6-graphic {
    grid-area: 4 / 7 / 6 / 9;
}

.container-graphic__child {
    gap: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.parent-graphic__container-img {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
}

.card-graphic {
    background-color: #0b457f;

    & .card-body {
        padding: .75rem;

        & p {
            color: #fff !important;
            margin-bottom: 0;
        }
    }

}

.table-graphic {
    width: 90%;
    margin-bottom: 1rem;
    color: #007fff;

    & th {
        padding: .5rem;
        justify-items: center;
    }
}

.table-graphic th > p,
.table-graphic td > p {
    margin-bottom: 0;
}

.container-graphic_img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;

    & img {
        position: relative;
        height: auto;
        width: 100%;
        display: block;
        max-height: 100%;
        top: 0;
        left: 0;
        right: 0;
    }

}

.position-relative__graphic {
    position: relative;
    top: -70px;
}

.btn-ceibas-map {
    top: -75px;
    height: 125px;
}

/** Linea de tiempo**/

.timeline {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 5px;
    background-color: #707070;
    left: 50%;
    height: 100%;
    border-radius: 10px;
}

.circle-moment {
    position: relative;
    width: 45%;
    box-sizing: border-box;
}

.circle-moment:nth-child(even) {
    left: 55%;
}

.circle-moment::after {
    content: attr(data-number);
    position: absolute;
    top: calc(5% + 10px);
    right: calc(-14% - 14px);
    height: 50px;
    width: 50px;
    background-color: #084783;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: bold;
}

.circle-moment:nth-child(even)::after {
    left: calc(-14% - 8.5px);
}

.circle-moment .description-timeline {
    background-color: #eee;
    border-radius: 10px;
    padding: 10px;
    line-height: 22px;

    & h1, h2, h3, h4, h5, h6 {
        line-height: 1.5rem !important;
    }
}

.circle-moment .description-timeline::after {
    content: '';
    position: absolute;
    right: -20px;
    top: calc(5% + 10px);
    height: 0;
    width: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 22px solid #eee;
}

.circle-moment:nth-child(even) .description-timeline {
    background-color: #084783;

    & h1, h2, h3, h4, h5, h6 {
        color: #FFFFFF !important;
        line-height: 1.5rem !important;
    }

    & p {
        color: #FFFFFF !important;
    }

}

.circle-moment:nth-child(even) .description-timeline::after {
    left: -20px;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 22px solid #084783;
    border-left: none;
}

.table-timeline {
    & th, td {
        padding: .5rem;
        justify-items: center;

        & h1, h2, h3, h4, h5, h6, p {
            margin-bottom: 0;
        }
    }
}

.container-parent-circle-img {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.circle-img-container {
    background-color: #0b457f;
    border-radius: 50%;
    width: 250px;
    height: 250px;

    & img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }
}


.container-img__rectangle {
    width: 250px;
    height: 250px;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/** Linea de tiempo 2 **/
.timeline__2 {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.timeline__2::before {
    content: '';
    position: absolute;
    width: 5px;
    background-color: #226c38;
    left: 0;
    height: 100%;
    border-radius: 10px;
}

.circle-moment__2 {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.circle-moment__2::after {
    content: '';
    position: absolute;
    top: 10px;
    left: -13px;
    height: 30px;
    width: 30px;
    background-color: #226c38;
    border-radius: 50%;
}

.description-timeline__2 {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    line-height: 22px;
    margin-left: 40px;
    width: 30%;
}

.description-timeline__2::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 10px;
    height: 0;
    width: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 20px solid #fff;
}


.flex-img {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
}

.container-img__gestion-socioambiental {
    width: 250px;
    height: 200px;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.container-slider {
    min-width: 100%;
    width: 700px;
}

.btn-video-ceibas {
    background: linear-gradient(115deg, rgba(117, 185, 190, 1) 0%, rgba(168, 204, 201, 1) 50%, rgba(179, 214, 198, 1) 100%);
    color: #fff !important;

    & span {
        font-size: 3rem;
        color: #FFFFFF !important;
    }

    & h1, h2, h3, h4, h5, h6, p {
        margin-bottom: 0;
        color: #FFFFFF;
    }
}

.slick-slider-customer {
    width: 100%;
}

.slick-slider-customer .slider-wrapper .slick-slider .slick-slide {
    margin: 0 6px 0 6px;
    height: 250px;

    & img {
        height: 100%;
        object-fit: cover;
    }
}

.card-color-header {
    .card-header {
        background-color: #108F40;

        & h1, h2, h3, h4, h5, h6, p {
            color: #FFFFFF;
            font-weight: bold;
            margin-bottom: 0;
        }
    }
}