/* debug rule - dont uncomment */
/* * { outline: 1px dotted orange; } */
/* lets minimize use of tables for layout and use instead css-driven templates */
div#xarbb-topics {
    float: none;
    width: 99%;
    margin: .5em 0;
}
div.xarbb-tablewrapper {
    zoom: 1;
    width: 99%;
    margin: .5em 0;
    voice-family: "\"}\"";/*IE5 hack*/
    voice-family: inherit;
    float: right;
}

IE5-hack{
}



div.xarbb-noteswrapper {
    float: none;
/*     width: 99%; */
    margin: .5em 0;
}

div.xarbb-topiccontrols,
div.xarbb-messagecontrols {
    float: left;
    width: 99%;
    margin: .5em 0;
}

div#xarbb-topics ul.xar-sub {
    float: left;
    width: 48%;
    text-align: left;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div#xarbb-topics ul {
    float: right;
    width: 48%;
    text-align: right;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div.xarbb-messagecontrols {
    width: 100%;
    margin: 0;
    background-color: #f0f0f0;
    border-bottom: 1px solid #ccc;
/*     margin-bottom: .5em; */
}

div.xarbb-messagecontrols .leftnote {
    float: left;
    width: 48%;
    padding-left: 4px;
}

div.xarbb-messagecontrols .rightnote {
    float: right;
    width: 48%;
    text-align: right;
    padding-right: 4px;
}

/* forum table - perfectly styleable with css - see http://www.w3.org/TR/REC-CSS2/tables.html */
/*div#xarbb-tablewrapper {
    float: right;
    width: 100%;
    text-align: center;
}*/

div.xarbb-tablewrapper table {
    padding: 1px;
    margin: 1em auto;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0px;
    empty-cells: show;
/*     border: 3px solid #9c9c9c; */
}

div.xarbb-tablewrapper table td,
div.xarbb-tablewrapper table th {
    margin: 1px;
    padding: 0 .5em;
    border-bottom: 1px solid #9c9c9c;
}

div.xarbb-tablewrapper table th,
div.xarbb-tablewrapper table td.forumgroup {
    padding: 0 .5em;
    line-height: 2em;
    text-align: left;
}

div.xarbb-tablewrapper table td.icon {
    height: 4em;
    width: 20px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    text-align: center;
}

div.xarbb-tablewrapper table td.forumname {
    vertical-align: middle;
    height: 4em;
}

div.xarbb-tablewrapper table td.author {
    width: 11em;
    border-bottom: 1px solid #9c9c9c;
    vertical-align: top;
}

div.xarbb-tablewrapper table td.authorname { width: 7em; }

div.xarbb-tablewrapper table td.lastpost {
    width: 8em;
    white-space: nowrap;
}

div.xarbb-tablewrapper table td.stats { width: 8em; }

div.xarbb-tablewrapper table td.message {
/*     border: 0 none; */
    vertical-align: top;
}

div.xarbb-tablewrapper table td.newtopictitle,
div.xarbb-tablewrapper table td.newtopicfield,
div.xarbb-tablewrapper table td.newtopicbottom {
    padding-top: .5em;
    padding-bottom: .25em;
    vertical-align: top;
}

div.xarbb-tablewrapper table td.newtopictitle { width: 9em; }
div.xarbb-tablewrapper table td input#ttitle,
div.xarbb-tablewrapper table td input#packagetitle { width: 100%; }

div.xarbb-tablewrapper table td textarea#tpost,
div.xarbb-tablewrapper table td textarea#packagetext {
    width: 100%;
    height: 20em;
}

div.xarbb-tablewrapper table td.newtopicbottom { text-align: center; }
div.xarbb-tablewrapper table td p.hiddensignature { border-top: 1px dotted #000; }

/* notes just below table */
div.xarbb-noteswrapper .leftnote {
    float: left;
    width: 48%;
}

div.xarbb-noteswrapper .rightnote {
    float: right;
    text-align: left;
}

/* login form */
div#xarbb-loginwrapper {
    width: 100%;
    text-align: center;
}

div#xarbb-loginwrapper label { padding: 0 .2em 0 1em; }

/* legend icons */
div.xarbb-legendwrapper {
    width: 100%;
    margin-top: .5em;
    text-align: center;
    voice-family: "\"}\"";/*IE5 hack*/
    voice-family: inherit;
    float: left;
}

div.xarbb-legendwrapper span { padding: 0 .2em 0 1em; }

div.xarbb-legendwrapper span.spacedout {
    width: 19em;
/*     float: left; */
    text-align: left;
}

div.xarbb-legendwrapper span img,
div.xarbb-topiccontrols span img {
    vertical-align: middle;
    display: inline;
}

div.xarbb-topiccontrols span a { padding: 0 .2em; }

/* Note from andyv - make button more cross-theme robust */
div#mainmodulearea div.xarbb-topiccontrols a.cssbutton,
div.xarbb-topiccontrols a.cssbutton {
    float: left;
    height: 28px;
    line-height: 28px;
    padding: 0 10px 0 0;
    margin-right: 4px;
    background-image: url(../xarimages/classic_set/composite_mls_button.gif) !important;
    background-position: 100% 0;
    background-repeat: no-repeat;
    text-decoration: none;
}

div.xarbb-topiccontrols a.cssbutton span.newtopicicon,
div.xarbb-topiccontrols a.cssbutton span.postreplyicon,
div.xarbb-topiccontrols a.cssbutton span.closedtopicicon {
    float:left;
    height: 28px;
    width:28px;
    background-image: url(../xarimages/classic_set/composite_mls_button.gif);
    background-position: 0 0;
    background-repeat: no-repeat;
}

div.xarbb-topiccontrols a.cssbutton span.postreplyicon { background-position: -30px 0px; }
div.xarbb-topiccontrols a.cssbutton span.closedtopicicon { background-position: -60px 0px; }

div.xarbb-utilwrapper {
	border: solid 1px #9c9c9c;
	padding: 3px;
}