/*-----------------------------------------------------------------------------
  Stylesheet for Cryosphere's website. It consits of the following main parts:
    * pagemast - The title image bit at the top. Just an img with a hidden h1.
    * topnav   - The navigation bar underneath the title bit.
    * leftnav  - The naviagtion box on the left. Fixed width (ems) and floated
                 left.
    * footer   - The footer of the page (i.e. the copyright notice).
    * content  - The main contents. Relative width (%age) and floated left.
  ---------------------------------------------------------------------------*/
body { 
  color: white;
  background-color: black;
  text-align: justify;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11pt;
  background-image: url('/images/metalrepeater.jpg');
  background-repeat: repeat-x;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 1px;
  padding: 0;
}
a:link { color: blue }
a:visited { color: #700070 }
a:hover { color: white; background-color: blue }
a:active { color: black }
li {
  padding: 0.2em 0.2em 0.2em 0.2em;
  vertical-align: middle;
  display: list-item;
}
ul {
  list-style-position: outside;
  list-style-type: none;
  list-style-image: url('/images/greencircle10x10.png');
  vertical-align: middle;
}

th, td {
  padding: 5px;
}

div.newsitem {
  float: left;
}
div.newsdate {
  float: right;
}

div.left {
  float: left;
  width: 15%;
  text-align: center;
  height: 100%
}
p.links {
  text-align: center
}

/*-------------------------------------------*/
/* The title log bit at the top of the pages */
/*-------------------------------------------*/
#pagemast {
  background-color: transparent;
  background-image: url('/images/metalrepeater.jpg');
  background-repeat: repeat-x;
  padding: 0px;
  margin: 0px;
  clear: both;
}
#pagemast h1 { /* h1 is only shown when CSS support is unavailable e.g. Lynx */
  visibility: hidden;
  display: none;
}
#pagemast img {
  border: none;
}
#pagemast2 {
  display: none;
  background-repeat: repeat-x;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 102px;
  z-index: -1;
  margin: 0;
  padding: 0;
}

/*-----------------------*/
/* The top naviagion bar */
/*-----------------------*/
#topnav {
  /* nothing needed here */
}
div#topnav {
  float: right;
  width: 100%;
  color: #080;
  border-top: 1px solid #0F0;
  border-bottom: solid 1px #0F0;
}
#topnavtopbit {
  background-image: url('/images/topfade.jpg');
  background-position: left top;
  background-repeat: repeat-x;
  width: 100%;
  float: left;
  clear: both;
}
#topnavbottombit {
  background-image: url('/images/bottomfade.jpg');
  background-position: left bottom;
  background-repeat: repeat-x;
  width: 100%;
  float: left;
  clear: both;
}
div#topnavmiddlebit {
  margin: 0;
  padding-left: 0.25em;
  padding-top: 0;
  padding-bottom: 0;
  width: 98%;
  text-align: left;
  background-position: left top;
  background-repeat: repeat-x;
  float: left;
  clear: both;
  font-size: 1em;
}
#topnavmiddlebit img {
  padding: 0px;
  margin: 0px;
  float: left;
  clear: both;
}
#topnavmiddlebit p {
  padding: 1px;
  margin: 1px;
  display: block;
  float: left;
  clear: both;
}
#topnavmiddlebit a {
  color: #080;
  background: #000;
  text-decoration: none;
  font-weight: bold;
  padding: 0 0.5em 0 0;
  margin: 0px;
}
#topnavmiddlebit a:hover {
  color: #0F0;
  background: #000;
  text-decoration: none;
  font-weight: bold;
}

/*---------------------------------------*/
/* The stuff for the left navigation box */
/*---------------------------------------*/
#leftnav {
  border-top: 1px solid #0F0;
  border-right: 1px solid #030;
  border-left: 1px solid #030;
  border-bottom: 1px solid #0F0;
  padding: 0;
  margin: 3.5em 2em 2em 0;
  position: relative;
  clear: left;
  float: left;
  width: 10em;;
  display: block;
}
#leftnav ul {
  margin: 0px;
  padding: 0px;
}
#leftnav li {
  border: none;
  text-align: left;
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
}
#leftnav a {
  padding-left: 20px;
  padding-bottom: 2px;
  background-color: #000;
  text-decoration: none;
  color: #080;
}
#leftnav a:hover {
  background-image: url('/images/greentriangle.jpg');
  background-position: left center;
  background-repeat: no-repeat;
  color: #0F0;
}
#leftnavtopbit {
  background-image: url('/images/topfade.jpg');
  background-position: left top;
  background-repeat: repeat-x;
  margin: 0px;
  padding-top: 10px;
}
#leftnavmiddlebit {
  /* nothing needed here at the moment */
}
#leftnavbottombit {
  background-image: url('/images/bottomfade.jpg');
  background-position: left bottom;
  background-repeat: repeat-x;
  margin: 0px;
  padding-bottom: 10px;
}
#leftnav span.selected {
  background-image: url('/images/greencircle.jpg');
  background-position: left center;
  background-repeat: no-repeat;
  font-weight: bold;
  color: #0F0;
  padding-left: 20px;
}

/*-------------------------------*/
/* The stuff for the page footer */
/*-------------------------------*/
#footer {
  display: block;
  float: left;
  clear: both;
  width: 100%;
  text-align: center;
  font-size: 0.75em;
  margin-top: 1em;
  padding-top: 4em;
  color: #080;
}

/*---------------------------------*/
/* The stuff for the main contents */
/*---------------------------------*/
div#content {
  padding: 1em;
  display: block;
  float: left;
  clear: none;
  width: 70%;
  position: relative;
  top: 3em;
  margin: 0 auto 0 1em;
  line-height: 1.5;
}
#content a {
  background-color: #000;
  text-decoration: none;
  margin-bottom: 5px;
  padding-bottom: 0px;
}
#content a:link {
  color: #080;
  border-bottom: dashed 1px #080;
}
#content a:visited, #content a:active {
  color: #0A0;
  border-bottom: dashed 1px #0A0;
}
#content a:hover {
  color: #0C0;
  border-bottom: solid 1px #0C0;
}

/*----------------------*/
/* Paypal Donate Button */
/*----------------------*/
div.donate {
  border: none;
  padding-left: 3em;
  margin-bottom: 3em;
}

/*-----------------------------------------------------------*/
/* Used to highlight recently updated stuff in /dev/building */
/*-----------------------------------------------------------*/
.uprecent td.upupdatedname {
  border-left: 3px solid #0F0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  padding-left: 0.5em;
}
.upolder td.upupdatedname {
  border-left: 3px solid #0B0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  padding-left: 0.5em;
}
.upold td.upupdatedname {
  border-left: 3px solid #080;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  padding-left: 0.5em;
}
td.upupdateddate
{
  text-align: right;
}

/*------------------*/
/* Bugtracker stuff */
/*------------------*/
table.bugs {
  border-spacing: 2px;
}

td.bugs {
  padding: 4px;
}

.bugkey {
  background-color: black;
  color: white;
  padding: 4px
}
.searchr{
  background-color: #00FF00;
  color:blue;
}

/*--------------*/
/* Boards stuff */
/*--------------*/
form#boardform
{
  width: 21em;
  margin: 0;
}

#boardform legend
{
  border-top: 1px solid #0F0;
  border-left: 1px solid #0C0;
  border-right: 1px solid #0C0;
  border-bottom: 1px solid #0C0;
  padding: 0.25em 0.6em;
  background-color: #000;
  background-image: url('/images/topfade.jpg');
  background-position: left top;
  background-repeat: repeat-x;
}

#boardform fieldset
{
  width: auto;
  border-top: 1px solid #0F0;
  border-left: 1px solid #0C0;
  border-right: 1px solid #0C0;
  border-bottom: 1px solid #0C0;
  padding: 1.5em;
  margin-bottom: 2em;
}

#board table
{
  border-collapse: collapse;
  border: none;
  padding: 0;
}

#board th
{
  background-color: #000;
  color: #0F0;
  font-weight: normal;
  background-image: url('/images/topfade.jpg');
  background-position: left top;
  background-repeat: repeat-x;
  border-top: 1px solid #0C0;
  border-left: none;
  border-right: none;
  text-align: left;
}

#board td
{
  background-color: #000;
  color: #FFF;
  padding-bottom: 2em;
}

#board th.boardauthor
{
  text-align: right;
}

th.boardauthor em
{
  font-weight: bold;
  font-style: normal;
}
