/*CSS GENERAL*/
* {
    transition: width 2s;
    -webkit-transition: margin 0.5s ease-out;
    -moz-transition: margin 0.5s ease-out;
    -o-transition: margin 0.5s ease-out;
}

/* Cinta esquinada */
.corner-ribbon {
    position: fixed;
    top: 2rem;
    left: -60px;
    /* Desplazamiento para el ángulo */
    background-color: rgba(255, 41, 0, 0.65);
    /* Color de la cinta */
    padding: 10px 60px;
    transform: rotate(-45deg);
    /* Gira el elemento en sentido contrario */
    font-size: 12px;
    font-weight: bold;
    z-index: 9000 !important;
    /* Asegura que esté encima de otros elementos */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Añade una sombra */
}

.fontsize-1 {
    font-size: 10px;
}

.fontsize-2 {
    font-size: 12px;
}

.fs-infraestructura {
    font-size: 1.2rem !important;
}

.ms-3 {
    margin-left: 1rem !important;
}

footer {
    border-top: .4rem solid var(--primary);
}

.txt-blue {
    color: var(--primary);
}

.bg-trapezoid {
    background: rgb(17, 147, 211);
    background: -moz-linear-gradient(90deg, rgba(17, 147, 211, 1) 0%, rgba(112, 203, 236, 1) 60%, rgba(166, 235, 250, 0.8029586834733894) 80%, rgba(255, 255, 255, 0.49763655462184875) 100%);
    background: -webkit-linear-gradient(90deg, rgba(17, 147, 211, 1) 0%, rgba(112, 203, 236, 1) 60%, rgba(166, 235, 250, 0.8029586834733894) 80%, rgba(255, 255, 255, 0.49763655462184875) 100%);
    background: linear-gradient(90deg, rgba(17, 147, 211, 1) 0%, rgba(112, 203, 236, 1) 60%, rgba(166, 235, 250, 0.8029586834733894) 80%, rgba(255, 255, 255, 0.49763655462184875) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1193d3", endColorstr="#ffffff", GradientType=1);
    clip-path: polygon(0 20%, 100% 20%, 100% 80%, 0 80%);
    /* Ajustamos el trapecio para abarcar la mitad del div */
    width: 60%;
    /* El trapecio ocupará el 60% del ancho desde la izquierda */
    height: 100%;
    /* Abarca toda la altura del contenedor padre */
    z-index: 1;
}

.bg-trapezoid-1 {
    clip-path: polygon(0 15%, 100% 15%, 100% 85%, 0 85%);
    width: 50%;
    height: 100%;
    background: rgb(255, 255, 255);
}

header {
    background-color: black;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /*background-color: #0a401d85;*/
    opacity: 0.8;
    z-index: 1;
}

.banner-container>.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0.49763655462184875) 0%, rgba(166, 235, 250, 0.700717787114846) 8%, rgba(112, 203, 236, 0.7483368347338936) 16%, rgba(17, 147, 211, 0.8015581232492998) 100%);
    background: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0.49763655462184875) 0%, rgba(166, 235, 250, 0.700717787114846) 8%, rgba(112, 203, 236, 0.7483368347338936) 16%, rgba(17, 147, 211, 0.8015581232492998) 100%);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.49763655462184875) 0%, rgba(166, 235, 250, 0.700717787114846) 8%, rgba(112, 203, 236, 0.7483368347338936) 16%, rgba(17, 147, 211, 0.8015581232492998) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#1193d3", GradientType=1);
}

.video-container {
    position: absolute;
    background-color: black;
    height: 100% !important;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
}

header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

header .container {
    position: relative;
    z-index: 2;
    height: 100vh !important;
}

/*IMAGE EFFECT*/

.front,
.back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.front {
    z-index: 2;
    transform: rotateY(0deg);
    transition: all 0.3s linear;
}

.back {
    transition: all 0.3s linear;
    transform: rotateY(180deg);
}


.tringulo {
    width: 0;
    height: 0;
    border-width: 200px 200px 0 0;
    border-color: #000000 transparent transparent transparent;
    border-style: solid;
}

.tringuloBack {
    width: 0;
    height: 0;
    border-width: 300px 300px 0 0;
    border-color: #00c5f2 transparent transparent transparent;
    border-style: solid;
}

/* Estilo del contenedor del carrusel */
.carousel-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenido del carrusel */
.carousel-content {
    display: flex;
    animation: scroll 80s linear infinite;
}

/* Cada elemento del carrusel */
.carousel-item-p {
    width: 350px;
    height: 350px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item-p img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}



.section-p {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    place-items: center;
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    opacity: 1;
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgb(0, 0, 0) 12.5%,
            rgb(0, 0, 0) 87.5%,
            rgba(0, 0, 0, 0) 100%);
    overflow: hidden;
}

/*Carrousel Servicios */

/* Estilo del contenedor del carrusel */
.carousel-container-servicio {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenido del carrusel */
.carousel-content-servicio {
    display: flex;
    animation: scroll 80s linear infinite;
}

/* Cada elemento del carrusel */
.carousel-item-servicio {
    min-width: 100px;
    height: 350px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item-servicio img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}


.section-p-servicio {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    place-items: center;
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    opacity: 1;
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgb(0, 0, 0) 12.5%,
            rgb(0, 0, 0) 87.5%,
            rgba(0, 0, 0, 0) 100%);
    overflow: hidden;
}

/* FIN Carrousel Servicios */



/*SLIDER PROYECTOS*/

figure.snip1107 {
    color: #fff;
    position: relative;
    overflow: hidden;
    margin: 10px;
    min-width: 220px;
    width: 100%;
    text-align: center;
    height: 100%;
}

figure.snip1107 * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

figure.snip1107 img {
    opacity: 1;
    width: 100%;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
}

figure.snip1107 figcaption {
    position: absolute;
    bottom: 0;
    left: 18%;
    right: 15%;
    height: 100%;
}


figure.snip1107 figcaption>div {
    overflow: hidden;
    width: 100%;
    position: relative;
    height: 50%;
}

figure.snip1107 h3,
figure.snip1107 span {
    margin: 0;
    padding: 10px 15px;
    display: inline-block;
    width: 100%;
    font-weight: 800;
    text-transform: uppercase;
}

figure.snip1107 span {
    background: #ffffff;
    color: #4d4d4d;
    position: relative;
    bottom: 0;
    left: 0;
    position: absolute;
    -webkit-transform: translate3d(0%, 100%, 0);
    transform: translate3d(0%, 100%, 0);
}

figure.snip1107 h3 {
    background: #333333;
    -webkit-transform: translate3d(0%, 0%, 0);
    transform: translate3d(0%, 0%, 0);
}

figure.snip1107 a {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    color: #ffffff;
}

figure.snip1107.blue h3 {
    background: #00a0e3;
}

figure.snip1107:hover img,
figure.snip1107.hover img {
    opacity: 0.35;
    -webkit-filter: blur(5px);
    filter: blur(5px);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

figure.snip1107:hover figcaption span,
figure.snip1107.hover figcaption span {
    -webkit-transform: translate3d(0%, 0%, 0);
    transform: translate3d(0%, 0%, 0);
}

figure.snip1107:hover figcaption h3,
figure.snip1107.hover figcaption h3 {
    -webkit-transform: translate3d(0%, -100%, 0);
    transform: translate3d(0%, -100%, 0);
}

/*Banner General*/
.banner-container {
    text-align: center;
    color: var(--primary);
    width: 100%;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;

    /*  this is where the magic happens:  */
    background-attachment: fixed;
}

.contenedorIMG:hover .img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.contenedorIMG {
    overflow: hidden;
}

.img,
.img:hover {
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    box-shadow: 2px 3px 19px 0px rgba(0, 0, 0, 0.51);
    -webkit-box-shadow: 2px 3px 19px 0px rgba(0, 0, 0, 0.51);
    -moz-box-shadow: 2px 3px 19px 0px rgba(0, 0, 0, 0.51);
}

/************************ 
  Generic layout (demo looks)
  **************************/

*,
*::before,
*::after {
    box-sizing: border-box;
}


.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* FIN Cards Nosotros */

/*TIMELINE */
.timeline-container {
    margin-top: .1rem;
    background-color: #f5f5f5;
}

.timeline-tab.active {
    z-index: 9;
}

.bg-tabs {
    background-color: #fafafa;
}


.timeline {
    border-left: 5px solid #0097E0;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    background: white;
    margin: 0 auto;
    letter-spacing: 0.2px;
    position: relative;
    line-height: 1.4em;
    font-size: 1.03em;
    padding: 50px;
    list-style: none;
    text-align: left;
    max-width: 30%;
}

@media (max-width: 767px) {
    .timeline {
        max-width: 98%;
        padding: 25px;
    }

    .bg-trapezoid-1 {
        width: 100% !important;
    }

    .fs-centros {
        font-size: 1rem !important;
    }

    .fs-infraestructura {
        font-size: 0.8rem !important;
    }

    .fs-industria {
        font-size: 1.4rem !important;
    }

    .fs-hospitales {
        font-size: 1.2rem !important;
    }

    .fs-educacion {
        font-size: 1.2rem !important;
    }
}

.timeline h1 {
    font-weight: 300;
    font-size: 1.4em;
}

.timeline h2,
.timeline h3 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.timeline .event {
    border-bottom: 1px solid #e8ebf1;
    padding-bottom: 25px;
    margin-bottom: 25px;
    position: relative;
}

@media (max-width: 767px) {
    .timeline .event {
        padding-top: 30px;
    }
}

.timeline .event:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.timeline .event:before,
.timeline .event:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline .event:before {
    left: -207px;
    content: attr(data-date);
    text-align: right;
    font-weight: 100;
    font-size: 2rem;
    min-width: 120px;
    color: #0097E0;
}

@media (max-width: 767px) {
    .timeline .event:before {
        left: 0px;
        text-align: left;
    }
}

.timeline .event:after {
    -webkit-box-shadow: 0 0 0 5px #0097E0;
    box-shadow: 0 0 0 5px #0097E0;
    left: -55.8px;
    background: #fff;
    border-radius: 50%;
    height: 9px;
    width: 9px;
    content: "";
    top: 40%;
}


.rtl .timeline {
    border-left: 0;
    text-align: right;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    border-right: 3px solid #727cf5;
}

.rtl .timeline .event::before {
    left: 0;
    right: -170px;
}

.rtl .timeline .event::after {
    left: 0;
    right: -55.8px;
}

/* Hover dinamico */
.image {
    display: block;
    width: 100%;
    height: auto;
    opacity: 1;
}

.container-product {
    position: relative;
}

.overlay-bottom-slide {
    position: absolute;
    opacity: 0;
    bottom: 0;
    right: 0;
    top: 100%;
    height: 0;
    width: 100%;
    overflow: hidden;
    transition: .5s ease;
    background-color: var(--primary);
}

.container-product:hover .image {
    opacity: 0.5;
}

.container-product:hover .overlay-bottom-slide {
    top: 0;
    height: 100%;
    opacity: 1;
}

.circule-icon-servicio {
    width: 150px !important;
    height: 150px !important;
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.iconServices {
    height: 4rem;
    width: 4rem;
}

/* Cultura Estaciones */
.tabs-container {
    overflow-x: auto;
    white-space: nowrap;
}

.nav-tabs .nav-link-h {
    display: inline-block;
}

.img-estacion {
    height: 350px;
    background-size: cover;
}

.bg-dark-banner {
    background-color: #010101;
}

.text-spinner {
    color: var(--primary) !important;
}

/* Animación para el scroll automático */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Grid de proyectos */
.grid-item {
    display: none;
    /* Ocultas las imágenes al inicio */
}

.grid-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}

.emailContacto:hover {
    cursor: pointer;
}

.navStyle {
    background-color: #f3f5f8;
}

.carouserHeight {
    height: 85vh;
}

.bannerSection1 {
    z-index: 1 !important;
}

.mapStyle {
    place-content: center center;
}


.mapDistribuidores {
    place-content: center center;
}

.alturaProductos {
    height: 200px;
}

.margenProductos {
    margin-top: -5rem;
}

.cardProductosCustom {
    z-index: 1 !important;
}

.culturaCustom {
    margin-bottom: 0rem;
    z-index: 1;
}

.culturaCustom2 {
    z-index: 1 !important;
}

.culturaCustom3 {
    margin-bottom: 0rem;
    border-radius: 2rem;
    z-index: 1;
}

.culturaCustom4 {
    height: 85vh;
}

.espaciadoNoticia {
    text-align: start;
    color: rgb(33, 37, 41);
    background-color: rgb(255, 255, 255);
    font-size: 16px;
    font-family: system-ui, -apple-system;
}

.contactoCustom1 {
    margin-top: -8rem;
}

.contactoCustom2 {
    height: 200px
}

.contactoCustom3 {
    border: 0;
}

/*END TIMELINE */

/*MEDIA QUERYES*/

@media (max-width: 400px) {

    figure.snip1107 h3,
    figure.snip1107 span {
        margin: 0;
        padding: 10px 15px;
        display: inline-block;
        width: 100%;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 12px !important;
        /* Tamaño de fuente ajustado */
    }
}

@media (min-width: 401px) and (max-width: 549px) {

    figure.snip1107 h3,
    figure.snip1107 span {
        margin: 0;
        padding: 10px 15px;
        display: inline-block;
        width: 100%;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 15px;
        /* Tamaño de fuente ajustado */
    }
}

@media (max-width: 500px) {
    .bg-trapezoid-1 {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important;
        width: 100% !important;
    }
}

@media (min-width: 550px) and (max-width: 768px) {
    .carousel-item-p {
        width: 150px;
        height: 250px;
        margin-right: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .a-t {
        width: auto !important;
    }

    .timeline .event:after {
        left: -31.8px;
    }

    .video-container {
        height: 95vh;
    }

    .tringulo {
        border-width: 130px 130px 0 0;
    }

    .tringuloBack {
        border-width: 150px 150px 0 0;
    }

    .carousel-item-p {
        min-width: 240px !important;
    }

    .imgReposabilida {
        margin-bottom: 0 !important;
    }

    .con-rel {
        position: relative !important;
        margin-bottom: -5rem;
    }

    .img-estacion {
        height: 200px;
    }
}

@media (max-width: 758px) {
    .bg-trapezoid {
        width: 100% !important;
        clip-path: polygon(0 20%, 100% 20%, 100% 80%, 0 80%) !important;
    }

    .notice-tittle {
        position: relative !important;
    }
}

/* Media query para pantallas menores o iguales a 887px */
@media (min-width: 768px) and (max-width: 991px) {
    .height-1 {
        height: 450px !important;
    }

    .bg-trapezoid-1 {
        clip-path: polygon(0 20%, 100% 20%, 100% 80%, 0 80%) !important;
        width: 100% !important;
    }

    .img-estacion {
        height: 450px;
    }
}

@media (max-width: 991px) {
    .notice-tittle {
        width: 100% !important;
    }

    .notice-tittle-header {
        font-size: 1rem !important;
        margin: 0 !important;
    }
}

@media (min-width: 992px) and (max-width: 1160px) {
    .img-estacion {
        height: 450px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .bg-trapezoid-1 {
        clip-path: polygon(0 15%, 100% 15%, 100% 85%, 0 85%) !important;
    }

}

@media (max-width: 1199px) {
    .selectDistribuidores {
        position: relative !important;
    }
}


/* ----------- iPhone X ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) {
    .banner-container {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: initial !important;
    }
}

/* Portrait */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
    .banner-container {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: initial !important;
    }
}

/* Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
    .banner-container {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: initial !important;
    }
}

/* lineups */
.preview-canvas {
    width: 100%;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 2px solid indigo;
    border-radius: 50%;
    border-top-color: #0001;
    display: inline-block;
    animation: loadingspinner .7s linear infinite;
}

@keyframes loadingspinner {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.iconoFileName {
    font-size: 1.3rem;
}