/*
* Style File for Listings for Buildium 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 */
.main-listings-page{
	padding: 1em 0;
}
.main-listings-page .all-listings{
	padding: 2em;
}
.main-listings-page .listing-item{
	position: relative;
	transition: 0.3s;
	width: 32%;
    float: left;
    margin: 0 0.5%;
    margin-bottom: 1rem;
	min-height: 460px;
}
.main-listings-page .listing-item img {
	width: 100%;
	height: 275px;
}
.listing-filters form{
	display: flex;
	justify-content: center;
	align-items: end;
	margin: 0 25px;
}
.listing-filters select, .listing-filters input[type="text"], .listing-filters input[type="number"]{
	width: auto;
	min-width: 90px;
	margin: 0 10px;
	padding: 3px;
}
.listing-filters input[name="filters[location]"]{
	min-width: 300px;
}
.listing-filters input[type="number"]{
	max-width: 135px;
}
.listing-filters {
	padding: 40px 0;
	text-align: center;
	background: #598fcd;
}
.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;
}
.listing-filters input[type="submit"] {
	background: #ff6600;
	color: #fff;
	padding: 7px 30px;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 10px;
	line-height: 1;
	text-decoration: none;
}
span.rent-price {
	background: #ff6600;
	color: #fff;
	padding: 5px 10px;
	letter-spacing: 1px;
	position: absolute;
	left: 0px;
	font-size: 18px;
	top: 240px;
}
.details {
	padding: 15px;
	background: rgba(89, 143, 205, 0.1);
	margin-top: -7px;
}
h3.address {
	font-size: 19px;
	line-height: 2rem;
	font-weight: 500;
	margin: 2rem auto;
}
.main-listings-page .listing-item img.bedimg, .main-listings-page .listing-item img.bathimg {
	width: 16px;
	height: auto;
	margin: 0 5px;
	display: inline;
}
.main-listings-page .listing-item .btns a {
	color: #fff;
	background: rgb(89, 143, 205);
	padding: 5px 10px;
	margin-right: 5px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: 0.3s;
	text-decoration: none;
}
.main-listings-page .listing-item .btns a:hover {
	background: #444;
}
.listing-item:hover {
	box-shadow: 0px 0px 10px 0px #444;
}
.listing-item:hover .details {
	background: #fff;
}
.mm-prop-popup{
	display: flex;
}
.mm-prop-popup .map-popup-thumbnail{
	margin-right: 15px;
}
h3.map-popup-rent, .map-popup-specs{
	margin-bottom: 5px;
	margin-top: 0;
}
.mm-prop-popup .map-popup-info a{
	color: #fff;
	background: rgb(89, 143, 205);
	padding: 7px 20px;
	margin-right: 5px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* SINGLE LISTING PAGE*/
.bldm-sl-wrapper .sl-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;
}
.cursor {
	cursor: pointer;
}
.prev,
.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;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
	background: rgba(255,255,255,0.5);
	color: #444;
	text-decoration: none;
}
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  background: rgb(0,0,0,0.5);
}
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.imgcolumn {
	float: left;
	width: 20%;
	margin: auto;
}
.imgcolumn .img-thumb{
	opacity: 0.6;
    height: 100px;
    width: 95%;
    margin: auto;
}
/* Listing details */
.lst-dtls{
	display: flex;
	border-bottom: 1px solid #ccc;
	margin-bottom: 25px;
}
.lst-dtls .details-left{
	width: 60%;
}
.lst-dtls .details-right{
	width: 40%;
	text-align: right;
}
.address-hdng, .rent-hdng, .bldm-half h3{
	margin-top: 0 !important;
}
.address-hdng a{
	text-indent: -9999px;
	display: inline-block;
	line-height: 1;
}
.address-hdng a:before{
	content: '';
	background: url(../images/map-marker.png);
	width: 32px;
	height: 32px;
	float: left;
	margin: 0;
	text-indent: 0;
}
.bed-bath-std{
	padding: 0;
}
.bed-bath-std li{
	float: left;
    list-style: none;
    margin-left: 35px;
	margin-bottom: 10px;
}
.bed-bath-std li:before {
    background: url(../images/check.png);
    width: 17px;
    height: 17px;
    content: ' ';
    display: block;
    position: absolute;
    margin-left: -20px;
    margin-top: 9px;
    background-size: contain;
}
.bldm-half{
	width: 50%;
	float: left;
}
ul li.column.column--sm5{
	width: 50%;
	float: left;
}
ul li.column.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-btns{
	color: #fff;
	background: rgb(89, 143, 205);
	padding: 7px 20px;
	margin-right: 5px;
	text-transform: capitalize;
	letter-spacing: 1px;
	transition: 0.3s;
}
.sl-btns:hover{
	text-decoration: none;
	background: #444;
}
.bathimg, .bedimg{
	width: 16px;
	height: auto;
	margin: 0 5px;
	display: inline;
}
.details-right .rent-hdng{
	color: #ff6600;
    margin-bottom: 1rem;
    padding: .5rem 0;
    text-align: right;
    border: none;
    font-weight: bold;
    font-size: 24px;
	line-height: 1;
}
.call-top{
	color: rgb(89, 143, 205);
	text-decoration: none;
}
.call-top .call-now{
	display: inline;
	width: 18px;
	vertical-align: middle;
}
.details-right .rent-hdng .price-tag{
	display: inline;
    width: 24px;
    vertical-align: bottom;
}
.details-right #avail-txt{
	color: #3bb54a;
}
img.avail-now{
	display: inline;
    width: 17px;
    margin-right: 1px;
    margin-bottom: 4px;
}
.extra-half {
	margin-bottom: 25px;
}

/* Responsiveness */
@media only screen and (max-width: 1348px) {
	.listing-filters form{
		display: block;
	}
}
@media only screen and (max-width: 767px) {
	.listing-filters h2{
		font-size: 20px;
		letter-spacing: 1px;
	}
	.listing-filters input[type="submit"] {
		padding: 5px 30px;
		font-size: 16px;
		margin: 0 10px;
	}
	.main-listings-page .all-listings {
		padding: 1em;
	}
	.main-listings-page .listing-item{
		width: 100%;
	}
	/* Single listing */
	.bldm-two-fifth, .bldm-three-fifth{
		width: 100%;
		padding: 0 1em;
	}
}

