body {
	width: 100%;
	height: 100%;
	background-color: #0e0e0e;
}

video {
	width: 100%;
	height: 100%;
	background-color: black;
	object-fit: cover;
}

.container {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
	min-height: 100vh;
}

.playerContainer {
	cursor: pointer;
	position: relative;
	outline: none;
	line-height: 0;
	display: flex;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.loader {
    border: 8px solid rgba( 243, 243, 243, 0.8); /* Light grey */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    opacity: 0;
    pointer-events: none;
}

.loaderActive {
	animation: spin 800ms linear infinite;
	opacity: 1;
}

.playPauseAlert {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 10;
    border-radius: 50%;
    background-color: rgba( 0, 0, 0, .3);
    width: 100px;
    height: 100px;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    opacity: 0;
    transition: opacity 100ms ease, transform 100ms ease;
    transform: scale(.8);
    transform-origin: center center;
    pointer-events: none;
}

.playPauseAlertActive {
	transform: scale(1);
	opacity: 1;
}

.playState {
	margin: auto;
}

.pauseState {
	margin: auto;
}

.playAlert {
	position: absolute;
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
	border-left: 35px solid white;
	border-right: none;
	transform: translateX(5px);
	opacity: 0;
}

.pauseAlert {
	position: absolute;
	border-left: 10px solid white;
	border-right: 10px solid white;
	padding-right: 10px;
	height: 30px;
	opacity: 0;
}

.playAlertActive {
	opacity: 1;
}

.pauseAlertActive {
	opacity: 1;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.controlBar {
	opacity: 0;
	min-width: 400px;
	position: absolute;
	display: block;
	bottom: 0;
	left: 0;
	right: 0;
	height: 30px;
	width: 100%;
	align-items: center;
	transition: opacity 500ms ease;
	pointer-events: none;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.controlBarIsActive {
	opacity: 1;
	pointer-events: auto;
}

.controlBarLeft {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.controlBarRight {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.cursorIsRemoved {
	cursor: none !important;
}

.cursorIsRemoved .playerContainer {
	cursor: none !important;
}

.playPauseButton {
	display: flex;
	cursor: pointer;
	width: 40px;
    height: 30px;
    min-width: 40px;
    min-height: 30px;
	margin-left: 20px;
}

.playPauseIcon {
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 14px solid white;
	border-right: none;
	height: 0;
	width: 0;
	margin: auto;
	transition: transform 200ms ease, background-color 200ms ease;
}

.playPauseButton:hover .playPauseIcon {
	transform: scale(1.1);
}

.isPlaying .playPauseIcon {
	height: 12px;
	border-top: none;
	border-bottom: none;
    border-left: 4px solid white;
    border-right: 4px solid white;
    padding-right: 4px; 
}

.volumeContainer {
	display: flex;
	align-items: center;
	height: 30px;
	min-width: 40px;
	flex-direction: row;
}

.muteButton {
	flex-shrink: 0;
	display: inline-block;
	margin: 0 10px;
	transition: transform 200ms ease, background-color 200ms ease;
	cursor: pointer;
    width: 0;
    height: 0;
    border: 6.4px solid;
    border-left: none;
    border-top-color: transparent;
    border-bottom-color: transparent;
    padding: 6px 2.1px;
    box-shadow: inset 4px 0;
    margin: 4px 10px 4px 10px;
    color: white;
    transform: scaleY(.6);
    justify-self: center;
}

.isMuted {
	color: black;
}

.volumeController {
	flex-shrink: 0;
	position: relative;
	display: inline-block;
	width: 0;
	height: 10px;
	background-color: rgba(0, 0, 0, 0.5);
	cursor: pointer;
	transition: width 200ms ease, margin 200ms ease;
}

.volumeControllerHovered {
	width: 80px;
	margin-right: 10px;
}

.volumeBar {
	display: inline-block;
	position: absolute;
	height: 10px;
	top: 0;
	left: 0;
	bottom: 0;
	pointer-events: none;
	transition: transform 200ms ease;
	width: 100%;
	transform-origin: 0 0;
	transform: scaleX(0);
}

.timeline {
	margin: 0 20px;
	position: absolute;
	top: -9px;
	left: 0;
	right: 0;
	width: calc(100% - 40px);
	height: 10px;
	background-color: rgba(0, 0, 0, .4);
	cursor: pointer;
	transform: scaleY(0.5);
	transition: transform 200ms ease;
}

.timeline:hover {
	transform: scaleY(1);
}

.timerIndication {
	position: absolute;
	padding: 10px;
	font-size: .7em;
	font-family: sans-serif;
	bottom: 12px;
	color: white;
	transform: translateX(-50%);
}

.timelineLoadingBar {
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
	bottom: 0;
	pointer-events: none;
	width: 100%;
	transform-origin: 0 0;
	transform: scaleX(0);
}

.timelineBar {
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
	bottom: 0;
	pointer-events: none;
	width: 100%;
	transform-origin: 0 0;
	transform: scaleX(0);
}

.timerComplete {
	pointer-events: none;
	line-height: 1em;
	display: inline-block;
	font-family: sans-serif;
	font-size: .7em;
	height: 10px;
	color: white;
}

.isTransiting {
	transition: transform 100ms ease; 
}

.qualitySwitcher {
	width: 40px;
	height: 30px;
	cursor: pointer;
	margin: auto;
	display: inline-block;
	background-color: transparent;
	position: relative;
	transition: transform 200ms ease, background-color 200ms ease;
	display: flex;
}

.qualitySwitcherIndication {
	margin: auto;
	font-weight: bolder;
	font-size: 1em;
	font-family: sans-serif;
	color: white;
	text-align: center;
	transition: opacity 200ms ease;
	opacity: 1;
	user-select: none;
}

.fullscreenButton {
	display: inline-block;
	width: 40px;
    height: 30px;
    min-width: 40px;
    min-height: 30px;
	background-color: transparent;
	display: flex;
	margin-right: 20px;
	cursor: pointer;
	transition: transform 200ms ease, background-color 200ms ease;
}

.fullscreenButton:hover {
	transform: scale(1.1);
}

.fullscreenButtonImg {
	border: 2px solid white;
	width: 18px;
	height: 10px;
	margin: auto;
}

.fullscreenMode {
	width: 100%;
	height: 100%;
	background-color: black;
}

/*Hide controls*/
::-webkit-media-controls {
  display:none;
}

.playerContainer:-webkit-full-screen {
	width: 100% !important;
	height: 100% !important;
	background-color: black;
}