*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
	height: 100%;
	box-sizing: border-box;
}
body {
	margin: 0;
	height: 100%;
	background-color: #111111;
	/* background-image: radial-gradient(ellipse at center, #222 0%, #000 100%); */
	color: #fafafa;
	font-family:  Arial, sans-serif;
	font-size:32px;
	line-height: 1.4;
	/* background: url(http://media.giphy.com/media/3o6EhGvKschtbrRjX2/giphy-tumblr.gif); */
    background-size: cover;
    background-repeat: no-repeat;
	
}

.smaller{
  font-size: 16px;
}

.overlay{
	background: radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.9) 100%);
    width: 100%;
    height: 100%;
}

#lines {
	position: relative;
}
.shnata{
	width: 0.5px;
    background: #fff;
    height: 22px;
    position: absolute;
}


h2{
    font-size: 26px;
    font-weight: bold;
}

.point {
	cursor: pointer;
}
.pullright{
	font-size: 12px;
    text-align: right;
    float: right;
    margin: 10px 0;
}
a {
	text-decoration: underline;
	color: #eee;
}

a:hover {
	color: #fff;
}

.desc {
	font-size: 14px;
	
}

.randomize{
	color: red;
animation-name: blink; 
animation-duration:0.5s; 
animation-direction:alternate; 
animation-iteration-count:infinite; 
-webkit-animation-name: blink; 
-webkit-animation-duration:0.5s; 
-webkit-animation-direction:alternate; 
-webkit-animation-iteration-count:infinite; }	

@keyframes blink 
{
0% {color:red;} 
20% {color:magenta;} 
40% {color:green;} 
60% {color:cyan;} 
80% {color:yellow;} 
} 

@-webkit-keyframes blink 
{ 
0% {color:red;} 
20% {color:magenta;} 
40% {color:green;} 
60% {color:cyan;} 
80% {color:yellow;} 
}


.controls {
	position: fixed;
	bottom: 0;
	right: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 150;
	/* padding: 20px; */
	opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.controls:hover {
	opacity: 1;
} 

#subs {
	text-align: center;
	font-size: 60px;
	font-weight: bold;
	text-shadow: 0px 0px 7px rgba(150, 150, 150, 1);
	line-height: 1;

}

table{margin:0; padding:5px;}

table td:first-child, table td:nth-child(2) {
  width: 1%;
  white-space: nowrap;
}

td {
  padding: 10px 10px 0;
}
/* 
.input-container {
  height: 30px;
  background: yellow;
  position: relative;
}
.input-track {
  position: absolute;
  background: red;
  height: 100%;
  top: 0;
  left: 0;
  width: 30%;
}
.input-tab {
  position: absolute;
  height: 40px;
  background: blue;
  border-radius: 5px;
  width: 30px;
  top: -5px;
  opacity: .5;
  left: 30%;
  margin-left: -15px;
}
 */

#player {
	/*width: 85%;
	float: right; */
}

#seconds{
/* float: left; */
font-size: 12px;
padding: 0;
}

#play{
/* float: left; */
	height:32px; 
	width: 32px;
	border: none;
	background-position: center;
	cursor: pointer;
	padding: 0;
	margin-top: 10px;
	margin-right: -5px;
}

.play{background: url(play.png) no-repeat center center;}
.pause{background: url(pause.png) no-repeat center center;}


#files{
font-size: 20px;
    padding: 0 20px 20px 20px;
}
#files a{
text-decoration:none;
}

.share{
	background: rgba(0,0,0,0.5);
    padding: 5px;
    float: right;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid #fafafa;
	cursor: pointer;
}

#voice {
display: none;
}

#radios label, #gifs label {
	
    display: block;
    font-size: 16px;
    width: 46%;
    float: left;
	margin: 10px 3% 0 0;
	cursor: pointer;
	white-space: nowrap;
    overflow: hidden;
	text-overflow: ellipsis;
}


[type="radio"], [type="checkbox"] {
  border: 0; 
  clip: rect(0 0 0 0); 
  height: 1px; margin: -1px; 
  overflow: hidden; 
  padding: 0; 
  position: absolute; 
  width: 1px;
}



[type="radio"] + span {
/*   display: block; */
}

/* the basic, unchecked style */
[type="radio"] + span:before, [type="checkbox"] + span:before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: -4px;
  /* border-radius: 1em; */
  border: 2px solid #fff;
  margin-right: 10px;
  /* transition: 0.5s ease all; */
}

/* the checked style using the :checked pseudo class */
[type="radio"]:checked + span:before, [type="checkbox"]:checked + span:before {
  background: #e94136;
}

/* never forget focus styling */
[type="radio"]:focus + span:after, [type="checkbox"]:focus + span:after {
/*   content: '\0020\2190';
  font-size: 1.5em;
  line-height: 1;
  vertical-align: -0.125em; */
}



/* 

.scrubber .track {

    position: absolute;
    top: 50%;
    left: 0px;
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 3px;
    margin-top: -3px;
}



.scrubber .thumb {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 0px;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    margin-top: -11px;
    cursor: pointer;
	background: #ccc;
	border-radius: 100%;
    opacity: 0.7;
    border: 8px solid #BECFE4;
    border-radius: 100%;
    background: #4F81BD;
    transition: border-width 0.2s ease 0s;
	
}



.scrubber .thumb:hover,
.scrubber-vert .thumb:hover,
.thumb.dragging {
  border-width: 0px;
  opacity: 1;
  background: #fff;
}

 */


#error{
	border: 2px solid #e94136;
	z-index: 250;
	padding-top: 50px;

	min-height: auto;
	width: 50%;
	padding: 50px 10px;
	margin: 0 25%;
	top: 40%;
	transform: translate(0, -50%);
}

#errormsg{
	font-size: 30px;
	font-weight: bold;
	margin: 0 auto;
}

.modal {
	position: absolute;
	background-color: #222222;
	background: radial-gradient(ellipse at center, #222222 0%, #000000 100%);
	top: 0;
	left: 0;
	width: 100%;
	min-height: 100%;
	z-index: 200;
}


.content{

    position: absolute;
    top: 40%;
	left: 25%;
	right: 25%;
    font-size: 24px;
	transform: translate(0,-50%);
}

.modal .content {
	position: static;
	transform: none;
	margin: 70px auto;
	width: 90%;
	max-width: 600px;
}

#about .content {
	text-align: left;
	font-size: 16px;
	line-height: 1.4;
}


#subplayer .content {
	left: 15%;
	right: 15%;
}

#searchquery {
	padding:8px 15px;
	background: black;
	border:2px solid #fff;
	border-radius: 0;
	color: #fff;
	font-family:  Arial, sans-serif;
}

#searchquery:hover, #searchquery:focus, #searchquery:active{
    outline:none;
    background: #222;
  }

button, button:hover, button:focus, button:active {
	outline: none;
}



.close{
	width: 32px;
    height: 32px;
    position: fixed;
    right: 20px;
    top: 20px;
    overflow: hidden;
    border: none;
    background: url(x.png) no-repeat center center;
    text-indent: 200%;
    color: transparent;
    outline: none;

}



/*

.modal:target {
	display: block;
	z-index: 50;
}


#page3 {
	display: block;
}
.modal:target + #page3, .modal:target + .modal + #page3 {
	display: none;	
}
*/



.menu {
	z-index: 100;
	position: fixed;
	right: 0;
	top: 0;
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

li {
    float: right;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}


.icon {
	display: block;
	width: 52px;
	height:52px;
	-webkit-filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.4));
	filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.4));
	
}

.icon-settings {
	background: url('cog.png') no-repeat center center;
}
.icon-about {
	background: url('info.png') no-repeat center center;
}
.opensearch {
	background: url('search.png') no-repeat center center;
	position: fixed;
    left: 0;
    top: 0;
}
.backtofilm {
	background: url('back.png') no-repeat center center;
	position: fixed;
    left: 0;
    top: 0;
}

#loader{
	position: fixed;
	top: 40%;
	font-size: 16px;
	transform: translate(0,-50%);
	width:100%;
	text-align: center;
	font-weight: bold;
/* 	background: url('loading.gif') no-repeat center center;
	position: fixed;
	width: 32px;
	height: 32px;
	left: 50%;
    margin-left: -16px;
	top: 45%; */
}

input[type="text"] {
  width: 100%;
  padding: 0.5em;
  font-size: 1.2em;
}





label {
  display: block;
  font-weight: bold;
  margin: 20px 0 10px 0;

}

.hidden {
	display: none;
}
/*

#msg {
  font-size: 14px;
}

#msg.not-supported strong {
  color: #CC0000;
}


input[type="range"] {
  width: 280px;
}


.option {
  margin: 1em 0;
}

input[type=range] {
  -webkit-appearance: none;
  margin: 18px 0;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 2px;
  cursor: pointer;
  animate: 0.2s;
  background: #eee;
  border-radius: 0;
}
input[type=range]::-webkit-slider-thumb {
  border: 1px solid #000000;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -12px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #fff;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 2px;
  cursor: pointer;
  animate: 0.2s;
  background: #eee;
}
input[type=range]::-moz-range-thumb {
  border: 1px solid #000000;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 2px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  border-width: 12px 0;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
background: #eee;
}
input[type=range]::-ms-fill-upper {
background: #eee;

}
input[type=range]::-ms-thumb {
margin-top: 0;
  border: 1px solid #000000;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: #fff;
}
input[type=range]:focus::-ms-fill-upper {
  background: #fff;
}



.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 150%;
    left: 50%;
    margin-left: -60px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}


*/

@media only screen and (max-width : 768px) {
		.content{
			top: 40%;
			left: 5%;
			right: 5%;
			font-size: 24px;
			transform: translate(0,-50%);
		}

		.modal .content {
			position: static;
			transform: none;
			margin: 40px auto;
			width: 90%;
			max-width: 600px;
		}

		h2{
			font-size: 22px;
		}

		#subs {
			font-size: 24px;
		}
		#files{
			display: none;
		font-size: 16px;
		}
		
			
		#error{
			padding: 15% 0;
			min-height: 100%;
			width: 100%;
			margin: 0;
			top: 0;
			transform: none;
		}
		
		
		#errormsg{
			font-size: 24px;
			font-weight: bold;
		}
		input[type="text"] {
		  font-size: 0.9em;
		}
		
		
		#seconds{
		font-size: 10px;
		}

		#play{
			background-size: 75%;
			background-position: center;
			margin-top: 5px;
			margin-right: 0;
		}
		
		td {
		  padding: 0 3px;
		  line-height: 1;
		}

/* 		table td:nth-child(2) {
			width: 80%;
		}

		table td:nth-child(3) {
		  display: block;
			position: fixed;
			width: 100%;
			bottom: 60px;
			left: 0;
		}  */


}

.rangeslider,
.rangeslider__fill {
  display: block;
/*   -moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px; */
}

.rangeslider {
  background: rgba(0,0,0,0.8);
  position: relative;
  border: 1px solid #222;
}

.rangeslider--horizontal {
  height: 22px;
  width: 100%;
}

.rangeslider--vertical {
  width: 20px;
  min-height: 150px;
  max-height: 100%;
}

.rangeslider--disabled {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  opacity: 0.4;
}

.rangeslider__fill {
  background: #e94136;
  position: absolute;
}
.rangeslider--horizontal .rangeslider__fill {
  top: 0;
  height: 100%;
}
.rangeslider--vertical .rangeslider__fill {
  bottom: 0;
  width: 100%;
}

.rangeslider__handle {
  background: #fff;
  cursor: pointer;
  display: inline-block;
  width: 20px;
  height: 20px;
  position: absolute;
  
  /* border: 1px solid #ccc;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjAiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC4xIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(0, 0, 0, 0.1)));
  background-image: -moz-linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%; */
}
.rangeslider__handle:after {
  /* content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjEzIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAuMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.13)), color-stop(100%, rgba(255, 255, 255, 0)));
  background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%; */
}
.rangeslider__handle:active {
 /*  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjEiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC4xMiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, rgba(0, 0, 0, 0.12)));
  background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12)); */
}
.rangeslider--horizontal .rangeslider__handle {
  top: 0;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
}
.rangeslider--vertical .rangeslider__handle {
  left: 0;
  touch-action: pan-x;
  -ms-touch-action: pan-x;
}

input[type="range"]:focus + .rangeslider .rangeslider__handle {
/*   -moz-box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
  -webkit-box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
  box-shadow: 0 0 8px rgba(255, 0, 255, 0.9); */
}
