/*
 * PRATINIUM — custom-contact-v155.css
 * - Suppression du champ vide situé au-dessus du CTA Envoyer.
 * - Réduction effective de la hauteur du bloc cliquable "Choisir un fichier".
 */

body.page-contact .contact-form .pf-contact-pre-submit-field-v155,
body#contact .contact-form .pf-contact-pre-submit-field-v155 {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.page-contact .contact-form .pf-contact-file-compact-v155,
body#contact .contact-form .pf-contact-file-compact-v155,
body.page-contact .contact-form .form-group:has(input[type="file"]),
body#contact .contact-form .form-group:has(input[type="file"]) {
  margin-bottom: 10px !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

body.page-contact .contact-form .pf-contact-file-compact-v155 .input-group,
body#contact .contact-form .pf-contact-file-compact-v155 .input-group,
body.page-contact .contact-form .form-group:has(input[type="file"]) .input-group,
body#contact .contact-form .form-group:has(input[type="file"]) .input-group {
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  align-items: stretch !important;
}

body.page-contact .contact-form .pf-contact-file-compact-v155 input[type="file"],
body#contact .contact-form .pf-contact-file-compact-v155 input[type="file"],
body.page-contact .contact-form .pf-contact-file-compact-v155 .form-control,
body#contact .contact-form .pf-contact-file-compact-v155 .form-control,
body.page-contact .contact-form .pf-contact-file-compact-v155 .custom-file,
body#contact .contact-form .pf-contact-file-compact-v155 .custom-file,
body.page-contact .contact-form .pf-contact-file-compact-v155 .custom-file-input,
body#contact .contact-form .pf-contact-file-compact-v155 .custom-file-input,
body.page-contact .contact-form .pf-contact-file-compact-v155 .custom-file-label,
body#contact .contact-form .pf-contact-file-compact-v155 .custom-file-label,
body.page-contact .contact-form .form-group:has(input[type="file"]) input[type="file"],
body#contact .contact-form .form-group:has(input[type="file"]) input[type="file"],
body.page-contact .contact-form .form-group:has(input[type="file"]) .form-control,
body#contact .contact-form .form-group:has(input[type="file"]) .form-control,
body.page-contact .contact-form .form-group:has(input[type="file"]) .custom-file,
body#contact .contact-form .form-group:has(input[type="file"]) .custom-file,
body.page-contact .contact-form .form-group:has(input[type="file"]) .custom-file-input,
body#contact .contact-form .form-group:has(input[type="file"]) .custom-file-input,
body.page-contact .contact-form .form-group:has(input[type="file"]) .custom-file-label,
body#contact .contact-form .form-group:has(input[type="file"]) .custom-file-label {
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  line-height: 28px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.page-contact .contact-form .pf-contact-file-compact-v155 .input-group .btn,
body#contact .contact-form .pf-contact-file-compact-v155 .input-group .btn,
body.page-contact .contact-form .pf-contact-file-compact-v155 .input-group-btn .btn,
body#contact .contact-form .pf-contact-file-compact-v155 .input-group-btn .btn,
body.page-contact .contact-form .pf-contact-file-compact-v155 .input-group-append .btn,
body#contact .contact-form .pf-contact-file-compact-v155 .input-group-append .btn,
body.page-contact .contact-form .pf-contact-file-compact-v155 .custom-file-button,
body#contact .contact-form .pf-contact-file-compact-v155 .custom-file-button,
body.page-contact .contact-form .form-group:has(input[type="file"]) .input-group .btn,
body#contact .contact-form .form-group:has(input[type="file"]) .input-group .btn,
body.page-contact .contact-form .form-group:has(input[type="file"]) .custom-file-button,
body#contact .contact-form .form-group:has(input[type="file"]) .custom-file-button,
body.page-contact .contact-form .form-group:has(input[type="file"]) .custom-file-label::after,
body#contact .contact-form .form-group:has(input[type="file"]) .custom-file-label::after {
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  line-height: 28px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.page-contact .contact-form button[type="submit"],
body#contact .contact-form button[type="submit"],
body.page-contact .contact-form input[type="submit"],
body#contact .contact-form input[type="submit"] {
  width: 100% !important;
}
