/* Masquer les en-têtes (Sam, Dim) */
.ui-datepicker-calendar th.ui-datepicker-week-end {
    display: none;
}

/* Masquer les colonnes de jours (Sam, Dim) */
.ui-datepicker-calendar td.ui-datepicker-week-end {
    display: none;
}

/* Cache le texte original des jours */
#fbuilder .ui-datepicker-calendar th span {
    display: none;
}

/* Ajoute vos propres abréviations manuellement */
#fbuilder .ui-datepicker-calendar th:nth-child(1):after { content: 'LUN'; }
#fbuilder .ui-datepicker-calendar th:nth-child(2):after { content: 'MAR'; }
#fbuilder .ui-datepicker-calendar th:nth-child(3):after { content: 'MER'; }
#fbuilder .ui-datepicker-calendar th:nth-child(4):after { content: 'JEU'; }
#fbuilder .ui-datepicker-calendar th:nth-child(5):after { content: 'VEN'; }

/* Met la première lettre du mois en majuscule */
.ui-datepicker-month {
    text-transform: capitalize !important;
    display: inline-block;
}

/* Style global pour toutes les erreurs */
#fbuilder div.cpefb_error {
    position: absolute !important;
    left: 0 !important;
    z-index: 9999 !important;
    white-space: nowrap !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #ff0000 !important;
    font-weight: bold !important;
	font-size: 16px;
    margin-top: 0 !important; /* Annule le 7px par défaut */
    top: 38px !important;    /* Position standard pour les champs textes */
}

/* Suppression définitive de la pointe jaune */
#fbuilder div.cpefb_error:after, 
#fbuilder div.cpefb_error:before {
    display: none !important;
}

/* AJUSTEMENT SPÉCIFIQUE POUR L'HEURE */
/* On cible l'ID du message d'erreur du champ heure */
/* Si l'ID est différent de fieldname2_1, remplacez-le ci-dessous */
#fbuilder div#fieldname1_1-error {
    top: 100% !important; /* Le descend tout en bas du bloc calendrier/heures */
    position: relative !important; /* Le remet dans le flux pour ne pas qu'il flotte sur le calendrier */
    margin-top: 0px !important;
}

/* 1. On définit la position et le style SANS forcer l'affichage (pas de !important sur display) */
#fbuilder div#hdcaptcha_error_1 {
    position: relative !important;
    top: 0 !important;
    margin-top: 0px !important;
    color: #ff0000 !important;
    font-weight: bold !important;
    left: 0 !important;
}

/* 2. On neutralise le positionnement absolu qui le faisait monter trop haut */
#fbuilder div#hdcaptcha_error_1[style*="display: inline"],
#fbuilder div#hdcaptcha_error_1[style*="display: block"] {
    display: block !important; /* On ne force le bloc que s'il est déjà censé être visible */
}

/* 3. Sécurité : Si le plugin met display:none, on le respecte strictement */
#fbuilder div#hdcaptcha_error_1[style*="display: none"] {
    display: none !important;
}

/* Changer la couleur des textes de guidage du CAPTCHA */
#fbuilder .captcha, 
#fbuilder .captcha label, 
#fbuilder .captcha_not_setup_msg {
    color: #000000 !important; /* Mettez la couleur sombre de votre choix */
    font-weight: normal;
	font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

/* Ajuster l'espace interne du champ de saisie du captcha */
#fbuilder .captcha input {
    padding: 15px 15px !important; /* Haut/Bas: 10px, Gauche/Droite: 15px */
    height: auto !important;       /* Permet au champ de s'agrandir avec le padding */
    border: 1px solid #000000 !important; /* Optionnel : pour mieux voir le contour */
    border-radius: 4px !important;    /* Optionnel : pour arrondir les angles */
}

.ahb_m4 #fbuilder .pbSubmit { background-color: #097baa; color: #ffffff; margin-top: 10px; margin-right: 10px; margin-bottom: 0px; margin-left: 0px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 16px; font-weight: 600; border-top-width: 0px; border-top-style: solid; border-top-color: white; border-right-width: 0px; border-right-style: solid; border-right-color: white; border-bottom-width: 0px; border-bottom-style: solid; border-bottom-color: white; border-left-width: 0px; border-left-style: solid; border-left-color: white; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; }
.ahb_m4 #fbuilder .pbSubmit:hover { background-color: #7fff7f; color: #000000; font-size: 16px; font-weight: 500; border-top-width: 1px; border-top-style: solid; border-top-color: green; border-right-width: 1px; border-right-style: solid; border-right-color: green; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: green; border-left-width: 1px; border-left-style: solid; border-left-color: green; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; }