
#search-bar
{
	flex-grow: 1;
	align-items: center;
	
	display: flex;
	flex-direction: column;
	
	position: relative;
}

#search-bar input
{
	height: 2em;
	background-color: rgba(255, 255, 255, 0.8);
	border-width: 0px;
}

#search-bar input, #search-result
{
	width: 100%;
}

#search-bar input:focus
{
	background-color: white;
	outline: none;
}

#search-result
{
	position: absolute;
  top: 2em;
	
	max-height: 80vh;
  overflow: auto;
	z-index: 2; /* Pour ne pas que les icônes des modules s'affiche dessus */
}

#search-result::-webkit-scrollbar
{
	display: none;
}

#search-result.hide
{
	opacity: 0;
}

#search-result > div
{
	/* background-color: rgba(0, 0, 0, 0.9); */
	background-color: white;
	color: black;
	margin: 1px;
	text-align: left;
	height: 2em;
	cursor: pointer;
	/* color: white; */
	display: flex;
  align-items: center;
	
	overflow: auto;
}

#search-result > div::-webkit-scrollbar
{
	display: none;
}

#search-result > div:hover
{
	background-color: papayawhip;
}

#search-result > div > img
{
	width: 20px;
	height: 20px;
	vertical-align: -webkit-baseline-middle;
	background-color: black;
  border-radius: 20%;
	padding: 2px;
	margin: 3px;
}

.search-result-entry .name
{
	white-space: nowrap;
	flex-grow: 1;
}

.search-result-entry .detail
{
	margin: 0% 1%;
}