@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700|Open+Sans:400,600,700|PT+Sans|PT+Sans+Narrow:400,700);
@charset "UTF-8";
/* CSS Document */

html {
	-webkit-text-size-adjust: none;
	overflow: hidden;
}

/* apply a natural box layout model to all elements */
* {
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
	-webkit-box-sizing:border-box; /* Safari */ 
}

body {
	position: relative;
	background-color: #000000;
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 400;
	overflow: hidden;
	margin: 0px;
	padding: 0px;
	font-size: 1em;
	color: #394659;
	text-shadow: 0 1px 0 #ffffff;
}

body > * {
    -webkit-transform:translateZ(0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.body_container {
	position: relative;
	height: 100%;
	width: 100%;
}

.home_wrapper {
	postion: absolute;
		top: 0px;
		left: 0px;
	background-color: #ebebeb;
	border-radius: 3px;
	padding: 10px;
	box-shadow: 1px 1px 2px #ffffff inset,  -1px -1px 2px #ffffff inset;
}

p {
	padding: 0px;
	margin: 0px;	
}

.menu {
	display: block;
	position: relative;
	width: 100%;
	background-color: none;
	border: 0px;
	border-radius: 0px;
	list-style: none;
	font-weight: 700;
	text-transform: uppercase;
	padding: 0px;
	margin: 0px;
	overflow: hidden;
}

.menu > li {
	float: right;
	border: 0px;
	text-align: center;
}

h1 {
	display: block;
	text-align: center;
	font-weight: 700;
	font-size: 8em;
	margin: 0px;
	padding: 0px;
}

h2 {
	position: relative;
	display: block;
	font-size: 1.5em;
	position: relative;
	text-align: center;
	font-weight: 400;
	margin: 0px;
	padding: 0px;
}

ul.chems {
	position: absolute;
		bottom: 10px;
	display: block;
	list-style: none;
	margin: 0px;
	padding: 0px;
	font-size: 0.9em;
}

ul.chems li {
	padding: 5px;
	margin: 0px;
		margin-top: 5px;
		margin-right: 5px;
	border: 1px solid #f4f4f4;
	height: 60px;
	width: 71px;
	height: 100%;
	border-radius: 3px;
	background-color: rgba(255,255,255,0.1);
	box-shadow: 0 1px 1px rgba(0,0,0,0.12) inset, 0 -1px 0px rgba(0,0,0,0.05) inset, 1px 0 0px rgba(0,0,0,0.05) inset, -1px 0 0px rgba(0,0,0,0.05) inset;
	float: left;
	text-align: center;
}

ul.chems li header {
	font-weight: 600;
}

ul.chems li section {
	margin-top: 4px;
	font-size: 1.1em;
	font-weight: 700;
}

ul#chems li:last-child {
	margin-right: 0px;
}

.nav > li > .selected {
	width: 50px !important;
}

.bad_value {
	color: #992255;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

@media all and (device-width: 320px) and (orientation:portrait) {
  /* your css rules for ipad portrait */
	
	.home_wrapper {
		height: 548px;
		width: 320px;
	}
	
	h1 {
		font-size: 7em;
		margin-top: 100px;
	}
	
	h2 {
		top: -30px;
	}
	
}

@media all and (orientation:landscape) {
  /* your css rules for ipad landscape */
	
	.home_wrapper {
		height: 300px;
		width: 568px;
	}
	
	h1 {
		font-size: 6em;
		margin-top: 25px;
	}
	
	
	h2 {
		font-size: 1.2em;
		top: -15px;
	}

	ul.chems li {
		margin-right: 3px;
		width: 66px;
	}
	
}
