/*////////////////////////////////////////////////////////////////////*/
/*   FOOTER                ////////////////////////////////////////  */
/*//////////////////////////////////////////////////////////////////*/

footer {
    margin-top: 50px;
}

.Home footer {
    margin-top: 2px;
}

/****** socials  ******/

footer .socials {
    display: flex;
    gap: 10px;
}

footer .socials h3::before {
    display: none;
}

footer .socials ul {
    z-index: 1;
    min-height: 0 !important;
    margin-bottom: 0 !important;
}

footer .socials li {
    display: inline-block;
    float: left;
}

footer .socials li a {
    color: #000;
    float: left;
    font-size: 36px;
    line-height: 36px;
    margin: 0 12px 7px 0;
    padding: 0;
    text-align: center;
    opacity: 0.3;
}

footer .socials li:last-child a {
    margin-right: 0;
}

footer .socials li a:hover {
    opacity: 1;
}

.s-facebook:before {
    content: "4";
    font-family: "e3font" !important;
}

.s-twitter:before {
    content: "7";
    font-family: "e3font" !important;
}

.s-youtube:before {
    content: "\39";
    font-family: "e3font" !important;
}

.s-pinterest:before {
    content: "\f2b1";
    font-family: "Ionicons" !important;
}

.s-instagram:before {
    content: "5";
    font-family: "e3font" !important;
}

.s-email:before {
    content: "\f10f";
    font-family: "Ionicons" !important;
}

.s-linkedin:before {
    content: "6";
    font-family: "e3font" !important;
}

.socials a.email {
    color: #999;
    font-size: 1.3em;
    font-weight: lighter;
}

.socials a.email:hover {
    color: #003f84;
    text-decoration: underline;
}

/*footer datos*/

.footer-datos ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.footer-datos li {
    display: inline-flex;
    align-items: center;
}

.footer-datos ul li::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 8px;
    position: relative;
}

.footer-datos ul li {
    font-size: 13px;
}

.footer-datos ul li:first-child {
    font-size: 16px;
    font-weight: 900;
}

.footer-datos ul li:first-child:before {
    background-image: url("/Content/Images/f-phone.svg");
}

.footer-datos ul li:nth-child(2):before {
    background-image: url("/Content/Images/f-contact.svg");
    height: 12px;
}

.footer-datos ul li:last-child:before {
    background-image: url("/Content/Images/f-location.svg");
}

@media (max-width: 1199px) {
    .footer-datos ul li:first-child {
        font-size: 18px;
    }

    .footer-datos ul li {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .footer-datos ul {
        gap: 15px;
    }

    .footer-datos ul li:first-child {
        font-size: 20px;
    }

    .footer-datos ul li {
        font-size: 15px;
    }
}

/* boton de whatsapp  ***********/
.whapp {
    border-radius: 4px;
    float: left;
    width: auto;
    max-width: 100%;
    color: #fff;
    padding: 4px 17px 4px 55px;
    margin: -10px 0 0;
    border: 1px solid #52ba63;
    position: relative;
    clear: left;
    background-color: #52ba638a;
}

.whapp::before {
    background: url(/Content/images/i-whatsapp.png) center / 100% no-repeat;
    content: "";
    display: block;
    width: 34px;
    height: 34px;
    position: absolute;
    left: 9px;
    top: calc(50% - 18px);
}

.whapp span {
    font-weight: 700;
    font-size: 1.25em;
}

.whapp small {
    font-size: 0.87em;
    display: block;
    line-height: 1.2em;
}

.whapp:hover {
    background-color: #52ba63;
    color: #fff;
    border-color: #fff;
}

.socials.flotante {
    position: fixed;
    bottom: 10px;
    right: 13px;
    background-image: url(/Content/Images/i-whatsapp.png);
    height: 50px;
    width: 50px;
    z-index: 4;
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.7s ease-in-out 0.3s;
}

/* UPPER  ********************************/

footer .upper {
    float: left;
    width: 100%;
    background-color: #040043;
    padding: 26px 15px;
}

/* footer newsletter */

footer .newsletter {
    float: left;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer .newsletter h3 {
    position: relative;
    font-weight: 700;
    font-size: 21px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

footer .newsletter h3::before {
    content: "s";
}

footer .newsletter h3::before {
    font-family: "diggit";
    font-size: 32px;
    left: 0;
    position: relative;
    text-align: center;
    font-weight: lighter;
    color: #fff;
}

footer .newsletter p {
    font-size: 18px;
    margin: 0;
}

.form-newsletter {
    position: relative;
    max-width: 520px;
    /* opcional */
    margin: 0 auto;
}

.form-newsletter .form-group {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    /* ✅ esto recorta el exceso */
    border-radius: 100px;
}

.form-newsletter input.form-control {
    width: 100%;
    height: 50px;
    border-radius: 100px;
    padding: 0 140px 0 20px;
    /* espacio solo para el botón */
    border: 1px solid #0054c8;
    background: #fff;
    font-style: italic;
    color: #000;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.form-newsletter button {
    position: absolute;
    top: 0;
    right: 0;
    height: 50px;
    width: 128px;
    background: #0054c8;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 0 100px 100px 0;
    cursor: pointer;
    z-index: 2;
}

.newsletter>div:not(.form-newsletter) {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.form-newsletter button::before {
    content: "Suscribirme";
    font-size: 14px;
    font-weight: bold;
}

.form-newsletter button:hover {
    background: #003f84 none repeat scroll 0 0;
    color: #fff;
}

@media (max-width: 991px) {}

@media (max-width: 767px) {
    footer .upper {
        padding: 17px 15px 19px;
    }

    footer .newsletter {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    footer .newsletter h3 {
        font-size: 16px;
    }

    footer .newsletter h3::before {
        font-size: 30px;
    }

    footer .newsletter p {
        font-size: 14px;
    }

    .form-newsletter button::before {
        font-family: "Ionicons";
        content: "\f30f";
        font-size: 20px;
        line-height: 25px;
        font-weight: normal;
    }

    .form-newsletter input.form-control {
        height: 42px;
    }

    .newsletter .form-newsletter {
        width: 100%;
    }

    .form-newsletter {
        width: 100%;
    }

    .form-newsletter button {
        height: 42px;
        width: 90px;
    }
}

@media (max-width: 479px) {
    .form-newsletter button {
        width: 75px;
    }
}

/*  MAIN *******************************/

footer .main {
    padding: 30px 0 15px;
    background: #f6f6f6;
    border-bottom: 1px solid #d3d3d3;
}

footer .menu_footer h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    position: relative;
    color: #003f84;
    line-height: 14px;
}

footer .menu_footer ul {
    float: left;
    width: 100%;
}

footer .menu_footer ul li a {
    float: left;
    line-height: 1.2em;
    margin: 0;
    padding: 6px 0;
    width: 100%;
    font-size: 13px;
    font-weight: 400;
}

footer .menu_footer ul.socials li a {
    font-size: 32px;
    padding: 0;
}

footer .menu_footer ul li a:hover {
    background: transparent;
    text-decoration: underline;
}

footer .menu_footer ul.socials li a:hover {
    background: transparent;
    text-decoration: unset;
}

.menu_footer a.visible-xs {
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 0;
    border-bottom: 1px solid lightgray;
    width: 100%;
    position: relative;
    margin: 0px 0 5px;
}

.menu_footer a.visible-xs.collapsed::after {
    content: "\f123";
    font-size: 14px;
    font-family: "Ionicons";
    position: absolute;
    right: 0px;
}

.menu_footer a.visible-xs::after {
    content: "\f126";
    font-size: 14px;
    font-family: "Ionicons";
    position: absolute;
    right: 0px;
}

/*Logo footer*/
.LOGO-FOOTER img {
    width: 150px;
}

footer .main .row {
    display: flex;
    flex-wrap: wrap;
}

/*  CREDITS *******************************/
footer .credits {
    background-color: #f6f6f6;
    padding: 15px 0 30px;
}

footer .credits p {
    float: left;
    font-size: 13px;
    font-weight: 300;
    opacity: 1;
    clear: left;
    margin: 8px 0 0px;
    font-size: 13px;
    color: #000;
    margin-bottom: 30px;
    line-height: 136%;
}

footer .credits p span {
    opacity: 0.5;
}

.e3 {
    background: rgba(0, 0, 0, 0) url(/Content/BrandLogos/etres-brand.svg) no-repeat scroll 0 0/99%;
    cursor: pointer !important;
    height: 29px;
    opacity: 0.6;
    width: 29px;
    float: left;
    clear: left;
    margin: 0;
    filter: grayscale(100%);
}

.e3:hover {
    opacity: 1;
    filter: none;
}

/* menubottom */
.menubottom {
    float: left;
}

.menubottom li {
    float: left;
}

.menubottom a {
    display: block;
    font-size: 13px;
    padding: 4px;
    margin: 3px 16px -3px 0;
}

.menubottom li:first-child a {
    padding-left: 0;
}

.menubottom a:hover {
    text-decoration: underline;
    color: #003f84;
}

@media (max-width: 1199px) {
    footer .menu_footer ul li a {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    footer .main {
        border-bottom: unset;
    }

    footer .menu_footer ul li a {
        font-size: 13px;
    }
}

@media (max-width: 479px) {
    .menubottom li {
        float: unset;
        width: 100%;
    }
}

/*  SELLOS *******************************/

.sellos {
    text-align: center;
    margin-bottom: 15px;
    float: right;
    position: relative;
}

.sellos>* {
    display: inline-block;
    margin: 0 5px;
    padding: 0 5px;
    text-align: center;
    float: left;
}

.sellos a:hover {
    opacity: 0.7;
}

.sellos .sps img {
    margin-top: -1px;
    width: 34px;
}

.sellos .mpago img {
    margin-top: 12px;
    width: 115px;
}

.sellos .tpago img {
    margin-top: 12px;
    width: 83px;
}

.sellos .cace img {
    margin-top: 17px;
    width: 103px;
}

.sellos .verisign img {
    margin-top: 6px;
    width: 126px;
}

.sellos .datafiscal img {
    width: 37px;
}

.sellos .siteseal img {
    margin-top: 6px;
    width: 160px;
}

.sellos .sep {
    background: rgba(0, 0, 0, 0.25) none repeat scroll 0 0;
    display: block;
    height: 53px;
    margin: 0 21px 0 15px;
    padding: 0;
    width: 1px;
}

.datafiscal {
    background: rgba(0, 0, 0, 0) url("/Content/images/i-datafiscal.png") no-repeat scroll 0 0 / 100% auto padding-box;
    height: 60px;
    margin: 0;
    width: 42px;
    float: left;
}

.datafiscal:hover {
    opacity: 1;
}

@media (max-width: 1199px) {
    .sellos .digicert img {
        width: 61px;
        margin-top: 3px;
    }

    .sellos .card img {
        width: 42px;
        margin-top: 12px;
    }

    .sellos .sep {
        margin: -2px 10px 0;
    }
}

@media (max-width: 991px) {
    .sellos {
        float: left;
        display: flex;
        margin: 10px 0 6px;
        padding-right: 50px;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        align-content: center;
        width: 100%;
    }

    .sellos>* {
        padding: 0;
        display: flex;
        margin: 5px;
    }

    .sellos>* img {
        margin: 0 !important;
        object-fit: scale-down;
    }

    .sellos .tpago img {
        margin-top: 9px;
        width: 69px;
    }

    .sellos .mpago img {
        margin-top: 9px;
        width: 98px;
    }

    .sellos .verisign img {
        margin-top: 7px;
        width: 91px;
    }

    .sellos .verisign img {
        margin-top: 6px;
        width: 100px;
    }

    .sellos .cace img {
        margin-top: 14px;
        width: 80px;
    }

    .sellos .siteseal img {
        width: 147px;
        margin-top: 3px;
    }

    .datafiscal {
        width: 40px;
    }
}

@media (max-width: 767px) {
    .sellos {
        padding-right: 0;
        width: 100%;
        justify-content: center;
    }

    .sellos .sep {
        height: 41px;
        margin: 2px 13px 0 9px;
    }

    .sellos .tpago img {
        width: 52px;
    }

    .sellos .mpago img {
        width: 77px;
    }

    .sellos .sps img {
        width: 22px;
    }

    .sellos .cace img {
        width: 64px;
    }
}

@media (max-width: 479px) {
    .sellos .sep {
        display: none;
    }

    .sellos .siteseal img {
        width: 132px;
    }

    .datafiscal {
        margin: 12px 0;
        float: right;
    }
}

/* backtotop ****************/
.backtotop {
    bottom: 65px;
    border-radius: 60px;
    /*bottom: -50px;*/
    color: #000;
    cursor: pointer;
    height: 48px;
    line-height: 45px;
    overflow: hidden;
    position: fixed;
    right: 15px;
    transition: all 0.7s ease-in-out 0.3s;
    width: 48px;
    z-index: 4;
    background: #ffffff;
    opacity: 0.7;
    box-shadow: 2px 2px 9px rgba(0, 0, 0, 0.2);
}

.backtotop span:before {
    content: "\f126";
}

.backtotop span::before {
    display: block;
    font-family: "Ionicons";
    font-size: 16px;
    text-align: center;
}

/* boton chat */
.backtotop.chat {
    background-color: #0077c8;
    line-height: 1.25em;
    right: 76px;
    width: 165px;
    color: #fff !important;
}

.backtotop.chat>span {
    float: left;
    font-size: 1.4em;
    font-weight: 400;
    padding-left: 65px;
    padding-top: 8px;
}

.backtotop.chat small {
    display: block;
    font-size: 0.7em;
    text-transform: none;
}

.backtotop.chat span::before {
    display: none;
}

.backtotop.chat::before {
    content: "i";
    font-family: "diggit";
    font-size: 2.2em;
    left: 22px;
    margin: 0;
    position: absolute;
    top: 17px;
}

.backtotop.chat:hover {
    background-color: #003f84;
}

/* chat OK */
#launcher {
    margin: 0 58px 11px 0 !important;
}

.src-component-Launcher-wrapper {
    padding: 14px 11px !important;
}

/* btfooter (pliega footer en mobile) *****/
.btfooter {
    font-weight: 400;
    padding: 24px 15px;
    text-align: left;
    width: 100%;
    color: #000;
    border: 0;
    background: #f6f6f6;
}

.btfooter:after {
    content: "\f3d0";
}

.btfooter::after {
    font-family: "Ionicons";
    margin: 2px 0 0 8px;
    font-size: 12px;
}

@media (max-width: 1199px) {
    .whapp {
        padding-left: 45px;
    }

    .whapp span {
        font-size: 1.2em;
    }

    .whapp::before {
        width: 32px;
        height: 32px;
        top: calc(50% - 17px);
        left: 5px;
    }
}

@media (max-width: 991px) {
    footer .container {
        width: 100%;
    }

    footer .upper {
        padding: 22px 15px;
    }

    footer .socials {
        margin-bottom: 15px;
    }

    footer .socials li a {
        font-size: 35px;
        margin-right: 9px;
    }

    .menubottom {
        margin: 2px 0;
    }

    footer .credits p {
        width: 100%;
        padding: 0 50px 0 0;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .credits .col-xs-12 {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .credits p {
        padding: 0 0 0 0;
    }
}

@media (min-width: 768px) {

    #mf1,
    #mf2,
    #mf3 {
        display: block !important;
        height: auto !important;
    }
}

@media (max-width: 1199px) {
    footer .menu_footer h4 {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    footer {
        margin-top: 23px;
    }

    footer .credits {
        padding-top: 0;
        padding-bottom: 16px;
    }

    footer .newsletter h3>span {
        display: none;
    }

    footer .main {
        padding-top: 20px;
        padding-bottom: 15px;
    }

    footer .menu_footer ul {
        margin-bottom: 0;
    }

    footer .menu_footer h4 {
        margin-bottom: 10px;
    }

    footer .menu_footer ul li a {
        padding: 9px 0;
    }

    footer .credits p {
        font-size: 12px;
    }
}

@media (max-width: 479px) {
    footer .main {
        padding-bottom: 32px;
    }

    footer .socials {
        margin: 3px 0 22px;
    }

    footer .socials li a {
        margin-right: 17px;
    }

    .menubottom {
        margin: 15px 0;
        opacity: 0.8;
        width: 100%;
        border-top: 1px solid #ccc;
        padding: 15px 0 0;
    }

    .menubottom a {
        padding: 4px 0;
    }

    footer .credits p {
        font-size: 12px;
        line-height: 17px;
    }
}

/*  Newsletter banner desplegable *******************************/

.hide {
    display: none !important;
}

.newsletter-tag {
    display: none;
    position: fixed;
    z-index: 11;
    bottom: 10px;
    right: 0;
    -moz-transform: translate(417px, -70%);
    -ms-transform: translate(417px, -70%);
    -webkit-transform: translate(417px, -70%);
    transform: translate(417px, -70%);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.newsletter-tag:hover {
    -moz-transform: translate(0, -70%);
    -ms-transform: translate(0, -70%);
    -webkit-transform: translate(0, -70%);
    transform: translate(0, -70%);
}

.newsletter-tag .newsletter-tag-hidden,
.newsletter-tag .newsletter-tag-visible {
    display: inline-block;
    vertical-align: top;
}

.newsletter-tag .newsletter-tag-visible {
    background: #fff;
    color: #000;
    width: 70px;
    left: 5px;
    top: 20px;
    position: relative;
    box-shadow: -4px 3px 7px rgba(0, 0, 0, 0.1);
}

.newsletter-tag .newsletter-tag-visible p {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: lighter;
    color: #0054c8;
    padding: 9px 2px 2px 0;
    margin: 0;
    text-align: center;
    width: 100%;
}

.newsletter-tag .newsletter-tag-visible p::before {
    font-family: "diggit";
    font-size: 30px;
    background-size: auto;
    background-size: contain;
    position: relative;
    display: block;
    margin: 0 auto 3px;
    width: 31px;
    height: 22px;
}

.newsletter-tag .newsletter-tag-visible p::before {
    content: "s";
}

#recaptcha2 {
    transform: scale(0.67);
    transform-origin: 0 0;
}

#recaptcha1,
#recaptcha2 {
    margin-top: 10px;
}

.newsletter-close::before {
    content: "\f129";
    display: block;
    font-family: "Ionicons";
    color: #000;
    position: absolute;
    top: 15px;
    right: 22px;
    cursor: pointer;
}

.newsletter-tag .newsletter-tag-hidden {
    width: 415px;
    height: 185px;
    background-color: #fff;
}

.newsletter-tag .newsletter-tag-hidden p {
    color: #000;
}

.form-newsletter .msg {
    padding: 2px 0 !important;
    display: inline !important;
    background: transparent !important;
}

.form-newsletter .msg::before {
    right: 50px;
    z-index: 2;
    top: -27px;
}

footer .main .form-newsletter .msg::before {
    display: none;
}

.newsletter-tag .newsletter-tag-hidden>span {
    padding: 15px 35px;
    display: flex;
    justify-content: start;
    align-items: flex-start;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.newsletter-tag .newsletter-tag-hidden h3 {
    margin: 0 0 12px;
    font-size: 1.36em;
    font-weight: lighter;
    color: #0054c8;
}

.newsletter-tag .newsletter-tag-hidden strong {
    font-size: 0.86em;
    font-weight: normal;
    line-height: 1.4em;
    margin: 0 0 12px;
}

.newsletter-tag .newsletter-tag-hidden a {
    text-decoration: underline;
}

.newsletter-tag .form-newsletter {
    margin: 0;
}

.newsletter-tag .form-newsletter fieldset {
    height: 37px;
    max-width: 100%;
}

.newsletter-tag .form-newsletter button {
    background: #0054c8;
    border: 1px solid #0054c8;
    color: #fff;
    display: block;
    height: 35px;
    line-height: 35px;
    text-align: center;
    width: 41px;
    font-size: 21px;
    position: absolute;
    right: 0;
    padding: 0;
}

.newsletter-tag .form-newsletter button::before {
    font-family: "Ionicons";
    content: "\f30f";
}

.newsletter-tag .form-newsletter button:hover {
    background: #003f84 none repeat scroll 0 0;
    color: #fff;
}

.newsletter-tag .form-newsletter .form-group {
    position: relative;
    width: 100%;
    margin: 0;
}

.newsletter-tag .form-newsletter .form-group::before {
    display: none;
}

.newsletter-tag .form-newsletter input.form-control {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #fff;
    box-shadow: none;
    color: #000;
    font-weight: normal;
    font-style: italic;
    height: 50px;
    padding: 7px 11px;
    border-radius: 100px;
}

/* Boton de arrepentmiento */

a[title="Boton de arrepentmiento"] {
    color: white;
    padding: 10px 6px !important;
    background-color: #0077c8;
    max-width: 160px;
    margin-top: 10px !important;
    font-weight: bold !important;
}


a[title="Boton de arrepentmiento"]:hover {
    background-color: #003f84 !important;
    color: white !important;
    text-emphasis: none;
    text-decoration: none !important;
}
