
/** global styles **/

body {
    background-color: #db7;
    font-family: sans-serif;
}

a {
    color: #412;
}

a:visited {
    color: #520;
}

img {
    margin: 3px;
    border: solid black 2px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}

#shell {
    width: 772px; /* 28px for scrollbar, etc. Re: nyt.com, sfgate.com */
    margin: 15px auto;
    background-color: #961;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}

.title {
    font-weight: bolder;
}

/** header, nagivation **/

#header {
    text-align: center;
    padding: 5px;
    padding-top: 10px;
    color: #ca5;
}

#header .title a {
    font-size: 40px;
    text-decoration: none;
    color: #ca5;
}

#header .subtitle a {
    font-size: 16px;
    font-family: serif;
    text-decoration: none;
    color: #ca5;
}

/** header navigation bar **/

#header .nav {
    margin-top: 10px;
    cursor: default;
    width: 100%;
    background-color: #630;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

#header .nav ul {
    margin: 0;
    padding: 0;
    width: 100%;
    display: table;
    list-style-type: none;
}

#header .nav li {
    display: table-cell;
    border: solid #630 2px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

#header .nav li.current {
    background-color: #851;
}

#header .nav li.order {
    border: solid #ca5 2px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#header .nav li a {
    display: block;
    padding: 2px 10px;
    text-decoration: none;
    font-weight: bold;
    color: #b94;
}

#header .nav li a:hover {
    color: #630;
    background-color: #b94;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

/** main Content **/

#mainContentWrap {
    padding: 5px 10px;
}

#mainContentHeader, #mainContentFooter {
    clear: both;
    border-style: solid;
    border-color: #210;
    border-width: 3px 0 0 0;
}

#mainContent {
    padding: 5px;
    font-size: 16px;
    font-family: serif;
    position: relative;
}

#mainContent div.half {
    width: 360px;
    margin: 2px 0;
}

#mainContent div.half p {
    padding: 0 2px;
    margin: 15px 3px;
    text-align: justify;
}

#mainContent div.half img {
    margin-left: 3px;
    margin-right: 3px;
}
    
#mainContent div.right {
    clear: right;
    float: right;
}

#mainContent div.left {
    clear: left;
    float: left;
}

#mainContent div.full {
    padding: 1px 0;
    clear: both;
}


/** forms **/

form label {
    display: block;
    text-align: left;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 14px;
}

.topLeftNote {
    float: right;
    font-size: 12px;
    margin: 5px;
}

.error, .errorlist {
    color: #800;
}

.errorlist {
    margin: 10px 0 0;
    font-weight: bold;
    font-size: 14px;
}


/** footer stuff **/

#footer {
    padding: 5px;
    padding-bottom: 10px;
    text-align: center;
    color: #ca5;
}

#footer .title {
    font-size: 14px;
}

#footer .subtitle {
    font-size: 12px;
}


