html,body{margin:0;padding:0;}


body {
	display: flex;
	flex-wrap: nowrap;
	position:relative;
	height: 100vh;
	width: 100vw;
	overflow: hidden;
}

body > section {
	min-height: 100vh;
	
}

#list {
	height: 100vh;
	overflow-y: auto;
	background-color: white;
}

.list-header .dropdown-toggle {
	border: 1px solid #ced4da;
	-webkit-appearance: none;
}
.list-header {
	position:sticky;
	top:0;
	left:0;
	right:0;
	z-index:10;
	background-color:white;
	display:flex;
	flex-wrap:nowrap;
	max-height: 44px;
}

#dropdownTypesParent {width:39%;}

#dropdownTypes {width:100%;height:100%;}
#dropdownTypes > span:not([data-value=""]) {
	font-size:1.25rem;
}
#dropdownTypes > span:not([data-value=""]):before {
	content:attr(data-value);
}
#dropdownTypes > span:not([data-value=""]):after {
	content:' Results';
}


.list-header .form-check {
	position: static;
    padding: .5rem 1rem;
    display: flex;
	flex-wrap:nowrap;
	align-items:center;
	justify-content:flex-start;
	user-select:none;
}

.list-header .form-check  .form-check-input {
	position:static;
	margin:0!important;
	margin-right:0.5rem!important;
}

.list-header select {
	cursor:pointer;
	font-size:1.25rem;
	display: inline-block;
	width: 100%;
	height: calc(1.5em + .75rem + 2px);
	padding: .375rem 1.75rem .375rem .75rem;
	font-weight: 400;
	color: #212529;
	vertical-align: middle;
	/*f8f9fa*/
	background: #f8f9fa url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	appearance: none;
	flex:1;
}
.list-header select option {background-color:white;}

#list > .location {
	padding: 0.75rem 1.5rem;
	padding-left:3.5rem;
	position:relative;
	background-color:transparent;
	transition: 0.3s all;
	cursor:pointer;
}
#list > .location:hover,
#list > .location.hover {background-color:#f8f9fa;}
#list > .location.active {background-color:#e9ecef!important;}

#list > .location > i {
	display:block;
	position:absolute;
	top:1.5rem;
	left:0.75rem;
	width:1.5rem;
	height:1.5rem;
	font-size:1.5rem;
	color:transparent;
	-webkit-text-stroke-width: 1.5px;
	-webkit-text-stroke-color: black;
	transition: 0.3s all;
}

/*#list > .location.active > i {
	-webkit-text-stroke-color: rgba(0,0,0,0.5);	
}*/

#list > .location > i img {
	width:100%;
}

#map {
	top:0;
	right:0;
}

#map .map-fa {
	width: 30px;
	line-height: 30px !important;
	height: 30px;
	font-size: 20px !important;
	display:block;
	filter: brightness(0.5);
	transform: translate(0px,-35px);
	transition: 0.2s all;
}

#map .map-fa.active {
	font-size: 25px !important;
	transform: translate(0px,-40px);
}

#map .gm-svpc { display: none; }

.fs-toggle {
	position:fixed;
	top:10px;
	right: 10px;
    width: 48px;
    height: 48px;
    background-color: white;
    display: block;
    font-size: 30px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    cursor: pointer;
	z-index:20;
	transition: 0.3s all;
}
.fs-toggle:hover {background-color:#ebebeb;}
.fs-toggle > i { line-height: 48px; }
.fs-toggle > i:before {
	content: "\f065";
}
.fs-toggle[data-active="true"] > i:before {
	content: "\f066";
}


@media (max-width: 768px) {
	
	body {
		flex-direction: column;
	}
	
	body > section { min-height:initial;}
	
	body > #map {
		order: 1;
		min-height:45vh;
		width:100%;
		position:sticky !important;
		top:0;
		z-index:20;
	}
	
	/*#map {
		position:absolute!important;
	}*/
	
	body > #list {
		order:2;
		width:100%;
		z-index:11;
		padding: 0;
		box-shadow: -1px -3px 12px rgb(0,0,0,0.5);
		position:relative;
		height: auto;
		flex: 1;
	}
	
	.list-header {
		top:0;
	}
	
	#list .dropdown.show {
		position: fixed;
		/*top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);*/
		top:43vh;
		left:0;
		right:0;
		border-color:#828282;
		
		width: 100vw!important;
		border-bottom:none;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		z-index:40;
	}
	
	#list .dropdown-menu.show {
		margin-top:-2px;
		position:static!important;
		transform:none!important;
		min-width: 70vw;
		width:100%;
		font-size: 3vh;
		
	}
	
	#list .dropdown.show .dropdown-menu.show:before {
		content:'Close';
		position:absolute;
		top:100%;
		left:-1px;
		right:-1px;
		background-color:#fafafa;
		padding: 0.5rem 2.5rem;
		font-size:1.25rem;
		border: 1px solid #828282;
		border-radius: .25rem;
		border-top:none;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
		pointer-events:none;
	}
	
	#list .dropdown.show .dropdown-menu.show:after {
		position:absolute;
		left:1rem;
		top:100%;
		padding-top:0.5rem;
		font-size:1.25rem;
		content: '\f00d';
		font-family: "Font Awesome 5 Pro";
		font-weight: 900;
		pointer-events:none;
	}
	
	
	.list-header .form-check .form-check-input {
		width:2vh;
		height:2vh;
	}
	
	#list .dropdown.show ~ span.mobileInactive {
		content:'';
		position: fixed;
		top: -100vh;
		left: -100vw;
		right: -100vw;
		bottom:-100vh;
		background-color:rgba(0,0,0,0.3);
		z-index:0;
	}
	
	body.is-fullscreen .body > #list {
		height:0;
		padding:0;
		overflow:hidden;
	}
	
	body.is-fullscreen {
		
	}
	
	body.is-fullscreen #map {
		min-height:90vh;
		height: -webkit-fill-available;
	}
}