/**
 * eleVR Web Player: A web player for 360 video on the Oculus
 * Copyright (C) 2014 Andrea Hawksley and Andrew Lutomirski
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */

body {
  background-color: #000;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
  color: #FFF;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* *** Start Spin Cycle code ****/
/*http://codepen.io/personable/pen/jPMXPv*/

.ic-Spin-cycle--classic {
  box-sizing: border-box;
  display: inline-block;
  vertical-align: middle;
  overflow: visible;
  /*margin: 12px;*/
  width: 72px;
  height: 72px;
}
.ic-Spin-cycle--classic > svg, .ic-Spin-cycle--classic-salmon-yellow > svg, .ic-Spin-cycle--circles > svg, .ic-Spin-cycle--police-car > svg, .ic-Spin-cycle--faces > svg {
  display: block;
  overflow: visible;
}
.ic-Spin-cycle--classic > svg > *, .ic-Spin-cycle--classic-salmon-yellow > svg > *, .ic-Spin-cycle--circles > svg > *, .ic-Spin-cycle--police-car > svg > *, .ic-Spin-cycle--faces > svg > * {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  -webkit-transform-origin: center;
      -ms-transform-origin: center;
          transform-origin: center;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
}

body:not(:-moz-handler-blocked) svg > * {
  transform: none !important;
  transform-origin: 0 0;
}

.ic-Spin-cycle--classic {
  margin: 12px;
  width: 72px;
  height: 72px;
}
@-webkit-keyframes spin-cycle {
  from {
    fill: white;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  to {
    fill: rgba(255, 255, 255, 0.1);
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes spin-cycle {
  from {
    fill: white;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  to {
    fill: rgba(255, 255, 255, 0.1);
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
.ic-Spin-cycle--classic > svg {
  width: 72px;
  height: 72px;
}
.ic-Spin-cycle--classic > svg > * {
  fill: rgba(255, 255, 255, 0.1);
  -webkit-animation-name: spin-cycle;
          animation-name: spin-cycle;
  -webkit-animation-duration: 0.8s;
          animation-duration: 0.8s;
}
.ic-Spin-cycle--classic > svg > *:nth-of-type(1) {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}
.ic-Spin-cycle--classic > svg > *:nth-of-type(2) {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
.ic-Spin-cycle--classic > svg > *:nth-of-type(3) {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
.ic-Spin-cycle--classic > svg > *:nth-of-type(4) {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}
.ic-Spin-cycle--classic > svg > *:nth-of-type(5) {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
.ic-Spin-cycle--classic > svg > *:nth-of-type(6) {
  -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s;
}
.ic-Spin-cycle--classic > svg > *:nth-of-type(7) {
  -webkit-animation-delay: 0.7s;
          animation-delay: 0.7s;
}

#click {

    position:absolute;
    top: 0%;
    left: 0%;
    width: 250px;
    height: 50px;
    z-index: 100;
}

select {
  border: none;
  background: rgba(0,0,0,.6);
  color: rgba(255,255,255,.8);
  padding: 2px;
  border-radius: 3px;
}

a {
  cursor: pointer;
  color: rgba(0,0,0,.5);
}

a:hover {
  color: rgba(255,255,255,.65);
}

a:active {
  color: rgba(255,255,255,.8);
  text-shadow: 2px 2px 3px rgba(200,200,200,.9);
}

#picture-container {
  background-color: #000;
}

.left {
  width: 50%;
  float: left;
  position: relative;
  top: 30%;
  left: 2%;
  z-index: 1;
}

.right {
  width: 50%;
  float: right;
  position: relative;
  top: 30%;
  right: 2%;
  z-index: 1;
}

#glcanvas {
  position:absolute;
  top:0; bottom:0; right:0; left:0;
}

#picture-controls {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
  padding: 0 10px;
  opacity: .9;
  height: 30px;
  /*background-color: rgb(237,25,88);*/
  background-color: #000000;

  background: -webkit-linear-gradient(left top, rgb(0,0,0), rgb(0,0,0));
  background: -o-linear-gradient(bottom right, rgb(0,0,0), rgb(0,0,0));
  background: -moz-linear-gradient(bottom right, rgb(0,0,0), rgb(0,0,0));
  background: linear-gradient(to bottom right, rgb(0,0,0), rgb(0,0,0));
}

select {
  width: 12%;
  max-width: 300px;
  margin-right: 5px;
}

.icon {
  margin: 7px 5px 0px 5px;
  width:20px;
  float: left;
}

.rfloat {
  float: right;
  margin-top:5px;
}

.title, .message {
  text-align: center;
  margin: 0 auto;
  display: block;
  color: rgba(255,255,255,.5);
}

#pano-image {
  display: none;
}
