.popup-hide {
	display: none;
}

.popup {
	display: block;
}

.darken{
	opacity: .5;
	background-color: #000000;
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
}


.video0{
	display: inline-block;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	position: relative !important;
	left: 0px;
	top: 0px;
}

.video1{
	display: inline-block;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	position: relative !important;
	left: 0px;
	top: 0px;
	margin: 0 auto;
}

.video2{
	display: inline-block;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	position: relative !important;
	left: 0px;
	top: 0px;
	margin: 0 auto;
}

.video3{
	display: inline-block;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	position: relative !important;
	left: 0px;
	top: 0px;
	margin: 0 auto;
}

.controls0{
	background-color: #EEEEEE;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}

.no-whitespace {
    white-space: unset !important;
}

.controls1{
	background-color: #EEEEEE;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	display: inline-block;
	max-width: 40%;
	position: fixed;
	margin: 0 auto;
	top: 0px;
	right: 0px;
	padding: .5rem !important;
	margin-bottom: 1rem !important;
	box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15) !important;
	border-radius: .25rem !important;
}

.controls2{
	background-color: #EEEEEE;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	display: inline-block;
	max-width: 40%;
	position: fixed;
	top: 0px;
	right: 0px;
	padding: .5rem !important;
	margin-bottom: 1rem !important;
	box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15) !important;
	border-radius: .25rem !important;
}

#controls pre{
	border: 2px solid #E7E9F3;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

#controls table{
	margin: 0 0 0px;
	border: 0px;
}

#controls tr, td{
	text-align: center;
	white-space: nowrap;
	margin: 0 0 0px;
	border: 0px;
	vertical-align: middle;
}

#controls td:hover{
	background-color: #f5f5f5;
}

.thumbnail{
	cursor: pointer;
	margin: 0 10px 20px 0;
	border: 2px solid #fff;
	box-shadow: 0 1px 1px #ccc;
	width: 200px;
}

#progress-bar{
	position: relative;
	width: 100%;
	height: 20px;
	cursor: pointer;
}


#controls i {
	color: #000;
	font-size: 24px;
	cursor: pointer;
}

#volume-input{
	height: 32px;
	width: 45px;
}


.video-container {
	float: none;
	clear: both;
	width: 100%;
	position: relative;
	padding-bottom: 56.25%;
	/* padding-top: 25px; */
	height: 0;
	z-index: 1;

        /* transition: visibility .15s ease, transform .15s ease, -webkit-transform .15s ease; */
        /* transition: transform 0.8s; */
        /* transition: background-color .25s ease-out; */
	-moz-transition: all 2.0s ease-in;
	-webkit-transition: all 2.0s ease-in;
	transition: all 2.0s ease-in;
}

.video-container iframe {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.video-container .video-thumbnail-hide {
        -webkit-transition: opacity 2s, visibility 2s;
        transition: opacity 2s, visibility 2s;
        opacity: 0 !important;
        visibility: hidden !important;
}

.video-container .video-thumbnail {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
        -webkit-transition: opacity 2s, visibility 2s;
        transition: opacity 2s, visibility 2s;
        opacity: 1;
        visibility: visible;
}

.video-container .video-thumbnail figure {
	position: absolute !important;
	top: 0;
	left: 0;
}

.video-container .video-thumbnail img {
	border: 0px !important;
	margin: 0px !important;
	padding: 0px !important;
}

.video-container .video-overlay {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	visibility: hidden;
}

.video-youtube-thumbnail-hack {
/*
    position: absolute;
    clip: rect(72px,760px,500px,0px);
    top: -72px;
    left: 3px;
    width: 770px;
    max-width: 760px;
    height: fit-content;
*/

    position: absolute;
    clip: rect(72px,760px,500px,0px);
    top: -72px;
    left: 0px;
    width: 767px;
    max-width: 767px;
    height: fit-content;
}


/*
@media screen and (max-width: 3840px) {
	.video-player {
		width: 100%;
		height: 1590px;
	}
}

@media screen and (max-width: 1920px) {
	.video-player {
		width: 100%;
		height: 325px;
	}
}

@media screen and (max-width: 1200px) {
	.video-player {
		width: 100%;
		height: 325px;
	}
}

@media screen and (max-width: 992px) {
	.video-player {
		width: 100%;
		height: 325px;
	}
}

@media screen and (max-width: 812px) {
	.video-player {
		width: 100%;
		height: 325px;
	}
}

@media screen and (max-width: 768px) {
	.video-player {
		width: 100%;
		height: 325px;
	}
}

@media screen and (max-width: 576px) {
	.video-player {
		width: 100%;
		height: 325px;
	}
}

@media (max-width: 480px) {
	.video-player {
		width: 100%;
		height: 540px;
	}
}


@media screen and (min-width: 1024px) {
	.video-player {width:100%;height:540px;}
}
@media screen and (max-width: 768px) {
	.video-player {width:100%;height:325px;}

}

@media screen and (max-width: 1000px) {
	.video-player {
		width:100%;
		height:325px;
	}

	header h1 {
		float: none;
	}

	header a {
		margin-top: 5px;
		float: none;
	}
}


@media screen and (max-width: 1200px) {
	.video-player {
		max-width: 100%;
		position: static;
		width:100%;
		height:325px;
	}

	#controls {
		margin-right: 0;
	}

	#bsaHolder {
		display:none;
	}
}
*/

