/* 
 * Morpheuz Sleep Monitor
 *
 * Copyright (c) 2013 James Fowler
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
body {
	width: 570px;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	margin: 1px;
}

h2 {
	text-align: center;
	position: relative;
	top: -7px;
	margin-top: 0px;
	font-size: 17px;
	margin-bottom: 0px;
}

.settings {
	margin-top: 0px;
}

h3 {
	text-align: center;
	margin-top: 7px;
	font-size: 14px;
	margin-bottom: 0px;
}

p {
	font-size: 12px;
	margin-top: 5px;
	margin-bottom: 5px;
}

p.buttons {
	margin-top: 15px;
	margin-bottom: 10px;
}

#version {
	font-size: 6px;
	width: 310px;
	text-align: right;
}

.reset {
	border: none;
	background-color: transparent;
	color: rgb(0, 122, 255);
	font-size: 17px;
	font-weight: 500;
	margin-left: 0px;
	text-align: left;
	border-left: 0px;
	padding-left: 5px;
}

.copy {
	border: none;
	background-color: transparent;
	color: rgb(0, 122, 255);
	font-size: 17px;
	font-weight: 500;
	margin-left: 0px;
	text-align: left;
	border-left: 0px;
	padding-left: 5px;
	text-decoration: none;
}

#mail {
	vertical-align: middle;
	padding-right: 90px;
}

#data {
	vertical-align: middle;
	border: 2px solid grey;
	box-shadow: 2px 2px 2px #aaaaaa;
}

.textbox {
	width: 45px;
}

table.jqplot-table-legend {
	background-color: white !important;
	z-index: 10;
	font-size: 8pt !important;
}

.fromValues {
	border-top: none;
	border-right: none;
	border-left: none;
	border-bottom: 2px solid rgb(76, 217, 100);
}

.toValues {
	border-top: none;
	border-right: none;
	border-left: none;
	border-bottom: 2px solid rgb(255, 59, 48);
}

#chart2 {
	color: black;
}

#chart1 {
	color: black;
}

div.jqplot-pie-series.jqplot-data-label {
	font-size: 12px;
	border-radius: 2px;
	background-color: white;
}

.statstable {
	font-size: 12px;
	width: 570px;
	padding-top: 5px;
	color: white;
}

.statstable td {
	text-align: center;
}

.total {
	background-color: rgb(76, 217, 100);
	width: 50%;
}

.awake {
	background-color: rgb(90, 200, 250);
	width: 50%;
}

.light {
	background-color: rgb(0, 122, 255);
	width: 50%;
}

.deep {
	background-color: rgb(88, 86, 214);
	width: 50%;
}

.deep {
	background-color: rgb(230, 230, 230);
	width: 50%;
}

.error {
	color: red;
}