/* video player */
.wp-block-video {
	text-align:center;
}
.wp-block-video .video-player video {
    border-radius: var(--big-border-radius);
    width: 200px;
    height: 200px;
	transition:width .3s ease-in-out, height .3s ease-in-out, border-radius .3s ease-in-out;
}
.video-player.playing video {
	border-radius:var(--border-radius);
	width:100%;
	height:220px;
}
.wp-block-video figcaption {
	margin-top: 0;
	font-size: .8rem;
	line-height: 1.2;
}

.video-player {
	position:relative;
	padding: 0;
}
.video-player .play {
	position: absolute;
	top: 0;
	left: 50%;
	width: 200px;
	height: 200px;
	border-radius: var(--big-border-radius);
	display: flex;
	justify-content: center;
	align-items: center; 
	cursor: pointer;
	font-size: 4rem;
	color: var(--white);
	line-height: 1em;
	transform: translateX(-50%);
	transition:width .3s ease-in-out, height .3s ease-in-out, border-radius .3s ease-in-out;
}
.video-player .icon-play:before {
	margin-left:.1em;
}
.video-player .play:hover {
	background-color:#0b253a20;
}
.video-player.playing .play {
	display:none;
	width:100%;
	height:220px;
	border-radius:var(--border-radius);
}
.video-player.playing:hover .play {
	display:flex;
}
.video-player .current,
.video-player .duration {
	display:none;
}
.video-player .timeline {
	width:100%;
	background: var(--light-grey);
	display:block;
	cursor:pointer;
	height:0px;
	transition:height .3s ease-in-out;
	margin-bottom:5px;
	border-radius:var(--border-radius);
	overflow:hidden;
}
.video-player.playing .timeline {
	height:8px;
}
.video-player .timeline:hover {
	height:20px;
}
.video-player .timeline .bar {
	width:0;
	height:100%;
	background: var(--dark-blue);
	transition:background-color .3s ease-in-out;
	display:block;
	cursor:pointer;
}
.video-player .timeline .bar:hover {
	background:var(--blue);
}

@media only screen and (max-height : 400px) {
	.video-player {
		display:none;
	}
}