*{margin:auto;}

body{
    background:  #000 url(../images/bggrad.png) repeat-y scroll top center;
}

div#page{
    margin: auto;
    color: #555;
    width: 803px;
    margin-top: 25px;
    font-size:10pt;
    font-family: sans-serif;
    padding-bottom:25px;
}

div#header{
    background:  transparent url(../images/header.png) top left no-repeat;
    height:  149px;
    border-left:  1px solid #330000;
    text-align:right;    
    width: 803px;
}

div#headertext{
    font-family:OCR A Extended;
    font-size:8pt;
    color:#660000;
    padding-top:135px;
    padding-right:3px;
}

hr{
    height:1px;
    color: #000;
    border: 1px solid #330000;
    width: 80%;
    margin:auto;
}

div#headertext a:link{color:#660000;text-decoration:none;}
div#headertext a:visited{color:#660000;text-decoration:none;} 
div#headertext a:hover{color:#330000; text-decoration:none;} 
div#headertext a:active{color:#FF0000;text-decoration:none;}

div#panel{
    position:relative;
    float:right;
    top:25px;
    left:150px;
    width:225px;
    color:#fff;
    border:1px solid #330000;
    background: #000 url(../images/panel_left.jpg) top left no-repeat;
    padding-left:15px;
    margin-bottom:25px;
    margin-left:-150px;    
}


div#body{
    border:1px solid #330000;
    padding: 5px 10px 5px 10px;
    min-height:500px;
    background:  #000;
    margin-top:-5px;
}

/* bbcode */
span.bold{font-weight:bold;}
span.italic{font-style:italic;}
span.underline{text-decoration:underline;}
span.strikethrough{text-decoration:line-through;}
span.uppercase{text-transform:uppercase;}
span.lowercase{text-transform:lowercase;}
span.smallcaps{font-variant:small-caps;}
span.capitals{text-transform:capitalize;}
span.title{font-size:2em;text-transform:capitalize;}

/* Other Formatting */

*.lightbg{
    background:#151515;
}

*.darkbg{
    background:#101010;
}

*.opac_25{
    opacity:.25;
    filter: alpha(opacity=25);
    -moz-opacity: 0.25;
}

*.opac_50{
    opacity:.50;
    filter: alpha(opacity=50);
    -moz-opacity: 0.50;
}

*.opac_75{
    opacity:.75;
    filter: alpha(opacity=75);
    -moz-opacity: 0.75;
}

div.left{
    float:left;
    clear:both;
}

div.center{
    margin:auto;
    width:1em;
    clear:both;
}

div.right{
    float:right;
    clear:both;
}

blockquote{
    border: 1px solid #330000;
    width:75%;
    margin:auto;
    margin-top:5px;
    margin-bottom:5px;
    margin-left:25px;
}

div.code{    
    border: 1px solid #330000;
    width:75%;
    height:200px;
    margin:auto;
    margin-top:5px;
    margin-bottom:5px;
    overflow:scroll;
    text-align:left;
}

div.code table{
    float:left;
    border-collapse:collapse;
    font: 1em Consolas, 'andale mono', 'monotype.com', 'lucida console', monospace;
}

div.code tr{
    padding:0;
    margin:0;
}

div.imgframe{
    width:80px;
    margin:0;
    margin-left:5px;
    background:#10101;
    border-bottom: 1px solid #330000;
    text-align:center;
}

div.imgframe img{
    cursor:pointer;
}

div.imgframe span{
    margin-top:-10px;
}

td.linecount{    
    border-right: 1px solid #330000;
    text-align:right;
    width:10px;
}

div.entry a:link,div#panel a:link{color:#777;text-decoration:none;}
div.entry a:visited,div#panel a:visited{color:#330000;text-decoration:none;} 
div.entry a:hover,div#panel a:hover{color:#660000;text-decoration:underline;} 
div.entry a:active,div#panel a:active{color:#330000;text-decoration:none;}