body {
	background-color: #137096; 
    font-family: Calibri, Helvetica, Arial, sans-serif;
    font-size: 87.5%;
    overflow-y: scroll;
    margin: 0;
    padding: 2em;
}

nav {
    clear: both;
	display: block;
	white-space: nowrap;
}

#content {
    background-color: #fff;
    margin: 0 auto;
    padding: 2em;
    position: relative;
    max-width: 760px;
    min-width: 640px;
	white-space-collapse: discard;
}

h1, h2, h3 {
	color: #4c4c4c;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 1.2em;
    margin-top: 0;
}

h1 {
    font-size: 1.6em;
    line-height: 1.6;
}

h1 img {
    vertical-align: middle;
}

sub, sup {
    line-height: 0;
}

.help {
    float: right;
    margin: 1em;
    padding: 0;
    font: bold 0.86em "Trebuchet MS", sans-serif;
}

.help a {
	color: #0D5E80;
}

.state_select {
    background-color: whitesmoke;
    margin: 0;
    padding: .8em 1.6em;
}

input {
	font-size: .8em;
    width: 6em;
    border: 1px inset #d5d5d5;
}

input::-webkit-outer-spin-button {
	display: none;
}

.tab_list {
    border-bottom: 1px solid #a9a9a9;
    font-family: "Trebuchet MS", sans-serif;
    font-size: .92em;
    margin: 0;
    padding: 0;
}

.tab_list li {
	background-color: #fff;
	border: 2px solid #a9a9a9;
	border-bottom: none;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
    display: inline-block;
    font-weight: bold;
    margin-right: .4em;
    padding: 0;
}

.tab_list li.active_tab {
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
}

.tab_list li:first-child {
    margin-left: 1.6em;
}

.tab_list li:last-child {
    margin-right: 0;
}

.tab_list li a {
	color: #0D5E80;
	display: block;
    padding: .6em 1.4em;
    text-decoration: none;
    outline: none;
}

.tab_list li a:hover {
    background-color: whitesmoke;
}

.tab {
	display: inline-block;
	margin: 0;
	padding: 1em 1.6em;
    min-width: 40em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.tab:not(:target) {
    display: none;
}

.tab:target {
    display: inline-block;
}

#appliances {
    display: inline-block;
}

#help > div + div {
    margin-top: 2em;
}

.census_regions th, #why_state .census_regions th:first-child {
    font-size: 1em;
	border: 1px solid #a9a9a9;
}

.census_regions td, .census_regions th {
	border: 1px solid #a9a9a9;
	padding: .2em .8em;
}

.census_regions td:last-child {
    text-align: center;
}

#instructions p {
    max-width: 48em;
}

table {
    border-collapse: collapse;
}

col.item {
    width: 16em;
}

.quantity,
.watts,
.mpg,
.usage {
    width: 6em;
}

.kwh,
.equiv,
.gallons {
    width: 6em;
}

th {
    font-family: "Trebuchet MS", sans-serif;
    font-size: 0.84em;
}

.tab td, .tab th {
	border: 1px solid #a9a9a9;
	text-align: center;
	vertical-align: baseline;
}

.tab td:first-child, .tab th:first-child {
	padding-left: 1em;
    text-align: left;
}

.tab td:first-child input {
    text-align: left;
    width: 12em;
}

.tab th {
	padding-bottom: .2em;
	padding-top: .4em;
}

.tab th:first-child {
	border: none;
	color: #4c4c4c;
	font-size: 1.4em;
	text-align: left;
}

.tab .rowgroup td:first-child {
    text-indent: 1.6em;
}

.tab .rowgroup tr:first-child td:first-child {
    text-indent: 0;
}

td input {
	text-align: right;
}

.tab tr:nth-child(even) {
	background-color: #fafafa;
}

.tab tfoot td:first-child {
	border: none;
	padding-right: 1.6em;
	padding-top: .4em;
	text-align: right;
    font-family: "Trebuchet MS", sans-serif;
}

#totals {
	background-color: #d6eef3;
	border: 1px solid #024361;
	color: #024361;
	font-size: 1.1em;
	margin: 0 0 2em 2em;
	padding: 1em 1.6em;
    float: right;
    max-width: 20em;
    min-width: 16em;
}

#totals table {
    width: 100%;
    margin: 0;
}

#totals thead {
    border-bottom: 1px solid #137096;
    vertical-align: baseline;
}

#totals th {
    padding: .2em .6em;
}

#totals th:first-child {
    font-size: 1.1em;
}

#totals td {
	border-left: 1px solid #137096;
    padding: .2em .4em;
    text-align: right;
}

#totals td:first-child, #totals th:first-child {
    border-left: none;
    text-align: left;
}

#totals tfoot {
    background-color: #024361;
    color: #fff;
    font-size: 1.1em;
}

#totals tfoot td {
    border-left: 1px solid #137096;
}

#totals tfoot td:first-child {
    text-align: right;
}

.copyright {
	border-top: 1px solid #d5d5d5;
	color: #666;
	font-size: .84em;
	padding: .8em;
	margin: 0;
    text-align: center;
}

.copyright img {
	margin-right: 1em;
	margin-bottom: -13px;
}

.help_link img {
    border: none;
}

.help_popup {
    background-color: #fff;
    border: 2px solid #137096;
    padding: 2em;
    position: absolute;
    top: 0;
    left: 0;
    margin: 6em;
    -webkit-box-shadow: 0 2px 8px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 2px 8px 2px rgba(0,0,0,0.3);
    box-shadow: 0 2px 8px 2px rgba(0,0,0,0.3);
}

.close_box {
	background: url(../img/close.png) no-repeat;
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    text-indent: -9999px;
}

