#header a#search-link img {
	width: 18px;
    height: 18px;
    margin-right: 15px;
    margin-bottom: 2px;
}

@media screen and (max-width: 400px) {
	#header {text-align: left;}
	#header a#search-link img {margin: 5px 5px 0 0; }
	#title-controls .search-box {    
		width: 300px!important;
		max-width: 225px;
		left: -20vw!important;
    }
    	#title-controls .search-box input[type="text"] {left: 5px!important;}
	#header span#bookname {width: 50%;}
}
@media screen and (max-width: 340px) {
	#header span#bookname {display: none;}
}


#title-controls .search-box {
	position: absolute;
    width: 350px;
    top: 46px;
    left: -200px;
    display: none;
    background-color: white;
    box-shadow: 0px 0px 10px #00000029;
}

#title-controls .search-box input[type="text"] {
	height: 30px;
	border: 1px solid #000000;
	margin-bottom: 5px;
	padding: 0px 5px;
	width: calc(100% - 50px);
	position: relative;
	left: -20px;
	top: 2px;
}

.highlight {
	background-color: yellow;
}

#search-result-list li::before {
	display: none !important;
}

#search-result-list li a {
	-webkit-text-fill-color: black !important;
}

#search-result-list {
	max-height: 400px;
	overflow-y: scroll;
	list-style: none;
}

#close-search-box {
	display: block;
	padding: 0px !important;
	width: 24px;
	height: 24px;
	position: absolute;
	top: 0;
	right: 0;
}

#close-search-box img {
	display: block;
	width: 24px;
	height: 24px;
}

#header #bookname {
    max-width: 55% !important;
}