html, body {
	margin: 0px;
	padding: 0px;
	background-color:#000000;
}
#canvas {
	background-color:#000000;
	background-image:url(1920x900.jpg);
	background-size:cover;
	border: 0px solid #000000;
	width: 100%;
	/*height: 100%;*/
	padding: 0;
	position: absolute;
	cursor: pointer;
}

#container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: absolute;
    box-sizing: border-box;
    max-width: 1920px;
    max-height: 900px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
#videocontainer{
    width: 50%;
    height: 50%;
    position: absolute;
    right: 10%;
    bottom: 20%;
    margin: 0 auto;
}
#videoplayer {
	border: solid 0px #000000;
	width: 100%;
	height: 100%;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index:100;
}
#videocontrols {
	width: 100%;
	height: 40px;
	background: transparent url('controls-background.png');
	position: absolute;
	right: 0px;
	bottom: 0px;
	z-index:104;
	padding: 0px;
	opacity: 0;
	-webkit-transition: opacity .3s;
	-moz-transition: opacity .3s;
	-o-transition: opacity .3s;
	-ms-transition: opacity .3s;
	transition: opacity .3s;
}
#topbutton {
	text-align: center;
	z-index:105;
	padding: 0px;
	width: 50%;
	height: 50%;
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
#topbutton img {
	cursor: pointer;
	opacity: 0;
	max-width: 100%;
	max-height: 100%;
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
 }
#frame {
	width: 100%;
	height: 100%;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index:103;
	background: transparent url('frame.png') no-repeat center center;
	background-size: cover;
}
#poster {
	width: 100%;
	height: 100%;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index:102;
	background: transparent url('poster.jpg') no-repeat center center;
	background-size: cover;
}
#videocontainer:hover #videocontrols {
	opacity: 1;
}
#videocontrols #play-pause, #videocontrols #mute, #videocontrols #full-screen {
	width: 40px;
	height: 40px;
	border: 0px;
	cursor: pointer;
}
#videocontrols #play-pause {
	float: left;
	background: transparent url('controls.png') 0px 0px no-repeat;
}
#videocontrols #play-pause.play {
	background-position: -40px 0px;
}
#videocontrols #play-pause.pause {
	background-position: 0px 0px;
}
#videocontrols #mute {
	float: right;
	background: transparent url('controls.png') -120px 0px no-repeat;
}
#videocontrols #full-screen {
	display: none;
	float: right;
	margin-right: 2px;
	background: transparent url('controls.png') -80px 0px no-repeat;
}
.flashit{
	-webkit-animation: flash linear 1s infinite;
	animation: flash linear 1s infinite;
}
@-webkit-keyframes flash { 0% { opacity: 1; } 50% { opacity: .1; } 100% { opacity: 1; } }
@keyframes flash { 0% { opacity: 1; } 50% { opacity: .1; } 100% { opacity: 1; } }
#zamknij {
	width: 10%;
	height: 120px;
	cursor: pointer;
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 9999;
}
@media (max-width: 992px) {
	#zamknij {
		width: 25%;
		height: 60px;
		top: 0px;
	}
}
