body {
}
#form,#notes,#search-form,#contacts,#tags {
	width: 80%;
	border: 2px grey solid;
	border-radius: 10px;
	margin-left: auto;
	margin-right: auto;
	background: #EFEFFF;
	padding: 10px;
}
#form p {
}
#form p label {
	width: 100px;
	display:inline-block;
	vertical-align: top;
	font-weight: bold;
}
#form p input,textarea,#search-form p input {
	border: 1px grey solid;
	border-radius: 5px;
	padding: 2px;
	font-family: 'Swanky and Moo Moo', cursive;
	font-size: 20px;
}
#form p input[type=text],textarea {
	width: calc(100% - 140px);
}
.note-container,.contact-container,.navlink,.navstate {
	background: white;
	border: 1px grey solid;
	border-radius: 5px;
	padding: 5px;
	margin: 5px;
	font-family: 'Swanky and Moo Moo', cursive;
	font-size: 20px;
}
div.note-container div.contact {
	font-weight: bold;
}
.tag {
	display: inline-block;
	background: #FFC;
	border: 2px #DD0 solid;
	margin-right: 10px;
	color: grey;
	border-radius: 5px;
	padding: 0 10px 0 10px;
	font-family: 'Swanky and Moo Moo', cursive;
	font-size: 13px;
}
#search-form,#nav {
	margin-bottom: 10px;
}
#search-form p input[type=text] {
	width: 98%;
}
#search-form p {
	display: table-cell;
	width: 100%;
	margin: 0;
}
.detail {
	color: orange;
}
.note-actions,.contact-actions {
	float: right;
}
#nav {
	display: flex;
	justify-content: center;
	align-items: center;
}
.navlink {
	display: inline-block;
}
.autocomplete {
	/*the container must be positioned relative:*/
	position: relative;
	display: inline-block;
	width: calc(100% - 140px);
}
.navstates_wrapper {
	position: relative;
	display: inline-block;
}
.navstates {
	position: absolute;
	border: 1px solid #d4d4d4;
	border-bottom: none;
	border-top: none;
	z-index: 99;
	/*position the autocomplete items to be the same width as the container:*/
	top: 100%;
	left: 0;
	display: none;
}
.autocomplete-items {
	position: absolute;
	border: 1px solid #d4d4d4;
	border-bottom: none;
	border-top: none;
	z-index: 99;
	/*position the autocomplete items to be the same width as the container:*/
	top: 100%;
	left: 0;
	right: 0;
}
.autocomplete-items div {
	padding: 10px;
	cursor: pointer;
	background-color: #fff; 
	border-bottom: 1px solid #d4d4d4; 
}
.autocomplete-items div:hover {
	/*when hovering an item:*/
	background-color: #e9e9e9; 
}
.autocomplete-active {
	/*when navigating through the items using the arrow keys:*/
	background-color: DodgerBlue !important; 
	color: #ffffff; 
}
