/* Styles indépendants de recontact.css, dédiés à la page de prise de rendez-vous téléphonique.
   La popup "être rappelé" n'est stylée que dans le contexte d'une boite de dialogue jQuery UI
   (sélecteurs "body .ui-widget.ui-dialog #offre_box_recontact ..." dans styles.css), ce qui ne
   s'applique pas ici puisque cette page affiche le formulaire en direct, sans dialogue. */

#rdv_offre_box_recontact {
    position: relative;
    max-width: 100%;
    margin: 0 auto 40px auto;
    padding: 25px 30px;
    border-radius: 8px;
    background: #f6f6f6;
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
    font-size: .875rem;
    color: #564446;
}

#rdv_offre_box_recontact fieldset {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

#rdv_offre_box_recontact p {
    margin: 0 0 20px 0;
}

#rdv_offre_box_recontact form div {
    margin-bottom: 15px;
}

#rdv_offre_box_recontact label {
    display: block;
    margin: 15px 0 5px 0;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    color: #564446;
}

#rdv_offre_box_recontact input[type='text'] {
    box-sizing: border-box;
    width: 100%;
    max-width: 280px;
    margin: 0 0 5px 0;
    padding: 10px;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 1.125rem;
    color: #666;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    outline: none;
    background: #fff;
}

#rdv_offre_box_recontact input[type='text']:disabled {
    background-color: #e9e9e9;
}

#rdv_contacttel form#rdv_odigocontact legend {
    display: block;
    margin: 0 0 15px 0;
    font-size: 1rem;
    font-weight: bold;
    color: #564446;
}

#rdv_offre_box_recontact div.auplustot {
    display: flex;
    align-items: center;
    gap: .5em;
    margin-bottom: 15px;
}
#rdv_offre_box_recontact div.auplustot label {
    display: inline;
    margin: 0;
}
#rdv_offre_box_recontact div.auplustot div.larger {
    font-weight: bold;
}

#rdv_chooosedate {
    position: relative;
}
#rdv_chooosedate div.input {
    display: flex;
    align-items: center;
    gap: .75em;
    margin-bottom: 15px;
}
#rdv_chooosedate label {
    margin: 0;
    white-space: nowrap;
}
#rdv_chooosedate input[type='text'] {
    max-width: 8em;
    text-align: right;
}
#rdv_choosetime {
    box-sizing: border-box;
    padding: 8px;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    color: #666;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
}

div#rdv_offre_box_recontact div#rdv_contacttel div#rdv_calendrier .ui-datepicker-prev span {
    background-image: url("images/ui-icons_444444_256x240.png");
    background-position: -80px -192px;
}
div#rdv_offre_box_recontact div#rdv_contacttel div#rdv_calendrier .ui-datepicker-next span {
    background-image: url("images/ui-icons_444444_256x240.png");
    background-position: -48px -192px;
}

#rdv_offre_box_recontact input.submit {
    display: block;
    margin: 20px 0 0 0;
    padding: 10px 25px;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 1.125rem;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}
/* Couleurs du bouton : voir rdv-klesia.css / rdv-carcept.css */
#rdv_offre_box_recontact input.submit:disabled {
    cursor: default;
    opacity: .6;
}

#rdv_offre_box_recontact #rdv_mailsendResult {
    display: block;
    margin: 0 0 15px 0;
}
#rdv_offre_box_recontact .error_message {
    display: inline-block;
    padding: 10px 40px 10px 10px;
    color: #f14124 !important;
    background: url('../img/tunnel_picto_error.png') no-repeat right center;
}
#rdv_offre_box_recontact .valid_msg {
    display: inline-block;
    padding: 10px;
    color: #2f9e44;
}

#rdv_offre_box_recontact input.error {
    border-color: #f14124;
}

#rdv_offre_box_recontact .disclaimer {
    display: block;
    clear: both;
    margin: 25px 0 0 0;
    font-size: .7rem !important;
    color: #888;
}

@media (max-width: 560px) {
    #rdv_offre_box_recontact {
        margin: 0 16px 40px 16px;
        padding: 20px;
    }
    #rdv_chooosedate div.input {
        flex-wrap: wrap;
    }
}
