.propertyhive ul.properties {
    margin-top: 2%;
}

.header-background-swirl {
  background-image: url(https://www.bayestateagents.com/wp-content/uploads/2025/08/bay-wave-e1754322840639.png);
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
  background-size: 100%;
  background-position-y: center;
}

.wp-block-group .propertyhive ul.properties li {
    margin-bottom: 20px;

}
.propertyhive-featured-properties-shortcode .prop-width-double {
    width: 46% !important;
}

.propertyhive ul.properties li .thumbnail img {
  height: 250px !important;
}
.propertyhive ul.properties li {
    box-sizing: border-box;
    width: 22%;
    margin-right: 2%;
    margin-bottom: 2%;
    border-bottom: 0;
    clear: none !important;
    background-color: #f8f8f8;
   
}

.propertyhive ul.properties li:nth-child(4n+1) {
    clear: none !important;
}

.propertyhive-properties-shortcode ul.properties li {
     min-height: 450px;
}

.property-page .propertyhive ul.properties li {
    width: 30%;
}

.widget_block ul.properties li.first.last {
  width: 100% !important;
}

:not(.propertyhive-featured-properties-shortcode).propertyhive ul.properties li {
    width: 30% !important;
    min-height: 480px;
  }
  .propertyhive ul.properties li {
    
    clear: none !important;
}

.propertyhive ul.properties li {
    float: left;
    padding-top: 0em;
    margin-left: 0 !important;
    padding-bottom: 0px;
    border: 1px solid #b6b6b6 !important;
    /* clear: both; */
}

.thumbnail {
    background-color: rgba(0, 0, 0); /* Change the color and opacity as needed */
    overflow: hidden;
  }

  .thumbnail img {
    opacity: 1.0;
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: all 2s ease;
  }

  .propertyhive-featured-properties-shortcode .thumbnail img {
    opacity: 1.0;
    height: 300px;
    width: 100%;
    object-fit: cover;
    transition: all 2s ease;
  }

  .thumbnail img:hover {
    transform: scale(1.2);
    overflow: hidden;
  }
.propertyhive ul.properties li .thumbnail {
    float: left;
    width: 100%;
}

.propertyhive ul.properties li .thumbnail {
    float: left;
    position: relative;
    width: 100%;
}

.container-fancybox {
    position: relative;
}


/* Top right text */
.top-right {
    position: absolute;
    top: 8px;
    right: 16px;
    color: white;
    background-color: var( --primary-color);
    padding: 5px;
    border-radius: 5px;
  }

  /* Top left text */
.top-feat .top-left-feat {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 10px;
    border-left: 5px solid var(--secondary-color);
    width: 100%;background-color: var( --primary-color);color:white;    
  }
.bottom-feat .top-left-feat {
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding: 10px;
    border-left: 5px solid var(--secondary-color);
    width: 100%;background-color: var( --primary-color);color:white;
  }
  .top-feat-rent .top-left-feat {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 10px;
    border-left: 5px solid var(--secondary-color);
    width: 100%;background-color: #a12c2c;color:white;    
  }
.bottom-feat-rent .top-left-feat {
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding: 10px;
    border-left: 5px solid var(--secondary-color);
    width: 100%;background-color: #a12c2c;color:white;
  }
  .top-left-single {
    position: absolute;
    top: 8px;
    left: 16px;
    font-size: 2.0em;
    font-weight: bold;
    /*transform: translate(-50%, -50%);*/
    color: white;
    background-color: var( --primary-color);
    padding: 8px 14px;
    border-radius: 5px;    
  }

  .bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
    color: var(--secondary-color);
    font-weight: bold;
    /*background-color: var(--primary-color);
    padding: 5px;
    border-radius: 5px;*/
  }

  .bottom-left .type {
    color: var(--light-color);
  }
  
  .propertyhive ul.properties li .details {
    width: 100%;
    padding: 10px;
}

.propertyhive ul.properties li .price {
    color: var(--dark-color);
    padding-bottom: 2px;
    font-weight: bold;
    font-size: 1.2em;
}

.propertyhive ul.properties li .details h3 a {
    color: var( --primary-color);
    text-decoration: none;
    font-weight: bold;
 }

.propertyhive ul.properties li .top-left h3 {
  color: white;
  text-decoration: none;
}
 .propertyhive ul.properties li .details .actions a {
  color: var( --primary-color);
  text-decoration: none;
}

.propertyhive ul.properties li .details .actions a:hover {
  color: var( --secondary-color);
  text-decoration: none;
}

.property-search-form-default {
  display: inline;
  width: 100%;
  line-height: 40px !important;
}

.property-search-form .control {
  display: inline;
  vertical-align: middle;
  padding: 10px 10px;
  position: relative;
}

button, input, optgroup, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  
}

div:has(> .property-search-form-default) {
  background: rgba(248, 248, 248, .6);    /*  40% opaque green */ 
    border-radius: 5px;
    padding:10px;

}

.property-search-form-default select {
  border-radius: 0.2em;
  background-color: #fff;
  padding: 3px 5px;
}

.property-enquiry-form input {
    border-radius: 0.2em;
    background-color: #fff;
    padding: 3px 5px;
  }

.property-search-form-sidebar select {
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 2px;
    color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    float: none;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #ccc;
    padding: 6px 10px;
    height: 38px;
    width: 100%;
    line-height: 1.3;
}

.property-search-form-default [type=submit], .property-search-form-sidebar [type=submit], .property-enquiry-form [type=submit] {
  line-height: 15px !important;
  background-color: var( --primary-color);
  color: var( --secondary-color);
  flex-grow: 0;
  font-weight: bold;
  font-style: normal;
  font-size: 1.0em;
  border: none;
  padding: 0.5em 0.5em;
  border-color: var( --dark-color);
  border-radius: 0.2em;
  text-align: center;
  text-decoration: none;  
}
.property-search-form-sidebar [type=submit] {
    font-size: 1.4em;
}
.property-search-form-sidebar div.control {
    display: block;
    padding-left: 0px;
}

.single-header-image .s {
  background: rgba(118, 118, 118, 0.82);
  overflow: hidden;
  height: 100%;
  z-index: -1;  

}

.search-header {
  color: var(--dark-color);
}

.flexslider {
    margin-bottom: 15px;
}

.property-single .price {
    font-size: 2.0em;
    font-weight: bold;
}

li.action-make-enquiry a {
    background-color: var(--action-color);
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
}

.property_actions ul {
    list-style-type: none; /* Remove bullets */
    padding-left: 0; /* Remove padding */
    margin-left: 0; /* Remove margins */
  }
.property h4 {
    font-size: 1.2em;
}

.action-make-enquiry {
    padding-bottom: 30px;
    padding-top: 30px;
}

.propertyhive-pagination {
    padding-top: 20px;
    padding-bottom: 20px;
}

.propertyhive-pagination li a,
.propertyhive-pagination li a:hover,
.propertyhive-pagination li .current,
.propertyhive-pagination li.disabled {
    color: #fff;
    text-decoration:none;
}
 
.propertyhive-pagination li {
    display: inline;
}
 
.propertyhive-pagination li a,
.propertyhive-pagination li a:hover,
.propertyhive-pagination li .current,
.propertyhive-pagination li.disabled {
    background-color: var(--secondary-color);
    border-radius: 3px;
    cursor: pointer;
    padding: 12px;
    padding: 0.75rem;
}
 
.propertyhive-pagination li a:hover,
.propertyhive-pagination li .current {
    background-color: var(--primary-color);
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767px) {  
  .propertyhive ul.properties li {
      box-sizing: border-box;
      width: 100% !important;
      margin-left: 0;
      margin-bottom: 2%;
      border-bottom: 0;
      clear: none !important;
      background-color: white;
      /*min-height: 450px;*/
  }
 
  ul.properties li.featured {
    min-height: 0px;
  }
:not(.propertyhive-featured-properties-shortcode).propertyhive ul.properties li {
    width: 100% !important;
    min-height: 480px;
  }  
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) { 
  .propertyhive ul.properties li {
      box-sizing: border-box;
      width: 45% !important;
      margin-left: 2%;
      margin-bottom: 2%;
      border-bottom: 0;
      clear: none !important;
      background-color: white;
      /*min-height: 470px;*/
  }
  ul.properties li.featured {
    min-height: 0px;
  }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) { 
.propertyhive ul.properties li {
    box-sizing: border-box;
    width: 45% !important;
    margin-left: 2%;
    margin-bottom: 2%;
    border-bottom: 0;
    clear: none !important;
    background-color: white;
    /*min-height: 470px;*/
}


}