html {
    background-color: #FFFFFF;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
	letter-spacing: 0.02em;
}

a, a:visited {
    color: #006BF4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.center-column {
    margin: 0 auto;
    width: 1002px;
    overflow: auto;
}

.center-column-inner {
    padding: 0 32px 32px 32px;
}

.left-column {
    float: left;
    width: 49%;
    margin: 0 auto;
}

.right-column {
    float: right;
    width: 49%;
    margin: 0 auto;
    text-align: center;
}

h1, h2, h3, h4, h5 {
    color: #151614;
	font-weight: normal;
	margin-bottom: 0.4em;
    letter-spacing: 0.08em;
}

h1 { font-size: 250%; }
h2 { font-size: 200%; }
h3 { font-size: 160%; }
h4 { font-size: 130%; }
h5 { font-size: 100%; }

p {
	line-height: 1.7em;
}

table th {
	font-size: 130%;
}

table.horizontal th {
	border-bottom: 1px solid black;
}

#footer {
    height: 1em;
    font-size: 90%;
    text-align: center;
    color: #555;
}

/** header **/

#header {
    background: #20221F;
}

#header-top {
    color: #888;
    padding: 0.75em;
    text-align: right;
    background-color: #151614;
    border-bottom: 1px solid #333;
}

#header-top a {
    color: #DDD;
}

#header-bottom {
    padding: 32px 0 32px 0;
}

#header-bottom a {
    color: #F1D14A;
}

#header-bottom-border {
    height: 8px;
    background: url('../images/header-bottom-border.png') repeat-x;
}

#header .left-column {
	width: 350px;
}

#header .right-column {
	width: 550px;
	text-align: right;
	margin-top: 6px;
}

ul#auxiliary {
    margin: 0;
}

ul#navigation {
    margin: 25px 0 25px 0;
    font-size: 150%;
}

ul#sub-navigation {
  margin: 1em 0;
  float: right;
  background-color: #E8EDF4;
}

ul#sub-navigation li,
ul#sub-navigation li a {
    float: left;
    display: block;
}

ul#sub-navigation a {
    margin: 0 10px;
    padding: 5px;
    font-size: 108%;
    font-weight: bold;
/*    color: #fff;*/
    text-decoration: none;
}

ul#sub-navigation a:hover,
ul#sub-navigation li.admin a:hover {
    text-decoration: underline;
}

ul#sub-navigation li.admin a {
    color: #CCA251;
}

#logo {
	margin-left: -5px;
}

#account-name {
	color: #eee;
	font-size: 300%;
    letter-spacing: 0.08em;
}

#account-name a {
	color: #eee;
	text-decoration: none;
}

/** breadcrumbs **/
#breadcrumbs {
	padding-top: 1em;
	color: #eee;
	clear: both;
	margin-left: 32px;
}

/** session messages **/
ul.message_list {
	font-size: 130%;
}

.no-bottom-margin {
    margin-bottom: 0;
}

.location-type-list,
.location-list {
	margin: 0;
	padding: 1em 0 0 0;
}

.location-list {
	list-style: none;	
	clear: both;
}

.location-list li {
	list-style-type: none;	
}

.location-list .location {
	font-size: 110%;
	letter-spacing: 0.03em;
}

.location-list .location a {
	display: block;
	float: left;
	padding: 0.5em;
	text-align: center;
	width: 130px;
	height: 130px;
}

.location-list .location a:hover {
	color: #667B99;
	background-color: #E8EDF4;
	text-decoration: none;
}

ul.meter-information {
    margin: 0;
    color: #666;
}

ul#graphs {
	margin: 0;
}

ul#graphs li {
	list-style-type: none;
	margin: 0;
}

.api-url a {
	font-size: 120%;
	font-family: monospace;
	padding: 0.5em;
	background-color: #ddd;
	border: 1px solid #aaa;
	color: black;
}
	
.api-url a:hover {
	text-decoration: none;
}

table#meters .api-url a,
ul.meter-information .api-url a {
	font-size: inherit;
	font-family: inherit;
	padding: 0;
	background-color: white;
	border: 0;
	color: inherit;
}

table#meters .api-url a:hover,
ul.meter-information .api-url a:hover {
	background-color: #ddd;
}

.reading-type-name {
    font-size: 1.3em;
}

.reading-type-description {
    color: #666;
}

ul.meter-information li {
    list-style: none;
}

#today-yesterday {
    margin: 1em 0 1em 0;
    float: right;
    width: 250px;
}

#today-yesterday .sum {
    text-align: center;
    padding: 1em;
    background-color: #E8EDF4;
    margin-bottom: 1em;
}

#today-yesterday .label {
    font-size: 150%;
    border-bottom: 1px dotted #aaa;
    margin-bottom: 0.2em;
}

#today-yesterday .value {
	margin-top: 0.3em;
	padding: 0.2em;
}

#today-yesterday .meter-value, 
#today-yesterday .meter-value-cost {
	font-size: 130%;
	white-space: nowrap;
}

.meter-location, .meter-type {
    font-weight: bold;
}

table#sensors td {
    padding: 0.5em 1em 0.5em 1em;
}

#general-information {
  margin: 1em 0;
  width: 18em;
  background-color: #E8EDF4;
  padding: 1em;
  float: right;
}

#general-information ul {
    margin: 0 0 0 1em;
}

#recent-values {
    float: right;
}

#recent-values li {
    list-style: none;
}

#recent-values h2 {
    text-align: center;
}

/** beta signup **/
#entity_type ul {
    margin: 1em;
}

#entity_type ul li {
    padding: 0.1em;
    list-style: none;
}

.pane-wrapper {
    clear: both;
    width: 100%;
    overflow: auto;
}

.pane {
    width: 28%;
    float: left;
    background-color: #EEE;
    padding: 10px;
    margin: 10px;
}

.pane h2 {
    color: #111;
    margin-top: 0;
}

div#gallery {
    padding: 15px;
    background-color: #DDD;
    width: auto;
    float: left;
}

div#gallery img {
    padding: 15px;
}

div.right-column {
    float: right;
    margin: 1em 0;
    width: 250px;
}

div#power-gauge-container div#power-gauge {
    width: 200px;
    margin: 0 auto;
}

ul.horizontal {
	margin: 0.2em 0 1em 0;
	font-size: 93%;
}

ul.horizontal li {
	display: inline;
	border-left: 1px solid lightgray;
	padding: 0 0.2em 0 0.5em;
}

ul.horizontal li:first-child {
	padding: 0 0.2em 0 0;
	border-left: none;
}
