body {
    background-color: #000010;
    background-image: url('../images/bg.png');
    font-family: Verdana, Tahoma, Helvetica, Arial, sans-serif;
    font-size: 0.8em;
    color: #101010;
}

textarea {
    resize: none;
}

.loginbox {
    background-image: url('../images/login.jpg');
    position: absolute;
    width: 761px;
    height: 576px;
    top: 50%;
    left: 50%;
    margin-left: -381px;
    margin-top: -288px;
    overflow: hidden;
    border: 2px solid #c00000;
}

.loginbox-inner {
    position: relative;
    width: 100%; height: 100%;
}

#loginspot {
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -134px;
    top: 330px;
    background: rgba(255, 255, 255, 0.7);
    width: 260px;
    padding: 4px;
    border-radius: 4px;
}

#loginspot > div {
    height: 26px;
    margin: 3px;
    overflow: hidden;
}

#loginspot span.label {
    display: block; 
    width: 100px;
    float: left;
    font-weight: bold;
}

#loginspot input {
    display: block;
}

.fiwrap {
    background: #ffffff;
    border: 1px solid #808080;
    overflow: hidden;
    padding: 2px;
}
.fiwrap > input, .fiwrap > textarea {
    border: none;
    width: 100%;
}


a.hogbtn, input[type="submit"], input[type="button"] {
    background: #000030;
    padding: 4px 8px;
    text-transform: to-uppercase;
    font-weight: bold;
    color: #ffffff;
    font-size: 0.6em;
    border: 0;
    cursor: pointer;
    text-decoration: none;
}
a.hogbtn.big, input[type="submit"].big, input[type="button"].big {
    font-size: 1em;
    min-height: 18px;
}
a.hogbtn.fl {
    float: left;
    margin-right: 3px;
}
a.hogbtn.fr {
    float: right;
    margin-left: 3px;
}
a.hogbtn:hover {
    color: #ffff80;
}
a.hogbtn.done {
    background-color: #308058;
}


#wrapper {
    background: #ffffff;
    width: 80%;
    max-width: 1000px;
    margin: 15px auto;
    padding: 10px;
    border: 2px solid #b0b0b0;
}


.top {
    overflow: hidden;
    margin: 2px;
}
.top > div {
    display: block;
    background: #e0e0e0;
    padding: 5px;
    float: left;
    margin-right: 3px; 
}
.top > a { float: right; margin-left: 2px; }
.top > .nickname {
    font-weight: bold;
}


.cleardiv {
    clear: both;
    position: relative;
    overflow: hidden;
}


.exchange {
    overflow: hidden;
    background: #f4e0e0;
    margin: 10px 0 20px 0;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    min-height: 80px;
}
.exchange > .year {
    border-top-right-radius: 10px;
    font-size: 1.5em;
    font-weight: bold;
    padding: 5px 8px;
    overflow: hidden;
    float: right;
    background: #d8ffe0;
    border: 1px solid #008000;
}
.exchange .comfortable {
    font-size: 1.3em;
    margin-bottom: 4px;
}
.exchange .mydetails {
    position: absolute;
    bottom: 0; right: 0;
    border-bottom-right-radius: 3px;
}


.exchange .reward {
    width: 38px; height: 70px;
    top: 12px; right: 120px;
    position: absolute;
}
.exchange .reward.token {
    background: url('../images/reward_pending.png');
}
.exchange .reward.granted {
    background: url('../images/reward_granted.png');
}


.exchange .deplabel {
    width: 60%;
    background: #401030;
    color: white;
    padding: 3px;
    font-weight: bold;
    margin-top: 8px;
}
.exchange ul.dependents {
    padding: 3px;
    margin-top: 0;
    width: 60%;
}
.exchange .dependents > li {
    display: block;
    padding: 3px;
    background: #f0f0f0;
    margin: 3px 0;
    overflow: hidden;
}
.exchange .dependents .depdel {
    float: right;
}
.exchange .dependents .depstatus {
    float: right;
    width: 300px;
}


h1 {
    font-size: 1.5em;
    display: block;
    margin: 5px 5px 10px 5px;
}

h2 {
    font-size: 1.15em;
    display: block;
    background: none repeat scroll 0 0 #d0ffd0;
    border-bottom: 1px solid #00b000;
    margin: 10px 0 3px 0;
    padding: 2px 3px;
    color: #002000;
}

h3 {
    background: none repeat scroll 0 0 #ffd0d0;
    border-bottom: 1px solid #b00000;
    display: block;
    font-size: 1em;
    margin: 8px 15px 2px 15px;
    padding: 1px 3px;
    color: #300000;
}

.detail {
    overflow: hidden;
    margin: 2px 15px 10px 15px;
}
.detail > textarea {
    display: block;
    width: 100%;
    height: 140px;
}
.detail > ul {
    padding-left: 0;
    margin-top: 0;
}
.detail li {
    display: block;
    padding: 3px;
    background: #f0f0f0;
    margin: 3px 0;
}

.detail li > .label {
    width: 200px;
    font-weight: bold;
    float: left;
    margin-right: 5px;
}

.detail.constrainedlist {
    overflow: auto;
    height: 140px;
    min-height: 140px;
    resize: vertical;
}

.detail a {
    font-weight: bold;
    color: #000030;
}

.detail.mw {
    font-family: 'Courier New', 'Monaco', 'DejaVu Sans Mono', 'Consolas', monospaced;
}

.nickhl {
    color: #ff0000;
}


.stark {
    background: #f0f0f0;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
    text-align: center;
}
.error {
    background: #ff6900;
    color: white;
    padding: 8px 16px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}
.success {
    background: #d0ffd0;
    color: #408040;
    padding: 8px 16px;
    text-align: center;
    margin-bottom: 10px;
    border: 1px solid #408040;
}

.bigwarningbox {
    overflow: hidden;
    background: #a48080;
    margin: 10px 0 20px 0;
    padding: 10px;
    border-radius: 10px;
}
.bigwarningbox > .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 3px;
}


.message {
    background: #d0d0ff;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    padding: 5px;
    position: relative;
}
.message > .head {
    border-bottom: 1px solid #808080;
    font-size: 0.8em;
    padding-bottom: 2px;
}
.message > .body {
    padding: 4px;
}
.message > .foot {
    margin-top: 4px;
    padding-left: 16px;
    background: url('../images/miniclip.png') no-repeat scroll 0 0;
    font-size: 0.8em;
    height: 16px;
    line-height: 16px;
}
.message > .replylink {
    position: absolute;
    bottom: 0; right: 0;
    display: block;
}

.reply {
    background: #D1FFD5;
    border-radius: 6px;
    overflow: hidden;
    padding: 3px;
    position: relative;
    margin: 4px 6px;
}
.reply > .head {
    border-bottom: 1px solid #a0a0a0;
    font-size: 0.6em;
    padding-bottom: 1px;
}
.reply > .body {
    padding: 3px;
}
.reply > .foot {
    margin-top: 3px;
    padding-left: 16px;
    background: url('../images/miniclip.png') no-repeat scroll 0 0;
    font-size: 0.8em;
    height: 16px;
    line-height: 16px;
}

.sendform {
    margin-bottom: 5px;
}
.sendform textarea {
    height: 120px;
}
.sendform .attach, .replyform .attach {
    overflow: hidden;
    padding-left: 20px;
    height: 24px;
    line-height: 24px;
    background: url('../images/clip.png') no-repeat scroll 0 2px;
    margin: 2px 0;
}
.sendform .freeattach {
    overflow: hidden;
    padding-left: 20px;
    background: url('../images/clip.png') no-repeat scroll 0 2px;
    margin: 2px 0;
}

.replyform {
    background: #D1FFD5;
    border-radius: 6px;
    overflow: hidden;
    padding: 3px;
    position: relative;
}
.replyform {
    display: none;
}
.replyform textarea {
    height: 70px;
}


.hogbtn.mymessages {
    float: left;
    background: #800000;
}


.form {
    max-width: 600px;
    display: block;
    margin: 2px 15px 5px 15px;
}
.form th {
    font-weight: normal;
    text-align: left;
    width: 200px;
}
.form input {
    display: block;
}

.stark > p {
    text-align: left;
    margin: 4px 0;
}
.stark > ul {
    text-align: left;
}


.simpletable thead th {
    border-bottom: 1px solid black;
}
.simpletable th, .simpletable td {
    padding: 5px;
}
.simpletable .ra {
    text-align: right;
}
.simpletable .wide {
    min-width: 300px;
}
.simpletable .odd td {
    background-color: #e8e8e8;
}
