@import url("forms.css");

/* structure
---------------------------------------- */
body {
  background: #414141 url(../images/bg_pattern.gif) top center;
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: arial;
  font-size: 0.8em;
}
a {
  color: #cc0000;
}

/* clearfix
---------------------------------------- */

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* =container
---------------------------------------- */
#container {
  text-align: left; 
  width: 900px;
  margin: 0 auto;
  background: #3b3b3b url(../images/bg_container.gif) top left repeat-y;
  border-left: 1px solid #5c5c5c;
  border-right: 1px solid #5c5c5c;
  border-bottom: 1px solid #5c5c5c;
  margin-bottom: 10px;
}

/* =header
---------------------------------------- */
#header { 
  background: #000 url(../images/header_logo.jpg) top left no-repeat;
  width: 900px;
  height: 156px;
  position: relative;
  border-bottom: 1px solid #5c5c5c;
}
#header h1 { 
  display: none;
}
#home_link {
  width: 180px;
  height: 96px;
  display: block;
}
#home_link span {
  display: none;
}


/* =search_box
---------------------------------------- */
#search_box {
  width: 266px;
  height: 156px;
  position: absolute;
  border-left: 1px solid #5c5c5c;
  background: #950000 url(../images/bg_search_box.gif) top left no-repeat;
  top: 0;
  right: 0;
  color: #fff;
}
#search_box span { 
  line-height: 32px;
  padding: 3px;
  font-size: 11px;
  width: 266px;
  text-align: center;
  display: block;
}
#search_box a { 
  color: #fff;
  text-decoration: none;
}
#search_box a:hover {
  text-decoration: underline;
}
#search_box form {
  position: absolute;
  top: 72px;
  left: 30px;
}
#search_box h3 {
  font-size: 13px;
  margin: 0;
  margin-bottom: 2px;
}
#search_box input.text {
  border: 1px solid #f00;
  background: #281313 url(../images/bg_search_string.gif) top left repeat-x;
  color: #fff;
  padding: 3px;
  margin-right: 2px;
  width: 170px;
}



/* =main_nav
---------------------------------------- */
#main_nav { 
  position: absolute;
  width: 634px;
  height: 46px;
  top: 109px;
  border-top: 1px solid #5c5c5c;
  background: #000 url(../images/bg_mainnav.jpg) top left no-repeat;
}
#main_nav > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#main_nav > ul > li {
  display: block;
  width: 90px;
  height: 45px;
  float: left;
  border-right: 1px solid #5c5c5c;
}
#main_nav > ul > li.last {
  border-right: 0px;
  width: 87px;
}
#main_nav > ul > li.selected {
  background: #040304;
}
#main_nav > ul > li.selected > a {
  border-bottom: 6px solid #ed1c24;
  color: #ed1c24;
}
#main_nav > ul > li > a {
  display: block;
  padding-top: 14px;
  padding-bottom: 4px;
  padding-left: 5px;
  border-bottom: 6px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
}
#main_nav > ul ul > li > a {
  border-bottom: 0;
}

#main_nav > ul > li > a:hover {
  border-bottom: 6px solid #ed1c24;
  color: #ed1c24;
}


/* =subheader
---------------------------------------- */
#subheader { 
  width: 900px;
  height: 129px;
  background: #000 url(../images/bg_sub_header.jpg) top left no-repeat;
  border-bottom: 1px solid #5c5c5c;
}

/* =subnav
---------------------------------------- */
#subnav { 
  width: 175px;
  float: left;
}
.sidebar h3 { 
  border-bottom: 6px solid #ed1c24;
  color: #ed1c24;
  font-family: arial;
  font-size: 14px;
  font-weight: bold;
  padding-left: 10px;
  padding-bottom: 7px;
  padding-top: 22px;
  margin: 0;
}
.sidebar ul { 
  background: #292929;
  margin: 0;
  padding: 0;
/*  padding: 2px 0 2px 0;*/
  list-style: none;
}
.sidebar ul li {
  padding: 8px 0 8px 10px;
  color: #fff;
}
.sidebar ul li.selected {
  background: #434343;
}
.sidebar ul li a {
  color: #fff;
  text-decoration: none;
}
.sidebar ul li.selected a { 
  color: #ed1c24;
}
.sidebar a:hover {
  text-decoration: underline;
  color: #ed1c24;
}

/* =content
---------------------------------------- */
#content {
  width: 676px; /* 501 + 175 = 676 */
  border: 6px solid #535353;
  border-bottom: 0px;
  padding-left: 18px;
  padding-right: 18px;
  background: #fff;
  float: left;
}
#content h2 {
  font-family: arial;
  font-size: 21px;
  font-weight: normal;
  color: #d7151b;
  margin-top: 0.85em;
  margin-bottom: 0.85em;
}
#content p {
  line-height: 1.3em;
}
#content img {
  border: 1px solid #cf1313;
  padding: 2px;
  margin-top: 3px;
}

#content img.left {
  margin-right: 10px;
  margin-bottom: 10px;
  float: left;
}

#content img.right {
  margin-left: 10px;
  margin-bottom: 10px;
  float: right;
}

/* =additional_links
---------------------------------------- */
#additional_links { 
  float: left;
  width: 176px;
}

/* =footer
---------------------------------------- */
#footer { 
  background: #292929;
  border-top: 6px solid #535353;
  clear: both;
  line-height: 25px;
  color: #aaa;
  text-align: center;
}

#notice {
  background: cornsilk;
  border: 1px solid #FC0;
  padding: 5px;
  margin: 5px 5px 5px 5px;          
}
