﻿.rental-results {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	grid-template-rows: 1fr;
	width: 100%;
	min-height: 100vh;
	position: relative;
	transition: all ease-out 0.5s;
	margin-top: 20px;
}

	.rental-results .results-list {
		width: 100%;
		z-index: 1;
		grid-column-start: 1;
		grid-column-end: 2;
		padding-left: 5%;
		padding-right: 5%;
	}

	.rental-results.no-map {
		padding: 1.75% 3.5%;
		height: auto;
		min-height: none;
		grid-template-columns: 1fr;
	}

	.rental-results .gm-style-iw {
		display: none;
	}

	.rental-results .gm-style-iw-t::after {
		display: none;
	}

	.rental-results.no-map .results-list {
		height: auto;
		min-height: none !important;
		overflow: visible;
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 40px;
		grid-row-gap: 0;
		padding: 0;
	}

	.rental-results .rental-map {
		width: 100%;
		height: 100vh;
		grid-column-start: 2;
		grid-column-end: 3;
		border-top-left-radius: var(--card-radius);
	}

		.rental-results .rental-map.sticky {
			position: sticky !important;
			z-index: 2;
			top: 0;
			border-top-left-radius: 0;
			transition: ease-out all .2s;
		}

	.rental-results.no-map .rental-map {
		display: none;
	}

	.rental-results.no-list {
		display: block;
		height: auto;
		padding: 0;
	}

		.rental-results.no-list .results-list {
			display: none;
		}

		.rental-results.no-list .rental-map {
			width: 100%;
			height: 100%;
			position: absolute !important;
			top: 0;
			left: 0;
			display: block !important;
			border-radius: 0;
		}

		.rental-results.no-list .gm-style-iw {
			display: block;
		}

		.rental-results.no-list .gm-style-iw-t::after {
			display: block;
		}

		.rental-results.no-list .rental-list {
			width: 700px;
		}

	.rental-results .map-popup-content {
		min-width: 250px;
	}

		.rental-results .map-popup-content .col2 {
			padding-right: 10px;
		}

.rental-list {
	z-index: 1;
	display: grid;
	grid-template-columns: 50% 50%;
	position: relative;
	border-radius: var(--card-radius);
	box-shadow: var(--shadow-far);
	margin-bottom: 40px;
}

	.rental-list.highlighted,
	.rental-list:hover {
		z-index: 2;
		transition: all 0.2s ease-in-out;
		box-shadow: var(--shadow-far);
	}

	.rental-list.dimmed {
		opacity: 0.5;
		filter: blur(2px);
		z-index: 1;
	}

.rental-list,
.rental-list .swiper-slide {
	height: 25rem;
}

	.rental-list .photo {
		width: 100%;
		height: 100%;
		border-top-left-radius: var(--card-radius);
		border-bottom-left-radius: var(--card-radius);
		aspect-ratio: var(--rental-photo-aspect-ratio);
	}

		.rental-list .photo img {
			width: 100%;
			height: auto;
			border-top-left-radius: var(--card-radius);
			border-bottom-left-radius: var(--card-radius);
			aspect-ratio: var(--rental-photo-aspect-ratio);
		}

	.rental-list .photos {
		width: 100%;
		height: 100%;
		position: relative;
		overflow: hidden;
		border-top-left-radius: var(--card-radius);
		border-bottom-left-radius: var(--card-radius);
		aspect-ratio: var(--rental-photo-aspect-ratio);
	}

		.rental-list .photos .slider.slide-show .slides .slide {
			height: 20rem;
		}

@media screen and (max-width: 768px) {
	.rental-list .photos .slider.slide-show .slides .slide {
		height: 12rem;
	}
}

@media screen and (max-width: 568px) {
	.rental-list .photos .slider.slide-show .slides .slide {
		height: 25rem;
	}
}

		.rental-list .photos img {
			width: 100%;
			/*height: 100%;*/
			object-fit: cover;
			border-top-left-radius: var(--card-radius);
			border-bottom-left-radius: var(--card-radius);
			aspect-ratio: var(--rental-photo-aspect-ratio);
		}

	.rental-list .details {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 20px;
		row-gap: 0.5rem;
		background-color: var(--color-lightest);
	}

	.rental-list h3 {
		margin-bottom: 10px;
		font-size: 1.5rem;
		line-height: 1.5rem;
		font-weight: 600;
	}

	.rental-list h4,
	.rental-list h5 {
		display: inline-block;
		vertical-align: middle;
		margin: 10px 0 0 0;
		font: 400 1rem/1rem var(--font-sans-serif);
		color: var(--text-color);
		cursor: pointer;
	}

	.rental-list p {
		font-size: .9rem;
		line-height: 1.2rem;
		font-weight: 400;
		margin: 0;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.rental-list .overview {
		display: flex;
		align-content: center;
		margin: 0;
		padding: 12px 0;
		border-top: 1px solid var(--border-color);
		border-bottom: 1px solid var(--border-color);
	}

		.rental-list .overview h4 {
			margin: 0 15px 0 0;
			font-weight: 600;
		}

			.rental-list .overview h4 span {
				font-weight: 300;
			}

			.rental-list .overview h4:last-child::after {
				display: none;
			}

			.rental-list .overview h4::before {
				font-family: var(--font-icon);
				color: var(--text-color);
				margin-right: 5px;
			}

			.rental-list .overview h4.bedrooms::before {
				content: "\f236";
			}

			.rental-list .overview h4.bathrooms::before {
				content: "\f2cd";
			}

			.rental-list .overview h4.guests::before {
				content: "\f0c0";
			}

			.rental-list .overview h4.dogs::before {
				content: "\f1b0";
			}

.rental-list .features {
	display: flex;
	align-content: center;
	flex-wrap: wrap;
	margin: 0;
	padding: 0 0 12px 0;
	border-bottom: 1px solid var(--border-color);
	min-height: 105px;
}

		.rental-list .features h4 {
			flex-basis: 33.33%;
			font-size: .85rem;
			line-height: 1rem;
			margin: 6px;
		}

.details__footer {
	display:flex;
	justify-content: space-between;
	align-items: flex-end;
}

	.rental-list .rate {
		text-align: right;
	}

		.rental-list .rate h4 {
			font-size: .9rem;
			line-height: .9rem;
			display: block;
			position: relative;
		}

			.rental-list .rate h4 span {
				font-size: .9rem;
				font-weight: 600;
			}

			.rental-list .rate h4::after {
				content: "\f059";
				display: none;
				color: var(--color-1);
				font-family: var(--font-icon);
				margin-left: 5px;
				cursor: pointer;
				vertical-align: middle;
			}

			.rental-list .rate h4 span.tooltip-text {
				visibility: hidden;
				text-align: center;
				font-size: .9rem;
				line-height: 1.1rem;
				font-weight: 400;
			}

			.rental-list .rate h4:hover span.tooltip-text {
				visibility: visible;
			}

		.rental-list .rate .detail-button {
			display: inline-block;
			font-size: .85rem;
			line-height: .85rem;
			color: var(--color-1);
			text-align: center;
			padding: 5px 8px;
			border: 1px solid var(--sub-text-color);
			border-radius: 16px;
			cursor: pointer;
		}

			.rental-list .rate .detail-button::after {
				content: "Price Details";
			}

			.rental-list .rate .detail-button.loading {
				cursor: wait;
				background: rgba(0,0,0,0.05) !important;
			}

				.rental-list .rate .detail-button.loading::before {
					display: inline-block;
					font-family: var(--font-icon);
					content: "\f3f4";
					margin-right: 4px;
					animation: spin 1s infinite linear;
				}

				.rental-list .rate .detail-button.loading::after {
					content: "Retrieving";
				}

	.rental-list .charge-modal {
		background: var(--background-color);
		border: 1px solid var(--border-color);
		box-shadow: var(--shadow-far);
		position: absolute;
		top: 50%;
		left: 10px;
		z-index: 99;
		border-radius: var(--card-radius);
		padding: 20px;
		visibility: hidden;
		opacity: 0;
		transition: all ease-in-out .2s;
		width: calc(100% - 20px);
		transform: translateY(-50%);
	}

		.rental-list .charge-modal.active {
			visibility: visible;
			opacity: 1;
		}

		.rental-list .charge-modal .close {
			width: 40px;
			height: 40px;
			top: -15px;
			right: -15px;
		}

		.rental-list .charge-modal h3 {
			margin: 0 0 5px 0;
		}

		.rental-list .charge-modal h4 {
			margin: 0 0 15px 0;
		}

		.rental-list .charge-modal .hidden-charges {
			visibility: hidden;
			opacity: 0;
			max-height: 0;
			transition: ease-in-out all .4s;
		}

			.rental-list .charge-modal .hidden-charges.active {
				visibility: visible;
				opacity: 1;
				max-height: 500px;
			}

			.details__rating {
				width: 45%;
			}

	.rental-list .rating {
		font-size: .8rem;
		line-height: .8rem;
		font-weight: 600;
		color: var(--text-color);
		text-align: right;
		vertical-align: middle;
	}

		.rental-list .rating span {
			font-size: .75rem;
			font-weight: 400;
			color: var(--color-dark);
		}

		.rental-list .rating::before {
			color: var(--color-star);
			font: 600 .8rem/.8rem var(--font-icon);
			margin-right: 3px;
			content: "\f005";
		}

	.rental-list .interest {
		display: block;
		position: absolute;
		bottom: 20px;
		left: 20px;
		width: 65%;
		font-size: .9rem;
		line-height: 1.1rem;
		color: var(--color-info-reverse);
		background: var(--color-info);
		padding: 6px 8px;
		border-radius: 10px;
	}

	.rental-list .save {
		position: absolute;
		top: 0;
		right: 0;
		padding: 20px;
		color: var(--background-color);
		font-size: 1.2rem;
		line-height: 1.2rem;
		cursor: pointer;
		z-index: 2;
	}

		.rental-list .save::before {
			font-family: var(--font-icon);
			font-weight: 300;
			content: "\f004";
		}

		.rental-list .save.saving {
			animation: emphasize .3s ease-in-out;
		}

			.rental-list .save.saved::before,
			.rental-list .save.saving::before {
				font-weight: 700;
				color: var(--cta-color);
				text-shadow: 0 2px 10px rgba(0,0,0,.2);
			}

	.rental-list .quick-quote {
		padding: 20px 0;
		border-top: 1px solid var(--border-color);
		border-bottom: 1px solid var(--border-color);
	}

.rental-urgency {
	width: auto;
	padding: 10px 20px;
	position: absolute;
	top: -58px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	border-radius: 100vh;
	background-color: var(--color-lightest);
}

	.rental-urgency span {
		font-size: 1rem;
		line-height: 1rem;
		color: var(--color-3);
	}

		.rental-urgency span::before {
			font-family: var(--font-icon);
			margin-right: 5px;
			content: "\f253";
		}

.rental-sort {
	position: absolute;
	top: -45px;
	left: var(--header-gutter-width);
	text-align: left;
}

	.rental-sort .header,
	.rental-sort a {
		font-family: var(--font-sans-serif);
		font-size: .9rem;
		line-height: .9rem;
		color: var(--sub-text-color);
		cursor: pointer;
		position: relative;
	}

		.rental-sort .header::before {
			font-family: var(--font-icon);
			content: "\f078";
			position: absolute;
			top: 1px;
			transition: all .2s ease-in-out;
		}

	.rental-sort.active .header::before {
		transform: rotate(180deg);
		transition: all .2s ease-in-out;
		top: 0;
	}

	.rental-sort .header span {
		padding-left: 20px;
	}

	.rental-sort .header .desc,
	.rental-sort .header .asc {
		padding-left: 5px;
		text-decoration: none !important;
		color: var(--text-color);
		font-size: 1.0rem;
	}

		.rental-sort .header .desc::before {
			font-family: var(--font-icon);
			content: "\f160";
		}

		.rental-sort .header .asc::before {
			font-family: var(--font-icon);
			content: "\f885";
		}

	.rental-sort .sort-menu {
		position: absolute;
		width: 200px;
		top: 28px;
		left: -10px;
		background: var(--background-color);
		box-shadow: var(--shadow-far);
		z-index: 3;
		border-radius: 15px;
		opacity: 0;
		visibility: hidden;
		transition: all .2s ease-in-out;
	}

	.rental-sort.active .sort-menu {
		opacity: 1;
		visibility: visible;
	}

	.rental-sort .sort-menu a {
		padding: 10px;
		display: block;
		border-bottom: 1px solid var(--border-color);
		text-decoration: none;
		font-size: .9rem;
		line-height: .9rem;
		font-family: var(--font-sans-serif);
		color: var(--sub-text-color);
	}

		.rental-sort .sort-menu a:hover {
			background: rgba(0,0,0,0.05);
		}

.rental-view-type {
	position: absolute;
	top: -58px;
	right: var(--header-gutter-width);
	text-align: left;
}

	.rental-view-type .toggle::before {
		font-family: var(--font-icon);
		content: "";
	}

	.rental-view-type .toggle.map {
		border-top-left-radius: 10px;
		border-bottom-left-radius: 10px;
	}

		.rental-view-type .toggle.map::before {
			content: "\f279";
		}

	.rental-view-type .toggle.split {
		border-radius: 0;
	}

		.rental-view-type .toggle.split::before {
			content: "\f0db";
		}

	.rental-view-type .toggle.list {
		border-top-right-radius: 10px;
		border-bottom-right-radius: 10px;
	}

		.rental-view-type .toggle.list::before {
			content: "\f00b";
		}

.rental-share-type {
	position: absolute;
	top: -53px;
	right: 250px;
	text-align: left;
}

@media screen and (min-width: 1024px) and (max-width: 1466px) {
	.no-map .rental-list {
		grid-template-columns: 1fr;
	}

	.no-map .rental-list,
	.no-map .swiper-slide {
		height: auto;
	}

		.no-map .rental-list .photos,
		.no-map .rental-list .photos img {
			border-bottom-left-radius: 0;
			border-bottom-right-radius: 0;
			border-top-right-radius: var(--card-radius);
		}
} 

@media screen and (max-width: 1024px) {

	.rental-results,
	.rental-results.no-map {
		display: block !important;
		min-height: none !important;
	}

		.rental-results .results-list,
		.rental-results.no-map .results-list {
			padding-left: 0;
			padding-right: 0;
			display: block;
		}

		.rental-results .rental-map {
			display: none;
		}

		.rental-results.no-map .rental-map {
			display: none;
		}

	.rental-list {
		margin-bottom: 40px;
	}
}

@media screen and (max-width: 568px) {

	.rental-results {
		position: static;
		margin: 0 !important;
	}

		.rental-results .results-list {
			height: auto;
			display: block;
			margin: 0 !important;
			padding: 0 !important;
		}

	.rental-list {
		display: block;
	}

	.rental-list,
	.swiper-slide {
		height: auto;
	}

	.rental-sort {
		display: none;
	}

	.rental-list .photos,
	.rental-list .photos img {
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		border-top-right-radius: var(--card-radius);
	}

	.rental-list .details {
		padding: 20px;
	}

	.rental-list h3 {
		margin-bottom: 5px;
	}

	.rental-list h4 {
		margin: 5px 0 0 0;
	}

	.rental-list .overview h4 {
		float: none;
	}

	.rental-list .rate {
		position: static;
		text-align: right;
		margin-top: 10px;
	}

		.rental-list .rate .detail-button {
			display: inline-block;
		}

	.rental-list .charge-modal {
		left: 0;
		right: auto;
		z-index: 2;
		width: 100%;
		transform: translateY(-70%);
	}

	.rental-list .rating {
		bottom: auto;
		left: auto;
		right: 10px;
		top: 22px;
		text-align: left;
	}

		.rental-list .rating span {
			display: none;
		}

	.rental-list .save {
		position: absolute;
		top: -70px;
		left: auto;
		right: 0;
		font-size: 2rem;
		line-height: 2rem;
	}

	.rental-list .interest {
		position: static;
		margin-top: 10px;
	}

	.rental-list h4.level {
		position: static;
	}
}

@media only screen and (max-width : 812px) and (orientation : landscape) {

	.rental-results {
		grid-template-columns: 1fr;
		height: auto;
	}

	.rental-view-type {
		display: none;
	}

	.rental-map {
		display: none;
	}

	.rental-results .results-list {
		height: auto;
		overflow: visible;
	}

	.rental-list {
		grid-template-columns: 50% 50%;
	}
}

@media screen and (min-width: 769px) {
  .rental-list .photos {
    height: 100%;
    aspect-ratio: unset;
    min-height: 100%;
  }
  .rental-list .photos img {
    height: 100%;
    object-fit: cover;
  }
}
