
/**************************************************************
   All page content except for footer
 **************************************************************/

#box {
  margin-left: auto;
  margin-right: auto;
}

#content {
  position: relative;
  height: auto !important;
  height: 100%;
  min-height: 100%;

  margin-left: auto;
  margin-right: auto;
  border-left: 2px solid black;
  border-right: 2px solid black;
  background-color: white;
}



/**************************************************************
   Topbar with newsletter form and theme change buttons
 **************************************************************/

#topbar {
  float: left;
  width: 100%;
  padding: 0.6em 0;

  font-size: 0.9em;
  text-transform: uppercase;

  color: #CFD9DB;
  background: #FFF url(/images/bg/topbar.gif) repeat-x bottom left;
}



/**************************************************************
   Top menu and logo
 **************************************************************/




/**************************************************************
   Header Image/Flash Movie
 **************************************************************/




/**************************************************************
   Top Block Menu
 **************************************************************/

#menu {
  margin: 0;
}

#menu ul {
  width: 100%;
  float: left;
  margin: 0;
  padding: 0;
  text-align: left;
  border-bottom: 5px solid #9C1A18;
}

#menu ul li {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}

#menu ul li a {
  float: left;
  /*width: 20%;*/
  width: 154px;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  font: 400 1.2em arial, sans-serif;
  letter-spacing: 0.1em;
  text-align: center;
  color: #eee;
  background-color: #BB201E;
  border-top: 3px solid #E12724;
  border-right: 1px dotted black;
  *border-right: 1px solid black;
}

#menu ul li a.last {
  width:156px;
  border-right: 0;
}

#menu ul li a span {
  display: block;
  padding: 2px px;
}


#menu ul li a span.desc {
  font-size: 0.8em;
  color: #FFFFFF;
}


#menu ul li a:hover,
#menu ul li.here a {
  background: #C82321;
  color: #FFFF00;
  border-top: 1px solid #FFFF00;
}

#menu ul li a:hover span.desc,
#menu ul li a.here span.desc {
  color: #FFF;
}

/**************************************************************
   Page Content
 **************************************************************/

#wrapper {
	
}

#page {
  width: 100%;
  clear: both;
  float: left;
  margin-bottom: 7em;
  text-align: left;
  background: url(/img/bkg_slice.jpg) repeat-x left top;
  padding: 0;
}

#ian {
	width: 900px;
	background-color: #fff;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	padding-top: 15px;
	padding-left: 20px;
	padding-right: 20px;
	border-right: 1px solid #d4d4d4;
	border-left: 1px solid #d4d4d4;
}

#columns {
  margin: 0 auto;
	padding: 0;
}


/* Column widths */
.width {
  width: 900px;
}

/*.widthPad {
  width: 900px;
	padding-top: 15px;
} */

.width25 {
  width: 24%;
}

.width50 {
  width: 48%;
}

.width73 {
  width: 73%;
}

.width75 {
  width: 75%;
}

.width100 {
  width: 100%;
}

#subnav {
	margin-left: 0;
	padding-left: 0;
}
#subnav ul {
	padding-right: 0;
	padding-left: 0;
	margin: 0 0 20px;
}
#subnav li {
	margin-bottom: 5px;
	height: 20px;
	list-style-type: none;
	list-style-image: none;
}

#subnav li a {
	display: block;
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 3px;
	text-decoration: none;
	font-size: 8pt;
}

#subnav li a:link, #subnav li a:visited {
	background: #ffffff;
	color: blue;
	font-weight: bold;
}

#subnav li a:hover, #subnav li a:active, #subnav li.selected a {
	background: #E12700;
	color: #FFFFFF;
}

/**************************************************************
   Footer
 **************************************************************/


#footer {
  position: relative;
  width: 100%;
  height: 4em;
  margin-top: -6em;
  *margin-top: -5em;
  width: 776px;
  margin-left: auto;
  margin-right: auto;
}

#footer #bg {
  position: absolute;
  *position: relative;
  height: .15em;
  margin: 0 auto;
  background: #BB201E;
	width: 100%;
}

#footer #bg ul {
  float: right;
  margin: 2em 1em 0 0 !important;
  margin: 1em 0.5em 0 0;
  padding: 0;
}

* html #footer #bg ul {
  position: relative;
  top: 2em;
}


#footer #bg ul li {
  display: inline;
  list-style: none;
}

#footer #bg ul li a {
  float: left;
  padding: 0 1em;

  font: 400 1em arial, sans-serif;
  letter-spacing: 0.1em;
  line-height: 0.8em !important;
  line-height: 1em;

  color: #000000;
  border-right: 1px solid #4D5760;
}

#footer #bg ul li a.last {
  padding-right: 0;
  border-right: 0;
}

#footer #bg ul li a:hover {
  color: #BB201E;
}

#footer #bg img {
  position: absolute;
  top: 6%;
  left: 10px;
}


/**************************************************************
   Icons specific to the colour theme
 **************************************************************/

a.lightTheme img,
a.darkTheme img,
a.submitButton img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

a.lightTheme img {
  background: url(/images/icons/light_light_theme.gif) no-repeat center center;
}

a.darkTheme img {
  background: url(/images/icons/light_dark_theme.gif) no-repeat center center;
}

a.submitButton img {
  background: url(/images/icons/light_submit.gif) no-repeat center center;
}


/**************************************************************
   Posts
 **************************************************************/

.post {
  float: left;
  width: 100% !important;
  width: 99%;
  position: relative;

  margin-bottom: 1.5em;

  border-bottom: 1px solid #CCCCCC;
}

.post .date {
  position: absolute;
  top: 0;
  left: 5px;

  width: 2.3em;
  text-align: right;
}

.post .date .month {
  text-transform: uppercase;
  font: 700 1.0em arial, sans-serif;
  color: #888;
}

.post .date .day {
  display: block;
  margin-top: -5px;
  font: 700 2.1em arial, sans-serif;
  color: #888;
}

.post .title {
  display: block;
  padding: 0 0 5px 0;

  font-size: 1.2em;
  font-weight: bold;
  color: #586B7A;
}

.post p {
  margin: 0 0 0 3.5em;
  padding:  0 0 1em 1.2em;
  border-left: 1px solid #CCCCCC;
}



/**************************************************************
   Thumbnail Lists
 **************************************************************/

ul.thumbs,
ul.thumbs li {
  margin: 0;
  padding: 0;
}

ul.thumbs li {
  margin: 0 0 15px 0 !important;
  margin: 0;
  padding: 0px;
  list-style: none;
}

a.thumb img {
  
  border: 5px solid #ccc;
}

a:hover.thumb img {
  background: #8EB4C6;
  border: 5px solid #668FA3;
}

a:hover.thumb {
  background: none;
}

a.thumb span {
  display: block;
  margin-top: -5px !important;
  margin-top: -2px;
}



/**************************************************************
   Submenu Styles
 **************************************************************/

ul.submenu1,
ul.submenu2 {
  margin: 0 0 20px 0;
  padding: 0;
}

ul.submenu1 li,
ul.submenu2 li{
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-image: url(foo.gif); /* because IE is balls */
}

ul.submenu1 li a,
ul.submenu2 li a {
  display: block;
  height: auto !important;

  /* Start hide from IE Mac \*/
  height: 1%;
  /* End hide from IE Mac */

  padding: 1px 5px 1px 20px;
}

ul.submenu1 li a {
  background: url(/images/bg/submenu1.gif) no-repeat 5px 50%;
}

ul.submenu1 a:hover {
  color: #426F85;
  background: #B3C6C4 url(/images/bg/submenu1.gif) no-repeat 5px 50%;
}

ul.submenu2 li a {
  color: #426F85;
  background: url(/images/bg/submenu2.gif) no-repeat 3px 50%;
}

ul.submenu2 a:hover {
  color: #426F85;
  background: #B3C6C4 url(/images/bg/submenu2.gif) no-repeat 3px 50%;
}






/**************************************************************
   Generic Display 
 **************************************************************/


.block {
  display: block;
}

.clear {
  clear: both;
}

.marginRight {
  margin-right: 15px;
}

.paddingLeft {
  padding-left: 5px;
}

.paddingRight {
  padding-right: 5px;
}

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.floatLeftHalf {
   float:left;
   width: 333px;
   padding:5px;
   margin-left: 10px;
   margin-right: 16px;
   margin-bottom: 10px;
}

.floatLeftHalf h2 {
   padding-bottom: 2px;
   border-bottom: 2px dotted;
}

.floatLeftHalf p {
   border-left: 6px solid #DDDDDD;
   padding-left: 10px;
}

.floatRightHalf {
   float:right;
   width: 336px;
   padding:5px;
   margin-left: 16px;
   margin-right: 10px;
   margin-bottom: 10px;
}

.floatRightHalf h2 {
   padding-bottom: 2px;
   border-bottom: 2px dotted;
}

.floatRightHalf p {
   border-left: 6px solid #DDDDDD;
   padding-left: 10px;
}

* html .floatRightHalf {
   float: left;
   margin: 0px;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

.alignTop {
  vertical-align: top;
}

.alignMiddle {
  vertical-align: middle;
}

.alignBottom {
  vertical-align: bottom;
}

.lightBlueBg {
  background-color: #CFCFCF;
}

.dark {
  color: #353E47;
}

div.thumbscontainer {
   margin-left: 95px;
}


#lecturenav {
        text-align: center;
        margin-top: 10px;
        display: block;
        margin-bottom: 10px;
}

#lecturenav #leftnav {
        float:left;
        width: 86px;
        margin-left: 40px;
}

#lecturenav a:link, #lecturenav a:visited {
        text-decoration: none;
        padding: 3px;
        border: 1px solid #ccc;
        background-color: #EEE;
        color: black;
        font-size: 7pt;
        display: block;
        width: 80px;
}

#lecturenav a:hover, #lecturenav a:active {
        background-color: #ccc;
        color: white;
}

#lecturenav #middlenav {
        float: left;
	 width: 50%;
        *width: 40%;
}

#lecturenav #middlenav input#page {
        width: auto;
        float:none;
        margin: 0px;
}

#lecturenav form input {
        font-size: 7pt;
        margin-left: 4px;
        text-align: center;
}

#lecturenav #rightnav {
        float: left;
        width: 86px;
        margin-right: 40px;
}
