body {
    background: #ebebf6;
    color: #0a197a;
    font-family: helvetica, sans-serif;
}

a:link{text-decoration: underline; color: #0000ff; }
a:visited{text-decoration: underline; color: #0000ff; }
a:active{text-decoration: underline; color: #ff0000; }
a:hover{text-decoration: underline; color: #ff0000; }

table.bordered {
    border: solid;
    /* border-collapse: collapse; */
    border-spacing: 0;
    empty-cells: show;
    font-size: smaller;
}

table.bordered th, .messageHeaders, .topicHeaders {
    background: url(/finesse/images/tb-grey-trans.png);
}

table.bordered tbody.scrollable {
    overflow: auto;
    max-height: 400px;
}

table.bordered tbody.scrollable tr td.lastCol {
    padding-right: 15px;
}


table.noborder {
    empty-cells: show;
    font-size: smaller;
}

.fullWidth {
    width: 99%;
}

.center {
        text-align: center;
    }


.left {
    text-align: left;
}


.right {
    text-align: right;
}

.evenline {
    background: #f0f0fb;
}

.oddline {
    background: #e4e4e9;
}

/* Title and subtitle rules they go in the headers) */

.title {
    float: left;
    font-size: xx-large;
}

.subtitle {
    display: block;
    font-size: 0.4em;
    text-transform: lowercase;
    line-height: 2em;  
}

.warning {
    color: red;
}

#header {
}

#header a {
    float: right;
    margin-left: 0.5ex;
}

#header a img {
    border: 0;
}

#header a span.text {
    display: none;
}
    
hr.fullWidth {
    clear: both;
}

/* For the front page */

div#wrapper {
}

div#toprow {
    margin-left: 3%;
    margin-top: 10%;
    width: 90%;
}

div#topleft {
    float: left;
    width: 30%;
}

div#topright {
    margin-left: 30%;
    width: 60%;
}

div#bottomrow{
    margin-left: 3%;
    margin-top: 2%;
    clear: both;
    width: 90%;
}

div#bottomleft {
    float: left;
    text-align: left;
    width: 30%;
}

div#bottomright {
    text-align: left;
    margin-left: 30%;
    padding-top: 2em;
    padding-left: 6em;
    width: 60%;
}

/* End front page */


/* For the main resources page */

/* can't use position: relative; on this rule.  It breaks IE6 (and poss others) */
ul#resourceList {
    list-style: none;
}

/* Bloody IE!  Doesn't understand child selectors.
    so, rewrite without them time */

ul#resourceList li.group {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
    border: 1px solid #0a197a;
    padding: 0.25ex;
    width: 22.4ex;
}

ul#resourceList li h4 {
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
    background: url(/finesse/images/tb-grey-trans-short.png);
}

ul#resourceList li ul {
    /* list-style-image: url(/finesse/images/portfolio.png); */
    list-style: none;
    overflow: hidden;
    margin-left: 0;
    padding-left: 0.7ex;
    width: 21ex;
}

ul#resourceList li ul li {
    background: #ebebf6;
    border: 1px solid #ebebf6;
    border-bottom: 1px dashed #bbb;
    padding: 0.3ex;
    position: relative;
    z-index: 1;
}

ul#resourceList li ul li.last {
    border-bottom: 1px solid #ebebf6;
}
/*
ul#resourceList li ul li:hover {
    border: 1px solid #0a197a;
    background: #d6d6e6;
} */

ul#resourceList li ul li a.admin {
    position: absolute;
    right: 2px; 
}

ul#resourceList li ul li a {
}

ul#resourceList li ul li a:hover {
}

/* end for resources page */

/* Bottom toolbar div */
#links {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 41px;
    text-align: center;
    padding-left: 4ex;
}

#links #reuters {
    float: right;
}

#links a {
    float: left;
    margin-right: 1ex;
    line-height: 41px;
}

#links #reuters a {
    line-height: 20px;
}

div#mainBody {
    position: fixed;
    padding: 0.5ex;
    top: 0;
    left: 0;
    right: 0;
    bottom: 41px;
    overflow: auto;
}

/* Styling for the tabbed inner displays (domtab.js) */

/* Only if the tabs script has failed */
ul#mainnav {
    clear: both;
    display: inline;
}

ul#mainnavtabbed {
    clear: both;
    padding: 3px 0;
    margin-left: 0;
    border-bottom: 1px solid #778;
    font: bold 12px Verdana, sans-serif;
}

ul#mainnavtabbed li
{
   list-style: none;
   margin: 0;
   display: inline;
}

ul#mainnavtabbed li a
{
   padding: 3px 0.5em;
   margin-left: 3px;
   border: 1px solid #778;
   border-bottom: none;
   background: #DDE;
   text-decoration: none;
}

ul#mainnavtabbed li a:hover
{
   color: #000;
   background: #AAE;
   border-color: #227;
}

ul#mainnavtabbed li a.tabon
{
   background: #ebebf6;
   border-bottom: 1px solid #ebebf6;
}

input.readOnly {
    background: #ebebf6;
    color: #0a197a;
}

ul.wideList {
    width: 99%;   
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 1em;
    margin-bottom: 1em;
    position: relative;
}

ul.wideList li {
    float: left;
    width: 33%;
}

/* For the notebook */


/* For the notebook, a fair chunk of CSS to make it look nice */

.topics {
        border: 1px solid;
        border-color: #d0d0d0;
        display: block;
        width: 100%;
}

.forum {
     border: 1px solid;
     border-color: #d0d0d0;
     display: block;
     margin-left: 0;
     padding-left: 0;
}

.forum li {
     display: block;
     position: relative;
     border-top:  0 none;
     border-left: 1px solid;
     border-bottom: 1px solid;
     border-right: 1px solid;
}

/* Invert the colours on the headers.   Might see if I can get 
    a graduated fill on them */

/* Note that the messageHeaders and topicHeaders are partiaully stylead, above, so that they are alwyas in sync with teh tabel headings. */
.messageHeaders {
    height: 26px;
}

.messageHeaders div {
    text-align: center;
    line-height: 2em;
}


.topicHeaders {
    height: 26px;
    width: 100%;
}

.topicHeaders td {
    text-align: center;
    line-height: 2em;
}

.messageHeaderLeft {
    position: absolute;
    left: 0px;
    width: 100px;
    border-top: 0px solid;
    border-left: 0px solid;
    border-right: 1px solid;
    border-bottom: 0px solid;
}

.messageHeaderRight {
    position: absolute;
    margin-left: 100px;
    border: 0;
}


.topicHeaderLeft {
        width: 75%;
}
.topicHeaderMiddle {
        width: 100px;
}
.topicHeaderRight {
        width: 120px;
}

.messageSidebar {
    text-align: left;
    float: left;
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    padding: 2px;
    border-left: 1px solid;
}

.messageSidebarBottom {
    position: absolute;
    left: 0px;
    bottom: 0px;
    vertical-align: bottom;
    font-size: smaller;
}

.messageHeader {
    position: relative;
    margin-left: 100px;
    font-size: smaller;
}

.messageSubject {
    float: left;
}

.messageDate {
    float: right;
}

.messageRule {
    margin-left: 100px;
    clear: right;
    }

.messageBody {
    margin-left: 100px;
}

.messageFooter {
    margin-left: 100px;
    font-size: smaller;
    height: 1em;
}

.messageFoooterButtons {
    float: right;
}

.messageFooterButtons li {
    float: right;
    border: 0;
    margin-left: 1em;
    width: auto;
}

.topicSubject {
        font-size: x-large;
}

.meta {
    font-size: smaller;
}

div.postHeader {
    font-size: smaller;
}

.nav {
    color: #0a197a;
    background-color: transparent;
    text-decoration: none;
}

#postbox {
    }

