.sec01{
    background:url(../../img/template/hazte_bnext-02.jpg) no-repeat center top;
    background-size:100% 100%;
    margin-bottom: 120px;
    text-align: center;

    @supports(background-image:url(../../img/template/hazte_bnext-02.webp)) {
        background-image:url(../../img/template/hazte_bnext-02.webp)
    }

}

    .sec01 .content{
        box-sizing: border-box;
        display: grid;
        overflow: initial;
        padding:60px 0 0;
        width: 100%;
    }

        .sec01 header{
            margin-bottom: 47px;
        }

            .sec01 header img{
                max-width:214px;
                width: 100%;
            }

        .sec01 picture img{
            height: 250px;
            margin-bottom: 3vh;
            max-width: 695px;
        }

        .sec01 .content h1{
            color:#171717;
            margin-bottom: 64px;
        }

        .sec01 .content .text{
            margin-bottom: 32px;
        }


            .sec01 .content .wrap{
                display: flex;
                align-items: flex-start;
                flex-flow: row wrap;
                gap:48px;
                justify-content: flex-start;
                margin-bottom: 32px;
            }

                .sec01 .content .wrap .item{
                    max-width: 336px;
                    text-align: left;
                }

                    .sec01 .content .wrap .item .icon{
                        margin-bottom: 16px;
                        width: 40px;
                    }

                    .sec01 .content .wrap .item h4{
                        margin-top: 0px;
                        font-size: 24px;
                        line-height: 32px;
                    }


.sec06 ul{
    margin-bottom: 0;
}

    .sec06 ul li:not(:last-child){
        margin-bottom:16px;
    }

.sec07{
    margin-bottom: 64px;
}

#footer-open-account{
    background-color:#FFF;
    box-shadow: 0px 0px 32px rgba(46, 43, 43, 0.1);
    bottom:0;
    opacity:0;
    padding:20px 0 30px;
    pointer-events: none;
    position: fixed;
    transition: 500ms;
    width: 100%;
    z-index:10;
}

.up #footer-open-account{
    opacity:1;
    pointer-events: initial;
}

.at-bottom #footer-open-account,
.no-show-footer-menu #footer-open-account{
    opacity:0;
    pointer-events: none;
}

    #footer-open-account .content{
        align-items: center;
        display: grid;
        grid-auto-flow: column;
        justify-content: space-between;
        justify-items: center;
    }

    #footer-open-account .content.mobile{
        display: none;
    }

        #footer-open-account h5{
            margin-bottom: 0;
        }

        #footer-open-account .module-sms{
            margin-bottom: 0;
            padding-top: 5px;
        }

#footer-landing{
    padding:24px 0 60px;
    text-align: center;
}

    #footer-landing .content{
        border-top:1px solid #E6E5E5;
    }

        #footer-landing .content p{
            color: #686664;
            font: normal 14px/20px 'AvertaStdPE-Regular';
        }

            #footer-landing .content p a{
                color: #171717;
                font-family: 'AvertaStdPE-Bold';
            }

/*Popup*/
.overlay{
    align-items: center;
    background-color: rgb(46, 43, 43, .7);
    display: flex;
    height: 100%;
    justify-content: center;
    left:0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top:0;
    width: 100%;
    z-index: 10;
}

.show-overlay .overlay{
    opacity: 1;
    pointer-events: initial;
    z-index: 100000000;
}

    .overlay .message-box{
        background-color: rgba(255, 255, 255, 1);
        border-radius: 8px;
        box-sizing: border-box;
        display: none;
        height: auto;
        max-width: 608px;
        padding:80px 32px;
        position:relative;
        width: 100%;
    }

        .overlay .message-box .animation-wrap{
            height: 72px;
            margin:0 auto 16px;
            width: 72px;
        }

        .overlay .message-box h4{
            color: #171717;
            margin: 30px 0 16px;
        }

        .overlay .message-box .body-2{
            color:#686664;
        }

    .overlay.show-message .message-box{
        display: block;
    }

.overlay .btn-close {
    background: url(../../img/icons/close-02.svg) no-repeat center center transparent;
    background-size: 16px 16px;
    border: none;
    cursor: pointer;
    height: 32px;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 32px;
}

#fixedbutton{
    display: none;
}
/*Fin - Popup*/

/*Formulario*/
#form-referral{
    background-color: #FFF;
    border-radius: 8px;
    box-sizing: border-box;
    max-width: 608px;
    padding:56px 32px;
    position:relative;
    width: 100%;
}

    #form-referral h4{
        color:#171717;
        text-align: center;
        width: 100%;
    }

    #form-referral legend{
        color:#686664;
        font: normal 18px/26px 'AvertaStdPE-Regular';
        margin-bottom: 24px;
        text-align: center;
    }

    #form-referral ul{
        /*margin-bottom: 32px;*/
    }

        #form-referral ul .field-wrap{
            font-size: 0px;
            position: relative;
        }

        #form-referral ul .field-wrap::before{
            color:#686664;
            content:attr(data-placeholder);
            font:normal 18px/26px 'AvertaStdPE-Regular';
            top:22px;
            left:17px;
            pointer-events: none;
            position: absolute;
            transition: 300ms;
        }

        #form-referral ul .field-wrap.focused::before{
            font-size:14px;
            line-height: 18px;
            top:15px;
            z-index: 1;
        }

        #form-referral ul .field-wrap.error::before{
            color:#D53220;
        }

        #form-referral ul > li:not(:last-child){
            margin-bottom: 24px;
        }

            #form-referral input,
            #form-referral select{
                background-color: #F7F7F7;
                border:1px solid #F7F7F7;
                border-radius: 8px;
                box-sizing: border-box;
                caret-color: #D53220;
                color:#171717;
                font:normal 18px/24px 'AvertaStdPE-Regular';
                height: 72px;
                padding:46px 16px 21px;
                width: 100%;
            }

            #form-referral select{
                -moz-appearance:none; /* Firefox */
                -webkit-appearance:none; /* Safari and Chrome */
                appearance:none;
                background:url(../../img/icons/arrow-down.svg) no-repeat center right 23px #F7F7F7;
                background-size:10px auto;
                padding:38px 12px 11px;
            }

            #form-referral select:focus{
                border:1px solid #171717;
                outline: 0;
            }

                #form-referral select * {
                    color:#686664;
                    font:normal 18px/26px 'AvertaStdPE-Regular';
                }

            #form-referral .select{
                position: relative;
            }

                #form-referral .select .btn-trigger-select{
                    background:url(../../img/icons/arrow-down.svg) no-repeat center right 23px #FFF;
                    border:1px solid #E6E5E5;
                    border-radius: 8px;
                    box-sizing: border-box;
                    color:#686664;
                    cursor: pointer;
                    font:normal 18px/24px 'AvertaStdPE-Regular';
                    height: 72px;
                    padding:22px 16px 21px;
                    text-align: left;
                    width: 100%;
                }

                #form-referral .focused .select .btn-trigger-select{
                    color:#171717;
                    padding:38px 16px 21px;
                }

                #form-referral .select.active .btn-trigger-select{
                    background-image: url(../../img/icons/arrow-up.svg);
                    background-size:10px auto;
                    border-bottom-left-radius: 0;
                    border-bottom-right-radius: 0;
                }

                #form-referral .select ul{
                    background-color: #FFF;
                    border-bottom-left-radius: 8px;
                    border-bottom-right-radius: 8px;
                    display: none;
                    font-size: 0px;
                    position: absolute;
                    text-align: left;
                    width: 100%;
                }

                    #form-referral .select li{
                        border-bottom:1px solid #E6E5E5;
                        border-left: 1px solid #E6E5E5;
                        border-right: 1px solid #E6E5E5;
                        font-size: 0;
                        margin:0;
                    }

                    #form-referral .select li:last-child{
                        border-bottom-left-radius: 8px;
                        border-bottom-right-radius: 8px;
                    }

                        #form-referral .select .option{
                            background-color: #FFF;
                            border:none;
                            box-sizing: border-box;
                            cursor: pointer;
                            font:normal 18px/24px 'AvertaStdPE-Regular';
                            padding:23px 16px 23px;
                            text-align: left;
                            width: 100%;
                        }

            #form-referral .select.active > button{
                border:1px solid #171717;
                border-bottom: 1px solid #E6E5E5;
            }

                #form-referral .select.active ul{
                    display: block;
                }

            #form-referral .field:focus{
                border:1px solid #171717;
                outline:none;
            }

            #form-referral input::placeholder {
                color: #686664;
                font:normal 18px/26px 'AvertaStdPE-Regular';
            }

            #form-referral .error-msg{
                color:#D53220;
                display: none;
                font:normal 16px/22px 'AvertaStdPE-Regular';
                margin:4px 16px 0;
                text-align: left;
                width: 100%;
            }

            #form-referral .error[data-error-type="0"] .error-msg[data-error-type="0"],
            #form-referral .error[data-error-type="1"] .error-msg[data-error-type="1"],
            #form-referral .error[data-error-type="2"] .error-msg[data-error-type="2"],
            #form-referral .error[data-error-type="3"] .error-msg[data-error-type="3"],
            /*
            #form-referral .msg-wrap[data-status="0"] .error-msg[data-error-type="0"],
            #form-referral .msg-wrap[data-status="1"] .error-msg[data-error-type="1"],
            #form-referral .msg-wrap[data-status="2"] .error-msg[data-error-type="2"],
            #form-referral .msg-wrap[data-status="3"] .error-msg[data-error-type="3"]
*/
            #form-referral .msg-wrap[data-status="2"] span:nth-child(1),
            #form-referral .msg-wrap[data-status="1"] span:nth-child(2),
            #form-referral .msg-wrap[data-status="0"] span:nth-child(3),
            #form-referral .msg-wrap[data-status="-1"] span:nth-child(4),
            #form-referral .msg-wrap[data-status="-2"] span:nth-child(5),
            #form-referral .msg-wrap[data-status="-3"] span:nth-child(6)

            {
                display: block;
            }

                #form-referral .msg-wrap span{
                    display: none;
                    font: normal 16px/22px 'AvertaStdPE-Regular';
                    margin: 4px 16px 0;
                    text-align: left;
                    width: 100%;
                }

                #form-referral .msg-wrap span:nth-child(3),
                #form-referral .msg-wrap span:nth-child(4),
                #form-referral .msg-wrap span:nth-child(5),
                #form-referral .msg-wrap span:nth-child(6) {
                    color: #D53220;
                }

            #form-referral > ul > li.phone-wrap > div.field-wrap > p.error-msg{
                left:-130px;
                position: relative;
            }

            #form-referral button[type="submit"]{
                margin-bottom: 16px;
                margin-top: 32px;
                width: 100%;
            }

        .phone-wrap {
            column-gap: 12px;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
        }

            .phone-wrap .field-wrap:nth-child(1){
                max-width: 100px;
                width: 100%;
            }

            .phone-wrap .field-wrap:nth-child(2){
                max-width: 432px;
                width: 100%;
            }

        #form-referral small{
            color:#686664;
            font: normal 14px/20px 'AvertaStdPE-Regular';
            text-align: center;
        }

            #form-referral small p{
                margin:0;
            }

                #form-referral small a{
                    color:#171717;
                    font-family: 'AvertaStdPE-Bold';
                }

.overlay.show-message #form-referral{
    display: none;
}

/*Popup QR*/
.qr-overlay .box-message{
    padding:56px 32px 88px;
}

    .qr-overlay .box-message img{
        margin-bottom: 0;
        margin-top:24px;
    }
/*Fin - Popup QR*/

@media only screen and (max-width: 768px) {

    body, html{
        height: 100%;
    }

    main{
        height: 100%;
    }

    .sec01{
        background-image:url(../../img/template/hazte_bnext-02@s.png);
        background-position: top center;
        margin-bottom:64px;

        @supports(background-image:url(../../img/template/hazte_bnext-02@s.webp)) {
            background-image:url(../../img/template/hazte_bnext-02@s.webp)
        }

    }

        .sec01 .content{
            min-height: -webkit-fill-available;
            padding:32px 15px;
            padding-bottom: 0;
        }

            .sec01 header{
                margin-bottom: 38px;
            }

                .sec01 header img{
                    max-width:143px;
                }

            .sec01 picture img{
                height: 26vh;
                /*max-width: 360px;*/
            }

            .sec01 .content h1{
                font-size: 40px;
                line-height: 50px;
                margin-bottom: 32px;
            }

            #main-sms-form-wrap > form > div > span > span:nth-child(7) {
                text-align: left;
            }

            .sec01 .buttons-join-wrap a{
                margin:0 auto
            }

            .sec01 .content .text{
                margin-bottom: 0;
            }

                .sec01 .content .wrap{
                    gap:24px;
                }

                .sec01 .content .wrap .item h4{
                    font-size: 20px;
                    line-height: 28px;
                    margin-bottom: 16px;
                }

    .sec06 ul li:not(:last-child){
        margin-bottom:8px;
    }

    .sec06 ul li:last-child{
        margin-bottom:0px;
    }

    .sec02, .sec03, .sec04, .sec05, .sec06{
        margin-bottom:64px;
    }

    .sec07{
        margin-bottom: 32px;
    }

        .sec07 .text{
            text-align: left;
        }

    #footer-open-account{
        background-color: transparent;
        bottom:0;
        box-shadow: none;
        opacity: 1!important;
        pointer-events: initial!important;
        padding:10px 0 10px;
    }

        #footer-open-account .content.desktop{
            display: none;
        }

        #footer-open-account .content.mobile{
            display: grid;
            flex-direction: column;
            justify-content: center;
            text-align: center;
        }

            #footer-open-account .content.mobile p{
                margin:0;
                width: 100%;
            }

                #footer-open-account .content.mobile button{
                    box-sizing: border-box;
                    font-size: 16px;
                    line-height: 22px;
                    padding:5px 10px;
                    width: 100%;
                }

                    #footer-open-account .content.mobile p img{
                        width: 108px;
                    }

    #footer-landing{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding:16px 0 32px;
    }

    #form-referral{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding:56px 16px 32px;
    }

    #form-referral, .overlay .message-box{
        height: 100%;
        border-radius: 0;
        max-width: unset;
        overflow: auto;
    }

        #form-referral fieldset{
            display: flex;
            flex-direction: column;
            height: calc(100% - 144px);
            justify-content: space-between;
        }

            #form-referral fieldset legend{
                font-size: 16px;
                line-height: 22px;
            }

            #form-referral ul .field-wrap::before{
                font-size:16px;
                line-height: 22px;
                top:20px;
            }

            #form-referral ul .field-wrap.focused::before{
                top:12px;
            }

            #form-referral input,
            #form-referral select {
                font-size: 16px;
                line-height: 22px;
            }

            #form-referral input, #form-referral select{
                height: 64px;
                padding:41px 16px 21px;
            }

            #form-referral select{
                padding: 23px 12px 3px;
            }

            #form-referral>fieldset>ul>li.phone-wrap>div.field-wrap.error>p:nth-child(2){
                margin-left:-111px;
            }

                #form-referral .msg-wrap{
                    flex:min-content;
                }

            #form-referral button[type="submit"]{
                padding:11px 24px;
            }

    .overlay.show-message .message-box{
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding:0 16px;
    }

    .overlay .message-box .btn.primary.link-redirect{
        bottom: 16px;
        box-sizing: border-box;
        padding: 11px 24px;
        position: absolute;
        width: calc(100% - 32px);
    }

}


@media only screen and (max-width: 425px) {

    .sec01 picture img{
        height:auto;
        max-width: 320px;
    }

}