body {
    font: 12pt "Trebuchet MS", Arial, sans-serif;
    background: #8080ff;
    background: url(../img/backpattern.jpg);
}

p {
    margin-top: 1em;
}

ul, ol {
    margin-top: 0.5em;
    padding-left: 40px;
}

.centredwrapper {
    margin: 0 auto;
}

.body {
    width: 960px;
    background: white;
}

.header {
    height: 100px;
    padding: 20px 0 0 195px;
    background: url(../img/header-7070ff.png) no-repeat -20px 0;
}

/* All menus */
.menu {
    margin: 0px;
    clear: both;
    list-style: none;
    font-weight: normal;
    font-size: 120%;
}

.topMenuPanel {
    background: #7070ff;
    background: url(../img/header-back.png) repeat-x;
}

.topMenu {
    padding: 9px 0px 3px;
    padding-right: 10px;
    text-align: right;
}

.topMenu li {
    margin: 0;
    display: inline;
}

.topMenu li a {
    padding: 3px 0.5em;
    margin-left: 3px;
    background: #c0c0ff;
    text-decoration: none;
}

.topMenu li a:link { color: #448; }
.topMenu li a:visited { color: #667; }

.topMenu li a:hover {
    color: #5050ff;
    background: #d8d8ff;
}

.sideMenu {
    padding-left: 0;
}

.centredwrapper  .sideMenu {
    margin-top: 2em;
}

.sideMenu li {
    margin: 0.5em 0 0;
    margin-left: 5px;
    text-align: right;
}
.sideMenu li a {
    display: block;
    padding: 0.3em 0;
    padding-right: 1em;
    background: #c0c0ff;
    text-decoration: none;
}

.sideMenu li a:hover {
    color: #5050ff;
    background: #d8d8ff;
    border-color: #c0c0ff;
}

.sideMenu li a:link { color: #448; }
.sideMenus li a:visited { color: #667; }

.menu li a.selected {
    background: white;
    color: black;
}

.content {
    padding: 1em 40px;
    margin-left: 160px;
}

.menuPanel {
    float: left;
    width: 160px;
    background: url(../img/menufill.png) repeat-x;
}

.content, .menuPanel {
    min-height: 400px;
}

.section {
    margin-top: 1em;
}

.hr {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 3px solid #8080ff;
}

.sectionhead {
    color: #5050cc;
    text-align: left;
    font-size: 130%;
    margin-bottom: 0.25em;
}

#footer {
    clear: both;
    font-weight: bold;
    font-size: 80%;
    padding: 0.5em;
    text-align: right;
    background: #7070ff;
    color: white;
}

#icons {
    margin: 0.25em;
    text-align: left;
    vertical-align: bottom;
}

#icons a {
    margin-left: 4px;
}

.figureleft, .figureright {
    padding: 0.25em;
    margin: 0;
    margin-bottom: 0.5em;
}

.figureleft h4, .figureright h4 {
    text-align: center;
    font-size: smaller;
}

.figureleft {
    margin-right: 0.5em;
    float: left;
}

.figureright {
    margin-left: 0.5em;
    float: right;
}

table.summaryList {
    border: 0;
}

table.summaryList td {
    vertical-align: top;
}

table.summaryList td.nvname{
    width: 180px;
}

/* TODO: correct, but messed up by floating left-menu. Look into fixing that. */
dl.summaryList dt {
    clear: left;
    float: left;
    width: 160px;
    font-weight: bold;
}

dl.summaryList dd {
    float: left;
    width: 160px;
}

form.login {
    border: 1px solid #5050ff;
    padding: 1em;
}

form.login p {
    font-weight: bold;
}

.error {
    border: 2px solid #5050ff;
    padding: 1em;
    text-align: center;
    color: red;
    font-size: larger;
}

/* Flavours */
.nvname { font-weight: bold; }

.highlight { font-size: larger; }

.hidden, hr { display: none; }

.clearleft { clear: left; }
.clearright { clear: right; }
.clearing { clear: both; }

.floatright{ float: right; }
.floatleft { float: left; }
