/* ==================== */
/* = Base definitions = */
/* ==================== */

/* Colors
 * Blue:   #0060AF
 * Yellow: #EFDF60
 * Gray:   #DDD
 */

a {
  text-decoration: none;
  color: #0060AF;
}

a:visited {
  color: #0060AF;
}

body {
  margin: 0px;
  /*font-size: 14px;*/
  line-height: 28px;
  font-family: arial, sans-serif;
  margin-top: 126px;
  height: 100%;
  background-image: url(img/background.gif);
  background-repeat: repeat-x;
}

dt {
  font-weight: bold;
}

img {
  border: 0px none #FFFFFF;
}

h2 {
  font-size: 22px;
  border-top: 1px solid #EFDF60;
  padding: 3px 2px 5px 2px;
}

table {
  border-collapse: collapse;
  border-spacing: 0px;
}

td {
  padding: 0px;
}

/* ===================== */
/* = Header and Navbar = */
/* ===================== */

/* Images */

img#logo {
  position: absolute;
  top: 0px;
  left: 0px;
}

table#title {
  position: absolute;
  top: 50px;
  left: 140px;
  height: 30px;
}

tr.title > td {
    font-family: Consolas, monospace, Courier New, courier;
    padding: 0 5px 0 5px;
    font-weight: bold;
    font-size: 12px;
}

/* Top bar */

form#query-form {
  position: absolute;
  top: 3px;
  right: 10px;
}

table#account-bar {
  position: absolute;
  top: 15px;
  left: 140px;
  font-size: 14px;
  background-color: #EFDF60;
  border: 1px solid black;
}

tr.account > td > a {
  /* undeline links here to make sure people
   * understand they can click them 
   */
  text-decoration: underline;
  height: 20px;
  color: #0060AF;
}

table.header-bar {
  font-family: Consolas, monospace, Courier New, courier;
  font-size: 12px;
}

/* Navigation bar */

table#navbar {
  position: absolute;
  line-height: 21px;
  top: 86px;
  left: 140px;
}

a.navbar {
  font-family: Consolas, monospace, Courier New, courier;
  font-size: 16px;
  font-weight: bold;
  padding-right: 10px;
}

a.navbar:link {
  color: black;
}

a.navbar:visited {
  color: black;
}

a.navbar:hover {
  color: white;
}

td.navbar, td.navbar-active {
  min-width: 135px;
  width: 135px;
  padding-top: 18px;
  text-align: center;
}

td.navbar-active {
  background-image: url(img/navbutton-active.gif);
}

td.navbar {
  background-image: url(img/navbutton.gif);
}

td.navbar-active:hover {
  background-image: url(img/navbutton-hover.gif);
  color: white;
}

td.navbar:hover {
  background-image: url(img/navbutton-hover.gif);
  color: white;
}

/* ================ */
/* = Page content = */
/* ================ */

table.main-body {
  width: 100%;
  height: 100%;
}

td.main-menu {
  min-width: 125px;
  width: 125px;
  line-height: 21px;
  vertical-align: top;
  background-image: url(img/menu-background.gif);
  background-repeat: repeat-y;
}

td.main-body {
  padding: 5px 40px 20px 30px;
  vertical-align: top;
  border-bottom: 1px solid black;
}

td#main-body-about {
  padding: 5px 40px 20px 30px;
  vertical-align: top;
  background-color: #F1F1F1;
  border-left: 3px solid gray;
}

td#main-body-events {
  padding: 5px 40px 20px 30px;
  vertical-align: top;
  background-color: #FFFFF1;
  border-left: 3px solid #EFDF60; /* yellow */
}

td#main-body-tasks {
  padding: 5px 40px 20px 30px;
  vertical-align: top;
  background-color: #FFF5F1;
  border-left: 3px solid #FF9955; /* orange */
}

td#main-body-resources {
  padding: 5px 40px 20px 30px;
  vertical-align: top;
  background-color: #F3F3FF;
  border-left: 3px solid #0060AF; /* blue */
}

td#main-body-team {
  padding: 5px 40px 20px 30px;
  vertical-align: top;
  background-color: #F3FFF3;
  border-left: 3px solid green;
}


td.main-footer {
  min-width: 125px;
  width: 125px;
  vertical-align: bottom;
  background-image: url(img/menu-background.gif);
  background-repeat: repeat-y;
  border-bottom: 1px solid black;
}

div.entry {
  padding-left: 1em;
  padding-right: 1em;
}

h4.downloads {
  margin: 5px;
}

ul.downloads {
  margin-top: 0px;
}

/* ================= */
/* = Menu elements = */
/* ================= */


ul.menu {
  padding-left: 5px;
  padding-right: 5px;
  font-size: 12px;
  border-left: 0px;
  margin-left: 0px;
}

li.menu-header {
  padding-top: 10px;
  list-style-type: none;
  margin-left: 0px;
}

li.menu-header > div {
  font-weight: bold;
  color: white;
  border: 1px solid black;
  background-color: #0060AF;
  padding-right: 2px;
  padding-left: 2px;
  text-align: center;
}

li.menu-chapter {
  padding-top: 10px;
  list-style-type: none;
  margin-left: 0px;
}

li.menu-chapter > a {
  text-decoration: none;
}

li.menu-chapter > div, li.menu-chapter > a > div {
  font-weight: bold;
  border: 1px solid black;
  background-color: #EEE;
  padding-right: 2px;
  padding-left: 2px;
  text-align: center;
}

li.menu-entry, li.menu-entry-active {
  margin-top: 5px;
  border: 1px solid #000;
  list-style-type: none;
  margin-left: 0px;
  
}

li.menu-entry {
  background-color: #EFDF60;
}

li.menu-entry > a {
  color: black;
  text-decoration: none;
}

li.menu-entry > a > div {
  border: 3px outset #EFDF60;
  padding-right: 2px;
  padding-left: 2px;
}

li.menu-entry-active {
  background-color: white;
}

li.menu-entry-active > a {
  color: black;
  text-decoration: none;
}

li.menu-entry-active > a > div {
  border: 3px outset white;  
  padding-right: 2px;
  padding-left: 2px;

}

li.menu-entry:hover, li.menu-entry-active:hover {
  background-color: #0060AF;
}

li.menu-entry > a:hover, li.menu-entry-active > a:hover {
  color: white;
  font-weight: bold;
}

li.menu-entry > a > div:hover, li.menu-entry-active > a > div:hover {
  border: 3px outset #0060AF;
}

/* ================================ */
/* = Formatting of entry elements = */
/* ================================ */

table.entry {
  border: 1px solid black;
}

table.entry > tbody > tr > th {
  border: 1px solid black;
  background-color: #EFDF60;
  padding-left: 5px;
  padding-right: 5px;
}

table.entry > tbody > tr > td {
  border: 1px solid black;
  vertical-align: top;
  padding-left: 5px;
  padding-right: 5px;
}

/* =============================== */
/* = Positioning of entry images = */
/* =============================== */

p.flt-left img {
  float: left;
  margin-right: 3px;
  margin-bottom: 3px;
}

p.flt-right img, img.flt-right {
  float: right;
  margin-left: 3px;
  margin-bottom: 3px;
}

/* ================== */
/* = Text formating = */
/* ================== */

.align-top {
  vertical-align: top;
}

.align-bottom {
  vertical-align: bottom;  
}

.center {
  text-align: center;
}

.medium {
  font-size: 14px;
}

.small {
  font-size: 12px;
}

.tiny {
  font-size: 9px;
}

.errors, .errorlist {
  color: red;
}

/* ==================== */
/* = RSS Feed Bullets = */
/* ==================== */

ul.rss {
  list-style-image: url(img/feed-icon-14x14.png);
}

/* ================== */
/* = Form formating = */
/* ================== */

dt {
  margin-top: 5px;
}

input.distance {
  margin-top: 20px;
}

table.form > tbody > tr > td {
  font-size: 10px;
  line-height: 16px;
  vertical-align: top;
}

table.form > tbody > tr > th {
  vertical-align: top;
  text-align: right;
}

table.questionnaire {
    width: 100%;
}

table.questionnaire > tbody > tr > th {
    width: 250px;
    padding-right: 10px;
}

table.questionnaire > tbody > tr > th {
    background-color: #EFDF60;
}
table.questionnaire > tbody > tr > td {
    border: 1px;
    border-style: solid;
    border-color: #EFDF60;
}

ul.errorlist {
  padding-left: 20px;
  padding-right: 0px;
  font-size: 12px;
  border-left: 0px;
  margin: 5px 0px 0px 0px;
  vertical-align: top;
}
