.elementor-5299 .elementor-element.elementor-element-8318e8c{--display:flex;}.elementor-5299 .elementor-element.elementor-element-5ddfb4e{text-align:center;}.elementor-5299 .elementor-element.elementor-element-5ddfb4e .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:85px;font-weight:600;text-transform:none;font-style:normal;text-decoration:none;line-height:1em;letter-spacing:0px;color:#FFFFFF;}.elementor-5299 .elementor-element.elementor-element-c604e4a{--display:flex;--margin-top:50px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}@media(min-width:768px){.elementor-5299 .elementor-element.elementor-element-c604e4a{--content-width:800px;}}@media(max-width:1024px){.elementor-5299 .elementor-element.elementor-element-5ddfb4e .elementor-heading-title{font-size:65px;}}@media(max-width:767px){.elementor-5299 .elementor-element.elementor-element-5ddfb4e .elementor-heading-title{font-size:48px;line-height:1em;}}/* Start custom CSS for html, class: .elementor-element-014f2a6 *//* Example styles for TinyMCE editor */
body#tinymce {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    color: #333 !important;
    line-height: 1.6 !important;
}

p#tinymce {
    margin: 0 0 10px !important;
    padding: 0 !important;
}

h1#tinymce, h2#tinymce, h3#tinymce, h4#tinymce, h5#tinymce, h6#tinymce {
    font-weight: 600 !important;
    margin: 20px 0 10px !important;
    line-height: 1.2 !important;
}

#tinymce a {
    color: #0073aa !important;
    text-decoration: none !important;
}

#tinymce a:hover {
    color: #005177 !important;
    text-decoration: underline !important;
}

/* Add more styles as needed */

/* Label Styling to Match ACF Labels */
.acf-label {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 20px;
    color: white;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}

/* Input Container to Match ACF Input Field Styling */
.acf-input {
    margin-top: 20px;
    font-size: 17px;
    color: white;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    position: relative; /* Ensure the dropdown positions correctly */
}

/* Search Input Styling to Match ACF Inputs */
.acf-input input[type=text], 
.acf-input input[type=search] {
    width: 100%;
    border: 1px solid #666;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
    color: #333;
    background-color: #fff;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
}

/* Focus State to Match ACF Inputs */
.acf-input input[type=text]:focus, 
.acf-input input[type=search]:focus {
    border-color: #333;
    box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
}

/* Ensure the dropdown list has a high z-index */
.autocomplete-list {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background-color: white !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    z-index: 9999 !important; /* Set a very high z-index */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1) !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Also ensure the parent container is correctly positioned */
.custom-search-container {
    position: relative; /* Necessary to keep the dropdown aligned correctly */
    z-index: 9998; /* Slightly lower than the dropdown itself */
}

/* Autocomplete List Items */
.autocomplete-list li {
    padding: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover State for List Items */
.autocomplete-list li:hover {
    background-color: #f0f0f0;
}

/* No results message styling */
.autocomplete-list.no-results {
    text-align: center;
    color: #999;
    font-size: 16px;
}

/* Fade-in and fade-out effects */
.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

/* Fade-in and fade-out keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}



    .acf-field-66bdc58876629, /* Jerusalem */
    .acf-field-66bdc6637662a, /* Tel Aviv */
    .acf-field-66bdc6867662b, /* Modi'in-Maccabim-Re'ut */
    .acf-field-66bdc6b07662c, /* Ra'anana */
    .acf-field-66bdc6c87662d, /* Beit Shemesh */
    .acf-field-66bdc809671e3, /* Zichron Yaakov */
    .acf-field-66bdc83d671e4, /* Karmiel */
    .acf-field-66bdc860671e5, /* Rehovot */
    .acf-field-66bdc87b671e6, /* Petah Tikva */
    .acf-field-66bdc896671e7, /* Rishon LeZion */
    .acf-field-66bdc8d3671e8, /* Ashdod */
    .acf-field-66bdc8fa671e9, /* Be'er Sheva */
    .acf-field-66bdc914671ea, /* Givat Shmuel */
    .acf-field-66bdc92d671eb, /* Tzfat */
    .acf-field-66bdc942671ec, /* Hashmonaim */
    .acf-field-66bdc954671ed, /* Matityahu */
    .acf-field-66bdc966671ee, /* Savyon */
    .acf-field-66bdc977671ef, /* Giv'at Ze'ev */
    .acf-field-66bdc99f671f0, /* Ma'ale Gilboa */
    .acf-field-66bdc9b5671f1, /* Telshe (Telz Stone) Stone/Kiryat Yearim */
    .acf-field-66bdca0a3242e, /* Netanya */
    .acf-field-66bdca243242f, /* Haifa */
    .acf-field-66bdca3a32430, /* Efrat (Gush Etzion) */
    .acf-field-66bdca4d32431, /* Gush Etzion */
    .acf-field-66bdca6332432, /* Ma'ale Adumim */
    .acf-field-66c75c5994725, /* Migdal */
    .acf-field-66c75c6594726 /* Beit El */ {
        display: none;
    }/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-860cbc8 */.acf-gallery-sort {display:none;}
.acf-gallery-close {display:none;}
.acf-gallery-update {display:none;}

/* ===== ACF Gallery — Modern dark style ===== */
.acf-gallery {
  --gap: 14px;
  --radius: 12px;
  --thumb-shadow: 0 6px 18px rgba(0,0,0,.35);
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.14);
  --fg: #eaeaea;
  --muted: #a8a8a8;

  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  color: var(--fg);
  height: auto !important; /* let it expand */
}

/* Toolbar */
.acf-gallery .acf-hl {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}
.acf-gallery .acf-hl li { margin: 0 !important; padding: 0 !important; }

.acf-gallery .acf-button {
  border-radius: 999px !important;
  padding: 10px 14px !important;
  line-height: 1;
  border: 1px solid var(--border-strong) !important;
  background: #151515 !important;
  color: var(--fg) !important;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.acf-gallery .button-primary { background: #1d4ed8 !important; border-color: #2a55d8 !important; }
.acf-gallery .acf-button:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* Sort select */
.acf-gallery select.acf-gallery-sort {
  background: #151515;
  color: var(--fg);
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  padding: 8px 12px;
}

/* Grid */
.acf-gallery .acf-gallery-attachments {
  position: relative;
  z-index: 0;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap);
  max-height: 360px;
  overflow: auto;
  padding: 12px; /* Fix 1: inner padding */
  border-radius: 12px;
}

/* Smooth scrollbar for dark bg */
.acf-gallery .acf-gallery-attachments::-webkit-scrollbar { width: 10px; }
.acf-gallery .acf-gallery-attachments::-webkit-scrollbar-track { background: #0f0f0f; }
.acf-gallery .acf-gallery-attachments::-webkit-scrollbar-thumb {
  background: #2a2a2a; border-radius: 10px; border: 2px solid #0f0f0f;
}

/* Thumbnail card */
.acf-gallery .acf-gallery-attachment {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--thumb-shadow);
  border: 1px solid var(--border);
  background: #101010;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.acf-gallery .acf-gallery-attachment:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
}

.acf-gallery .acf-gallery-attachment .thumbnail {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.acf-gallery .acf-gallery-attachment .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Remove (X) button: always visible, elegant */
.acf-gallery .acf-gallery-attachment .actions {
  position: absolute; top: 8px; right: 8px; z-index: 3;
}
.acf-gallery .acf-gallery-attachment .acf-icon,
.acf-gallery .acf-gallery-attachment .acf-icon:hover,
.acf-gallery .acf-gallery-attachment .acf-icon:focus {
  text-decoration: none !important; /* Fix 3: remove underline */
  outline: none !important;
}
.acf-gallery .acf-gallery-attachment .acf-icon.-cancel {
  display: grid !important;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: rgba(0,0,0,.65);
  border: 1px solid rgba(255,255,255,.18);
  transition: background .15s ease, transform .15s ease;
}
.acf-gallery .acf-gallery-attachment .acf-icon.-cancel:before {
  content: "×";
  color: #fff; font-size: 18px; line-height: 1;
}
.acf-gallery .acf-gallery-attachment .acf-icon.-cancel:hover {
  background: rgba(0,0,0,.8);
  transform: scale(1.05);
}

/* Toolbar placement */
.acf-gallery .acf-gallery-toolbar {
  position: relative;
  z-index: 1;
  margin-top: 14px; /* Fix 1: spacing below grid */
  background: transparent;
  min-height: 88px; /* Fix 2: bigger box */
  display: flex;
  align-items: center;
}
.acf-gallery .acf-gallery-toolbar .acf-hl { width: 100%; }

/* Fix 2: Center Add button when empty */
.acf-gallery:has(.acf-gallery-attachments:not(:has(.acf-gallery-attachment))) 
  .acf-gallery-toolbar .acf-hl {
  justify-content: center;
}
/* Left align when there are images */
.acf-gallery:has(.acf-gallery-attachment) .acf-gallery-toolbar .acf-hl {
  justify-content: flex-start;
}

/* Focus states (keyboard accessibility) */
.acf-gallery .acf-button:focus,
.acf-gallery select:focus,
.acf-gallery .acf-icon.-cancel:focus {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

/* Optional: subtle caption style if you add any text under thumbs */
.acf-gallery .acf-gallery-attachment .caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: var(--fg);
  font-size: 12px;
  padding: 8px 10px;
}

/* Tighten spacing to following fields */
.acf-gallery + * { margin-top: 16px; }

/* ========================= */
/* 10/10 polish additions    */
/* ========================= */

/* Softer cards so photos win */
.acf-gallery .acf-gallery-attachment {
  box-shadow: 0 3px 12px rgba(0,0,0,.28) !important;
  border-color: rgba(255,255,255,.10) !important;
}
.acf-gallery .acf-gallery-attachment:hover {
  box-shadow: 0 8px 18px rgba(0,0,0,.40) !important;
  border-color: rgba(255,255,255,.16) !important;
}

/* Empty state: center content and helper text */
.acf-gallery .acf-gallery-attachments { position: relative; }
.acf-gallery:has(.acf-gallery-attachments:not(:has(.acf-gallery-attachment))) .acf-gallery-attachments {
  min-height: 220px !important;
  display: grid !important;
  place-items: center !important;
}
.acf-gallery:has(.acf-gallery-attachments:not(:has(.acf-gallery-attachment))) .acf-gallery-attachments::before {
  content: "No images yet. Click Add to gallery";
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(234,234,234,.75);
  pointer-events: none;
}

/* Button hierarchy:
   - Empty: prominent, centered
   - With images: outlined, lighter */
.acf-gallery:has(.acf-gallery-attachments:not(:has(.acf-gallery-attachment))) .acf-gallery-toolbar .acf-button.button-primary {
  padding: 14px 18px !important;
  font-size: 16px !important;
}
.acf-gallery:has(.acf-gallery-attachment) .acf-gallery-toolbar .acf-button.button-primary {
  background: transparent !important;
  color: #eaeaea !important;
  border-color: rgba(255,255,255,.24) !important;
  padding: 8px 12px !important;
  box-shadow: none !important;
}
.acf-gallery:has(.acf-gallery-attachment) .acf-gallery-toolbar .acf-button.button-primary:hover {
  background: rgba(255,255,255,.06) !important;
}


#custom-search-container li, #custom-search-container span, #custom-search-container button {font-family: 'Inter', sans-serif !important;}

#custom-search-container .custom-search-input {
    width: 100% !important;
    padding: 10px !important;
    font-size: 16px !important;
    font-family: 'Inter', sans-serif !important;
    color: #333 !important;
    background-color: #fff !important;
    border: 1px solid #666 !important;
    border-radius: 3px !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    outline: none !important;
    transition: all 0.3s !important;
}

#custom-search-container .custom-search-input:focus {
    border-color: #333 !important;
    box-shadow: 0 0 8px rgba(102, 175, 233, 0.6) !important;
}

/* Keep the autocomplete list styling specific */
#custom-search-container .autocomplete-list {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background-color: white !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    z-index: 1000 !important;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1) !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Adjust button position */
#formsubmitstyle input[type=submit],
#formsubmitstyle .button-group button {
    width: 100% !important;
    background-color: #000 !important;
    color: #fff !important;
    padding: 15px !important;
    border: 2px solid #fff !important;
    cursor: pointer !important;
    font-size: 17px !important;
    text-align: center !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
    box-sizing: border-box !important;
    border-radius: 5px !important;
    position: relative;
    top: 50px;
    /* Maintain consistent height */
    line-height: 1.5;
    height: auto;
}

/* Hover effect for buttons */
#formsubmitstyle input[type=submit]:hover,
#formsubmitstyle .button-group button:hover {
    background-color: #fff !important;
    color: #000 !important;
    /* Ensure no change in padding or border */
    padding: 15px !important;
    border: 2px solid #000 !important;
    box-sizing: border-box !important;
    text-align: center !important;
}



/* Add 20px margin to the top and bottom of all labels */
.acf-label {
  margin-top: 20px; /* Space above the label text */
  margin-bottom: 20px; /* Space below the label text */
  font-size:20px; 
  color:white;
  font-family: 'Inter', sans-serif !important;
}

.acf-input {  margin-top: 20px; /* Space above the label text */
  font-size:17px; 
  color:white;
  font-family: 'Inter', sans-serif !important;
}
  


/* Remove default circle bullets from list items */
.acf-checkbox-list {
  list-style-type: none; /* Remove default list styling */
  padding: 0;
  margin: 0;
}

/* Ensure the list items are displayed inline */
.acf-checkbox-list li {
  display: inline-block; /* Make list items inline */
  margin-right: 20px; /* Adjust spacing as needed */
  margin-bottom:15px;
}

/* Remove default circle bullet points */
.acf-checkbox-list li::before {
  content: none; /* Remove any pseudo-elements */
}/* End custom CSS */