body {
    width: 1000px;
    margin: 0px auto;
    font-family: Helvetica, Tahoma, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    background-color: white;
    color: black;
}

table {
    font-size: 100%;
}

img {
    border: none;
}

i, em {
    color:#668;
    font-family: comic sans, cursive;
}

a {
    color: #0a0;
    border: none;
}

a.link-image {
    line-height: 1.0;
}

a:hover {
    color: #0d0;
    background: #efe;
    text-decoration: underline;
}

a.link-image:hover {
    background: none;
}

table a {
    text-decoration: none;
}

table a:hover {
    text-decoration: underline;
}

.top-aligned {
    vertical-align: top;
}

td p {
    margin-top: 0px;
}

.header {
    margin-top: 5px;
}

.header, .footer {
    background: #e4eeff;
    padding: 8px;
    border: 1px solid #bbd;
    border-radius: 5px;
}

.header a {
    display: inline-block;
    border-radius: 7px;
    background: #ccc;
    color: #080;
    padding: 4px;
    font-size: 125%;
    text-decoration: none;
}

.header a.with-image {
    background: none !important;
    padding: 0px;
}

.header img {
    vertical-align: top;
}

.header a:hover {
    background: #aaf;
    color: yellow;
}

.tag {
    padding: 2px;
    border-radius: 4px;
    border: 1px solid #aaa;
    margin: 2px;
    font-weight: bold;
    color: #528;
    background: #ffa;
    white-space: nowrap;
}

a.tag:hover {
    background: #528;
    color: #ffa;
}

.clock {
    color: #44f;
    margin: 0px 5px;
    padding-top: 3px;
    font-size: 125%;
}

.menu-icons {
    padding-top: 2px;
}

.menu-search {
    padding-top: 1px;
    width: 165px;
}

#cse-search-box input[type=submit] {
    text-indent: -999px;
    padding: 0px;
    margin-left: -5px;
    cursor: pointer;
    border: 0px;
    background-image: url(../img/search.png);
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    width: 20px;
    height: 20px;
}

.errors {
    background: #f88;
    color: yellow;
    padding: 5px;
    margin-top: 5px;
    font-weight: bold;
}

.flash-msg {
    float: right;
    background: #4AF;
    color: yellow;
    padding: 15px;
    font-size: 115%;
    font-weight: bold;
    margin: 3px 0px;
    border-radius: 5px;
}

.attention {
    border-left:5px solid #f00;
    padding-left:5px
}

code {
    color: #a08;
    font-weight: bold;
    font-family: monospace;
    padding: 2px;
    border-radius: 2px;
}

pre code {
   display: block;
   background: #def;
   border-radius: 0px;
   border: 1px solid #aae;
   padding: 5px;
   font-size: 110%;
   line-height: 1.1;
   margin: 0px 50px;
}

.hint {
    color: #777;
    font-style: italic;
}

.nice-table {
    border: 1px solid black;
}

.nice-table th, .nice-table td {
    padding: 1px 3px;
}

.nice-table tbody tr:nth-child(odd) {
    background-color: #e4eeff;
}

.textarea-wide {
    width: 100%;
    height: 200px;
}

.textarea-wide-short {
    width: 100%;
    height: 70px;
}

.full-width {
    width: 100%;
}

.small-header-link {
    font-size: 80%;
    font-weight: normal;
}

.centered {
    text-align: center;
}

.right-aligned {
    text-align: right;
}

.strong {
    font-weight: bold;
}

.no-strong {
    font-weight: normal;
}

.no-underline {
    text-decoration: none;
}

.italic {
    font-style: italic;
}

.hidden {
    display: none;
}

.inlined {
    display: inline-block;
}

.red {
    color: #f00;
}

.green {
    color: #0d0;
}

.black {
    color: #000;
}

.bgr-ltblue {
    background: #bdf;
}

.bgr-gray {
    background: #888;
}

.red-warning {
    color: red;
    font-weight: bold;
}

.btn-link {
    border-radius:3px;
    padding: 5px;
    color: white;
    background: #5A74B2;
    font-weight: bold;
}

.btn-link:hover {
    background: #627ABA;
    color: white;
    text-decoration: none;
}

.float-right {
    float: right;
}

.CodeMirror {
    border: 1px solid #888;
}

.advheader {
    width: 100%;
    margin-top: 18px;
}

.advheader h3, .advheader h2, .advheader h1 {
    margin-top: 0px;
}

.no-margin {
    margin: 0px;
}

.advheader td + td {
    width: 468px;
}

.advheader td.leaderboard {
    width: 728px;
}

.message-personal {
    padding: 2px;
    background: yellow;
    text-align: center;
}

.message-personal a {
    color: blue;
}

.comment {
    margin: 10px 70px;
    padding: 10px;
    border-radius: 10px;
}

.comment.level1 {
    background: #cfc;
}

.comment.level2 {
    background: #fcc;
    margin-left: 130px;
}

.forum-post {
    margin: 10px 30px;
    padding: 10px;
    border-radius: 10px;
}

.forum-post.level1 {
    background: #efd;
    margin-right: 70px;
}

.forum-post.level2 {
    background: #fee;
    margin-left: 70px;
}

.messhall .username, .comment .username, .forum-post .username {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
}

.comment .comment-head {
    background: #fff;
    padding: 3px;
    border-radius: 6px;
}

.messhall .timestamp, .comment .timestamp {
    font-size: 85%;
    padding-left: 10px;
}

.messhall .message, .comment .message {
    display: block;
    padding-left: 50px;
}
.rank {
    font-weight: bold;
    background-repeat: no-repeat;
    background-size: 16px;
}
.rank0 {
    color: #888;
}
.rank1 {
    color: #4f4;
}
.rank2 {
    color: #0dd;
}
.rank3 {
    color: #44f;
}
.rank4 {
    color: #d0d;
}
.rank5 {
    color: #dd0;
}
.rank6 {
    color: #f91;
}
.rank7 {
    color: #f44;
}
.rank8 {
    color: #44f;
    background-image: url(../img/icons/star_small.png);
    padding-left: 20px;
}
.rank9 {
    color: #f91;
    background-image: url(../img/icons/seal_small.png);
    padding-left: 20px;
}
.rank10 {
    color: #0ce;
    background-image: url(../img/icons/fir_small.png);
    padding-left: 20px;
}

#wdgt_ft {
    display:none;
}

.wdgt_hd {
    padding: 4px !important;
    text-align: center !important;
}
