.player.remove-bg:before {
    opacity: 0;
}

.player::before {
    content: '';
    background-color: var(--var-color-playerlayout);
	opacity: 0.8;
    width: 100%;
    height: 100%;
    opacity: 1;
    position: absolute;
    transition: all .3s ease;
}

.video {
    width: 100%;
}
.movie{
    display:table;
    width:auto;
    position:relative;
    width:100%;
}
.playpause {
    background-image:url(../images/playbutton.png);
    background-repeat:no-repeat;
    width: 13.4vw;
    height: 134px;
    position:absolute;
    left:0%;
    right:0%;
    top:0%;
    bottom:0%;
    margin:auto;
    background-size:contain;
    background-position: center;
    cursor: pointer;
}

video::-webkit-media-controls {
    display: none;
  }

.player {
	width: 100%;
	height: auto;
	position: relative;
	overflow: hidden;
	background: #000000;
    max-height: 770px;
}

.player:fullscreen {
	padding-bottom: 100vh;
}

.player:-webkit-full-screen {
	padding-bottom: 100vh;
}

.player:-moz-full-screen {
	padding-bottom: 100vh;
}

.player:-ms-fullscreen  {
	padding-bottom: 100vh;
}

.player video {
	width: 100%;
}

.controls {
	padding: 0;
	position: absolute;
	bottom: -80px;
	width: 100%;
	height: 48px;
	box-sizing: border-box;
	background: linear-gradient(
		180deg,
		rgba(37, 37, 37, 0) 10%,
		rgba(37, 37, 37, 0.6) 80%
	);
	transition: all 0.2s ease-in 5s;
    opacity: 0;
}

.controls.show-control {
    opacity: 1;
}

.player:hover .controls {
	bottom: 0;
	transition: all 0.2s ease-out;
}

.time {
	position: absolute;
	right: 30px;
	bottom: 100%;
	padding-bottom: 14px;
    color: #fff;
}

.progress {
	width: 100%;
	background: rgba(60, 60, 60, 0.6) !important;
	margin: auto;
	position: absolute;
	bottom: 100%;
	transition: height 0.1s ease-in-out;
    height: 0.5rem !important;
}

.progress:hover {
	height: 10px;
}

.progress-filled {
	background: var(--var-color-primary);
	width: 0%;
	height: 100%;
	transition: all 0.1s; 
}

.controls-main {
	width: calc(100% - 40px);
	margin: auto;
	height: 100%;
	display: flex;
	justify-content: space-between;
}

.controls-left,
.controls-right {
	flex: 1;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.controls-left {
	margin-left: 10px;
}

.controls-right {
	margin-right: 10px;
	justify-content: flex-end;
}

.volume {
	display: flex;
	align-items: center;
}

.volume-btn {
	margin-right: 10px;
}

.volume-btn #volume-off, .volume-btn #volume-high {
	opacity: 0;
}

.volume-btn.loud #volume-high{
	opacity: 1;
}

.volume-btn.muted #volume-off {
	opacity: 1;
}

.volume-btn.muted #volume-high, .volume-btn.muted #volume-low {
	opacity: 0;
}

.volume-slider {
	height: 8px;
	width: 80px;
	background: rgba(60, 60, 60, 0.6);;
	border-radius: 6px;
	position: relative;
}

.volume-filled {
	background: var(--white);
	width: 100%;
	height: 100%;
	border-radius: 6px;
	transition: width 0.2s ease-in-out;
    cursor: pointer;
}

.volume-filled:hover {
	background: var(--var-color-primary);
    
}

.fullscreen, .speed-list li, .play-btn, .progress, .volume-btn {
    cursor: pointer !important;
}

.play-btn.paused {
	width: 30px;
	height: 30px;
	position: relative;
	margin: auto;
	transform: rotate(180deg);
	transition: -webkit-clip-path 0.3s ease-in 0.1s, shape-inside 0.3s ease-in 0.1s,
		transform 0.8s cubic-bezier(0.85, -0.25, 0.25, 1.425);
}

.play-btn {
	transform: rotate(0deg);
}

.play-btn:before {
	content: "\f04b";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: inherit;
    font-family: 'FontAwesome';
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
}

.play-btn.playing:before {
    content: "\f04c";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: inherit;
    font-family: 'FontAwesome';
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
}


button:focus {
	outline: none;
}

.speed-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	margin-right: 20px;
	text-align: center;
}

.speed-list li {
	color: var(--white);
	padding: 5px;
}

.speed-list li:hover,
.speed-list li.active {
	color: var(--var-color-primary);
	font-weight: bold;
}

.fullscreen {
	display: flex;
	justify-content: center;
}
