body {
  padding: 0;
  margin: 0px;
  font-family: verdana, helvetica, sans-serif;
}

a { 
  color: #4a661b;
}

canvas { 
  border: 1px solid #7f9c4e;
}

dt { 
  font-size: larger;
  font-weight: bolder;
}

div.errors {
  display: none;
  padding-left: 30px;
}

div#header h1, div#header h2 {
  color: #fff;
  padding: 0;
  margin: 0;
}

div#header h2 { 
  font-size: 100%;
  float: left;
}

input, textarea, select{
  border: none;
  border-right: #79b14c 1px solid;
  border-bottom: #79b14c 1px solid;
  background-color: #f7f7ed;
  background-image: url(/static/images/input-bg.png);
  padding-left: .25em;
}

input.error, textarea.error, select.error {
  border-color: #ffdfbf;
  background-color: #fff6ed;

}

input.b, a.button {
  background-color: #d9d8c7;
  background-image: url(/static/images/input-button-bg.png);
  background-position: bottom right;
  border: none;
  padding: 0;
  padding-right: 1px;
}

a.button, a.bigbutton { 
  text-decoration: none;
  color: #000;
  padding: .3em;
}

a.bigbutton { 
  background-color: #79b14c;
  background-image: url(/static/images/stripe.png);
  background-position: bottom left;
  background-repeat: repeat-x;
  border: 2px solid #ebffeb;
  color: #fff;
  padding: 1em;
  font-weight: bold;
}

div .graphleft {  
  float: left;
}

div .w300 { 
  width: 300px;
}

.even { 
  background-color: #ffffff;
}

.odd { 
  background-color: #f5faec;
}

.num { 
  font-family: Monaco, Courier;
  padding-left: 1em;
  padding-right: .25em;
  text-align: right;
}

input.num {
  padding-left: 3px;
  text-align: right;
}

table#amortized th { 
  text-align: left;
}

table#amortized td { 
  font-family: monospace;
  text-align: right;
  padding-left: 1em;
}

table#amortized td.txt { 
  text-align: left;
  padding-left: .3em;
  padding-right: 1em;
}

table#amortized tr.legend * { 
  font-family: verdana, helvetica, arial;
  font-weight: bold;
}

table#amortized th { 
  font-family: verdana, helvetica, arial;
  font-weight: bold;
  font-size: 70%;
  vertical-align: top;
}

table#amortized { 
  border: 1px solid #cccccc;
  border-collapse: collapse;
}

table#amortized thead { 
  background-color: #79b14c;
  border: 1px solid #cccccc;
}

#header {
  background-image: url(/static/images/stripe.png);
  background-position: bottom left;
  background-repeat: repeat-x;
  background-color: #79b14c;
  height: 66px;
  /* display: inline on the h1 might make the -20 margin unneseccary */
  margin-top: -20;
  padding-left: 2em;
}

#menu { 
  padding: 0;
  margin: 0;
  margin-right: .5em;
  position: absolute;
  right: 0;
  top: 0px;
  z-index: 100;
}

#menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#menu a {
  text-decoration: none;
  color: #558055;
  display: block;
  padding: .5em;
}

/*
#menu > ul > li > ul > li > a {  
  padding-top: .1em;
  padding-bottom: .1em;
}
*/

/*
#menu a:hover {
  color: #77b377;
}
*/

#menu li {
  background-image: url(/static/images/tab.png);
  background-repeat: no-repeat;
  display: inline;
  font-weight: bolder;
  float: left;
  margin: 0;
  padding: 0;
  padding-bottom: 1px;
}

#menu > ul > li {
  margin-right: .1em;
  margin-left: .1em;
}

/*
#menu li ul { display: none; }
#menu li:hover > ul { display: block; }
#menu li ul li { display: block; float: none;}
*/

#primary {
  margin: 0;
  padding-bottom: 1em;
  color: #000;
  width: 98%;
  position: absolute;
  top: 30px;
  text-align: center;
}

#content { 
  text-align: left;
  padding-top: 1em;
  width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#footer {
  padding-top: 5em;
  color: #333;
  padding-left: 1em;
  font-size: small;
  text-align: center;
}

#footer a { 
  text-decoration: none;
  color: #333;
}

ul.debts{ 
  list-style-type: none;
  padding-left: 0;
}

ul.debts li span#handle {
  padding: 5px;
  margin-top: 10px;
  background-color: #f3f3fa;
  width: 10px;
}

ul#debtheader { 
  padding-left: 30px;
}

ul#debtheader input { 
  background-color: #fff;
  background-image: none;
  border: 1px solid #fff;
  border-bottom: 1px solid #eeeeee;
  color: #000000;
}

span.handle { 
  background-color: #ffdfbf;
}

#pageLogin {
  float: right;
  font-size: small;
  text-align: left;
  padding-right: 3em;
  color: #ffffff;
}

#pageLogin a { 
  color: #ffffff;
}

/* Login Page Specific style */
#loginBox {
  background-color: #faf9f0;
  background-image: url(/static/images/login-bg.png);
  background-repeat: repeat-x;
  border: #ece9cd 1px solid;
  width: 40%;
  margin: auto;
  padding: 10%;
  padding-top: 5%;
  padding-bottom: 5%;
  text-align: center;
  margin-top: 2em;
}

#loginBox table {
  text-align: left;
  table-layout: fixed;
  width: 100%;
}

#loginBox td.label {
  text-align: right;
}

#googleads { 
  margin-top: 2em;
}

p.bcontainer { 
  text-align: center;
  padding: .5em;
}