.form-text, .form-select, .form-email, .form-number{
    border-radius: 25px;
    font-size: 1rem;
    line-height: 1.5;
}
form .row fieldset.form-item-num-client{
    margin-bottom: 25px;
}

.mv-field-rgp{
    display: none!important;
}
.custom-select.is-invalid, .form-control.is-invalid, .was-validated .custom-select:invalid, .was-validated .form-control:invalid,
.form-group.error input, .form-group.error select{
    border: 2px solid #dc3545;
}
.input-error-desc{
    color: #dc3545;
    font-size: 14px;    
    font-family: "Montserrat";
    font-weight: bold;
    margin-top: 5px;
}
form.lead-form, form.document-form, form.download-form, form.demo-min-form{
    background-color: #F4F4F4;
    border-radius: 10px;
    padding: 20px 0;
    position: relative;
}
form .mandatory-text{
    position: absolute;
    top: -35px;
    right: 0;
    font-size: 1rem;
}
form.lead-form label, form.lead-form legend,
form.demo-min-form label, form.demo-min-form legend,
form.document-form label, form.document-form legend, 
form{
    font-size: 1rem;
    font-weight: 600;
}
form .row{
    margin-left: 15px;
    margin-right: 15px;
}
form#contact-message-parrainage-form .form-actions{
    text-align: center;
}
form .row.form-group fieldset{
    margin-bottom: 0;
}
form.lead-form legend, form.document-form legend, form.demo-min-form legend, form.demo-min-form label{
    margin-bottom: 0;
}

form div.custom-radio{
    display: inline-block;
    margin-left: 25px;
    min-height: auto;
    line-height: 1;
}

form .fieldset-wrapper{
    line-height: 1;
}

form div.custom-radio:first-of-type{
    margin-left: 0;
}

form div.custom-radio label{
    font-weight: normal;
    padding-left: 0;
    min-height: auto;
}

form div.custom-radio .custom-control-label::before, form div.custom-radio .custom-control-label::after{
    top: 0;
}

form .row .form-group, form .row fieldset{
    margin-bottom: 0;
}

form#contact-message-parrainage-form fieldset, form .row fieldset#contact-message-parrainage-form fieldset{
    margin-bottom: 1rem;
}

form .rgpd-text{
    font-size: 1rem;
    font-weight: 600;
    font-style: normal;
}

form .line-form-rgpd{
    padding-left: 15px;
    padding-right: 15px;
}

.ui-widget-header .ui-dialog-titlebar-close:after{
    content: "X";
    font-size: 13px;
    font-weight: bold;
    top: -2px;
    position: absolute;
    left: 4px;
}
/*
form .js-media-library-item{
    display: inline-block;
    border: 1px solid grey;
    border-radius: 15px;
    margin: 10px;
    padding: 10px;
    max-width: 22%;
}
form .js-media-library-item img{
    width: 100%;
    height: auto;
}
*/
.page-node-11 .alert-wrapper, .node--type-article .alert-wrapper{
    display: none;
}
form.lead-form-custom{
    hyphens: none;
}
.false-form-select{
    background-color: #FFF;
    color: #162056;
    border: 1px solid #ced4da;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}
.false-form-select.select{
    background-color: #162056;
    border-color: #162056;
    color: #FFF;
}
.false-form-select span{
    padding: 2em;
    font-family: "Montserrat";
}
.false-form-select:hover{
    border: 2px solid #162056;
}
form .row.row-head-form{
    margin-left:-15px;
    margin-right:-15px;
}
.slider-dates-container::before{
    content: " ";
    position: absolute;
    left: -30px;
    right: -30px;
    height: 1px;
    background-color: #ced4da;
    top: 55px;;
}
.slider-dates-container .slick-arrow{
    top: 15px;
    position: absolute;
    font-size: 0;
    background: url('/themes/custom/images/ico-arrow.png') no-repeat;
    background-size: 100%;
    width: 16px;
    height: 24px;
    border: none;
    cursor: pointer;
    outline: none!important;
}
.slider-dates-container .slick-arrow.slick-disabled{
    background-position: bottom;
}
.slider-dates-container .slick-prev{
    left:-15px;
}
.slider-dates-container .slick-next{
    right:-15px;
    transform: rotate(180deg);
}
.container-select-date{
    background-color: #FFF;
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 1em;
    padding-bottom: 2em;
}

.slider-dates-container.hidden-horraires .column-date .box-horraire:nth-of-type(n+6){
    display: none;
}
.column-date{
    text-align: center;
    padding: 0 15px;
}
.column-date .header-date{
    font-weight: normal;
}
.box-horraire{
    padding: .5em 1.5em;
    border: 1px solid #ced4da;
    margin-top: 1em;
    border-radius: 5px;
    cursor: pointer;
}
.box-horraire:hover{
    background-color: #ced4da;
}
.box-horraire.select{
    background-color: #162056;
    color: #FFF;
}
.box-horraire:first-of-type{
    margin-top: 1.5em;
}
.column-date.ferie{
    opacity: .6;
}
.column-date.ferie .box-horraire{
    cursor: initial;
}
.column-date.ferie .box-horraire:hover{
    background-color: #FFF;
}
.form-label-required span.fieldset-legend:after{
    content: '';
    vertical-align: super;
    display: inline-block;
    background-image: url(/themes/contrib/bootstrap_barrio/css/components/../../images/required.svg);
    background-repeat: no-repeat;
    background-size: 7px 7px;
    width: 7px;
    height: 7px;
    margin: 0 .3em;
}
.txt-info-visio{
    border:1px solid #96D9FB;
    background-color: #EAF8FF;
    padding: 1em;
    border-radius: 5px;
}
.txt-info-visio p{
    margin-bottom: 0;
    display: inline-block;
    width: calc(100% - 55px);
    margin-left: 25px;
}
.txt-info-visio::before{
    content: " ";
    display: inline-block;
    vertical-align: top;
    background: url('/themes/custom/images/ico-information.png') no-repeat top;
    background-size: 100%;
    width: 24px;
    height: 24px;
}
.form-background .custom-control-input:checked~.custom-control-label::before{
    background-color: #FFF;
}
.form-background .custom-control-label::before{
    background-color: #FFF;
    border: 1px solid #162056;
    border-radius: 5px;
}
.form-background .radio .custom-control-label::before{
    border-radius: 50%;
}
.form-background .custom-radio .custom-control-input:checked~.custom-control-label::after,
.form-background .checkbox .custom-control-input:checked~.custom-control-label::after{
    left: 4px;
    background-color: #162056;
    background-image: none;
    border-radius: 50%;
    width: .5rem;
    height: .5rem;
    top: 50%;
    transform: translateY(-50%);
}
.form-background .checkbox .custom-control-input:checked~.custom-control-label::after{
    border-radius: 2px;
    top: 35%;
    transform: translateY(-50%);
}
.form-background .custom-radio .custom-control-input:checked~.custom-control-label::before{
    background-color: #FFF;
}
.form-background{
    background-color: #F4F4F4;
    border-radius: 10px;
    padding: 20px 0;
    position: relative;
}
.form-background legend{
    display: inline-block;
    margin-bottom: 0;
    line-height: initial;
    font-size: initial;
}
.form-background >.row >.form-group{
    margin-bottom: 1rem!important;
}
.form-background .form-group .row{
    margin-bottom: 0;
}
.form-background .fieldset-legend{
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: .5rem;
}
.form-background .custom-control-label{
    font-weight: normal;
}
.form-background .checkbox .custom-control.checkbox{
    display: inline-block;
    margin-right: 15px;
}
.form-background .checkbox .custom-control.checkbox:last-of-type{
    margin-right: 0px;
}
.form-background .custom-control-label::before{
    top: 0;
}
.form-background .text-normal,
form.demo-min-form .text-normal{
    font-weight: normal;
}
.not-access-client-space{
    text-decoration: underline;
    cursor: pointer;
}
.demo-min-form{
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}
h3.form-title{
    margin-bottom: 0;
    margin-top: 10px;
}
.contain-min-form{
    position: relative;
    height: 100%;
}
.contain-min-form form{
    position: absolute;
    bottom: -50px;
}
.section-banner-form{
    padding-bottom: 100px;
    min-height: 605px;
}
.section-banner-form ul{
    list-style: none;
    padding-left: 0;
}
.section-banner-form ul li{
    background: url("/themes/custom/images/check-li-white.png") no-repeat left 5px;
    background-size: auto 20px;
    padding-left: 2.5em;
    list-style: none;
    margin: 0;
    margin-top: .5em;
    justify-content: center;
    display: flex;
    flex-direction: column;
    min-height: 30px;
}
.section-banner-form .form-text,
.section-banner-form .form-select{
    margin-top: 0;
}

body.node--type-landing-page form.document-form #edit-row-6{
    display: none;
}
@media screen and (max-width: 993px) {
    form.lead-form, form.document-form{
        margin-top: 45px;
    }
}

@media screen and (max-width: 768px) {
    .section-banner-form{
        padding-bottom: 490px;
        min-height: 605px;
    }
    .section-banner-form ul{
        text-align: left;
        margin: 0 auto;
        display: inline-block;
        margin-bottom: 1rem;
    }
    .section-banner-form >div{
        padding-bottom: 100px;
    }
    .contain-min-form form{
        top: 0px;
        bottom: auto;
    }
    .row-head-form >div:nth-child(n + 3){
        margin-top: 30px;
    }

    .form-background .checkbox .custom-control.checkbox{
        display: block;
        margin-right: 0px;
        margin-top: 10px;
    }
    .form-background .checkbox .custom-control.checkbox:first-of-type{
        margin-top: 0px;
    }
    form #edit-type-rdv div.custom-radio{
        margin-left: 0;
        display: block;
    }
    form #edit-type-rdv div.custom-radio:last-of-type{
        margin-top: 15px;
    }
    .false-form-select span{
        width: 100%;
        padding: .5em;    
        font-size: 93%;
        line-height: 18px;
    }
    .form-background #edit-col-client .text-center, .form-background #edit-col--3 .text-center{
        text-align: left!important;
    }
    .form-background #edit-col-client .text-center a.btn, .form-background #edit-col--3 .text-center a.btn{
        width: 100%;
    }
    .form-background .not-access-client-space{
        text-align: center;
        width: 100%;
        display: inline-block;
    }
}

.hide-label label{
    display: none;
}

.section-customize-form .demo-min-form{
    margin-top: 1.5rem;
    box-shadow: none;
}

.node--type-article .layout__region--second >div:first-of-type .section-customize-form .demo-min-form {
    margin-top: 0rem;
}

.rgpd-size-9 .line-form-rgpd{
    font-size: 9px;
}

.rgpd-size-10 .line-form-rgpd{
    font-size: 10px;
}

.rgpd-size-11 .line-form-rgpd{
    font-size: 11px;
}

.rgpd-size-12 .line-form-rgpd{
    font-size: 12px;
}

.rgpd-size-13 .line-form-rgpd{
    font-size: 13px;
}

.section-banner-form-bkg form.demo-min-form{
    padding: 35px 0;
    position: relative;
    bottom: auto;
    border-radius: 0;
}

.no-form-shadow form, .no-form-shadow .demo-min-form{
    box-shadow: none;
}