body {
	margin: 0;
	padding: 0;
	background-color: black;
	color: white;
	font-family: sans-serif;
}

.wrapper {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.conferenc_error {
	font-size: 110%;
	font-weight: bold;
	color: #ff7777;
}

.jitsi {
	z-index: 1;
	width: 100%;
	height: 100%;
	display: none;
}

.player-user {
	position: absolute;
	top: 0;
	
	width: 100%;
	height: 100%;

	background-color: black;
}

.player-user video {
    position: absolute;

    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.player-overlay {
	position: absolute;
/*	left: 0;
	top: 55px;
*/	
	width: 40%;
	height: auto;

	border: 1px solid #aaaaaa;
	background-color: black;
	
	display: none;
}

.nocursor {
	cursor: none;
}

.start, .stop, .pause, .fullscreen {
	float: left;
	display: none;
	box-sizing: content-box;
	color: black;

	z-index: 999;
	margin-right: 10px;

	width: auto;
}

.vote-box {
	z-index: 888;
	position: fixed;

	overflow: scroll;
	
    width: 100%;
    height: 100%;

    top: 0;
    background-color: rgba(0, 0, 50, 0.7);

    display: grid;

    grid-template-columns: repeat(3, auto);
    grid-template-rows: 1fr auto 1fr;

    grid-template-areas:
    	'. . .'
    	'. content .'
    	'. . .';
}

.vote-content {
	grid-area: content;
	display: grid;
	grid-gap: 20px;

	background-color: white;
	color: black;
	padding: 30px;

	grid-template-columns: 100%;
}

.vote-item {
	display: grid;
	grid-gap: 10px;

	grid-template-columns: 50% auto auto;
	grid-template-areas:
		'description vote result';

	border: 1px solid #888888;
	padding: 10px;
}

.vote_button {
	float: left;
}

.result_button {
	position: relative;
	float: left;
}

.result-cnt {
	position: absolute;
	top: -2;
	left: -5;
	font-size: 14px;
	font-weight: bold;
	line-height: 20px;

	width: 20px;
	height: 20px;

	color: white;
	background-color: red;

	border: 1px solid red;
	border-radius: 10px;
}

.vote-label {
	font-size: 20px;
	font-weight: normal;
	text-align: left;
}

.vote-title {
	font-size: 20px;
	font-weight: bold;
	font-style: italic;
}

.vote-description {
	grid-area: description;

	text-align: right;
	font-weight: bold;
}

.vote-vote {
	grid-area: vote;
	text-align: left;

	border-left: 1px solid #808080;
	padding-left: 10px;
}

.vote-result {
	grid-area: result;
	text-align: right;
	font-weight: bold;
}

.vote-comment {
	font-style: italic;
}

.vote-active {
	background-color: red;
}

.error {
	font-size: 20px;
	text-align: center;

	border: 2px solid red;
	border-radius: 5px;
	color: black;
	background-color: white;

	padding: 15px;
}

.control {
	position: fixed;
	top: 0;

	box-sizing: border-box;

	left: 50px;
	right: 50px;

	text-align: center;
	
	display: none;
}

.control-hide, .control-show {
	position: absolute;

	cursor: pointer;
	width: 30px;
	height: 30px;
	
	color: black;
	font-size: 28px;
	text-align: center;
	
	border: 1px solid black;
	border-radius: 3px;
	background-color: #aaaaaa;
}

.control-show {
	top: -2px;
	right: 110;
}

.control-hide {
	bottom: -20;
	right: 60;
}

.control-box {
	z-index: 1;
	position: relative;
	width: 100%;
	min-height: 50px;
	left: 0px;

	box-sizing: border-box;
	margin: 4px;
	padding: 3px;

	border: 1px solid grey;
	border-radius: 5px;

	background-color: #e0e0e0;

	text-align: center;
	vertical-align: middle;

	display: grid;
	grid-gap: 3px;

	grid-template-columns: 180px 100px 1fr minmax(100px, 500px);
	grid-template-rows: auto;

	grid-template-areas:
		'controls vote path name';
}

.controls {
	grid-area: controls;
	float: left;
}

.control-delimit {
	grid-area: controls;

	display: inline-block;
	float: left;

	content: " ";
	width: 20px;
	height: 100%;
	margin-right: 20px;
	
	border-right: 4px solid #555555;
}

@media (max-width: 640px) {

	.control {
		left: 20px;
		right: 20px;
	}
	
	.control-box {
		grid-gap: 5px;
		align-items: center;
		
		grid-template-columns: 150px 1fr;
		grid-template-rows: auto auto;

		grid-template-areas:
			'controls name'
			'vote .';
	}

	.control-show {
		top: -2px;
		right: 50;
	}

	.control-hide {
		bottom: -20;
		right: 30;
	}
}



.vote-controls {
	grid-area: vote;
	float: left;
	border-radius: 5px;
}

.vote, .result {
	float: left;
	box-sizing: content-box;
	color: black;

	z-index: 999;
	margin-right: 10px;
}

.control-icon {
	height: 40px;
	cursor: pointer;
	margin-right: 10px;
}



.name-box {
	position: relative;
	grid-area: name;
	
	display: grid;
	grid-gap: 2px;
	
	align-items: center;
	
	grid-template-columns: 1fr 40px;
	grid-template-rows: 1fr;


	grid-template-areas:
		'name toggle';
}

.time {
	grid-area: time;

	color: black;
	margin: 0;
	padding: 0;

	text-align: left;

	font-size: 80%;
	background-color: rgb(255,255,255,0.8);
	position: absolute;
	top: 6;
	right: 45;
}

.url {
	grid-area: toggle;
	text-align: right;
	overflow: none;
}

#film_url {
	display: none;
}

#film_path {
	grid-area: path;

	color: black;
	font-size: 105%;
	font-weight: normal;
	font-style: italic;

	text-align: left;
}

.film_wrapper {
	position: relative;

	grid-area: name;

	padding: 5px;
	min-height: 20px;

	color: black;
	background-color: white;
	border: 1px solid black;
	border-radius: 3px;
}

#film_name {
	position: absolute;

	
	font-size: 105%;
	font-weight: bold;

	text-align: left;
}

.film_pos {
	position: absolute;
	background-color: black;
	top: 0;
	bottom: 0;
	left: 0;
	width: 0%;
	opacity: 20%;
}

.film_repos {
	cursor: e-resize;
}


.browser {

	position: absolute;
	right: 0;
	top: 100%;
	width: auto;
	height: auto;

	display: inline-block;
	min-width: 50px;
}

@media (max-width: 640px) {
	.browser {
		left: 20px;
	}
}

.browser-content {
	box-sizing: border-box;
	border: 1px solid grey;
	margin-top: 10px;

	padding: 10px;

	width: 100%;
	max-height: 100%;

	overflow-x: hidden;
	overflow-y: scroll;

	background-color: rgb(255, 255, 255, 1);
	border-radius: 5px;
}

.dirs, .files {
	/*display: inline-block;*/

	min-width: 150px;
	min-height: 30px;

	text-align: left;
	color: black;

	margin: 10px;
	padding: 0;
}

.dirs {
	margin-bottom: 0;
}

.files {
	margin-top: 0;
}

.file-selected {
	background-color: #a0a0ff;
	color: white;
}

.control-dirs {
	font-weight: bold;
}

.files ul, .dirs ul {
	cursor: pointer;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.browser_icon {
	height: 20px;
	width: auto;

	margin-right: 5px;
}

.show-toggle {
	height: 30px;
	cursor: pointer;
	margin: 0;
}