html, body {
    height: 100%;
    padding: 0;
    margin: 0;
}
body>#wrapper {
    height: auto;
}
body {
    font: 68.5%/1.5 Verdana, Geneva, sans-serif;
    color: #333;
    background-color: #041D39;
    background-image: url('../images/bg.jpg');
    background-repeat: repeat;
}
b {
    font-weight: bold;
}
#header {
    margin: 0 0 40px;
}
#header h1 {
    font-size: 5em;
    line-height: 1.5;
    color: #fff;
    font-family: 'Cardo', serif;
    margin: 10px 0 0;
    text-shadow: 3px 3px 3px #000;
}
#wrapper {
    width: 960px;
    margin: 0 auto;
    height: 100%;
    min-height: 100%;
    position: relative;
}
#header p {
    color: #CCFFFF;
    font-style: italic;
    font-size: 1.5em;
    line-height: 1.5;
}
#menu {
    overflow: hidden;
    margin: 0 0 0 50px;
}
#menu li {
    float: left;
    list-style: none;
    background-color: #fff;
    margin: 0 7px;
    vertical-align: middle;
    line-height: 50px;
    height: 50px;
    font-size: 1.5em;
    background: #339966;
    border-top: 1px solid #333333;
    border-right: 1px solid #333333;
    border-left: 1px solid #333333;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
#menu li.active {
    background: #fff;
    -webkit-border-radius: 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border-radius: 0px;
    z-index: 10;
    position: relative;
}
#menu span.active {
    color: #333;
}
#menu a, #menu span {
    padding: 0 30px;
    display: block;
    color: #fff;
    text-decoration: none;
}
#menu a:hover {
    text-decoration: underline;
}
#content {
    width: 960px;
    background-color: #fff;
    min-height: 100px;
    padding: 50px 65px;
    font-size: 1.5em;
    height: 100%;
    -moz-box-shadow: 2px -2px 5px #333;
    -webkit-box-shadow: 2px -2px 5px #333;
    box-shadow: 2px -2px 5px #333;
    position: relative;
    z-index: 1;
}
#content h1 {
    font-size: 2em;
    font-family: 'Cardo', serif;
    font-weight: bold;
    color: #1C5639;
    text-transform: uppercase;
    background: url('../images/header_thing.jpg') no-repeat;
    padding: 0 0 0 70px;
    margin: 0 0 30px -65px;
}
#content h2 {
    font-size: 1.5em;
    font-family: 'Cardo', serif;
    color: #002F66;
    text-transform: uppercase;
    padding: 1em 0;
}
#content p {
    margin-bottom: 1em;
    text-indent: 2em;
}
#content ul {
    padding: 0 0 0 1.5em;
    list-style: disc;
}
#content ul.multi>li {
    list-style: none;
    font-weight: bold;
    margin-bottom: 1em;
}
#content ul.multi>li li {
    font-weight: normal;
}
#content ul.multi>li ul {
    padding-top: 0.5em;
}
#content>ul {
    padding-bottom: 1em;
}

#footer {
    position: relative;
    height: 60px;
    padding: 10px 0 10px 100px;
    width: 960px;
    margin: 0 -50px 0 0;
    color: #D3D3D3;
    font-size: 1em;
    text-align: right;
}
#footer a {
    color: #fff;
}

div.flash {
    color: black;
    background: #FFF9D7;
    border: 1px solid #E2C822;
    padding: 1em;
    margin: 1em 0;
}

a[href^="error:"] {
    background: red;
    color: white;
}
a.popup {
    position: relative;
    cursor: help;
    text-decoration: underline;
    color: #1C5639;
}
a.popup span {
    display: none;
}
a.popup:hover span {
    display: block;
    position: absolute;
    top: 25px;
    left:0;
    width: 420px;   
    background: #fff;
    padding: 10px;
    -moz-box-shadow:    3px 3px 3px 3px #999;
    -webkit-box-shadow: 3px 3px 3px 3px #999;
    box-shadow:         3px 3px 3px 3px #999;
    border: 1px solid #000;
    z-index: 5;
}
