#footer {
    padding-top: 0;
    overflow: hidden;
    content-visibility: auto;
}

.footer-container {
    padding-top: 0px;
    background-color: #000;
}

.footer-container .footer-black {
    background: #000;
    padding-top: 39px;
    padding-bottom: 45px;
}

.asesores_img .asesor {
    max-width: 135px;
    display: inline-block;
    padding: 0px 10px;
}

.asesores_img .asesor img {
    width: 100%;
}

.info_ofiprix {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.info_ofiprix .text_info p {
    display: inline-block;
    width: auto;
    text-align: center;
    margin: 0px auto;
}

.info_ofiprix .text_info {
    text-align: center;
}

.contactenos_title .contact_text {
    font-size: 24px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    text-transform: uppercase;
}

.contactenos_asesores p {
    font-size: 15px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.39;
    letter-spacing: normal;
    text-align: center;
}

.info_ofiprix {
    max-width: 670px;
    margin: 0 auto;
    margin-top: 35px;
    margin-bottom: 44px;
}

.contactenos_asesores {
    margin-top: 19px;
    margin-bottom: 0px;
}

.asesores_img p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.92;
    color: #4d4d4d;
    padding-top: 7px;
}

.tabs_cms, .contactenos_title, .contactenos_asesores, .asesores_img {
    margin-right: 0px;
    margin-left: 0px;
    text-align: center;
}

.info_ofiprix p {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: normal;
    text-align: justify;
    color: #4d4d4d;
    border-bottom: 2px solid #cccccc;
    padding-bottom: 9px;
}

.newsletter_fullwidth {
    padding-bottom: 25px;
    margin-top: 35px;
    padding-top: 35px;
    position: relative;
}

/* LINK LIST */
.contentlinkblock {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.contentlinkblock .links .footer_links {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.79;
    letter-spacing: 0.7px;
    color: white;
    margin-bottom: 0px;
}

.contentlinkblock .links:nth-last-child(2) .footer_links {
    padding-bottom: 15px;
}

.contentlinkblock .links a {
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.79;
    letter-spacing: normal;
    text-align: left;
    color: white;
    position: relative;
}

/* SOCIAL MEDIA */
.social_media {
    float: left;
}

li.twitter {
    width: 19px;
    height: 16px;
}

li.youtube {
    width: 29px !important;
    height: 20px;
}

li.facebook {
    width: 10px;
    height: 22px;
}

li.instagram {
    width: 22px;
    height: 22px;
}

.block-social li:nth-child(2) {
    margin-left: 0px;
}

.block-social li:last-child {
    margin-right: 0px;
}

body.content_only footer {
    display: none;
}

body.content_only .cbp-mobilesubmenu {
    display: none;
}

footer .block-social li a {
    white-space: initial;
    overflow: initial;
    text-indent: initial;
    line-height: 21px;
    text-align: left;
    color: #232323;
}

footer .block-social ul {
    display: block;
    margin-top: 0px;
}

footer .block-social li {
    width: 100%;
    margin: 0px;
    display: block;
}

/* NEWSLETTER */
#footer .block_newsletter form button[type=submit] {
    width: 140px;
    height: 40px;
    background: white !important;
    color: #000;
    border: 1px solid black;
    margin-left: -18px;
    opacity: 1;
}

#footer input[type="email"]::-webkit-input-placeholder {
    color: white;
}

#footer input[type="email"]:-moz-placeholder { /* Firefox 18- */
    color: white;
}

#footer input[type="email"]::-moz-placeholder { /* Firefox 19+ */
    color: white;
}

#footerinput[type="email"]:-ms-input-placeholder {
    color: white;
}

.block_newsletter .alert {
    margin-top: 15px;
}

.block_newsletter .custom-checkbox input[type=checkbox]:checked + span .checkbox-checked {
    color: black;
    margin-top: -2px;
}

.newslower {
    color: white !important
}

.footer-container .contentlinkblock i.add, .footer-container .contentlinkblock i.remove {
    color: black;
    font-weight: bold;
    font-size: 18px;
    font-style: normal;
    width: 20px !important;
    height: 20px !important;
    display: block;
}

.footer-container .contentlinkblock i.add {
    transform: rotate(90deg);
}

.footer-container .contentlinkblock i.remove {
    transform: rotate(-90deg);
    margin-top: 9px;
}

.block_newsletter p#block-newsletter-label {
    text-transform: initial;
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: 0.8px;
    text-align: center;
    color: #000;
    padding-top: 45px;
    padding-bottom: 8px;
}

.block_newsletter form input[type=email] {
    padding: 11px;
    font-size: 14px;
    color: black;
    border: none;
    width: 557px;
    background: none;
    height: 40px;
    border-bottom: 1px solid black;
}

.block_newsletter form input[type=email]::placeholder {
    color: black !important
}

.block_newsletter .custom-checkbox span, .block_newsletter .custom-checkbox span a {
    color: #000;
}

.btn-newsletter {
    border: 1px solid white;
}

.footer-container li a:hover {
    font-weight: bold;
}

.newsletter_fullwidth {
    /*background: #ec7334;*/
    background: #c2d5a8;
    display: block;
    padding: 26px 0px 38px;
    width: 100%;
    width: 100vw;
    margin-left: calc((-50vw) + 50%);
}

.block_newsletter {
    color: #000;

}

.block-content-newsletter {
    padding: 14px 0px 0px;
    text-align: center;
}

.block_newsletter #paragrafo_footer {
    width: 100%;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    padding-bottom: 10px;
    font-size: 17px;

}

.block-content-newsletter .buttoncontent {
    display: inline-block;
}

.newsletterFooter #titulo-newsletter {
    font-size: 21px;
    font-weight: bold;
    color: black;
    margin-bottom: 1rem;
}

.newsletterFooter .buttoncontent .send-newsletter {
    display: block;
    width: 100%;
    background: var(--color-principal);
    color: white;
    font-weight: bold;
    border-radius: 9px;
}

.newsletterFooter .text-newsletter {
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.newsletterFooter .input-wrapper input {
    background: white;
    border-radius: 8px;
    line-height: 1.5rem;
    width: 100%;
    max-width: 320px;
    font-size: 13px;
    padding: 0.2rem 1rem;
}

.newsletterFooter form, .newsletterFooter .form_block {
    max-width: 385px;
    display: block;
    padding-right: 15px;
}

/* LOGOS */
.footer-container-datos {
    width: 100vw;
    margin-left: calc((-50vw) + 50%);
    background-color: #000;
}

.footer-container-datos .footer-block-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1380px;
    justify-self: center;
    width: 100%;
    flex-wrap: wrap;
    padding: 35px 15px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.redes-sociales {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.redes-sociales a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.redes-sociales a:hover {
    opacity: 0.7;
}

.imagenes-pagos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.imagenes-pagos .imagen-pago {
    display: inline-block;
    max-height: 35px;
    background-color: #fff;
    padding: 2px 7px;
    border-radius: 5px;
    text-align: center;
}

.imagenes-pagos img {
    width: auto;
    height: 20px;
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
}

img#footer-logo-gif {
    width: auto;
    height: auto;
    max-width: 230px;
    position: relative;
    display: block;
    margin: auto;
    margin-bottom: 15px;
}

.bottom-block {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 50px 0px;
}

.links_legal > p, .links_legal > a {
    font-size: 11px;
    display: block;
    width: 100%;
    color: #FFF;
    padding: 0px;
    margin: 0px;
    position: relative;
}

.links_legal {
    display: grid;
    grid-template-columns: repeat(5, auto);
    align-content: unset;
    max-width: 625px;
    justify-content: space-between;
    margin: 0px auto;
    /* padding-bottom: 45px; */
    /* padding-top: 35px; */
    width: 100%;
}

.links_legal > a:before {
    content: "·";
    position: absolute;
    left: -27.5px;
    font-size: 30px;
    top: -2px;
}

.scrollUP {
    position: fixed;
    right: 0px;
    bottom: 285px;
    width: 0;
    display: none;
    height: 0;
    border-radius: 0;
    background: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    z-index: 49;
    cursor: pointer;
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.scrollUP img.arrow_up {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .bottom-block {
        grid-template-columns: 100%;
    }

    .info_ofiprix .text_info {
        text-align: left;
    }

    footer#footer .links-cms {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        justify-content: center;
    }

    div#_mobile_socialBlock .redes-sociales {
        justify-content: center;
    }

    .footer-container .links {
        text-align: center;
        width: 100%;
        margin: 0px;
    }

    .footer-container .links:last-child {
        grid-column: span 2;
    }

    .contentlinkblock > .links:nth-child(3) ul {
        padding-bottom: 15px;
    }

    .contentlinkblock > .links:nth-child(3) ul > li {
        color: #616161;
    }

    .contentlinkblock .links .footer_links, .title_social {
        text-align: left;
        padding: 0px;
    }

    .contentlinkblock {
        padding: 0px 3%;
    }

    .links {
        padding: 0px;
        margin: 0px 10px;
    }

    .links .title {
        padding: 10px 0px 0px;
    }

    .footer-container .links ul {
        margin-bottom: 30px;
    }

    .footer-container .links ul > li {
        color: white !important;
        text-align: left;
        font-weight: normal;
    }

    #footer_button_newsletter {
        margin: 0px auto;
        padding: 5px 0px !important;
        max-width: 150px !important;
        margin-top: 15px;
    }

    .footer-container .links .h3 {
        padding-bottom: 10px;
        margin-bottom: 8px;
        display: inline-block;
        width: auto;
        text-transform: initial;
        font-size: 16px;
    }

    .contactenos_asesores {
        margin-bottom: 30px;
        padding: 0px 15px;
    }

    .contactenos_asesores p, .info_ofiprix .text_info p {
        font-size: 16px;
        text-align: left;
        padding-bottom: 5px;
        color: white;
    }

    .contactenos_title .contact_text {
        color: white;
    }

    .info_marcas {
        width: 100%;
        float: none;
        text-align: center;
    }

    .asesores_img {
        display: none
    }

    #block-reassurance {
        padding: 14px 0 14px;
    }

    .banner_marcas {
        width: 100%;
        float: none;
    }

    #footer .signecomm .container {
        padding-left: 1.5% !important;
    }

    span.ofiprix_registered {
        padding-right: 15px;
    }

    .signecomm span {
        font-size: 13px !important;
    }

    .contentlinkblock {
        width: 100% !important;
        float: none !important;
        overflow: hidden;
    }

    .social_media {
        display: block;
        float: none;
        margin-top: 15px;
    }

    #return-to-top {
        bottom: 10%;
    }

    footer .block-social li {
        width: auto;
        margin: 0px;
        padding: 0px 15px;
        display: inline-block;
    }

    .newsletter_fullwidth {
        background: #365e80;
        color: white;
        margin-top: 65px;
    }

    .newsletter_fullwidth:before {
        display: none;
    }

    .footer-container-datos .footer-block-container {
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        gap: 25px;
    }
}

@media (max-width: 850px) {
    .info_ofiprix {
        grid-template-columns: 100%;
        margin: 0px auto;
        padding: 0px 15px;
        margin-bottom: 25px;
        gap: 15px 0px;
    }

    #footer .contentlinkblock {
        display: block;
    }

    .block_newsletter p#block-newsletter-label {
        text-align: left;
        line-height: 20px;
        padding: 30px 15px 0px;
        font-size: 13px;
    }

    .block_newsletter .custom-checkbox span {
        font-size: 10px;
    }

    .block_newsletter {
        margin-bottom: 19px;
    }

    .block_newsletter p {
        font-size: 12px;
        line-height: 18px;
    }

    .block_newsletter form {
        padding: 0px 15px;
    }

    #footer .block_newsletter form button[type=submit] {
        width: 87px;
    }

    .block_newsletter form input[type=email] {
        width: calc(100% - 69px);
    }

    .arrow_submenu_footer {
        position: absolute;
        right: -75px;
        top: -3px;
    }

    #footer > div.footer-container > div > div:nth-child(1) > div.contentlinkblock > div.col-md-3.links.item2 > div > span.float-xs-right.arrow_submenu_footer {
        right: 11px;
    }

    i.add, i.remove {
        font-weight: normal;
    }

    .title_social {
        font-weight: normal;
        text-transform: none;
        font-size: 16px;
    }

    .block-social li {
        width: 100%;
    }

    .social_media {
        text-align: left;
        padding: 0px 15px;
        margin-top: 10px;
    }

    .signecomm span {
        padding: 0px 11px !important;
    }

    .signecomm span:nth-child(4), .signecomm span:nth-child(5) {
        display: block;
        text-align: center;
    }

    .signecomm {
        text-align: center;
    }

    div#block-reassurance .container {
        padding: 0px;
    }

    footer .block-social li {
        width: 100%;
        text-align: left;
        padding-left: 0px;
    }

    .footer-container .links .h3 {
        font-weight: bold;
    }

    footer .col-md-3.links.item2 {
        width: 97%;
    }

    .signecomm span a, .signecomm span {
        font-size: 11px !Important;
    }

    a#return-to-top {
        display: none !important;
    }

    .parentblockArrow {
        display: inline-block;
        position: relative;
    }

    .links_legal > a:before {
        display: none;
    }

    .links_legal {
        gap: 12px;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }

    .links_legal a, .links_legal p {
        line-height: 18px;
        display: inline-flex;
        width: auto;
    }

    #footer .links .title {
        display: block !important;
        margin-bottom: 0px;
    }

    #footer .links .collapse:not(.in) {
        display: none;
    }

    #footer .links i.remove {
        display: none
    }

    #footer .links .title[aria-expanded=true] .collapse-icons .add {
        display: none;
    }

    #footer .links .title[aria-expanded=true] .collapse-icons .remove {
        display: block;
        margin-top: 0px;
    }

    .links .title {
        margin-bottom: 20px;
        padding-bottom: 15px;
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .redes-sociales {
        justify-content: center;
    }

    .imagenes-pagos {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .imagenes-pagos img {
        height: 20px;
    }

    .scrollUP {
        bottom: 355px;
    }

    .redes-sociales svg {
        width: 30px;
    }
}