/* Always set the map height explicitly to define the size of the div
       * element that contains the map. */

#map {
	height: 100%;
}


/* Optional: Makes the sample page fill the window. */

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

#description {
	font-family: Roboto;
	font-size: 15px;
	font-weight: 300;
}

#infowindow-content .title {
	font-weight: bold;
}

#infowindow-content {
	display: none;
}

#map #infowindow-content {
	display: inline;
}

.pac-card {
	margin: 10px 10px 0 0;
	border-radius: 2px 0 0 2px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	outline: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	background-color: #fff;
	font-family: Roboto;
	display: none;
}


#image_box 
{
	width:200px;
	margin: 0 auto;
	text-align:center;
	margin-bottom:.4em;
}

#pac-card-copyright p
{
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.5;
	color: #212529;
	font-size:.7em;margin:.5em;
	margin-bottom:.8em;
	background-color:#DEEDF8;
	padding:.2em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin:0px;padding:0px;
}
#pac-card-copyright 
{	
	text-align:center;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin:0px;padding:0px;	
}

#pac-card-copyright #image_box img {
	display:inline-block;
	border-radius: 2px 0 0 2px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}


.autocomplete-suggestions {
	border: 1px solid #999;
	background: #FFF;
	overflow: auto;
}

.autocomplete-suggestion {
	padding: 2px 5px;
	white-space: nowrap;
	overflow: hidden;
}

.autocomplete-selected {
	background: #F0F0F0;
}

.autocomplete-suggestions strong {
	font-weight: normal;
	color: #3399FF;
}

.autocomplete-group {
	padding: 2px 5px;
}

.autocomplete-group strong {
	display: block;
	border-bottom: 1px solid #000;
}


/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */

.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba( 255, 255, 255, .8) url('/graphics/icons/spinning.gif') 50% 50% no-repeat;
}

.modaltext {
	top: 52%;
	text-align: center;
	font-weight: bold;
	font-size: 1vw;
	position: relative;
	transform: translateY(-50);
}


/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */

body.loading .modal {
	overflow: hidden;
}


/* Anytime the body has the loading class, our
   modal element will be visible */

body.loading .modal {
	display: block;
}

#pac-container {
	padding-bottom: 12px;
	text-align: center;
	max-width: 300px;
	min-width: 300px;
	width: 300px;
}

.pac-controls {
	display: inline-block;
	padding: 5px 11px;
}

.pac-controls label {
	font-family: Roboto;
	font-size: 13px;
	font-weight: 300;
}

#pac-input,
#searchqry {
	background-color: #fff;
	font-family: Roboto;
	font-size: 15px;
	font-weight: 300;
	margin-left: auto;
	margin-right: auto;
	margin-top: 12px;
	padding: 10 11px 10 13px;
	text-overflow: ellipsis;
	width: 80%;
	height: 30px;
}

#pac-input:focus,
#searchqry:focus {
	border-color: #4d90fe;
}

#title {
	color: #fff;
	background-color: #4d90fe;
	font-size: 18px;
	font-weight: 500;
	padding: 6px 12px;
}

.explanation_text {
	margin: 0 auto;
	padding: 5px;
}

#instructions {
	overflow-y: scroll;
	width: auto;
	background: #0000000d;
	padding: 5px;
	height: 70vh;
	text-align: left;
}

.minimize,
.maximize {
	float: right;
	width: 30px;
	height: 30px;
	cursor: pointer;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.minimize {
	background-image: url("/graphics/icons/minimize.png")
}

.maximize {
	background-image: url("/graphics/icons/restore.png")
}

.minimized {
	position: absolote;
	max-height: 10px;
	top: 90vh !important;
	left: 0;
	right: 0;
	margin: auto
}

.minimized #pac-container {
	display: none;
}

.maximized #pac-container {
	display: block;
}

@media screen and (max-device-width: 800px) {
	.minimize {
		font-size: 1.5vw;
	}
	.maximize {
		font-size: 1.5vw;
	}
	.minimized {
		top: 85vh !important;
	}
}