:root {
    --blueDarkDch: #0b3d91;
    --blueLightDch: #0057b7;
    --blueDch: #0033a0;
    --blueDarker: #1a3682;
    --orangeDch: #ffc107;
    --greyDch: #9C9C9C;
    --grey2Dch: #5c5f63;
    --blackDsc: #2b2926;
    --lightGrey: #dee1e6;
    --bgLightGrey: #f3f3f3;
}

:root {
    --green: #2aac5c;
    --greenOutline: #8fc9a5;
}

.table-dch {
    --bs-table-color: #fff;
    --bs-table-bg: #0f3980e6;
    --bs-table-border-color: #a6c3ca;
    --bs-table-striped-bg: #c5e8ef;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #badce3;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #bfe2e9;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.bootstrap-select,
.bootstrap-select>.dropdown-toggle {
    width: 100% !important;
}


/* El menú no debe ser más ancho que el wrapper */

.bootstrap-select .dropdown-menu {
    max-width: 100%;
    width: 100%;
    /* opcional, así iguala el botón */
}


/* Evitar desbordes horizontales y cortar texto largo */

.bootstrap-select .dropdown-menu .inner,
.bootstrap-select .dropdown-menu li a span.text {
    max-width: 100%;
    white-space: nowrap;
    /* o normal si prefieres que haga salto de línea */
    overflow: hidden;
    text-overflow: ellipsis;
}


/* .bootstrap-select .dropdown-menu li a small.text-muted {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
} */

.bg-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 70vh;
    /* en lugar de 100% */
    overflow-x: hidden;
}

.font-format {
    font-weight: 600;
}

@media (max-width: 768px) {
    .bg-hero {
        background-position: top;
    }
}

.cards-container {
    padding-top: 250px;
    padding-bottom: 140px;
}

@media (max-width: 768px) {
    .cards-container {
        padding-top: 100px;
    }
}


/* NEWS */

.ext-news+.ext-news {
    border-top: 1px solid rgb(197, 197, 197);
    padding-top: 10px;
}

.ext-news a {
    text-decoration: none;
    color: var(--blueDarker);
    font-weight: 600;
}

.ext-news img {
    width: 100%;
    height: 100%;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.flex-grow-1 {
    flex: 1;
    /* Esto hace que el contenido ocupe todo el espacio disponible */
}

.footer2-bloque1 p {
    margin: 0;
    margin-bottom: 4px;
    font-size: small;
}

.footer2-bloque1>ul>li {
    margin: 0;
    margin-bottom: 4px;
    text-decoration: none;
    list-style-type: none;
}

.footer2-bloque1>ul {
    margin: 0;
    margin-bottom: 6px;
    text-decoration: none;
    list-style-type: none;
}

.footer2-bloque2 p {
    margin: 0;
    margin-bottom: 4px;
}

.footer2-bloque1 a {
    color: rgb(179, 179, 179);
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer2-bloque1 a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background-color: rgb(179, 179, 179);
    transition: width 0.3s ease;
}

.footer2-bloque1 a:hover::after {
    width: 100%;
}

.footer2-bloque2 a {
    color: rgb(179, 179, 179);
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer2-bloque2 a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background-color: rgb(179, 179, 179);
    transition: width 0.3s ease;
}

.footer2-bloque2 a:hover::after {
    width: 100%;
}

.blueBorder {
    /* border: 1px solid var(--bgLightGrey); */
    border: 1px solid var(--blueDarker);
    color: black;
}

.desglTarBut {
    color: #ffb61a;
}

.div-mapa {
    width: 60%;
    height: 300px;
}

@media (max-width: 425px) {
    .div-mapa {
        width: 100%;
        height: 300px;
    }
}

.modal--content {
    border-radius: 0px;
    border: none;
    background-color: white;
}

#modalFuel .modal--content {
    border-radius: 0 !important;
    border: none;
}

.modal--title {
    font-size: 26px;
    color: var(--blueDarker);
    font-weight: 400;
}

.modal--header {
    background-color: white;
    border-radius: 0;
    color: black;
    border: none;
}

*/ .modal--footer {
    border-radius: 0;
    border: none;
}


/* Backdrop oscuro */

.modal-backdrop {
    background-color: rgba(0, 25, 59, 0.8) !important;
}

.sel-ext {
    background-color: white;
    padding: 5px;
    padding-right: 10px;
    padding-left: 10px;
    border-radius: 5px;
    border: 1px solid var(--blueDarker);
    width: 100%;
}

thead.external-table th {
    background-color: var(--blueDarker) !important;
    color: white !important;
    font-weight: 600 !important;
    border-top: 1px solid white !important;
    min-width: 100px;
}

thead.external-table th span:nth-child(1) {
    margin-left: 5px;
}

thead.external-table th span:nth-child(2) {
    margin-left: 25px;
}


/* Para th con clase table-actual */

thead.external-table th.table-actual {
    color: #ffb61a !important;
}

.toggle-group {
    display: flex;
    justify-content: center;
}


/* Botones personalizados */

.toggle-btn {
    border: 1px solid rgb(197, 197, 197);
    padding: 5px;
    background: #ffffff;
    font-weight: 600;
    font-size: 16px;
    height: 37px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    flex: 1;
    text-align: center;
    border-radius: 0;
}


/* Estado hover */

.toggle-btn:hover {
    background: #f1f1f1;
    border-color: #888;
    border-radius: 0px;
}


/* Estado activo */

input[type="radio"]:checked+.toggle-btn {
    background: var(--blueDarker);
    color: white;
    border: none;
}

.serv-selec {
    border-left: 10px solid #ffb61a !important;
}


/* Esconde el input radio */

.radio-custom input[type="radio"] {
    display: none;
}

.btn-plus>button {
    color: black;
    border-radius: 0;
}

.btn-plus>button:hover {
    color: #ffb61a;
}

.custom-alert {
    background-color: #d5ebff;
    padding: 10px;
    text-align: center;
    position: absolute;
    z-index: 1;
    top: 150px;
}

.alerta-info {
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    background-color: #d5ebff;
}

.aux-blue{
    background-color: var(--blueDarker);
    min-height: 37px;
    color: white;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 10px 3px;
    margin: 0px;
}

.alerta-error {
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    background-color: #f8d7da;
    /* rojo claro, más suave */
    color: #6b181f;
    /* texto rojo oscuro */
    border: 1px solid #f5c2c7;
}

.success-password {
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    background-color: #d1e7dd;
    /* verde claro */
    color: #0f5132;
    /* texto verde oscuro */
    border: 1px solid #badbcc;
}

.ext-tab {
    font-size: 22px;
    border-radius: 0 !important;
    position: relative;
    border: none !important;
    color: black !important;
    background-color: white;
    white-space: normal;
}

@media(max-width: 425px) {
    .ext-tab {
        font-size: 18px;
        border-radius: 0 !important;
        position: relative;
        border: none !important;
        color: black !important;
        background-color: white;
        white-space: normal;
    }
}

.ext-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    height: 2px;
    background-color: var(--blueDarker);
    border-radius: 2px;
}

.ext-tab.active::after {
    background-color: #ffb61a;
    height: 4px;
}

.borde-track {
    border-right: 1px solid #ffb61a;
    margin-right: 10px;
}


/* Contenedor de prueba para que veas cómo queda */

.contenedor-prueba {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Spinner Dachser "D" */

.spinner-d {
    width: 50px;
    height: 50px;
}

.spinner-d svg {
    width: 100%;
    height: 100%;
}

.spinner-d path {
    fill: none;
    stroke: var(--blueDarker);
    stroke-dasharray: 160;
    stroke-dashoffset: 160;
    animation: drawD 1.5s linear infinite,
        /* dibujar la D */
        colorChange 1.5s linear infinite;
}

@keyframes drawD {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes colorChange {
    0% {
        stroke: var(--blueDarker);
    }

    /* azul */
    50% {
        stroke: #ffb61a;
    }

    /* amarillo */
    100% {
        stroke: var(--blueDarker);
    }

    /* azul */
}


/*FONT TNT*/

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?kh6e77');
    src: url('../fonts/icomoon.eot?kh6e77#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?kh6e77') format('truetype'), url('../fonts/icomoon.woff?kh6e77') format('woff'), url('../fonts/icomoon.svg?kh6e77#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-TNTW:before {
    content: "\e908";
    color: rgb(255, 255, 255);
}

.icon-TNTB:before {
    content: "\e908";
    color: rgb(0, 0, 0);
}

.icon-GLSW:before {
    content: "\e90a";
    color: rgb(255, 255, 255);
}

.icon-GLSB:before {
    content: "\e90a";
    color: rgb(0, 0, 0);
}

.icon-DHLW:before {
    content: "\e900";
    color: rgb(255, 255, 255);
}


/* ***********DACHSER NAV************** */

.main-nav {
    display: flex;
    padding-top: 0%;
    padding-bottom: 0%;
    background-color: white;
    justify-content: center;
}

.container__section {
    display: flex;
    max-width: 76em;
    margin: 0% auto 0%;
    padding: 0% 2.7em 0%;
    align-items: center;
    justify-content: center;
}

@media(max-width:452px) {

    /* .main-nav__div {
        padding: 0% .5em 0%;
    }
 */
    .container__section {
        padding: 0% .5em 0%;
    }

    .main-nav__logo-div {
        margin-left: 0;
    }

    .dachser-Co--logo {
        width: 6em;
        height: auto;
    }
}

.main-nav__content-left {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-left: 0%;
    margin-right: auto;
}


/* .dachser-Co--logo{
    width: 7.9em;
    height: auto;
} */

.main-nav__options {
    width: 100%;
    flex-wrap: nowrap;
    height: fit-content;
    display: flex;
    padding: .8em 0px;
    justify-content: start;
    align-items: end;
    flex-grow: 0;
}

.o-section__content {
    padding: 0em 1.2em 0em;
}

.main-nav__link {
    display: inline-block;
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    text-wrap: nowrap;
    text-decoration: none;
}

#nav-options__copy .main-nav__link {
    font-weight: 500;
    margin: 3px 0 3px;
    text-transform: none;
    text-decoration: none;
}

#nav-options__copy #main-nav-content1 ul li {
    width: 100%;
}

#nav-options__copy .main-nav__link:hover::after {
    width: 0;
}

.link-black {
    color: var(--blackDsc);
}

.link-blue {
    color: var(--blueDarkDch);
}

.link-grey {
    color: rgb(172, 172, 172);
}

.link-red {
    color: rgb(185, 22, 22);
}

.link-green {
    color: rgb(33, 150, 17);
}

.link-black::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--blackDsc);
    transition: width .2s;
}

.link-blue::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--blueDarkDch);
    transition: width .2s;
}

.link-red::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: rgb(185, 22, 22);
    transition: width .2s;
}

.link-green::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: rgb(33, 150, 17);
    transition: width .2s;
}


/* .main-nav__link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--blackDsc);
    transition: width .2s;

} */

.main-nav__link:hover::after {
    width: 100%;
}

.main-nav__icon {
    margin: 0em .5em 0px;
    padding: 0;
    width: fit-content;
    color: var(--grey2Dch);
}

.main-nav__logo-div {
    display: flex;
    align-items: center;
    margin-left: 0.5em;
    margin-bottom: 1.2em;
}

.main-nav__logo {
    height: 100%;
    padding-top: 1em;
    align-items: end;
    justify-content: end;
    margin: 0;
}

.bg-dachser {
    background-color: var(--orangeDch);
}

#nav-options__copy {
    width: 100%;
    display: block;
    background-color: var(--bgLightGrey);
}


/* **********DACHSER BUTTONS*********** */

.btn-dch-rounded-radius {
    min-height: 37px;
    border-radius: 20px !important;
    font-size: .85em;
    font-weight: 600;
    transition: all .2s linear;
}

.btn-dch {
    min-height: 37px;
    border-radius: 0 !important;
    font-size: .85em;
    font-weight: 600;
    transition: all .2s linear;
    padding-left: 10px;
    padding-right: 10px;
}

.btn-dir {
    min-height: 40px;
    border-radius: 0 !important;
    font-size: .85em;
    font-weight: 600;
    transition: all .2s linear;
    padding-left: 10px;
    padding-right: 10px;
}

.btn-dch2 {
    min-height: 37px;
    border-radius: 0 !important;
    font-size: .85em;
    font-weight: 600;
    transition: all 0s linear;
}

.btn--dark {
    border: 1px solid var(--blueDarker);
    background-color: var(--blueDarker);
    color: white;
}

.btn--dark:hover {
    background-color: var(--blueDarkDch);
}

.btn--dark-inverse:hover {
    border: 1px solid var(--blueDarkDch);
    background-color: white;
    color: var(--blueDarkDch);
}

.btn--light {
    color: var(--blueDarkDch);
    background-color: white;
    border: 1px solid white !important;
}

.btn--light:hover {
    color: white;
    background-color: var(--blueDarkDch);
    border: 1px solid white;
}

.btn--light-inverse {
    border: 1px solid white;
    background-color: white;
    color: transparent;
}

.btn--outline--black-inverse {
    width: fit-content;
    padding: 0 15px;
    color: var(--blackDsc);
    background-color: transparent;
    border: 1px solid var(--blackDsc);
    text-align: center;
}


/*  */

btn-check:checked+.btn--outline--black-inverse,
.btn--outline--black-inverse.active,
.btn--outline--black-inverse.show,
.btn--outline--black-inverse:first-child:active,
:not(.btn-check)+.btn--outline--black-inverse:active .btn--outline--black-inverse:active,
.btn--outline--black-inverse.active {
    background-color: var(--blackDsc);
    color: white;
}


/*  */

.btn--outline--black-inverse:hover {
    color: white;
    background-color: var(--blackDsc);
    /*   border: 1px solid var(--blackDsc); */
}

.btn--outline--light-inverse {
    color: white;
    background-color: transparent;
    border: 1px solid white;
}

.btn--light-inverse-border {
    border: 1px solid var(--blueDarker) !important;
    background-color: white;
    color: var(--blueDarkDch);
}

.btn--light-inverse-border:hover {
    color: white;
    background-color: var(--blueDarker);
}

.btn--light-inverse:hover {
    color: var(--blueDarkDch);
    background-color: white;
}

.btn--outline--light-inverse:hover {
    color: var(--blueDarker);
    background-color: white;
}

.btn-grey {
    background-color: #929292;
    border: none;
    color: #fff;
}

.btn-grey:hover {
    background-color: #5c5c5c;
    border: none;
    color: #fff;
}

.btn--outline--grey {
    background: none;
    border: 1px solid #C4C4C4;
    color: #C4C4C4;
}

.btn--outline--grey:hover {
    background-color: #C4C4C4;
    border: 1px solid #C4C4C4;
    color: #fff;
}

.btn-black {
    background-color: #222222;
    border: none;
    color: #fff;
}

.btn-black:hover {
    background-color: #0f0f0f;
    border: 1px solid #0f0f0f;
    color: #fff;
}

.btn--outline--black {
    background: none;
    border: 1px solid #222222;
    color: #222222;
}

.btn--outline--black:hover {
    background-color: #222222;
    border: 1px solid #222222;
    color: #fff;
}

.btn--outline--black.active {
    background-color: #0f0f0f;
    border: 1px solid #0f0f0f;
    color: #fff;
}

.btn-orange {
    background-color: #ffb61a;
    border: none;
    color: #000;
}

.btn-orange:hover {
    background-color: #ffc64b;
    border: none;
    color: #000;
}

.btn--outline--orange {
    background: none;
    border: 1px solid #ffb61a;
    color: #ffb61a;
}

.btn--outline--orange:hover {
    background-color: #ffb61a;
    border: none;
    color: #000;
}

.btn-success {
    background-color: #056e2a;
    border: none;
    color: #fff;
}

.btn-success:hover {
    background-color: #13833a;
    border: none;
    color: #fff;
}

.btn--outline--success {
    background: none;
    border: 1px solid #056e2a;
    color: #056e2a;
}

.btn--outline--success:hover {
    background-color: #056e2a;
    border: 1px solid #056e2a;
    color: #fff;
}

.btn-danger {
    background-color: #c01111;
    border: none;
    color: #fff;
}

.btn-danger:hover {
    background-color: #da2a2a;
    border: none;
    color: #fff;
}

.btn--outline--danger {
    background: none;
    border: 1px solid #c01111;
    color: #c01111;
}

.btn--outline--danger:hover {
    background-color: #c01111;
    border: 1px solid #c01111;
    color: #fff;
}

.btn-xpadding {
    padding: 0 15px;
}

.btn--emphasis {
    min-width: 200px;
    padding: 0 15px;
    border: 1px solid var(--orangeDch);
    background-color: var(--orangeDch);
    color: black;
}

.btn--emphasis:hover {
    border: 1px solid #fddd7e;
    background-color: #fddd7e;
}

.dchRounds {
    margin: 0px 4px;
    /* background: linear-gradient(var(--lightGrey), var(--lightGrey)); */
    background-color: #eaf1faff;
    border: 1px solid #eaf1faff;
}

.dchRounds:hover {
    /* background: linear-gradient(#cacfd6ff, #cacfd6ff); */
    background-color: #dbe1ebff;
    border-color: #dbe1ebff;
}

.dchRounds:hover .dchRounds:focus,
.dchRounds:active,
.dchRounds:hover .dchRounds:any-link {
    /*  background: linear-gradient( #ffcb2eff, #ffcb2eff); */
    background-color: #ffcb2eff;
    border-color: #ffcb2eff;
}

.dchRounds:disabled {
    pointer-events: none;
}

.dchRounds:disabled {
    background-color: var(--orangeDchOutline);
    color: var(--blackDsc);
    border-color: var(--orangeDchOutline);
}

.btn-check:checked+.dchRounds {
    /* background: linear-gradient(130deg, #ff8c2eff 0%, #ff8c2eff 15%, #ffcb2eff 45%, #ffcb2eff 100%); */
    background-color: #ffcb2eff;
    border-color: #ffcb2eff;
    color: var(--blackDsc);
}


/* ***** DACHSER BACKGROUND ***** */

.container-Dch {
    margin: 0;
}

.container-Dch--content {
    padding: 2em;
}

.keyvisual__img {
    background-repeat: no-repeat;
    object-fit: cover;
    overflow: hidden;
    min-height: 12em;
    max-height: 12em;
    height: 12em;
    width: auto;
}


/* ***** DACHSER CARDS ***** */

.card--dachser {
    display: flex;
    align-self: center;
    border-radius: 0%;
    max-height: 22em;
    min-height: 22em;
    min-width: 17em;
    max-width: 17em;
    padding: 0;
    border: 0;
}

.card--dachser__text {
    padding: 1em;
    overflow-y: hidden;
}

.card--dachser_Hover {
    position: relative;
}

.card--dachser__overflow-shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
    box-shadow: #ffffff 0px -70px 30px -35px inset;
}

.card--dachser__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
    transition: all .2s linear;
}

.card--dachser:hover .card--dachser__overlay {
    background-color: #143170ee;
}

.card--dachser:hover .horizontalLine::before {
    background-color: var(--orangeDch);
}

.card--dachser:hover .btn--card {
    color: var(--blueDarkDch) !important;
    background-color: white;
    border: 1px solid white;
}

.card--dachser:hover .btn--card:hover {
    color: white !important;
    background-color: var(--blueDarkDch) !important;
    border: 1px solid white;
}

.btn--card:hover {
    color: white !important;
    background-color: var(--blueDarkDch) !important;
    border: 1px solid white;
}

.btn--card {
    color: transparent !important;
    background-color: transparent;
    border: 1px transparent;
    transition: all .2s linear;
}

.horizontalLine::before {
    content: '';
    display: block;
    width: 100%;
    height: 10px;
    margin-left: 1rem;
    overflow: hidden;
    transition: all .2s linear;
}

.btn--card__btn-container {
    height: 93%;
    display: flex;
    flex-direction: column-reverse;
    align-items: end;
    padding: 0;
    /* padding: ; */
}


/* DACHSER SECTION STYLES */

.dch-section {
    width: 100%;
    min-height: 34em;
    padding: 5em 0;
}

.dch-section__content {
    max-width: 76em;
    margin: 0% auto 0%;
    padding: 0% 2.5em 0%;
}

@media (max-width:40em) {
    .dch-section__content {
        padding: 0 1em;
    }
}

@media(max-width: 1199px) {

    .dch-section__content,
    .container__section {
        max-width: 100%;
    }
}

@media(min-width: 1200px) {

    .dch-section__content,
    .container__section {
        max-width: 75%;
    }
}


/* RESPONSIVE SECTION */

.responsive-section-data {
    font-size: 3em !important;
    font-weight: 400 !important;
    margin-bottom: 0;
}

@media (min-width: 576px) and (max-width: 1199.98px) {
    .responsive-section-data {
        font-size: 2.2em !important;
    }
}

.responsive-section-bordered>div {
    border-right: 1px solid white;
}

.responsive-section-bordered>div:last-child {
    border: none;
}

.overflow-x-none {
    overflow-x: hidden;
}

@media (max-width: 767.98px) {

    .responsive-section-bordered,
    .responsive-section-bordered-right {
        border: none !important;
    }
}


/* FLOATING MENU */

.contact-slider {
    position: fixed;
    /* Cambia de absolute a fixed */
    top: 50%;
    right: 0;
    /* Asegúrate de que está pegado al borde derecho */
    transform: translateY(-50%);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 300px;
}

.contact-slider>ul {
    list-style-type: none;
}

.contact-slider>ul>li {
    margin-bottom: 10px;
}

.contact-slider>ul>li>a {
    text-decoration: none;
}

.contact-slider>ul>li>a:hover {
    text-decoration: none;
    cursor: default;
}

.slider-content {
    width: 330px;
    transform: translateX(235px);
    /* Oculta todo excepto el icono */
    transition: transform 0.3s ease;
    border: 1px solid black;
}

.icon-section:hover+.text-section,
.icon-section:hover {
    cursor: pointer;
}

.icon-section {
    background-color: #ffb61a;
    color: #1a3682;
    border-right: 1px solid black;
}

.text-section {
    background-color: white;
    color: black;
}

.text-section {
    cursor: pointer;
}


/* LINK CARDS */

.triangle-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 80px solid #1a3682;
    border-left: 80px solid transparent;
}

.triangle-corner::after {
    content: "";
    position: absolute;
    top: -7px;
    right: -10px;
    width: 130px;
    height: 0;
    border-top: 10px solid #ffb61a;
    transform: rotate(45deg) translate(6px, 10px);
    transform-origin: top right;
    clip-path: polygon(8% 0, 92% 0, 100% 100%, 0% 100%);
}

.title-link-card {
    color: #0b3d91;
    position: relative;
    display: inline-block;
    max-width: 70%;
    transition: transform 0.3s ease;
}

.title-link-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.link-card:hover .title-link-card::after {
    width: 100%;
}

.iconoLinkCard {
    transition: transform 0.3s ease;
}

.link-card {
    transition: background-color 0.3s ease;
    min-height: 120px;
}

.title-link-card,
.content-link-card {
    transition: color 0.3s ease;
}

.link-card-link {
    text-decoration: none;
    display: block;
}

.link-card {
    background-color: white;
    padding: 20px;
}

.diviconoLinkCard {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffc107
}

.content-link-card {
    color: black;
}


/* CARRUSEL */

.dch-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.dch-carousel-images-wrapper {
    width: 100%;
}

.dch-carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.dch-carousel-slide {
    min-width: 100%;
    height: 500px;
    /* Puedes ajustar la altura */
    background-size: cover;
    background-position: center;
    position: relative;
}

.dch-carousel-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.dch-carousel-controls-wrapper {
    background-color: white;
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
}

.dch-carousel-controls {
    display: flex;
    gap: 20px;
    align-items: center;
}

.dch-carousel-controls button {
    background: none;
    color: #0b3d91;
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding-bottom: 8px;
}

.dch-carousel-controls-indicators>span {
    padding: 4px;
    border: 1px solid black;
    height: 0;
    width: 0;
}

.dch-carousel-card {
    position: absolute;
    background-color: rgba(26, 54, 130, .8);
    color: white;
    width: 275px;
    position: absolute;
    bottom: 0;
    left: 17%
}

.dch-carousel-card-content {
    border-left: 10px solid #ffb61a;
    margin-bottom: 25px;
    padding: 10px;
    padding-bottom: 0;
    font-weight: 400;
}

.dch-carousel-card-content>p {
    font-size: 15px;
}

.dch-carousel-card-title {
    margin-top: 15px
}

.dch-carousel-card-btn {
    width: 100%;
    background-color: white;
    border: none;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 8px;
    padding-top: 8px;
    font-size: smaller;
    font-weight: 600;
    color: #0b3d91;
    margin-top: 15px
}


/* EXTERNAL MENU */


/* Menu desktop */

.desktop-ext-menu {
    display: none;
    justify-content: center;
    /*  z-index: 2; */
    background-color: white;
    height: 75px;
    overflow: hidden;
}

@media (min-width: 993px) {
    .desktop-ext-menu {
        display: flex;
    }
}

.desktop-ext-menu-submenu {
    display: none;
    position: absolute;
    /* para superponerse */
    top: 100%;
    /* justo debajo del elemento padre */
    left: 0;
    z-index: 999;
    background-color: white;
    min-height: 30px;
    width: 100%
}


/* Mostrar solo en pantallas de desktop (≥ 992px, por ejemplo) */

@media (min-width: 993px) {
    .desktop-ext-menu-submenu {
        display: block;
        /* o block según tu layout */
    }
}

.dropdown-item:hover {
    background: #e9e9e9;
}

.dropdown-item-plus {
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='12' viewBox='0 0 8 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5-5 5' stroke='%230b3d91' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 8px 12px;
}

.dropdown-item-plus:hover {
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='12' viewBox='0 0 8 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5-5 5' stroke='%230b3d91' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 8px 12px;
}

.submenu>li>a {
    padding-left: 30px;
    padding-top: 10px;
    padding-bottom: 10px
}

.submenu-extension>li>a {
    padding-left: 30px;
    padding-top: 10px;
    padding-bottom: 10px
}

.submenu-extension {
    max-width: 0;
    overflow: hidden;
    display: none;
}

.submenu.highlighted {
    box-shadow: 6px 10px 10px -4px rgba(20, 20, 20, 0.2);
    transition: box-shadow 0.3s ease-in-out;
}

.highlighted {
    box-shadow: 6px 10px 10px -4px rgba(20, 20, 20, 0.2);
}

.submenu-extension.show {
    max-width: 600px;
    display: flex;
    flex-direction: column;
}

.dropdown-block {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    min-height: 100%;
}

.dropdown-block.show {
    max-height: 600px;
}

.dropdown-block-search {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    min-height: 100%;
}

.dropdown-block-search.show {
    max-height: 100px;
}

.dropdown-block-login {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    min-height: 100%;
}

.dropdown-block-login.show {
    max-height: 500px;
}

.bootstrap-select.disabled>button.btn {
    background-color: rgb(238, 238, 238) !important;
    border: 1px solid var(--blueDarker);
    width: 100%;
    border-radius: 0 !important;
    transition: border-left-color .5s ease, border-left-width .25s ease
}

.bootstrap-select.is-invalid-selectpicker>button.btn {
    border: 1px solid rgb(214, 55, 55);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23d63737" viewBox="0 0 16 16"><path d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.708c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.414 0 .75.336.75.75v3.5a.75.75 0 0 1-1.5 0v-3.5C7.25 5.336 7.586 5 8 5zm0 7a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 25px center;
    background-size: 16px 16px;
    border-radius: 0;
}

.input-ext {
    background-color: white !important;
    color: black;
    /* border: 1px solid rgb(197, 197, 197); */
    border: 1px solid rgb(197, 197, 197);
    width: 100%;
    min-height: 37px;
    padding: 5px;
    border-radius: 0 !important;
    transition: border-left-color .5s ease, border-left-width .25s ease
}

.input-ext:focus {
    outline: none;
    border-left: 5px solid #0b3d91;
    transition: border-left-color .5s ease, border-left-width .25s ease
}

.input-ext.is-invalid {
    border: 1px solid rgb(214, 55, 55);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23d63737" viewBox="0 0 16 16"><path d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.708c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.414 0 .75.336.75.75v3.5a.75.75 0 0 1-1.5 0v-3.5C7.25 5.336 7.586 5 8 5zm0 7a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 22px center;
    background-size: 16px 16px;
}

.input-ext:disabled {
    background-color: rgb(238, 238, 238) !important;
    color: black;
    border: 1px solid var(--blueDarker);
    width: 100%;
    min-height: 37px;
    padding: 5px;
    border-radius: 0 !important;
    transition: border-left-color .5s ease, border-left-width .25s ease
}

.input-ext:disabled:hover,
.input-ext:disabled:focus {
    background-color: rgb(238, 238, 238) !important;
}

.input-ext button {
    padding: 0;
}

.input-ext:hover,
.input-ext:focus {
    background-color: white !important;
}

input.input-ext:-webkit-autofill {
    background-color: rgb(240, 240, 240) !important;
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: black !important;
    transition: background-color 9999s ease-out, color 9999s ease-out;
}

.input-ext2 {
    background-color: white !important;
    color: black;
    border: 1px solid rgb(197, 197, 197);
    width: 100%;
    min-height: 37px;
    /* padding: 5px; */
    border-radius: 0 !important;
}


/***Index Cards Style***/

.bodyCard {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.containerCard {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* padding : 60px;   */
}

.containerCard .cardCard {
    position: relative;
    min-width: 300px;
    max-width: 300px;
    height: 210px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: 0.5s ease-in-out;
    border-radius: 10px;
}

.containerCard .cardCard:hover {
    height: 380px;
}

.containerCard .cardCard .imageCard {
    position: relative;
    width: 250px;
    height: 150px;
    top: -30%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    z-index: 1;
}

.containerCard .cardCard .imageCard img {
    width: 250px;
    height: 150px;
    border-radius: 15px;
    object-fit: cover;
}

.containerCard .cardCard .imageCard div {
    padding-top: 2px;
    position: relative;
    top: 5px;
    width: 290px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 100%;
    border-radius: 15px;
}

.containerCard .cardCard .contentCard {
    position: relative;
    top: -140px;
    padding: 10px 10px;
    width: 220px;
    color: #111;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease-in-out;
}

.containerCard .cardCard .contentCard>p {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    padding-bottom: 10px;
    font-size: larger;
}

.contentCard>h1 {
    align-items: end;
    color: #0b3d91;
    font-size: 3em;
}

.contentCard>h1:hover {
    color: #1552bb;
}

.containerCard .cardCard:hover .contentCard {
    margin-top: 120px;
    visibility: visible;
    opacity: 1;
    transition-delay: 0.3s;
}

.menu-toggle {
    font-size: 17px;
    background: none;
    border: none;
}

.boton-icono {
    background: none;
    border: none;
    color: grey
}

.selLang {
    border: none;
    margin-right: 20px
}

.lang {
    display: none;
}

.selLang option {
  background-repeat: no-repeat;
  background-size: 18px 13px;
  background-position: 6px center;
  padding-left: 30px;
}

.selLang option[value="ES"] { background-image: url("https://flagcdn.com/w20/es.png"); }
.selLang option[value="EN"] { background-image: url("https://flagcdn.com/w20/gb.png"); }
.selLang option[value="FR"] { background-image: url("https://flagcdn.com/w20/fr.png"); }
.selLang option[value="PT"] { background-image: url("https://flagcdn.com/w20/pt.png"); }
.selLang option[value="DE"] { background-image: url("https://flagcdn.com/w20/de.png"); }

.logo-dch-block {
    width: 180px !important;
    display: flex;
    align-items: center;
}

.logo-dch-block>img {
    width: 100%;
    height: 100%;
}

@media (max-width: 1440px) {
    .logo-dch-block {
        width: 152px !important;
        display: flex;
        align-items: center;
    }
}



.logo-dch-block-extra {
    width: 140px !important;
    display: flex;
    align-items: center;
    padding-top: 25px;
    background-color: var(--orangeDch);
}

.logo-dch-block-extra>img {
    width: 93%;
    height: 93%;
}

@media (max-width: 1440px) {
    .logo-dch-block-extra {
        width: 152px !important;
        display: flex;
        align-items: center;
    }
}

.logo-dch-block-alto {
    width: 110px !important;
    height: 50px !important;
    display: flex;
    align-items: center;
}

.logo-dch-block-alto>img {
    width: 100%;
    height: 100%;
}


.logo-dch-block-footer {
    background-color: #f1f1f1;
    padding: 10px;
    padding-top: 10px;
    max-width: 125px !important;
}

.logo-dch-block-footer>img {
    width: 120px;
    height: 30px;
}

.dropdown-block-search>div {
    border-top: 1px solid rgb(240, 240, 240);
    border-bottom: 1px solid rgb(240, 240, 240)
}

.dropdown-block>div>div:first-child {
    padding-right: 80px;
    padding-bottom: 70px;
    padding-top: 45px;
    box-shadow: 6px 10px 10px -4px rgba(20, 20, 20, 0.2);
}

.dropdown-block>div>div>h4 {
    color: #0b3d91;
    font-weight: 600;
    font-size: 22px
}

.dropdown-block>div>div>p {
    color: rgb(71, 71, 71);
    font-size: 17px
}

.submenu {
    background: none;
    list-style-type: none;
    margin: 0;
    color: rgb(71, 71, 71);
    font-size: 17px;
    overflow-y: auto
}

.dropdown-block-search input {
    border: none;
}

.submenu-extension {
    background: none;
    list-style-type: none;
    margin: 0;
    color: rgb(71, 71, 71);
    font-size: 17px
}


/* Menu tablet/mobile */

.mobile-ext-menu {
    display: none;
    background-color: white;
    height: 75px;
    overflow: hidden;
}

@media (max-width: 992px) {
    .mobile-ext-menu {
        display: flex;
    }
}

.mobile-ext-menu-submenu {
    display: none;
    flex-grow: 1;
    flex-direction: column;
    z-index: 1100;
}

@media (max-width: 992px) {
    .mobile-ext-menu-submenu {
        display: flex;
        position: fixed;
        overflow: hidden;
        flex-grow: 1;
        height: 100%;
        width: 100%;
        touch-action: none;
    }
}

.mobile-block {
    margin: 0;
    height: 0vh;
    background-color: white;
    display: none;
    flex-direction: column;
}

@media (max-width: 992px) {
    .mobile-block {
        display: flex;
        height: auto;
    }
}

.submenu-mobile>li>a {
    padding-left: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgb(240, 240, 240);
}

.dropdown-item-plus-mobile {
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='12' viewBox='0 0 8 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5-5 5' stroke='%230b3d91' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 8px 12px;
}

.dropdown-item-plus-mobile:hover {
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='12' viewBox='0 0 8 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5-5 5' stroke='%230b3d91' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 8px 12px;
}

.submenuMobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    background-color: white;
    height: 100%;
}

.submenuMobile.show {
    transform: translateX(0);
    opacity: 1;
}

.dropdown-block-search-mobile {
    max-height: 0px;
    overflow: hidden;
    padding: 0px;
    padding-left: 15px;
    transition: max-height 0.5s ease;
}

.dropdown-block-search-mobile.show {
    max-height: 100px;
}

.dropdown-block-login-mobile {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.dropdown-block-login-mobile.show {
    max-height: 300px;
}

.mobile-ext-menu ul li button {
    background: none;
    border: none;
    color: grey;
    padding: 6px;
    padding-bottom: 5px;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-ext-menu ul li select {
    border: none;
    margin-right: 20px
}

.logo-dch-block-mobile {
    width: 150px !important;
    display: flex;
}

.logo-dch-block-mobile>img {
    width: 100%;
    height: 100%;
}

@media (max-width: 425px) {
    .logo-dch-block-mobile {
        width: 140px !important;
        display: flex;
    }
}

@media (max-width: 320px) {
    .logo-dch-block-mobile {
        width: 130px !important;
        display: flex;
    }
}

.logo-dch-block-mobile-alto {
    width: 100px !important;
    display: flex;
}

.logo-dch-block-mobile-alto>img {
    width: 100%;
}

@media (max-width: 425px) {
    .logo-dch-block-mobile-alto {
        width: 100px !important;
        display: flex;
    }
}

@media (max-width: 320px) {
    .logo-dch-block-mobile-alto {
        width: 130px !important;
        display: flex;
    }
}

.submenu-mobile {
    background: none;
    list-style-type: none;
    margin: 0;
    color: rgb(71, 71, 71);
    font-size: 17px;
    overflow-y: auto
}


/* NEW CAROUSEL */

@import url("https://fonts.googleapis.com/css?family=Titillium+Web:400,700&display=swap");

.carousel {
    min-height: 700px;
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
}

.progress-bar__fill {
    width: 0;
    height: inherit;
    background: #ffb61a;
    transition: all 0.16s;
}

.progress-bar--primary {
    z-index: 2;
}

.main-post-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.main-post {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.main-post__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
}

.main-post__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.main-post__image::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 13, 14, 0.5);
}

.main-post__content {
    position: absolute;
    top: 40%;
    left: 4%;
    transform: translateY(-40%);
    color: #fff;
    width: 90%;
}

.main-post__tag-wrapper {
    margin: 0;
    display: inline-flex;
    overflow: hidden;
}

.main-post__tag {
    font-size: 0.95em;
    background: #0033a0;
    color: #ffb61a;
    padding: 6px 18px;
}

.main-post__title {
    font-weight: 700;
    font-size: 1.95em;
    line-height: 1.25;
    text-shadow: 0 1px 2px rgba(11, 55, 151, 0.5);
}

.main-post__link {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
}

.main-post__link-text {
    font-size: 0.9em;
}

.main-post__link-icon--arrow {
    margin-left: 12px;
}

.main-post__link-icon--play-btn {
    margin-right: 12px;
}

.main-post__link:hover .main-post__link-text,
.main-post__link:hover .main-post__link-icon--arrow path {
    color: #ffb61a;
    stroke: #ffb61a;
}

.main-post--active {
    top: 0;
    z-index: 1;
    transition: top 0.9s 0.4s ease-out;
}

.main-post--not-active {
    top: 100%;
    z-index: 0;
    transition: top 0.75s 2s;
}

.main-post.main-post--active .main-post__tag-wrapper {
    width: 25%;
    transition: all 0.98s 1.9s;
}

.main-post.main-post--not-active .main-post__tag-wrapper {
    width: 0;
    transition: width 0.3s 0.2s;
}

.main-post.main-post--active .main-post__title {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s 1.42s, transform 0.5s 1.4s;
}

.main-post.main-post--not-active .main-post__title {
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.2s 0.35s, opacity 0.5s 0.2s;
}

.main-post.main-post--active .main-post__link {
    opacity: 1;
    transition: opacity 0.9s 2.2s;
}

.main-post.main-post--not-active .main-post__link {
    opacity: 0;
    transition: opacity 0.5s 0.2s;
}

.posts-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 14px;
    position: absolute;
    bottom: 0;
    max-width: 95%;
    margin: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1;
}

.post {
    background: rgba(21, 31, 117, 0.8);
    opacity: 0.3;
    color: #fff;
    position: relative;
    padding: 16px 20px;
    transition: opacity 0.2s linear;
}

.post__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
}

.post__tag {
    color: #80837e;
}

.post__title {
    font-weight: 400;
    font-size: 0.95em;
    line-height: 1.5;
}

.post--active {
    opacity: 1;
    background: rgba(5, 8, 53, 0.75);
    pointer-events: none;
}

.post--disabled {
    pointer-events: none;
}

.post:hover {
    cursor: pointer;
    opacity: 1;
}

.hide-on-mobile {
    display: none;
}

@media screen and (min-width: 768px) {
    .main-post__title {
        font-size: 2.9em;
    }
}

@media screen and (min-width: 1024px) {
    .hide-on-mobile {
        display: grid;
    }

    .hide-on-desktop {
        display: none;
    }
}

@media screen and (min-width: 1440px) {
    .main-post__content {
        width: 45%;
    }

    .posts-wrapper {
        left: 80%;
        transform: translateX(-80%);
        max-width: 70%;
    }
}


/* FLOATING SECTION */

html,
body {
    background-color: white;
}

.whiteBg>.floating-section {
    position: relative;
    margin-top: -100px;
    background-color: white;
    min-height: 60vh;
    box-shadow: 
        0 50px 50px -50px rgba(100, 100, 100, 0.30),  /* arriba */
        50px 0 50px -50px rgba(100, 100, 100, 0.30),  /* izquierda */
        -50px 0 50px -50px rgba(100, 100, 100, 0.30);
}

.whiteBg>.floating-section-top {
    position: relative;
    margin-top: -300px;
    min-height: 60vh;
    background-color: white;
    box-shadow: 
        0 50px 50px -50px rgba(100, 100, 100, 0.30),  /* arriba */
        50px 0 50px -50px rgba(100, 100, 100, 0.30),  /* izquierda */
        -50px 0 50px -50px rgba(100, 100, 100, 0.30);
}

@media (max-width: 768px) {
    .whiteBg>.floating-section-top {
        position: relative;
        margin-top: -50px;
        background-color: white;
    }
}


/* Imagen de fondo */

.bg-image {
    min-height: 500px;
    background-size: cover;
    background-position: 50% 50%;
}

@media (max-width: 425px) {
    .bg-image {
        min-height: 300px !important;
        background-size: cover;
    }

    .whiteBg>.floating-section {
        position: static !important;
        transform: none !important;
        max-width: 100% !important;
        padding: 1rem !important;
    }
}

.ext-article {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ext-article p {
    text-align: justify;
    font-size: 16px;
}

.ext-article>ul {
    text-align: justify;
    gap: 0px;
    display: flex;
    flex-direction: column;
    list-style-type: square;
}

.ext-article ul li::marker {
    color: var(--blueDarker);
    font-size: 1.2em;
}

.ext-toggle {
    padding-top: 5px;
}

.ext-toggle+.ext-toggle {
    border-top: 1px solid grey;
}

.ext-toggle-text {
    margin-bottom: 10px;
}

.fa-rotating {
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.fa-rotating.rotate-45 {
    transform: rotate(45deg);
}

.fa-rotating.invert-45 {
    transform: rotate(0deg);
}

.ext-toggle-button p {
    color: #1a3682;
    font-weight: 650
}

.ext-toggle-button h5 {
    color: #1a3682;
}

.ext-link-button p {
    color: #1a3682;
    font-weight: 650
}

.ext-link-button h5 {
    color: #1a3682;
}

.ext-link,
.ext-link .ext-link-content,
.ext-link .iconExtLink,
.ext-link .ext-link-content p {
    transition: background-color .25s ease,
        color .25s ease,
        border-left-color .25s ease,
        border-left-width .35s ease;
}

.floating-section {
    background-color: white;
    position: absolute;
    top: -100px
}

.floating-section>div>h1 {
    color: var(--blueDarker);
}

.floating-section>div>.links {
    font-size: small;
}

.floating-section>div>p>a {
    text-decoration: none;
    color: black;
}

.floating-section>div>p>a:hover {
    text-decoration: none;
    color: #ffb61a;
}

.floating-section>div>p>a {
    color: black;
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating-section>div>p>a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background-color: #ffb61a;
    transition: width 0.3s ease;
}

.floating-section>div>p>a:hover::after {
    width: 100%;
}

.floating-section-top {
    background-color: white;
    position: absolute;
    top: -100px
}

.floating-section-top>div>h1 {
    color: var(--blueDarker);
}

.floating-section-top>div>.links {
    font-size: small;
}

.floating-section-top>div>div>p>a {
    text-decoration: none;
    color: black;
}

.floating-section-top>div>div>p>a:hover {
    text-decoration: none;
    color: #ffb61a;
}

.floating-section-top>div>div>p>a {
    color: black;
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating-section-top>div>div>p>a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background-color: #ffb61a;
    transition: width 0.3s ease;
}

.floating-section-top>div>div>p>a:hover::after {
    width: 100%;
}

.links {
    font-size: small;
}

.links>a {
    text-decoration: none;
    color: black;
}

.links>a:hover {
    text-decoration: none;
    color: #ffb61a;
}

.links>i {
    color: #ffb61a;
}

.links>a {
    color: black;
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.links>a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background-color: #ffb61a;
    transition: width 0.3s ease;
}

.links>a:hover::after {
    width: 100%;
}

.blue-links {
    font-size: small;
}

.blue-links>a {
    text-decoration: none;
    color: black;
}

.blue-links>a:hover {
    text-decoration: none;
    color: var(--blueDarker);
}

.blue-links>a {
    color: black;
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.blue-links>a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: var(--blueDarker);
    transition: width 0.3s ease;
}

.blue-links>a:hover::after {
    width: 100%;
}

.ext-article h1 {
    font-size: 38px;
    font-weight: 700;
    color: var(--blueDarker);
}

.ext-article h2 {
    font-size: 34px;
    font-weight: 400;
    color: #727272;
}

.ext-article h4 {
    font-size: 24px;
    font-weight: 400;
    color: var(--blueDarker);
}

.form-check-input {
    border-radius: 0 !important;
}

/* Hacer el círculo cuadrado */
.form-check-input::before {
    border-radius: 0 !important;
}

/* También el thumb (el indicador que se mueve) */
.form-check-input:checked::after,
.form-check-input::after {
    border-radius: 0 !important;
}

/* Color de fondo cuando está activado */
.form-check-input:checked {
    background-color: var(--blueDarker) !important;
    border-color: var(--blueDarker) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3crect r='3' fill='%23fff' x='-3' y='-3' width='6' height='6'/%3e%3c/svg%3e") !important;
}

.form-check-input:not(:checked) {
    background-color: var(--bgLightGrey) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3crect fill='%23fff' x='-3' y='-3' width='6' height='6'/%3e%3c/svg%3e") !important;
}


/* BLUE SECTION TEXT */

.dch-sectionBlue-text h1 {
    font-weight: 400;
}

.dch-sectionBlue-text h6 {
    font-weight: 700;
    margin-top: 10px;
}


/* FOOTER */

.footerFont {
    font-size: smaller;
}


/* Badge */

.badgeBtn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 0.6rem;
    border-radius: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.dimInput .col {
    position: relative;
}

.dimInput div>input {
    border: 1px solid rgb(197, 197, 197);
    min-height: 37px;
    padding: 0;
    margin: 0;
    text-align: center;
}

.dimInput div>input.is-invalid {
    border: 1px solid rgb(214, 55, 55);
    min-height: 37px;
    padding: 0;
    margin: 0;
    text-align: center;
}

.dimInput div:nth-child(1)>input {
    border-right: none;
    min-height: 37px;
    padding: 0;
    margin: 0;
}

.dimInput div:nth-child(2)>input {
    border-right: none;
    border-left: none;
    min-height: 37px;
    padding: 0;
    margin: 0;
}

.dimInput div:nth-child(3)>input {
    border-left: none;
    min-height: 37px;
    padding: 0;
    margin: 0;
}

.dimInput div:nth-child(4) {
    background-color: var(--blueDarker);
    padding: 0;
    max-height: 37px;
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
    font-weight: 300;
    padding-bottom: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dimInput div:nth-child(4)>p {
    margin: 0;

}

.dimInput .col:nth-child(1)::after,
.dimInput .col:nth-child(2)::after {
    content: "×";
    position: absolute;
    top: 50%;
    right: -2px;  /* Cambiar a valor negativo para que salga del contenedor */
    transform: translateY(-50%);
    color: #6c757d;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
    z-index: 10;  /* Aumentar z-index */
    text-shadow: 0 0 2px #fff;
    background: white;  /* Añadir fondo para que no se mezcle */
    padding: 0 2px;
}

.dimInput .col input[type="number"]::-webkit-outer-spin-button,
.dimInput .col input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.dimInput .col input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.dimInput .col>input:focus {
    outline: none;
    box-shadow: none;
    border-top: 1px solid rgb(197, 197, 197);
    border-bottom: 1px solid rgb(197, 197, 197);
    border-left: 0;
    border-right: 0;
}

.dimInput:focus-within .col:first-child>input {
    border-left: 5px solid #0b3d91;
    transition: border-left-color .5s ease, border-left-width .25s ease;
}

.dimInput:not(:focus-within) .col:first-child>input {

    transition: border-left-color .5s ease, border-left-width .25s ease;
}

.bootstrap-select .dropdown-toggle:focus {
    transition: border-left-color .5s ease, border-left-width .25s ease;
    border-left: 5px solid #0b3d91;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    outline: none;
    border-radius: 0;
    transition: border-left-color .5s ease, border-left-width .25s ease;
    border-left: 5px solid #0b3d91;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn {
    transition: border-left-color .5s ease, border-left-width .25s ease;
}

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
    outline: none !important;
    border-radius: 0px;
}

.input-aux {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 300;
    background-color: #1a3682;
    color: white;
    padding-left: 5px;
    padding-right: 5px;
}

.input-aux>p {
    font-weight: 300;
    margin: 0 !important;
}

/* quill styles */

.ql-align-right {
    text-align: right !important;
}

.ql-align-center {
    text-align: center !important;
}

.ql-align-justify {
    text-align: justify !important;
}

.input-ext-pill {
    background-color: #1a3682;
    height: 37px;
    font-weight: 300;
    font-size: 14px;
    padding-left: 5px;
    padding-right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.selectpicker-ext-pill {
    background-color: #1a3682;
    height: 40px;
    font-weight: 300;
    font-size: 14px;
    padding-left: 5px;
    padding-right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.chk-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.btn-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 37px;
    padding: 5px 12px;
    background: #fff;
    color: #000000;
    border: 1px solid rgb(197, 197, 197);
    border-radius: 0;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease;
    text-align: center;
}


.chk-toggle:checked+.btn-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 8px;
    width: 6px;
    height: 12px;
    border: solid var(--green);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Si también quieres que el borde del botón se ponga negro al activar */
.chk-toggle:checked+.btn-toggle {
    border-color: #000;
    color: #000;
}

/* Opcional: foco accesible con teclado */
.chk-toggle:focus-visible+.btn-toggle {
    outline: 3px solid #99b3ff;
    outline-offset: 2px;
}

/* Opcional: efecto hover */
.btn-toggle:hover {
    border-color: #2a52b5;
}

.chk-toggle:checked + .btn-toggle.tick-error::after {
    content: "";
    position: absolute;
    top: 35%;
    right: 6px;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23d63737" viewBox="0 0 16 16"><path d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.708c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.414 0 .75.336.75.75v3.5a.75.75 0 0 1-1.5 0v-3.5C7.25 5.336 7.586 5 8 5zm0 7a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}


.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-responsive-21by9::before {
    padding-top: 42.857143%;
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive-4by3::before {
    padding-top: 75%;
}

.embed-responsive-1by1::before {
    padding-top: 100%;
}

.alert-badge {
    position: absolute;
    top: -4px;
    /* ajusta según tu diseño */
    right: -4px;
    /* ajusta según tu diseño */
    width: 14px;
    /* tamaño del círculo */
    height: 14px;
    border-radius: 50%;
    background: rgb(202, 40, 40);
    /* negro (puedes usar #ffb61a si lo quieres en dorado) */
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    /* tamaño del icono */
    line-height: 1;
    box-shadow: 0 0 0 2px #fff;
    /* anillo blanco para separar si hay fondo claro */
}

.input-ext-promo {
    background-color: white !important;
    color: black;
    border: 1px solid rgb(197, 197, 197);
    width: 100%;
    min-height: 37px;
    padding: 5px;
    border-radius: 0 !important;
    transition: border-left-color .5s ease, border-left-width .25s ease
}

.input-ext-promo::placeholder {
    color: #0b60cf;
    /* azul (tailwind 'blue-800'), elige el tono que prefieras */
    opacity: 1;
    /* en algunos navegadores el placeholder es semitransparente */
}

/* Aumentar el ancho del menú desplegable de bootstrap-select */
.bootstrap-select .dropdown-menu {
    min-width: 250px !important;
    /* Cambia 250px por el ancho que prefieras */
    max-width: none !important;
    /* Evita que se recorte */
    width: auto !important;
    /* Se ajusta al contenido */
}

/* --- FIX Visual para los dropdowns de DataTables --- */
.dataTables_wrapper,
table.dataTable,
.table-responsive {
  overflow: visible !important;
}

.dropdown-menu {
  z-index: 20000 !important;
}

.mainBody {
min-height: 100vh;
}

.pagination .page-item.active .page-link {
  background-color: #0b3d91;
}

table.table.dataTable>tbody>tr.selected>* {
  box-shadow: none !important;
  background-color: #0b3d91 !important;
}