#map { position: absolute; top: 0; bottom: 0; width: 100%; }

//geo
.geocoder {
  position: absolute;
  z-index: 1;
  width: 50%;
  left: 50%;
  margin-left: -25%;
  top: 10px;
}

.mapboxgl-ctrl-geocoder {
min-width: 100%;
}

#zMapOuter {
	position: relative;
	width: 100%;
	height: calc(95vh - 70px);
	max-height: 700px;
	color: var(--color-midnight);
}
#zMap {
	width: 100%;
	height: 100%;
	background: var(--color-midnight);
	overflow: hidden;
}
.mapboxgl-marker {
	cursor: pointer;
}
/*
.mapboxgl-marker {
  background-image: url('https://21555945.fs1.hubspotusercontent-na1.net/hubfs/21555945/icons/favicon_darkblue_whiteplus.png');
  background-size: cover;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.mapboxgl-marker svg {
  display: none;
}
*/
.mapboxgl-markerLabelOut {
	width: 200px;
	text-align: center;
	position: absolute;
	bottom: 115%;
	left: -86px;
	pointer-events: none;
	transform-origin: center bottom;
	transform: scale(1);
	transition: transform 0.2s ease-out;
}
.hideLabel .mapboxgl-markerLabelOut {
	transform: scale(0);
}
.mapboxgl-markerLabelIn {
	display: inline-block;
	padding: 5px 20px;
	background: #fff;
	border-radius: 10px;
	margin: 0;
	font-size: 16px;
	white-space: nowrap;
}
.coming-soon .mapboxgl-markerLabelIn {
	background: #006AFF;
}
.mapboxgl-popup {
	min-width: 280px;
}
.mapboxgl-popup .photoButton {
	width: 100%;
	padding: 10px;
  background-color: #006aff;
}
#zMap .mapboxgl-popup-close-button {
	background-color: #001751;
	color: #fff;
	border-radius: 40px;
	line-height: 20px;
	padding: 0px 6px 5px;
	margin: -10px;
	white-space: nowrap;
}

.my-image-button {
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCIgZmlsbD0iIzAwMDAwMCI+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTEyIDUuNjlsNSA0LjVWMThoLTJ2LTZIOXY2SDd2LTcuODFsNS00LjVNMTIgM0wyIDEyaDN2OGg2di02aDJ2Nmg2di04aDNMMTIgM3oiLz48L3N2Zz4=");
}

/************************ CUSTOM CONTROL: ZOOM RESET  ************************/

.my-custom-control {
  color: #fff;
  padding-top: 30px;
  margin: 8px;
}

#icon {
  position: absolute;
  top: 15px;
  left: 15px;
  color: black;
}

/************************* NAV LIST *************************/

/************************ SEARCH BOX ************************/

.mapboxgl-ctrl-top-left .mapboxgl-ctrl {
  width: 275px;
   z-index: 100 !important;
}

.mapboxgl-ctrl-top-left {
  z-index: 100 !important;
}

/************************* NAV LIST *************************/
#zMapNav {
	position: absolute;
/*
 	top: 34px;
	left: 34px;
*/
  top: 50px;
  left: 10px;
  bottom: 34px;
	width: 290px;
	padding: 20px;
	background: #fff;
	border-radius: 20px; 
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
  overflow-y: scroll;
  /* hide 
  display: none;
  */
}
.zMapHead {
	margin-bottom: 5px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--color-neutral-black-200);
}
.zMapHead.comingSoon {
	margin-top: 20px;
}
.zMapLocation {
	margin: 0;
	cursor: pointer;
	padding: 7px;
	border-radius: 10px;
	opacity: 0.5;
}
/*
.zMapLocation .pin {
	width: 20px;
	height: 20px;
	display: inline-block;
	vertical-align: sub;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' %3E%3Cpath d='M14.9 3.3c-1.3-1.3-3-2-4.9-2c-1.8 0-3.6 0.7-4.9 2s-2 3-2 4.9c0 5.9 6.2 10.3 6.5 10.5c0.1 0.1 0.2 0.1 0.4 0.1c0.1 0 0.3 0 0.4-0.1c0.3-0.2 6.5-4.6 6.5-10.5C16.9 6.3 16.1 4.6 14.9 3.3z M10 10.6c-1.4 0-2.5-1.1-2.5-2.5S8.6 5.6 10 5.6s2.5 1.1 2.5 2.5S11.4 10.6 10 10.6z'/%3E%3C/svg%3E");
	margin-right: 10px;
}
.zMapLocation.active {
	opacity: 1;
	background: #eee;
	font-weight: 700;
}
.zMapLocation.active .pin {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' %3E%3Cpath fill='%23ff6619' d='M14.9 3.3c-1.3-1.3-3-2-4.9-2c-1.8 0-3.6 0.7-4.9 2s-2 3-2 4.9c0 5.9 6.2 10.3 6.5 10.5c0.1 0.1 0.2 0.1 0.4 0.1c0.1 0 0.3 0 0.4-0.1c0.3-0.2 6.5-4.6 6.5-10.5C16.9 6.3 16.1 4.6 14.9 3.3z M10 10.6c-1.4 0-2.5-1.1-2.5-2.5S8.6 5.6 10 5.6s2.5 1.1 2.5 2.5S11.4 10.6 10 10.6z'/%3E%3C/svg%3E");
}
*/
#zMapNavOpen {
	background: #fff;
	border-radius: 20px;
	position: absolute;
	bottom: 30px;
	left: calc(50% - 70px);
	text-align: center;
	padding: 5px 20px;
	cursor: pointer;
	display: none;
	justify-content: center;
	align-items: center;
}
#zMapNavLabel {
	display: block;
	margin: 0;
	line-height: 21px;
}
#zMapNavPlus {
	display: block;
	margin: 0;
	margin-left: 10px;
	width: 25px;
	height: 25px;
	background: #006AFF;
	border-radius: 25px;
	color: #fff;
	line-height: 21px;
}
#zMapNavClose {
	box-sizing: border-box;
	position: absolute;
	bottom: 0px;
	left: calc(50% - 33px);
	width: 66px;
	height: 66px;
	background: #fff;
	border-radius: 40px;
	box-shadow: 0 17px 17px rgba(0, 0, 0, 0.4);
	padding: 15px;
	cursor: pointer;
	display: none;
}
#zMapNavClose path{
	fill: none;
	stroke: var(--color-midnight);
	stroke-width: 2px;
	stroke-linecap: round;
}


/* 2023-03-07 Add-ons --SS */
.mapboxgl-popup-content {
    padding: 0 !important;
    border-radius: 8px !important;
}

.mapboxModalLocationTitle {
    background: #006AFF;
    width: 100%;
    padding: 10px;
    border-radius: 5px 5px 0 0;
    color: #fff;
    margin-bottom: 0;
}

.essentialBlue {
    color: #006AFF;
    font-weight: 700;
}

.premiumOrange {
    color: #001751;
    font-weight: 700;  
}

table.table tbody tr td, table.table thead tr th {
    font-weight: 700;
    padding: 0.5rem 0.5rem;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #CFD2DD;
}

table.table tbody tr th:nth-of-type(2), table.table tbody tr th:nth-of-type(3),
table.table tbody tr td:nth-of-type(2), table.table tbody tr td:nth-of-type(3) {
 text-align: center; 
}


.mapboxgl-popup a.photoButton {
    width: 90%;
    margin: 10px auto 0;
    display: block;
    border-radius: 5px;
    padding: 10px;
}

.pickYourPlan {
    color: #001751;
    font-weight: 500;
    align-items: center;
    display: block;
    text-align: center;
    padding: 5px 0;
}

p.coming-soon {
  padding: 10px 10px 0;
  font-weight: 700;
}

#zMap p.small { 
  padding: .5rem;
}


.mapboxgl-markerLabelOut {
    display: none;
}

/* popup shuffler 2023-08-25 */
.mapboxgl-popup {
 /*
    left: 380px !important;
    top: -100px !important;
*/
}

.mapboxgl-popup-anchor-top .mapboxgl-popup-tip {
  display: none;
}

/********* MOBILE *********/
@media(max-width: 1000px) {
	#zMapNav {
		display: none;
		left: calc(50% - 155px);
	}
	#zMapNav * {
		text-align: left;
	}
	#zMapNav.visible {
		display: block;
	}
	#zMapNavOpen {
		display: flex;
	}
	#zMapNavOpen.hidden {
		display: none;
	}
	#zMapNavClose {
		display: none;
		transform: scale(0.8);
	}
	#zMapNavClose.visible {
		display: block;
	}
	.zMapHead {
		font-size: 22px;
	}
}
