/* colours

brown: 844b00;
red: ff2100;
yellow: fffe00
weak black: 999999

*/

* {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  border: 0 solid;
  text-decoration: none;
  font-size: inherit;
  color: inherit;
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  color: #000;
  font: normal 11px/1.3em Arial, sans-serif;
  background: #fff;
  height: 100%;
}

a:link img,
a:visited img {
  border: none;
  padding: 0 0;
}

h1,
h3,
h4,
h5 {
  font-weight: bold;
  margin-bottom: .4em;
}

h2,
span.head {
  display: block;
  margin: -4em 0 2.6em -15px;
  font-weight: normal;
  color: #999999;
  background: transparent url(/images/site/notch.gif) no-repeat bottom left;
  padding: 0 0 2px 15px;
  border-bottom: 1px solid;
  width: 1000px;
}

h4,
h5 {
  margin-top: 3em;
}

div > h4:first-child {
  margin-top: 0;
}


/* layout */

#nav {
  height: 13em;
  padding-left: 40px;
}

#container {
  padding: 100px 10px 60px 0px;
  margin: 0 0;
  width: 1020px;
  overflow: hidden;
  min-height: 68%;
  position: relative;
}

#content {
  width: 100%;
  overflow: hidden;
  background: transparent; /* url(/images/site/line.gif) no-repeat 39px 1.4em; */
}

#content div,
#content #bottom div {
  width: 330px;
  float: left;
  padding-left: 40px;
  padding-top: 4em;
  position: relative;
}


#content div:first-child h2 {
  background: none;
  padding: 0 0 2px 0;
  margin-left: 0px;
}

#content div div {
  float: none;
  padding: 0 0;
}

#content div.small,
#content #bottom div.small {
  width: 230px;
}

#content div.large {
  width: 700px;
}

#content #bottom {
  overflow: hidden;
    width: 1020px;
    float: left;
    padding: 0 0;
    margin-top: 35px;
}

#switch {
  height: 100px;
  position: absolute;
  top: 40px;
  right: 10px;
  text-align: right;
  font: normal 10px/1.3em Arial, sans-serif;
  width: 350px;
  height: 150px;
  background: transparent;
}

#footer {
  padding: 10px 0 40px 45px;
  margin: 0 0;
  width: 960px;
  clear: both;
}


/* basic site typography */

a {
    text-decoration: underline;
}

a:hover {
  color: inherit;
}

em, cite {
  font-style: italic;
}

strong {
  font-weight: bold;
}

p,
ul,
ol {
	margin-bottom: 1.4em;
}

ul,
ol {
  list-style: none;
}

dl {
  margin-bottom: 1.4em;
}

dt {
  float: left;
  font-weight: bold;
  margin-right: .3em;
}

table {
  line-height: 1.2em;
	text-align: left;
	width: 100%;
	border-spacing: 0;
  
}

th {
  padding-left: 7px;
  padding-right: 10px;
  text-align: left;
  font-weight: normal;
}

th:first-child {
  padding-left: 0px;
}

th a {
  text-decoration: underline;
}

td {
  overflow: hidden;
  vertical-align: top;
  padding: 5px 5px 5px 7px;
  border-bottom: 1px solid #999999;
  background: transparent url(/images/site/notch.gif) no-repeat bottom left;
}

td:first-child {
  padding-left: 0;
  background: transparent;
}

.weak,
.weak a {
  color: #999999;
}

a.weak:hover {
  color: inherit;
}


ul.filters {
  width: 300px;
  margin-bottom: 50px;
  font-weight: bold;
}

ul.filters ol,
ul.filters ol li {
  display: inline;
  font-weight: normal;
  margin-left: 2px;
}

.tip,
#wheel {
  cursor: help;
}


/* forms */

form {
  margin-top: 2.4em;
}

label {
  margin-bottom: 1.4em;
  display: block;
}

input,
textarea,
select {
  padding: 2px 3px;
  width: 100%;
  background: transparent;
  font: inherit;
}

label input,
textarea,
select {
  margin-top: .4em;
  display: block;
  width: 92%;
  border: 1px solid;
}

fieldset {
  overflow: hidden;
}

fieldset label {
  float: left;
  width: 50%;
}

fieldset label input,
fieldset label select {
  width: 85%;
}

input.submit {
  margin-top: 1em;
  border: 1px solid;
  cursor: pointer;
  text-align: left;
  width: auto;
}

/* nav lists */

.nav li {
  font-weight: bold;
  margin-left: -1.5em;
}

#nav li {
  width: 12em;
}

.nav li a {
  font-weight: normal;
  text-decoration: none;
}


#nav li h1 a {
  font-weight: bold;
  margin-left: 1.5em;
}

.nav li span {
  font-weight: normal;
  visibility: hidden;
}

.about .nav li.about span,
.events .nav li.events span,
.posts .nav li.posts span,
.assignments .nav li.assignments span,
.library .nav li.library span,
.nav li:hover span,
.nav li.current span {
  visibility: visible;
}

#content div.small .nav {
  margin-bottom: 2.8em;
}




/* tabular lists */

dl.tab {
  margin-top: 2em;
  border-bottom: 1px solid #999999;
  overflow: hidden;
}

dl.tab dt {
  float: left;
  width: 80px;
  clear: left;
  border-top: 1px solid #999999;
  padding: .3em 0;
	font-weight: normal;
	margin-right: 0;
}

dl.tab dd {
  float: left;
  width: 250px;
  border-top: 1px solid #999999;
  background: transparent url(/images/site/notch.gif) no-repeat bottom left;
  text-align: right;
  padding: .3em 0;
}

dl.tab dd.image {
  width: 100%;
  text-align: center;
  background: transparent;
}

dl.tab dd.image img{
  width: 100%;
  margin-top: 2px;
}

dl.tab dt:first-child,
dl.tab dt:first-child + dd {
  border: none;
}

dl.tab a {
 text-decoration: none; 
}


/* posts */

ol.posts li {
  margin-bottom: 1.4em;
}


/* search */

ol.search-results li {
  margin-bottom: 1.4em;
}


/* calendar */

.red {
  background: red;
}

.calendar {
  width: 185px;
  overflow: hidden;
  text-align: center;
  
}

.calendar.week {
  border-bottom: 1px solid;
  margin-bottom: .5em;
}

.calendar li {
  width: 26px;
  float: left;
  padding: .5em 0;
}

.calendar li ol {
  position: absolute;
  top: 3.55em;
  left: 410px;
  display: none;
  width: 325px;
}

.calendar li ol.current {
  display: block;
}

.calendar li ol li {
  width: 325px;
  float: none;
  text-align: left;
}

.calendar li ol li h4 {
  margin-top: 0;
}


/* home */

#content #featured-text {
  width: 230px;
}

#other-featured {
  display: none;
}


/* library */

.library table td:first-child+td {
  width: 125px;
}


/* events */

.events div img {
  margin-top: 3px;
}


/* style switcher */

#switch img#wheel {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 10px 10px;
}

#switch div {
  height: 75px;
  width: 600px;
  position: absolute;
  top: 7px;
  right: 150px;
  padding: 0;
  height: 0;
  opacity: 0;
}

#switch dl {
  width: 150px;
  overflow: hidden;
  margin: 0 0 8px 450px;
}

#switch dt {
  float: left;
  width: 110px;
  text-align: left;
}

#switch dd {
  float: left;
  width: 37px;
}

#switch a,
#switch #reset {
  cursor: pointer;
}

#switch #select-colour,
#switch #select-type-size {
  margin-top: 1em;
}

#switch #controls {
  display: block;
  font-weight: bold;
}


/* extras */

.hidden {
  display: none;
}
