
body
{
  margin: 0px auto;
  padding: 0px;
  background-color: #e3e3e3;
  font-family: arial, sans-serif;
}

#page-container
{
  margin-left: 10px;
  margin-right: 10px;
  padding: 0px;
  background-color: #ffffff;
  border: solid 1px rgb(100,100,100);
}


.nav1
{
  float: right;
  margin: 0px;
  font-family: verdana, arial, sans serif;
  z-index: 3;
  background-color: #ffffff;
  padding: 3px 0px 3px 0px;

  font-size: small;
  display: inline;
  white-space: nowrap;
}

.nav1 ul
{
  margin: 0px;
  padding: 0px;
  border-left: solid 1px rgb(115,162,182);
  background-color: rgb(255,255,255);
  font-weight: bold;
}

.nav1 li
{
  list-style: none;
  margin: 0px;
  padding: 0px 5px 0px 5px; 
  border-right: solid 1px rgb(115,162,182);
  text-align: center;

  display: inline;
  white-space: nowrap;
}

.nav1 li a
{
  margin: 0px;
  padding: 0px;
  color: rgb(115,162,182);
  text-decoration: none;
}

.nav1 a:hover, .nav1 a.selected, .nav2 a.selected
{
  color: rgb(50,50,50);
  text-decoration: none;
}

.nav2
{
  clear: both;
  margin: 0px;
  padding: 0px;
  font-family: verdana, arial, sans serif;
  font-size: 1.0em;
}
.nav2 ul
{
  float: left;
  margin: 0px;
  padding: 0px;
  border-top: solid 1px rgb(54,83,151);
  border-bottom: solid 1px rgb(54,83,151);
  background-color: rgb(127,162,202);
  font-weight: bold;
}
.nav2 li
{
  display: inline;
  list-style: none;
  margin: 0px;
  padding: 0px;
}
.nav2 li a
{
  display: block;
  float: left;
  margin: 0px 0px 0px 0px;
  padding: 5px 10px 5px 10px;
  border-right: solid 1px rgb(54,83,151);
  color: rgb(255,255,255);
  text-transform: uppercase;
  text-decoration: none;
  font-size: 100%;
}

.nav2 a:hover, .nav2 a.selected
{
  color: rgb(50,50,50);
  text-decoration: none;
}


/* TODO: merge with nav1 since it's almost all the same */
.nav3
{
  font-family: verdana, arial, sans serif;
  background-color: #ffffff;

  font-size: small;
  display: inline;
  white-space: nowrap;
}

.nav3 ul
{
  margin: 0px;
  padding: 0px;
  border-left: solid 1px rgb(115,162,182);
  background-color: rgb(255,255,255);
  font-weight: bold;
}

.nav3 li
{
  list-style: none;
  margin: 0px;
  padding: 0px 5px 0px 5px; 
  border-right: solid 1px rgb(115,162,182);
  text-align: center;

  display: inline;
  white-space: nowrap;
}

.nav3 li a
{
  margin: 0px;
  padding: 0px;
  color: rgb(115,162,182);
  text-decoration: none;
}

.nav3 a:hover, .nav3 a.selected
{
  color: rgb(50,50,50);
  text-decoration: none;
}


.buffer
{
  clear: both;
  height: 30px;
  margin: 0px;
  padding: 0px;
  background-color: rgb(255,255,255);
}


div.img-header
{
  background-color: #7fa2ca;
  height: 90px;
  margin: 0px;
  padding: 0px;
  border: 0px;
}

img.img-header
{
  float: left;
  width: 384px;
  height: 90px;
  margin: 0px;
  padding: 0px;
  border: 0px;
}

.m_info
{
    background-color: #EEFFE4;
    margin: 1em 2em 1em 2em;
    padding: 0em;
    border: solid 1px #8EFF8C;
}

.m_warn
{
    background-color: #ffffdd;
    margin: 1em 2em 1em 2em;
    padding: 0em;
    border: solid 1px #ffbbbb;
}


#contentwrapper
{
  float: left;
  width: 100%;

}

.content-left
{
  float: left;
  margin: 0px 160px 0px 0px;
  color: rgb(75,75,75);
}


.inner-pad h1
{
  overflow: hidden;
  margin: 0px 0px 10px 0px;
  padding: 0px 0px 2px 0px;
  border-bottom: solid 3px rgb(88,144,168);
  color: rgb(88,144,168);
  font-weight: bold;
  font-size: 180%;
}

.inner-pad h2
{
  margin: 0px;
  padding: 0px;
  color: rgb(88,144,168);
  font-weight: bold;
  font-size: 130%;
}

.inner-pad h3
{
  margin: 0px;
  padding: 0px;
  color: rgb(88,144,168);
  font-weight: bold;
  font-size: 110%;
}


/* trick from 
   http://dynamicdrive.com/style/layouts/item/css-liquid-layout-22-fluid-fixed/
*/
.sidebar
{
  overflow: hidden;
  float: right;
  width: 160px;
  margin-left: -160px;
  padding: 0px 0px 0px 0px;
  text-align: left;
  color: rgb(75,75,75);
    
}

.sidebar h1
{
  margin: 0px 0px 10px 0px;
  padding: 3px 10px 2px 10px;
  background-color: rgb(156,186,214);
  color: rgb(255,255,255);
  font-weight: bold;
  font-size: 120%;
}

.sidebar h2
{
  margin: 0px;
  padding: 2px 10px 3px 10px;
  color: rgb(75,75,75);
  font-weight: bold;
  font-size: 120%;
}

.sidebar div
{
  border-bottom: solid 1px rgb(215,215,215);
  margin: 0px 0px 10px 0px;
  padding: 2px 10px 3px 10px;
}

.sidebar div p
{
  margin: 0px 0px 5px 0px;
  padding: 0px;
  line-height: 1.25em;
}

.inner-pad
{
  margin: 10px;
  margin-top: 0;
  min-height: 400px;
}

/* FIXME: this is buggy, boxes jump around. */
.two-col
{ 
  width: 48%;
}

.two-col-left
{ 
  width: 48%;
}

.two-col-right
{ 
  width: 48%;
  float: right;
}

.footer
{
  overflow: hidden;
  clear: both;
  height: 3.0em;
  margin: 0px;
  padding: 0.5em 0px 0.5em 0px;
  border-top: solid 1px rgb(125,125,125);
  background-color: rgb(128,161,202);
  color: rgb(255,255,255);
}

.footer p
{
  margin: 0px;
  padding: 0px;
  text-align: center;
  line-height: 1.3em;
}

/* Form Encode */
.error-message
{
    color: #ff8888;
    font-weight: bold;
}

.new_mail td
{
    font-weight: bold;    
}

.revdag tr td
{
    vertical-align: top;
}

.revdag tr .node
{
    background: #FFF url('/dagimg/arc/2/2') repeat-y;
}
