﻿/* Smart search box default styling */

#searchbox-container {
	padding-top: 16px;
	display: table;
	width: 100%;
	padding-bottom: 8px;
	position: relative; /* the absolute popup will match the width of it's _relative_ parent container */
}

	#searchbox-container > div {
		display: table-row;
	}

		#searchbox-container > div > div {
			display: table-cell;
		}

			#searchbox-container > div > div:first-of-type {
				padding-right: 8px;
				width: 100%;
			}

#search-box,
#search-button {
	vertical-align: middle;
}



#search-box {
	margin-right: 5px;
	width: 100%;
	line-height: 1.5;
	box-sizing: border-box;
	height: 1.8em;
	padding-left: .2em;
}

#search-button {
	line-height: 1.5;
}

#auto-complete-container {
	background-color: white;
	box-shadow: black 0 0 13px -3px;
	cursor: pointer;
	width: 100%;
	min-width: 150px;
	position: absolute;
	user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	z-index: 1; /* anything higher than 0 will correctly overlap search results */
}

	#auto-complete-container li {
		padding-left: 8px;
		padding-right: 8px;
	}

		#auto-complete-container li:hover,
		#auto-complete-container li.highlighted {
			background-color: rgb(238, 238, 238); /* default color for hovering/navigating with arrow keys over autocomplete items*/
		}

.search-terms {
	clear: both;
	margin-left: 110px;
	font-size: 12px;
}

	.search-terms span {
		margin: 2px;
		font-style: italic;
		border-radius: 5px !important;
		border: 1px solid #DEDCCF !important;
	}


#search-panel ul,
.search-result ul {
	list-style: none;
}

#search-panel li,
.search-result li {
	margin-left: 0;
	padding-top: .5em;
	padding-bottom: .5em;
}

#error-message {
	color: #ED7301;
	cursor: pointer;
}

.mark {
	font-weight: bold;
	font-size: 100%;
}
