html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
table { border-collapse: collapse; border-spacing: 0; width: 100%; height: 100% }

#header-row { background-color: black; height: 30px; }
#map-canvas { height: 100%; }
#opacity-label, #geo-label, #bGps, #bInfo, #sLayer { font-family: Verdana; font-size: 10px; }
#opacity-label, #geo-label { color: white; }
#slider-wrapper, #buttons-wrapper { padding: 4px; }
#slider-wrapper { width: 25%; }
#opacity-label { width: 30px; text-align: right; }
#buttons-wrapper { text-align: right; }
#bGps, #bInfo, #sLayer { height: 20px; }
#bGps, #bInfo { width: 50px; }
#bResetLayer { position: relative; top: 3px; }

#pac-input:invalid + #pac-reset {
	display: none;
}

#pac-reset {
	background-image: url( ../images/reset_off.png );
	background-position: center center;
	background-repeat: no-repeat;
	height: 14px;
	width: 14px;
	border: none;
	background-color: transparent;
	cursor: pointer;
	position: relative;
	left: -23px;
}

#pac-reset:hover {
	background-image: url( ../images/reset_on.png );
}

.controls {
	margin-top: 16px;
	border: 1px solid transparent;
	border-radius: 2px 0 0 2px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	height: 32px;
	outline: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#pac-input {
	background-color: #fff;
	padding: 0 22px 0 13px;
	width: 400px;
	font-family: Roboto;
	font-size: 15px;
	font-weight: 300;
	text-overflow: ellipsis;
}

#pac-input:focus {
	border-color: #4d90fe;
	margin-left: -1px;
	padding-left: 14px;  /* Regular padding-left + 1. */
	width: 401px;
}

.pac-container {
	font-family: Roboto;
}

#place-name {
	font-family: Roboto;
	font-size: 15px;
	font-weight: 300;
	text-overflow: ellipsis;
}

.rounded-cornered,
.rounded-cornered .handle {
	border-radius: 3px;
}

.dragdealer {
	width: auto;
}

/* -------------------------------
   Place Autocomplete Modern Styling
   ------------------------------- */

/* Style the new web component to look like your old input */
gmpx-place-autocomplete {
	display: inline-block;
	background-color: #fff;
	padding: 0 22px 0 13px;
	width: 400px;
	height: 32px;
	font-family: Roboto, Verdana, sans-serif;
	font-size: 15px;
	font-weight: 300;
	border: 1px solid transparent;
	border-radius: 2px 0 0 2px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
	outline: none;
	vertical-align: middle;
	text-overflow: ellipsis;
}

/* Highlight border when focused */
gmpx-place-autocomplete:focus-within {
	border-color: #4d90fe;
	margin-left: -1px;
	padding-left: 14px;
	width: 401px;
}

/* Match hover/focus interaction from your old input */
gmpx-place-autocomplete input {
	border: none;
	outline: none;
	background: transparent;
	font-family: inherit;
	font-size: inherit;
	padding: 0;
}

/* Fix alignment with the reset button */
#searchboxwithclearbutton {
	display: flex;
	align-items: center;
	gap: 4px;
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 5;
}

/* Reset button hover and alignment (already exists, but this improves modern browsers) */
#pac-reset {
	flex-shrink: 0;
}
