.footer-personalized {
    display: flex;
    height: var(--footer-height);
    align-items: center;
    align-content: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    background-color: transparent;
    /* box-shadow: 2px 2px 8px -2px rgba(0, 0, 0, 0.05), 2px 2px 50px -6px rgba(0, 0, 0, 0.05), 0px 0px 0px 1px rgba(255, 255, 255, 0.10), -2px -2px 1px -2px #FFF inset, 2px 2px 1px -2px #FFF inset; */
}

.header-wrapper:hover, .footer-personalized:hover {
    z-index: 30;
}

.footer-container-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0 40px;
    padding: 0 40px;
    max-height: 100px;
}

.footer__container-organized, .footer__container-secretary {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer__container-organized .text-wrapper, .footer__container-secretary .text-wrapper, .footer__container-modals .container-modals .text-wrapper {
    width: fit-content;
    margin-top: -1.00px;
    font-family: "Aptos", sans-serif !important;
    font-weight: 400;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0;
    line-height: normal;
}

a.text-wrapper {
    line-height: 11px;
}

.footer__container-organized .footer-logo-1 {
    width: auto;
    max-width: 100%;
    height: 73px;
    max-height: 73px;
    object-fit: contain;
    object-position: left center;
}

.footer__container-secretary .footer-logo-2 {
    width: 100px;
    height: 73px;
    object-fit: contain;
    object-position: left center;
}

.footer__container-modals {
    display: inline-flex;
    align-items: flex-end;
    align-content: space-between;
    justify-content: flex-end;
    gap: 40px;
    height: 103px;
    flex: 1;
    padding-right: 40px;
}

.footer__container-modals .container-modals {
    gap: 40px;
    display: inline-flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.modals-options:hover {
    cursor: pointer;
    color: #fff;
}

.footer__container-button {
    min-width: 163px;
    height: 140px;
    margin-right: 40px;
}

#tarteaucitronIcon.tarteaucitronIconBottomRight {
    background-color: var(--primary) !important;
    right: 40px !important;
    width: 163px !important;
    min-width: 163px !important;
    height: 50px !important;
    padding: 0 !important;
    border-radius: 8px 8px 0 0 !important;
    margin-top: -1.00px !important;
}

#tarteaucitronIcon > button#tarteaucitronManager {
    color: #fff !important;
    font-weight: 400;
    font-size: 12px !important;
    letter-spacing: 0 !important;
    line-height: normal !important;
    font-family: "Aptos", sans-serif !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    box-shadow: none !important;
    padding: 0 !important;
    background-color: transparent !important;
}

#tarteaucitronIcon.tarteaucitronIconBottomRight > #tarteaucitronManager:hover {
    transform: none !important;
}


/** Formulario de contacto **/
#sendMessageContact {
    background: rgba(75, 35, 95, 0.80)  !important;
}

#sendMessageContact .modal-content {
    box-shadow: none !important;
}

#sendMessageContact .modal-content .close-modal {
    position: absolute;
    top: -10px;
    right: -15px;
    background-color: #FDC816;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 2;
}

#sendMessageContact .modal-content .close-modal::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 15px;
    background-color: #fff;
    transform: translate(-50%, -50%) rotate(-50deg);
    border-radius: 10px;
    pointer-events: none;

}

#sendMessageContact .modal-content .close-modal::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 15px;
    background-color: #fff; 
    transform: translate(-50%, -50%) rotate(50deg);
    pointer-events: none;
    border-radius: 10px;
}

#sendMessageContactLabel{
    font-size: 20px;
    font-family: var(--font-kepler);
    font-weight: 500;
    color: var(--primary)
}

.invalid-option {
    font-size: 12px !important;
    font-weight: bold;
    line-height: 5px;
    font-family: var(--font-albert);
    color: rgb(196, 38, 38);
}

@media (max-width: 1050px) {
    .footer__container-modals {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start !important;
        padding: 0;
        gap: 0;
        height: 100px;
    }

    .footer__container-modals .container-modals {
        gap: 0;
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    
    #sendMessageContact .modal-content .close-modal {
        right: -5px;
    }

}

@media (max-width: 578px) {
    .footer-personalized {
        position: relative;
    }

    .footer-personalized {
        flex-direction: column;
        height: auto;
        align-items: flex-start;
        gap: 24px;
        padding: 20px 40px;
    }

    .footer-personalized:focus, .footer-personalized:active {
        z-index: 30 !important;
    }

    .footer-home {
        position: relative;
    }

    .footer-container-logos {
        flex-direction: column;
        gap: 24px;
        padding: 0;
        max-height: fit-content;
    }

    .footer__container-organized, .footer__container-secretary {
        gap: 10px;
    }

    .footer__container-organized {
        gap: 0;
    }

    .footer__container-organized .logo-cliente {

    }

    .footer__container-secretary .logo-docta {
        width: 80px;
        height: 58px;
    }

    .footer__container-modals {
        margin-bottom: 30px;
        width: 100%;
    }

    .footer__container-modals .container-modals {
        display: inline-flex;
    }

    .footer__container-button {
        display: none;
    }

    #tarteaucitronIcon.tarteaucitronIconBottomRight {
        width: 130px !important;
        min-width: 130px !important;
        height: 40px !important;
        right: inherit !important;
        left: 40px !important;
    }
}