/** FOOTER PERSONALIZADO **/
@font-face {
    font-family: footer;
    src: url('../fonts/APTOS-DISPLAY.TTF')
}

.footer-personalized{
    display: flex;
    height: 140px;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    background-color: var(--body-color);
    
}

/* .footer-home{
    position: fixed;
    bottom: 0;
} */

.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: footer, sans-serif !important;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0;
    line-height: normal;
}

a.text-wrapper{
    line-height: 11px !important;
    color: var(--gray-medium) !important;
    cursor: pointer;
}

.footer__container-organized .logo-cliente{
    width: auto;
    max-width: 100%;
    height: 73px;
    max-height: 73px;
    object-fit: contain;
    object-position: left center;
}

.footer__container-secretary .logo-docta{
    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;
}

.footer__container-button{
    min-width: 163px;
    height: 140px;
    margin-right: 40px;
}

#tarteaucitronIcon.tarteaucitronIconBottomRight{
    background-color: #97C579 !important;
    right: 40px !important;
    width: 163px !important;
    min-width: 163px !important;
    height: 50px !important;
    padding: 0 !important;
    border-radius: 8px 8px 0 0 !important;
    /* left: inherit !important; */
    margin-top: -1.00px !important;
}
#tarteaucitronIcon > button#tarteaucitronManager{
    color: #fff !important;
    font-weight: 400 !important;
    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 > button#tarteaucitronManager > span{
    color: #fff !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
    line-height: normal !important;
    font-family: "Aptos", sans-serif !important;
    margin: 0 !important;
    width: fit-content !important;
}
 
#tarteaucitronIcon.tarteaucitronIconBottomRight > #tarteaucitronManager:hover{
    transform: none !important;
}
/**
*   A partir de aquí ya no se ve bien el texto del footer así que paso al diseño tablet
*/
@media (max-width: 1339px) {

    .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;
    }

}


/**
*   Cambio el footer a la versión movil porque con el tamaño del logo-cliente
*   no se ve bien, si se tiene un logo más pequeño se puede reducir la media query
*/
@media (max-width: 800px) {

    /** FOOTER PERSONALIZADO **/

    .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{
        /* width: 163px; */
    }

    .footer__container-secretary .logo-docta{
        width: 80px;
        height: 58px;
    }
    
    .footer__container-modals{
        margin-bottom: 40px;
        width: 100%;
    }
    .footer__container-modals .container-modals{
        display: inline-flex;
    }

    .footer__container-button{
        display: none;
    }

    #tarteaucitronIcon{
        width: 130px !important;
        min-width: 130px !important;
        height: 40px !important;
        right: inherit !important;
        left: 40px !important;
    }

}

@media (min-height: 1000px) {
    .footer-home{
        position: absolute;
        bottom: 0;
    }
}