body {
    padding: 0;
    border-width: 0 0 0 0;
    margin: 0;
    font-family: sans-serif;
    background-color: #E5FEE5;
}

html {
    padding: 0;
    border-width: 0 0 0 0;
    margin: 0;
}

#bodycontent {
    font-size: 0.8em;
}

#bodybackground {
    background-color: #E6FEE6;
    padding: 0;
    margin: 0;
}

DIV#header {
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    margin: 0.5em 0 0.5em 0;
    padding: 0;
}

DIV#main {
    margin: 0 2% 0 2%;
    /*min-width: 73%;*/
    min-width: 50%;
    max-width: 45em;
    padding: 0; /* must be 0 to accomodate internal divs for round corners, real padding is on #main.body */
    /*min-height: 200px;*/
    border-width: 0 0 0 0;
    background-color: transparent;
}

DIV#footer {
    display: none;
}

#main DIV.bottomfade {
    clear: none;
    width: 100%;
    background-color: transparent;

    background-position: bottom;
    background-image: url("bottom16.png");
    background-repeat: repeat-x;

    padding-top: 0;
    margin: 0;
    padding-bottom: 1em; /* nominal amount to stop margin collapsing */
}

#main DIV.body {
    min-height: 200px;
    background-color: white;
    margin: 0;
    padding: 0;

}

#sidebar {
    display: none;
}

#sideads {
    float: right;
}

DIV.sidebarfloat {
    float: right;
    min-width: 4em;
    background-image: url("bgsub.png");
    background-repeat: repeat-x;
    background-position: top;
    background-color: white;
    padding: 0;
    margin: 0 0 1em 0.5em;
}

#sidebar DIV.bottomfade {
    background-color: transparent;
    margin: 0;
    padding: 0;
    background-position: bottom;
    background-image: url("bottom8.png");
    background-repeat: repeat-x;
}

#sidebar DIV.body {
    background-color: transparent;
    padding: 0 2% 1em 2%;
    margin: 0;
}

/*
DIV.mainl
{	margin: 0;
	padding: 0;
	background-color: transparent;
	background-position: left;
	background-repeat: repeat-y;
	background-image: url("mainleft.png");
}
*/

#sidebar DIV.rtopl {
    background-image: none;
}

DIV.rtopr {
    background-image: none;
}

SPAN.headlinks {
    display: none;
}

#main DIV.rtopr {
    margin: 0;
    padding: 0.3em 4% 0 4%; /*was 2.74%*/
}

#sidebar DIV.rtopr {
    margin: 0;
    padding: 0 4% 0 0;
}

SPAN.maintr {
    background-image: none;
}

SPAN.maintl {
    background-image: none;
}

.subheading {
    font-size: 120%;
    font-weight: normal;
    color: green;
    padding: 0em 0em 0em 1em;
    margin-top: 0em;
    margin-bottom: 0em;
    font-family: sans-serif;
    vertical-align: bottom;
    display: inline;
}

H1 {
    font-size: 120%;
    font-weight: normal;
    color: green;
    padding-left: 0em;
    padding-top: 0em;
    padding-bottom: 0em;
    margin: 0em;
    font-family: sans-serif;
    vertical-align: bottom;
    display: inline;
}

.mainheading {
    background-image: url("bgsub.png");
    background-repeat: repeat-x;
    background-position: top;
    margin: 0;
    padding: 0;
}

.mainheading A {
    white-space: nowrap;
}

DIV.news {
    padding-left: 1em;
    padding-right: 1em;
    font-family: sans-serif;
    border-bottom-style: dashed;
    border-bottom-color: green;
    border-bottom-width: thin;
}

.newstitle, DIV.news P:first-child:first-line {
    font-weight: bold;
    font-size: 170%;
}

.newshead, DIV.news P:first-child {
    border-bottom-style: dotted;
    border-bottom-color: green;
    border-bottom-width: thin;
    color: green;
    font-size: 60%;
}

.contentbox {
    border-style: solid;
    border-width: medium;
    border-color: green;
    margin: 1em;
    padding: 0.5em;
    -moz-border-radius: 8px;
    border-radius: 8px; /* if CSS 3 ever materialiases */
}

.ebayTH, DIV.ebayTH, DIV.ebayTH P, DIV.ebayTH table, DIV.ebayTH A {
    /*border-width: thin;
    margin: 0em;
    padding: 0em;*/
    font-size: 0.2em;
}

UL.links LI {
    display: inline;
}

UL.links LI:before {
    content: "\A0 |\A0 ";
}

UL.links LI:first-child:before {
    content: "";
}

DIV.contentblock {
    padding-top: 0;
    margin-top: 0;
}

DIV.contentbox P, DIV.contentblock P {
    font-size: 80%;
}

DL.mainlist DT {
    font-weight: bold;
    color: green;
}

DL.mainlist DT A, DL.mainlist DT A:visited {
    text-decoration: none;
    color: green;
}

DL.mainlist DT A:hover {
    color: rgb(143, 188, 143);
    text-decoration: underline;
}

DL.mainlist DT:before {
    content: url("smallball.png");
    width: 2em;
    marker-offset: 1em;
}

DL.mainlist DT:hover:before {
    content: url("smallballgr.png");
    width: 2em;
    marker-offset: 1em;
}

DL.mainlist DD {
    font-size: 80%;
    padding-bottom: 1em;
}

H2, H2 A, H2 A:visited {
    font-size: 100%;
    color: green;
    padding: 0em;
    margin: 0em;
    text-decoration: none;
}

H2 A:hover {
    color: rgb(143, 188, 143);
    text-decoration: underline;
}

.warning {
    color: red;
    font-size: 0.8em;
    margin-left: 2em;
}

.floatright {
    float: right;
}

.warning:before {
    content: "Warning: ";
    marker-offset: 2em;
}

.formlabel {
}

.invisiblefieldset {
    border-style: none;
}

/* cludgey way of hiding fieldset round submission button */

CAPTION {
    font-size: 0.8em;
    text-align: left;
    color: green;
}

.tablecaption {
    font-size: 0.8em;
    text-align: left;
    color: green;
}

INPUT.discreet-button {
    border-style: none;
    color: blue;
    background-color: transparent;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

INPUT.discreet-button:hover {
    text-decoration: underline;
}

INPUT.searchbutton {
    border: 0;
    background-color: transparent;
    width: 4em;
    padding-left: 0;
    margin-left: 0;
    display: none;
}

INPUT.searchbutton:hover {
    text-decoration: underline;
}

INPUT.discreet-writeable {
    border-style: solid;
    border-width: 1px;
    border-color: green;
    background-color: white;
    padding-left: 0.5em;
}

#header INPUT.discreet-writeable {
    -moz-border-radius: 4px;
}

FIELDSET INPUT.discreet-writeable /* only gecko renders this properly */
{
    border-style: solid solid dotted solid;
    border-width: 0px 0px 2px 0px;
    border-color: gray;
    background-color: #E5FEE5;
    padding-left: 0.3em;
    padding-top: 1px;
    padding-bottom: 1px;
}

FIELDSET {
    border-style: solid;
    border-width: 1px;
    -moz-border-radius: 8px;
    border-radius: 8px; /* if CSS 3 ever materialiases */
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-bottom: 0.3em;
}

SELECT {
    border-width: 1px;
    border-style: solid;
}

INPUT.display {
    border-style: none;
    width: auto;
}

DIV.formsubmitarea {
    padding-left: 1em;
}

DIV.searchlist {
    position: absolute;
    left: 0;
    top: 1.7em;
    width: 14.5em;
    background-color: white;
    border-style: dotted solid solid solid;
    border-color: green;
    border-width: 1px;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
}

A {
    text-decoration: underline;
}

A:hover {
    color: green;
}

A.contentlink,
A.contentlink:visited {
    color: green;
    text-decoration: none;
    font-size: 125%;
}

.toptext {
    display: none;
}

DL.linkslist DT A {
    color: green;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8em;
}

DL.linkslist DD A {
    color: green;
    text-decoration: none;
    font-weight: bold;
}

DL.linkslist DT A:hover, DL.linkslist DD A:hover {
    color: rgb(143, 188, 143);
    text-decoration: underline;
    font-weight: bold;
}

DL.linkslist DT A:visited, DL.linkslist DD A:visited {
    color: purple;
}

DL.linkslist DD {
    margin-bottom: 0.5em;
    font-size: 0.8em;
}

SPAN A, A.boldlink {
    color: green;
    text-decoration: none;
}

SPAN A:hover, A.boldlink:hover {
    color: rgb(143, 188, 143);
    text-decoration: underline;
}

.toptext A, A.topnavigation, A.alphabetnav {
    display: none;
}

.toptext A:hover, A.topnavigation:hover, A.alphabetnav:hover, TABLE#searchlist A:hover, DIV.searchlist A:hover {
    color: rgb(143, 188, 143);
    text-decoration: underline;
}

.alphabetnav {
    speak: spell-out;
}

DIV#sidebar span {
    display: block;
    color: green;
    text-decoration: none;
    font-family: sans-serif;
    padding-bottom: 0.5em;
}

DIV#sidebar A.sidebarsub, DIV#sidebar span.sidebarsub {
    display: block;
    color: green;
    text-decoration: none;
    font-size: 80%;
    font-family: sans-serif;
    font-weight: bold;
    padding-bottom: 0.5em;
    margin-left: 1em;
}

DIV#sidebar A {
    display: block;
    color: green;
    text-decoration: none;
    font-size: 100%;
    font-family: sans-serif;
    font-weight: bold;
    padding-bottom: 0.5em;
}

DIV#sidebar A:hover {
    color: rgb(143, 188, 143);
    text-decoration: underline;
}

A.contentlink:hover {
    color: blue;
    text-decoration: underline;
}

DIV.searchlist {
    font-size: 0.8em;
}

TABLE#searchlist A {
    color: green;
    text-decoration: none;
    font-weight: bold;
    font-family: sans-serif;
}

DIV.searchlist A {
    color: green;
    text-decoration: none;
    font-family: sans-serif;
}

TABLE#searchlist TFOOT {
    color: green;
    font-size: 0.9em;
}

.inset {
    color: black;
    margin: 5mm 5mm 5mm 7mm;
}

TR.light {
    background-color: #def4de;
}

TR.dark {
    background-color: white;
}

IMG {
    border-style: none;
}

LI.bodylist {
    font-size: 80%;
    display: block;
    margin-bottom: 2px;
}