form[name="demande_form"] {
    max-width: 1400px;
    margin: auto;
}

form[name="demande_form"] > .panel {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-top: 0px;
}

h2 small, .h2 small {
    display: block;
}
h3.badge, .h3.badge {
    color: #FFFFFF;
}

.btn,
.btn:hover,
.btn:active,
.btn:focus {
    text-shadow: none;
    color: #FFF;
    background-color: #00B3CA;
    background-image: none;
    border: none;
}

.btn.btn-disabled {
    text-shadow: none;
    color: #F0F0F0;
    background-color: #0096a9;
    background-image: none;
    border: none;
    margin-bottom: 50px;
    cursor: not-allowed;
}
.panel-footer .btn + .btn {
    margin-left: 10px;
}
.panel-footer .btn i{
    margin: 0 16px;
}

/* ============ RADIO IMAGE (.radio-image) ============ */
/* Gros carré avec icône FontAwesome centrée */


.radio-image input[type="radio"] + label {
    display: inline-block;
    width: auto;
    max-width: 100%;
    text-align: center;
    vertical-align: middle;
    height: auto;
    padding: 1.5em;
    font-size: var(--font-size-base);
    line-height: 1.2;
    min-width: 100px;
}

input[type="radio"] + label::before {
    content: "\f0c8";
    font-family: "Font Awesome 6 Free";
}

.radio-image input[type="radio"] + label::before {
    font-family: "FontAwesome";
    font-weight: 400;
    display: block;
    font-size: 2em;
    margin-bottom: 0.5em;
    color: #aaaaaa;
    text-align: center;
    width: 100%;
}

.radio-image input[type="radio"]:checked + label::before {
    color: var(--color-primary);
}

/* icone des radio-image */
.radio-image input[type="radio"] + label[for="demande_form_typeprojet_0"]:before {
    content: "\f363"; /*  */
}

.radio-image input[type="radio"] + label[for="demande_form_typeprojet_1"]:before {
    content: "\e00d"; /*  */
}

.radio-image input[type="radio"] + label[for="demande_form_nombreassures_0"]:before {
    content: "\f007"; /*  */
}

.radio-image input[type="radio"] + label[for="demande_form_nombreassures_1"]:before {
    content: "\f500"; /*  */
}

#breadCrumbDemande .btn-group::before {
    top: -20px;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

#breadCrumbDemande .btn-group:last-of-type::before {
    font-weight: normal;
    font-family: "FontAwesome";
}


.ligneTarif {
    border: 1px solid #ddd;
    background-color: rgba(203, 239, 244, 0.5);
}

.imgAssureur:has(.btn-souscrire) {
    gap: 15px 0;
    flex-direction: column;
}

.ligneTarif .btn-souscrire,
.ligneTarif .btn-rappel,
.ligneTarif .btn-downloadCg {
    display: block;
    min-width: 100%;
}

.ligneTarif .btn.btn-downloadCg:hover {
    color: #556268;

}

.ligneTarif .btn:hover, .ligneTarif .btn:active, #titreRestitution .btn:hover, .btn-valideRappel:hover {
    background-color: #556268;

    color: #FFFFFF;

}

.ligneTarif .btn-rappel {
    color: #556268;
    background-color: #FFF;
    border: 2px solid #00B3CA;
    font-weight: bold;
}

.ligneTarif .btn-downloadCg {
    padding: 6px 2px;
    color: #00B3CA;
    background: none !important;
    white-space: nowrap;
}

.ligneTarif .btn.btn-downloadCg i {
    color: #556268;
}

.ligneTarif .btn.btn-downloadCg:hover {
    color: #556268;
}

.ligneTarif .dataTarifs *,
.ligneTitre *
{
    text-align: center !important;
}


@media (max-width: 768px  ) {
    .radio-image{
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .radio-image input[type="radio"] + label {
        white-space: break-spaces;
    }
    select[id*=demande_form_datesignatureodp]{
        display: inline-block;
        width: auto;
    }

    .panel-exergue::before {
        width: 20%;
        background-position: -30px center;
    }
    .panel-exergue .panel-title,
    .panel-exergue .panel-body {
        margin-left: 20%;
    }
    .ligneTarif .btn-downloadCg {
        margin-bottom: 25px;
    }
}

