/*** General ***/

html {
    background: #fff;
    color: #000;
    font-family: "DejaVu Sans", Verdana, sans-serif;
    font-size: 12pt;
}

a img {
    border: none;
}

table {
    border-collapse: collapse;
    empty-cells: show;
    clear: both;
}

.error {
    color: #b00;
    background: #fee;
}

.debug {
    color: #89a;
    background: #def;
}

@media print { .debug { display: none }} 

input, textarea, pre, select, option {
    font-family: "DejaVu Sans Mono","Lucida Console", monospace;
    font-size: 12pt;
}


/*** Menu and statusbar ***/

h1 {
    clear: both;
}

div.statusbar,
div.logout,
div.menu {
    margin: 0.5em;
    border: 1px solid #045692;
    float: left;
    max-width: 49.75em;
    padding: 0.125em;
}
div.logout {
    width: auto;
}

div.logout a,
div.menu a {
    vertical-align: middle;
    display: block;
    float: left;
    margin: 0.125em;
    background: #c3e0ee;
    color: #045692;
    border: 1px solid #95d3ff;
    text-decoration: none;
    padding: 0.25em;
    text-align: center;
}

div.statusbar p {
    font-size: 8pt;
    margin: 0.125em;
}

div.menu a {
    height: 1.2em;
    width: 9.5em;
}
div.logout a {
    width: auto;
    width: 9.5em;
}
div.statusbar p {
    float: none;
    width: auto;
}
div.logout a:hover,
div.menu a:hover {
    border: 1px solid #045692;
    color: #000;
    background: #95d3ff;
}

/*** Logo ***/

div.logo {
    float: right;
}

/*** Toolbar ***/

div.toolbar {
    /*position: absolute;
    top: 1em;
    right: 1em;*/
    float: right;
    clear: both;
}

div.toolbar a:hover img {
    background: #eee;
    border: 1px dotted #999;
    margin: -1px;
}

/*** The checkboxes in forms ***/

.checkboxes {
    padding: 0.5em 0;
}
.checkboxes label {
    display: block;
    width: 32%;
    float: left;
}
input:hover, textarea:hover, .checkboxes label:hover {
    background: #c3e0ee;
}
.checkboxes label:active {
    background: #95d3ff;
}

textarea, input {
    border: 1px solid #666;
    background: #eee;
    color: #444;
    margin: 0.125em;
    border-bottom: 2px solid #666;
    border-right: 2px solid #666;
}
textarea:focus, input:focus {
    color: #000;
    background: #fff;
    border: 1px solid #000;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
}

.checboxes input {
    border: none;
    background: transparent;
    color: #000;
}

/*** Trial selector ***/

div.trialselector {
    clear: both;
    border-top: 1px solid #000;
    float: left;
    width: 100%;
    font-size: 10pt;
}

div.trialselector span,
div.trialselector a {
    display: block;
    padding: 0.25em;
    margin: 0 0.25em;
    margin-top: -1px;
    border: 1px dotted #444;
    border-top: 1px solid #000;
    text-align: center;
    text-decoration: none;
    color: #666;
    background: #eee;
    float: right;
}
div.trialselector a:hover {
    border: 1px solid #000;
}

div.trialselector span {
    border: 1px solid #000;
    border-top: 1px solid #fff;
    color: #000;
    background: #fff;
}

/*** Contents ***/

div.main {
    clear: both;
    border: 1px dashed #eee;
    margin: 0.5em;
    position: relative;
}

div.main table th {
    background: #c3e0ee;
}

/*** The howto ***/

.howtomenu {
    padding: 0.5em;
    margin: 0.5em;
    float: right;
    background: #c3e0ee;
    border: 1px solid #045692;
}

.howtomenu h1 {
    margin: 0;
    font-size: 14pt;
}

.howtomenu a {
    color: #045692;
    text-decoration: none;
}
.howtomenu a:hover {
    color: #000;
    border-bottom: 2px solid #95d3ff;
    margin-bottom: -2px;
}

/*** The report ***/

.report {
    font-family: "Times New Roman", Times, "DejaVu Serif", Georgia, serif;
    font-size: 12pt;
    border: 1px solid #000;
    width: 50em;
}
.report .section {
    border: 1px solid #000;
    margin: 1px;
    padding: 0.5em 1em;
}

.report h1 {
    font-variant: small-caps;
    font-size: 14pt;
    text-transform: uppercase;
    margin: 0.25em 0;
}

.report h2 {
    font-size: 14pt;
    margin: 0.25em 0;
}
.report h3 {
    font-size: 14pt;
    margin: 0.25em 0;
    font-weight: normal;
    text-decoration: underline;
}

/*** Special sections ***/

.report table,
.section-4-6 table {
    font-family: Verdana, "Deja Vu Sans", sans-serif;
}

.report table caption {
    text-align: left;
    margin-bottom: 1em;
}

.report table th {
    font-weight: normal;
    text-transform: uppercase;
    background: transparent;
}

.report table .empty {
    text-align: center;
    font-style: italic;
}

