.google-maps-popup{
	width: 180px;
}

.google-maps-popup img {
	width: 180px;
	height: 120px;
	object-fit: cover;
}

.google-maps-popup img,
.google-maps-popup h3,
.google-maps-popup p{
	text-align: left;
}

.google-maps-popup p{
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
}

/* Google Map Popup */
.map-modal,
.modal.map-modal {
	display: none;
	position: fixed;
	z-index: 999999999999999999999;
	left: 0;
	top: 0;
	bottom: auto;
	width: 100%;
	max-height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}
.map-modal-content {
	background-color: #fff;
	padding: 0px;
	margin: 0px;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	position: fixed;
	overflow: hidden;
}
.map-close {
	display: block;
	color: #000;
	float: right;
	font-size: 28px;
	font-weight: bold;
	position: absolute;
	z-index: 9999;
	top: 5px;
	right: 10px;
	font-size: 38px;
	background: #FFF;
	padding: 0px 3px;
	border-radius: 25% 25%;

}
.map-close:hover,
.map-close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
body.map-modal-open {
	overflow: hidden;
}

/* properties listing page */

.map-modal-content .map-area {
	height: 100vh;
}

.map-area .google-maps-popup h3 {
	padding: 0;
	font-size: 16px;
}
.map-area .google-maps-popup {
	text-align: left;
}

@media (max-width: 470px) {
	.map-area .google-maps-popup h3 {
		font-size: 14px;
	}

	.modal-body {
		padding: 0;
	}
}

@media (max-width: 270px) {
	.map-area .gm-style .gm-style-iw-c,
	.map-area .gm-style-iw-d {
		width: 100px !important;
		max-width: 100% !important;
		max-height: 250px !important;
		margin: auto;
	}
}

/* end of properties listing page */

/* Google Map Popup */

/* Fixed an issue with divi that was causing z-index issues*/
.et_pb_fullwidth_code.et_pb_module{
	z-index: auto !important;
}

.google-maps-marker-label{
	background-color: white;
	border: 1px solid #d2d2d2;
	padding: 5px 10px;
	border-radius: 5px;
}

/* Begin simple popup template */
.qobrix-google-maps-popup{
	display: flex;
	flex-direction: row;
}

.qobrix-google-maps-popup.image-right .qobrix-google-maps-image {
	order: 2;
}

.qobrix-google-maps-popup .qobrix-google-maps-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qobrix-google-maps-popup > div{
	width: 150px;
	max-height: 160px;
}

.qobrix-google-maps-popup .qobrix-google-maps-details {
	max-height: 160px;
	overflow: hidden;
	padding-left: 10px;
}

.qobrix-google-maps-popup .qobrix-google-maps-details h3 {
	line-height: 20px;
	margin: 0;
	padding: 0;
	text-align: left;
	font-size: 18px;
	min-height: 40px;
	max-height: 40px;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	overflow: hidden;
}

.qobrix-google-maps-popup-link,
.qobrix-google-maps-popup-link:hover,
.qobrix-google-maps-popup-link:focus {
	text-decoration: none;
	color: black;
}

.qobrix-google-maps-popup .qobrix-google-maps-details p {
	line-height: 20px;
	padding: 0;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	overflow: hidden;
	text-align: left;
	font-size: 13px;
}

/* End simple popup template */

button.gm-ui-hover-effect[aria-label="Close"] {
	top: -2px !important;
	right: -2px !important;
}

/* Begin template Advance */
.qobrix-google-maps-popup-advcance-group {
	display: flex;
	gap: 10px;
	overflow: hidden;
}

.qobrix-google-maps-popup-advcance-group .qobrix-google-maps-image {
	width: 160px;
	height: 140px;
}

.qobrix-google-maps-popup-advcance-group .qobrix-google-maps-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qobrix-google-maps-popup-advcance-group .qobrix-google-maps-description {
	line-height: 20px;
	font-size: 13px;
	width: 250px;
	max-height: 140px;
	text-align: left;
	display: -webkit-box;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
	overflow:hidden;
}

.gm-template-advance,
.gm-template-advance .gm-style-iw-d {
	max-height: unset !important;
	overflow: unset !important;
}

.qobrix-google-maps-popup-advance {
	max-width: 420px;
	height: 245px;
	margin-right: 10px;
}
.qobrix-google-maps-popup-advance .qobrix-google-maps-name {
	font-size: 16px;
	line-height: 16px;
	font-weight: 500;
	margin:2px 0;
	text-align: left;
}

.qobrix-google-maps-popup-advance .qobrix-google-maps-details {
	display: flex;
	text-align: left;
	margin: 2px 0;
}

.qobrix-google-maps-popup-advance .qobrix-google-maps-details > div {
	flex: 1;
	font-size: 13px;
}

.qobrix-google-maps-popup-advance .qobrix-google-maps-details > div label {
	font-weight: 400;
}

.qobrix-google-maps-popup-advance .qobrix-google-maps-features {
	text-align: left;
}

.qobrix-google-maps-popup-advance .qobrix-google-maps-ref label {
	font-weight: 700;
}

.qobrix-google-maps-popup-advance .qobrix-google-maps-features .feature-item,
.qobrix-google-maps-popup-advance .qobrix-google-maps-ref {
	font-size: 12px;
}

.qobrix-google-maps-popup-advance .qobrix-google-maps-ref {
	text-align: left;
}

/* End template Advance */


.qobrix-google-maps-html-marker-container,
.qobrix-leaflet-html-marker-container {
	position: absolute;
	bottom: 10px;
	background-color: white;
	font-size: 13px;
	padding: 5px 10px;
	border-radius: 5px;
	white-space: nowrap;
	left: 50%;
	transform: translate(-50%, 0);
	filter: drop-shadow(0px 2px 2px rgba(50, 50, 0, 0.5));
}

.qobrix-google-maps-html-marker-container:after,
.qobrix-leaflet-html-marker-container:after {
	content: '';
	position: absolute;
	top: 99%;
	left: calc(50% - 5px);
	background: #ffffff;
	width: 10px;
	height: 10px;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}

@media screen and (max-width: 768px){
	.map-modal-content {
		width: 100vw;
	}

	.qobrix-google-maps-popup-advance .qobrix-google-maps-popup-advcance-group {
		display: block;
	}

	.qobrix-google-maps-popup-advcance-group .qobrix-google-maps-image {
		width: 100%;
	}

	.qobrix-google-maps-popup-advcance-group .qobrix-google-maps-description {
		width: 100%;
	}
}

.google-maps-marker-label.google-maps-marker-label--counter {
	padding: 3px;
	border-radius: 50%;
}

/* Infowindow carousel Begin */
.google-map-carousel__infowindow-slider .slick-prev:before,
.google-map-carousel__infowindow-slider .slick-next:before {
	color: black;
}

.google-map-carousel .google-map-carousel__infowindow-slider .slick-next{
	right: 0px;
}

.google-map-carousel .google-map-carousel__infowindow-slider .slick-prev{
	left: -20px;
}

.google-map-carousel {
	margin-left: 10px;
	margin-right: 10px;
}

.google-map-carousel {
	padding-top: 20px;
	padding-left: 20px;
	padding-right: 20px;
}

.google-map-carousel.google-map-template-advance {
	width: 440px;
}

.google-map-carousel.google-map-template-default {
	width: 220px;
}

.google-map-carousel.google-map-template-default .google-maps-popup img {
	width: 100%;
	margin-bottom: 10px;
}

.google-map-carousel.google-map-template-image-left,
.google-map-carousel.google-map-template-image-right {
	width: 320px;
}

.google-map-carousel__infowindow-slider__pagination-info {
	text-align: left;
}

.google-map-carousel__slick-prev,
.google-map-carousel__slick-next
{
	font-size: 0;
	line-height: 0;
	position: absolute;
	top: 50%;
	display: block;
	width: 20px;
	height: 20px;
	padding: 0;
	-webkit-transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);
	cursor: pointer;
	color: transparent;
	border: none;
	outline: none;
	background: transparent;
}
.google-map-carousel__slick-prev:hover,
.google-map-carousel__slick-prev:focus,
.google-map-carousel__slick-next:hover,
.google-map-carousel__slick-next:focus
{
	color: transparent;
	outline: none;
	background: transparent;
}
.google-map-carousel__slick-prev:hover:before,
.google-map-carousel__slick-prev:focus:before,
.google-map-carousel__slick-next:hover:before,
.google-map-carousel__slick-next:focus:before
{
	opacity: 1;
}
.google-map-carousel__slick-prev.slick-disabled:before,
.google-map-carousel__slick-next.slick-disabled:before
{
	opacity: .25;
}

.google-map-carousel__slick-prev:before,
.google-map-carousel__slick-next:before
{
	font-family: 'slick';
	font-size: 20px;
	line-height: 1;

	opacity: .75;
	color: black;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.google-map-carousel__slick-prev
{
	left: 10px;
}
[dir='rtl'] .google-map-carousel__slick-prev
{
	right: 10px;
	left: auto;
}
.google-map-carousel__slick-prev:before
{
	content: '←';
}
[dir='rtl'] .google-map-carousel__slick-prev:before
{
	content: '→';
}

.google-map-carousel__slick-next
{
	right: 10px;
}
[dir='rtl'] .google-map-carousel__slick-next
{
	right: auto;
	left: 15px;
}
.google-map-carousel__slick-next:before
{
	content: '→';
}
[dir='rtl'] .google-map-carousel__slick-next:before
{
	content: '←';
}
/* Infowindow carousel End */

.map-pin-loading {
	display: flex;
	align-items: center;
	justify-content: space-around;
	height: 30px !important;
	width: 30px !important;
	padding: 10px;
	font-size: 20px;
	border-radius: 50%;
}

.gm-style-iw:not(.info-loaded) button {
	display: none !important;
}

.c-project-google-maps .gm-style-iw:not(.info-loaded) {
	padding: 0;
}

.c-project-google-maps .gm-style-iw:not(.info-loaded) .gm-style-iw-d {
	overflow: auto !important;
}
.google-maps-popup-view-more{
	display: block !important;
	padding: 110px 0 110px 50px;
	font-size: 20px;
	font-weight: 700;
	color: black;
}
.gm-fullscreen-control {
	margin: 40px !important;
}
