body, html {
    height: 100%;
    width: 100%;
    background: #ffffff;
    color: #333333;
}

p {
    margin: 0px 0px 10px 0px;
}

a {
    text-decoration: none;
    color: #00489A;
}

a:visited {
    color: #1D4786;
}

a:hover {
    color: #00489A;
    text-decoration: underline;
}

#container {
    margin-top: 30px;
}

#headline {
    padding: 22px 0 22px 0;
}

#header {
    height: 130px;
    background-color: #A4A4DD;
}

#header h1, #header h2 {
    color: #fff;
    float: left;
    padding: 30px 0 30px 0;
    margin-bottom: 0;
}

#header h1 {
    font-size: 28px;
}

#header h2 {
    font-size: 20px;
}

#header a {
    text-decoration: none;
}

#content {
    padding-top: 0;
    margin: 0;
    background-color: #ffffff;
}

#top_menu {
    background-color: #8484BD;
}

#top_menu ul {
    list-style-type: none;
    margin: 5px 0px 5px 120px;
    padding: 0;
}

#top_menu li {
    display: inline;
    margin-left: 0;
}

#top_menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 7px 15px 8px 15px;
    border: 1px solid #A4A4DD;
    border-radius: 5px 5px 0 0;
}

#top_menu a:hover, #top_menu li.selected a, #top_menu li.ancestor a {
    background-color: #fff;
    color: #A00000;
}

#left_menu {
    height: 700px;
    background-color: #f0f0f0;
    padding-top: 20px;
}

#left_menu ul {
    margin: 0 5px 0 20px;
    font-family: arial, helvetica, sans-serif;
    font-size: 13px;
}

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

#left_menu a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

#left_menu a:hover,
#left_menu ul.toplevel li.ancestor ul li a:hover,
#left_menu ul.toplevel li.selected ul li.descendant a:hover,
#left_menu ul.toplevel li.ancestor ul li.selected ul li.descendant a:hover {
    color: #A00000;
}

#left_menu ul.toplevel li.selected a,
#left_menu ul.toplevel li.ancestor a {
    color: #A00000;
}

#left_menu ul.toplevel li.selected ul li.descendant a {
    color: #000000;
}

#left_menu ul.toplevel li.selected ul li a,
#left_menu ul.toplevel li.ancestor ul li a,
#left_menu ul.toplevel li.ancestor ul li.selected ul li.descendant a,
#left_menu ul.toplevel li.ancestor ul li.ancestor ul li.sibling a,
#left_menu ul.toplevel li.ancestor ul li.sibling a
{
    color: #000;
}

#left_menu ul.toplevel li.selected ul li a,
#left_menu ul.toplevel li.ancestor ul li.ancestor a,
#left_menu ul.toplevel li.ancestor ul li.selected a,
#left_menu ul.toplevel li.ancestor ul li.ancestor ul li.selected a,
#left_menu ul.toplevel li.ancestor ul li.sibling a:hover {
    color: #A00000;
}


#left_menu_userinfo {
    border-top: 1px solid #8484BD;
    margin-top: 30px;
    padding: 10px 15px 0px 15px;
    color: #000;
}

div#mainbox p img.right {
    float: right;
    margin: 0 0 15px 15px;
}

div#mainbox p img.left {
    float: left;
    margin: 0 15px 15px 0;
}

div.menu_text {
    color: #000000;
    font-weight: normal;
    padding: 5px 0 5px 20px;
    margin-right: 0;
}
div.menu_text a {
    text-decoration: underline;
    color: #fff;
}

#mainbox {
    margin-left: 0;
    padding-top: 20px;
}

#mainbox h1 {
    color: #A00000;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    padding: 0;
}

#mainbox h2 {
    font-weight: bold;
    font-size: 14px;
    font-style: italic;
    color: #000000;
    float: none;
    padding: 0;
    margin-bottom: 10px;
}

#mainbox h3 {
    font-weight: bold;
    font-size: 12px;
}

a.special-link.pdf {
    background-image: url(../img/pdf-link.gif);
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 16px;
}

a.special-link.doc {
    background-image: url(../img/word.png);
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 16px;
}

form {
    margin-bottom: 10px;
}

form table tr{
    height: 25px;
}

form table tr th{
    padding-right: 15px;
}

form table tr.required th{
    font-weight: bold;
}

input{
    width: 300px;
}

.profile td {
    padding-right: 15px;
}

input[type="submit"]{
    width: 150px;
    margin-bottom: 10px;
}

input[type="checkbox"]{
    width: auto;
    margin: 0 0 10px 0;
}

input[type="radio"]{
    width: auto;
    margin: 0 0 10px 0;
}

td textarea {
    margin: 0 0 4px 0;
}

tr.section_header {
    background-color: #F0F0F0;
}

tr.section_header th {
    font-weight: bold;
    color: #A00000;
    padding-left: 5px;
}

.errorlist {
    color: #b22222;
}

/* ********************************************* */
/* Members                                       */
/* ********************************************* */

#members-table td:nth-of-type(1){

    width: 250px;
}

#members-table td:nth-of-type(2){

    font-weight: 700;
}










#fee_table {
    border: 1px solid;
    border-bottom: 1px solid;
    background-color: #fff;
}

#fee_table td, #fee_table th {
    border: 1px solid;
    padding: 0 5px 0 5px;
}

#fee_table th {
    font-weight: bold;
}

#fee_overview {
    border: 1px dotted;
    border-bottom: 1px dotted;
    background-color: #fff;
}

#fee_overview td, #fee_overview th {
    border: 1px dotted;
    padding: 3px 10px;
}

#fee_overview th {
    font-weight: bold;
    background-color: #87CEEB;
}

#paper_view td, #paper_view th {
    border-bottom: 1px solid;
    border-color: #A4A4DD;
    padding: 4px;
}

#paper_view th {
    width: 150px;
    font-weight: bold;
}

#paper_view th.id {
    width: 50px;
}

#paper_view tr.head_row {
    background-color: #F0F0F0;
    border-top: 1px solid #808080;
}

#paper_view tr.head_row td, #paper_view tr.head_row th {
    font-weight: bold;
}

#inner_paper {
    margin-bottom: 0px;
}

#inner_paper td, #inner_paper th {
    border-bottom: 0px;
    padding: 0px;
    font-weight: normal;
}

input.date {
    width: 30px;
}

input.dateyear {
    width: 50px;
}

#id_paid_by, #id_accompanying_person {
    margin-bottom: 5px;
}
