* {
    margin: 0;
    padding: 0
}

html {
    height: 100%
}

.color_red {
    color: #E3001B;
}

.bg_red {
    background-color: #E3001B;
}

.color_blue {
    color: #182983;
}

.bg_blue {
    background-color: #182983;
}

.is-invalid,
label.parent-is-invalid,
select.is-invalid ~ .select2-container--bootstrap4 .select2-selection {
    border-color: red !important;
}

.error {
    color: red;
}

#heading {
    text-transform: uppercase;
    color: white;
    font-weight: bold;
    margin-top: -150px;
    margin-bottom: 90px;
}

.row-title {
    margin-top: 10px;
    margin-bottom: 10px;
}

.form-card {
    text-align: left
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered,
.select2-dropdown,
.select2-search--dropdown .select2-search__field {
    color: #2C3E50;
    background-color: #ECEFF1;
}


#form_tarif_auto fieldset:not(:first-of-type) {
    display: none
}

#form_tarif_auto fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative
}

#form_tarif_auto {
    text-align: center;
    position: relative;
    margin-top: 20px
}

#form_tarif_auto select,
#form_tarif_auto input,
#form_tarif_auto textarea {
    padding: 8px 15px 8px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /*margin-bottom: 25px;*/
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Lato', serif;
    color: #2C3E50;
    background-color: #ECEFF1;
    font-size: 16px;
    letter-spacing: 1px
}

#form_tarif_auto select:focus,
#form_tarif_auto input:focus,
#form_tarif_auto textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #E3001B;
    outline-width: 0
}

#form_tarif_auto .action-button {
    width: 100px;
    background: #E3001B;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 0px 10px 5px;
    float: right
}

#form_tarif_auto .action-button:hover,
#form_tarif_auto .action-button:focus {
    background-color: #E3001B
}

#form_tarif_auto .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px 10px 0px;
    float: right
}

#form_tarif_auto .action-button-previous:hover,
#form_tarif_auto .action-button-previous:focus {
    background-color: #000000
}

#form_tarif_auto #progressbar li {
    width: 33%;
}


#form_demande_devis fieldset:not(:first-of-type) {
    display: none
}

#form_demande_devis fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative
}

#form_demande_devis {
    text-align: center;
    position: relative;
    margin-top: 20px
}

#form_demande_devis select,
#form_demande_devis input,
#form_demande_devis textarea {
    padding: 8px 15px 8px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /*margin-bottom: 25px;*/
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Lato', serif;
    color: #2C3E50;
    background-color: #ECEFF1;
    font-size: 16px;
    letter-spacing: 1px
}

#form_demande_devis select:focus,
#form_demande_devis input:focus,
#form_demande_devis textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #E3001B;
    outline-width: 0
}

#form_demande_devis .action-button {
    width: 100px;
    background: #E3001B;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 0px 10px 5px;
    float: right
}

#form_demande_devis .action-button:hover,
#form_demande_devis .action-button:focus {
    background-color: #E3001B
}

#form_demande_devis .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px 10px 0px;
    float: right
}

#form_demande_devis .action-button-previous:hover,
#form_demande_devis .action-button-previous:focus {
    background-color: #000000
}

#form_demande_devis #progressbar li {
    width: 50%;
}

#form_confirmation fieldset:not(:first-of-type) {
    display: none
}

#form_confirmation fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative
}

#form_confirmation {
    text-align: center;
    position: relative;
    margin-top: 20px
}

#form_confirmation select,
#form_confirmation input,
#form_confirmation textarea {
    padding: 8px 15px 8px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /*margin-bottom: 25px;*/
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Lato', serif;
    color: #2C3E50;
    background-color: #ECEFF1;
    font-size: 16px;
    letter-spacing: 1px
}

#form_confirmation select:focus,
#form_confirmation input:focus,
#form_confirmation textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #E3001B;
    outline-width: 0
}

#form_confirmation .action-button {
    width: 100px;
    background: #E3001B;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 0px 10px 5px;
    float: right
}

#form_confirmation .action-button:hover,
#form_confirmation .action-button:focus {
    background-color: #E3001B
}

#form_confirmation .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px 10px 0px;
    float: right
}

#form_confirmation .action-button-previous:hover,
#form_confirmation .action-button-previous:focus {
    background-color: #000000
}

#form_confirmation #progressbar li {
    width: 100%;
}

.card {
    z-index: 0;
    border: none;
    position: relative
}

.fs-title {
    font-size: 25px;
    color: #E3001B;
    margin-bottom: 15px;
    font-weight: normal;
    text-align: left
}

.purple-text {
    color: #E3001B;
    font-weight: normal
}

.steps {
    font-size: 25px;
    color: gray;
    margin-bottom: 10px;
    font-weight: normal;
    text-align: right
}

.fieldlabels {
    color: gray;
    text-align: left
}

.field-labels-question {
    color: gray;
    text-align: justify;
}

#progressbar {
    margin-bottom: 10px;
    overflow: hidden;
    color: lightgrey
}

.etoile {
    color: #E3001B
}

#progressbar .active {
    color: #E3001B
}

#progressbar li {
    list-style-type: none;
    font-size: 15px;
    width: 33%;
    float: left;
    position: relative;
    font-weight: 400
}

#progressbar #vehicule:before {
    font-family: FontAwesome;
    content: "\f005"
}

#progressbar #garantie:before {
    font-family: FontAwesome;
    content: "\f009"
}

#progressbar #prospect:before {
    font-family: FontAwesome;
    content: "\f007"
}

#progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 20px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px
}

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #E3001B
}

.progress {
    height: 20px
}

.progress-bar {
    background-color: #E3001B
}

.fit-image {
    width: 100%;
    object-fit: cover
}

/* Custom radio */

.cradio {
    max-width: 200px !important;
}

.custom-radio {
    margin: auto;
    height: 45px !important;
    overflow: inherit;
    margin-top: 7px !important;
}

.custom-radio input[type=radio] {
    opacity: 0;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    transform: scale(0.0, 0.0);
}

.custom-radio label {
    display: block;
    color: rgba(29, 29, 31, 0.76);
    width: 50px;
    text-align: center;
    padding: 3px 0;
    margin: 0 !important;
    margin-right: 10px !important;
    border: 2px solid #57BDF9;
    cursor: pointer;
    box-shadow: 0 0 1px 0 rgba(88, 87, 93, 0.43);
    transition-duration: 200ms;
}

.custom-radio label.yes-no-success:hover {
    background-color: #E3001B;
    color: white;
    transition-duration: 200ms;
}

.custom-radio label.yes-no-danger:hover {
    background-color: #182983;
    color: white;
    transition-duration: 200ms;
}

.custom-radio.active label.yes-no-success, .custom-radio.active label.yes-no-success:hover {
    background-color: #E3001B;
    color: white;
    transition-duration: 200ms;
}

.custom-radio.active label.yes-no-danger, .custom-radio.active label.yes-no-danger:hover {
    background-color: #182983;
    color: white;
    transition-duration: 200ms;
}

/* Custom radio pack */
.custom-radio-pack {
    margin: auto;
    height: 45px !important;
    overflow: inherit;
    margin-top: 7px !important;
    width: 100%;
}

.custom-radio-pack input[type=radio] {
    opacity: 0;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    transform: scale(0.0, 0.0);
}

.custom-radio-pack label {
    display: block;
    color: rgba(29, 29, 31, 0.76);
    width: 100%;
    text-align: center;
    padding: 20px 0;
    margin: 0 !important;
    margin-right: 10px !important;
    border: 2px solid #57BDF9;
    cursor: pointer;
    box-shadow: 0 0 1px 0 rgba(88, 87, 93, 0.43);
    transition-duration: 200ms;
}

.custom-radio-pack label:hover {
    background-color: #E3001B;
    color: white;
    transition-duration: 200ms;
}

.custom-radio-pack label:hover {
    background-color: #182983;
    color: white;
    transition-duration: 200ms;
}

.custom-radio-pack.active label, .custom-radio-pack.active label:hover {
    background-color: #E3001B;
    color: white;
    transition-duration: 200ms;
}

.custom-radio-pack.active label:hover {
    background-color: #182983;
    color: white;
    transition-duration: 200ms;
}

/*Custom input radio options garanties */

label.label-radio {
    position: relative;
    margin-bottom: 16px;
    cursor: pointer !important;
    padding-top: 8px;
    width: 80%;
    background-color: #f6f6f6;
    border-radius: 15px;
    transition-duration: 200ms;
}

@media screen and (max-width: 768px) {

    label.label-radio {
        height: auto;
        max-width: 100%;
        margin: auto auto 12px;
        transition-duration: 200ms;
    }

    .cradio {
        max-width: 250px !important;
    }
}

label.label-radio .image-radio {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .2;
}

label.label-radio.active {
    background-color: #fff;
}

label.label-radio.active .image-radio {
    opacity: 1;
}

label.label-radio:hover .image-radio {
    opacity: 1;
}

label.label-radio {
    border: 3px solid #182983;
    transition-duration: 50ms;
}

label.label-radio:hover {
    border: 3px solid #E3001B !important;
    transition-duration: 50ms;
}

label.label-radio.active {
    border: 3px solid #E3001B !important;
}

label.label-radio input[type=radio] {
    position: absolute;
    z-index: 2;
    right: -80px;
    width: 15px;
    height: 15px;
    top: 0;
    outline: none !important;
    border-radius: 5px !important;
    margin-left: 12px;
}

label.label-radio input[type=radio]:checked {
    background-color: #E3001B !important;
    color: #E3001B !important;
    border-color: #E3001B !important;
}

label.label-radio.active input[type=radio] {
    border: 2px solid #E3001B !important;
}

label.label-radio p, label.label-radio span, label.label-radio div {
    font-weight: normal !important;
    font-size: 13px !important;
    line-height: 22px !important;
}

/* Garanties */
.show-garantie {
    display: block;
}

.hide-garantie {
    display: none;
}

.garantie_wrapper .options_garantie_bloc {
    display: none;
}

.garantie_wrapper.options_active .options_garantie_bloc {
    display: flex;
}

#toast-container {
    width: 30% !important;
}

.tarif-value {
    font-size: 18px;
}

.option-description {
    display: none;
    position: absolute;
    background-color: #ffc107;
    color: black;
    border: solid 1px #fff;
    padding: 10px;
    width: 100%;
    z-index: 3;
}

.option-description:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    margin-left: 0;
    margin-top: -15px;
    border: 1.25rem solid #ffc107;
    transform: rotate(45deg);
    z-index: -1;
}

.button-text {
    padding: 0 25px;
    line-height: 56px;
    letter-spacing: 3px
}

.button-text.contactme {
    position: relative;
    font-weight: 50px;
}

.select2-container {
    width: 100% !important;
}

.labels-question-bloc {
    text-align: right;
}

@media (max-width: 768px) {
    .row {
        margin-right: 0px;
        margin-left: 0px;
    }

    .container {
        max-width: 100%;
    }

    .steps {
        display: none;
    }

    .field-labels-question {
        text-align: unset;
    }

    .labels-question-bloc {
        text-align: left;
    }

    #form_tarif_auto .next.action-button.first,
    #form_demande_devis .next.action-button.first,
    #form_confirmation .next.action-button.first {
        float: initial;
    }
}

@media (max-width: 360px) {
    .row {
        margin-right: 0px;
        margin-left: 0px;
    }

    .steps {
        display: none;
    }

    .field-labels-question {
        text-align: unset;
    }

    .labels-question-bloc {
        text-align: left;
    }

    #form_tarif_auto .next.action-button.first,
    #form_demande_devis .next.action-button.first,
    #form_confirmation .next.action-button.first {
        float: initial;
    }

    #heading {
        margin-top: -190px;
    }
}

form fieldset {
    margin-top: 25px !important;
    border: 0 none;
    border-radius: 3px;
    box-shadow: 0 0 15px 1px rgb(0 0 0 / 40%);
    padding: 20px 20px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}