/*
 *	CSS for Hue Flow
 *	Alexandre Andrieux @ Feb. 2015
 */

/*** Skeleton ***/
 
*,
body,
html{
	margin:0;
	padding:0;
	white-space:nowrap;
	position:absolute;
	font-family: 'Yanone Kaffeesatz', sans-serif;
	font-family: 'Playball', sans-serif;
	font-family: 'Poiret One', sans-serif;
	overflow:hidden;
	/* No selection */
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	/* No unwanted drag */
	-webkit-user-drag: none;
	user-drag: none;
	cursor:default;
}
html,
body{
	height:100%;
	width:100%;
	background:rgba(250,250,250,1);
}
#whole{
	/* THERE IS NO zoomCheat.js FOR THIS APP */
	width:100%;
	height:100%;
	box-shadow:rgba(0,0,0,0.8) 0px 0px 15px;
	background:url("../img/woodwall1bright.jpg");
	background-size: 100% 100%;
}

/*** Actual content! ***/

.loading{
	width:100%;
	height:100%;
	display:none;
}
.loading p{
	font-size:50px;
	width:100%;
	text-align:center;
	color:rgba(255,255,255,0.6);
	top:200px;
	animation:blink 1s alternate infinite;
	-webkit-animation:blink 1s alternate infinite;
}
@keyframes blink{
  from{opacity:0.2;}
  to{opacity:1;}
}
@-webkit-keyframes blink{
  from{opacity:0.2;}
  to{opacity:1;}
}
.loadstate .loading{
	display:inherit;
}
/* Header */
.header{
	width:100%;
	height:12%;
	left:1.5%;
}
.header p.hueflow{
	font-size:40px;
	top:0%;
	text-shadow:white 0px 0px 1px;
	color:rgba(255,255,255,0.8);
	text-align:center;
	width:100%;
	font-weight:bold;
}
.header p.sub{
	color:rgba(0,0,0,0.5);
	top:60%;
	font-size:20px;
	text-align:center;
	width:100%;
	color:rgba(255,255,255,0.8);
	text-shadow:white 0px 0px 1px;
}
/* Canvas */
.helper{
	height:100%;
	vertical-align:middle;
	display:inline-block;
	background:red;
	position:relative;
}
#canv{
	display:inline-block;
	vertical-align:middle;
	position:relative;
	box-shadow:rgba(0,0,0,2) 15px 15px 20px;
	background:rgba(230,230,230,1);
	background:radial-gradient(white,#DDD,#CCC,#EEE,white);
	background:radial-gradient(#777,black);
	left:20%;
	border-radius:5px;
	border:solid 15px #000;
	
}
.loadstate #canv{
	display:none;
}
/* Controls */
.control{
	left:-18%;
	width:20%;
	height:80%;
	top:10%;
	background:rgba(0,0,0,0.8);
	transition:left 500ms;
	border-radius:5px;
	box-shadow:rgba(0,0,0,0.5) 0px 0px 5px;
}
.control:hover{
	left:0%;
}
.control > div{
	width:100%;
	height:20%;
}
.control > div p.title{
	color:white;
	text-shadow:0px 0px 1px;
	width:100%;
	top:10%;
	text-align:center;
}
.control > div input{
	width:80%;
	left:10%;
	top:30%;
}
.control > div p.value{
	color:white;
	text-shadow:0px 0px 1px;
	width:100%;
	top:50%;
	font-size:20px;
	text-align:center;
}
.control .speed{
	top:0%;
}
.control .abstraction{
	top:16%;
}
.control .anger{
	top:32%;
}
.control .stripes{
	top:48%;
}
.control .switch{
	top:67%;
	height:28%;
}
.control .elec{
	top:82%;
	height:10%;
	width:80%;
	left:10%;
}
.control .cold{
	top:90%;
	height:10%;
	width:50%;
	left:0%;
}
.control .warm{
	top:90%;
	height:10%;
	width:50%;
	left:50%;
}
.control .warm p,
.control .cold p,
.control .elec p{
	font-size:14px;
	margin-top:-4px;
}
.control .switch p{
	box-shadow:rgba(255,255,255,0.5) 0px 0px 2px;
	border-radius:3px;
	padding:3px;
	width:40%;
	color:white;
	cursor:pointer;
	top:10%;
	font-size:14px;
	text-align:center;
}
.control .switch p:hover{
	box-shadow:rgba(255,255,255,0.8) 0px 0px 5px;
}
.control .switch p.live{
	left:4%;
}
.control .switch p.house1{
	left:52%;
}
.control .stripes span {
	position: relative;
	font-size:8px;
	font-family: Arial;
	color: rgba(255,255,255,0.5);
	text-shadow: none;
}

.expand-info {
	height: 25px;
	transform: rotate(90deg);
	left: -70px;
	top: 0;
	bottom: 0;
	color: white;
	width: 250px;
	margin: auto;
	font-size: 20px;
}
/* About */

p.about {
	position: fixed;
	bottom: 10px;
	right: 10px;
	font-size: 50px;
	width: 80px;
	height: 60px;
	text-align: center;
	font-weight: bold;
	color: rgba(0,0,0,0.5);
	text-shadow: 0px 0px 1px;
	border-radius: 15%;
	background: rgba(255,255,255,0.2);
	box-shadow: rgba(0,0,0,1) 0px 0px 5px;
	cursor: pointer;
	display: none;
}
p.about:hover {
	color: rgba(0,0,0,0.8);
	text-shadow: 0px 0px 1px;
	border-radius: 15%;
	background: rgba(255,255,255,0.8);
	box-shadow: rgba(255,255,255,0.5) 0px 0px 15px;
}

/* Front */

.front {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.86);
	display: none;
	opacity: 0;
}
.front p {
	text-align: center;
	position: relative;
	font-size: 23px;
	width: 80%;
	left: 10%;
	white-space: pre-wrap;
	text-shadow: rgba(255,255,255,0.5) 0px 0px 1px;
	font-family: 'Yanone Kaffeesatz', sans-serif;
	color: rgba(255,255,255,0.6);
}
.front p:nth-of-type(1) {
	font-size: 50px;
	margin: 40px 0px 20px 0px;
	color: white;
}
.front p:nth-of-type(3) {
	margin: 40px 0px 15px 0px;
	font-size: 30px;
	color: rgba(255,255,255,0.8);
}
.front p:nth-of-type(6) {
	margin: 15px 0px;
}
.front p:nth-of-type(7) {
	margin: 15px 0px;
}
.front p:nth-of-type(8) {
	margin: 15px 0px;
}
.front p span{
	position: relative;
	font-family: 'Yanone Kaffeesatz', sans-serif;
	color: white;
}

