.zoomWindowContainer,
.zoomWindowContainer > div {
    background-color: #fff !important;
}

.megamenu-two {
    margin-top: -35px !important;
    left: 200px !important;
}
#detalleproducto li {
    list-style: disc;
    margin: 0px 20px 1.25rem;
}

.PictogramasCombinados h3 {
    color: #004899;
    font-size: 2rem;
    margin-top: 12px;
    text-align: center;
}

.tituloazul {
    padding-bottom: 1rem;

    text-align: left !important;
    text-transform: none !important;
    color: #004899;
}

@media (max-width: 1023px) {
    .breadcrumb {
        display: none;
    }
}

.internas .content h1 {
    color: #004899;
}

.content ul {
    list-style: inside;
}

.tituloazul_contactar {
    padding-bottom: 1rem;
    text-align: left !important;
    text-transform: none !important;
    color: #004899;
}

.page-header-doc {
    background: white;
    text-align: center;
    margin-top: 70px;
    margin-bottom: 20px;
    width: 100%;
}

.container-title-doc {
    text-align: center;
    margin: 0 auto;
    width: 80%;
}

.container-title-doc h1 {
    font-size: 3em;
    color: #004899;
    font-weight: 600;
    font-family: "Alexandria", sans-serif;
}

.container-title-doc h2 {
    font-size: 2.5em;
    color: #004899;
    font-weight: 600;
}

.container-title-doc p {
    font-size: 1.3em;
}

.video-wrapper {
    max-width: 90%;
    /* margin: 0 auto; */
    text-align: center;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.product-desc-content {
    text-align: justify;
    width: 100%;
}

.product-desc-content p {
    margin: 0 auto;
    width: 90%;
    margin-bottom: 4em;
    font-size: 1em;
    text-align: center;
}

p.video-comment {
    width: 100%;
    color: #004899;
    font-weight: bold;
    font-size: 20px;
    font-family: "Alexandria", sans-serif;
    font-style: normal;
    margin-top: 2em;
    margin-bottom: 2em;
    text-align: center;
}
strong {
    color: rgb(75, 75, 75);
}

.bg-gray {
    background-color: #f8f9fa;
}

.feature-box {
    text-align: center;
    margin-bottom: 2em;
    box-sizing: border-box;
}

.feature-box-content {
    line-height: 1.5;
    font-size: 1.15em;
    color: rgb(75, 75, 75);
    padding: 1.8em 1.2em;
    border-radius: 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 12em;
    overflow: hidden;
}

.feature-box-content h3 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 1em;
    color: #004899;
    font-weight: bold;
}

.feature-box-content p {
    margin-bottom: 0;
    flex-grow: 1;
    max-width: 30em;
}

.features-section {
    margin-bottom: 5em;
    padding-top: 3em;
    padding-bottom: 3em;
}

.page-end-doc {
    margin-bottom: 5em;
}

.section-position {
    text-align: center;
    justify-content: center;
    align-items: stretch;
}

@media (max-width: 991.98px) {
    .feature-box {
        margin-left: auto;
        margin-right: auto;
        max-width: 400px;
    }

    .feature-box-content {
        min-height: auto;
        padding: 1.5em;
        font-size: 1.05em;
    }

    .feature-box-content h3 {
        font-size: 1.6em;
    }

    .feature-box-content p {
        max-width: none;

        font-size: 1.3em;
    }
}

@media (max-width: 767.98px) {
    .feature-box {
        margin-bottom: 1.5em;
        max-width: 90%;
    }

    .feature-box-content {
        padding: 1em;
        font-size: 1.3em;
    }

    .feature-box-content h3 {
        font-size: 1.5em;
        margin-bottom: 0.8em;
    }
}

@media (max-width: 575.98px) {
    .feature-box {
        margin-bottom: 1em;
    }
}

/* csc - linia del tiempo */
:root {
    --main-line-color: #dee2e6;
    --dot-color: #a8d8c9;
    --text-color: #6c757d;
    --heading-color: #343a40;
    --year-font-size: 1.6em;
    --description-font-size: 1.3em;
    --connector-line-color: #3261b0;
    --image-size: 160px;
    --dot-size: 20px;
    --image-horizontal-adjust: -200px;
    --spacing-content-from-center-line: 30px;
    --image-to-text-gap: -50px;
    --year-connector-length: 200px;
    --year-connector-offset-from-text: 15px;
    --image-halo-width: 4px;

    --mobile-line-offset: 20px;
    --mobile-image-size: 70px;
    --mobile-dot-top-offset: 15px;
    --mobile-content-offset: 15px;
    --mobile-text-padding-left: 10px;
    --mobile-year-font-size: 1.2em;
    --mobile-description-font-size: 1.2em;
    --mobile-description-max-width: 90%;

    --tablet-line-offset: 30px;
    --tablet-image-size: 80px;
    --tablet-dot-top-offset: 15px;
    --tablet-content-offset: 20px;
    --tablet-text-padding-left: 20px;
    --tablet-year-font-size: 1.6em;
    --tablet-description-font-size: 1em;
    --tablet-description-max-width: 90%;
}

.timeline-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline {
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--main-line-color);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    display: flex;
    align-items: center;
    min-height: calc(var(--image-size) + 20px);
    position: relative;
    /* margin-bottom: 40px; */
}

.timeline-dot-wrapper {
    position: absolute;
    left: 50%;
    top: 35%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.timeline-dot {
    width: var(--dot-size);
    height: var(--dot-size);
    background-color: var(--dot-color);
    border-radius: 2px;
}

.timeline-content-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: calc(
        50% - var(--spacing-content-from-center-line) -
            var(--image-horizontal-adjust)
    );
    padding: 0 10px;
    box-sizing: border-box;
}

.timeline-image-wrapper {
    width: var(--image-size);
    height: var(--image-size);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 0 0 var(--image-halo-width) #fff;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 2;
}

.timeline-image-wrapper img {
    max-width: 80%;
    max-height: 80%;
    margin-top: -60px;
    display: block;
    object-fit: contain;
}

.timeline-text-wrapper {
    flex-grow: 1;
    position: relative;
    z-index: 2;
    padding: 0;
}

.timeline-year {
    font-weight: bold;
    font-size: var(--year-font-size);
    color: #3261b0;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.timeline-year-connector {
    position: absolute;
    top: 50%;
    height: 1px;
    background-color: transparent;
    border-top: 1px dashed var(--connector-line-color);
    transform: translateY(-50%);
    z-index: -1;
    width: var(--year-connector-length);
}

.timeline-description {
    font-size: var(--description-font-size);
    color: var(--text-color);
    margin-top: 0.5em;
    line-height: 1.4;
    width: 15em;
    white-space: pre-wrap;
}

.timeline-item.right-aligned {
    padding-left: 40em;
}

.timeline-item.left-aligned {
    padding-right: 40em;
}

.timeline-item.right-aligned .timeline-image-wrapper {
    margin-left: -6em;
}

.timeline-item.left-aligned .timeline-image-wrapper {
    margin-right: -6em;
}

.timeline-item.right-aligned .timeline-text-wrapper {
    padding: 5em;
}

.timeline-item.left-aligned .timeline-text-wrapper {
    padding: 5em;
}

@media (min-width: 1296px) {
    .timeline-item.right-aligned {
        justify-content: flex-end;
    }

    .timeline-item.right-aligned .timeline-content-wrapper {
        margin-left: calc(
            50% + var(--spacing-content-from-center-line) +
                var(--year-connector-length) +
                var(--year-connector-offset-from-text)
        );
        flex-direction: row;
        text-align: right;
    }

    .timeline-item.right-aligned .timeline-year-connector {
        right: 100%;
        margin-right: var(--year-connector-offset-from-text);
        width: 12em;
    }

    .timeline-item.left-aligned {
        justify-content: flex-start;
    }

    .timeline-item.left-aligned .timeline-content-wrapper {
        margin-right: calc(
            50% + var(--spacing-content-from-center-line) +
                var(--year-connector-length) +
                var(--year-connector-offset-from-text)
        );
        flex-direction: row-reverse;
        text-align: left;
    }

    .timeline-item.left-aligned .timeline-year-connector {
        left: 100%;
        margin-left: var(--year-connector-offset-from-text);
        width: 12em;
    }
}

@media (max-width: 1295px) {
    .timeline-item.right-aligned .timeline-image-wrapper {
        margin-left: -40em;
    }

    .timeline-item.left-aligned .timeline-image-wrapper {
        margin-right: 0;
    }

    .timeline-item.right-aligned .timeline-text-wrapper {
        padding: 1em;
    }

    .timeline-item.left-aligned .timeline-text-wrapper {
        padding: 2em;
    }

    .timeline-text-wrapper {
        flex-grow: 1;
        position: relative;
        z-index: 2;
        padding: 0;
        margin-top: 30px;
    }
    .timeline-container {
        max-width: 100%;
        padding: 20px 0;
    }

    .timeline {
        padding-left: var(--tablet-line-offset);
        padding-right: 20px;
    }

    .timeline::before {
        left: var(--tablet-line-offset);
        transform: translateX(-50%);
    }

    .timeline-item {
        flex-direction: row;
        align-items: flex-start;
        padding-left: 0;
        min-height: auto;
        /* margin-bottom: 25px; */
        justify-content: flex-start;
    }

    .timeline-dot-wrapper {
        left: var(--tablet-line-offset);
        top: 50%;
        transform: translate(-50%, 0);
        margin-left: -30px;
    }

    .timeline-dot {
        width: calc(var(--dot-size) - 10px);
        height: calc(var(--dot-size) - 10px);
    }

    .timeline-content-wrapper {
        width: auto;
        flex-grow: 1;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        margin-left: calc(
            var(--tablet-line-offset) + var(--tablet-content-offset)
        );
        margin-right: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .timeline-item.left-aligned .timeline-content-wrapper,
    .timeline-item.right-aligned .timeline-content-wrapper {
        flex-direction: row;
        text-align: left;
        margin-left: calc(
            var(--tablet-line-offset) + var(--tablet-content-offset)
        );
        margin-right: 0;
    }

    .timeline-image-wrapper {
        width: var(--tablet-image-size);
        height: var(--tablet-image-size);
        margin-right: 15px;
        margin-left: 0;
        position: relative;
        transform: none;
        top: auto;
        box-shadow: 0 0 0 calc(var(--image-halo-width) / 2) #fff;
    }

    .timeline-image-wrapper img {
        margin-top: 0;
        max-width: 80%;
        max-height: 80%;
    }

    .timeline-text-wrapper {
        text-align: left;
        padding-left: var(--tablet-text-padding-left);
        padding-top: 1em;
        flex-grow: 1;
    }

    .timeline-year {
        font-size: var(--tablet-year-font-size);
    }

    .timeline-description {
        font-size: var(--tablet-description-font-size);
        width: 50em;
        max-width: var(--tablet-description-max-width);
    }

    .timeline-year-connector {
        display: none;
    }
}

@media (max-width: 958px) {
    .timeline-container {
        max-width: 100%;
        padding: 10px 0;
    }

    .timeline {
        padding-left: var(--mobile-line-offset);
        padding-right: 10px;
    }

    .timeline::before {
        left: var(--mobile-line-offset);
        transform: translateX(-50%);
    }

    .timeline-item {
        flex-direction: row;
        align-items: flex-start;
        padding-left: 0;
        min-height: auto;
        /* margin-bottom: 20px; */
        justify-content: flex-start;
    }

    .timeline-dot-wrapper {
        left: var(--mobile-line-offset);
        top: 50%;
        transform: translate(-50%, 0);
        margin-left: -20px;
    }

    .timeline-content-wrapper {
        width: auto;
        flex-grow: 1;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        margin-left: calc(
            var(--mobile-line-offset) + var(--mobile-content-offset)
        );
        margin-right: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .timeline-item.left-aligned .timeline-content-wrapper,
    .timeline-item.right-aligned .timeline-content-wrapper {
        flex-direction: row;
        text-align: left;
        margin-left: calc(
            var(--mobile-line-offset) + var(--mobile-content-offset)
        );
        margin-right: 0;
    }

    .timeline-image-wrapper {
        width: var(--mobile-image-size);
        height: var(--mobile-image-size);
        margin-right: 10px;
        margin-left: 0;
        position: relative;
        transform: none;
        top: auto;
        box-shadow: 0 0 0 calc(var(--image-halo-width) / 2) #fff;
    }

    .timeline-image-wrapper img {
        margin-top: 0;
        max-width: 80%;
        max-height: 80%;
    }

    .timeline-text-wrapper {
        text-align: left;
        padding-left: var(--mobile-text-padding-left);
        flex-grow: 1;
    }

    .timeline-year {
        font-size: var(--mobile-year-font-size);
    }

    .timeline-description {
        font-size: var(--mobile-description-font-size);
        width: 30em;
        max-width: var(--mobile-description-max-width);
    }

    .timeline-year-connector {
        display: none;
    }
}

@media (max-width: 674px) {
    .timeline-description {
        font-size: var(--mobile-description-font-size);
        width: 20em;
        max-width: var(--mobile-description-max-width);
    }
}

@media (max-width: 515px) {
    .timeline-description {
        font-size: var(--mobile-description-font-size);
        width: 10em;
        max-width: var(--mobile-description-max-width);
    }
}

@media (max-width: 359px) {
    .timeline-description {
        font-size: var(--mobile-description-font-size);
        width: 7em;
        max-width: var(--mobile-description-max-width);
    }
}

/* resultados.blade */

.descripcion_gamas {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.descripcion_gamas .tab-pane {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
    display: flex !important;
    flex-direction: column;
}

.descripcion_gamas::-webkit-scrollbar {
    display: none;
}

.header-search-wrapper_2 {
    display: flex;
    align-items: center;
    border: 1px solid #004849;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    height: 40px;
    max-width: 100%;
    margin: 0 auto;
}

.form-control_2 {
    flex: 1;
    border: none;
    padding: 0 15px;
    font-size: 16px;
    height: 100%;
    outline: none;
    background-color: transparent;
}

.btn_2 {
    border: none;
    background: transparent;
    padding: 0 15px;
    font-size: 18px;
    color: #0055b8; /* azul como el icono que mostraste */
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_2:focus {
    outline: none;
}

.icon-magnifier::before {
    content: "\f002"; /* Código Font Awesome del icono lupa */
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
}

/* detallesblog */

.post-media {
    position: relative;
}

.post-media img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.post-date {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 8px;
    flex-direction: column;
    font-size: 16px;
}

/* atuaire */

.section-title-blog a {
    color: inherit;
    text-decoration: none;
}

.products-section {
    border-bottom: 0;
}

/* espaciopro */

.espacio_pro {
    border-radius: 12px;
    min-height: 320px;
}

@media (max-width: 2150px) {
    /* Estilos para pantallas de hasta 2150px de ancho */
    .espacio_pro {
        border-radius: 12px;
        min-height: 285px;
    }
}

@media (max-width: 1900px) {
    /* Estilos para pantallas de hasta 2150px de ancho */
    .espacio_pro {
        border-radius: 12px;
        min-height: 310px;
    }
}

@media (max-width: 1430px) {
    /* Estilos para pantallas de hasta 2150px de ancho */
    .espacio_pro {
        border-radius: 12px;
        min-height: 480px;
    }
}

@media (max-width: 1200px) {
    /* Estilos para pantallas de hasta 2150px de ancho */
    .espacio_pro {
        border-radius: 12px;
        min-height: 570px;
    }
}

.publicaciones-img img {
    border-radius: 12px;
}

.articulo-descripcion span {
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.traducciones-vermas a {
    display: flex;
    align-items: center;
}

.traducciones-vermas a i {
    font-size: x-large;
}

@media (min-width: 767px) {
    .pr-movil {
        padding-right: 3rem !important;
    }

    .pl-movil {
        padding-left: 3rem !important;
    }
}

.tituloazul_contactar {
    padding-bottom: 1rem;
    text-align: left !important;
    text-transform: none !important;
    color: #004899;
}
.uppercase {
    text-transform: uppercase;
}

.btn_soporte_tecnico {
    background-color: #d3d3d3;
    border-color: #d3d3d3;
    color: #004899;
    box-shadow: none;
    border-radius: 12px;
}

/* Animación de entrada desde la derecha */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.modal-right .modal-dialog {
    position: fixed;
    right: 0;
    top: 0;
    margin: 0;
    height: 100%;
    width: 50%;
    max-width: none;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    animation: slideInRight 0.3s forwards;
    z-index: 1050;
}

.modal-right .modal-content {
    height: 100%;
    border: none;
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
    overflow-y: auto;
}

/* Fondo oscurecido del modal */
.modal-backdrop {
    opacity: 0.5 !important;
}

.map-iframe iframe {
    border: 0px;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* Responsivo: en pantallas <= 1024px, modal ocupa todo el ancho */
@media (max-width: 1024px) {
    .modal.right .modal-dialog {
        width: 100%;
        border-radius: 0 !important;
    }

    .modal.right .modal-content {
        border-radius: 0 !important;
    }
}

.custom-input {
    border-radius: 15px;
    border-color: #0073c1;
    background-color: aliceblue;
}

.modal form .form-group {
    max-width: 100% !important;
}

/* listadodescargas  */

.titulo-paginadescargas {
    background: 50% / cover #d4e1ea url("../../assets/images/Fondo3.jpg");
    max-width: 100%;
}

#searchSerie {
    border-radius: 10px;
    border-color: #004899;
}

#searchButton {
    border-radius: 10px;
}

.gama_class {
    border: none;
    border-radius: 10px;
}

#gamas-container img {
    border-radius: 10px;
    opacity: 0.5;
}

#gamas-container img:hover {
    opacity: 1;
}

#gamas-container span {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.familia_class {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: none;
    border-radius: 10px;
}

.familia_class img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    opacity: 0.5;
}

.familia_class img:hover {
    opacity: 1;
}

.familia_class span {
    white-space: normal;
}

.subfamilia_class {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: none;
    border-radius: 10px;
}

.subfamilia_class img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    opacity: 0.5;
}

.subfamilia_class img:hover {
    opacity: 1;
}

.subfamilia_class span {
    white-space: normal;
}

.serie_class {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: none;
    border-radius: 10px;
}

.serie_class img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    opacity: 0.5;
}

.serie_class img:hover {
    opacity: 1;
}

.serie_class span {
    white-space: normal;
}

.documentosarchivo a {
    border-radius: 10px;
}

.divDocument {
    font-size: 50px;
}

.divArchivo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.divArchivo span {
    white-space: normal;
}

#downloadImagesBtn {
    border-radius: 10px;
}

.buttondownloadimg {
    font-size: 50px;
}

#downloadImagesBtn span {
    white-space: normal;
}

.downloaddocument a {
    border-radius: 10px;
}

/* estilo1 */

.banner-estilo1 {
    background: #e2e2e0;
}

.banner-estilo1 figure {
    animation-duration: 20s;
}

.kenBurnsToRight figure img {
    background-color: #ccc;
}

.animacion-estilo1 {
    animation-duration: 1000ms;
}

/* estilo2 */

.container-estilo2 {
    padding: 50px;
    background: linear-gradient(
        -90deg,
        #000000 -3.11%,
        #2290a7 104.97%,
        #ffffff 178.76%
    );
    display: flex;
    justify-content: center;
}

.text-estilo2 {
    color: white !important;
}

.carousel-container2 {
    width: 60%;
    position: relative;
    overflow: hidden;
    background: transparent;
    height: 610px;
}

.slider2 {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    color: white;
}

.slides2 {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: fit-content; /* Se ajusta al contenido en lugar de expandirse */
    max-width: 100%; /* Se adapta al tamaño de la pantalla */
}

.slide2 {
    min-width: 100%;
    box-sizing: border-box;
}

.slide2 img {
    border-radius: 10px;
    width: 100%;
    height: 40rem;
    object-fit: cover;
}

.arrow {
    margin-left: 10px;
    display: flex;
    align-items: center;
    color: #004899;
    font-size: 18px;
}

.arrow_black {
    color: #000 !important;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

@media screen and (max-width: 1200px) {
    .carousel-container2 {
        width: 80%;
        position: relative;
        overflow: hidden;
        background: transparent;
        height: 610px;
    }
}

/* documentacion */

.product-desc-content h2 {
    animation-duration: 1000ms;
}

.buttondownloadDocument {
    border-radius: 10px;
}

.buttondownloadDocument span {
    white-space: normal;
}

/* pictosgrandes */

.PictogramasCombinados {
    animation-duration: 1000ms;
}

/* pictospequenos */

.pictogramasCombinadosPequeño h2 {
    animation-duration: 1000ms;
}

/* tablas */

.info_tecnica h2 {
    animation-duration: 1000ms;
}

/* videos */

.tituloazul_contactar {
    padding-bottom: 1rem;
    text-align: left !important;
    text-transform: none !important;
    color: #004899;
}

.video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-comment {
    margin-top: 12px;
    font-style: italic;
    color: #555;
    font-size: 1rem;
}

/* adicional */

.d-none-movil {
    display: none;
}
@media (max-width: 1121px) {
    .d-none-movil {
        display: block;
    }
}

ul.tabs_producto li {
    flex: 0 0 auto;
    min-width: 150px;
    scroll-snap-align: start;
    font-size: 16px !important;
}

.divinformacionproducto {
    width: 90%;
}

/* detalle */

.submenu_new {
    position: relative; /* No está fijo al inicio */
    width: 100%;
    background: #666;
    color: white;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 999; /* Asegura que siempre está por encima de otros elementos */
}

/* Cuando el usuario baja lo suficiente, el submenú se fija */
.submenu_new.fixed {
    position: fixed;
    top: 60px; /* Justo debajo del menú principal */
    left: 0;
    width: 100%;
}

/* Estilo base para el UL */
ul.tabs_producto {
    display: flex;
    justify-content: space-between;
    padding: 0;
    list-style: none;
    gap: 0;
    flex-wrap: wrap;
}

/* Estilo de los LI */
ul.tabs_producto li {
    /* flex: 1; */
    min-width: 0;
    text-align: center;
}

@media (max-width: 1121px) {
    .tabs-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
    }

    .tabs-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    ul.tabs_producto {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: max-content;
        gap: 1rem;
        scroll-snap-type: x mandatory;
        padding-bottom: 5px;
    }

    ul.tabs_producto li.nav-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
        min-width: max-content;
    }

    ul.tabs_producto a.nav-link {
        white-space: nowrap;
    }
}

/* fichas */

.product-popup img {
    padding-top: 0px;
}

/* mapa */

#map {
    width: 100%;
    height: 500px;
    margin-bottom: 20px;
    display: block;
    overflow: hidden;
}
.controls {
    margin-bottom: 10px;
}
.store-list {
    margin-top: 10px;
    height: 500px;
    overflow-y: auto;
}

/* blackfriday */

/* #newsletter-popup-form {
        background-color: #f1f1f1;
        background-image: url("../../assets/images/newsletter_popup_bg_htw.webp");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    } */

/* instagram */

.instagram-carousel a img {
    margin: 5x;
}

/* catgorias */

.ulcategorias {
    display: none;
}

.ulcategorias {
    display: none;
}

.ulPrincipalcategoria {
    display: none;
}

/* principal */

.ulprincipalmenu {
    touch-action: pan-y;
}

/* listado */

.nav-link {
    color: #777;
    display: flex;
    align-items: center; /* Centra verticalmente */
    justify-content: space-between; /* Separa texto e icono */
}
.nav-link.active {
    color: #000 !important;
    font-weight: bold !important;
    background-color: transparent !important;
}

.flecha i {
    font-size: 1.2em;
    margin-left: 10px;
}

.card-header a {
    display: flex;
    justify-content: space-between; /* Separa pregunta y flecha */
    align-items: center;
    width: 100%;
    text-decoration: none;
    font-weight: bold;
    color: #004899;
}

.card-header .arrow {
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.card-header .arrow i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.tituloazul_faqs {
    padding-bottom: 1rem;
    /* border-bottom: 1px solid #e7e7e7; */
    text-align: left !important;
    text-transform: none !important;
    font-size: 3.6rem;
    color: #004899;
    font-family: "Alexandria", sans-serif;
    font-weight: bold;
}

/* en.blade */

.page-header-sobrnosotros {
    background: 50% / cover #d4e1ea
        url("../../assets/images/page-header-bg.jpg");
}

/* catalogo */

.banner1-catalogo {
    background-color: #696f6f;
}

.banner2-catalogo {
    background: #101010 no-repeat center/cover
        url(../../assets//images//banner-htw.jpg);
}

.banner2-catalogo h3 {
    font-size: 15px;
}

/* categoriasdetalle */

/* 🌐 Por defecto: diseño web para escritorio */
ul.menu_categorias {
    display: flex;
    justify-content: space-between;
    padding: 0;
    list-style: none;
    /* overflow-x: hidden; sin scroll */
    gap: 0;
    flex-wrap: wrap;
}

/* ul.menu_categorias li {
    flex: 1; todos ocupan el mismo espacio
    min-width: 0;
    text-align: center;
} */

/* 🧾 Fondo del contenido */

ul.menu_categorias li {
    flex: 0 0 auto;
    /* min-width: 150px; */
    scroll-snap-align: start;
}

.d-none-movil {
    display: none;
}

/* 📱 Responsive: slider horizontal en pantallas pequeñas */
@media (max-width: 1632) {
    ul.menu_categorias {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        min-width: 100%;
    }

    ul.menu_categorias li {
        flex: auto;
        min-width: 300px;
        scroll-snap-align: start;
    }

    ul.menu_categorias::-webkit-scrollbar {
        display: none;
    }

    ul.menu_categorias {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .scroll-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .scroll-container::-webkit-scrollbar {
        display: none;
    }

    .scroll-container {
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-right: 15px;
        padding-left: 15px;
    }

    .d-none-movil {
        display: block;
    }
}

/* 📦 Slider de contenido de categorías (siempre activo) */
.descripcion_gamas {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.descripcion_gamas .tab-pane {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
    display: flex !important;
    flex-direction: column;
}

.descripcion_gamas::-webkit-scrollbar {
    display: none;
}

.categoriadetalles-tabs {
    width: 90%;
    margin-bottom: 50px;
}

.categoriadetalles-tabs span {
    /* text-transform: capitalize; */
}

.categoriadetalles-tabs2 span {
    font-size: 16px;
}

.categoriadetalles-tabs2 h3 {
    font-size: 16px;
}

.categoriadetalles-tabs-img img {
    height: auto;
    border-radius: 20px;
}

/* productospopulares */

.divpictogramas-container {
    height: 120px;
    align-items: baseline;
}

/* slider */

.slider {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 100%;
    /* Inicia fuera de la pantalla a la derecha */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: left 1s ease-in-out;
    /* Animación de izquierda a derecha */
}

.slide.active {
    left: 0;
    /* Muestra el slide actual */
}

.slider-text {
    color: #004899;
}

.sliderdemo {
    border-radius: 20px;
    background-color: #004899;
    color: white;
}

/* sliderweb */

.home-slid {
    text-align: left;
}

/* otros */

.active .color-black {
    background-color: #000;
}

.active .color-blue {
    background-color: #0188cc;
}

.active .color-green {
    background-color: #81d742;
}

.active .color-yellow {
    background-color: #eded65;
}

.active .color-indigo {
    background-color: #6085a5;
}

.active .color-red {
    background-color: #ab6e6e;
}

/* banner */

.shopbannerimg {
    background-image: url(../../assets/images//demoes//demo27/banners/shop-banner-bg.png);
}

/* series */

@media (min-width: 576px) and (max-width: 1439px) {
    .picto-text {
        display: none;
    }
}

/* subfamilias */

.product-title-subfamilies {
    font-size: 23px;
    color: #004899;
}

/* lateral */

.lateralpin {
    height: 1212.8px;
}

.lateralsidebar {
    border-bottom: 0px none rgb(119, 119, 119);
    width: 280px;
}

/* familias */

.categories-section-title {
    animation-duration: 1000ms;
}

/* gamas */

ul.menu_categorias {
    display: flex;
    justify-content: space-between;
    padding: 0;
    list-style: none;
    gap: 0;
    flex-wrap: wrap;
}

ul.menu_categorias li {
    flex: 1 1 auto;
    /* min-width: 150px; */
    scroll-snap-align: start;
}

.d-none-movil {
    display: none;
}

@media (max-width: 1680px) {
    .categoriadetalles-tabs {
        width: 100% !important;
        margin-left: auto;
        margin-right: auto;
        display: block; /* aseguramos que respete el centrado */
    }

    ul.menu_categorias {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        min-width: 100%;
    }

    ul.menu_categorias li {
        flex: auto;
        min-width: 235px;
        width: auto;
        scroll-snap-align: start;
    }

    ul.menu_categorias::-webkit-scrollbar {
        display: none;
    }

    .scroll-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 15px;
    }

    .scroll-container::-webkit-scrollbar {
        display: none;
    }

    .d-none-movil {
        display: block;
    }

    .min-height-descripcion-gamas {
        padding-left: 30px !important;
        padding-right: 20px;
    }
}

.descripcion_gamas {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.descripcion_gamas .tab-pane {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
    display: flex !important;
    flex-direction: column;
    margin-left: 1px;
}

.descripcion_gamas::-webkit-scrollbar {
    display: none;
}

.tab-title {
    /* text-transform: capitalize; */
}

.descripcion_gamas h3 {
    font-size: 16px;
}

.descripcio-gama-img img {
    height: auto;
    border-radius: 20px;
}

/* subfamilias */

.product-detauils-subfamilias {
    font-size: 23px;
    color: #004899;
}

.product-default .product-label-2 {
    display: block;
    text-align: center;
    margin-bottom: 5px;
    text-transform: uppercase;
    /* padding: 5px 11px; */
    margin-left: -5px;
    color: #fff;
    font-weight: 600;
    font-size: 10px;
    line-height: 1;
    border-radius: 12px;
    width: 75%;
    max-width: 129px;
}

@media (max-width: 1800px) {
    .product-default .product-label-2 {
        max-width: 100px;
    }

    .mb-xxxl-3 {
        margin-bottom: 3rem !important;
    }
}

.pictogramas-container {
    display: flex;
    justify-content: center;
}

.alert-warning {
    color: #fff !important;
    background-color: #004899 !important;
}

.min-height-descripcion-gamas {
    padding-left: 0px;
    padding-right: 20px;
}

@media (min-width: 992px) {
    .h-lg-100 {
        height: 100% !important;
    }
}

.pictogramas_grandes_card {
    border-radius: 10px;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease-in-out;
}

.texto-azul {
    color: #004899;
}

@media (min-width: 1800px) {
    .col-xxxl-6 {
        flex: 0 0 50%; /* ocupa 6 de 12 columnas */
        max-width: 50%;
    }
}

.texto_limitado_titulo {
    display: -webkit-box; /* necesario para usar line-clamp */
    -webkit-line-clamp: 2; /* máximo de líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
}

.texto_limitado_descripcion {
    display: -webkit-box; /* necesario para usar line-clamp */
    -webkit-line-clamp: 4; /* máximo de líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Escritorio (≥1200px): sidebar como sección inferior normal --- */
/* === Estado ABIERTO del sidebar en móvil (<=1199px) === */
@media (max-width: 1199px) {
    /* Asegúrate de que el panel está visible aunque haya reglas que lo oculten */
    .sidebar-opened .mobile-sidebar {
        display: block !important;
    }

    /* Panel off-canvas FIJO y ocupando la ventana */
    .sidebar-opened .mobile-sidebar {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 260px !important; /* tu ancho de panel */
        height: 100vh !important;
        transform: none !important; /* ya abierto, sin translate */
        overflow-y: auto !important;
        z-index: 9999 !important;
        /* Si ves “rebote” raro en iOS, cambia a 'auto' */
        -webkit-overflow-scrolling: touch; /* o 'auto' si quieres cero inercia */
        backface-visibility: hidden; /* evita algunos glitches de repintado */
    }

    /* Desactiva CUALQUIER sticky/transform dentro del panel abierto */
    .sidebar-opened .sidebar-wrapper,
    .sidebar-opened .sticky-sidebar,
    .sidebar-opened .theiaStickySidebar,
    .sidebar-opened .is-affixed {
        position: static !important;
        top: auto !important;
        transform: none !important;
        will-change: auto !important;
    }

    /* Bloquea el scroll del documento de fondo */
    body.sidebar-opened {
        overflow: hidden !important;
        touch-action: none; /* evita scroll/bounce del body en móvil */
    }

    /* Overlay fijo por detrás del panel */
    .sidebar-opened .sidebar-overlay {
        position: fixed !important;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: #000;
        opacity: 0.35;
        z-index: 8999;
        display: block !important;
    }

    /* El botón puede quedarse fijo; no animarlo al hacer scroll */
    .sidebar-opened .custom-sidebar-toggle {
        position: fixed !important;
        left: 260px !important; /* borde del panel */
        top: 20% !important;
        transition: none !important; /* sin animaciones durante el scroll */
        z-index: 9000;
    }
}

/* === Escritorio (>=1200px): sin off-canvas ni toggle/overlay === */
@media (min-width: 1200px) {
    .mobile-sidebar,
    .shop-off-canvas .mobile-sidebar {
        position: static !important;
        transform: none !important;
        width: 100% !important; /* el ancho lo da el grid del contenedor */
        height: auto !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .sidebar-wrapper,
    .sticky-sidebar,
    .theiaStickySidebar,
    .is-affixed {
        position: static !important;
        top: auto !important;
        transform: none !important;
    }
    .sidebar-toggle,
    .custom-sidebar-toggle,
    .sidebar-overlay {
        display: none !important;
        pointer-events: none !important;
    }
}

.simple-post-list {
    margin: 0;
    padding: 0;
}

.simple-post-list .post-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* Quita cualquier “separador” de la lista en modo grid */
.widget.widget-post .simple-post-list > li {
    border: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.widget.widget-post .simple-post-list > li + li {
    border-top: 0 !important;
}
.widget.widget-post .simple-post-list > li::before,
.widget.widget-post .simple-post-list > li::after {
    content: none !important;
    display: none !important;
}

.min_height_main {
    min-height: 682px;
}

ul li a.active {
    color: #004899;
    font-weight: bold; /* para marcarlo */
}

.mx-100 {
    max-width: 100% !important;
}

.bt-espaciopro {
    text-decoration: none !important;
}

.bt-espaciopro:hover {
    text-decoration: none !important;
    background-color: white;
    border-radius: 10px solid !important;
    border-color: #004899 !important;
    color: #004899;
}

.pagination-pro {
    text-align: center;
    margin-left: -2.5em !important;
}

.pagination-pro .page-item-pro .page-link-pro {
    color: white;
    background-color: #004899;
    border: 1px solid #004899;
    border-radius: 4px;
    margin: 0 4px;
    padding: 8px 16px;
}

.pagination-pro .page-item-pro.active-pro {
    color: #004899;
    background-color: white;
    /* border: 1px solid #004899; */
    border-radius: 4px;
    margin: 0 4px;
    padding: 8px 16px;
}
.pagination-pro .page-item-pro .page-link-pro:hover {
    color: #004899;
    background-color: white;
    border-color: #004899;
}
.pagination-pro .page-item-pro .page-link-pro:focus {
    box-shadow: none;
}

li.page-item-pro {
    display: inline-block;
}

.tab-formaciones {
    color: blueviolet !important;
}

.nav-link .arrow i {
    display: none;
}

.nav-link.active .arrow i {
    display: inline-block;
}

.gama_class,
.gama_class:hover,
.gama_class:focus,
.gama_class:active,
.gama_class:focus-visible {
    background-color: transparent !important;
    color: var(--bs-primary, #004899) !important;
    border-color: var(--bs-primary, #004899) !important;
    box-shadow: none !important;
}

.familia_class,
.familia_class:hover,
.familia_class:focus,
.familia_class:active,
.familia_class:focus-visible {
    background-color: transparent !important;
    color: var(--bs-primary, #004899) !important;
    border-color: var(--bs-primary, #004899) !important;
    box-shadow: none !important;
}

.subfamilia_class,
.subfamilia_class:hover,
.subfamilia_class:focus,
.subfamilia_class:active,
.subfamilia_class:focus-visible {
    background-color: transparent !important;
    color: var(--bs-primary, #004899) !important;
    border-color: var(--bs-primary, #004899) !important;
    box-shadow: none !important;
}

.serie_class,
.serie_class:hover,
.serie_class:focus,
.serie_class:active,
.serie_class:focus-visible {
    background-color: transparent !important;
    color: var(--bs-primary, #004899) !important;
    border-color: var(--bs-primary, #004899) !important;
    box-shadow: none !important;
}
#map {
    height: 100%;
    width: 100%;
}

.store-list-container {
    max-height: 500px;
    overflow-y: auto;
    /* border: 1px solid #dee2e6; */
    /* padding: 10px; */
}

.hours-button-icon {
    transition: transform 0.3s ease-in-out;
    display: inline-block;
    transform: rotate(0deg);
}

.hours-button-icon.rotated {
    transform: rotate(180deg);
}

.btn-ver-horarios {
    background-color: white;
    color: #004899;
    border: 2px solid #004899;
    margin-left: -22px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    height: 40px;
    width: 155px;
    transition: background-color 0.1s ease;
}

@media (min-width: 767px) {
    .listaNoticias {
        margin-left: 2em;
    }
}

@media (max-width: 767px) {
    .listaNoticias {
        margin-top: 2em;
    }
}

.list-group-item {
    border-radius: 10px;
}
.list-group-item:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#location-search {
    border-radius: 10px;
}

.pictogramas_grandes_card figure {
    height: 140px;
}

/* ====== Namespace utilitario para no colisionar ====== */
.section-snakeline .container-snakeline {
    padding: 12px;
}
.section-snakeline .mt-5-snakeline {
    margin-top: 3rem;
}
.section-snakeline .mb-5-snakeline {
    margin-bottom: 3rem;
}
.section-snakeline .h3-snakeline {
    font-size: 1.5rem;
    margin: 1rem 0;
}
.section-snakeline .h5-snakeline {
    font-size: 1.1rem;
    margin-top: 1rem;
}
.section-snakeline .small-snakeline {
    font-size: 0.875rem;
    color: #666;
}

.section-snakeline .btn-snakeline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.section-snakeline .btn-snakeline + .btn-snakeline {
    margin-left: 0.5rem;
}
.section-snakeline .btn-success-snakeline {
    background: #28a745;
    color: #fff;
}
.section-snakeline .btn-danger-snakeline {
    background: #dc3545;
    color: #fff;
}

/* ====== Serpentine ====== */
.steps-list-looped-snakeline {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: stretch;
    padding: 12px;
}

.steps-list-looped-snakeline .step-wrapper-snakeline {
    text-align: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: stretch;
    flex-basis: 33%;
    margin-bottom: -1px;
    border-bottom: 1px solid #004899;
}

.steps-list-looped-snakeline .step-wrapper-snakeline::before,
.steps-list-looped-snakeline .step-wrapper-snakeline::after {
    content: "";
    display: block;
    flex-basis: 100%;
}

.steps-list-looped-snakeline .step-wrapper-snakeline::before {
    height: 50%;
    border-bottom: 1px solid #004899;
}

.steps-list-looped-snakeline .step-wrapper-snakeline::after {
    align-self: flex-end;
    margin-top: auto;
    margin-bottom: -1px;
    height: calc(50% + 2px);
    border-top: 1px solid #004899;
}

.steps-list-looped-snakeline .step-wrapper-snakeline .step-content-snakeline {
    flex-shrink: 0;
    flex-basis: 50px;
    margin: 0 auto;
    align-self: center;
}

/* First and last element tweaks */
.steps-list-looped-snakeline .step-wrapper-snakeline:first-child::before {
    border-bottom-color: transparent;
    border-top-color: transparent;
    border-left-color: transparent;
}
.steps-list-looped-snakeline .step-wrapper-snakeline:last-child::after {
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-right-color: transparent;
}

/* ====== RWD ====== */
/* 1 col: <=399px */
@media only screen and (max-width: 399px) {
    .steps-list-looped-snakeline .step-wrapper-snakeline {
        flex-basis: calc(100% / 1) !important;
    }

    .steps-list-looped-snakeline .step-wrapper-snakeline:nth-child(1n)::after {
        margin-right: -12px;
        border-bottom: 1px solid #004899;
        border-right: 1px solid #004899;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(1n + 1)::before {
        margin-left: -12px;
        border-top: 1px solid #004899;
        border-left: 1px solid #004899;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }

    /* Last line transparency */
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(1):nth-child(1n + 1)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(2):nth-child(1n + 1)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }

    /* First line when not full row */
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(1):nth-last-child(-n + 1) {
        border-bottom-color: transparent;
    }
}

/* 2 cols: 400–749px */
@media only screen and (min-width: 400px) and (max-width: 749px) {
    .steps-list-looped-snakeline .step-wrapper-snakeline {
        flex-basis: calc(100% / 2) !important;
    }

    .steps-list-looped-snakeline .step-wrapper-snakeline:nth-child(2n)::after {
        margin-right: -12px;
        border-bottom: 1px solid #004899;
        border-right: 1px solid #004899;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(2n + 1)::before {
        margin-left: -12px;
        border-top: 1px solid #004899;
        border-left: 1px solid #004899;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }

    /* Last line transparency */
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(1):nth-child(2n + 2)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(2):nth-child(2n + 2)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(3):nth-child(2n + 2)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }

    /* First line when not full row */
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(1):nth-last-child(-n + 2) {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(2):nth-last-child(-n + 1) {
        border-bottom-color: transparent;
    }
}

/* 3 cols: 750–999px */
@media only screen and (min-width: 750px) and (max-width: 999px) {
    .steps-list-looped-snakeline .step-wrapper-snakeline {
        flex-basis: calc(100% / 3) !important;
    }

    .steps-list-looped-snakeline .step-wrapper-snakeline:nth-child(3n)::after {
        margin-right: -12px;
        border-bottom: 1px solid #004899;
        border-right: 1px solid #004899;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(3n + 1)::before {
        margin-left: -12px;
        border-top: 1px solid #004899;
        border-left: 1px solid #004899;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }

    /* Last line transparency */
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(1):nth-child(3n + 3)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(2):nth-child(3n + 3)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(3):nth-child(3n + 3)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(4):nth-child(3n + 3)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }

    /* First line when not full row */
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(1):nth-last-child(-n + 3) {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(2):nth-last-child(-n + 2) {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(3):nth-last-child(-n + 1) {
        border-bottom-color: transparent;
    }
}

/* 4 cols: >=1000px */
@media only screen and (min-width: 1000px) {
    .steps-list-looped-snakeline .step-wrapper-snakeline {
        flex-basis: calc(100% / 4) !important;
    }

    .steps-list-looped-snakeline .step-wrapper-snakeline:nth-child(4n)::after {
        margin-right: -12px;
        border-bottom: 1px solid #004899;
        border-right: 1px solid #004899;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(4n + 1)::before {
        margin-left: -12px;
        border-top: 1px solid #004899;
        border-left: 1px solid #004899;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }

    /* Last line transparency */
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(1):nth-child(4n + 4)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(2):nth-child(4n + 4)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(3):nth-child(4n + 4)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(4):nth-child(4n + 4)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-last-child(5):nth-child(4n + 4)
        ~ .step-wrapper-snakeline {
        border-bottom-color: transparent;
    }

    /* First line when not full row */
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(1):nth-last-child(-n + 4) {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(2):nth-last-child(-n + 3) {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(3):nth-last-child(-n + 2) {
        border-bottom-color: transparent;
    }
    .steps-list-looped-snakeline
        .step-wrapper-snakeline:nth-child(4):nth-last-child(-n + 1) {
        border-bottom-color: transparent;
    }
}

/* ====== Custom styling ====== */
.step-number-snakeline {
    color: #444;
    width: 40px;
    font-size: 12px;
    line-height: 40px;
    height: 40px;
    border: 1px solid #eaeaea;
    border-radius: 50%;
    margin: 55px 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#example-snake-snakeline .step-content-snakeline {
    padding: 50px 15px;
}

#example-snake-snakeline .step-content-snakeline .fas,
#example-snake-snakeline .step-content-snakeline .far {
    font-size: 48px;
    margin-bottom: 20px;
    color: #004899;
}

#example-snake-snakeline .step-content-snakeline p {
    width: 115px;
    font-size: 12px;
}

#example-snake-snakeline .step-content-snakeline p strong {
    color: #009f94;
    font-size: 22px;
    margin-right: 5px;
}

/* Quitar conector del primer elemento */
.steps-list-looped-snakeline .step-wrapper-snakeline:first-child::before {
    border: none !important;
}

/* Quitar conector del último elemento */
.steps-list-looped-snakeline .step-wrapper-snakeline:last-child::after {
    border: none !important;
}

/* --- Aumentar tamaño del contenido de cada evento (x2) --- */
.step-content-snakeline {
    flex-basis: 220px !important; /* Antes 50px, ahora ~x2 */
    max-width: 220px;
}

/* Imagen del evento más grande */
.timeline-image-wrapper-snakeline img {
    width: 100px; /* Antes ~50px */
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

/* Año más grande */
.timeline-year-snakeline {
    font-size: 20px; /* Antes ~12px */
    font-weight: bold;
    margin-bottom: 8px;
}

/* Texto más grande */
.timeline-description-snakeline {
    font-size: 16px; /* Antes ~12px */
    line-height: 1.4;
}

/* Punto central más grande */
.timeline-dot-snakeline {
    width: 22px;
    height: 22px;
    background: #004899;
    border-radius: 50%;
    margin: 15px auto;
}

/* Más espacio entre elementos internos */
.timeline-content-wrapper-snakeline {
    padding: 10px 0;
}

.chat-window-wrapper .chat-window {
    border: 2px solid #101330 !important;
    border-radius: 10px;
}

/* .chat-input-send-button{
    background-color: linen !important;
}

.chat-inputs textarea{
    background-color: linen !important;
} */

:root {
    --chat--color--primary: #004899;
    --chat--color--primary-shade-50: #4593ed;
    --chat--color--primary--shade-100: #4593ed;
    --chat--color--secondary: #20b69e;
    --chat--color-secondary-shade-50: #1ca08a;
    --chat--color-white: #ffffff;
    --chat--color-light: #f2f4f8;
    --chat--color-light-shade-50: #e6e9f1;
    --chat--color-light-shade-100: #c2c5cc;
    --chat--color-medium: #d2d4d9;
    --chat--color-dark: #101330;
    --chat--color-disabled: #777980;
    --chat--color-typing: #404040;

    --chat--spacing: 1rem;
    --chat--border-radius: 0.25rem;
    --chat--transition-duration: 0.15s;

    --chat--window--width: 400px;
    --chat--window--height: 600px;

    --chat--header-height: auto;
    --chat--header--padding: var(--chat--spacing);
    --chat--header--background: var(--chat--color-dark);
    --chat--header--color: var(--chat--color-light);
    --chat--header--border-top: none;
    --chat--header--border-bottom: none;
    --chat--header--border-bottom: none;
    --chat--header--border-bottom: none;
    --chat--heading--font-size: 2em;
    --chat--header--color: var(--chat--color-light);
    --chat--subtitle--font-size: inherit;
    --chat--subtitle--line-height: 1.8;

    --chat--textarea--height: 50px;

    --chat--message--font-size: 1rem;
    --chat--message--padding: var(--chat--spacing);
    --chat--message--border-radius: var(--chat--border-radius);
    --chat--message-line-height: 1.8;
    --chat--message--bot--background: var(--chat--color-white);
    --chat--message--bot--color: var(--chat--color-dark);
    --chat--message--bot--border: none;
    --chat--message--user--background: var(--chat--color--secondary);
    --chat--message--user--color: var(--chat--color-white);
    --chat--message--user--border: none;
    --chat--message--pre--background: rgba(0, 0, 0, 0.05);

    --chat--toggle--background: var(--chat--color--primary);
    --chat--toggle--hover--background: var(--chat--color--primary-shade-50);
    --chat--toggle--active--background: var(--chat--color--primary--shade-100);
    --chat--toggle--color: var(--chat--color-white);
    --chat--toggle--size: 64px;
}

.half-bg {
    background: linear-gradient(to bottom, white 50%, #004899 50%);
}

.half-bg a {
    text-decoration: none;
    /* Quita el subrayado */
    /* color: inherit; */
    /* Mantiene el color del texto del contenedor (opcional) */
}
.card {
    border-radius: 0 0 20px 20px;
}
.card_body_webs_externas {
    min-height: 0 !important;
}
@media only screen and (max-width: 767px) {
    .half-bg {
        background: linear-gradient(to bottom, white 20%, #004899 20%);
    }
}

.texto_azul {
    color: #004899;
}

/* --- NUEVO LAYOUT --- */
.checkbox-wrapper-31 {
    display: flex;
    align-items: center;
    gap: 5px; /* separa icono y texto */
    position: relative;
    width: auto; /* deja de forzar 40x40 al wrapper */
    height: auto;
}

.checkbox-wrapper-31 label {
    /* cursor:pointer; */
    user-select: none;
    font-family: "Alexandria", sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-top: 9px;
}

/* El "botón" visual mantiene tus 40x40 */
.checkbox-wrapper-31 .cbx {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 30px;
}

/* Lo que antes apuntaba al wrapper pasa a .cbx */
.checkbox-wrapper-31 .cbx input[type="checkbox"] {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    -webkit-appearance: none;
    appearance: none;
}
.checkbox-wrapper-31 .cbx input[type="checkbox"]:hover {
    cursor: pointer;
}

.checkbox-wrapper-31 .cbx svg {
    width: 100%;
    height: 100%;
}

/* --- Tus estilos existentes (sin cambios) --- */
.checkbox-wrapper-31 .cbx:hover .check {
    stroke-dashoffset: 0;
}

.checkbox-wrapper-31 .background {
    fill: #ccc;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}
.checkbox-wrapper-31 .stroke {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
    stroke-width: 2px;
    stroke-dashoffset: 100;
    stroke-dasharray: 100;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}
.checkbox-wrapper-31 .check {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
    stroke-dashoffset: 22;
    stroke-dasharray: 22;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}
.checkbox-wrapper-31 .cbx input[type="checkbox"]:checked + svg .background {
    fill: #004899;
}
.checkbox-wrapper-31 .cbx input[type="checkbox"]:checked + svg .stroke {
    stroke-dashoffset: 0;
}
.checkbox-wrapper-31 .cbx input[type="checkbox"]:checked + svg .check {
    stroke-dashoffset: 0;
}

@media (max-width: 575.98px) {
    .pt-3-mobile {
        padding-top: 1rem !important; /* igual que pt-3 */
    }

    .countdown-box {
        text-align: center;
        min-width: 50px;
    }

    .time {
        font-size: 3rem;
        font-weight: 500;
    }

    .label {
        font-size: 16px;
        font-style: italic;
    }

    .separator {
        font-size: 3.5rem;
        margin: 0 20px;
        opacity: 0.8;
    }
}

@media (min-width: 768px) {
    .titulopopup {
        font-size: 2.3rem !important;
    }
}

@media (min-width: 850px) {
    .titulopopup {
        font-size: 3.5rem !important;
    }
}

.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 10px 60px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.05);
}

.countdown-box {
    text-align: center;
    min-width: 60px;
}

.time {
    font-size: 4rem;
    font-weight: 500;
}

.label {
    font-size: 18px;
    font-style: italic;
}

.separator {
    font-size: 3.5rem;
    margin: 0 20px;
    opacity: 0.8;
}

/* CSS MODAL FOTOBOTON */
/* Tarjeta principal */
#newsletter-popup-form .popup-card-fotoboton {
  width: 320px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  margin: 0 auto;
}

/* Cabecera roja con imagen */
#newsletter-popup-form .popup-header-fotoboton {
  position: relative;
  height: 400px;
  background: #b31317;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen a fondo */
#newsletter-popup-form .newsletter-img-fotoboton {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

/* Logo arriba a la izquierda */
#newsletter-popup-form .popup-brand-fotoboton {
  position: absolute;
  top: 10px;
  left: 12px;
  height: 22px;
  z-index: 2;
}

/* Título centrado sobre la imagen */
#newsletter-popup-form .titulopopup-fotoboton {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 12px;
  font-weight: 800;
  font-size: 20px;
  color: #fff !important;
  text-transform: uppercase;
  text-align: center;
}

/* Cuerpo blanco con botón */
#newsletter-popup-form .popup-body-fotoboton {
  padding: 16px 18px 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Botón */
#newsletter-popup-form .btn-fotoboton {
  border-radius: 12px;
  font-weight: 600;
  background-color: #003399; /* por si no llega el color dinámico */
  color: #fff;
  border: none;
  padding: 8px 24px;
  cursor: pointer;
}

/* Botón de cierre (X) */
#newsletter-popup-form .mfp-close-fotoboton {
  position: absolute;
  top: 6px;
  right: 8px;
  color: #6c757d;
  opacity: 1;
  font-size: 22px;
  line-height: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

/* 1) Asegura el centrado horizontal del popup de Magnific */
.mfp-wrap .mfp-container{            /* centrado horizontal */
  text-align: center !important;
}
.mfp-inline-holder .mfp-content{     /* que NO ocupe 100% */
  display: inline-block !important;
  width: auto !important;
  max-width: 92vw;                   /* margen en pantallas pequeñas */
  vertical-align: middle;
  text-align: left;                  /* contenido interno a la izquierda */
}

/* 2) El bloque raíz del popup (tu div oculto) no debe romper el centrado */
#newsletter-popup-form.newsletter-popup-fotoboton{
  display: inline-block;             /* para que el contenedor lo centre */
  max-width: none !important;        /* anulamos tu fit-content si estorba */
}

/* 3) La “tarjeta” con el diseño */
#newsletter-popup-form .popup-card-fotoboton{
  width: 400px;                      /* ajusta a gusto */
  max-width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  margin: 0 auto;                    /* por si se renderiza fuera de mfp */
}

/* (opcional) Si tu tema fuerza el overlay a alinear a la izquierda, reasegúralo */
.mfp-bg{ left:0; right:0; }

.descripcionpopup {
    font-size: 16px;
}


/* Contenedor principal */
.newsletter-popup-derecha {
  display: inline-block;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
  max-width: 900px;
  margin: 0 auto;
}

/* Estructura general */
.container-fluid-derecha {
  width: 100%;
}

.row-derecha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* Columna de texto (izquierda) */
.col-text-derecha {
  flex: 1 1 50%;
  padding: 40px 30px;
  text-align: center;
}

.text-center-derecha {
  text-align: center;
}

.titulopopup-derecha {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.descripcionpopup-derecha {
  font-size: 16px;
  margin-bottom: 24px;
}

/* Botón */
.btn-derecha {
  display: inline-block;
  padding: 10px 30px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  background-color: #003399;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-derecha:hover {
  opacity: 0.9;
}

/* Columna de imagen (derecha) */
.col-image-derecha {
  flex: 1 1 50%;
  text-align: center;
  padding: 0 !important;
}

.newsletter-img-derecha {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Centrado del modal */
.mfp-wrap .mfp-container {
  text-align: center !important;
}

.mfp-inline-holder .mfp-content {
  display: inline-block !important;
  width: auto !important;
  max-width: 95vw;
  vertical-align: middle;
}

/* Responsive (imagen arriba en móviles) */
@media (max-width: 768px) {
  .row-derecha {
    flex-direction: column;
  }
  .col-text-derecha,
  .col-image-derecha {
    flex: 1 1 100%;
  }
  .col-image-derecha {
    order: -1; /* imagen arriba en móviles */
  }
}


.min-height-mapa{
    min-height: 550px !important;
}

.list-group-item:last-child {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

#calcAlertModal .btn-link {
    text-decoration: none;
    font-size: 40px;
    line-height: 1;
    color: red !important;
}

.close-modal {
    text-decoration: none;
    font-size: 40px;
    line-height: 1;
    color: red !important;
}

.modal.show .modal-dialog:focus{
    opacity: 0.5;
}

.modal-header{
    border-bottom: none !important;
}
.titulo_h1_avisos_legales{
    font-size: 30px !important;
}
.titulo_h2_avisos_legales{
    font-size: 20px !important;
}

.slider-bottom-text{
    position: absolute;
    bottom: 0px;
    margin-left: 10%;
}

.custom-select-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #eaf3fb; /* mismo fondo suave que tus inputs */
    border: 1.5px solid #0d84ff;
    border-radius: 18px;
    height: 46px;
    padding: 0 45px 0 18px;
    font-size: 16px;
    color: #2b2b2b;
    box-shadow: none;
    outline: none;
    cursor: pointer;

    /* flecha personalizada */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath fill='%23666' d='M5.5 7.5l4.5 4.5 4.5-4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

.custom-select-input:focus {
    border-color: #0d84ff;
    box-shadow: 0 0 0 0.15rem rgba(13, 132, 255, 0.15);
}

.custom-select-input option {
    background: #fff;
    color: #2b2b2b;
}

