main#content{
    margin-bottom: 0;
}
section{
    &.portlet{
        margin-bottom: 0 !important;
    }
}
.input-libre-nado {
    border: 1px solid #D7D7D7 !important;
    border-radius: 8px!important;
    margin-bottom: 20px !important;
    padding-left: 10px !important;
    color: #1A1A1A !important;
}
.input-libre-nado:hover {
    border: 1px solid #FAB725 !important;
}
.input-libre-nado:focus {
    border: 2px solid #FAB725 !important;
    caret-color:#FAB725 ;
    box-shadow: none;
}
.input-libre-nado.error-field {
    border: 2px solid  #D32F2F !important;
    caret-color: #D32F2F;
}
.libre-nado-label{
    position: absolute;
    z-index: 1;
    margin: 0 !important;
    top: -10px;
    left: 14px;
    width: auto !important;
    background: white;
    font-family: Roboto;
    font-size: 14px!important;
    font-weight: 700!important;
    line-height: 18px!important;
    text-align: left;
}
.input-libre-nado-container{
    position: relative;
}
.input-libre-nado-container input[type="text"]::placeholder{
    margin-left: 10px;

    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.20000000298023224px;
    text-align: left;
    color: #484848;
;
}
.libre-nado-container{
    background:#F6F6F6;
    margin: auto;
    border-radius: 16px;
    padding: 24px 32px 32px !important;
}
.formularis .input-checkbox-wrapper label{
    margin-top: 0;
}
.more-baby-text{
    padding: 8px 16px;
    border-radius: 8px;
    color:#2A5135;
    background: #E6EFE8;
    margin-bottom: 24px;
    font-size: 14px;
}
.sendBabyFormBtn{
    min-height: 40px!important;
    max-height: 40px!important;
    border-radius: 50px !important;
    background:#FAB725;
    font-weight: 700;
    border: none;
    color: #1A1A1A;
}
.sendBabyFormBtn-disabled{
    background: #D7D7D7 !important;
    border: none!important;
    opacity: unset!important;
}
.sendBabyFormBtn-disabled span{
    color:#656565;
    line-height: 0!important;
}
.camps-custom{
    margin-bottom: 20px;
}
.libre-line{
    margin-left: 15px;
    margin-right: 20px;
    margin-bottom: 20px!important;
}
.more-children-calendar{
    position: relative;
}
.children-birthdate-element input[type="text"]::placeholder{
    margin-left: 10px;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.20000000298023224px;
    text-align: left;
    color:#484848;
}
.sendBabyFormBtn span{
    line-height: 0!important;
    font-size: 16px!important;
}
.more-children-cb label{
    margin-top: 0!important;
}
.custom-check-legal label p{
    margin-bottom: 0!important;
}
.condicionsBaby label{
    margin-top: 0!important;
}
.condicionsBaby{
    margin-bottom: 12px;
}
.button-holder{
    margin-top: 20px!important;
    margin-bottom: 0!important;
}
.libre-nado-container .modificar-compte{
    padding-right: 0!important;
    padding-left: 0!important;
}
.libre-nado-container form{
    min-width: unset!important;
}
.libre-main-title{
    font-family: Roboto Slab;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    text-align: left;
    color:#1A1A1A;
    margin-bottom: 24px;
}
.sendBabyFormBtn:hover{
    outline: none;
}
.sendBabyFormBtn:focus{
    background:#FAB725!important;
    outline: none;
    box-shadow: none;
}
.custom-check {
    position: relative;
    label {
        &:before{
            content: "";
            background-color: transparent;
        }
        &:before {
            border: 2px solid black;
            padding: 5px;
            display: inline-block;
            position: relative;
            vertical-align: middle;
            cursor: pointer;
            margin-right: 8px;
            margin-bottom: 4px;
            border-radius: 4px;
            width:20px;
            height:20px;
        }
        &:after {
            position: absolute;
            top: 15px;
            left: 6px;
            width: 6px;
            height: 10px;
            border: solid black;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
    }
    input {
        width: 0;
        position: absolute;
        visibility: hidden;
        &:checked + label:after{
            content: "";
            display: block;
        }
        &:checked + label:before {
            background-color: black;
        }
        &:checked + label:after {
            border-color: white;
        }
    }
    &:hover input + label:after {
        content: "";
        display: block;
    }
}
.custom-check label{
    width: fit-content !important;
}
.custom-check-more-baby label{
    font-size: 14px !important;
}
.custom-check-legal label{
    font-size: 14px !important;
}

.custom-check-facturacio {
    .input-checkbox-wrapper{
        label {
            position: relative;
            span{
                &:before{
                    content: "";
                    background-color: transparent!important;
                    border: 2px solid black!important;
                    padding: 5px;
                    display: inline-block;
                    position: relative;
                    vertical-align: middle;
                    cursor: pointer;
                    margin-right: 8px;
                    margin-bottom: 4px;
                    border-radius: 4px!important;
                    width:20px;
                    height:20px;
                }
                &:after {
                    position: absolute;
                    top: 5px;
                    left: 7px;
                    width: 5px;
                    height: 9px;
                    border: solid black!important;
                    border-width: 0 2px 2px 0!important;
                    transform: rotate(45deg)!important;
                }
            }
        }
        input {
            width: 0;
            position: absolute;
            visibility: hidden;
            &:checked + span:after{
                content: "";
                display: block!important;
                border-color: white!important;
            }
            &:checked + span:before {
                background-color: black!important;
            }
            &:checked{
                background-color: transparent;
                border-color: #1A1A1A;
            }
        }
        &:hover input + span:after {
            content: "";
            display: block!important;
        }
    }
}
@media (max-width: 767px) {
    .custom-check-facturacio {
        .input-checkbox-wrapper {
            label {
                margin: 0;
                .check-sub-title{
                    margin: 0;
                    margin-top:-10px;
                }
                span {
                    &:after {
                        top: 16px !important;
                    }
                }
            }
        }
    }
    #agreementModal .modal-content{
        border-radius: 0 !important;
    }
    .libre-main-title{
        font-size: 22px;
    }
    .custom-check-more-baby label{
        font-size: 16px!important;
        color: #1A1A1A;
    }
    .custom-check-legal label{
        font-size: 16px!important;
        color: #1A1A1A;
    }
    .custom-check-legal p{
        margin-bottom: 0!important;
    }
}
#agreementModal .modal-dialog{
    height: 100%;
    max-width: 434px;
}
#agreementModal .modal-content{
    height: 100%;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}
.condition-title .libre-agreement-title{
    font-family: Roboto Slab;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    text-align: left;
    color: #1A1A1A;
}
.condition-description{
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.20000000298023224px;
    text-align: left;
    color: #2A2A2A;

}
#modal-header-data{
    border-bottom: none!important;
    height: auto;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    padding-left: 24px!important;
}
.modal-header{
    border-bottom: none!important;
}
.modal-body-description{
    padding: 24px !important;
}
/*body.modal-open{*/
/*    position: fixed;*/
/*}*/
.modal.right.fade .modal-dialog {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}

.modal.right.fade.show .modal-dialog {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.libre-nado-btn-container{
    height: 40px;
    border-radius: 16px;
    border: none!important;
    padding-left: 24px;
    padding-right: 24px;
}
.libre-nado-btn-container button{
    border-radius: 24px;
    font-family: Roboto;
    font-size: 16px!important;
    font-weight: 700!important;
    line-height: 22px!important;
    letter-spacing: 0.20000000298023224px;
    text-align: center;
    color: #1A1A1A;
    box-shadow: none !important;
}
.libre-nado-back-container{
    border: 1px solid #1A1A1A;
    margin-bottom: 16px;
}
.libre-nado-back-container button{
    border: 1px solid #1A1A1A !important;
    background: white!important;
}
.libre-nado-back-container button:hover{
    color: #1A1A1A;
}
.libre-nado-close-container button{
    background: #FAB725 !important;
    border: none;
}
.libre-nado-close-container button:hover{
    background: #FAB725;
    color: #1A1A1A;
}
.libre-main-btn-container{
    padding-bottom: 24px;
}
#libresuccessmodal .modal-dialog{
    max-width: 410px!important;
}
#libresuccessmodal .modal-content{
    border-radius: 16px;
}
.success-text{
    background:#E6EFE8;
    border-radius: 8px;
}
.success-text p{
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.2px;
    text-align: left;
    color:#2A5135;
    padding: 6px 17px;
    margin-bottom: 0!important;
}
.libre-success-modal-description{
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.2px;
    text-align: center;
    color: #1A1A1A;
    margin-bottom: 24px!important;
    padding-right: 40px;
    padding-left: 40px;
}
.libre-success-modal-title{
    font-family: Roboto Slab;
    font-size: 24px;
    font-weight: 700!important;
    line-height: 28px!important;
    text-align: center;
    color: #1A1A1A!important;
}
.icon-store-libre {
    margin-top: 6px;
    display: inline-block;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: url(/o/bonpreu-portal-theme/images/illus_sobre.png);
}
html .formularis input.form-date-no-button{
    background-image: url(/o/bonpreu-corporative-theme/images/calendar-black.svg) !important;
    background-position: right 10px center !important;
}
.libre-nado-btn-container button span{
    line-height: 0!important;
}
#libresuccessmodal .modal-header{
    margin-top: 20px;
    margin-bottom: 10px;
    height: auto;
    padding-right: 16px;
}
#libresuccessmodal .modal-body{
    padding: 0 16px 24px;
}
.modal-image-title img{
    padding-bottom: 24px;
}
.modal-image-title h3{
    padding-bottom: 24px;
    margin: 0!important;
}
@media (max-width: 767px) {
    .custom-check-more-baby label{
        margin: 0!important;
    }
    .custom-check-legal {
        position: relative;
        label {
            &:after {
                top: 7px !important;
            }
        }
    }
    .custom-check-more-baby {
        position: relative;
        label {
            &:after {
                top: 17px !important;
            }
        }
    }
    .user-communication-container .button-holder{
        margin-top: 12px!important;
    }
}
select.input-libre-nado{
    box-shadow: none!important;
}
#libresuccessmodal.modal.fade.show{
    padding-right: 0!important;
}

.custom-select {
    position: relative;
    padding: 0!important;
    background: #FFFFFF !important;
}

.custom-select select {
    display: none;
}

.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 25px;
    height: 25px;
    background: url(/o/bonpreu-corporative-theme/images/down_arrow.svg) no-repeat right 10px center;
}

.select-selected.select-arrow-active:after {
    top: 14px;
    right: 18px;
    transform: rotate(180deg);
}
.select-items div,.select-selected {
    padding: 8px 16px;
    cursor: pointer;
    user-select: none;
    align-content: center;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
}
.select-items {
    position: absolute;
    background-color: white;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    margin-top: 7px;
    border-radius: 8px;
}
.select-hide {
    display: none;
}
.select-items div:hover {
    background: #FDDE9B;
}

/*User-communications*/
.communication-title{
    font-family: Roboto Slab;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    text-align: left;
    padding: 0;
    margin: 16px auto 24px;
}
.custom-check-communication label{
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: left;
    margin: 0;
}
.custom-check-communication label:after{
    top: 7px!important;
    left: 7px !important;
    width: 5px!important;
    height: 8px!important;

}

.preference-btn:hover{
    background: #FDDE9B;
    border: 2px solid #FAB725;
    outline: none;
    box-shadow: none;
}
.preference-btn:focus{
    background: #FFF8E9!important;
    border: 2px solid #FAB725!important;
}

.user-communication-preference{
    background: #F6F6F6;
    border-radius: 16px;
    padding: 20px 32px;
    margin: auto auto 32px;
}
.user-communication-preference.facturacio{
    margin: auto auto 32px;
}
.comercial-check{
    margin-bottom: 32px;
}
.rgpd-check{
    margin-bottom: 12px;
}
.check-main-title{
    font-family: Roboto;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0px;
    text-align: left;
    color:#1A1A1A;
}
.check-sub-title{
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    color: #2A2A2A;
    line-height: 18px;
    letter-spacing: 0.24px;
    text-align: left;
    margin: 4px 0 0;
}
@media (min-width: 576px) {
    .sendBabyFormBtn{
        width: 203px;
    }
}
.user-preference-main-container.facturacio-container{
    max-width: 647px;
}
.toast-section,.toast-section-mobile{
    display: none;
    .show-toast{
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
    width:15.125rem;
    padding: .75rem 1rem;
    background-color:#2A5135;
    border-radius: 12px;
    justify-content: center;
    position: absolute;
    top:-96px;
    right:0px;
    z-index:99;
    p{
        font-family: "Roboto";
        font-weight: 700;
        font-size: 14px;
        line-height: 18px;
        color: #FFFFFF;
        margin-bottom:0;
        &.toast-message{
            font-weight: 400;
            margin-top:12px;
            margin-left:0;
        }
        &.toast-message-title{
            width:14rem;
            margin-left: 1.5rem;
        }
    }
    .toast-image{
        width:17px;
        background-repeat: no-repeat!important;
        background-image: url("/o/bonpreu-corporative-theme/images/user_account/toast-success.png");
    }
    @media screen and (max-width: 991px) {
        justify-content: flex-start;
        width:100%;
        top:53vh;
        .toast-section-mobile{
            p{
                &.toast-message-title{
                    width:100%;
                }
            }
        }
    }
}
.toast-section-preference{
    max-width: 300px;
    width: 100%;
    top: -66px!important;
}
@media screen and (min-width: 992px){
    .toast-section-preference.facturacio-toast{
        top:-75%!important;
        right: 1% !important;
    }
    .toast-section-preference{
        top: -36%!important;
        right: -34%;
    }

}

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

    .toast-section-preference{
        bottom: -5px;
        left: 0;
        right: 0;
        margin: auto;
        top: unset !important;
    }
    .toast-section-mobile{
        position: absolute;
    }
    .select-selected:after {
        top: 7px;
    }

    .select-selected.select-arrow-active:after {
        top: 7px;
    }
    /*.condicionsBaby .camps-custom{*/
    /*    margin-bottom: 28px;*/
    /*}*/
    .libre-nado-container{
        padding: 24px 24px 32px !important;
    }
    .communication-title{
        margin-top: 8px;
    }
    .toast-section-libre-nado{
        bottom: 0!important;
        top: unset!important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 18rem!important;
    }
}
.toast-section-preference .toast-image{
    background-position-y:center;
    height: unset!important;
    width:20px;
}
.toast-section-preference.error-message{
    background-color: #D32F2F;
}
.toast-section-preference.error-message .toast-image{
    background-image: url("/o/bonpreu-corporative-theme/images/error.png");
    background-repeat: no-repeat!important;
}
.toast-section-preference .toast-message-title{
    margin-left: .5rem !important;
}
.custom-check-legal label{
    line-height: 18px !important;
}
.input-libre-nado-date{
    margin-bottom: 24px!important;
}
.libre-nado-container-baby .button-holder{
    margin-top: 12px!important;
}
.facturacio .button-holder{
    margin-top: 2rem!important;
}
.custom-check-more-baby label:after{
    top: 5px!important;
    left: 7px!important;
    width: 5px!important;
    height: 9px!important;
}
.custom-check-legal label:after{
    top: 5px!important;
    left: 7px!important;
    width: 5px!important;
    height: 9px!important;
}
#agreementModal #modal-header-libre{
    height: auto!important;
    margin-bottom: 16px;
    margin-top: 16px;
}
.libre-nado-calendar#ui-datepicker-div{
    border-radius: 16px;
    box-shadow: 0 2px 8px 0 #0000001A;
    border: none;
    height: 414px;
}
.libre-nado-calendar .ui-datepicker-header{
    background: white;
    border: none;
    padding-top: 20px!important;
}
.libre-nado-calendar .ui-datepicker-calendar td a{
    border: none!important;
    background: white!important;
    font-weight: 700 !important;
    text-align: center;
}
.libre-nado-calendar .ui-datepicker-calendar td a:hover{
    border: none!important;
    background: white;
}
.libre-nado-calendar .ui-datepicker-unselectable span{
    border: none!important;
    background: white!important;
    color: #656565!important;
    text-align: center!important;
}
.libre-nado-calendar .ui-datepicker-calendar{
    border-spacing: .5rem 1.25rem !important;
    border-collapse: separate!important;
}
.libre-nado-calendar .ui-state-default.ui-state-active{
    color: #1A1A1A;
    background: #FAB725!important;
    border-radius: 50%;
}
.libre-nado-calendar select.ui-datepicker-year{
    width: fit-content!important;
    border: none;
    background: white;
    outline: none;
    box-shadow: none;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
}
.libre-nado-calendar select.ui-datepicker-month{
    width: fit-content!important;
    border: none;
    background: white;
    margin-right: 24px!important;
    outline: none;
    box-shadow: none;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
}
.libre-nado-calendar .ui-datepicker-prev{
    right: 60px!important;
    top: 24px !important;
    left: unset!important;
    background: url(/o/bonpreu-corporative-theme/images/formularis/cal_left.svg) no-repeat !important;
    cursor: pointer;
}
.libre-nado-calendar .ui-datepicker-next{
    top: 24px !important;
    background: #1A1A1A!important;
    right: 16px !important;
    background: url(/o/bonpreu-corporative-theme/images/formularis/cal_right.svg) no-repeat !important;
    cursor: pointer;
}
.libre-nado-calendar .ui-datepicker-title{
 text-align: left!important;
    margin:0 1.1em!important;
}
.libre-nado-calendar .ui-datepicker-calendar thead tr th{
    font-weight: 400!important;
}
.libre-nado-calendar .ui-datepicker-calendar tbody td a{
    padding-top: 6px;
}
.libre-nado-calendar .ui-datepicker-prev:hover{
    border: none;
}
.libre-nado-calendar .ui-datepicker-next:hover{
border: none;
}
.libre-nado-calendar{
    z-index: 99!important;
}
.toast-section-libre-nado.error-message{
    background-color: #D32F2F;
}
.toast-section-libre-nado .toast-message-title{
    margin-left: 1rem!important;
    width: unset!important;
}
.toast-section-libre-nado.error-message .toast-image{
    background-image: url("/o/bonpreu-corporative-theme/images/error.png");
    background-repeat: no-repeat!important;
    padding-right: 19px;
}
.toast-section-libre-nado{
    max-width: 100%!important;
    width: 20rem!important;
}
@media (max-width: 767px) {
    .libre-nado-container-baby .button-holder{
        margin-top: 20px!important;
    }
    .custom-check-more-baby label:after{
        top: 6px!important;
        left: 7px!important;
    }
    #agreementModal #modal-header-libre{
        margin-top: 32px;
    }
    .comercial-check{
        margin-bottom: 24px!important;
    }
}
.custom-check-communication label:before{
    border-radius: 5px;
}
.rgpd-check .custom-check-communication label:after{
    top: 6.5px!important;
}
.preference-btn-focus{
    background: #FFF8E9!important;
    border: 2px solid #FAB725!important;
}
@media screen and (min-width: 991px) {
    .user-communication-preference{
        max-width: 647px;
    }
    .libre-nado-container-baby{
        max-width: 652px !important;
    }
    .input-libre-nado,.select-selected {
        height: 52px !important;
    }
    .user-preference-main-container-pref{
        max-width: 647px;
    }
    .toast-section-libre-nado {
        top: -38% !important;
        right: 0 !important;
    }
}
.custom-check-legal label:before{
    padding: 8px!important;
}
.custom-check-more-baby label p{
    line-height: 1.5;
    color: #1A1A1A;
}
@media (max-width: 575px) {
    .sendBabyFormBtn{
        width: 100%;
    }
    .preference-btn{
        width: 203px;
        height: 40px;
    }
    #agreementModal .modal-dialog{
        max-width: 100%;
    }
    .user-communication-preference{
        margin: auto auto 32px;
        padding: 20px;
    }
    .user-preference-main-container{
        padding-left: 24px;
        padding-right: 24px;
    }
    .user-preference-main-container.facturacio-container{
        padding-left: 0;
        padding-right: 0;
    }
    #libresuccessmodal .modal-dialog{
        max-width: 342px!important;
        margin: auto;
    }
    .communication-title{
        margin-bottom: 16px;
    }
}
@media (min-width: 400px) {
    .libre-nado-calendar#ui-datepicker-div{
        width: 343px;
    }
}
@media (max-width: 399px) {
    .libre-nado-calendar#ui-datepicker-div{
        width: 300px;
    }
    .libre-nado-calendar .ui-datepicker-calendar{
        border-spacing: .25rem 1.25rem !important;
    }
}