body {
    background: none repeat scroll 0 0 #FFFFC0;
    /*  #FFF7ED */
    color: #333;
    font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
    font-size: 0.8em;
    margin: 0;
}

a {
    color: #A06409;
    text-decoration: none;
}

a img {
    border: none;
}

#logobox,
#nav,
#nav ul,
.poptab,
.sidebox h1 {
    background: #FFA00F;
    /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#E0880D', endColorstr='#FFA00F');
    /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#E0880D), to(#FFA00F));
    /* for webkit browsers */
    background: -moz-linear-gradient(top, #E0880D, #FFA00F);
    /* for firefox 3.6+ */
}

input[type=submit],
#nav .current .label,
#nav li:hover>.label,
#info h2,
#fbheader,
#tip,
.commentheader,
.commentfooter,
.newsheader,
.newsfooter,
.pagelink,
.pagecurrent,
.reportreplyhead {
    background: #ffd020;
    /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFDDAD', endColorstr='#FFA00F');
    /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#FFDDAD), to(#FFA00F));
    /* for webkit browsers */
    background: -moz-linear-gradient(top, #FFDDAD, #FFA00F);
    /* for firefox 3.6+ */
}


#logobox,
#nav,
#nav ul,
.poptab,
.poppanel,
#info,
#debug_pop,
#rplayer,
.sidebox,
.flyout,
table,
.commentwrapper,
.newswrapper {
    -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, .8);
    -moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, .8);
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .8);
}



#logobox {
    position: absolute;
    left: 0px;
    height: 140px;
    width: 200px;
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    /*border-radius: 0 0 10px 10px; */
    border-width: 0px 1px 1px 1px;
    border-style: solid;
    border-color: #A06109;
    z-index: 1000;
}

#social {
    padding: 0 0 0 10px;
    position: relative;
}

#logo {
    display: block;
    margin: auto;
    padding: 10px 0;
}


#navwrapper {
    position: fixed;
    left: 10px;
    right: 10px;
    z-index: 10;
}

#nav>li>.label {
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
}

#nav li ul {
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
}

#nav li ul li .label {
    transition: color 0.2s;
    -webkit-transition: color 0.2s;
    -moz-transition: color 0.2s;
    -o-transition: color 0.2s;
}

#nav {
    line-height: 100%;
    /*height:30px;*/
    margin: 0 0 0 200px;
    padding: 0px 6px 0;


    -webkit-border-radius: 0 0 10px 0;
    -moz-border-radius: 0 0 10px 0;

    border-width: 0px 1px 1px 0px;
    border-style: solid;
    border-color: #A06109;
}

#nav li {
    float: left;
    list-style: none outside none;
    margin: 0 1px;
    padding: 0 0 4px;
    position: relative;
}

#nav .label {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    color: #E7E5E5;
    display: block;
    font-weight: bold;
    margin: 0;
    padding: 8px 15px;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

#nav .current .label,
#nav li:hover>.label {
    -webkit-border-radius: 1.6em;
    -moz-border-radius: 1.6em;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    color: #444444;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

#nav ul li:hover .label,
#nav li:hover li .label {
    background: none repeat scroll 0 0 transparent;
    border: medium none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    color: #E7E5E5;
}

#nav ul .label:hover {
    background: #ffd020 !important;
    /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFDDAD', endColorstr='#FFA00F');
    /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#FFDDAD), to(#FFA00F)) !important;
    /* for webkit browsers */
    background: -moz-linear-gradient(top, #FFDDAD, #FFA00F) !important;
    /* for firefox 3.6+ */
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    color: #444444 !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8) !important;
}

#nav ul {
    border: solid 1px #A06109;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    color: #E7E5E5 !important;
    display: none;
    opacity: 0.96;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 28px;
    width: 150px;
    z-index: 11
}

#nav li:hover>ul {
    display: block;
}

#nav ul li {
    float: none;
    margin: 0;
    padding: 0;
}

#nav ul .label {
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}

#nav ul ul {
    left: 181px;
    top: -3px;
}

#nav ul li:first-child>.label {
    -webkit-border-top-left-radius: 9px;
    -moz-border-radius-topleft: 9px;
    -webkit-border-top-right-radius: 9px;
    -moz-border-radius-topright: 9px;
}

#nav ul li:last-child>.label {
    -webkit-border-bottom-left-radius: 9px;
    -moz-border-radius-bottomleft: 9px;
    -webkit-border-bottom-right-radius: 9px;
    -moz-border-radius-bottomright: 9px;
}

#nav:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

#nav {
    display: inline-block;
}

html[xmlns] #nav {
    display: block;
}

* html #nav {
    height: 1%;
}

#bread {
    display: block;
    border: 1px solid #BBB;
    background: #FFFFD0;
    padding: 2px 5px;
}

.errormsg {
    border: 6px solid #F00;
    background: #FFFFA0;
    padding: 20px 20px;
    margin: 0px 200px 20px 0px;
    font-size: 16px;
}

#sidebar {
    position: fixed;
    top: 140px;
    bottom: 0;
    left: 10px;
    width: 200px;
}

.poptab,
.sidebox h1 {

    border-width: 1px 1px 0px 1px;
    border-style: solid;
    border-color: #A06109;
    -webkit-border-radius: 9px 9px 0em 0em;
    -moz-border-radius: 9px 9px 0em 0em;
    /*    border-radius: 10px 10px 0em 0em;*/
    font-size: 1em;
    height: 22px;
    color: #E7E5E5;
    font-weight: bold;
    padding: 6px 20px 2px 20px;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 100;
}

.sidebox h1 {
    margin: 0;
    border-width: 0 0 1px 0;
}

.sidebox p,
.sidebox dl,
.sidebox ul {
    margin: 5px 5px 5px 5px;
}

.sidebox ul {
    //list-style: none outside none;
    padding: 0 0 0 20px;
}

.sidebox>span {
    padding: 0 0 0 20px;
    margin: 5px 5px 0px 5px;
    display: block;
}

.sidebox {
    background: #fff;
    /* for non-css3 browsers */
    border-radius: 0 0 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;

    border: 1px solid #A06409;
    margin: 20px 0 0 0;
    position: relative;
    z-index: 2;
    line-height: 110%;
}

.sidebox a,
.poppanel a {
    text-decoration: none;
    color: #333 !important;
}

.sidebox a:hover,
.poppanel a:hover {
    font-weight: bold;
    color: #000 !important;
}

#debug_frame {
    position: relative;
}

#debug_pop {
    position: fixed;
    bottom: 50px;
    left: 220px;
    right: 220px;
    display: none;
    z-index: 999999;
    background: white;
    font-size: 1.4em;
    line-height: 140%;
}

#debug_frame:hover #debug_pop {
    display: block;
}

.fb_iframe_widget iframe {
    vertical-align: baseline !important;
}

#copyright {
    text-align: center;
    font-size: 0.6em;
    position: fixed;
    bottom: 0;
    width: 200px;
    line-height: 140%;
    z-index: 1;
}



#main {
    padding: 60px 20px 30px 240px;
    position: relative;
}

#narrow {
    padding: 0 200px 0 0;
    position: relative;
}

#main img {
    text-decoration: none;
    border: 0 none;
    max-width: 600px;
}

#main h1 {
    color: #111;
    font-size: 24px;
    text-shadow: 0 0 3px #FFFFC0, 3px 3px 5px rgba(255, 160, 15, 0.9), 3px -3px 5px rgba(255, 160, 15, 0.9), -3px 3px 5px rgba(255, 160, 15, 0.9), -3px -3px 5px rgba(255, 160, 15, 0.9);
}

#main h1+h3 {
    font-size: 16px;
}

#main .desc {
    line-height: 140%;
}

#info {
    position: fixed;
    right: 20px;
    top: 100px;
    width: 190px;
    margin: 0 0 20px 20px;
    border: 1px solid #A06409;
    z-index: 5;
    background: none repeat scroll 0 0 #FFFFD0;
    /*  #FFF7ED */
}

#info dl {
    margin: 4px 0;
}

#info .space {
    margin: 4px 0;
}

.dl_wrapper {
    width: 170px;
    margin: 5px;
    line-height: 100%;
}

.dl_back {
    float: left;
    height: 32px;
    width: 32px;
    background-image: url(img/folder32.png);
    margin: 5px;
}

.dl_text {
    font-size: 80%;
    position: relative;
    top: 14px;
    left: 13px;
    z-index: 1;
}

dt {
    float: left;
    clear: left;
    width: 100px;
    text-align: right;
}

dt:after {
    content: ":";
}

dd {
    margin: 0 0 0 110px;
    padding: 0 0 0 0;
}

#info dt {
    width: 105px;
}

#info dd {
    margin: 0 0 0 110px;
}

#info h2 {
    margin: 0;
    padding: 5px 10px;
    font-size: 1em;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);

}

#avatar {
    width: 80px;
    height: 80px;
}

#info #avatar {
    display: block;
    margin: auto;
    padding: 10px 0;
}

.rpanel {
    max-height: 0;
    text-align: center;
    overflow: hidden;


    transition: max-height 0.5s;
    -webkit-transition: max-height 0.5s;
    -moz-transition: max-height 0.5s;
    -o-transition: max-height 0.5s;

}

.rsection:hover .rpanel {
    max-height: 10em;
}

.flyout {
    position: absolute;
    background-color: white;
}

.starset {
    padding: 0 0 0 20px;
    background-image: url(img/star16_u.png);
    background-position: left;
    background-repeat: no-repeat;
    height: 16px;
    position: relative;
    display: inline;
}

.starset:hover .starset {
    background-image: url(img/star16_e.png);
}

.starset:hover {
    background-image: url(img/star16_f.png) !important;
}

.starset img {
    width: 16px;
    height: 16px;
    position: absolute;
    left: 0;
    cursor: pointer;

}

.starset:hover img {
    opacity: 0;
}


.commentwrapper,
.newswrapper {
    border: 1px solid #A06409;
    margin: 15px 0;
    background: #FFFFD0;
}

.commenthidden,
.newshidden {
    border: 1px solid #A06409;
    margin: 15px 0;
    background-color: #BBB;
}

.commentheader,
.commentfooter,
.newsfooter {
    padding: 2px 10px;
    font-size: 0.7em;
}

.newsheader {
    padding: 2px 10px;
    font-size: 1.4em;
}

.commentbody,
.newsbody {
    padding: 10px 20px;

}


#modbox {
    right: 10px;
}

.popbox {
    margin: 0;
    bottom: 0px;
    position: fixed;
}

.poptab {
    display: block;
    position: relative;
    padding-right: 60px;
}

.poptab img {
    vertical-align: -3px;
    margin: 0 0 0 5px;
}

.poptab .icon {
    position: absolute;
    right: 10px;
    text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.5);

}

.popbox:hover .poptab .icon {
    display: none;
}

.poppanel {
    background: #fff;
    /* for non-css3 browsers */
    border-width: 1px 1px 0px 1px;
    border-style: solid;
    border-color: #A06409;
    //    line-height: 200%;
    max-height: 0;
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    /* Firefox 4 */
    -webkit-transition: all 0.5s;
    /* Safari and Chrome */
    -o-transition: all 0.5s;
    /* Opera */

    padding: 0px 6px 0px 6px;
    z-index: 20;
    position: relative;
    width: 300px;
}

.poppanel ul {
    margin: 12px 0 0 0;
    //    list-style: none outside none;
    padding: 0 0 12px 20px;
}

.popbox:hover>.poppanel {
    max-height: 400px;
}

table {
    /*width:700px; */
    margin: 10px 0;
    /*	border: 1px solid #DDD */
    border-style: solid;
    border-color: #BBB;
    border-width: 2px 1px 1px 2px;
    /*	border-collapse: collapse; */
}

th {
    background: #FFFFA0;
    border-style: solid;
    border-color: #BBB #DDD;
    border-width: 0 1px 1px 0;
    /*	border-collapse: collapse; */
}

td {
    background: #FFFFD0;
    word-wrap: break-word;
    border-style: solid;
    border-color: #DDD;
    border-width: 0 1px 1px 0px;
    /* border-collapse: collapse; */
}

.hidden td {
    background: #BBB;
}

.pinned td {
    background: #FFFFE0;
}

tr.hl td {
    border: 3px solid blue;
}

.pagelink {
    border: 1px solid #888;
    padding: 1px 3px;
}

.pagecurrent {
    border: 1px solid #000;
    padding: 1px 3px;
}

.pagelink,
.pagecurrent {
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .5);
    -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .5);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .5);
}

input,
textarea {
    font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
}

div#email {
    display: none;
}

.reportreplywrap {
    margin: 5px 20px 10px 20px;
}

.reportreplyhead {
    padding: 2px 10px;
    font-size: 0.7em;
}

.reportreplybox {
    border: 1px solid #BBB;
    background: #FFFFA0;
    padding: 3px 10px;
}

.staffonly {
    background: #FFC0A0 !important;
}

#tip {
    border: 1px solid #BBB;
    position: relative;
    padding: 3px 10px 3px 50px;
    margin: 20px 50px;
}

#tip span {
    position: absolute;
    font-size: 400%;
    left: 20px;
}

#dload {
    position: absolute;
    right: 20px;
    top: 80px;
}

#randomplayer {
    float: right;
    margin: 0 0 0 20px;
    font-size: 0.7em
}

