html, body {
	position: relative;
	width: 100%;
	height: 100%;
}

body {
	color: #333;
	margin: 0;
	padding: 0px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

a {
	color: rgb(0,100,200);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: rgb(0,80,160);
}

label {
	display: block;
}

input, button, select, textarea {
	font-family: inherit;
	font-size: inherit;
	-webkit-padding: 0.4em 0;
	padding: 0.4em;
	margin: 0 0 0.5em 0;
	border: 1px solid #ccc;
	border-radius: 2px;
}

input:disabled {
	color: #ccc;
}

button {
	color: #333;
	background-color: #f4f4f4;
	outline: none;
}

button:disabled {
	color: #999;
}

button:not(:disabled):active {
	background-color: #ddd;
}

button:focus {
	border-color: #666;
}

/* Google Places Autocomplete styling
	https://developers.google.com/maps/documentation/javascript/places-autocomplete#style-autocomplete 

	NOTE: because of how Google inserts the Autocomplete div, styles for it 
	need to exist here, "outside" of the Svelte app */
.pac-item { 
	padding: 5px;
}
.pac-container {
	/* the following ensures that the suggestions dropdown appears in the right
	   place even when the page body has a non-zero margin. the "550px" is from
	   App.svelte/style/:global(body)  */
	margin-left: min(0px, (100vw - 550px)/-2);
}


/* disable zoom on double-tap */
* {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

/* include borders and padding in all elements' sizes */
* {
	box-sizing: border-box;
}

/* disable selecting stuff (for non-input fields only) */
* {
	user-select: none;         /* Standard syntax */
	-moz-user-select: none;    /* Firefox 2+ */
	-ms-user-select: none;     /* IE 10+ */
	-webkit-user-select: none; /* Chrome, Opera, Safari */
}
input, textarea {
	user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
	-webkit-user-select: text;
}

/* disable ticker arrows on number input */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {	/* Chrome, Safari, Edge, Opera */
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {				/* Firefox */
  -moz-appearance: textfield;
}
