/*
    Jquery plugin	
	svPlayer Multiple use video & youtube player version 2.4
	Creator: ThemeSpartans
	Created: 5/2/2015
	
	browsers supported: IE10 and later,Mozilla,Safari,Chrome,Opera IOS!	
*/
/* Video player Font face */
@font-face{
	font-family:ubuntu-titling;
	src:url(../fonts/UbuntuTitling-Bold.ttf);
}
/*Video player layer and wrapper*/
#svplayer {
	display: block;
	height: auto;
	min-height:100px;
	width: 100%;
	position: relative;
	font-family: ubuntu-titling;
	opacity: 0;
	background-color: #000000;
	overflow: hidden;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}
#message_error{
	position: absolute;
	width: 100%;
	height: auto;
	background-color: rgba(0,0,0,0.70);
	left: 0px;
	top: 0px;
	z-index: 999;
	color: #FFFFFF;
	font-size: 16px;
	text-align: center;
	padding: 10px 0;
	display: none;
}
canvas{
	width:100%;
	height:100%;
	display:block;
}
#svplayer #videoWrap {
	width: 100%;
	height:auto;
	min-height:150px;
	position: relative;
	overflow: hidden;
	display:block;
	z-index: 0;
}
#videoWrap #normalPlayer{
	width: 100%;
	height: auto;
	min-height: 150px;
	position: relative;
	overflow: hidden;
	display: none;
}
#videoWrap #ytWrapper{
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	background-color: #000000;
	display: none;
	z-index: 0;
}
#videoWrap #ytWrapper iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000000 !important;
	z-index: 0;
}
#knobSlider{
	width: 200px;
	height: 200px;
	position: absolute;
	z-index: 2;
	top: 0px;
	left: 0px;
	opacity: 0;
	transition: top .5s ease-in-out,left .5s ease-in-out,opacity .5s ease-in-out;
	-webkit-transition: top .5s ease-in-out,left .5s ease-in-out,opacity .5s ease-in-out;
	background-color: rgba(0,0,0,0.30);
	padding: 5px;
	border-radius: 50%;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}
#playPauseMain{
	width: 100px;
	height: 100px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -50px;
	margin-top: -50px;
	cursor: pointer;
}
#playPauseMain #timerbar {
	height: 10px;
	width: 100px;
	display: block;
	font-size: 14px;
	line-height: 10px;
	color: #ffffff;
	position: absolute;
	bottom: 0px;
	z-index: 0;
	text-align: center;
}
/*Video player video*/
#normalPlayer video {
	width: 100%;
	height: auto;
	display: block;
	position: relative;
	background-color: transparent !important;
	z-index: 0;
}
/*Video player controls header and list*/
#svplayer #header {
	width: auto;
	position: absolute;
	white-space: nowrap;
	overflow: hidden;
	z-index: 2;
	background-color: rgba(0,0,0,0.60);
	height: 25px;
	top: 5px;
	right: 5px;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out;
	border-radius: 5px;
	padding: 5px;
	opacity: 0;
}
#svplayer #controls {
	width: auto;
	position: absolute;
	overflow: hidden;
	white-space: nowrap;
	z-index: 2;
	background-color: rgba(0,0,0,0.60);
	height: 25px;
	top: 5px;
	left: 5px;
	border-radius: 5px;
	padding: 5px;
	opacity: 0;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out;
}
#controls #open{
	width:0px;	
	height:25px;
	float:left;
	display:inline-block;
	overflow:hidden;
}
#header #open{
	width:0px;	
	height:25px;
	float:right;
	display:inline-block;
	overflow:hidden;
}
#closeVideo{
	width:25px;
	height:25px;
	z-index: 2;
	background-color: rgba(0,0,0,0.60);
	top: 5px;
	left: 5px;
	position: relative;
	border-radius: 5px;
	padding: 5px;
	display:none;
	float: left;
}
#open_videosList{
	width: 26px;
	height: 26px;
	position: absolute;
	background-color: rgba(0,0,0,0.60);
	bottom: 10px;
	left: 0px;
	right:0px;
	margin: auto;
	opacity: 0;
	z-index: 2;
	padding: 4px;
	border-radius: 50%;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out;
}
#svplayer #videoList{
	width: 100%;
	height: 0px;
	position: absolute;
	background-color: rgba(0,0,0,0.60);
	bottom: 0px;
	left:0px;
	opacity: 0;
	z-index: 2;
	overflow: hidden;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out;
	display:block;
}
#svplayer #videoList ul,
#svplayer #videoList #scrollList{
	height: 100px;
	margin-top: 0px;
	margin-bottom: 0px;
	list-style-type: none;
	white-space: nowrap;
	position: relative;
	display: inline-block;
	padding-left: 0px;
}
#svplayer #videoList ul li{
	width: 80px;
	height: 80px;
	display: inline-block;
	margin-top: 10px;
	margin-right: 5px;
	margin-left: 5px;
	cursor: pointer;
	position: relative;
}
#svplayer #videoList ul li img{
	width:100%;
	height:auto;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out;
}
#svplayer #videoList ul li img:hover{
	-webkit-box-shadow: 0px 0px 0px 3px #cc181e;
	box-shadow: 0px 0px 0px 3px #cc181e;
}
#videoList ul li #playMobile{
	width: 60px;
	height: 60px;
	position: absolute;
	background-color: rgba(0,0,0,0.60);
	z-index: 1;
	border-radius: 50%;
	top: 0px;
	bottom:0px;
	left: 0px;
	right:0px;
	margin:auto;
}
.selectedTumb{
	-webkit-box-shadow: 0px 0px 0px 3px #cc181e;
	box-shadow: 0px 0px 0px 3px #cc181e;
}
#svplayer #controls #plasyPause {
	width: 25px;
	height: 25px;
	display: inline-block;
	position: relative;
	z-index: 0;	
}
#svplayer #controls #soundSpaker {
	width: 25px;
	height: 25px;
	display: inline-block;
	z-index: 0;
	position: relative;
}
#svplayer #controls #fullscreen {
	width: 25px;
	height: 25px;
	display: inline-block;
	z-index: 0;
	position: relative;	
}
#svplayer #controls #list {
	width: 25px;
	height: 25px;
	display: inline-block;
	z-index: 0;
	position: relative;
	float:left;
}
#svplayer #controls #replay {
	width: 25px;
	height: 25px;
	display: inline-block;
	z-index: 0;
	position: relative;
}
#svplayer #videoTitle {
	width: auto;
	height: 25px;
	position: relative;
	display: inline-block;
	font-size: 14px;
	text-align: left;
	color: #ffffff;
	line-height: 25px;
	padding-left: 5px;
	padding-right: 5px;
	vertical-align: top;
}
/*Buttons default and selected styles*/
#default {
	width: 25px;
	height: 25px;
	position: absolute;
}
#selected {
	width: 25px;
	height: 25px;
	position: absolute;
	display: none;
}
/*Social buttons*/
#social_button{
	width: 25px;
	height: 25px;
	display: inline-block;
	position: relative;
	cursor: pointer;
	float: right;
}
#shareTwitter{
	width: 25px;
	height: 25px;
	display: inline-block;
	position: relative;
	cursor: pointer;
}
#shareFacebook{
	width: 25px;
	height: 25px;
	display: inline-block;
	position: relative;
	cursor: pointer;
}
#shareGoogle{
	width: 25px;
	height: 25px;
	display: inline-block;
	position: relative;
	cursor: pointer;
}
#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:-ms-fullscreen #fullscreen #default{
	display: none;
}
#svplayer:-ms-fullscreen #fullscreen #selected{
	display: block;
}
#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 #videoWrap{
	display:table-cell;
	vertical-align:middle;
	height:100%;
}
#svplayer:-webkit-full-screen #videoWrap{
	display:table-cell;
	vertical-align:middle;
	height:100%;
}
#svplayer:fullscreen #videoWrap{
	display:table-cell;
	vertical-align:middle;
	height:100%;
}
#svplayer:-ms-fullscreen #videoWrap{
	display:table-cell;
	vertical-align:middle;
	height:100%;
}
#svplayer:-moz-full-screen iframe{
	left:0px;
	top:0px;
	bottom:0px;
	right:0px;
}
#svplayer:-webkit-full-screen iframe{
	left:0px;
	top:0px;
	bottom:0px;
	right:0px;
}
#svplayer:fullscreen iframe{
	left:0px;
	top:0px;
	bottom:0px;
	right:0px;
}
#svplayer:-ms-fullscreen iframe{
	left:0px;
	top:0px;
	bottom:0px;
	right:0px;
}
#svplayer:-moz-full-screen #ytWrapper{
	padding:0;
	width:100%;
	height:100%;
	min-width:100%;
	min-height:100%;
}
#svplayer:-webkit-full-screen #ytWrapper{
	padding:0;
	width:100%;
	height:100%;
	min-width:100%;
	min-height:100%;
}
#svplayer:fullscreen #ytWrapper{
	padding:0;
	width:100%;
	height:100%;
	min-width:100%;
	min-height:100%;
}
#svplayer:-ms-fullscreen #ytWrapper{
	padding:0;
	width:100%;
	height:100%;
	min-width:100%;
	min-height:100%;
}
/*Svg styles and colors*/
svg {
	width: 25px;
	height: 25px;
	cursor: pointer;
}
svg path {
	fill: rgba(255,255,255,0.65);
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out;
}
svg:hover path {
	fill: rgba(255,255,255,1);;
}
.clicked svg path{
	fill: rgba(255,255,255,1);;
}
#playMobile svg{
	width:60px;
	height:60px;
}
#playPauseMain svg{
	width:100px;
	height:100px;
}
#closeVideo svg{
	width:25px;
	heigh:25px;
	-webkit-transform:rotate(45deg);
	-moz-transform:rotate(45deg);
	-ms-transform:rotate(45deg);
	-o-transform:rotate(45deg);
	transform:rotate(45deg);
}
#shareGoogle svg:hover path {
	fill: #dd4b39;
}
#shareFacebook svg:hover path {
	fill: #3B5998;
}
#shareTwitter svg:hover path {
	fill: #00aced;
}
/*Preloader video*/
.svplayer_preloader{
	display:inline-block;
}
.svplayer_preloader .svplayer_dot{
	display:inline-block;
	width:10px;
	height:10px;
	border-radius:50%;
	background-color:#cc181e;
	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);
  }
}