/*
  light-green: #99CC33
  green: #669900
*/

/* typography */
html, body, input, textarea, button {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 10pt;
  line-height: 1.3;
}
h1 {
  margin: 0 0 0.25em 0;
}
h2 {
  margin-bottom: 0.25em;
}
h3 {
  margin-bottom: 0.25em;
}
p {
  margin: 0 0 1em 0;
}
p.half {
  margin-bottom: 0.5em;
}
p.last {
  margin-bottom: 0;
}
ol, 
ul {
  margin-top: 0;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.3em;
}
a:link,
a:visited {
  color: #669900;
}
a:active,
a:hover {
  color: #99CC33;
}
small {
  font-size: 85%;
}
img {
  border: 0;
}

/* layout */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: white;
}
#frame {
  position: relative;
  width: 100%;
  height: 100%;
}
#frame[id] {
  height: auto;
  min-height: 100%;
}

/* header */
#header {
  background: black url(/img/header/head.jpg) left bottom no-repeat;
  line-height: 1.1;
  font-size: 8.5pt;
}
#header .menu {
  height: 120px;
  padding: 20px 20px 20px 0;
  margin-left: 200px;
  background: white url(/img/header/background.gif) bottom repeat-x;
}
#header .menu[class] {
  height: auto;
  min-height: 120px;
}
#header .logo {
  margin-bottom: 0.5em;
}
#header ol {
  display: block;
  list-style: none;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
#header li {
  display: block;
  float: left;
  margin: 0;
  padding: 0 1.5em 0 0;
}
#header ul {
  list-style: disc;
  width: auto;
  margin: 0;
  padding: 0;
}
#header ul li {
  display: list-item;
  float: none;
  margin-left: 1.75em;
  padding: 0 0 0.25em 0;
}
#header a.heading {
  display: block;
  padding: 0 0 0.25em 0;
  color: black;
  font-weight: bold;
  text-decoration: none;
}
#header a.heading:hover {
  color: #666666;
  text-decoration: underline;
}
#header a.more {
  color: black;
  text-decoration: none;
}
#header a.more:hover {
  color: #666666;
  text-decoration: underline;
}

/* content */
#content {
  height: 100%;
  padding: 20px 20px 6em 20px;
}

/* footer */
#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 6em;
  background-color: #333333;
  font-size: 8.5pt;
  text-align: right;
  color: #999999;
}
#footer .pad {
  padding: 10px 20px 10px 20px;
}

/* admin-panel */
#admin-panel {
  display: block !important;
  position: absolute;
  right: 0;
  top: 0;
  width: 1em;
  height: 1em;
  overflow: hidden;
  color: #EEEEEE;
  font-size: 8.5pt;
}
#admin-panel:hover {
  width: auto;
  padding-right: 0.25em;
  color: #999999;
}

/* form */
ul.error li,
ol.error li {
  color: #990000;
}
form {
  display: inline;
  margin: 0;
}
.field {
  margin-bottom: 0.5em;
}
.field label {
  display: block;
  margin: 0 0 0.15em 0;
  clear: both;
  color: #666666;
}
.field var {
  display: block;
  font-style: normal;
  font-weight: bold;
  color: red;
}
input, 
textarea, 
img.control {
  display: block;
  padding: 2px;
  border: 1px solid #666666;
  margin: 0;
  behavior: url(/js/ie/focus.htc);
}
input:focus,
textarea:focus,
input.focus,
textarea.focus {
  background-color: #F0FFDD;
}
input.error,
textarea.error {
  border-color: #990000;
}
button {
  display: block;
  width: auto;
  overflow: hidden;
  padding: 0.4em 0.5em 0.2em 0.5em;
  border: 2px solid #669900;
  border-top: 2px solid #99CC33;
  background: #669900 url(/img/misc/button-background.png) bottom repeat-x;
  color: white;
  font-size: 12pt;
  font-weight: bold;
}
button:active {
  border: 2px solid #99CC33;
  border-top: 2px solid #336600;
  border-bottom: 2px solid #CCFF33;
}
button[type] {
  margin: 1px;
  outline: 1px solid #333333;
}
button:hover {
  text-decoration: underline;
}
.buttons {
  width: 100%;
  overflow: hidden;
  margin-top: 1em;
}
.buttons button {
  float: left;
  margin-right: 0.5em;
}
.hide {
  display: none;
}

/* columns */
.columns {
  width: 100%;
  overflow: hidden;
}
.columns .column {
  float: left;
  clear: none;
  margin-right: 1.5em;
}

/* comments */
ol.comments {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}
.comments li {
  display: block;
  margin: 1em 0 0 0;
}
.comments .message {
  padding: 20px 20px 10px 20px;
  background: #EEEEEE url(/img/comment/standard/corner.gif) left top no-repeat;
}
.comments .post {
  padding: 20px 0 0 20px;
  background: white url(/img/comment/standard/background.gif) left top no-repeat;
  color: #666666;
  font-size: 8.5pt;
}
.comments .post var {
  font-style: normal;
}
.comments .post var.author {
  color: black;
  font-weight: bold;
}

.comments li.important .message {
  background: #CCFF99 url(/img/comment/important/corner.gif) left top no-repeat;
}.comments li.important .post {
  background: white url(/img/comment/important/background.gif) left top no-repeat;
}