/* ---------------------------------------------------------------------------
   Merrell Casting - site specific styles (loaded after the Divi theme styles)
   --------------------------------------------------------------------------- */

/* The page is wrapped in the ASP.NET server form; keep it layout-neutral. */
#form1 { margin: 0; padding: 0; }
.aspNetHidden { display: none; }

/* Enquiry form (Divi contact-form markup, submitted via site.js) */
.mc-contact-form .mc-hp { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mc-contact-form .et_pb_contact_field .input.mc-field-error { border: 1px solid #d36316 !important; box-shadow: 0 0 0 1px #d36316; }
.mc-contact-form .et-pb-contact-message ul { list-style: none; margin: 10px 0 0; padding: 0; font-size: 16px; }
.mc-contact-form .et-pb-contact-message li { padding: 2px 0; }
.mc-contact-form .et-pb-contact-message:empty { display: none; }
.mc-contact-form.mc-sending .et_pb_contact_submit { opacity: .6; pointer-events: none; }

/* Search box: results dropdown is not used on this site */
.dipl_ajax_search_results_wrap:empty { display: none; }

/* Search results page */
.mc-no-results .et_pb_text_inner { padding: 30px 0; font-size: 18px; }
.mc-page-results { margin-top: 30px; }
.mc-page-results ul { list-style: disc; padding-left: 20px; }
.mc-page-results li { padding: 4px 0; }

/* Contact page: keyless Google Maps embed shown when no Maps API key is configured (grayscale like the Divi map) */
.mc-map-embed .et_pb_map { position: relative; overflow: hidden; }
.mc-map-embed .et_pb_map iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; filter: grayscale(100%); }
