body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: #0c0c0c;
  background-color: #ffffff;
  min-height: 100%;
  margin: 0;
}

img {
  border: 0;
}

h1,h2,h3,h4,h5,h6 {
  margin: 0;
  padding: 0;
}

div.clear {
  clear: both;
}

/* Main column styles */
#main {
  margin: 0 auto 0 auto;
  width: 80%;
}

/* Header styles */
#header {
  margin: 25px auto 20px auto;
  width: 80%;
  height: 45px;
}
#header h1 {
  display: block;
  float: left;
}
#header h1 a {
  display: block;
  background-image: url('/i/logo.png');
  border-right: 1px solid #000000;
  width: 163px;
  height: 45px;
}
#header h1 a span {
  display: none;
}
#header p {
  display: block;
  font-size: x-small;
  float: left;
  width: auto;
  height: 45px;
  margin: 7px 0 0 15px;
}

#mainmenu {
  float:right;
  text-align:right;
  height: 45px;
}
#mainmenu a{
  color: #000000;
  text-decoration: underline;
  font-weight:bold;
  font-size: small;
}

/*
#refreshbutton {
  position: relative;
  top: -32px;
  left: 35px;
  display: block;
  background-image: url('/i/refresh.png');
  width: 64px;
  height: 64px;
}
#refreshbutton a {
  display: block;
  width: 64px;
  height: 64px;
}
#refreshbutton span {
  display: none;
}
*/

/* Content styles */
#content {
  margin: 30px auto 20px auto;
  width: 80%;
}

/* Ancillary styles */
#ancillary {
  background-color: #f2f2f2;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  padding: 10px 0;
}
#ancillary .container{
  margin: 0 auto;
/*  margin-top: -64px; /* for refresh */
  width: 80%;
}


/* Footer styles */
#footer {
  margin: 30px auto 0 auto;
  width: 80%;
  height: 50px;
}
#footer .copyright {
  font-size: small;
  float: left;
  display: block;
}
#footer .copyright a {
  color: #000000;
  text-decoration: underline;
}
#footer .buttons {
  float: right;
  display: block;
}
#footer .buttons a span {
  display: none;
}
#footer .buttons a.valid_xhtml {
  float: left;
  display: block;
  background-image: url('/i/colophon_xhtml.png');
  width: 80px;
  height: 15px;
}
#footer .buttons a.valid_css {
  margin-left: 3px;
  float: left;
  display: block;
  background-image: url('/i/colophon_css.png');
  width: 80px;
  height: 15px;
}


/* Login form box */
#loginbutton {
  position: absolute;
  top: 25px;
  left: 0;
  width: 40px;
  height: 162px;
}
#loginbutton a {
  display: block;
  background-image: url('/i/login_button.png');
  width: 40px;
  height: 162px;
}
#loginbutton span { display: none; }
#loginbox {
  display: block;
  position: absolute;
  top: 25px;
  left: -350px;
  width: 350px;
  height: 162px;
  background-image: url('/i/login_button.png');
  background-position: right top;
  background-repeat: no-repeat;
  z-index: 5;
}
#loginbox .content {
  display: block;
  float: left;
  width: 310px;
  height: 160px;
  background-color: #f2f2f2;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}
#loginbox .container {
  margin: 20px 0 10px 20px;
}
#loginbox div.openid_title {
  font-size: larger;
  display: block;
  width: 100%;
  margin-bottom: 20px;
}
#loginbox div.openid_user {
  font-size: larger;
  display: block;
  width: 100%;
  margin-bottom: 20px;
  background: transparent url('/i/openid_login.png') 2px center no-repeat;
  padding-left: 24px;
}
#loginbox div.openid_user a {
  text-decoration: none;
  color: #000000;
}
#loginbox div.openid_title span {
  font-size: xx-small;
}
#loginbox input.openid_login {
  background: transparent url('/i/openid_login.png') 2px center no-repeat;
  padding-left: 20px;
  width: 180px;
  height: 24px;
  border: 1px solid #dddddd;
  background-color: #ffffff;
  font-family: "Lucida Console", "Andale Mono", monospace;
  font-size: 20px;
  font-weight: normal;
}
#loginbox input.openid_submit {
  height: 28px;
  font-size: large;
  border: 1px solid #dddddd;
}
#loginbox input.openid_logout {
  height: 28px;
  font-size: large;
  border: 1px solid #dddddd;
}
#loginbox p.form_example {
  margin-top: 20px;
  font-size: x-small;
}
#loginbox a.hidebutton {
  float: right;
  display: block;
  width: 40px;
  height: 160px;
}
#loginbox a.hidebutton span { display: none; }
