.clear:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .clear             { zoom: 1; } /* IE6 */
*:first-child+html .clear { zoom: 1; } /* IE7 */

#container { max-width:1140px; width:100%; margin:0 auto; }

.propertyhive {  }

.property-search-form { display:table; width:100%; }
.property-search-form .control { display:table-cell; vertical-align:middle; padding:0 10px; position:relative; } 
.property-search-form .control label {  }
/* Convert Property Hive search form to flex */
.property-search-form {
  display: flex !important;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
    border-radius: 5px !important;
}

/* Each control should stretch */
.property-search-form .control {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 0;   /* key line */
    border-radius: 5px !important;
}

/* Make inputs & selects full width */
.property-search-form .control select,
.property-search-form .control input[type="text"],
.property-search-form .control input[type="submit"] {
  width: 100%;
  box-sizing: border-box;
    border-radius: 5px !important;
}

.propertyhive-result-count {
    padding: 15px 0px 0px 10px !important;
}

.elementor-kit-59 input[type="submit"] {
      padding-top: 12px !important;
  padding-bottom: 12px !important;
  border-radius: 5px !important;
}
.propertyhive-ordering {
    padding-bottom: 15px !important;
}

.thumbnail a {
  display: block;
}

.thumbnail a img {
  border-radius: 5px !important;
  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform;
}

/* Hover effect */
.thumbnail a:hover img {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.propertyhive ul.properties li .details h3 {
    font-size: 22px !important;
    text-decoration: none !important;
}

a:where(:not(.wp-element-button)) {
    text-decoration: none !important;
}



.propertyhive ul.properties { list-style-type:none; margin:0 0 1em; padding:0; clear:both }
.propertyhive ul.properties li { float:left; margin:0; padding-top:1em; padding-bottom:1em; border-bottom:1px solid #CCC; /*clear:both*/ }
.propertyhive ul.properties li.first { clear:left; }
.propertyhive ul.properties li.first.last { width:100%; }
.propertyhive ul.properties li .thumbnail { float:left; width:20%; }
.propertyhive ul.properties li .thumbnail a { display:block; position:relative; height:100%; }
.propertyhive ul.properties li .thumbnail img { max-width:100%; }
.propertyhive ul.properties li .details { float:right; width:77%; }
.propertyhive ul.properties li .details h3 { padding:0; margin:0 0 0.3rem; }

.propertyhive .tns-controls { text-align:center }
.propertyhive .tns-controls button { margin:0 5px; }
.propertyhive .tns-inner .property { float:none !important; margin:0 !important }

.propertyhive-pagination {  }
.propertyhive-pagination ul { list-style-type:none; margin:0; padding:0; }
.propertyhive-pagination ul li { display:inline-block; }
.propertyhive-pagination ul li a {  }

.propertyhive-my-account {  }
.propertyhive-my-account::before { content:' '; display:table; }
.propertyhive-my-account::after { clear:both; content:' '; display:table; }
.propertyhive-my-account .my-account-navigation { float:left; width:30%; }
.propertyhive-my-account .my-account-sections { float:right; width:68%; }

form.account-requirements-form .ms-options-wrap,
form.applicant-registration-form .ms-options-wrap { width:66%; display:inline-block; }
form.account-requirements-form .ms-options-wrap label:first-child,
form.applicant-registration-form .ms-options-wrap label:first-child { width:100%; }

.property-enquiry-form {  }
.property-enquiry-form .control { margin-bottom:5px; }
.property-enquiry-form .control label { display:block; }
.property-enquiry-form .control input[type='text'],
.property-enquiry-form .control input[type='email'],
.property-enquiry-form .control select,
.property-enquiry-form .control textarea { display:block; width:100%; }



/* Enquiry popup container */
.fancybox-content {
  background: #ffffff !important;
  color: #1f2937 !important; /* dark readable text */
  padding: 28px;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

/* Headings & text */
.fancybox-content h2 {
  color: #111827 !important;
  margin-bottom: 8px;
}

.fancybox-content p {
  color: #4b5563 !important;
  margin-bottom: 18px;
}

/* Form labels */
.property-enquiry-form label {
  color: #111827 !important;
  font-weight: 500;
}

/* Inputs & textarea */
.property-enquiry-form input[type="text"],
.property-enquiry-form input[type="email"],
.property-enquiry-form textarea {
  width: 100%;
  background: #f9fafb !important;
  color: #111827;
  border: 1px solid #d1d5db !important;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
}

/* Placeholder text */
.property-enquiry-form ::placeholder {
  color: #9ca3af !important;
}

/* Focus state */
.property-enquiry-form input:focus,
.property-enquiry-form textarea:focus {
  outline: none;
  border-color: #00AEEF !important; /* your brand color */
  background: #ffffff !important;
}

/* Submit button */
.property-enquiry-form input[type="submit"] {
  color: #b0884c !important;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 12px;
}

/* Submit hover */
.property-enquiry-form input[type="submit"]:hover {
  background: #0093cc !important;
}

/* Alerts */
.property-enquiry-form .alert {
  color: #ffffff !important;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}
/* Force visible text color inside enquiry popup */
.fancybox-content .property-enquiry-form input,
.fancybox-content .property-enquiry-form textarea {
  color: #111827 !important;           /* dark readable text */
  background-color: #ffffff !important;
  -webkit-text-fill-color: #111827 !important; /* fixes Chrome autofill light text */
}

