body {
	background-color: #1a1a1a;
	color: #fff;
	margin: 0;
	padding: 47px 0 0;
	font-family: arial, sans-serif;
	overflow-x: hidden;
}
body::-webkit-scrollbar {
	width: 2px;
	background-color: #1a1a1a;
}
body::-webkit-scrollbar-thumb {
	border: 0;
	border-radius: 2px;
	margin: 0 2px;
	background-color: #4fc5e3;
}

#mainbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	background-color: #1a1a1a;
}
#query {
	width: 80%;
	border: 0;
	padding: 14px;
	background-color: transparent;
	outline: none;
	font-size: 24px;
	color: #fff;
	display: block;
	float: left;
}
#logo {
	float: right;
	width: 37px;
	height: 37px;
	margin: 10px;
	-webkit-app-region: drag;
}

#results {
	padding: 0;
	list-style: none;
}
#results li {
	margin: 10px 10px 0px;
	background-color: #3a3a3a;
	box-shadow: 0 1px 3px 1px #0a0a0a;
	cursor: pointer;
	padding: 0 10px;
	user-select: none;
}
#results li.selected {
	outline: 1px solid #4fc5e3;
}
#results li .title {
	font-size: 14px;
	padding: 10px;
	position: relative;
	z-index: 20;
}
#results li .subtitle {
	font-size: 11px;
	padding: 0 10px 10px;
	color: #7ababa;
	position: relative;
	z-index: 20;
}

#results li.image-result {
	padding: 0;
	background-color: #000;
	text-align: center;
	position: relative;
	background-size: cover;
	background-position: bottom left;
}
#results li.image-result:hover,
#results li.image-result.selected {
	animation: background-transition linear 8s infinite;
}
#results li.image-result header,
#results li.video-result header {
	text-align: left;
	font-size: 14px;
	position: absolute;
	top: 0;
	left: 0;
	padding: 10px;
	line-height: 16px;
	box-sizing: border-box;
	text-shadow: 0 0  3px #000;
	z-index: 20;
	width: 100%;
	background-color: rgba(0,0,0,0.8);
	opacity: 1;
	transition: opacity ease-in-out .3s;

}
#results li.image-result header .subtitle,
#results li.video-result header .subtitle {
	font-size: 11px;
}
#results li.image-result:hover header,
#results li.video-result.selected header,
#results li.video-result.selected header {
	opacity: 0;
	transition: opacity ease-in-out .3s;
}

#results li.audio-result {
	overflow: hidden;
	position: relative;
	padding: 0;
}
#results li.audio-result .seekbar {background-color: #2a2a2a;}
#results li.video-result .seekbar {background-color: #4fc5e3;}
#results li.audio-result .seekbar,
#results li.video-result .seekbar {
	position: absolute;
	width: 100%;
	left: 0;
	transform: translateX(-100%);
}
#results li.audio-result .seekbar {
	height: 100%;
	bottom: 0;
}
#results li.video-result .seekbar {
	bottom: 0;
	height: 5px;
	opacity: 0.8;
}

#results li.video-result {
	padding: 0;
	position: relative;
	overflow: hidden;
	background-color: #000;
	max-height: 80px;
}
#results li.video-result.selected {
	max-height: none;
}
#results li.video-result video {
	width: 100%;
	display: block;
}

@keyframes background-transition {
	0% {
		background-position: bottom left;
	}
	50% {
		background-position: top right;
	}
}