
body.dark img.decorated, body.dark .panel, body.dark .breadcrumb{
border: 1px solid #111;
box-shadow: 2px 2px 2px rgba(0,0,0,.4);
background:#111;
}
body.dark a{
color:#eee;
}
body.dark input {
    color:#333;
}
body.light img.decorated{
border: 1px solid white;
box-shadow: 2px 2px 2px rgba(0,0,0,.2);
}

body.light .highlighted{
    background-color:yellow;
}
body.dark .highlighted {
    background-color:green;
}

.news_items hr{
    margin:2em 0em 2em 0em
}
footer {
    background-color:transparent;
}
/*mezzanine override */
body.dark .tree .active > a {
    background-color: #0259AA;
}
/* other */
.logoheader{
    padding:3em 0 2em 0;
}
.news_item {
    border:1px solid #444;
    margin-bottom:2em;
    position:relative;

}

.news_main{
    padding:20px 40px 20px 40px;
    margin-left:60px;
    border-left: 1px solid #222;
    border-top: 1px solid #222;
}
body.light .news_main{
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
}
.setting_name{

    width: 60px;
    position: absolute;
    height: 100%;
    text-align: center;
}
body.dark .setting_name{
    background-color:#000;
}
.setting_name img {
    margin-top:6px;
}
.setting_title{

    padding-left: 40px;
    margin-left: 60px;
    padding-top: .2em;
    height: 60px;
}
body.dark .setting_title {
    background-color:#000;
}
.news_body{
    display:none;
}
.modal{
    width:700px;
    margin-left:-350px;
}

.panel{
    border:1px solid #444;
    border-radius:0px;
    background:#111;
}
body.light .panel{
    border:0px solid #444;
    background:none;
}
.news_source{
    color:#666;
    display:block;
    clear:both;
}
.news_source a{
    color:#0E6180;

}
.news_book {
    float:right;
    margin:20px;
    font-size:.9em;
    width:130px;
    text-align: center;
}
.news_tag {
    font-size:.7em;
    color:#aaa;
    float:right;
    margin-right:20px;
}

.subtitle{
    font-size:.9em;
    color:#ccc;
}
.news_buy div{
    width:150px;
    float:left;
}
.news_item .now-available {
    color: rgb(94, 255, 94);
font-weight: bold;
}
.news_item .download-available {
    color: rgb(255, 115, 238);
    font-weight: bold;
}

.db-status-ok{
    color:rgb(0, 204, 255);
}

#Btablewrapper{margin:3em 0 3em 0;}

.statblock {
    border:1px solid #999;
    width:30em;
}
.statblock .namebar {
    font-size:1.4em;
    background-color:black;
    padding:.3em;
}
.statblock .namebar span{
    float:right;

}
.statblock .armour_locations {
    width:18em;
    height:17em;
    float:left;
    position:relative;
    margin:1em 0em 1em 1em;
}

.statblock .armour_locations .armourbox  {
    position:absolute;
    width:5em;
    height:3.4em;
    border:1px solid #999;
}
.statblock .armour_locations .armourbox .armour_label {
    height:100%;
    width:1.5em;
    background:black;
    text-align:center;
    font-size:1.4em;
    line-height:1em;
    padding-top:.2em;
    position:absolute;
    font-weight:bold;
}
.statblock .armour_locations .armourbox .armour_value {
    width:1em;
    background:#FFF;
    border-right:1px solid orange;
    border-bottom:1px solid orange;
    text-align:center;
    color:black;
    position:absolute;
    left:2.4em;
    font-weight:bold;
    font-size:.9em;
    z-index: 2;
}
.statblock .armour_locations .armourbox .total_defence_value {
    width:1.9em;
    height:100%;
    background:#ccc;
    text-align:center;
    color:black;
    position:absolute;
    left:1.4em;
    font-weight:bold;
    font-size:1.5em;
    z-index:-1;
    line-height: 3em;
}

.statblock .armour_locations .armourbox .small {
    font-size:.5em;
}
.statblock .armour_locations .armour_head {
    left:6em;
}
.statblock .armour_locations .armour_larm {
    left:0em;
    top:5em;
}
.statblock .armour_locations .armour_rarm {
    left:12em;
    top: 5em;
}

.statblock .armour_locations .armour_body {
    left:6em;
    top: 9em;
}

.statblock .armour_locations .armour_lleg {
    left:0em;
    top: 13em;
}

.statblock .armour_locations .armour_rleg {
    left:12em;
    top: 13em;
}

.statblock .attributes {
    width:9em;
    float:right;
    position:relative;
    margin:1em 1em 1em 0em;
}
.statblock .attributes .attribute {
    width:2em;
    height:2em;
    border:1px solid red;
    background-color:white;
    float:left;
    font-size:1.5em;
    line-height:2.7em;
    text-align: center;
    position:relative;
    color:black;
}
.statblock .attributes .attribute .attribute_name {
    border-right:1px solid orange;
    border-bottom:1px solid orange;
    background-color:red;
    color:white;
    font-weight:bold;
    position:absolute;
    top:0px;
    line-height:1em;
    font-size:.5em;
    width:2.2em;
    height:1.3em;
    text-align: center;
}
.statblock .attributes .attribute .attribute_bonus {
    position:absolute;
    top:0px;
    left:1.8em;
    line-height:1em;
    font-size:.5em;
    width:2em;
    text-align: center;
    color:black;
}
.statblock .charbar {
    clear:both;
    margin:0em 1em 1em 1em;
    border-top:1px solid white;
    border-bottom:1px solid white;
    border-right:1px solid white;
    height:1.5em;
}
.statblock .charbar ul {
    list-style:none;
    padding:0px;
}
.statblock .charbar ul li {
    float:left;
    margin-right:1em;
    border-left:1px solid white;
}
.statblock .charbar ul li span {
    font-weight:bold;
    padding-right:.5em;

}
.statblock .extrablock ul {
    list-style: none;
    clear:both;
    height:auto;
}
.statblock .extrablock ul li {
    float:left;
    margin-right: 1.3em;
}
.statblock .extrablock ul li:last-of-type {
    margin-right: 0em;
}
.statblock .extrablock {
    clear:both;
    margin:1em;
}
.statblock  .extrablock .blocklabel{
    font-size:1.2em;
    font-weight:bold;
}
