* {
    margin: 0;
}
body {
    background: #F3F0ED url(images/bg.gif) repeat-x top center;
    font: small "Trebuchet MS", Tahoma, Verdana, Arial, sans-serif;
    color: #000;
}
a {
    color: #164478;
    text-decoration: none;
    font-weight: bold;
}
a:hover {
    color: #9F2900;
    text-decoration: underline;
}
p {
    padding-top: 15px;
}
h1 a, h1 a:hover, h2 a, h2 a:hover, h3 a, h3 a:hover, h4 a, h4 a:hover {
    color: #000;
    text-decoration: none;
}
h1 {
    margin-left: 2px;
}
h2 {
    display: block;
    font-size: 1.5em;
    padding: 0;
    margin-bottom: 10px;
}
h3 {
    display: block;
    font-size: 1.3em;
    padding: 0;
    margin-bottom: 6px;
}
hr {
    width: 70%;
    text-align: center;
    color: #9F8276;
}
img {
    border: 0;
}
label {
    cursor: pointer;
}
acronym {
    cursor: help;
}
fieldset {
    width: 100%;
    margin-left: 18px;
    padding-left: 15px;
}
legend {
    font-size: 1.1em;
    font-family: sans-serif;
    letter-spacing: 1.5px;
}
dl {
    display: block;
    position: relative;
    width: 100%;
}
dt {
    display: block;
    clear: both;
    float: left;
    width: 30%;
    padding: 4px 0 2px 0;
    text-align: left;
}
dd {
    display: block;
    width: auto;
    margin: 0 0 8px 0;
    padding-left: 6px;
}
input {
    margin-top: 2px;
    border: 1px solid #A7C6DF;
}
button,textarea {
    background-color: #FFF;
    border: 1px solid #A7C6DF;
}
fieldset:hover,button:hover,input:hover,textarea:hover {
    border-color: #0094ff;
}

table {
    width: 100%;
    border: 1px solid #A7C6DF;
    margin: 1em auto;
    border-collapse: collapse;
    padding: 0;
}
td {
    color: #476681;
    border: 1px solid #A7C6DF;
    padding: .3em 1em;
}
th {
    padding: 5px 0 5px 10px;
    text-align: left;
    background: #F9FCFE;
    border:1px solid #A7C6DF;
}
tr {
    border:1px solid #A7C6DF;
}
tr.table1 {
    background: #DFEBFF url(images/tablebg.gif) repeat-y;
    height: auto;
}
tr.table2 {
    background: #f9fcfe;
}


#container {
    width: 100%;
    margin: 0 auto -4em; /* the bottom margin is the negative value of the footer's height */
}
#head {
    position: absolute;
    top: 0px;
    left: 0px;
    display: block;
    background: #FFF url(images/header.jpg) no-repeat;
    width: 1017px;
    height: 421px;
}
#head h1, #head h2, #head h3 {
    display: none;
}
#login {
    position: absolute;
    top: 0px;
    left: 652px;
    width: 350px;
}
#login h2 {
    display: block;
    font-size: 1em;
    padding: 0;
    margin-bottom: 5px;
}
#menu {
    position: absolute;
    top: 356px;
    left: 260px;
}
#menu ul {
    display: inline;
}
#menu li {
    display: inline;
    margin-left: 20px;
    color: #FFF;
    font-size: 1.2em;
}
#menu li a {
    color: #FFF;
    padding: 0 3px 0 3px;
}
#menu li a:hover {
    text-decoration: none;
    background-color: #FFF;
    color: #184073;
}
#main {
    position: absolute;
    top: 421px;
    left: 0px;
    width: 100%;
    min-height: 500px;
    background: #F3F0ED url(images/content_bg.gif) repeat-y;
}
#side {
    width: 264px;
    float: left;
    text-align: left;
    padding: 0 25px 25px 25px;
}
#content {
    position: absolute;
    width: 653px;
    left: 317px;
    padding: 0 25px 25px 25px;
}
#content h2 {
    display: block;
}

.message {
    width: 70%;
    height: auto;
    min-height: 40px;
    margin: 0 auto;
    text-align: left;
    color: #0000FF;
    padding: 20px;
    font-weight: bold;
    background: #B3D3EF url(images/message_bg.gif);
    border: 1px solid #306CA8;
}

.notice {
    color: #000;
    background: #993333;
    border-color: #FF0000;
}

.notice a {
    color: #FFF;
}

.error {
    color: #000;
    background: #B3D3EF url(images/error.gif);
}

.manage_content {
    background: url(images/newupdate.gif) no-repeat 0 0;
    padding-left: 25px;
}

.manage_referrals {
    background: url(images/accept.gif) no-repeat 0 0;
    padding-left: 25px;
}

.manage_users {
    background: url(images/users.gif) no-repeat 0 0;
    padding-left: 25px;
}

.edit li {
    list-style-type: none;
    background: url(images/edit.gif) no-repeat 0 0;
    padding: 0 0 5px 25px;
}