html *, body {
    margin: 0;
    padding: 0;  
}
html, body {
    width: 100%;
    height: 100%;
}
body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 0.9em;
    font-weight: normal;
    line-height: 1.2em;
    background: #FFFFFF url('/images/layout/bg_body.png') repeat-x top left;
    text-align: left;
    min-width: 950px;
}
h1 {
    margin: .5em 0 .5em 0;
}
h1#page_title {
    border-bottom: 1px solid #4F7DC0;
    margin: 0;
    color: #4F7DC0;
    padding-bottom: 8px;
}
p {
    margin: 1em 0;
}
ol, ul, li, dl {
    margin: 0em 1em 0.25em 1em;
}

dt {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 0;
}
dd {
    margin: 0em 1.5em;
}
table {}
th {
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
    background: #4F7DC0;
    border-bottom: 1px solid #666;
    color: #fff;
    padding: 3px;
}
td {
	text-align: left;
	vertical-align: top;
	padding: 3px;
}
table.matrix {
    border: 1px solid #4F7DC0;
    border-bottom: none;
    margin: 10px;
    max-width: 850px;
}
table.matrix th {
    width: auto;
}
table.matrix td {
    padding: 3px;
    text-align: center;
    border: 1px solid #4F7DC0;
    border-top: none;
    border-right: none;
}

table.matrix td.product_name {
    width: 33%;
    text-align: left;
    border: none;
    border-bottom: 1px solid #4F7DC0;
    background: #ccc;
}
img {border: none;}
.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 */

#logo {
    position: relative;
    float: left;
    clear: left;
    height: 111px;
    width: 288px;
    display: block;
}

#header_right {
    position: relative;
    height: 111px;
    float: right;
    display: block;
    width: 219px;
}
* html #header_right {
    
} 
#main_nav {
    float:left;
    width: 230px;
    margin: 5px 0;
    clear: left;
}
#right {
    float: right;
    width: 208px;
    margin: 5px 0;
    clear: right;
}
#container {
    position: relative;
    min-height: 100%;
}

#footer {
    background: url('/images/layout/bg_footer.jpg') repeat-x left 55px;
    min-height: 210px;
    position: absolute;
    right: -210px;
    left: -233px;
    bottom: -270px;
    z-index: 9999;
    width: auto;
    text-align: center;
    margin: auto;
}
p.sm_footer {
    font-size: 0.8em;
    margin-top: 30px;
}

div#banner {
    height: 50px;
    width: auto;
    display: block;
    top: 8px;
    right: 210px; 
    left: 300px;
    z-index: 999;
    text-align: center;
    position: absolute;
    margin: auto;
}
div#breadcrumbs {
    font-size: 0.65em;
    margin: 0 0 8px 10px;
}
div#copy {
    height: auto;
    width: auto;
    margin: auto;
    display: block;
    top: 67px;
    right: 210px; 
    left: 233px;
    z-index: 999;
    position: absolute;
}
* html #copy {
    height: 363px;
}
div.box {
    background: url(/images/layout/box_left.jpg) repeat-y left top;
    padding: 0px;
    margin: auto;
    display: block; 
    position: relative;
    clear: both;
}
div.box_top {
    background: url(/images/layout/box_top.jpg) top left repeat-x;
    height: 8px;
    max-height: 8px;
    display: block;
    width: auto;
    padding: 0px;
    margin: 0px;
}
img.left {
    float: left;
}
img.right {
    float: right;
}
div.box_bttm {
    background: url(/images/layout/box_bttm.jpg) top left repeat-x;
    height: 8px;
    max-height: 8px;
    display: block;
    padding: 0px;
    width: auto;
    margin: 0;
    margin-bottom: 10px;
}

div.box_mid_right {
    background: url(/images/layout/box_right.jpg) repeat-y right top;
    padding: 0px;
    margin: 0px;
    display: block;
    width: auto;
}
div.box_content {
    margin: 0px 4px 0px 4px;
    width: auto;
    display: block;
    padding: 5px 3% 10px 3%;
    background: #FFFFFF url('/images/layout/box_bg.jpg') repeat-x left -8px;
    text-align: left;
    min-height: 407px;
}
* html div.box_content {
    height: 407px;
}

a, a:link, a:visited {
    color: #4F7DC0;
}
a:hover, a:active {
    color: #666;
}

ul.sub_nav {
    width: 165px;
    border: 1px solid #4F7DC0;
    display: block;
    float: right;
    clear: right;
    list-style: none;
    font-size: 0.8em;
    margin: 0 0 15px;
}
ul.sub_nav li {
    height: 20px;
    line-height: 20px;
    margin: 0;
}
ul.sub_nav li a, ul.sub_nav li a:link, ul.sub_nav li a:visited {
    text-decoration: none;
    width: 100%;
    display: block;
    text-indent: 3px;
    text-transform: capitalize;
    color: #4F7DC0;
}
ul.sub_nav li a:hover, ul.sub_nav li a:active {
    background: #666;
    color: #fff;
}
ul.sub_nav li.sub_header {
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
    background: #4F7DC0;
    border-bottom: 1px solid #666;
    color: #fff;
}
.odd { background: #FFF; }
.even { background: #EFEFEF; }
.address_block {
    width: 355px;
    position: relative;
    display: block;
    margin: auto;
}
.address1, .address2 {
    font-size: 0.75em;
    padding: 3px;
    height: 80px;
    width: 165px;
}
.address1 {
    float: left;
    clear: left;
}
.address2 {
    float: right;
    clear: right;
}
/* form handling */

form {}
label {}
select, input, textarea {background: #FDEDC9; border: 1px solid #4F7DC0;}
textarea {
    width: 250px;
    height: 200px;
}
input[type='text']{width: 150px;}
input[type='submit']{background: #4F7DC0; color: #fff; font-weight: bold;}
input[type='radio']{background: none;border:none;}
input[type='checkbox']{background: none;border:none;}

/* error handling */
.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}
