
#search_result_container{
	background: url(/theawakeningwiki/img/textbg.jpg) top repeat-y;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	min-width: 400px;
	max-width: 500px;
	min-height: 100px;
	max-height: 60vh;
	background-color: white;
	border-radius: 5px;
	position: fixed;
	overflow: clip;
	z-index: 9;
	display: none;
}

#search_result_html{
	min-height: 66px;
	max-height: calc(60vh - 34px);
	overflow-y: auto;
}
#search_result_html > a{
	color: #a74f43;
	font-size: 16px;
	display: block;
	border-top: 0.5px solid #ededed;
	border-bottom: 0.5px solid #ededed;
}
#search_result_html > a.selected{
	background-color: #fbfbef;
}

#search_result_html > hr{
	border-width: 0.5px;
	border-color: gray;
	opacity: 0.2;
}

#search_result_footer{
	color: black;
	padding: 10px 30px;
	border-top: 0.5px solid #ededed;
	text-shadow: none;
	font-size: 13px;
}

a.selected {
    text-decoration: underline;
}

.searchfield{
	width: 66%;
	outline: 0;
	border: 1px solid #ccc;
	border-radius: 10px;
	font-size: 16px;
	padding: 5px;
	padding-left: 10px;
}
.searchfield:hover{
	border-color: #b8b8b8;
}
.searchfield:focus{
	border-color: gray;
}
.search_submit{
	color: black;
	min-height: 25px;
	border: solid 1px gray;
	padding: 0 8 0 8px;
	border-radius: 5px;
	background-color: #f2e0d2;
	background: linear-gradient(to bottom, #f8ede4 0%, #e8d7c9 51%, #dac8ba 51%, #d3c1b3 100%);
	cursor: pointer;
}
.search_submit:hover{
	background-color: #f8ede4;
	background: linear-gradient(to bottom, #f2e0d2 0%, #efe1d7 51%, #e5d6ca 51%, #dcccc0 100%);
}
.search_submit:active{
	border-color: black;
	background-color: #ada096;
	background: linear-gradient(to bottom, #d5c3b5 0%, #c2b2a7 51%, #ada096 51%, #83776f 100%);
}

.result_title{
	color: black;
	font-size: 20px;
	font-weight: bold;
	padding-bottom: 5px;
}

.result_container{
	margin: 15px 30px;
}

@media only screen and (max-width: 1400px){
	#search_result_html > a{
		font-size: 16px;
	}
	.result_title{
		font-size: 19px;
	}
}

@media only screen and (max-width: 900px){
	#search_result_html > a{
		font-size: 15px;
	}
	#search_result_container{
		min-width: 300px;
	}
	.result_title{
		font-size: 18px;
	}
}

@media only screen and (max-width: 500px){
	#search_result_container{
		min-width: 250px;
	}
}
