body { background-color: transparent !important;margin:0px !important;}
.video-js { background-color: transparent !important;}
.fp-powiazane img
{ transition: all .2s ease-in-out; }
.fp-powiazane img:hover
{
  transform: scale(1.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
.vjs-my-custom-modal .vjs-modal-dialog-content {
      color: red;
      margin-top: 40px;
      margin-left: 40px;
    }
.popler-error{

    background-color: rgba(0, 0, 0, 0.5);
    text-align: left;
    font-size: 1.2em;
    overflow: hidden;
    filter: alpha(opacity=1);
    opacity: 1;
    padding: .6em .9em;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
	position:absolute;
	top:0;
	width: 100%;
}

.video-js .fp-chat {
	transition: .2s ease-in;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	position:absolute;
	right: 0px;
	top: 0px;
	height:90%;
	overflow: hidden;
	font-size: 12px;
	font-weight: normal;
	z-index: 12;
	/*font-family: "myriad pro",Helvetica,Arial,sans-serif;*/
	font-size: 11px;
	width:40%;
	background: rgba(0,0,0,0.3);
	display:none;


}
.video-js .fp-chat-icon
{
	position:absolute;
	right: 30px;
	top: 30px;
    width: 100%;
    text-align: right;
	opacity:1;
       transition: opacity 2s;
       -moz-transition: opacity 2s;
       -webkit-transition: opacity 2s;
       -o-transition: opacity 2s;

}
.video-js:hover .fp-chat-icon
{
	opacity:1;
       transition: opacity 0.1s;
       -moz-transition: opacity 0.1s;
       -webkit-transition: opacity 0.1s;
       -o-transition: opacity 0.1s;
}
.video-js .fp-chat-icon img
{
	width:8%;
	max-width:50px;
}
.video-js .fp-chat a {
	display: block;
	list-style: none;
	background-color: #333;
	background-color: rgba(51, 51, 51, 0.6);
	margin: 5px;
	padding: 5px;
	border-radius: 3px;
	color: #fff;
	text-shadow: 0 0 2px #000;
	overflow: hidden;
	text-align: left;
}
.video-js .fp-chat a.is-active {
	background-color: #00a7c8;
	background-color: rgba(0, 167, 200, 0.6);
	cursor: default;
}
.video-js .fp-chat a.is-active:hover {
	background-color: #00a7c8;
	background-color: rgba(0, 167, 200, 0.6);
}
 .fp-chat a:hover {
	background-color: #444;
	background-color: rgba(51, 51, 51, 0.8);
}


@media screen and (orientation: portrait) {
.video-js.vjs-fullscreen .fp-chat {
    width: 100%;
    bottom: 30px;
    height: 25%;
    top: auto;
  }


}
#player_wrap .endscreen
{
	width:100%;
	height:100%;
	top:0px;
	left:0px;
	background-color:transparent;

}
#player_wrap.is-finished-live .endscreen {
  z-index: 12;
 display: block;
}

#player_wrap.is-finished .endscreen {
  z-index: 12;
 display: block;
}

#player_wrap .endscreen {
  top: 10%;
  left: 10%;
  position: absolute;
  width: 80%;
  height: 70%;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  font-size: 14px;
  background-color: rgba(0,0,0,.3);
  text-align: center;
  z-index:9999;
 display: none;
}
#player_wrap .endscreen h3 {
  font-size: 160%;
  font-weight: bold;
  color: #ccc;
  margin-top: 10%;
}
#player_wrap .endscreen h4 {
  font-size: 120%;
  color: #eee;
}
#player_wrap .endscreen .button {
  background-color: transparent;
  padding: 20px 30px;
  margin: 15px 0;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  border-radius: 60px;
  font-size: 110%;
  color: #eee;
  cursor: pointer;
  display: inline-block;
  -webkit-transition: background-color .1s;
  -moz-transition: background-color .1s;
  transition: background-color .1s;

}
#player_wrap .endscreen .button:hover {
  background-color: #da3a06;
}
#player_wrap .endscreen .button:active {
  background-color: #da3a06;
}
#player_wrap.endscreen .fp-toggle {
  display: block;
  color: #eee;
  cursor: pointer;
}
#player_wrap .endscreen .fp-toggle:hover {
  color: #444;
}
.mute-info{
	padding: 10px;
    position: absolute;
    background-color: rgba(255,255,255,0.8);
    color: #000;
    top: 40%;
    left: 10%;
    border-radius: 5px;
    line-height: 20px;
}
.mute-info:before {
	    content: "\e908";
    font-family: nuevo;
	    font-size: 20px;
}

.ytp-popup {
    position: absolute;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(28,28,28,0.9);
    text-shadow: 0 0 2px rgba(0,0,0,.5);
    -moz-transition: opacity .1s cubic-bezier(0.0,0.0,0.2,1);
    -webkit-transition: opacity .1s cubic-bezier(0.0,0.0,0.2,1);
    transition: opacity .1s cubic-bezier(0.0,0.0,0.2,1);
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}
.ytp-contextmenu {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2300;
    font-family: Roboto,Arial,Helvetica,sans-serif;
    text-align: left;
    direction: ltr;
    font-size: 11px;
    line-height: 1.3;
    -webkit-font-smoothing: antialiased;
    will-change: width,height;
}
.ytp-panel {
    position: absolute;
    bottom: 0;
    right: 0;
    overflow-y: auto;
    overflow-x: hidden;
}
.ytp-panel-menu {
    padding: 8px 0;
    display: table;
    width: 100%;
    color: #eee;
    box-sizing: border-box;
}
.ytp-menuitem {
    display: table-row;
    cursor: default;
    outline: none;
    height: 40px;
}
.ytp-menuitem-label {
    font-size: 118%;
    font-weight: 500;
}
.ytp-menuitem-label {
    padding-left: 0;
}
.ytp-menuitem-label {
    display: table-cell;
    vertical-align: middle;
    padding: 0 15px;
}
.ytp-menuitem-icon {
    padding: 0 10px;
}
.ytp-menuitem-icon {
    display: table-cell;
    vertical-align: middle;
}
.video-js .vjs-fullscreen-control
{
	z-index: 99;
}
.vjs-icon
{
	display:none !important;
}



.video-js .vjs-progress-control .vjs-play-progress
{
background-color: #e73216;
}
.video-js .vjs-volume-panel .vjs-volume-horizontal .vjs-slider-horizontal .vjs-volume-level
{
background-color: #e73216;
}
.vjs-menu-title
{
	background-color: #e73216 !important;
}
video::cue {
  color: white;



}
video::-webkit-media-text-track-container {
    // Style the container

}

video::-webkit-media-text-track-background {


}
video::-webkit-media-text-track-display-backdrop {
	background-color: rgba(0, 0, 0, 0.8) !important; /* Semi-transparent black background */
	opacity: 1 !important; /* Ensure opacity is 1 or higher to see the background */
}

video::-webkit-media-text-track-display {
	background-color: rgba(0, 0, 0, 0.8) !important; /* Semi-transparent black background */
opacity: 1 !important; /* Ensure opacity is 1 or higher to see the background */
padding:20px;
}



/* WebKit/Chromium*/
video::-webkit-media-text-track-display         { opacity: 0 !important; }
video::-webkit-media-text-track-display-backdrop{ opacity: 0 !important; }

/* Ogólny ::cue – ograniczony zestaw właściwości; opacity może być ignorowane,
   więc awaryjnie „przezroczysty” kolor i brak cieni*/
video::cue {
  color: transparent !important;
  background: transparent !important;
  text-shadow: none !important;
}

body,html{
	height:100%;
}
