html {
    /*background: url(paper.gif) repeat; */
    background: url(metal.gif) repeat;
}
@media print {
    html {
        background: none;
    }
}

body {
    background: url(backgrad.png) repeat-x top;
    margin: 0px; padding: 10px;
}

.gapper {
    width: 110; height: 50; float: right;
}

.logotext {
    width: 329px;
    height: 50px;
    background: url(logotext.png) top left no-repeat;
}


.mainbody {
    width: 69%;
    margin: 0;
    float: right;
    font-size: 75%;
    font-family:  Verdana,Sans Serif;
    background-color: transaprent;
}

.mainbody TD {
    background-color: #E5E5E5;
}

.mainbody TR.top TD{
    height: 11px;
}
.mainbody TR.top TD {
    background-image: url(frame-t.png);
    background-color: transparent;
}
.mainbody TR.bottom TD {
    height: 15px;
}
.mainbody TR.bottom TD {
    background-image: url(frame-b.png);
    background-color: transparent;
}
.mainbody TD.left {
    width: 11px;
    background-image: url(frame-l.png);
    background-color: transparent;
}
.mainbody TD.right {
    width: 15px;
    background-image: url(frame-r.png);
    background-color: transparent;
}
.mainbody TR.top TD.left {
    background-image: url(frame-tl.png);
    background-color: transparent;
}
.mainbody TR.top TD.right {
    background-image: url(frame-tr.png);
    background-color: transparent;
}
.mainbody TR.bottom TD.left {
    background-image: url(frame-bl.png);
    background-color: transparent;
}
.mainbody TR.bottom TD.right {
    background-image: url(frame-br.png);
    background-color: transparent;
}


@media print {
    .mainbody {
        position: static; float: none;
        margin: 0; padding: 0; width: auto;

        //background-image: none;
        //border: none;
    }
}

.mainbody TABLE {
    font-size: 100%;
}

.mainbody p, .mainbody TD {
    margin: 3px; margin-top: 0.8em; padding: 0px;
}

.mainbody FORM {
    margin: 0; padding: 0;
}

.mainbody H1 {
    /* font-weight: bold; */
    /* font-style: italic; */
    font-weight: lighter;
    font-size: 200%;
    margin: 0; padding: 0;
    margin-top: 0.5em;
    font-family: Times, serif;
    color: /* #395472; */ #400080;
}

.mainbody H2 {
    /* font-weight: bold: */
    /* font-style: italic; */
    font-weight: lighter;
    font-size: 150%;
    margin: 0; padding: 0;
    margin-top: 0.2em;
    font-family: Times, serif;
    color: #200040;
}

.mainbody H1:first-child {
     /*color: white; */
}

.leftbar {
    width: 30%;
    position: relative; float: left;
    overflow: hidden;
    font-size: 75%;
   font-family: Verdana, Sans Serif;
}

.leftbar p {
   margin: 3px; padding: 0px;
   white-space: nowrap;
}

.leftbar H1 {
   font-weight: lighter;
   font-size: 225%;
   color: white;
   font-family: Times, serif;
   margin: 0; padding: 0;
   margin-top: 1em;
   margin-bottom: 0.3em;
}

.leftbar A {
    display: block;
    color: black; text-decoration: none;
    margin-top: .3em; margin-bottom: .3em;
}

@media print {
    .leftbar {
        display: none;
    }
}

.footer {
    clear: both;
    height: 1em;
    text-align: right;
    font-style: italic;
 }
.footer * {
    font-family: Verdana, Sans Serif;
    fort-size: 70%;
}
.footer:after {
    content: "All content copyright The Webgineers. No unauthorised use, please.  Feel free to link-in, provided you attribute the source.";
}

EM {
    font-weight: bold;
    font-style: italic;
    padding: 0; margin:0
}

.sidebar {
    position: relative; 
    border-top: thin solid white;
    background-color: #D0D0FF; 
    border-right: thin solid black;
    border-bottom: thin solid black;
    border-left: thin solid white;
    margin-left: 0.7em;
    margin-right: 0.7em;
    width: 210px;
}

.sidebar H1 {
    margin-top: 0;
    padding-top: 0;
}


@media print {
    .dontprint {
        display: none;
    }
}
