﻿.rental-results__control {
	display: flex;
	justify-content: space-between;
	padding: 1rem;
}

.rental-sort {
	--block-padding: 1rem;
	position: relative;
	/*padding: var(--block-padding) 0 var(--block-padding) 5%;*/
}

.rental-results__header {
	position: relative;
	/*display: flex;*/
	align-items: center;
}

	.rental-results__header,
	.rental-sort a {
		font-size: 0.9rem;
		line-height: 0.9rem;
		color: var(--light-text-color);
		cursor: pointer;
	}

		.rental-results__header::before {
			font-family: var(--icon-font-family);
			content: "\f078";
			padding: 0.5rem;
			transition: all 0.2s ease-in-out;
			padding-left: 20px;
		}

.rental-sort.active .rental-results__header::before {
	transform: rotate(180deg);
	transition: all 0.2s ease-in-out;
	top: 0;
}

/*	.rental-sort .rental-results__header span {
		padding-left: 20px;
	}
*/
.rental-sort .desc,
.rental-sort .asc {
	padding-left: 5px;
	text-decoration: none !important;
	color: #00788b;
	font-size: 1.0rem;
}

	.rental-sort .desc::after {
		font-family: var(--icon-font-family);
		content: "\f160";
	}

	.rental-sort .asc::after {
		font-family: var(--icon-font-family);
		content: "\f885";
	}

.rental-sort span, .rental-sort a {
	font-size: .9rem;
	line-height: .9rem;
	color: var(--sub-text-color);
	cursor: pointer;
}

	.rental-sort .sort-menu {
		position: absolute;
		width: 200px;
		top: 40px;
		background: var(--site-background);
		box-shadow: var(--shadow-far);
		z-index: 3;
		border-radius: 15px;
		visibility: hidden;
		opacity: 0;
		max-height: 1px;
		transition: all 0.2s ease-in-out;
	}

	.rental-sort.active .sort-menu {
		opacity: 1;
		visibility: visible;
		max-height: 200px;
	}

	.rental-sort .sort-menu a {
		padding: 10px;
		display: block;
		border-bottom: 1px solid var(--border-color);
		text-decoration: none;
		font-size: 0.9rem;
		line-height: 0.9rem;
		color: var(--light-text-color);
	}

		.rental-sort .sort-menu a:hover {
			background: rgba(0, 0, 0, 0.05);
		}

		.rental-sort .sort-menu a:last-child {
			border: none;
		}

.rental-view-type {
	/*position: absolute;*/
	/*top: -55px;*/
	/*right: var(--gutter-width);*/
	/*text-align: left;*/
}

	.rental-view-type .toggle::before {
		font-family: var(--icon-font-family);
		content: "";
		color: var(--text-color);
	}

	.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-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;
}

.rental-results .real-estate {
	min-height: none;
}

.rental-results .results-list {
	width: 100%;
	min-height: 100vh;
	z-index: 1;
	grid-column-start: 1;
	grid-column-end: 2;
	padding-left: 5%;
	padding-right: 5%;
	margin-bottom: 2rem;
}

.real-estate-list {
	min-height: auto !important;
}

.rental-results.no-map {
	padding: 3.5%;
	height: auto;
	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;
	overflow: visible;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 40px;
	min-height: initial;
}*/

.rental-results .rental-map {
	position: absolute !important;
	z-index: 2;
	width: 100%;
	grid-column-start: 2;
	grid-column-end: 3;
}

.rental-map-sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 100px;
	height: 100vh;
	overflow: hidden;
}

.rental-results .rental-map.sticky {
	/*top: calc(var(--logo-height) + 40px);*/
}

.rental-results .rental-map.end {
	width: 100% !important;
	height: calc(100% - (var(--logo-height) + 40px)) !important;
	position: absolute !important;
}

.rental-results.no-map .rental-map,
.rental-results.no-map .rental-map-sticky {
	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%;
	z-index: 10;
}

.rental-results.no-list .rental-map.sticky {
	top: auto !important;
}

.rental-results.no-list .rental-map.end {
	height: 100% !important;
}

.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-urgency {
	width: 100%;
	padding: 10px 25px;
	/*background: var(--info-color-light);*/
	grid-column-start: 1;
	grid-column-end: 3;
}

.rental-urgency span {
	font-size: 0.8rem;
	line-height: 0.8rem;
	color: var(--warning-color);
}

.rental-urgency span::before {
	font-family: var(--icon-font-family);
	margin-right: 5px;
	content: "\f253";
}

.rental-list-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 40px;
	padding-left: 0;
}

.no-map .rental-list-container {
	grid-template-columns: repeat(4,1fr)
}

.featured-vacation-rentals-wrapper .rental-list-container {
	grid-template-columns: repeat(2, 1fr);
}

.rental-list {
	z-index: 1;
	position: relative;
	height: 100%;
	border-radius: 25px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
	margin-bottom: 40px;
}

.rental-list.highlighted,
.rental-list:hover {
	z-index: 2;
	transition: all 0.2s;
	background: var(--base-background-light);
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.rental-list.dimmed {
}

.rental-list .photo {
	width: 100%;
	height: auto;
	aspect-ratio: 4/3;
}

.rental-list .photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.rental-list .photo,
.rental-list .photo img,
.rental-list .photos {
	border-top-left-radius: 25px;
	border-top-right-radius: 25px;
}

.rental-list .photos {
	width: 100%;
	aspect-ratio: 4/3;
	position: relative;
	overflow: hidden;
}

.rental-list .photos img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rental-list .slider .arrow {
	padding: 10px;
	font-size: 0.9rem;
	line-height: 0.9rem;
	color: rgba(0, 0, 0, 0.6);
	background: rgba(255, 255, 255, 0.8);
	transition: all 0.2s;
	border-radius: 50%;
	width: 35px;
	height: 35px;
	opacity: 0;
}

.rental-list .slider .arrow.left {
	left: 10px;
}

.rental-list .slider .arrow.right {
	right: 10px;
}

.rental-list .photos .slider:hover .arrow {
	opacity: 1;
}

.rental-list .details {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 20px;
}

.rental-list h3 {
	margin-bottom: 5px;
	font-size: 1.1rem;
	line-height: 1.1rem;
	font-weight: 600;
}

.rental-list h3 a {
	color: var(--accent-color);
}

.rental-list h4,
.rental-list h5 {
	display: inline-block;
	vertical-align: middle;
	margin: 10px 0 0 0;
	font: 400 0.8rem/0.8rem var(--font-family);
	color: var(--text-color);
	cursor: pointer;
}

.rental-list .overview {
	/*clear: both;*/
}

.rental-list .overview h4 {
	/*float: left;*/
}

.rental-list .overview h4 i {
	opacity: 0.4;
	margin-left: 2px;
}

/*			.rental-list .overview h4::after {
				content: "·";
				margin: 0 5px;
			}*/

.rental-list .overview h4:last-child::after {
	display: none;
}

.rental-list .overview.feature-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: .5rem;
	flex-wrap: wrap;
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
}

.real-estate-pricing span {
	font-size: 1.2rem;
	font-family: var(--styled-font-family);
	font-weight: 700;
	color: hsl(0, 0%, 40%);
}

.rental-list .bedrooms,
.rental-list .bathrooms,
.rental-list .guests {
	font-size: 1rem;
}

.rental-list .overview *::before {
	font-family: var(--icon-font-family);
	color: var(--text-color);
	margin: 0 5px;
}

.rental-list .overview .bedrooms::before {
	content: "\f236";
}

.rental-list .overview .bathrooms::before {
	content: "\f2cd";
}

.rental-list .overview .guests::before {
	content: "\f0c0";
}

.rental-list .overview .dogs::before {
	content: "\f1b0";
}

.rental-list .rate {
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	flex-direction: row-reverse;
}

.rental-list .rate h4 {
	font-size: 0.8rem;
	line-height: 0.8rem;
	display: block;
}

.rental-list .rate h4 span {
	font-size: 1rem;
	font-weight: 600;
	margin-right: 5px;
}

.rental-list .rate .detail-button {
	display: block;
	font-size: 1rem;
	line-height: 1.2rem;
	color: var(--cta-color);
	text-align: center;
	padding: 5px 8px;
	border: 1px solid var(--cta-color);
	border-radius: 8px;
	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(--icon-font-family);
	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(--site-background);
	border: 1px solid var(--border-color);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	margin: auto;
	z-index: 2;
	border-radius: 25px;
	padding: 15px 20px;
	visibility: hidden;
	opacity: 0;
	transition: all ease-in-out 0.2s;
	width: calc(100% - 20px);
}

.rental-list .charge-modal.active {
	visibility: visible;
	opacity: 1;
}

.rental-list .charge-modal .close {
	font-size: 1.2rem;
	line-height: 1.2rem;
	text-align: center;
	color: var(--accent-text-color);
	background: var(--accent-color);
	width: 40px;
	height: 40px;
	display: flex;
	position: absolute;
	top: -15px;
	right: -15px;
	z-index: 2;
	justify-content: space-around !important;
	align-content: space-around !important;
	font: 400 18px/18px var(--icon-font-family);
	text-decoration: none;
	cursor: pointer;
	border-radius: 50%;
}

.rental-list .charge-modal .close::before {
	content: "\f00d";
	display: flex;
	justify-content: center;
	align-items: center;
}

.rental-list .charges td {
	padding: 8px 0;
	font-size: 0.75rem;
	line-height: 0.75rem;
}

.rental-list .rating {
	/*position: absolute;*/
	top: 20px;
	right: 0;
	font-size: 0.8rem;
	line-height: 0.8rem;
	font-weight: 600;
	color: var(--text-color);
	text-align: right;
	vertical-align: middle;
}

.rental-list .rating span {
	font-size: 0.65rem;
	font-weight: 400;
	color: var(--light-text-color);
}

.rental-list .rating::before {
	color: var(--cta-color);
	font: 600 0.8rem/0.8rem var(--icon-font-family);
	margin-right: 3px;
	content: "\f005";
}

.rental-list .interest {
	display: inline-block;
	position: absolute;
	bottom: 10px;
	left: 20px;
	font-size: 0.7rem;
	line-height: 0.7rem;
	color: var(--text-color);
	background: var(--info-color-light);
	padding: 6px 8px;
	border-radius: 10px;
}

.rental-list .share {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	color: white;
	font-size: 1.2rem;
	line-height: 1.2rem;
	cursor: pointer;
	z-index: 1;
}

	.rental-list .share::before {
		font-family: var(--icon-font-family);
		font-weight: 300;
		content: "\f14d";
	}

.rental-list .save {
	position: absolute;
	top: 0;
	right: 0;
	padding: 20px;
	color: white;
	font-size: 1.2rem;
	line-height: 1.2rem;
	cursor: pointer;
	z-index: 1;
}

.rental-list .save::before {
	font-family: var(--icon-font-family);
	font-weight: 300;
	content: "\f004";
}	

.rental-list .save.saving {
	animation: emphasize 0.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, 0.2);
}

.rental-list .quick-quote {
	padding: 20px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.map-icon {
	display: flex;
	justify-content: center;
	border-radius: 50%;
	padding: 0.5rem;
	box-shadow: var(--shadow-far);
	background-color: var(--base-background-light);
}

.map-icon__rental {
	filter: invert(46%) sepia(0%) saturate(0%) hue-rotate(174deg) brightness(93%) contrast(86%);
}

.map-icon__rental--highlighted {
	filter: invert(63%) sepia(5%) saturate(4894%) hue-rotate(325deg) brightness(111%) contrast(93%);
}

.z-level-highest {
	z-index: 1000;
}

@media only screen and (max-width: 1440px) {
	.no-map .rental-list-container {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media only screen and (max-width : 667px) {

	.rental-list .overview {
		padding: 10px 0;
	}

	.rental-list h3 {
		font-size: 1rem;
		line-height: 1rem;
	}

	.rental-list h4 {
		font-size: .85rem;
		line-height: .85rem;
	}

}

@media screen and (max-width: 1220px) {
	.rental-list-container,
	.no-map .rental-list-container {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 768px) {
	.rental-results {
		display: block;
		height: auto;
	}

	.rental-results .rental-map {
		display: none;
	}

	.rental-list-container {
		grid-template-columns: 1fr;
	}

	.map-options {
		display: none;
	}
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
}

@media screen and (max-width: 568px) {
	.rental-results {
		position: static;
	}

	.rental-list .photos {
		border-top-left-radius: 25px;
		border-top-right-radius: 25px;
		border-bottom-left-radius: 0;
	}

	.rental-results .results-list {
		height: auto;
	}

	.rental-results.no-map .results-list {
		grid-template-columns: 1fr;
	}

	.rental-sort {
		display: none;
	}

	.rental-sort .sort-menu {
		top: 38px;
		left: 10px;
	}

	.rental-list {
		display: block;
	}

	.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: left;
		margin-top: 10px;
	}

	.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;
		left: auto;
		right: 0;
		font-size: 2rem;
		line-height: 2rem;
	}

	.rental-list .interest {
		position: static;
		margin-top: 10px;
	}
	.rental-view-type {
		display: none;
	}
}

@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%;
	}
}
