/*---------------------------------------------------------------------------
	VIDEO
---------------------------------------------------------------------------*/

#videoShadowBox {
	position: fixed;
	display: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.85);
	z-index: 8000;
}

#videoPlayer {
text-align: left;
}

#videoPlayerContainer {
	position: fixed;
	border-left: 4px solid #ffffff;
	border-right: 4px solid #ffffff;
	border-top: 4px solid #ffffff;
	z-index: 9000;
	background-color: #000;
	/* temporary jplayer fix */
	border: 4px solid #ffffff !important;
}

#videoPlayerContainer.hide {
	top: -400% !important;
}

#videoPlayerContainer .close {
	background-image: url("../_img/close.png");
    background-size: 100% auto;
    cursor: pointer;
    height: 35px;
    left: 3px;
    position: absolute;
    top: 3px;
    width: 35px;
    z-index: 6000;
}

.jp-full-screen {
	background-image: url("../_img/fullscreen.png");
    background-size: 100% auto;
    cursor: pointer;
    height: 35px;
    width: 35px;
    z-index: 6000;
    position: absolute;
    right: 3px;
	top: 3px;
}

.jp-interface {
    background-color: #ffffff;
    border-left: 4px solid #fff;
    border-right: 4px solid #fff;
    bottom: -61px;
    height: 61px;
    left: -4px;
    position: absolute;
    text-align: center;
    width: 100%;
    /* temporary jplayer fix */
    display: none !important;
}

/* poster image play click*/
.jp-video-play {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 9999;
}

.jp-play {
	min-width: 5%;
	height: 100%;
	background-image: url(../_img/vid_play.png);
	background-size: 100% auto;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	left: 0;
  border-right: 1px solid rgb(164,164,164);
  border-right: 1px solid rgba(127,127,127,0.3);
}

.jp-pause {
	min-width: 5%;
	height: 100%;
	background-image: url(../_img/vid_pause.png);
	background-size: 100% auto;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	left: 0;
  border-right: 1px solid rgb(164,164,164);
  border-right: 1px solid rgba(127,127,127,0.3);
}

.jp-mute {
	min-width: 5%;
	height: 100%;
	background-image: url(../_img/vid_mute.png);
	background-size: 100% auto;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	right: 0;
	top: 0;
  border-left: 1px solid rgb(164,164,164);
  border-left: 1px solid rgba(127,127,127,0.3);
}

.jp-unmute {
	min-width: 5%;
	height: 100%;
	background-image: url(../_img/vid_unmute.png);
	background-size: 100% auto;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	right: 0;
	top: 0;
  border-left: 1px solid rgb(164,164,164);
  border-left: 1px solid rgba(127,127,127,0.3);
}

.jp-volume {
	width: 57px;
	height: 100%;
	float: right;
	background-color: green;
}

#videoTimeProgress {
	width: 83%;
	max-width: 1200px;
	height: 100%;
	margin: auto;
	display: inline-block;
}

.jp-time {
	margin-top: 23px;
	color: #727272;
	font-family: 'AvenirNextLTPro-Regular', 'helvetica', sans-serif;
	font-size: 16px;
	float: left;
}

.jp-no-solution {
	position:absolute;
	width:390px;
	margin-left:-202px;
	left: 50%;
	top: 10px;

	padding:5px;
	font-size:.8em;
	background-color:#eee;
	border:2px solid #009be3;
	color:#000;
	display:none;
}


.jp-progress {
	width: 82%;
	max-width: 800px;
	margin: 27px 0 15px 10px;
	height: 6px;
	float: right;
}

.jp-seek-bar {
	width:0px;
	height:100%;
	cursor: pointer;
  border: 1px solid rgb(193,193,193);
  border: 1px solid rgba(127,127,127,0.5);
}

.jp-play-bar {
	width:0px;
	height:100%;
	background: #cccccc;
}

.jp-video-full video  {
	width: 100% !important;
	height: auto !important;

}

#videoPlayerContainer.jp-video-full  {
	width: 100% !important;
	height: auto !important;
	top: 0 !important;
	margin: 0 !important;
	left: 0 !important;
	border: none !important;

}

.jp-video-full .jp-interface {
	bottom: 0;

}

.jp-video-full .close,
.jp-video-full .jp-full-screen {
	display: none;
	
}

@media screen and (max-width: 1200px) {

.jp-time {
	font-size: 1.5vw;
	margin-top: 26px;
}

.jp-progress {
	width: 77%;
}



@media screen and (max-width: 580px) {

*::-webkit-media-controls {
min-width: 100%;
}

/*div#videoControls div.jp-progress {
	bottom:0px;
	left:0px;
	position: absolute;
	width:100%;
	height:8px;
	background-color: #dcdbda;
	z-index: 4000;
}*/

#videoPlayerContainer {
	border-bottom: 4px solid #ffffff;
}


div#videoControls div.jp-seek-bar {
	width:0px;
	height:100%;
	cursor: pointer;
	background-color: #dcdbda;
}

div#videoControls div.jp-play-bar {
	width:0px;
	height:100%;
}

.jp-mute,
.jp-unmute,
.jp-play,
.jp-pause {
width: 12%;	
}

#videoTimeProgress {
    width: 70%;
}

.jp-progress {
    width: 71%;
}

#videoPlayerContainer .close {
    left: -8px;
    top: -47px;
}

.jp-full-screen {
	right: -7px;
    top: -47px;
	
}

.jp-video-full .close {
	display: block;
	top: 3px;
	left: 3px;
}

#videoPlayerContainer {
    border-bottom: 4px solid #ffffff;
	border-left: none;
    border-right: none;
    border-top: 2px solid #ffffff;
    height: auto !important;
    left: 0 !important;
    margin: 0 !important;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
    width: 100% !important;
}

#videoPlayerContainer .close {
    left: 5px;
    top: -44px;
}

#videoPlayer {
    height: auto !important;
    text-align: left;
    width: 100% !important;
}

#videoPlayer video {
    height: auto !important;
    width: 100% !important;
}

}

@media screen and (max-width: 460px) {
	
	.jp-time {
		
		display: none;
	}
	
	jp-interface {
    border-left: medium none;
    border-right: medium none;
    bottom: -50px;
    height: 50px;
    left: 0;
}

.jp-progress {
    width: 80%;
}

.jp-progress {

    height: 6px;
    margin: 10%;
}

	
}
