/*
* Style File for Listings for Buildium PRO plugin
*/
/* General */
.bldm-column{
	float: left;
	margin: 0 1% 40px;
	padding: 0 1%
}
.bldm-two-fifth{
	width: 38%;
}
.bldm-three-fifth{
	width: 58%;
}
.bldm-prmry-btn{
	color: #fff;
    background: rgb(89, 143, 205);
    padding: 7px 20px;
    letter-spacing: 1px;
    transition: 0.3s;
    text-decoration: none;
}

/* All Listings page */
.bldm-all-listings.bldm-section-inner {
	padding: 1% 0;
  }
.bldm-main-listings-page{
	padding: 1em 0;
}
.bldm-listing-items-grp {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
  }
.bldm-main-listings-page .bldm-listing-item{
	position: relative;
	transition: 0.3s;
	width: 32.5%;
    float: left;
    margin: 0 0 1% 0;
	padding: 0;
	min-height: 460px;
}
.bldm-main-listings-page .bldm-listing-item img {
	width: 100%;
	height: 275px;
	display: block;
}

.bldm-listing-filters{
	box-sizing: border-box;
}

.bldm-listing-filters form {
	display: flex;
	justify-content: center;
	margin: 0 10px;
	gap: 10px;
	flex-wrap: wrap;
  }

.bldm-listing-filters input, .bldm-listing-filters select {
	width: 125px;
	padding: 7px 0 7px 7px;
	border: none;
  }
.bldm-listing-filters input[name="filters[location]"]{
	min-width: 250px;
}
.bldm-listing-filters input[type="number"]{
	min-width: 135px;
}
.bldm-listing-filters {
	padding: 40px 0;
	text-align: center;
	background: #17506b;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.bldm-listing-filters .bldm_page_hdng{
	color: #fff;
	font-size: 40px;
	margin-top: 0;
	margin-bottom: 2rem;
	text-transform: uppercase;
	letter-spacing: 5px;
	line-height: 3rem;
}
.bldm-listing-filters input[type="submit"] {
	background: #ff6600;
	color: #fff;
	padding: 7px 30px;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1;
	text-decoration: none;
}
.bldm-main-listings-page .bldm-listing-item .bldm-list-img{
	position: relative;
}
span.bldm-rent-price {
	background: #ff6600;
}
.bldm-main-listings-page .bldm-listing-item span.bldm-rent-price, .bldm-main-listings-page .bldm-listing-item span.bldm-rent-price-off,
.bldm-main-listings-page .bldm-listing-item span.bldm-lstng-avail, .bldm-main-listings-page .bldm-listing-item span.bldm-lstng-avail-off {
	color: #fff;
	padding: 5px 10px;
	letter-spacing: 1px;
	position: absolute;
	left: 0px;
	font-size: 18px;
	bottom: 0px;
}
.bldm-main-listings-page .bldm-listing-item span.bldm-rent-price-off, .bldm-main-listings-page .bldm-listing-item span.bldm-lstng-avail-off{
	position: relative;
}
.bldm-main-listings-page .bldm-listing-item span.bldm-lstng-avail, .bldm-main-listings-page .bldm-listing-item span.bldm-lstng-avail-off {
	left: auto;
	right: 0px;
	text-transform: capitalize;
}
.bldm-main-listings-page .bldm-listing-item span.bldm-lstng-avail-off{
	float: right;
}
.bldm-btns {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	display: flex;
  }
.bldm-details {
	padding: 15px;
	background: rgba(89, 143, 205, 0.1);
	margin-top: -7px;
	padding-bottom: 40px;
}
h2.bldm-lstng_ttl {
	font-size: 19px;
  }
h3.bldm-address {
	font-size: 17px;
	line-height: 2rem;
	font-weight: 500;
}
.bldm-main-listings-page .bldm-listing-item img.bldm-bedimg, .bldm-main-listings-page .bldm-listing-item img.bldm-bathimg {
	width: 16px;
	height: auto;
	margin: 0 5px;
	display: inline;
}
.bldm-main-listings-page .bldm-listing-item .bldm-btns a {
	color: #fff;
	background: rgb(89, 143, 205);
	padding: 8px 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: 0.3s;
	text-decoration: none;
	text-align: center;
	width: 50%;
	display: inline-block;
  }
.bldm-main-listings-page .bldm-listing-item .bldm-btns a:hover {
	background: #444;
}
.bldm-listing-item:hover {
	box-shadow: 0px 0px 10px 0px #ccc;
}
.bldm-listing-item:hover .bldm-details {
	background: #fff;
}

/* SINGLE LISTING PAGE*/
.bldm-sl-wrapper .sl-bldm-btns{
	text-decoration: none;
	display: block;
	width: fit-content;
	margin-bottom: 10px;
	margin-left: auto;
}
/* Gallery CSS */
.bldm-gallery{
	position: relative;
	text-align: center;
}
.bldm-gallery img{
	max-height: 450px;
	cursor: pointer;
}
.bldm-cursor {
	cursor: pointer;
}
.bldm-prev,
.bldm-next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 25px 15px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}
.bldm-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.bldm-prev:hover, .bldm-next:hover {
	background: rgba(255,255,255,0.5);
	color: #444;
	text-decoration: none;
}
.bldm-numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  background: rgb(0,0,0,0.5);
}
.bldm-row:after {
  content: "";
  display: table;
  clear: both;
}
.bldm-imgcolumn {
	float: left;
	width: 20%;
	margin: auto;
}
.bldm-imgcolumn .bldm-img-thumb{
	opacity: 0.6;
    height: 100px;
    width: 95%;
    margin: auto;
}
/* Listing details */
.bldm-lst-dtls{
	display: flex;
	border-bottom: 1px solid #ccc;
	margin-bottom: 25px;
}
.bldm-lst-dtls .bldm-details-left{
	width: 60%;
}
.bldm-lst-dtls .bldm-details-right{
	width: 40%;
	text-align: right;
}
.bldm-address-hdng, .bldm-rent-hdng, .bldm-half h3{
	margin-top: 0 !important;
}
.bldm-address-hdng a{
	text-indent: -9999px;
	display: inline-block;
	line-height: 1;
}
.bldm-address-hdng a:before{
	content: '';
	background: url(../images/map-marker.png);
	width: 32px;
	height: 32px;
	float: left;
	margin: 0;
	text-indent: 0;
}
.bldm-bed-bath-std{
	padding: 0;
}
.bldm-bed-bath-std li{
    list-style: none;
}
.bldm-bed-bath-std li::before {
	background: url(../images/check.png);
	background-size: cover;
	background-repeat: no-repeat;
	width: 15px;
	height: 15px;
	content: ' ';
	position: absolute;
	margin: 5px 0 0 -20px;
  }
  .bldm-details-right p:last-child {
	display: flex;
  justify-content: end;
  }
.bldm-half{
	width: 50%;
	float: left;
}
ul li.bldm-column.bldm-column--sm5{
	width: 50%;
	float: left;
}
ul li.bldm-column.bldm-column--sm5:nth-last-child(1):nth-child(odd) {
	float: none;
}
.bldm-column .unit-detail__actions{
	margin-top: 30px;
}
.bldm-column .unit-detail__actions a{
	color: #fff;
    background: rgb(89, 143, 205);
    padding: 7px 20px;
    letter-spacing: 1px;
    transition: 0.3s;
    text-decoration: none;
}
.bldm-column .unit-detail__actions a.btn--primary{
	margin-right: 20px;
}
.sl-bldm-btns{
	color: #fff;
	background: rgb(89, 143, 205);
	padding: 7px 20px;
	margin-right: 5px;
	text-transform: capitalize;
	letter-spacing: 1px;
	transition: 0.3s;
}
.sl-bldm-btns:hover{
	text-decoration: none;
	background: #444;
}
.bldm-bathimg, .bldm-bedimg{
	width: 16px;
	height: auto;
	margin: 0 5px;
	display: inline;
}
.bldm-details-right .bldm-rent-hdng{
	color: #ff6600;
    margin-bottom: 1rem;
    padding: .5rem 0;
    text-align: right;
    border: none;
    font-weight: bold;
    font-size: 24px;
	line-height: 1;
}
.bldm-details-right .bldm-rent-hdng .bldm-price-tag{
	display: inline;
    width: 24px;
    vertical-align: bottom;
}
.bldm-details-right #bldm-avail-txt{
	color: #3bb54a;
	line-height: 1;
}
img.bldm-avail-now {
	width: 15px;
	height: 15px;
}
ul.bldm-bed-bath-std {
	display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
/* Responsiveness */
@media only screen and (max-width: 767px) {
	.bldm-listing-filters h2{
		font-size: 20px;
		letter-spacing: 1px;
	}
	/* .bldm-listing-filters input[type="submit"] {
		padding: 5px 30px;
		font-size: 16px;
		margin: 0 10px;
	} */

	.bldm-listing-filters form {
		display: flex;
    flex-wrap: wrap;
		gap: 10px;
    justify-content: center;
  }
	
  .bldm-listing-filters input[name="filters[location]"],
  .bldm-listing-filters input[type="submit"] {
    width: 100%;
  }

	.bldm-listing-filters input[name="filters[rent-min]"],
  .bldm-listing-filters input[name="filters[rent-max]"] {
    width: calc(50% - 5px); 
		min-width: 120px;
		flex: 1; /* Allows flexible resizing */
  }

	.bldm-listing-filters select[name="filters[bedrooms]"],
  .bldm-listing-filters select[name="filters[bathrooms]"] {
    width: calc(50% - 5px);
  }

	.bldm-listing-filters select[name="filters[propertyTypeFilter]"] {
    width: 100%;
  }

	.bldm-listing-filters input[type="submit"] {
    font-size: 16px;
    margin-top: 10px;
  }



	.bldm-main-listings-page .bldm-all-listings {
		padding: 1em;
	}
	.bldm-main-listings-page .bldm-listing-item{
		width: 100%;
	}
	/* Single listing */
	.bldm-two-fifth, .bldm-three-fifth{
		width: 100%;
		padding: 0 1em;
	}
}

