/**
 * Copyright (c) 2022
 *
 * This style sheet makes interactive videos with STACK questions possible.
 *
 * @summary This style sheet makes interactive videos with STACK questions possible.
 * @author Simon Schäfer <Simon.Schaefer@HTW-Berlin.de>
 *
 * Created at     : 2022-02-24
 * Last modified  : 2023-04-25
 */
 
.vjs-marker {
	position: absolute;
	background: red;
	width: 5px;
	height: 110%;
	z-index: 30;
	margin-left: -3px; /* otherwise chapter marker jumps fail, because there is also an seek event fired after maxtime position */
}

.vjs-marker:hover span {
	opacity:1;
}

.vjs-marker span {
	position:absolute;
	bottom:15px;
	opacity:0;
	margin-left:-20px;
	z-index:90;
	background:rgba(0,0,0,.8);
	padding:8px;
	font-size:10px;
}

/* Might block autoplaying video otherwise */
.video-js .vjs-big-play-button {
	display: none !important;
}

/* Shows control bar instead of big play button by default */
.video-js .vjs-control-bar {
	display: flex;
} 

.vjs-blocker {
	background: rgb(33,37,41);
	z-index:0;
	margin-left: 0px;
} 

.video-js .vjs-progress-control:hover .vjs-mouse-display {
	display: none;
}

/*
.video-js .vjs-play-progress, .video-js .vjs-volume-level {
	background-color: white;
}*/

.svg-icon {
	display: inline-flex;
	align-self: center;
	/* Define a global color for the icons In this case white */
	fill: #fff;
} 

/* Define the size of the default icons */ 
.svg-icon svg {
	height:1.8em; 
	width:1.8em;
}

.svg-icon.unseenQ {
	fill: #FF0;
}	

/* Positionate the SVG correctly */ 
.svg-icon.svg-baseline svg {
	top: .125em;
	position: relative;
}

#questionCanvas {
	visibility: hidden;
	position: absolute; 
	top: calc(50% - 1rem);
	left: 50%; 
	max-width: calc(100% - 2rem);
	max-height: calc(100% - 4rem);
	font-size: .92345rem;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
	color: #000;
	transform: translate(-50%, -50%);
}

#questionCanvasFooter {
	padding: 0;
}

.btn-block-full {
	margin: 0 !important;
	border-radius: 0;
}

.usq-icon {
	position: absolute;
    background-color: rgba(0,0,0,0.5);
    border-radius: 100%;
    height: 4em;
    width: 4em;
    vertical-align: middle;
    text-align: center;
    padding: 0.6em 0.2em;
    margin: 0.5em;
	fill: #FF0;
	visibility: hidden;
}

.usq-icon svg {
	height:3em; 
	width:3em;
}

.visible {
	visibility: visible !important;
}

.upperleft {
	left: 0;
	top: 0;
}

.lowerleft {
	left: 0;
	bottom: 2rem;
}

.upperright {
	right: 0;
	top: 0;
}

.lowerright {
	right: 0;
	bottom: 2rem;
}

/*
.vjs-default-skin.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar {
  visibility: visible;
  opacity: 1;
}
*/