/* General style guidelines:
    - All font-size at least 14px (recommended 16px)
    - Line-height: 1.5 for paragraph body, 1.1 for header

accent colour:
#E2AA00
dark blue:
#2724AE
alternate dark blue:
#4A47AE
link colour:
color:  rgb(100,135,220);
*/

body {
  margin: 0;
  padding: 0;
  text-align: center;
  background-image:url('background.png');
  color: black;
  background-color: white;
  font-family: Helvetica, Verdana, Arial, DejaVu Sans, sans-serif;
  font-size: 84%;  /* Enables font size scaling in MSIE */
}

a { text-decoration: none; }
a:hover { text-decoration: underline; }

#container {
  position: relative;
  margin: 0 auto;
  max-width: 70em;
  text-align: left;
}

img#logo {
  height: 1.2em;
  border: none;
  margin: 0;
  padding: 0;
}

/* # Header # */
.superHeader {
  height: 1.6em;
}

.superHeader a {
  color: #777;
  margin-right: 0.5em;
}

.superHeader div {
  position: absolute;
  top: 0.40ex;
}
.superHeader .left { left: 0.4em; }
.superHeader .right { right: 0.4em; }

.midHeader {
  background-color: #4A47AE;
  border-bottom: solid 0.2em #E2AA00;
  font-size: 80%; /* twiddle this to change header text size. Image should grow accordingly */
}

.headerTitle {
  margin: 0;
  height: 1.2em;
  padding: 0.2em 0.25em;
}
#headerSubTitle {
  color: #fff; 
  font-weight: bold;
  vertical-align: top;
}
.headerTitle a:hover { text-decoration: none; }

/* # Horiz-side # */
#horiz-side-bar {
  clear: both;
  margin: 0;
  padding: 0;
}

#horiz-side-bar ul {
  list-style-type: none;
  list-style-position: outside;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  background-color: #ddd;
  border-top: 2px solid #ddd;
}
#horiz-side-bar li {
  display: inline;
  white-space: nowrap;
  line-height: 1.6em;
}
#horiz-side-bar ul li a {
  padding: 0.2em 1ex 0.3em;
  margin-right: 0.5em;
  color: #333;
  font-weight: bold;
}
#horiz-side-bar ul li a:hover {
  color: black;
  background-color: #ccc;
  text-decoration: none;
}

#horiz-side-bar ul:nth-child(even) { 
  background-color: #ccc;
  border-top: 2px solid #ccc;
}
#horiz-side-bar ul:nth-child(even) li a:hover {
  background-color: #ddd;
}

/* about events etc. */
#horiz-side-bar ul:first-child {
  background-color: transparent;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  border-top: none;
}
#horiz-side-bar ul:first-child li a {
  padding: 0.25em 1ex 0.25em 0.3em;
  margin-right: 1em;
  display: inline-block;

  border-left: 0.5em solid #ddd;
  font-weight: bold!important;
  font-size: 102%;

/* fixed width tabby things
  margin-right: 0;
  width: 5.5em;
*/
}
#horiz-side-bar ul:first-child li a:hover {
  background-color: #eee;
  border-left: 0.5em solid #E2AA00;
}

#horiz-side-bar ul li.thisPage a {
  color: #222;
  background-color: #ccc;
}
#horiz-side-bar ul:nth-child(even) li.thisPage a {
  background-color: #ddd;
}

#horiz-side-bar ul:last-child li.thisPage a,
#horiz-side-bar ul:last-child li a:hover {
  background-color: #f5f5f5;
}

#horiz-side-bar ul:first-child li.thisPage a {
  border-left: 0.5em solid #4A47AE;
  background-color: #eee;
}


/* # Side # */

li ul {
  padding-left: 0.6em !important;
}

/* # Main Copy # */
#main-copy {
  padding: 0.5em 1em;
  color: black;
  background-color: #f5f5f5;
  text-align: justify;
  line-height: 1.6em;
  max-width: 68em;
  word-wrap: break-word;
}

#main-copy p, #main-copy li {
  padding: 0;
}

#main-copy a {
  color: #4A47AE;
  color: #E2AA00;
  color:  rgb(100,135,220);
  text-decoration: underline;
}
#main-copy a:hover {
  background-color: #eee;
  color: #E2AA00;
}

#main-copy h1, #main-copy h2 {
  font-size: 145.5%;
  font-weight: bold;
  margin: 0;
  padding: 0.5ex 0.6ex;
  border-bottom: 2px solid #E2AA00;
}

#main-copy h2 {
  font-size: 115.5%;
}

#main-copy h3 {
  font-size: 90%;
  color: #333;
  padding-left: 0.6ex;
}

#main-copy ul {
  list-style-type: disc;
  list-style-position: inside;
}

/* leftovers from werc stylesheet. To implement in the future
#main-copy ol {
}

dl {
  margin: 1em 1ex 2em 1ex;
  padding: 0;
}

dt {
  font-weight: bold;
  margin: 0 0 0 0;
  padding: 0;
}

dd {
  margin: 0 0 2em 2em;
  padding: 0;
}
*/

hr {
  border-width: 0px 0px 0.2em 0px;
  border-color: black;
}

pre {
  border-left: 0.5em solid #4A47AE;
  padding-left: 0.5em; 
  font-size: 1.2em;
  background-color: #e5e5e5;
}

blockquote {
  border-left: 0.5em solid #4A47AE;
  font-style: italic;
}

/* # Footer # */
#footer {
  color: #FFF;
  background-color: #4A47AE;
  padding: 0.25ex;
  clear: both;
  border-top: solid 0.2em #E2AA00;
  margin-bottom: 1.6em;
}

#footer .left {
  text-align: left;
  margin-left: 0.4em;
  line-height: 1.55em;
  float: left;
  clear: left;
}
#footer a {
  color: #fff;
  background-color: transparent;
}


/* GENERAL */

table {
  background-color: #f5f5f5;
  border-collapse: collapse;
  /* old table
  border: 2px solid #fff;
  outline: 1px solid #4a47ae;
  */
  border-bottom: 0.2em solid #4A47AE;
}
th {
  padding-left: 0.5em;
  padding-right: 0.5em;
  text-align: left;

  background-color: #4A47AE;
  color: #fff;
}
tr:nth-child(odd) {
  background-color: #c0ffee;
  background-color: #d3dfee; /* old table */
  background-color: #e5e5e5;
}
td {
  padding-left: 0.5em;
  padding-right: 0.5em;
}
td a {
  background-color: transparent !important;
}
/* centre the checkmarks */
td:nth-child(3) {
  text-align: center;
}

/* irc tables */
table.irc {
  width:100%;
  border: 0px;
  outline: 0px;
  color: #ccc;
  white-space:pre-wrap;
  font-family: "courier new", monospace, "courier", fixed;
  font-size: 1.1em;
  line-height:100%;
}
tr.irc {
  background-color: #333;
  vertical-align: top;
}
th.irc {
  text-align:right;
  margin-right: 2px;
  padding-left:0.5em;
  padding-right:1em;
  background-color: #333;
}
td.irc {
  white-space:pre-wrap;
}

.notify_errors,
.notify_notes,
.notify_success { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }
 
.notify_errors { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
.notify_notes { background: #FFF6BF; color: #514721; border-color: #FFD324; }
.notify_success { background: #E6EFC2; color: #264409; border-color: #C6D880; }
.notify_errors a { color: #8a1f11; }
.notify_notes a { color: #514721; }
.notify_success a { color: #264409; }
