#search-container {
	display: none;
	position: absolute;
	top: 62px;
	z-index: 1007;
	box-sizing: border-box;
	padding: 0 40px 0 40px;
	background-color: white;
	line-height: normal;
	width: 90%;
	left: 5%;
	min-width: 160px;
	max-height: calc(90% - 62px);
	overflow: auto;
}

@media only screen and (max-width: 850px) {
	#search-container {
		top: 60px;
		width: 100%;
		max-height: calc(100% - 60px);
		left: 0;
		right: 0;
		padding: 0 20px 0 20px;
		box-shadow: 0 0 10px rgba(0, 0, 0, .25);
		z-index: 1;
	}
}

#search-container.active {
	display: block;
}

.search-button {
	display: none;
	/* temp */
	/* position: absolute; */
	/* top: 20px; */
	/* right: 10px; */
	height: 28px;
	width: 28px;
	z-index: 1000;
	cursor: pointer;
	overflow: hidden;
	background: white;
	box-shadow: 0 0 10px rgba(0, 0, 0, .25);
}

.search-button .material-icons:hover {
	color: var(--green_hover_t);
}

.search-input-expanded .search-button .material-icons:hover {
	color: white;
}

.search-input {
	position: sticky;
	top: 0;
	height: 24px;
	width: calc(100% - 20px);
	font-family: Merriweather, Times, serif;
	font-size: 16px;
	color: var(--text);
	border-top: 40px solid white;
	border-left: none;
	border-bottom: 2px solid var(--oewm_green);
	border-right: none;
}

@media only screen and (max-width: 850px) {
	.search-input {
		width: calc(100% - 44px);
		border-top: 20px solid white;
		font-size: 13px;
		height: 20px;
		border-top: 10px solid white;;
	}
}

.search-input:focus {
	outline: none;
}

#search-container.search-input-expanded .search-input {
	display: block !important;
}

.result-container {
	height: auto;
	width: calc(100% - 20px);
	padding: 7px 10px 40px 10px;
	background-color: white;
	overflow: auto;
	font-family: Merriweather, Times, serif;
	color: var(--text);
	font-size: 16px;
	line-height: 1.5em;
	/* Scrollbar for Firefox */
	scrollbar-color: var(--text) var(--scrollline);
	scrollbar-width: thin;
}

@media only screen and (max-width: 850px) {
	.result-container {
		font-size: 13px;
		width: calc(100% - 44px);
		padding: 0 10px 20px 10px;
	}
}

.result-container p {
	text-transform: uppercase;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 3px;
}

.result-container a {
	color: var(--oewm_green);
	text-decoration: none;
}

.result-container a:hover {
	color: var(--green_hover_t);
}

#result_title {
	font-weight: bold;
}

#search-chev {
	line-height: initial !important;
	font-size: 12px !important;
	width: initial !important;
}

.n-result-container p {
	font-family: Merriweather, Times, serif;
	font-size: 14px;
	font-style: italic;
	margin: 5px 10px 5px 10px;
}

@media only screen and (max-width: 850px) {
	.n-result-container p {
		font-size: 12px;
		margin-bottom: 0;
	}
}

 .search-button {
    color: var(--text);
}

/* .search-button:hover {
    background-color: var(--background_gray);
}

.search-container.search-input-expanded .search-button {
    color: white;
    background-color: var(--oewm_green);
}

.search-container.search-input-expanded .search-button:hover {
    background-color: var(--green_hover_b);
} */

#search-container .result-container mark {
    color: inherit;
    background-color: var(--background_gray);
	/* font-weight: bold; */
}

/*
    Clearable text inputs
*/

.clearable {
	/* background: #fff url(https://oewm.geo.univie.ac.at/dev/images/del-search.png) no-repeat right -19px center; */
	background: #fff url(../images/del-search.png) no-repeat right -19px center;
	/* padding: 3px 18px 3px 4px; */
	/* Use the same right padding (18) in jQ! */
	padding: 3px 10px 3px 10px;
	transition: background 0.4s;
}

.clearable.x {
	background-position: right 5px center;
}

/* (jQ) Show icon */

.clearable.onX {
	cursor: pointer;
}

/* (jQ) hover cursor style */

.clearable::-ms-clear {
	display: none;
	width: 0;
	height: 0;
}

/* Remove IE default X */