/* Hide Fields */
#location_id,
#locations,
label[for="location_id"],
label[for="locations"],
#agent,
label[for="agent"],
#rank,
label[for="rank"],
input[name="featured"],
label[for="featured"],
input[name="activated"],
label[for="activated"],
#slug,
label[for="slug"] {
    display: none !important;
}

/* Remove/hide the dotted border from home page logo after click it */
.elementor-widget-image a:focus,
.elementor-widget-image a:active {
    outline: none !important;
    box-shadow: none !important;
}


/* Make contact form input + textarea full width */
.elementinvader_addons_for_elementor_f_container .elementinvader_addons_for_elementor_f_field {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 18px !important;
    font-size: 18px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
}

/* Increase height of message box */
.elementinvader_addons_for_elementor_f_container textarea.elementinvader_addons_for_elementor_f_field {
    min-height: 180px !important;
}

/* Increase spacing between each field */
.elementinvader_addons_for_elementor_f_container .elementinvader_addons_for_elementor_f_group {
    margin-bottom: 18px !important;
}

/* Style and enlarge submit button */
.elementinvader_addons_for_elementor_f_container button {
    width: 100% !important;
    padding: 16px !important;
    font-size: 20px !important;
    border-radius: 8px !important;
    cursor: pointer;
}

.elementor-element-403be8f > .elementor-element {
    flex: 0 0 auto !important;
    width: auto !important;
}

.elementor-element-403be8f {
    gap: 6px !important;
}

.elementor-element-403be8f .wdk-element {
    display: inline-flex !important;
}


/* Center the entire shortcode block */
.elementor-shortcode {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
}

/* Center the login wrapper */
#user-registration {
    max-width: 420px; /* perfect width for login forms */
    width: 100%;
    margin: auto !important;
}

/* Optional → Add spacing to form */
.ur-frontend-form.login {
    padding: 20px !important;
}

/* Optional → If NexProperty adds float/align on inner grid */
.ur-frontend-form .ur-form-row,
.ur-frontend-form .ur-form-grid {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Optional → make login box look cleaner */
#user-registration form.user-registration-form-login {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.07);
}
/* Change LOGIN button color to orange */
.user-registration-Button.ur-submit-button {
    background-color: #365B6D !important; /* green color */
    border-color: #365B6D !important;
    color: #ffffff !important;
}

/* Optional hover effect */
.user-registration-Button.ur-submit-button:hover {
    background-color: #1B5F73 !important; /* darker green */
    border-color: #1B5F73 !important;
}
/* ===============================
   USER REGISTRATION FORM – STYLES
   =============================== */

/* 1️⃣ Increase form width and keep centered */
.user-registration.ur-frontend-form {
    max-width: 560px;   /* adjust if needed (520–600px works well) */
    width: 100%;
    margin: 0 auto !important;
}

/* 2️⃣ Center the submit button – HARD OVERRIDE */
.user-registration .ur-button-container {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    margin-top: 20px;
}

/* 3️⃣ Orange submit button – CENTERED + WIDER */
.user-registration .ur-button-container .ur-submit-button {
    float: none !important;
    display: inline-block !important;
    margin: 0 auto !important;

    /* 🔥 Button width control */
    min-width: 240px;        /* change to 260–300px if needed */
    max-width: 100%;
    
    background-color: #365B6D !important;
    border-color: #365B6D !important;
    color: #ffffff !important;
    padding: 14px 40px;      /* increases height + width */
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
}

/* 4️⃣ Hover effect */
.user-registration .ur-button-container .ur-submit-button:hover {
    background-color: #1B5F73 !important;
    border-color: #1B5F73 !important;
    color: #ffffff !important;
}

/* 5️⃣ Improve spacing between fields */
.user-registration .ur-form-row {
    margin-bottom: 14px;
}

/* 6️⃣ Make inputs slightly taller */
.user-registration input[type="text"],
.user-registration input[type="email"],
.user-registration input[type="password"],
.user-registration select {
    min-height: 42px;
}
/* Remove site reviews other part */
 .glsr-summary-percentages {
     display: none !important;
 }



/* remove contact us btn from listing preview page */

button.e-button-base {
    display: none !important;
}

/* Change the position of Share button and Favourite button left to right in listing preview page */

/* Base position for both buttons */
.elementor-widget-wdk-button-share,
.elementor-widget-wdk-favorites-button {
    position: absolute;
    top: 20px;          /* SAME top value */
    z-index: 10;
}

/* First button (rightmost) */
.elementor-widget-wdk-favorites-button {
    right: 60px;
}

/* Second button (left of first) */
.elementor-widget-wdk-button-share {
    right: 110px;        /* adjust spacing */
}
/* Hide WDK search edit icon on frontend */
.wdk-search .section-widget-control {
    display: none !important;
}
/* Hide dropdown arrow in WDK category */
.wdk_dropdown_tree .dropdown-toggle {
    display: none !important;
}
/* Show category dropdown on hover */
.wdk_dropdown_tree:hover .list_container {
    display: block !important;
}
/* Hide bottom "Search term" input in WDK category dropdown */
.wdk_dropdown_tree .input-group {
    display: none !important;
}
/* Reduce dropdown height */
.wdk_dropdown_tree .list_container {
    padding: 0 !important;
}

/* Reduce inner scroll area */
.wdk_dropdown_tree .list_scroll {
    max-height: 180px; /* adjust if needed */
    padding: 0 !important;
}

/* Reduce item spacing */
.wdk_dropdown_tree .list_items li {
    padding: 8px 12px !important;
    line-height: 1.4 !important;
}
/* ===== Review area in listing cards ===== */

.wdk-site-review-summary{
    margin-top:6px;
    font-size:13px;
    line-height:1.2;
    min-height:22px;
    display:flex;
    align-items:center;
}

/* Review summary layout */
.wdk-site-review-summary .glsr-summary{
    display:flex;
    align-items:center;
    gap:6px;
}

/* Star size */
.wdk-site-review-summary .glsr-stars{
    font-size:14px;
}

/* Hide the 429 error HTML completely */
.wdk-site-review-summary meta,
.wdk-site-review-summary title,
.wdk-site-review-summary style,
.wdk-site-review-summary .container,
.wdk-site-review-summary .error-msg,
.wdk-site-review-summary .support-msg{
    display:none !important;
}


/* Hide created by meta details */
ul.meta {
    display: none !important;
}

/* Move Site Reviews form to left */
.elementor-widget-shortcode .elementor-shortcode {
    display: block !important;
    text-align: left !important;
}

/* Make form full width instead of centered */
.glsr-form-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}
/* Review Submit Button - Normal State */
.glsr-button.wp-block-button__link {
    background-color: #365B6D !important;
    border-color: #365B6D !important;
    color: #ffffff !important;
}

/* Review Submit Button - Hover State */
.glsr-button.wp-block-button__link:hover {
    background-color: #1B5F73 !important;
    border-color: #1B5F73 !important;
    color: #ffffff !important;
}

.entry-title {
    display: none;
}

/* Keep normal layout for name + address */
.wdk-listing-agent .agent-cont {
    display: block !important;
}




/* Force the contact icons container */
.wdk-listing-agent .agent-cont{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:nowrap;
}

/* Make ONLY phone, whatsapp, email in one row */
.wdk-listing-agent .wdk_phone,
.wdk-listing-agent .wdk_whatsapp,
.wdk-listing-agent .user_email{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
}

/* Hide text */
.wdk-listing-agent .wdk_phone a,
.wdk-listing-agent .wdk_whatsapp a,
.wdk-listing-agent .user_email a{
    font-size:0 !important;
}

/* Restore icon size */
.wdk-listing-agent .wdk_phone a i,
.wdk-listing-agent .wdk_whatsapp a i,
.wdk-listing-agent .user_email a i{
    font-size:22px !important;
}

/* Brand colors */
.wdk-listing-agent .wdk_phone a i{
    color:#000 !important;
}

.wdk-listing-agent .wdk_whatsapp a i{
    color:#25D366 !important;
}

.wdk-listing-agent .user_email a i{
    color:#D44638 !important;
}

/* If link has no value make it not clickable */
.wdk-listing-agent .meta-item a[href=""],
.wdk-listing-agent .meta-item a[href="#"]{
    pointer-events:none;
    opacity:1;
}
/* Force fixed space for the address row */
.wdk-listing-agent .agent-cont .meta-item.address,
.wdk-listing-agent .agent-cont .wdk_address,
.wdk-listing-agent .agent-cont .agent-address {
    min-height: 22px;
    display: block;
}

/* If address element exists but is empty, keep the space */
.wdk-listing-agent .agent-cont .meta-item.address:empty,
.wdk-listing-agent .agent-cont .wdk_address:empty,
.wdk-listing-agent .agent-cont .agent-address:empty {
    visibility: hidden;
}

/* Ensure icons stay in their own row */
.wdk-listing-agent .agent-cont .wdk_phone,
.wdk-listing-agent .agent-cont .wdk_whatsapp,
.wdk-listing-agent .agent-cont .user_email {
    display: inline-flex !important;
    align-items: center;
    margin-right: 18px;
}
/*--------------------------------*/


/* Hide More Categories field from listing page */
.wdk-from-group:has(label[for="listing_categories"]) {
    display: none !important;
}

/* Hide Location field from listing page */
.wdk-from-group:has(#wdktreeelem1) {
    display: none !important;
}
/* Remove required star from Location field */
label[for="location_id"]::after {
    content: "" !important;
}

/* Hide any required asterisk globally (safe version) */
.wdk-from-group label::after {
    content: "" !important;
}

/* Hide More Locations field from listing page */
.wdk-from-group:has(select[name="listing_sub_locations[]"]) {
    display: none !important;
}


/* google review css */
.rustplaats-google-reviews h3 {
    margin-bottom: 5px;
}

.rustplaats-review strong {
    font-size: 16px;
}

.rustplaats-review p {
    font-size: 14px;
    line-height: 1.6;
}



/* Mobile Burger Menu Icon Color */
@media (max-width: 767px) {

  .elementor-menu-toggle {
      color: #1B5F73 !important;
  }

  .elementor-menu-toggle i {
      color: #1B5F73 !important;
  }

  .elementor-menu-toggle svg {
      fill: #1B5F73 !important;
  }

}


/* ===== Custom Contact Popup ===== */

.custom-contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.custom-contact-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 280px;
  text-align: center;
  position: relative;
  animation: fadeInScale 0.25s ease;
}

.custom-contact-box i {
  font-size: 30px;
  margin-bottom: 10px;
  display: block;
}

.custom-contact-box .contact-value {
  font-size: 16px;
  font-weight: 600;
  word-break: break-word;
}

.custom-contact-close {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
}

@keyframes fadeInScale {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

 /* Hide whole manual activated listing from new listing page */
.wdk-from-group.CHECKBOX {
    display: none !important;
}



/* --------------------------------
   Mobile menu vertical layout
   Text left + arrow right
   Submenu expands without hiding other items
   Desktop/Tablet unchanged
---------------------------------*/
@media (max-width: 767px){

  /* Vertical dropdown container */
  .elementor-nav-menu--dropdown.elementor-nav-menu__container .elementor-nav-menu{
      display:flex !important;
      flex-direction:column !important;
      width:100%;
      height:auto !important; 
/* ✅ FIX */
  }

  /* Stack items */
  .elementor-nav-menu--dropdown.elementor-nav-menu__container .elementor-nav-menu > li{
      width:100%;
      text-align:left;
  }

  /* Menu links */
  .elementor-nav-menu--dropdown.elementor-nav-menu__container .elementor-item{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:14px 20px;
      text-align:left;
      width:100%;
  }

  /* Arrow right */
  .elementor-nav-menu--dropdown .sub-arrow{
      margin-left:auto;
  }

  /* 🔥 IMPORTANT FIX: prevent menu cut */
  .elementor-nav-menu--dropdown{
      max-height:100vh !important;
      overflow-y:auto !important;
  }

  /* Submenu container */
  .elementor-nav-menu--dropdown .sub-menu{
      position:relative;
      width:100%;
      background:#3f5f69;
      border-radius:4px;
      margin-top:5px;
  }

  /* Submenu items */
  .elementor-nav-menu--dropdown .sub-menu li{
      width:100%;
  }

  .elementor-nav-menu--dropdown .sub-menu a{
      display:block;
      padding:12px 25px;
  }

  /* 🔥 Ensure last item (Weglot) visible */
  .elementor-nav-menu--dropdown li:last-child{
      margin-bottom:20px;
  }

}

/*---------------------------------*/
/* Only affect the Website link widget on listing preview page */
.elementor-element-64eb4d4 .wdk-field-value.INPUTBOX span.value::before {
    content: "Visit Our Site";
    display: inline-block;
    background: #3f5f69;
    color: #fff;
    padding: 7px 18px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
}

/* --------------------------------
   WDK Listings Mobile Image Fix
---------------------------------*/
@media (max-width: 767px){

/* Ensure listing card shows image */
.wdk-listing-card .wdk-image,
.wdk-listing-card .wdk-image img,
.wdk-listing-card .thumbnail,
.wdk-listing-card .thumbnail img{
    display:block !important;
    width:100% !important;
    height:auto !important;
}

/* Fix collapsed image container */
.wdk-listing-card .wdk-image,
.wdk-listing-card .thumbnail{
    position:relative !important;
    min-height:180px;
    overflow:hidden;
}

/* Make image cover container */
.wdk-listing-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Keep proper card layout */
.wdk-listing-card{
    display:block;
    overflow:hidden;
}

}
/*---------------------------------*/
/* Mobile Footer Container Order Fix */
@media (max-width:767px){

/* Footer main container */
footer .elementor-element-46bd9c60{
    display:flex;
    flex-direction:column;
}

/* Set order for each column */
footer .elementor-element-b44a3fe{
    order:1;   /* Logo + Social */
}

footer .elementor-element-81a67fd{
    order:2;   /* Services */
}

footer .elementor-element-2835f658{
    order:3;   /* Quick Links */
}

footer .elementor-element-03cac9c{
    order:4;   /* Get In Touch (move after Quick Links) */
}

}

/* --------------------------------
Reduce my dash content widget height and width
---------------------------------*/
/* Reduce overall widget box size */
.wdk_dash_widgets .wdk-membership-dash-widget {
    padding: 12px !important;
    min-height: 70px !important;
}

/* Reduce column spacing */
.wdk_dash_widgets .wdk-col-12 {
    margin-bottom: 10px !important;
}

/* Make icon smaller */
.wdk_dash_widgets .wdk-membership-dash-widget .icon span {
    font-size: 20px !important;
}

/* Reduce icon container spacing */
.wdk_dash_widgets .wdk-content {
    margin-right: 8px !important;
}

/* Reduce title size */
.wdk_dash_widgets .wdk-side .title {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

/* Reduce count size */
.wdk_dash_widgets .wdk-side .wdk-count {
    font-size: 16px !important;
}

/* Align content tighter */
.wdk_dash_widgets .wdk-membership-dash-widget {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Optional: reduce icon circle (if any background applied) */
.wdk_dash_widgets .wdk-content .icon {
    width: 35px !important;
    height: 35px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*---------------------------------*/
.wdk-front-wrap {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
}

.wdk-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.wdk-table-wrapper {
    overflow-x: auto;
}

.wdk-table {
    width: 100%;
    border-collapse: collapse;
}

.wdk-table thead {
    background: #3f5f6b;
    color: #fff;
}

.wdk-table th,
.wdk-table td {
    padding: 12px 15px;
    text-align: left;
}

.wdk-table-striped tbody tr:nth-child(even) {
    background: #f5f7f9;
}

.wdk-table tbody tr:hover {
    background: #eef3f6;
}

.wdk-table tbody tr:last-child {
    font-weight: bold;
    background: #e2e6ea;
}
/*---------------------------------*/
/* Force flex layout */
.wdk-membership-menu {
    display: flex !important;
    flex-direction: column !important;
}

/* Move Logout to bottom in my dashboard page */
.wdk-membership-menu .wdk-logout {
    order: 9999 !important;
}
}
/*---------------------------------*/


/*-----------------------------*/
