/*Customizations for Erik */

body, html { background-color: #111; }

#page { 
  background: white; 
  border-top: none; 
  border-bottom: none;
}

#header { 
  background-image: url(images/header.gif); 
  border: none; 
  height: 120px; 
  padding: 0;
}

#header #logo { 
  float: left; 
  padding: 0; 
  margin: 0;
}

#header #logo a { 
  background-image: url(images/logo.gif); 
  background-repeat: no-repeat;
  background-position: center center;
  width: 400px; 
  height: 120px; 
  text-indent: -99999px; 
  display: block; 
  padding: 0; 
  margin: 0;
}

#prenav { 
  float: right;
  text-align: center; 
  font-family: Arial;
  font-size: 11px;
  color: black;
  margin-right: 52px;
}

#prenav ul { 
  list-style: none; 
}

#prenav ul li {
  display: block; 
  float: left;
  background-image: url(images/nook.gif); 
  background-position: center bottom;
  background-repeat: no-repeat; 
  padding: 7px 0px;
  margin: 0;
}

#prenav ul li.first { 
  padding-left: 25px; 
  background-position: left top; 
}

#prenav ul li.last { 
  padding-right: 25px; 
  background-position: right top; 
}

#prenav ul li a:link, #prenav ul li a:visited {
  margin: 10px;
  color: black;
}

#prenav ul li a:hover { 
  text-decoration: underline; 
  color: white; 
}

/* Menu */

.menu { background-image: url(images/navigation.gif); border: 0; }

.menu li { margin-bottom: 0; }
.menu li.tab a:link, 
.menu li.tab a:visited {
  margin-top: 0;
  background-image: url(images/navigation.gif);
  padding: 8px 25px;
  border-top-width: 0; 
  border-bottom-width: 0; 
  font-weight: bold; 
  letter-spacing: 0; 
  text-transform: none;
}

.menu li.tab a:hover, .menu li.current_page_item.tab a:hover {
  background-image: none;
}

/*.menu .tab-home { margin-left: 20px; }*/

.menu .rss a, .menu .rss a:visited {
  margin-right: 10px;
  color: white;
  padding-right: 2em;
}

.menu .submenu .item {
  border-width: 0;
  border-bottom-width: 1px;
}

.menu .submenu .item a:link, .menu .submenu .item a:visited {
  background-color: #222;
  background-image: none;
  font-size: 12px;
  color: #eee;
}

.menu .submenu .item a:hover{
  color: white;
  background-color: #444;  
}

.comments_closed { display: none; }

.headline_area h1 { font-size: 3em; font-weight: bold; letter-spacing: -0.05em; }

/*#content { padding: 10px 20px; width: 580px; }
.no_sidebars #content { width: 900px; }
*/
/* Feature Box styles */

#feature_box{ border: none; }

/* Footer styles */

#footer {
  background-image: url(images/footer.jpg);
  height: 100px;
  border: none;
  padding: 20px;
  text-align: left;
}

#footer a { border: none; text-decoration: underline; }
#footer a:hover { color: white; }

/* Home styles */

.home #content { 
  background-image: url(images/content-bg.gif);
  background-repeat: repeat-x;
  background-color: white;
}

.home .headline_area {
  display: none;
}

.home .post_column_1 {
  background-image: url(images/home-column-bg.gif);
  background-repeat: no-repeat;
  padding: 0px 23px;
  margin: -20px 7px 20px 7px;
}

.home .post_column_1 .column-header{
  margin: 11px -11px -11px;
}

#feature_box{
  padding: 0;
  margin: 0;
}

#footer_right { float: right; text-align: right; margin-top: -20px; }

.headline_area, .format_text, #comments{
  margin-left: 2.1em;
  margin-right: 0em;
  margin-top: 1em;
}

.home .format_text{
  margin: 0;
}

#content_box {
  background-image: url(images/subpage-content-bg.gif);
  background-repeat: repeat-x;
  background-position: top left;
}

#content{
  width: 60em;
  margin-left: 1em;
  margin-top: 0.5em;
}

#content_box.no_sidebars { 
  background: url(images/subpage-content-bg-full.gif) repeat-x top left white !important;
  width: 100%;
  margin: 0;
  padding: 0;
}

.no_sidebars #content{ margin-left: 1em; margin-top: 0.5em; width: 95%;}

.home .no_sidebars #content{
  margin: 0;
  width: 100%;
}

/* old table format
table.projects {
	border-spacing: 1px;
	border: 0;
	margin: 0;
}

table.projects td {
	vertical-align: top;
}
*/

table, td {
	font: 100% Arial, Helvetica, sans-serif; 
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
}

th, td {
	text-align: left;
	vertical-align: top;
	padding: .5em;
	border: 1px solid #fff;
}

th {
	background: #328aa4 url(images/tr_back.gif) repeat-x;
	color: #fff;
}

td {
	background: #e5f1f4;
}

tr.even td {
	background: #e5f1f4;
}

tr.odd td{
	background: #f8fbfc;
}

th.over, tr.even th.over, tr.odd th.over {
	background: #4a98af;
}

th.down, tr.even th.down, tr.odd th.down {
	background: #bce774;
}

th.selected, tr.even th.selected, tr.odd th.selected {}

td.over, tr.even td.over, tr.odd td.over {
	background: #ecfbd4;
}

td.down, tr.even td.down, tr.odd td.down {
	background: #bce774;
	color: #fff;
}

td.selected, tr.even td.selected, tr.odd td.selected {
	background: #bce774;
	color: #555;
}

/* empty table cells*/
td.empty, tr.odd td.empty, tr.even td.empty {
	background: #fff;
}
