/* properties map */
:root {
	--marker-color: #003cff;
	--marker-border-color: white;
	--popup-background: white;
	--popup-hr-color: #ddd;
	--marker-color: #7cb342;
	--marker-available-soon-color: #ff1716;
	--marker-under-renovation-color: #ff914d;
	--marker-sold-color: #0093d0;
}

.ct-homes-map-container {
	position: relative;
	margin-bottom: 30px;
	background-color: white;
	border: 1px solid #d8d8d8;
	/* -webkit-box-shadow: 0px 2px 8px 1px rgba(168, 168, 168, 1);
	-moz-box-shadow: 0px 2px 8px 1px rgba(168, 168, 168, 1);
	box-shadow: 0px 2px 8px 1px rgba(168, 168, 168, 1); */
}

.property-detail-section .ct-homes-map-container {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.ct-homes-map-container .btn {
	margin-left: 20px;
	margin-bottom: 20px;
}

.ct-homes-map-container .btn i {
	margin-right: 10px;
}

.ct-homes-map-container .map-loader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: white;
}

.ct-homes-map-container .map-loader i {
	position: absolute;
	font-size: 40px;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}

.similar-properties-container .similar-property {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
}

.similar-properties-container .similar-property .property-address {
	flex: 1;
}

.similar-properties-container .similar-property .actions {
	padding-left: 10px;
}

.similar-properties-container .similar-property .btn {
	margin-right: 10px;
}

.similar-properties-container .similar-property .btn:last-child {
	margin-right: 0;
}

#map {
	height: 0;
	padding-bottom: 35%;
	position: relative;
}

#map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.cthomes-house-marker .cthomes-house-circle {
	position: relative;
	display: block;
	width: 26px;
	height: 26px;
	background-color: var(--marker-color);
	border: 1px solid var(--marker-border-color);
	border-radius: 50%;
	transition: all .3s ease-in-out;
}

.cthomes-house-marker .cthomes-house-circle i {
	color: #ffffff;
	position: absolute;
	top: 6px;
	left: 5.5px;
	font-size: 12px;
}

.cthomes-house-marker .cthomes-house-circle.available-soon {
	background-color: var(--marker-available-soon-color);
}

.cthomes-house-marker .cthomes-house-circle.under-renovation {
	background-color: var(--marker-under-renovation-color);
}

.cthomes-house-marker .cthomes-house-circle.sold {
	background-color: var(--marker-sold-color);
}

.cthomes-house-marker .cthomes-house-circle:hover {
	box-shadow: 3px 3px 20px var(--marker-color);
	cursor: pointer;
	z-index: 200;
}

.cthomes-house-marker .cthomes-house-circle.available-soon:hover {
	box-shadow: 3px 3px 20px var(--marker-available-soon-color);
	cursor: pointer;
	z-index: 200;
}

.cthomes-house-marker .cthomes-house-circle.under-renovation:hover {
	box-shadow: 3px 3px 20px var(--marker-under-renovation-color);
	cursor: pointer;
	z-index: 200;
}

.cthomes-house-marker .cthomes-house-circle.sold:hover {
	box-shadow: 3px 3px 20px var(--marker-sold-color);
	cursor: pointer;
	z-index: 200;
}

.cthomes-house-marker.active .cthomes-house-circle {
	box-shadow: 3px 3px 20px var(--marker-color);
	z-index: 199;
}

.cthomes-house-marker.active .cthomes-house-circle.available-soon {
	box-shadow: 3px 3px 20px var(--marker-available-soon-color);
	cursor: pointer;
	z-index: 200;
}

.cthomes-house-marker.active .cthomes-house-circle.under-renovation {
	box-shadow: 3px 3px 20px var(--marker-under-renovation-color);
	cursor: pointer;
	z-index: 200;
}

.cthomes-house-marker.active .cthomes-house-circle.sold {
	box-shadow: 3px 3px 20px var(--marker-sold-color);
	cursor: pointer;
	z-index: 200;
}

.cthomes-house-popup {
	max-width: 350px;
	width: 100%;
	border-radius: 10px;
	overflow: hidden;
	opacity: 0;
	filter: alpha(opacity=0);
	box-shadow: 0 15px 35px 0 rgba(60, 66, 87, .08), 0 5px 15px 0 rgba(0, 0, 0, .12);
	transform: translateX(calc(-50% + 15px)) translateY(calc(-80% - 20px));
	visibility: hidden;
	background-color: var(--popup-background);
}

.cthomes-house-popup.active {
	transform: translateX(calc(-50% + 15px)) translateY(calc(-100% - 20px));
	visibility: visible;
	opacity: 1;
	filter: alpha(opacity=100);
}

.cthomes-house-popup .cthomes-popup-image {
	height: 0;
	padding-bottom: 56.25%;
	background-size: cover;
	background-position: center;
}

.cthomes-house-popup .cthomes-popup-image .btn-popup-close {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	font-size: 20px;
	padding: 8px;
	background-color: white;
	border-bottom-left-radius: 10px;
}

.cthomes-house-popup .cthomes-property-name {
	padding: 20px;
	padding-bottom: 0;
	font-size: 20px;
	font-weight: bold;
}

.cthomes-house-popup .cthomes-property-details {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
}

.cthomes-house-popup .cthomes-property-details > div {
	padding: 20px;
}

.cthomes-house-popup .cthomes-property-details > div > i {
	margin-right: 10px;
}

.cthomes-house-popup hr {
	margin: 0 20px 20px 20px;
	background-color: var(--popup-hr-color);
}

.cthomes-house-popup .cthomes-popup-actions {
	padding: 20px;
	padding-top: 0;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.cthomes-house-popup .cthomes-popup-actions .btn {
	margin: 0;
}

.cthomes-house-popup .cthomes-popup-actions i {
	margin-right: 10px;
}

.map-legend {
	display: flex;
	margin-top: 10px;
	margin-bottom: 10px;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}

.map-legend .ct-legend {
	display: flex;
	padding: 15px;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	color: #333;
	text-decoration: none;
	text-transform: capitalize;
}

.map-legend .ct-legend .ct-legend-circle {
	display: block;
	margin-right: 10px;
	width: 30px;
	height: 30px;
	background-color: var(--marker-color);
	border: 2px solid var(--marker-border-color);
	border-radius: 50%;
	transition: all .3s ease-in-out;
}

.map-legend .ct-legend .ct-legend-circle.available-soon {
	background-color: var(--marker-available-soon-color);
}

.map-legend .ct-legend .ct-legend-circle.under-renovation {
	background-color: var(--marker-under-renovation-color);
}

.map-legend .ct-legend .ct-legend-circle.sold {
	background-color: var(--marker-sold-color);
}

.map-legend .ct-legend:hover .ct-legend-circle {
	box-shadow: 3px 3px 20px var(--marker-color);
	cursor: pointer;
	z-index: 200;
}

.map-legend .ct-legend:hover .ct-legend-circle.available-soon {
	box-shadow: 3px 3px 20px var(--marker-available-soon-color);
	cursor: pointer;
	z-index: 200;
}

.map-legend .ct-legend:hover .ct-legend-circle.under-renovation {
	box-shadow: 3px 3px 20px var(--marker-under-renovation-color);
	cursor: pointer;
	z-index: 200;
}

.map-legend .ct-legend:hover .ct-legend-circle.sold {
	box-shadow: 3px 3px 20px var(--marker-sold-color);
	cursor: pointer;
	z-index: 200;
}

.map-legend .ct-legend.disabled {
	filter: grayscale(100%);
}

.ct-map-modal-container {
	display: none;
}

.ct-map-modal-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .6);
	z-index: 1999;
}

.ct-map-modal-dialog {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	position: fixed;
	top: 5%;
	left: 5%;
	width: 90%;
	height: 90%;
	background-color: white;
	border-radius: 10px;
	overflow: hidden;
	z-index: 2000;
	box-shadow: 0 15px 35px 0 rgba(60, 66, 87, .08), 0 5px 15px 0 rgba(0, 0, 0, .12);
}

.ct-map-modal-dialog .map-container {
	position: relative;
	flex: 1;
	height: 100%;
}

.ct-map-modal-dialog .map-container #map-full {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.ct-map-modal-dialog .map-container #map-legend-full {
	margin: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 0;
	background-color: white;
	border-top-right-radius: 10px;
	overflow: hidden;
	z-index: 200;
}

.ct-map-modal-dialog .map-sidebar-container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	max-width: 300px;
	width: 100%;
	padding: 20px;
	text-align: center;
}

.ct-map-modal-dialog .map-sidebar-container .btn {
	margin-left: auto;
	margin-right: 0;
}

.ct-map-modal-dialog .map-sidebar-container .btn i {
	margin-right: 10px;
}

.ct-form-modal-dialog {
	display: none;
	position: fixed;
	margin: 0 auto;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	top: 3vh;
	bottom: 3vh;
	left: 50%;
	width: 300px;
	height: auto;
	background-color: white;
	border-radius: 10px;
	overflow: hidden;
	transform: translateX(-50%);
	overflow-y: auto;
	z-index: 2000;
	box-shadow: 0 15px 35px 0 rgba(60, 66, 87, .08), 0 5px 15px 0 rgba(0, 0, 0, .12);
}

.ct-form-modal-dialog .form-sidebar-container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	max-width: 300px;
	width: 100%;
	padding: 20px;
	text-align: center;
}

.ct-form-modal-dialog .form-sidebar-container .btn {
	margin-left: auto;
	margin-right: 0;
}

.ct-form-modal-dialog .form-sidebar-container .btn i {
	margin-right: 10px;
}

/* property card */
.gdlr-core-portfolio-grid3 .gdlr-core-portfolio-content-wrap {
	padding-bottom: 100px;
}

.property-card-text {
	font-size: 18px !important;
	margin-top: 10px !important;
	margin-bottom: 0 !important;
	font-weight: normal;
}

.property-card-unit-details {
	position: absolute;
	left: 20px;
	bottom: 45px;
	width: calc(100% - 40px);
	margin: 0 5px;
}

.property-card-unit-details table {
	table-layout: fixed;
	width: 100%;
}

.property-card-unit-details table tr {
	background-color: #ffffff !important;
}

.property-card-unit-details table td {
	vertical-align: middle;
	padding: 0 !important;
	background-color: #ffffff !important;
	color: #424242;
	font-size: 15px;
	text-align: start;
}

.property-card-unit-details table td i {
	margin-right: 5px;
}

.property-card-status {
	position: absolute;
	left: 20px;
	bottom: 20px;
	width: calc(100% - 40px);
}

.property-card-status .property-state {
	display: inline-block;
	line-height: 1.5;
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 2px 10px;
	font-size: 1rem;
	background: #eeeeee;
}

.property-card-status .property-state.sold {
	background: #e73f39;
	color: #fff;
}

.property-card-status .property-state.under-renovation {
	background: #e0963c;
	color: #fff;
}

.property-card-status .property-state.active {
	background: #7ac943;
	color: #fff;
}

.gdlr-core-portfolio-grid3 .gdlr-portfolio-learn-more {
	position: absolute;
	left: 20px;
	bottom: 20px;
}

.gdlr-core-pbf-section:first-child {
	padding-top: 20px;
}

.gdlr-core-pbf-section:first-child .gdlr-core-pbf-section-container .gdlr-core-pbf-element .gdlr-core-item-pdb {
	padding-bottom: 0px;
}

.gdlr-core-pbf-section:first-child .gdlr-core-pbf-section-container .gdlr-core-pbf-element .gdlr-core-item-pdb h3 {
	margin-bottom: 0px;
}
