@font-face {
  font-family: 'glitchbooth';
  src: url('../font/glitchbooth.eot?38960611');
  src: url('../font/glitchbooth.eot?38960611#iefix') format('embedded-opentype'),
       url('../font/glitchbooth.woff?38960611') format('woff'),
       url('../font/glitchbooth.ttf?38960611') format('truetype'),
       url('../font/glitchbooth.svg?38960611#glitchbooth') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'glitchbooth';
    src: url('../font/glitchbooth.svg?38960611#glitchbooth') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "glitchbooth";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
     
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-twitter:before { content: '\e800'; } /* '' */
.icon-pause:before { content: '\e801'; } /* '' */
.icon-play:before { content: '\e802'; } /* '' */
.icon-spin3:before { content: '\e803'; } /* '' */
@font-face {
    font-family: 'Abel';
    src: url('../font/abel-regular-webfont.eot');
    src: url('../font/abel-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/abel-regular-webfont.woff') format('woff'),
         url('../font/abel-regular-webfont.ttf') format('truetype'),
         url('../font/abel-regular-webfont.svg#abelregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
.clearfix,
.allow-video,
.screenshotter .buttons {
  zoom: 1;
}
.clearfix:before,
.allow-video:before,
.screenshotter .buttons:before,
.clearfix:after,
.allow-video:after,
.screenshotter .buttons:after {
  content: "";
  display: table;
}
.clearfix:after,
.allow-video:after,
.screenshotter .buttons:after {
  clear: both;
}
body,
html {
  overflow: hidden;
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  font-family: 'Abel', 'Helvetica';
}
body {
  color: #ccc;
  background-color: #01070c;
  font-size: 1.4em;
  letter-spacing: 0.15em;
}
a {
  color: #ccc;
}
a:active,
a:hover {
  color: #fff;
}
h1 {
  font-size: 2em;
}
h2 {
  font-size: 1.6em;
}
canvas {
  position: relative;
  cursor: none;
}
.gb-canvas {
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
}
video {
  position: relative;
}
.settings {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 1.6em;
  z-index: 1409;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -webkit-transition: opacity 1s, -webkit-transform 2s;
  -moz-transition: opacity 1s, -moz-transform 2s;
  -o-transition: opacity 1s, -o-transform 2s;
  -ms-transition: opacity 1s, -ms-transform 2s;
  transition: opacity 1s, transform 2s;
  cursor: pointer;
}
.settings:hover {
  opacity: 1;
  -ms-filter: none;
  filter: none;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
.logo {
  position: absolute;
  z-index: 1600;
  bottom: 16px;
  left: 16px;
}
.logo img {
  width: 30%;
}
.nav {
  position: absolute;
  bottom: 10px;
  right: 80px;
  font-size: 1.6em;
  z-index: 1408;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -webkit-transition: opacity 1s;
  -moz-transition: opacity 1s;
  -o-transition: opacity 1s;
  -ms-transition: opacity 1s;
  transition: opacity 1s;
  cursor: pointer;
}
.nav .icon-play {
  display: inline-block;
}
.nav .icon-play.reverse {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
  line-height: 0.8em;
}
.settings-container {
  z-index: 1410;
  position: absolute;
  right: 10px;
  bottom: 10px;
}
.modal,
.error,
.setup,
.screenshotter,
.no-webgl,
.no-camera {
  font-family: 'Abel', 'Helvetica';
  position: absolute;
  z-index: 1500;
  left: 50%;
  top: 25%;
  background-color: #020c15;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  padding: 20px 40px;
  width: 750px;
  min-height: 300px;
  margin-left: -375px;
}
.modal h2,
.error h2,
.setup h2,
.screenshotter h2,
.no-webgl h2,
.no-camera h2 {
  margin-bottom: 2px;
  border-bottom: dotted 1px #ccc;
}
.modal h4,
.error h4,
.setup h4,
.screenshotter h4,
.no-webgl h4,
.no-camera h4 {
  margin-bottom: 4px;
}
.modal .version,
.error .version,
.setup .version,
.screenshotter .version,
.no-webgl .version,
.no-camera .version {
  font-size: 0.4em;
  color: #666;
  margin: 0;
}
.modal-screen {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: RGBA(0, 0, 0, 0.8);
  z-index: 1001;
  display: none;
}
.app-paused {
  display: none;
  position: absolute;
  z-index: 2099;
  left: 50%;
  width: 300px;
  height: 300px;
  margin-left: -150px;
  top: 25%;
  text-align: center;
  -webkit-border-radius: 300px;
  border-radius: 300px;
  border: solid 3px #000;
  background-color: RGBA(0, 0, 0, 0.8);
}
.app-paused h4 {
  margin: 0;
  padding: 0;
}
.app-paused [class^="icon-"] {
  font-size: 6em;
  margin: 50px 0 0 0;
  padding: 0;
}
.app-flash {
  display: none;
  position: absolute;
  z-index: 1501;
  right: 20px;
  top: 20px;
  text-align: right;
  background-color: RGBA(0, 0, 0, 0.8);
  padding: 10px 20px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  font-size: 1.2em;
  -webkit-animation: fade-in 1s ease-in;
  -moz-animation: fade-in 1s ease-in;
  -o-animation: fade-in 1s ease-in;
  -ms-animation: fade-in 1s ease-in;
  animation: fade-in 1s ease-in;
}
.app-instructions {
  position: absolute;
  z-index: 1502;
  right: 5px;
  bottom: 5px;
  text-align: right;
  background-color: RGBA(0, 0, 0, 0.6);
  padding: 5px 15px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  font-size: 0.8em;
  -webkit-animation: fade-in 1s ease-in;
  -moz-animation: fade-in 1s ease-in;
  -o-animation: fade-in 1s ease-in;
  -ms-animation: fade-in 1s ease-in;
  animation: fade-in 1s ease-in;
}
.app-instructions p {
  margin: 0;
  padding: 0;
}
.app-status {
  position: absolute;
  z-index: 1503;
  left: 20px;
  bottom: 20px;
}
.app-status em {
  color: #b20003;
  font-style: normal;
  font-weight: 700;
}
.templates-hidden {
  display: none;
}
.allow-video {
  text-align: right;
  position: absolute;
  width: 100%;
  top: 0;
  right: 0;
  padding: 10px 8px;
  -webkit-animation: fade-in-slow 3s ease-in;
  -moz-animation: fade-in-slow 3s ease-in;
  -o-animation: fade-in-slow 3s ease-in;
  -ms-animation: fade-in-slow 3s ease-in;
  animation: fade-in-slow 3s ease-in;
}
.allow-video h2,
.allow-video p {
  margin: 0;
  padding: 0;
}
.allow-video .info-box {
  display: inline-block;
  margin-right: 20px;
}
.allow-video [class^="icon-"] {
  float: right;
  font-size: 1.6em;
  padding: 2px 20px 0 10px;
}
.setup {
  background-color: #01070c;
  text-align: center;
}
.setup .spinner {
  width: 200px;
  -webkit-animation: spin 6s linear infinite;
  -moz-animation: spin 6s linear infinite;
  -o-animation: spin 6s linear infinite;
  -ms-animation: spin 6s linear infinite;
  animation: spin 6s linear infinite;
}
.screenshotter {
  text-align: center;
  padding: 40px 20px;
  min-height: 500px;
  margin-top: -100px;
}
.screenshotter .screenshot {
  text-align: center;
  margin: auto;
}
.screenshotter .screenshot .img-background {
  background-color: RGBA(0, 0, 0, 0.2);
  width: 705px;
  margin: auto;
  height: 300px;
  text-align: center;
  padding-top: 40%;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: inset 0 2px 6px RGBA(0, 0, 0, 0.2);
  box-shadow: inset 0 2px 6px RGBA(0, 0, 0, 0.2);
}
.screenshotter .screenshot img {
  max-width: 700px;
}
.screenshotter .warning {
  margin-top: 10px;
  font-size: 0.8em;
}
.screenshotter .buttons {
  text-align: left;
  margin: 20px 0 0 0;
}
.screenshotter .buttons h2 {
  display: inline-block;
  width: 33%;
  text-align: right;
  padding-right: 20px;
  border-bottom: none;
}
.screenshotter .buttons button {
  background-color: #0d4d92;
  border: none;
  color: #fff;
  font-size: 1.6em;
  padding: 10px 40px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  margin-right: 10px;
  -webkit-box-shadow: inset 0 0 8px rgba(0,0,0,0.4);
  box-shadow: inset 0 0 8px rgba(0,0,0,0.4);
}
.screenshotter .buttons button.focus {
  background-color: #ff0;
  border: solid 3px #cd1104;
  color: #000;
}
.animate-spin {
  -webkit-animation: spin 3s linear infinite;
  -moz-animation: spin 3s linear infinite;
  -o-animation: spin 3s linear infinite;
  -ms-animation: spin 3s linear infinite;
  animation: spin 3s linear infinite;
}
#data {
  display: none;
}
.stats {
  position: absolute;
  z-index: 3000;
  top: 2px;
  left: 2px;
}
#disable {
  z-index: 1001;
  cursor: pointer;
  position: absolute;
  right: 5px;
  top: 5px;
  padding: 4px 10px;
  font-size: 48px;
  font-weight: 700;
  background-color: RGBA(0, 0, 0, 0.1);
}
#inputVideo {
  position: absolute;
  z-index: 1005;
  left: 5;
  top: 0;
  display: none;
}
#debug {
  z-index: 2001;
  position: absolute;
  top: 5px;
  left: 5px;
}
@-moz-keyframes fade-in-slow {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
  66% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
  100% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }
}
@-webkit-keyframes fade-in-slow {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
  66% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
  100% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }
}
@-o-keyframes fade-in-slow {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
  66% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
  100% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }
}
@keyframes fade-in-slow {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
  66% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
  100% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }
}
@-moz-keyframes fade-in {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
  66% {
    opacity: 0.3;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);
  }
  100% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }
}
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
  66% {
    opacity: 0.3;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);
  }
  100% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }
}
@-o-keyframes fade-in {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
  66% {
    opacity: 0.3;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);
  }
  100% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
  66% {
    opacity: 0.3;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);
  }
  100% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }
}
@-moz-keyframes fade-out {
  0% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }
  100% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
}
@-webkit-keyframes fade-out {
  0% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }
  100% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
}
@-o-keyframes fade-out {
  0% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }
  100% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
}
@keyframes fade-out {
  0% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }
  100% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
}
@-moz-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
  }
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
  }
}
@-o-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
  }
}
