* {
    margin: 0;
    padding: 0;
    }

body {
    margin: 0;
    padding: 0;
    background: #9c977a;
    font-family: helvetica, arial, serif;
    font-size: 100%;
    color: #333;
    line-height: 1.4em;
    }

#header {
    width: 100%;
    background: #1c355a;
    }

#headerbox {
    width: 546px;
    background: #1c355a url('/images/content-shadow.png') repeat-y;
    margin: 0 auto;
    }

#headerbox a#logo {
    display: block;
    margin: 0 auto;
    width: 260px;
    height: 70px;
    background: #335381 url('/images/header-back.gif');
    color: white;
    font-family: trebuchet ms, sans-serif;
    font-style: italic;
    font-weight: bold;
    padding: 30px 120px 0px;
    }

#navbar {
    width: 500px;
    height: 30px;
    margin: 0 auto;
    background: #999 url('/images/nav-back.gif') repeat-x;
    }

#navbar ul {
    margin: 0;
    padding: 0 5px;
    float: left;
    }

#navbar ul#rightnav {
    float: right;
    }

#login {
    }

#navbar li {
    margin: 0;
    padding: 0;
    float: left;
    display: inline;
    list-style-type: none;
    list-style-position: outside;
    }

#navbar a {
    margin: 0;
    padding: 4px 10px 4px 30px;
    color: black;
    text-decoration: none;
    float: left;
    display: block;
    height: 22px;
    -moz-border-radius: 10px 10px 0 0;
    background-position: 10px 6px;
    background-repeat: no-repeat;
    }

#navbar a:hover {
    background-color: #ccc;
    }

#navbar li#home a,
#navbar li#home a:hover {
    background-image: url('/images/blog-grayscale.png');
    }

#navbar li#about a,
#navbar li#about a:hover {
    background-image: url('/images/question-balloon-grayscale.png');
    }

#navbar li#hosting a,
#navbar li#hosting a:hover {
    background-image: url('/images/box-grayscale.png');
    }

#navbar li#login a,
#navbar li#login a:hover {
    background-image: url('/images/user-grayscale.png');
    }

body.home #navbar li#home a,
body.home #navbar li#home a:hover,
body.about #navbar li#about a,
body.about #navbar li#about a:hover,
body.hosting #navbar li#hosting a,
body.hosting #navbar li#hosting a:hover,
body.login #navbar li#login a,
body.login #navbar li#login a:hover {
    background-color: #fff;
    }

body.home #navbar li#home a,
body.home #navbar li#home a:hover {
    background-image: url('/images/blog.png');
    }

body.about #navbar li#about a,
body.about #navbar li#about a:hover {
    background-image: url('/images/question-balloon.png');
    }

body.hosting #navbar li#hosting a,
body.hosting #navbar li#hosting a:hover {
    background-image: url('/images/box.png');
    }

body.login #navbar li#login a,
body.login #navbar li#login a:hover {
    background-image: url('/images/user.png');
    }

#content, #footer {
    width: 546px;
    background: #9c977a url('/images/content-shadow.png') repeat-y;
    margin: 0 auto;
    }

#contentbox {
    width: 470px;
    padding: 15px;
    margin: 0 auto;
    background: #fff;
    min-height: 300px;
    }

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    margin: 0 0 10px;
    padding: 0;
    color: #1c355a;
    clear: both;
    }
    
#content h1 {
    padding-bottom: 2px;
    border-bottom: 1px solid #ccc;
    }

#content p,
#content ul,
#content ol,
#content table {
    margin: 0 0 10px;
    padding: 0;
    }

h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
h4, h5, h6 { font-size: 13px; }

#content a {
    color: #369;
    }

img {
    border: 0;
    }

#content ol li {
    margin-left: 2.5em;
    }
    
#content ul li {
    margin-left: 1.5em;
    }

#content blockquote {
    margin: 0 1em;
    padding: 0 1em;
    border-left: 2px solid #ffad80;
    }
    
#content div.left-column {
    float: left;
    }

#content div.right-column {
    float: right;
    }

#content div.right-column,
#content div.left-column {
    width: 225px;
    }

    
#footer {
    clear: none;
    }

#footerbox {
    border-top: 1px dashed #999;
    color: #666;
    background: #fff;
    width: 470px;
    margin: 0 auto;
    text-align: center;
    font-size: 85%;
    padding: 15px;
    }

#footer p {
    margin: 0;
    padding: 0;
    }

#secondnav {
    margin: 0;
    padding: 0;
    }

#secondnav ul {
    margin: 0;
    padding: 0;
    }

#secondnav li {
    margin: 0;
    padding: 0;
    display: inline;
    }

#secondnav a {
    margin: 0;
    padding: 0;
    color: #369;
    text-decoration: underline;
    }

#secondnav a:hover {
    color: #369;
    text-decoration: underline;
    }

#acctbal {
    float: right;
    margin: 0 0 10px 10px;
    }

#acctbal table {
    float: left;
    margin: 0 5px 0;
    }

#acctbal table th {
    border: 0;
    font-size: 85%;
    font-weight: bold;
    padding: 0 5px;
    color: white;
    background-color: #369;
    margin: 0;
    }

#acctbal table td {
    border: 0;
    font-size: 85%;
    text-align: left;
    padding: 0 5px;
    margin: 0;
    }

#acctbal div {
    margin: 2px 0 0 5px;
    height: auto;
    }

.ledger, .ledgertable {
    margin: 0;
    width: 100%;
    border: 1px solid #369;
    border-collapse: collapse;
    }

.ledger th, .ledgertable th {
    border: 0;
    font-weight: bold;
    padding: 0 0.4em;
    color: white;
    background-color: #369;
    margin: 0;
    }

.ledger tr.alt td, .ledgertable tr.alt td {
    background-color: #def;
    }

.ledger td, .ledgertable td {
    border: 0;
    padding: 0.1em 0.4em;
    margin: 0;
    vertical-align: middle;
    }

.ledger td.indent, .ledgertable td.indent {
    padding-right: 0;
    width: 1em;
    }
    
.ledger td.num, .ledgertable td.num {
    text-align: right;
    }
    
.ledger td.newcolumn, .ledgertable td.newcolumn {
    border-left: 1px solid #369;
    }
    
.ledger tr.subheader,
.ledger td.total,
.ledgertable tr.subheader,
.ledgertable td.total {
    font-weight: bold;
    }
    
.ledger td img,
.ledgertable td img {
    vertical-align: middle;
    }
    
.unclassified td.class,
.unclassified td.class-num {
    font-weight: bold;
    }
    
/* .ledger td.account {
    padding-left: 30px;
    background-repeat: no-repeat;
    background-position: 10px;
    }
    
.ledger td.acct-10 {
    background-image: url('/images/acct_paypal.png');
    }

.ledger td.acct-40 {
    background-image: url('/images/acct_donations.png');
    }

.ledger td.acct-50 {
    background-image: url('/images/acct_dues.png');
    }

.ledger td.acct-fellows {
    background-image: url('/images/acct_fellows.png');
    }
    
.ledger td.acct-total {
    background-image: url('/images/acct_total.png');
    } */

#content div.upcomingDues {
    border: 1px solid #ffad80;
    background-color: #fff7cb;
    margin-bottom: 0.7em;
    }
    
#content div.upcomingDues table {
    margin: 1em;
    border: 1px solid #ffad80;
    background-color: #fff;
    }
    
#content div.upcomingDues table th {
    background-color: #ff7153;
    }
    
#content div.upcomingDues table tr.alt td {
    background-color: #fff7cb;
    }

ul {
    list-style-type: square;
    }

ul#duesSummary {
    margin-left: 1em;
    }
    
ul#duesSummary li {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
    margin-right: 1em;
    margin-bottom: 0.5em;
    float: left;
    }
    
ul#duesSummary li.total {
    float: right;
    font-weight: bold;
    }
    
#duesSummary span.figure {
    font-size: 85%;
    }

#duesCalc {
    margin: 0 0 1em;
    padding: .5em;
    border: 1px solid #ffad80;
    background: #fff7cb;
    min-height: 4.8em;
    clear: both;
    }
    
#duesCalc p {
    margin: 0.5em;
    padding: 0;
    }

#duesCalc label {
    width: 5em;
    }

#duesCalc select {
    margin: 0;
    width: 150px;
    }

#duesCalc #duesBox {
    margin: .5em;
    padding: 4px;
    font-size: 85%;
    border: 1px solid #ffad80;
    background: #fff;
    width: 100px;
    float: right;
    text-align: center;
    }

#duesCalc #calcAnswer {
    margin: 0;
    padding: 0;
    color: #f84;
    font-size: 200%;
    font-weight: 900;
    text-align: center;
    }

#duesCalc strong {
    color: #1c355a;
    }

#sidebar {
    margin: 30px 0 1em;
    padding: 1em 0 0;
    border-top: 1px solid #aaa;
    font-size: 85%;
    }

#sidebar div.menu {
    float: left;
    margin: 0 3em 1em 0;
    padding: 0;
    }

#sidebar div#search {
    float: right;
    margin: 0 0 1em 0;
    padding: 8px;
    border: 1px solid #ffad80;
    background: #fff7cb;
    }

#sidebar h2 {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: bold;
    }

#sidebar form {
    margin: 0;
    padding: 0;
    }

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

#sidebar li {
    margin: 0;
    padding: 0;
    }

body.contact label {
    width: 5em;
    }

body.contact input#name,
body.contact input#email,
body.contact input#subject,
body.contact select {
    width: 15em;
    }

body.contact textarea {
    width: 22em;
    }

body.contact #content p.submit {
    margin-left: 5.5em;
    }

.neg {
    color: #c00;
    }
    
#logout-link {
    float: right;
    }
    
#aboutbox {
    margin: 0 0 1em;
    padding: .75em 1em;
    border: 1px solid #ffad80;
    background: #fff7cb;
    }

#aboutbox h2 {
    display: inline;
    margin-right: 0.3em;
    }
    
#aboutbox p {
    display: inline;
    }

#content .post h2 {
    margin-bottom: 0;
    }
    
#content .post h2 a {
    text-decoration: none;
    }

#content .post h2 a:hover {
    text-decoration: underline;
    }
    
#content .post .postdetails {
    margin-top: 0;
    font-size: 85%;
    }
    
#content .post .postmetadata {
    font-size: 85%;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: #f9f9f9;
    margin: 1em 0 2em;
    padding: .5em .5em;
    text-align: center;
    }

.navigation {
    height: 1.4em;
    }

a.previous,
.previous a {
    margin-bottom: 1em;
    padding-left: 18px;
    background: url('/images/arrow-180-medium.png') no-repeat left;
    }

.navigation a.previous,
.navigation .previous a {
    float: left;
    margin-right: 0.4em;
    }

a.more-link,
a.next,
.next a {
    margin-bottom: 1em;
    padding-right: 18px;
    background: url('/images/arrow-000-medium.png') no-repeat right 1px;
    }
    
.navigation a.next,
.navigation .next a {
    float: right;
    margin-left: 0.4em;
    }
    
label {
    margin: 0 .5em 0 0;
    padding: 0;
    display: block;
    float: left;
    width: 9em;
    text-align: right;
    }
    
.req {
    color: #f00;
    }
    
#content p.submit {
    margin: 0 0 2em 9.5em;
    }
    
#content span.message,
#content p.message {
    padding-left: 21px;
    padding-right: 5px;
    -moz-border-radius: 10px;
    }
    
#content span.bad,
#content p.bad,
#content span.error,
#content p.error,
#content span.fail,
#content p.fail {
    color: #c00;
    background: #fee url('/images/exclamation-red.png') no-repeat 1px 1px;
    }
    
#content span.good,
#content p.good,
#content span.ok,
#content p.ok,
#content span.success,
#content p.success {
    color: #090;
    background: #efe url('/images/tick-circle.png') no-repeat 1px 1px;
    }
    
#content span.info,
#content p.info {
    color: #000;
    background: #def url('/images/information.png') no-repeat 1px 1px;
    }
    
div#accountmenu {
    margin: -15px 0 0;
    padding: 0.5em 0;
    color: #999;
    }

#accountmenu p {
    text-align: right;
    line-height: 1.7em;
    }
    
#accountmenu a,
#accountmenu span { /* The span here can be removed as soon as domain management goes live */
    padding-left: 20px;
    background-repeat: no-repeat;
    background-position: left;
    }
    
#accountmenu a.summary {
    background-image: url('/images/report.png');
    }

#accountmenu a.profile {
    background-image: url('/images/user--pencil.png');
    }
    
#accountmenu a.domains {
    background-image: url('/images/zones.png');
    }

#accountmenu a.admin {
    background-image: url('/images/gear.png');
    }

#accountmenu a.logout {
    background-image: url('/images/door-open-out.png');
    }
    
#accountmenu strong {
    color: #1c355a;
    }

span#monthlyDues {
    font-weight: bold;
    }
    
p.signup,
p.addFunds {
    float: right;
    margin: 0;
    }
    
button {
    padding: 2px 1em;
    }
    
button img {
    vertical-align: top;
    margin-right: 0.3em;
    }
    
.fineprint {
    font-size: 85%;
    }
    
#admin_first {
    float: left;
    width: 48%;
    }
    
#admin_second {
    float: right;
    width: 48%;
    }
    
#admin_first h2,
#admin_second h2 {
    font-size: 18px;
    margin: 0 0 0.5em;
    }
    
#content dl {
    margin-bottom: 1em;
    }
    
#content dl dt {
    margin: 0 0 0 0.5em;
    }
    
#content dl dd {
    margin: 0 0 0.5em 3em;
    font-size: 85%;
    }
    
#content dl dt a {
    padding-left: 20px;
    background-repeat: no-repeat;
    background-position: left;
    }
    
#content dl dt a.accthx {
    background-image: url('/images/tables.png');
    }

#content dl dt a.acctadd {
    background-image: url('/images/table--plus.png');
    }

#content dl dt a.acctedit {
    background-image: url('/images/table--pencil.png');
    }

#content dl dt a.addtxn {
    background-image: url('/images/table-insert-row.png');
    }
    
#content dl dt a.edittxn {
    background-image: url('/images/table-select-row.png');
    }
    
#content dl dt a.refresh {
    background-image: url('/images/arrow-circle.png');
    }
    
#content dl dt a.apprpend {
    background-image: url('/images/user--plus.png');
    }
    
#content dl dt a.billfellows {
    background-image: url('/images/money-coin.png');
    }
    
#content dl dt a.editfellow {
    background-image: url('/images/user--pencil.png');
    }
    
#content dl dt a.termfellow {
    background-image: url('/images/user--minus.png');
    }
    
#content dl dt a.emailfellows {
    background-image: url('/images/postage-stamp.png');
    }
    
#content dl dt a.balsheet {
    background-image: url('/images/reports.png');
    }
    
#content dl dt a.listfellows {
    background-image: url('/images/users.png');
    }

#content dl dt a.mandom {
    background-image: url('/images/zones.png');
    }
    
#content dl dt a.variables {
    background-image: url('/images/fugue/equalizer.png');
    }
    
#content dl dt a.addvariable {
    background-image: url('/images/fugue/equalizer--pencil.png');
    }
    
#content dl dt a.stats {
    background-image: url('/images/fugue/table-sum.png');
    }
    
#content div.contactCard {
    border: 1px solid #369;
    background: #def;
    margin-bottom: 1em;
    }
    
#content div.alt {
    border: 1px solid #f95;
    background: #fff7cb;
    }

#content div.contactCard h2 {
    background: #369;
    color: #fff;
    font-size: 13px;
    padding: 0.1em 0.5em;
    margin: 0 0 0.5em;
    }

#content div.alt h2 {
    background: #f95;
    }
    
#content div.contactCard ul {
    margin: 0 1em 0.5em;
    }
    
#content div.contactCard a.approveContact,
#content div.contactCard a.editContact {
    color: #fff;
    display: block;
    float: right;
    position: relative;
    top: -2.1em;
    margin-right: 0.5em;
    padding-left: 20px;
    background-repeat: no-repeat;
    background-position: left;
    }
    
#content div.contactCard a.approveContact {
    background-image: url('/images/tick.png');
    }
    
#content div.contactCard a.editContact {
    background-image: url('/images/pencil.png');
    }
    
textarea#comment {
    width: 466px;
    }