/* -- * * Formulaire d'estimation * * -- */
form.estimation-form .gf_step .gf_step_number {color: #395B64;}
form.estimation-form .gf_page_steps {margin-bottom: 0; padding: 1rem 0;}
form.estimation-form .gform_body {padding-top: 2rem;}
form.estimation-form .gform_page_footer {padding: 3rem 0 0 0!important; margin: 0!important;}
form.estimation-form .gfield_label {margin-bottom: 1rem!important;}

form.estimation-form .gfield_radio{display: flex; flex-wrap: wrap; margin: -1rem; justify-content: center; padding: 1rem 0;}
form.estimation-form .gfield_radio .gchoice{width: calc(100% / 3); padding: 1rem;}
form.estimation-form input:not([type="checkbox"]), form.estimation-form textarea, form.estimation-form select {border: 1px solid #CCCCCC; height: 50px; border-radius: 5px;}
form.estimation-form input[type="radio"].gfield-choice-input {display: none;}
form.estimation-form input[type="radio"].gfield-choice-input + label{max-width: none; text-align: center; line-height: 115%; font-weight: bold; box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; position: relative; padding: 1.5rem 1rem; border: 4px solid transparent; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: 350ms ease;}
form.estimation-form input[type="radio"].gfield-choice-input + label::before{content: ""; width: 60%; background-position: center; background-repeat: no-repeat; display: block; background-size: contain;}
form.estimation-form input[type="radio"].gfield-choice-input + label::after{content: "\f058"; transition: 350ms ease; opacity: 0; font-family: "Font Awesome 6 Pro";font-weight: 800; color: #F9C351; position: absolute; right: 0.75rem; top: 1rem; font-size: 1.75rem;}

form.estimation-form input[type="radio"][value="bijoux"].gfield-choice-input + label::before{background-image: url(../img/estimation/bijoux.jpg); height: 100px; margin-bottom: 0.75rem; }
form.estimation-form input[type="radio"][value="or-tous-carats"].gfield-choice-input + label::before{background-image: url(../img/estimation/or-tous-carats.jpg); height: 100px; margin-bottom: 0.75rem; }
form.estimation-form input[type="radio"][value="argent"].gfield-choice-input + label::before{background-image: url(../img/estimation/argent.jpg); height: 100px; margin-bottom: 0.75rem; }
form.estimation-form input[type="radio"][value="lingots"].gfield-choice-input + label::before{background-image: url(../img/estimation/lingots.jpg); height: 100px; margin-bottom: 0.75rem; }
form.estimation-form input[type="radio"][value="pierres-precieuses"].gfield-choice-input + label::before{background-image: url(../img/estimation/pierres.jpg); height: 100px; margin-bottom: 0.75rem; }
form.estimation-form input[type="radio"][value="pieces-anciennes"].gfield-choice-input + label::before{background-image: url(../img/estimation/pieces.jpg); height: 100px; margin-bottom: 0.75rem; }

form.estimation-form input[type="radio"][value="or-matter"].gfield-choice-input + label::before{background-image: url(../img/estimation/gold-matter.jpg); height: 100px; margin-bottom: 0.75rem; }
form.estimation-form input[type="radio"][value="argent-matter"].gfield-choice-input + label::before{background-image: url(../img/estimation/argent-matter.jpg); height: 100px; margin-bottom: 0.75rem; }
form.estimation-form input[type="radio"][value="platine-matter"].gfield-choice-input + label::before{background-image: url(../img/estimation/platine-matter.jpg); height: 100px; margin-bottom: 0.75rem; }


form.estimation-form input[type="radio"].gfield-choice-input + label:hover{transform: scale(1.05);}
form.estimation-form input[type="radio"].gfield-choice-input:checked + label {border-color: #F9C351; transform: scale(1.05);}
form.estimation-form input[type="radio"].gfield-choice-input:checked + label::after{opacity: 1;}

form.estimation-form input[type="button"].gform_next_button, form.estimation-form input[type="button"].gform_previous_button, form.estimation-form input[type="button"].gform_button {border: none; border-radius: 5px; padding: 0.938rem 1.25rem; cursor: pointer; height: 50px; line-height: 1;}
form.estimation-form input[type="button"].gform_next_button {background-color: #395B64; color: #FFF;}
form.estimation-form input[type="button"].gform_previous_button {background-color: #EB5353!important; color: #FFF!important;}

form.estimation-form fieldset:not(#field_2_33) legend,
form.estimation-form .gform_page:not(:last-child) .gfield .gfield_label{font-size: 2.25rem!important; font-weight: bold; text-align: center!important; width: 100%; margin-bottom: 1rem;}
form.estimation-form .gfield_description{text-align: center; font-size: 18px!important;}

form.estimation-form .gform_page_footer{text-align: center;}

form.estimation-form{max-width: 80%; margin: 2rem auto;}

@media screen and (max-width:  992px){
	form.estimation-form{max-width: 100%; margin: 1rem auto;}
	form.estimation-form .gfield_radio{margin: 0;}
	form.estimation-form .gfield_radio .gchoice{width: calc(100% / 2); padding: 0.75rem;}
	form.estimation-form input[type="radio"].gfield-choice-input + label::before{width: 100%;}
	form.estimation-form input[type="radio"].gfield-choice-input + label::after{font-size: 1.35rem; top: 0.75rem; right: 0.5rem;}
	.gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]){line-height: 1.5!important;}
}

#field_2_30 label,
#field_2_14 label{display: none!important;}

form.estimation-form input[type="button"].gform_previous_button{background-color: #D9D9D9!important; color: #818181!important;}
.gform_next_button{background-color: #F9C351!important; color: white!important;}