/*
	Simple Video Player (svPlayer)
	Simple implementation of a HTML5 video player for WordPress style css file
	Version: 2.1
	Author: ThemeSpartans

*/
/**************************************************************************/
/* Video player Font face */
@font-face{
	font-family:ubuntu-titling;
	src:url(../fonts/UbuntuTitling-Bold.ttf);
}
/*Video player layer and wrapper*/
.sv_container{
	width:auto;
	height:auto;
	display:block;
	position:relative;
	overflow: hidden;
}
#svplayer {
	display: block;
	height: auto;
	width: 100%;
	position: relative;
	font-family: ubuntu-titling;
}
#svplayer canvas{
	width: 100%;
	height: 100%;
	display: block;
}
#svplayer #sv_videoWrap {
	width: 100%;
	height: auto;
	position: relative;
	z-index: 0;
	font-size: 0;
	display:inline-block;
	vertical-align: top;
	opacity:0;
	background-color: #000000;
}
#svplayer #knobSlider_svplayer{
	width: 30%;
	max-height: 200px;
	max-width: 200px;
	position: absolute;
	z-index: 2;
	top: 0px;
	left: 0px;
	bottom:0;
	right:0;
	opacity: 0;
	transition: opacity .5s ease-in-out;
	-webkit-transition: opacity .5s ease-in-out;
	background-color: rgba(0,0,0,0.30);
	display: block;
	padding: 5px;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;	
	border-radius: 50%;
	margin:auto;
}
#svplayer #playPauseMain{
	width: 50%;
	height: 50%;
	position: absolute;
	top: 0;
	left: 0;
	bottom:0;
	right:0;
	margin:auto;
	cursor: pointer;
}
#svplayer.mobile-view #playPauseMain{
	width: 20%;
	position: absolute;
	top: 0;
	left: 0;
	bottom:0;
	right:0;
	background-color: rgba(0,0,0,0.30);
	border-radius: 50%;
	opacity: 0;
	transition: opacity .5s ease-in-out;
	-webkit-transition: opacity .5s ease-in-out;
}
#svplayer #playPauseMain #timerbar {
	height: 10px;
	width: 100%;
	display: block;
	line-height: normal;
	color: #ffffff;
	position: absolute;
	bottom: 0px;
	z-index: 0;
	text-align: center;
}
/*Video player video*/
#svplayer #sv_videoWrap video {
	width: 100% !important;
	height: auto;
	position: relative;
	background-color: transparent !important;
	z-index: 0;
	display:block;
}
/*Video player controls header and list*/
#svplayer #sv_header {
	width: auto;
	position: absolute;
	white-space: nowrap;
	overflow: hidden;
	z-index: 2;
	height: auto;
	top: 5px;
	right: 5px;
	padding: 5px;
	display: flex;
}
#svplayer #sv_header > div,
#svplayer #sv_controls > div{
	background:rgba(0,0,0,0.25);
	border-radius: 50%;
}
#svplayer #sv_controls {
	width: auto;
	position: absolute;
	overflow: hidden;
	white-space: nowrap;
	z-index: 2;
	height: auto;
	top: 5px;
	left: 5px;
	padding: 5px;
	display: flex;
}
#svplayer #sv_controls #playPause{
	width: 25px;
	height: 25px;
	display: inline-block;
	z-index: 0;
	position: relative;
	transition: transform .1s ease-in-out .1s;
	transform: scale(0);
}
#svplayer #sv_controls #soundSpaker {
	width: 25px;
	height: 25px;
	display: inline-block;
	z-index: 0;
	position: relative;
	transition: transform .1s ease-in-out;
	transform: scale(0);
}
#svplayer #sv_controls #fullscreen {
	width: 25px;
	height: 25px;
	display: inline-block;
	z-index: 0;
	position: relative;	
	transition: transform .1s ease-in-out .1s;
	transform: scale(0);
}
#svplayer #sv_controls #replay {
	width: 25px;
	height: 25px;
	display: inline-block;
	z-index: 0;
	position: relative;
	transition: transform .1s ease-in-out .2s;
	transform: scale(0);
}
#svplayer #sv_bottom {
	position: absolute;
	left:0;
	right:0;
	bottom:5px;	
	text-align: center;
}
#svplayer #sv_videoTitle {
	width: auto;
	display: inline-block;
	font-size: 14px;
	text-align: center;
	color: #ffffff;
	padding:5px;
	opacity:0;
	transition: opacity .5s ease-in-out;
	background: rgba(0,0,0,0.25);
	margin:0 auto;
	border-radius: 5px;
	line-height: normal;
}
/*Buttons default and selected styles*/
#svplayer #default {
	width: 25px;
	height: 25px;
	position: absolute;
}
#svplayer #selected {
	width: 25px;
	height: 25px;
	position: absolute;
	display: none;
}
#svplayer #playPauseMain #default, 
#svplayer #playPauseMain #selected {
	width: 100%;
	height: 100%;
}
/*Social buttons*/
#svplayer #shareTwitter{
	width: 25px;
	height: 25px;
	display: inline-block;
	position: relative;
	cursor: pointer;
	transition: transform .1s ease-in-out .2s;
	transform: scale(0);
}
#svplayer #shareFacebook{
	width: 25px;
	height: 25px;
	display: inline-block;
	position: relative;
	cursor: pointer;
	transition: transform .1s ease-in-out .1s;
	transform: scale(0);
}
#svplayer #shareGoogle{
	width: 25px;
	height: 25px;
	display: inline-block;
	position: relative;
	cursor: pointer;
	transition: transform .1s ease-in-out;
	transform: scale(0);
}
#svplayer #errorPlayer {
	font-size: 16px;
	color: #414141;
	text-align: center;
}
/*Full screen styles*/
#svplayer:-webkit-full-screen {
	left: 0px;
	top: 0px;
	min-width: 100%;
	min-height: 100%;
	display:table;
	z-index:99999;
}  
#svplayer:-ms-fullscreen{
	min-width:100%;
	min-height:100%;
	display:table;
	z-index:99999;
}
#svplayer:fullscreen{
	min-height:100%;
	display:table;
	z-index:99999;
}
#svplayer:-moz-full-screen{
	min-height:100%;
	display:table;
	z-index:99999;
}
#svplayer:-moz-full-screen #sv_videoWrap{
	display:table-cell;
	vertical-align:middle;
}
#svplayer:-webkit-full-screen #sv_videoWrap{
	display:table-cell;
	vertical-align:middle;
}
#svplayer:fullscreen #sv_videoWrap{
	display:table-cell;
	vertical-align:middle;
}
#svplayer:-ms-fullscreen #sv_videoWrap{
	display:table-cell;
	vertical-align:middle;
}
/*Svg styles and colors*/
#sv_controls svg, #sv_header svg{
	padding:2px;
}
#svplayer svg {
	width: 25px;
	height: 25px;
	cursor: pointer;
}
#svplayer svg path {
	fill: rgba(255,255,255,0.95);
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out;
}
#svplayer svg:hover path {
	fill: rgba(255,255,255,1);
}
#svplayer .clicked svg path{
	fill: rgba(204,24,30,1);
}
#svplayer #playPauseMain svg{
	width:100%;
	height:100%;
}
#svplayer #shareGoogle svg:hover path {
	fill: #dd4b39;
}
#svplayer #shareFacebook svg:hover path {
	fill: #3B5998;
}
#svplayer #shareTwitter svg:hover path {
	fill: #00aced;
}
/*Preloader video*/
.svplayer_preloader{
	display:inline-block;
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	width:30px;
	height:18px;
	margin:auto;
	z-index: 1;
}
.svplayer_preloader .svplayer_dot{
	display:inline-block;
	width:10px;
	height:10px;
	border-radius:50%;
	background-color:#aaa;
	transform-origin: 50% 50%;
    -webkit-animation: preloading 0.3s ease-in-out infinite alternate;
    animation: preloading 0.3s ease-in-out infinite alternate;
}
.svplayer_preloader .svplayer_dot2{
    -webkit-animation-delay: -0.1s;
	animation-delay: -0.1s;
}
.svplayer_preloader .svplayer_dot3{
    -webkit-animation-delay: -0.2s;
	animation-delay: -0.2s;
}
@-webkit-keyframes preloading{
  from{    
	-webkit-transform: scale(0);
  }
  to{    
	-webkit-transform: scale(1);
  }
}
@keyframes preloading{
  from{    
	-webkit-transform: scale(0);
	transform: scale(0);
  }
  to{    
	-webkit-transform: scale(1);
	transform: scale(1);
  }
}
/*full screen detect*/
@media all and (display-mode: fullscreen) {
	#svplayer #default{
		display: none;
	}
	#svplayer #selected{
		display: block;
	}
}