.video {
	display: inline-block;
	position: relative;
	overflow: hidden;
	border: 1px solid gray;
	padding: 0px;
	margin: 0 10px;
}

.video .cover-panel {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.5);
	align-items: center;
	justify-content: center;
}

.video.cover .cover-panel {
	display: flex;
}

.video.cover .cover-panel > .play-icon {
	display: block;
	font-size: 60px;
	width: 100px;
	height: 100px;
	color: white;
	border-radius: 50%;
	text-align: center;
	line-height: 100px;
	padding-left: 5px;
	background-color: rgba(100, 100, 100, 0.7);
	opacity: 0.5;
	transition: opacity 0.3s;
}

.video.cover:hover .cover-panel > .play-icon {
	opacity: 1;
}

.video .video-controls {
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
	width: 100%;
	height: 37px;
	bottom: -35px;
	position: absolute;
	transition: bottom 0.5s 1s;
}

.video:hover .video-controls {
	bottom: 0px;
	transition: bottom 0.3s;
}

.video.cover .video-controls {
	display: none;
}

.video video {
	display: block;
}

.video .barpanel {
	background-color: gray;
	position: relative;
	height: 5px;
}

.video .bar {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
}

.video .bar.buffer {
	background-color: white;
	right: auto;
}

.video .bar.current {
	background-color: red;
	right: auto;
}

.video .volumepanel {
	position: relative;
	float: left;
	top: 9px;
	left: 7px;
	width: 120px;
	height: 15px;
}

.video .volumepanel .volume {
	top: 5px;
	bottom: 6px;
	background-color: red;
}

.video .volumepanel .bcg {
	top: 5px;
	bottom: 6px;
	background-color: gray;
}

.video .volumepanel .pin > span {
	position: absolute;
	top: 1px;
	right: 0;
	width: 12px;
	height: 12px;
	margin-right: -6px;
	background-color: red;
	border-radius: 6px;
}

.video .btn {
	color: gray;
	float: left;
	width: 32px;
	height: 32px;
	box-sizing: border-box;
	font-size: 20px;
	padding: 6px;
	transition: color 0.2s;
	line-height: 20px;
	border: none;
	border-radius: 0;
}

.video .btn:hover {
	color: white;
	transition: color 0.2s;
}

.video .info {
	float: left;
	height: 32px;
	line-height: 32px;
	padding: 0 5px;
}

.video .info > b {
	font-weight: normal;
	color: rgb(200, 200, 200);
}

.video .sep {
	float: left;
	width: 20px;
	height: 32px;
}

.video .btn.unmute { display: none; }
.video.muted .btn.unmute { display: block; }
.video.muted .btn.mute { display: none; }

.video.stopped .btn.stop { display: none; }
.video.playing .btn.play { display: none; }
.video.paused .btn.pause { display: none; }

