main
{
	display: flex;
}

a {
	text-decoration: none;
}

.map,
.map-holder
{
	min-height: 650px;
	width: 100%;
	flex: 1;
	display: flex;
	position: relative;
}

.map-controls
{
	margin:0;
	padding:0;
	list-style-type: none;
	background-color: rgba(0, 0, 0, 0.7);
	border-radius: 0 10px 10px 0;
	position: absolute;
	top: 90px;
	left: 0;
	display: none;
	width: 71px;
	height: auto;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(5px);
}

.map-controls li
{
	width:100%;
	margin:0;
	padding: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.map-controls li.no-border
{
	border-top:none;
}

.map-controls li.hide
{
	display:none;
}

.map-controls li a
{
	color:#fff;
	background-repeat: no-repeat;
	background-position: 50% 14px;
	background-size: 24px 24px;
	width:100%;
	display:block;
	padding-top:46px;
	height:70px;
	box-sizing: border-box;
	text-align: center;
	font-size: 0.7em;
	cursor: pointer;
}

.map-controls li a.satellite-btn
{
	background-image: url('/img/explore/sat-icon-white.png');
	opacity: 0.5;
}

.map-controls li a.terrain-btn
{
	background-image: url('/img/explore/terrain-icon-white.png');
	opacity: 0.5;
}

.map-controls li a.data-btn
{
	background-image: url('/img/explore/layer-icon-white.png');
	opacity: 0.5;
}

.map-controls li a.good-btn,
.map-controls li a.better-btn,
.map-controls li a.best-btn {
	background-image: url('/img/explore/level-btn-icon-inactive.png');
	opacity: 0.5;
}

.map-controls li a.good-btn.active
{
	background-image: url('/img/explore/good-btn-icon-active.png');
}

.map-controls li a.better-btn.active
{
	background-image: url('/img/explore/better-btn-icon-active.png');
}

.map-controls li a.best-btn.active
{
	background-image: url('/img/explore/best-btn-icon-active.png');
}

.map-controls li a.active
{
	opacity: 1;
}

.map-target
{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 54px;
	height: 54px;
	margin-top: -27px;
	margin-left: -27px;
	border-radius: 27px;
	box-sizing: border-box;
	border: 5px solid #fff;
}

.map-results
{
	position: absolute;
	bottom:10px;
	left:0;
	right:0;
	margin-left:auto;
	margin-right:auto;
	max-width: 900px;
	width: 90%;
	max-height: 30%;
}

#data-results
{
	height: 100%;
	margin-bottom:34px;
}

a.close-btn
{
	position: fixed;
	display: block;
	right: 16px;
	top: 16px;
	width: 40px;
	height: 40px;
	background-size: 20px 20px;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url('/img/explore/close-btn-icon.png');
	cursor: pointer;
	border-radius: 20px;
	z-index:120;
}

.data-result .searching-msg {
	padding:20px;
	margin: 0;
}

.data-result
{
	background-color: rgba(0, 0, 0, 0.7);
	border-radius: 10px;
	color:#fff;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	height: auto;
	margin-bottom: 10px;
	cursor: pointer;
	backdrop-filter: blur(5px);
}

.data-result:hover
{
	background-color: rgba(0, 0, 0, 0.7);
}

.data-result.no-results
{
	cursor: auto;
}

.data-result .data-info
{
	display:flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
	font-size:1em;
	color:#BBBDBD;
	flex-grow: 2;
}

.data-result .data-info .benefit {
	font-size:1.2em;
}

.data-result .data-info .result-title {
	color:#fff;
	font-size:1.6em;
}

.data-text
{
	font-size:0.9em;
	margin-bottom:4px;
}

.data-result .data-link
{
	min-width:48px;
	width:48px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	background-image: url('/img/explore/chevron-right.png');
	background-size: 7px 11px;
	background-repeat: no-repeat;
	background-position: center center;
	display:block;
}

.data-result.no-results
{
	justify-content: center;
	align-items: center;
}

.data-result.no-results .searching-msg,
.data-result.no-results .no-results-msg
{
	padding: 16px 19px;
	font-size: 0.9em;
	color: #BBBDBD;
}

.data-result.no-results .searching-loader
{
	border: 2px solid transparent; 
	border-top: 2px solid #ffffff;
	border-radius: 50%;
	width: 16px;
	height: 16px;
	animation: searching-loader-spin 0.75s linear infinite;
}


.data-result .score {
	position: relative;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	z-index: 120;
	margin:10px;
	flex: 0 0 70px;
	box-sizing: content-box !important;
}

.data-result .score .number {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	font-weight: 600;
	font-size: 1.8em;
	color: white;
}

.data-result svg {
	width: 100%;
	height: 100%;
	z-index: 120;
}

.data-result svg circle {
	fill: none;
	stroke-width: 0;
	stroke-linecap: round;
}

.data-result svg circle.score-circle-bg
{
	stroke:#c9c9c9;
	stroke-width: 4px;
}

.data-result.good svg circle.score-circle-pb
{
	stroke: var(--good-color);
}

.data-result.better svg circle.score-circle-pb
{
	stroke: var(--better-color);
}

.data-result.best svg circle.score-circle-pb
{
	stroke: var(--best-color);
}

@keyframes searching-loader-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/***** Slider and search bar *****/
.find-container
{
	z-index: 1;
	display: flex;
	justify-content: space-between;
	position: absolute;
	top: 20px;
	background-color: transparent;
	width: 100vw;
	flex-wrap: wrap;
}


.feedback-container
{
	width: 334px;
	height: 48px;
	background-color: transparent;
	text-align: center;
	margin-left: 20px;
}

.feedback-button {
	width: 48px;
	height: 48px;
	position: relative;
	background-color: white;
	border-radius: 4px;
	box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
	cursor: pointer;
}

.map-slider
{
	height: 48px;
	color: black;
	text-align: center;
	border-radius: 4px;
	box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
}

.map-slider a
{
	color: black;
	text-decoration: none;
}

.map-slider-section
{
	height: 48px;
	width: 150px;
	float: left;
	position: relative;
	background-color: lightgrey;
	cursor: pointer;
}

.map-slider .active
{
	background-color: white;
	cursor: default;
}

.map-slider .slider-text
{
	font-size: 16px;
}

.map-slider .slider-text-sm
{
	font-size: 9px;
}

@media (max-width: 1025px) {
	.find-container {
		justify-content: left;
	}
	
	.feedback-container {
		width: 48px;
	}

	.map-slider
	{
		margin-left: 20px;
		margin-bottom: 20px;
	}

	.search-bar
	{
		margin-left: 20px;
	}

	.map-controls
	{
		top: 150px !important;
	}

	.map,
	.map-holder
	{
		min-height: 800px;
	}

	.data-result .data-link
	{
		display: none;
	}
}

.find-bar-container
{
	height: 48px;
}

.center
{
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
}

.search-bar
{
	height: 48px;
	background-color: white;
	color: black;
	text-align: center;
	border-radius: 4px;
	box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
	margin-right: 20px;
	max-width: 334px;
}

.search-bar-icon {
	height: 48px;
	width: 70px;
	float: left;
	position: relative;
	border-right: #ECECEC 1px solid;
}

.fa-xmark
{
	cursor: pointer;
}

.search-bar-field
{
	height: 48px;
	width: 264px;
	float: left;
	position: relative;
}

.address-search
{
	width: 100%;
	border: none;
	padding-left: 16px;
	padding-right: 16px;
	font-size: 14px;
	height: 48px;
	font-family: 'Open Sans', Helvetica, sans-serif;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.address-search::-webkit-search-cancel-button {
	display: none;
}

.address-search:focus
{
	outline: none;
}

::placeholder
{
	color: #BDBDBD;
	opacity: 1;
}

.tt-input
{
	height: 48px;
}

.tt-suggestion
{
	padding: 0 !important;
}

.address-search-suggestion-label
{
	padding: 5px 10px;
	border-bottom: #ECECEC 1px solid;
	font-size: 14px;
	font-family: 'Open Sans', Helvetica, sans-serif;
}

.address-search-suggestion-label:hover
{
	background-color: #5897fb;
	color: white;
}

.tt-list
{
	width: 335px !important;
	right: 0 !important;
	top: 10px !important;
	border: none !important;
	border-radius: 4px;
	box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
}


/***** mapbox control css overrides *****/

.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-group {
	margin-right: 20px;
}

/***** other plugin css overrides *****/

.jquery-modal
{
	overflow:hidden;
	z-index:3; /* puts it above the map zoom.*/
}

@media all and (max-width: 600px) {

	.data-result .data-info {
		padding: 11px 14px;
		font-size: 0.8em;
	}

	.map-results
	{
		/* Sit it above the mapbox info*/
		bottom: 34px;
	}
}