.elementor-3224 .elementor-element.elementor-element-93588f6{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for shortcode, class: .elementor-element-ac222b3 *//* ============================================================
   NMIA-USA 2026 General Census Form — Custom CSS
   Paste into: Appearance → Customize → Additional CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* ── CSS VARIABLES ───────────────────────────────────────── */
.nmia-census-wrap {
  --nmia-green:       #1a6b3a;
  --nmia-green-dark:  #0f4525;
  --nmia-green-light: #e8f5ed;
  --nmia-gold:        #c8960c;
  --nmia-gold-light:  #f5e6b0;
  --nmia-gold-pale:   #fdfaf0;
  --nmia-border:      #c8960c;
  --nmia-text:        #1a1a1a;
  --nmia-text-muted:  #555;
  --nmia-input-bg:    #fafff9;
  --nmia-radius:      5px;
  --nmia-font:        'Source Sans 3', sans-serif;
  --nmia-heading:     'Barlow Condensed', sans-serif;

  font-family: var(--nmia-font);
  color: var(--nmia-text);
  max-width: 960px;
  margin: 32px auto;
  padding: 0 16px 40px;
  font-size: 14px;
  line-height: 1.55;
  background: #fff;
}

/* ── HEADER ──────────────────────────────────────────────── */
.nmia-header {
  border: 2.5px solid #4a9bb5;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  margin-bottom: 0;
}

.nmia-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: #fff;
  gap: 16px;
}

/* Left text block */
.nmia-logo-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

/* Center logo */
.nmia-logo-center {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nmia-logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* Right Arabic block */
.nmia-logo-right {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
  flex: 1;
  align-items: flex-end;
}

.nmia-org-en {
  font-family: var(--nmia-heading);
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 1.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.nmia-org-sub {
  font-size: 11px;
  font-weight: 700;
  color: #1a6b3a;
  letter-spacing: 0.5px;
}

.nmia-org-motto {
  font-size: 10.5px;
  color: #c8960c;
  font-style: italic;
  margin-top: 4px;
}

.nmia-org-ar {
  font-family: 'Amiri', 'Traditional Arabic', serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  direction: rtl;
  line-height: 1.2;
}

.nmia-org-ar-sub {
  font-family: 'Amiri', serif;
  font-size: 12px;
  color: #1a6b3a;
  direction: rtl;
}

.nmia-org-ar-motto {
  font-family: 'Amiri', serif;
  font-size: 10.5px;
  color: #c8960c;
  direction: rtl;
  font-style: italic;
}

.nmia-form-title-bar {
  background: #fff;
  text-align: center;
  padding: 10px 24px 14px;
  border-top: 2px solid #4a9bb5;
}

.nmia-form-title {
  font-family: var(--nmia-heading);
  font-size: 30px;
  font-weight: 800;
  color: #2a7fa0;
  margin: 0 0 2px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nmia-form-subtitle {
  font-size: 13px;
  color: #2a7fa0;
  margin: 0;
  letter-spacing: 0.5px;
  font-style: italic;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.nmia-section {
  border: 1.5px solid #4a9bb5;
  border-top: none;
  background: #fff;
}

.nmia-section:last-of-type {
  border-radius: 0 0 8px 8px;
}

.nmia-section-header {
  background: #2a9bc7;
  color: #fff;
  font-family: var(--nmia-heading);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 9px 20px;
  text-transform: uppercase;
}

.nmia-section-body {
  padding: 18px 20px;
}

.nmia-subsection-label {
  font-family: var(--nmia-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: #2a7fa0;
  border-bottom: 2px solid #4a9bb5;
  padding-bottom: 4px;
  margin: 16px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── GRID LAYOUT ─────────────────────────────────────────── */
.nmia-row {
  display: grid;
  gap: 14px;
  margin-bottom: 12px;
}

.nmia-cols-2 { grid-template-columns: 1fr 1fr; }
.nmia-cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.nmia-col-span-2 { grid-column: span 2; }

/* ── FIELDS & LABELS ──────────────────────────────────────── */
.nmia-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 6px;
}

.nmia-field label,
.nmia-census-wrap label {
  font-size: 12.5px;
  font-weight: 700;
  color: #2a2a2a;
  display: block;
  margin-bottom: 3px;
}

.req { color: #c0392b; margin-left: 2px; }

.nmia-label-block {
  margin: 0 0 10px;
  font-size: 13.5px;
}

/* ── INPUTS ───────────────────────────────────────────────── */
.nmia-census-wrap input[type="text"],
.nmia-census-wrap input[type="email"],
.nmia-census-wrap input[type="tel"],
.nmia-census-wrap input[type="url"],
.nmia-census-wrap input[type="number"],
.nmia-census-wrap input[type="date"],
.nmia-census-wrap textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid #b8d4c0;
  border-radius: var(--nmia-radius);
  font-size: 13.5px;
  font-family: var(--nmia-font);
  color: var(--nmia-text);
  background: var(--nmia-input-bg);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nmia-census-wrap input[type="text"]:focus,
.nmia-census-wrap input[type="email"]:focus,
.nmia-census-wrap input[type="tel"]:focus,
.nmia-census-wrap input[type="url"]:focus,
.nmia-census-wrap input[type="number"]:focus,
.nmia-census-wrap input[type="date"]:focus,
.nmia-census-wrap textarea:focus {
  border-color: var(--nmia-green);
  box-shadow: 0 0 0 3px rgba(26, 107, 58, 0.12);
}

.nmia-census-wrap input::placeholder,
.nmia-census-wrap textarea::placeholder {
  color: #aaa;
  font-style: italic;
  font-size: 12.5px;
}

/* ── CHECKBOXES & RADIOS ─────────────────────────────────── */
.nmia-inline-checks .wpcf7-checkbox,
.nmia-inline-checks .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 4px;
}

.nmia-checks-grid .wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 6px 16px;
  margin-top: 6px;
}

.nmia-census-wrap .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  color: var(--nmia-text);
  cursor: pointer;
}

.nmia-census-wrap .wpcf7-list-item-label {
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.nmia-census-wrap .wpcf7-list-item input[type="checkbox"],
.nmia-census-wrap .wpcf7-list-item input[type="radio"] {
  width: 15px;
  height: 15px;
  accent-color: var(--nmia-green);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

.nmia-inline-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.nmia-inline-field label {
  flex: 1;
  min-width: 200px;
  margin-bottom: 0;
}

/* Other input inline */
.nmia-inline-other {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nmia-other-label {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: #333;
}

.nmia-inline-other input[type="text"] {
  max-width: 260px;
}

/* ── DEPENDENTS TABLE ─────────────────────────────────────── */
.nmia-table-scroll {
  overflow-x: auto;
  border-radius: 6px;
  border: 1.5px solid #4a9bb5;
}

.nmia-dep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  min-width: 680px;
  background: #fff;
}

.nmia-dep-table thead tr:first-child th {
  background: #2a9bc7;
  color: #fff;
  font-family: var(--nmia-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 8px 6px;
  text-align: center;
  text-transform: uppercase;
}

.nmia-dep-table thead tr:first-child th.dep-name-col {
  background: #1a7a9e;
}

.nmia-dep-table thead tr:nth-child(2) th {
  background: #c8960c;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 5px 4px;
  text-align: center;
}

.nmia-dep-table .age-group.infants    { background: #1e88b0; }
.nmia-dep-table .age-group.teenagers  { background: #2a9bc7; }
.nmia-dep-table .age-group.youths     { background: #35aada; }
.nmia-dep-table .age-group.adults     { background: #4ab8e8; color: #0a3d52; }

.nmia-dep-table tbody tr {
  border-bottom: 1px solid #d0eaf4;
  transition: background 0.15s;
}

.nmia-dep-table tbody tr:nth-child(even) {
  background: #f0f9fd;
}

.nmia-dep-table tbody tr:hover {
  background: #daf0f9;
}

.nmia-dep-table tbody td {
  padding: 5px 6px;
  text-align: center;
  vertical-align: middle;
  border-right: 1px solid #ddeee5;
}

.nmia-dep-table tbody td:first-child {
  text-align: left;
  min-width: 160px;
}

.nmia-dep-table tbody td input[type="text"] {
  width: 100%;
  padding: 4px 8px;
  font-size: 12px;
  border: 1px solid #b8d4c0;
  border-radius: 3px;
}

/* Shrink dep table checkboxes */
.nmia-dep-table .wpcf7-checkbox {
  justify-content: center;
}

.nmia-dep-table .wpcf7-list-item {
  margin: 0;
}

.nmia-dep-table .wpcf7-list-item-label {
  display: none; /* hide "✓" label, show only checkbox */
}

.nmia-dep-table .wpcf7-list-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* ── OFFICE SECTION ───────────────────────────────────────── */
.nmia-office-section .nmia-section-body {
  background: var(--nmia-gold-pale);
}

.nmia-office-section .nmia-section-header {
  background: linear-gradient(90deg, #c8960c 0%, #a37008 100%);
  color: #fff;
}

/* ── CONSENT TEXT ─────────────────────────────────────────── */
.nmia-consent-text {
  font-size: 13px;
  line-height: 1.65;
  color: #333;
  background: #f0f9fd;
  border-left: 4px solid #2a9bc7;
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 16px;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.nmia-form-footer {
  text-align: center;
  padding: 16px 20px;
  background: #1a6b3a;
  color: #c8e8d8;
  font-size: 12.5px;
  border-radius: 0 0 8px 8px;
  margin-top: 0;
  line-height: 1.8;
}

.nmia-form-footer a {
  color: #f5e6b0;
  text-decoration: none;
}

.nmia-form-footer a:hover {
  text-decoration: underline;
}

.nmia-quote {
  margin-top: 8px;
  font-style: italic;
  color: #f5e6b0;
  font-size: 12px;
}

/* ── SUBMIT BUTTON ─────────────────────────────────────────── */
.nmia-census-wrap input[type="submit"],
.nmia-census-wrap .wpcf7-submit {
  display: block;
  width: 280px;
  margin: 28px auto 8px;
  padding: 15px 0;
  background: linear-gradient(135deg, #2a9bc7 0%, #1a7a9e 100%);
  color: #fff;
  font-family: var(--nmia-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(42, 155, 199, 0.4);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.nmia-census-wrap input[type="submit"]:hover,
.nmia-census-wrap .wpcf7-submit:hover {
  background: linear-gradient(135deg, #35aada 0%, #2a9bc7 100%);
  box-shadow: 0 6px 24px rgba(42, 155, 199, 0.5);
  transform: translateY(-2px);
}

.nmia-census-wrap input[type="submit"]:active,
.nmia-census-wrap .wpcf7-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(42, 155, 199, 0.3);
}

/* ── CF7 VALIDATION ───────────────────────────────────────── */
.nmia-census-wrap .wpcf7-not-valid-tip {
  font-size: 11.5px;
  color: #c0392b;
  margin-top: 3px;
  display: block;
}

.nmia-census-wrap .wpcf7-not-valid {
  border-color: #e74c3c !important;
  background: #fff5f5 !important;
}

.nmia-census-wrap .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  border: none !important;
}

.nmia-census-wrap .wpcf7-mail-sent-ok {
  background: #eafaf1;
  color: #1d8348;
}

.nmia-census-wrap .wpcf7-validation-errors,
.nmia-census-wrap .wpcf7-mail-sent-ng {
  background: #fdf2f2;
  color: #c0392b;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nmia-census-wrap { padding: 0 8px 32px; }

  .nmia-header-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 12px 16px;
  }

  .nmia-logo-left { flex-direction: column; align-items: center; }
  .nmia-logo-right { text-align: center; }
  .nmia-org-ar, .nmia-org-ar-sub, .nmia-org-ar-motto { direction: ltr; }

  .nmia-form-title { font-size: 20px; letter-spacing: 1px; }

  .nmia-cols-2,
  .nmia-cols-3 {
    grid-template-columns: 1fr;
  }

  .nmia-col-span-2 { grid-column: span 1; }

  .nmia-inline-field {
    flex-direction: column;
    align-items: flex-start;
  }

  .nmia-checks-grid .wpcf7-checkbox {
    grid-template-columns: 1fr 1fr;
  }

  .nmia-census-wrap input[type="submit"],
  .nmia-census-wrap .wpcf7-submit {
    width: 100%;
    font-size: 15px;
  }

  .nmia-section-body { padding: 14px 12px; }
}

@media (max-width: 480px) {
  .nmia-checks-grid .wpcf7-checkbox {
    grid-template-columns: 1fr;
  }

  .nmia-inline-checks .wpcf7-checkbox,
  .nmia-inline-checks .wpcf7-radio {
    flex-direction: column;
    gap: 6px;
  }

  .nmia-form-title { font-size: 16px; }
  .nmia-logo-img { width: 55px; height: 55px; }
  .nmia-emblem-img { width: 65px; height: 65px; }
}/* End custom CSS */