/*
 * Arco — the lead popup's two documents (form and thank-you). They load in an
 * iframe on a transparent background, with none of the site's own styles.
 */
html, body.arco-popup-document { margin: 0; background: transparent !important; overflow: hidden; font-family: "Montserrat", sans-serif; color: #1a1a1a; }
#wpadminbar { display: none !important; }
#bl_page_tem { padding: 20px 30px 10px; box-sizing: border-box; background: transparent; text-align: center; }
.arco-popup-document--thanks #bl_page_tem { width: 98%; max-width: 500px; margin: 20px auto 0; }
#bl_page_tem p { margin: 0; padding-top: 20px; padding-bottom: 10px; }
#bl_page_tem [hidden] { display: none; }
.triangle { width: 0; margin: 0 auto; border: 12px solid transparent; border-bottom-color: #6e4a3d; }
.popup-header { margin: 0 auto; padding: 20px 10px; background: #6e4a3d; color: #fff; font-size: 1.1em; font-weight: 400; line-height: 1.3; text-align: center; text-transform: none; }
.popup-subtitle { margin: 0; padding: 15px; background: #bf7a60; color: #fff; font-size: 1em; font-weight: 400; line-height: 1.3; text-align: center; text-transform: none; }
.caldera-grid { width: 100%; border-top: 0; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; background: #fff; }
.caldera-grid .form-group { margin: 5px auto; text-align: left; }
.caldera-grid select, .caldera-grid input { max-width: 70%; margin: 0 auto; }
.caldera-grid input[type="submit"], .caldera-grid .btn-default {
  display: block !important; width: auto !important; margin: 10px auto; padding: 10px 15px !important;
  border: 1px solid #bf7a60; background: #bf7a60 !important; color: #fff !important; font-size: 1em !important; text-transform: uppercase; cursor: pointer;
}
.checkbox { min-height: auto; height: 25px; width: 50%; float: left; }
.alert.alert-success { background: transparent; border: 0; padding: 25px; }
@media (max-width: 380px) {
  #bl_page_tem { padding: 10px 15px; }
  .checkbox { height: 35px; }
}

/* Fields Caldera marks as not shown (see css/arco-site.css), and plugin chrome that has no place in the popup. */
.hide, .hidden { display: none !important; }
button.rmp_menu_trigger, [id^="rmp-container"], #fld_5858126_1_btn { display: none !important; }

/* Form typography as it was under the old stylesheets. */
#bl_page_tem, #bl_page_tem label, #bl_page_tem p { font-size: 14px; line-height: 20px; font-weight: 400; color: #1a1a1a; }
#bl_page_tem h4 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; }
#bl_page_tem .checkbox label { font-weight: 400; }
#bl_page_tem .popup-header { font-size: 1.1em; line-height: 40px; font-weight: 700; color: #fff; }

/* The page-URL field is filled by script and never shown (was `#fld_5188639_1` in Arco's old custom stylesheet). */
#fld_5188639_1 { display: none !important; }
#bl_page_tem p strong { font-weight: 400; }

/* Checkbox rows as the old theme's Bootstrap laid them out, measured on production
   2026-11-20: the box sits 20px inside the column, the label text 20px after it,
   rows 21px apart. Without these the boxes hang outside the left edge. */
#bl_page_tem .checkbox { margin: 0 0 -4px; padding-left: 20px; box-sizing: border-box; }
#bl_page_tem .checkbox label { padding-left: 20px; margin: 0; }
#bl_page_tem .checkbox input[type="checkbox"] { float: left; margin: 0 0 0 -20px; max-width: none; }
#bl_page_tem form.caldera_forms_form { margin-bottom: 20px; }
