html { 
    background: #000; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 1100px;
}

body {
    font-size: 14px;
    color: white;
    font-family: 'Lato', sans-serif;
}

.sorry {
}

#big-code-container {
    margin: 0 auto;
    width: 400px;
}

#big-code-container input[type='text'] {
    font-family: 'Bungee', cursive;
    padding: 4px;
    font-size: 3.6em;
    background-color: #000;
    border-color: #888;
    color: #eee;
    -moz-box-shadow:    inset 0 0 10px #222;
    -webkit-box-shadow: inset 0 0 10px #222;
    box-shadow:         inset 0 0 10px #222;
    text-shadow: 2px 2px #666;
}

#code-entry-container {
    display: inline-block;
    max-width: 1280px;
    width: 90%;
    margin-left: 6%;
}

#code-entry {
    display: inline-block;
    right: 0;
    margin-left: auto;
    background: #333;
    border: 1px solid #111;
    padding: 8px 16px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-left: 12%;
}

#launchButton {
    background: #888;
    border: 1px solid #222;
    padding: 4px;
    font-weight: bold;
    font-size: 1.1em;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#launchButton2 {
    color: black;
    background: #999;
    padding: 4px;
    font-family: "Bungee", sans-serif;
    font-weight: bold;
    font-size: 3em;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

#launchButton:hover {
    background: #bbb;
}

#launchButton2:hover {
    cursor: pointer;
    background: #fff;
}

#question {
    color: #ccc;
    cursor: pointer;
    margin-left: 18px;
    -webkit-border-radius: 48%;
    -moz-border-radius: 48%;
    border-radius: 48%;
    font-size: 1.1em;
    padding: 6px 8px;
    text-shadow: 1px 1px 2px #228;
}

#question:hover {
    color: white;
}

.ef-grow {
    transition 0.5s ease;
    margin-left:2.5%;
}

.ef-grow:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform-origin: center; 
    transform: scale(1.1);
    transition: 0.5s ease;
}

#popupHelp {
    display: none;
    font-size: 0.9em;
}

#commentary-block {
    position: absolute;
    z-index: 8;
    background: #eef;
    color: black;
    text-align: center;
    filter: alpha(opacity=90);
    opacity: 0.9;
    width: 88%;
    left: 8%;
    margin-top: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
/*    text-shadow: 2px 2px 2px rgba(250, 250, 250, 1); */
    pointer-events: none;
}

.commentary-text {
    font-size: 2.0em;
    line-height: 1.6em;
    font-weight: bold;
}

#commentary-block .smaller {
    font-size: 2.0em;
}

.commentary-text a:link,
.commentary-text a:visited {
    pointer-events: all;
    color: blue;
    text-decoration: none;
}

.ef-shares {
    pointer-events: all;
    opacity: 1.0;
    font-size: 1.2em;
    font-weight: bold;
}

.ef-shares a:link,
.ef-shares a:visited {
    color: white;
    text-decoration: none;
}

#ef-container { 
    touch-action: none;
    width: 90vw;
    height: 80vh;
    margin-left: 5%;
    font-size: 1.0em;
    /*
    max-width: 1920px;
    max-height: 1080px;
    */
    border: 2px solid;
    border-color: #b4b4b4 #cccccc #bbbbbb;
    -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
    -moz-box-shadow: rgba(0,0,0,0.3) 0 1px 3px;
    box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

#homepage-footer {
    position: fixed;
    bottom: 40px;
    font-family: Tahoma, sans-serif;
    color: #999;
    text-align: center;
    width: 100%;
}

#page-logo {
    float: left;
    position: absolute;
    z-index: 20;
    min-width: 80px;
    max-width: 140px;
    width: 10%; 
}

#start-demo-button {
    position: absolute;
    left: -2%;
    min-width: 80px;
    max-width: 180px;
    width: 10%;    
    padding-top: 7%;
    z-index: 10;
    max-width: 160px;
    width: 10%;
}

@media only screen and (max-width:640px) {
    #start-video-button {
        position: absolute;
        z-index: 20;
        left: -20px;
        top: 100px;
        min-width: 60px;
        max-width: 70px;
        width: 10%;
    }

    #show-photos-button {
        position: absolute;
        z-index: 20;
        left: -20px;
        top: 180px;
        min-width: 60px;
        max-width: 70px;
        width: 10%;
    }

    #show-photos-select-button {
        position: absolute;
        z-index: 20;
        left: -20px;
        top: 180px;
        min-width: 60px;
        max-width: 70px;
        width: 10%;
    }
}

@media only screen and (min-width:640px) {
    #start-video-button {
        position: absolute;
        z-index: 20;
        left: -2%;
        top: 140px;
        min-width: 120px;
        max-width: 140px;
        width: 10%;
    }

    #show-photos-button {
        position: absolute;
        z-index: 20;
        left: -2%;
        top: 288px;
        min-width: 120px;
        max-width: 140px;
        width: 10%;
    }

    #show-photos-select-button {
        position: absolute;
        z-index: 20;
        left: -2%;
        top: 288px;
        min-width: 120px;
        max-width: 140px;
        width: 10%;
    }
}

.ef-video-item {
    display: none;
}

.video-message {
    display: none;
    text-align: center;
}

#dumb-it-down {
    float: left;
    margin-left: 5%;
    max-width: 1280px;
	color: grey;
}

#dumb-it-down a:link,
#dumb-it-down a:visited {
	color: #08e;
	text-decoration: none;
}

#dumb-it-down a:hover {
	color: #0bf;
}

#social {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    width: 100%;
}
#footer {
    margin-top: 8px;
	color: white;
	width: 100%;
}

#footer a:link,
#footer a:visited {
	color: cyan;
}

#footer a:hover {
    color: gold;
}

@media only screen and (min-width:640px) {
    #home {
        float: left;
        font-size: 2em;
    }
}

@media only screen and (max-width:640px) {
    #home {
        float: left;
        max-width: 4%;
        font-size: 1em;
    }
}

#home a:link,
#home a:visited {
	color: white;
	text-decoration: none;
}

.hd-video-size {
	width: 1920px;
	height: 1080px;
}

.ef-fader:hover {  
    filter: alpha(opacity=100);
    opacity: 1;
}

#ef-logo {
	position:absolute;
	left:4px;
	top:4px;
    max-width: 80px;
    width: 8%;
	height: auto;
    filter: alpha(opacity=50);
    opacity: 0.5;
    pointer-events: none;
}

#ef-watermark {
    position:absolute;
    bottom:38px;
    right: 4px;
    max-width: 12%;
    height: auto;
    filter: alpha(opacity=80);
    opacity: 0.8;
    point-events: none;
}

#ef-video-resize {
    position: absolute;
    right: 2px;
    bottom: 4px;
    width: 2.2em;
    height: 2.2em;
    background: url(../img/resize.png) no-repeat; 
    background-size: 2.0em;
}

#ef-video-play {
    position: absolute;
    bottom: 2px;
    left: 4px;
    width: 3em;
    height: 3em;
    z-index: 10;
}

.ef-playing {
    background: url(../img/pause.png) no-repeat; 
    background-size: 2.8em;
}

.ef-paused {
    background: url(../img/play.png) no-repeat;
    background-size: 2.8em;
}

.ef-fader {
    filter: alpha(opacity=50);
    opacity: 0.5;
    -moz-border-radius:4px;
    -ms-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    -moz-transition: all 0.2s ease-in-out; /* Firefox */
    -ms-transition: all 0.2s ease-in-out; /* IE future proofing */
    -o-transition: all 0.2s ease-in-out;  /* Opera */
    -webkit-transition: all 0.2s ease-in-out; /* Safari and Chrome */
    transition: all 0.2s ease-in-out; 
}

#ef-video-block {
    float: left;
    position: absolute;
    bottom: 0.4em;
    width: 80%;
    margin-left: 10%;
    height: 1.4em;
}

#ef-video-timer {
    font-weight: bold;
    font-size: 1em;
    float: right;
    margin-left: 0.8em;
    margin-top: 0.0em;
    margin-right: 0.8em;
    text-align: center;
    background-color: #555;
    -moz-border-radius:4px;
    -ms-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
}

#ef-video-seek {
    float: left;
    width: 90%;
    cursor: default;
    z-index: 8;
}

.ui-slider-horizontal {
    height: 18px;
}

#ef-video-seek .ui-slider-handle {
    filter: alpha(opacity=80);
    opacity: 0.8;
    width: 80px;
    height: 44px;
    margin-left: -40px;
    margin-top: -20px;
    background: url(../img/ef-seek.png) no-repeat;
    background-size: contain;
    border: none;
    outline: none;
}

#ef-video-seek .ui-slider-handle.ui-state-hover {
    opacity: 1;
}

#ef-video-seek .ui-slider-range {
    -moz-border-radius:0.8em;
    -ms-border-radius:0.8em;
    -webkit-border-radius:0.8em;
    border-radius:0.8em;
    background: #888;
    background-image: -moz-linear-gradient(top, #888, #ccc);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #888),color-stop(1, #ccc));
    box-shadow: inset 0 -0.3em 0.3em #ccc;
}

#user-message {
    position: absolute;
    bottom: 5%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    z-index: 8;
    display: None;
}

.ef-button {
    float: left;
    position: absolute;
    z-index: 8;
    width: 200px;
    height: 200px;
    left: 40%;
    margin-top: 10%;
    border: 3px solid #40a;
    text-align: center;
	background: black;
	color: white;
	border-top-left-radius: 50%;
	border-top-right-radius: 50%;
	border-bottom-left-radius: 49%;
	border-bottom-right-radius: 49%;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #000), color-stop(1, #333) );
    background:-moz-linear-gradient( center top, #000 5%, #333 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#000', endColorstr='#333');
}

.ef-button .content {
    position: absolute;
    font-size: 2em;
    text-shadow: 2px 2px 2px #333;
    top: 15%;
    right: 0;
    bottom: 0;
    left: 0;
}

.ef-button:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #444), color-stop(1, #666) );
    background:-moz-linear-gradient( center top, #444 5%, #666 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#444', endColorstr='#666');
    background-color:#222; 
}

.ef-button-pos {
    position: absolute;
    bottom: 4px;
    left: 80%;
}

.ef-instructions-pos {
    position: absolute;
    bottom: 10%;
    left: 40%;
    pointer-events: None;
}

.ef-instructions-pos p {
    font-size: 1.2em;	
    font-weight: normal;
    text-align: center;
    text-shadow: 2px 2px #555;
}

#title-container {
    margin-top: 12px;
    width: 100%;
    display: none;
    overflow: hidden;
    pointer-events: none;
    text-align: none;
    font: Arial, Helvetica, Sans-serif;
    text-shadow: 1px 1px #222;
    color: white;
    text-align: center;
}

.btn {
  font: bold 11px sans-serif;
  text-decoration: none;
  background-color: #55e;
  color: white;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}

abutton:hover {
    background-color: gold;	
}

a:link {
    color: white;
    text-decoration: none;
}
a:visited {
    color: white;
    text-decoration: none;
}
a:hover {
    color: orange;
}

.camera-block {
    display: inline-block;
	float: left;
    text-align: center;
	width: 22%;
	background-color: #222;
	margin-bottom: 12px;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #444), color-stop(1, #666) );
    padding: 2px;
    margin: 2px;
    border: 1px solid #555;
}

.camera-block button {
	display: block;
	text-align: center;
	width: 100%;
}

.camera-block canvas {
    margin-top: 2px;
    margin-bottom: 2px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
	display: block;
    width: 98%;
}

.photo-bar-button {
	font-size: 1em;
}

#non-immersive video {
    margin-left: 5%;
    margin-right: auto;
    width: 90% !important;
    height: auto !important;
}

.left-nav {
    display: block;
    text-align: center;
}
