/* Estilos comunes a todas las páginas (escritorio, móvil y legales). */

/*---------------------  TRANSICIÓN ENTRE PÁGINAS  -------------------------*/

@media (prefers-reduced-motion: no-preference) {
    body {
        animation: aparecer 0.3s ease;
        transition: opacity 0.3s ease;
    }

    body.saliendo {
        opacity: 0;
    }
}

@keyframes aparecer {
    from {
        opacity: 0;
    }
}

/*---------------------  FORMULARIO: CAMPO TRAMPA ANTISPAM  ----------------*/

.campo-trampa {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/*---------------------  SWEETALERT OVERRIDE  ------------------------------*/

.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #0d4f47 !important;
}

.swal2-styled.swal2-confirm {
    background-color: #0d4f47 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: #0d4f47 !important;
}

/*---------------------  COOKIE BOT OVERRIDE  ------------------------------*/

#CybotCookiebotDialog #CybotCookiebotDialogBodyContentText a, #CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonIABHeaderViewPartnersLink, #CybotCookiebotDialog #CybotCookiebotDialogDetailBulkConsentList dt a, #CybotCookiebotDialog #CybotCookiebotDialogDetailFooter a, #CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABDescription a, #CybotCookiebotDialog .CybotCookiebotDialogDetailBodyContentCookieLink, #CybotCookiebotDialogDetailBodyContentTextAbout a {
    color: #0d4f47 !important;
}

#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
    background-color: #0d4f47 !important;
    border-color: #0d4f47 !important;
}

#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonCustomize, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
    border-color: #0d4f47 !important;
}

#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
    border-bottom: 1px solid #0d4f47 !important;
    color: #0d4f47 !important;
}

#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
    border: 2px solid #0d4f47 !important;
}

#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a {
    color: #0d4f47 !important;
}

#CybotCookiebotDialog input:checked + .CybotCookiebotDialogBodyLevelButtonSlider {
    background-color: #0d4f47 !important;
}

#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change {
    background-color: #0d4f47;
    border-color: #0d4f47;
    color: #FFFFFF;
}
