/* the methods on this page are largely the hard work (freely given) of many people from the css-discuss list [http://www.css-discuss.org], including (but not limited to) Big John, Holly Bergevin, Douglas Livingstone, Scott Sauyet, Victor Caston, Mike Papageorge, and me, Alex Robinson [css-stuff@alex.cloudband.com] */

/* ====================================================================
GENERAL STYLING
-------------------------------------------------------------------- */
/* border:nones are for NN4 */
html { 
min-width: 800px;
margin: 0px; 
padding: 0px; 
}

body {
margin: 20px;
padding: 0px;
color: #000;
background: #cfcfcf;
font: .8em/1.5em Verdana, Helvetica, Arial, sans-serif;
}

a:link {
color: #a42630;
background: transparent;
text-decoration: none;
}

a:visited {
color: #304ea4;
background: transparent;
text-decoration: none;
}

a:hover {
color: #c9b01b;
background: transparent;
text-decoration: none;
}

p {
margin: 0;
padding: 0 0 1.0em 0; 
}

img {
border: 0;
}

super {
font-size: .8em;
vertical-align: super;
}

/* IE-Win hack to keep list background images from disappearing */
ul, ol, dl {
position: relative;  
}

/* Opera hack: to keep the list item prior to the li.current from inheriting the font-weight of bold. */
html > body ul, html > body ol, html > body dl {
position: inherit; 
}

.promo {
margin: 0 0 1.0em 0;
padding: 0;
}

/* ====================================================================
WRAPPERS
-------------------------------------------------------------------- */

div { 
margin: 0px; 
padding: 0px; 
}

.divclear { 
clear: both;
} /* CSS HACK: only for NN4, so now use Caio hack to cleanse palette */

/*/*/ .divclear { display: none; } /* */

/* box-wrap is only needed if you want to set a background color for the columns, put a border round the content block or fix the content width */

.clear {
clear: both;
}

.box-wrap {
color : #000000;
background: #fff;
border-top: 1px solid #808080; /*** Sets the external top side border. ***/
border-right: 2px outset #808080; /*** Sets the external right side border. ***/
border-bottom: 2px outset #808080; /*** Sets the external bottom border. ***/
border-left: 1px solid #808080; /*** Sets the external left side border. ***/
}

.box-inner-wrap {
border: 0;
margin: 10px;
padding: 0;
}

.box-inner-wrap h1, .box-inner-wrap h2 {
color: #808080;
background: transparent;
font: 1.5em/1.5em Verdana, Helvetica, Arial, sans-serif;
text-transform: lowercase;
margin: 0;
padding: 0;
}

.box-inner-wrap h2.wrap {
margin-left: 1.0em;
text-indent: -1.0em;
line-height: 1.0em;
}

.box-inner-wrap h2 a:link, .box-inner-wrap h2 a:visited, .box-inner-wrap h2 a:hover  {
margin: 0;
padding: 0 0 0 1em;
background: transparent url(../images/gray-arrow.gif) 0 0.25em no-repeat;
}

.box-inner-wrap h2 a.image:link, .box-inner-wrap h2 a.image:visited, .box-inner-wrap h2 a.image:hover  {
margin: 0;
padding: 0 0 0 1em;
background: transparent;
}



.box-inner-wrap  ul {
list-style-type: none;
margin: 0;
padding: 0 0 1.0em 0;
}

.box-inner-wrap ul li {
margin: 0;
padding: 0 0 .5em 1.0em;
font: 1em/1.25em Verdana, Helvetica, Arial, sans-serif;
color: #000;
background: #fff url(../images/default-nav.gif) 0 .5em no-repeat;
}

.box-inner-wrap ul.indent {
margin: 0 0 0 10px;
padding: 0 0 0 0;
}

.box-inner-wrap ul.indent li {
margin: 0;
padding: 0 0 0 1.0em;
color: #000;
background: #fff url(../images/nav-arrow.gif) 0 .5em no-repeat;
}



/* ====================================================================
CRUMBTRAIL
-------------------------------------------------------------------- */

.box-crumbtrail {
color: #000000;
background: #fff;
margin: 0;
padding: 0 0 5px 0;
text-transform: lowercase;
}

/* ====================================================================
SEARCH
-------------------------------------------------------------------- */

div.box-crumbtrail .search {
position: absolute;
top: 15px;
right: 10px;
width: 215px;
margin: 0;
padding: 0;
text-align: right;
}

/* hack for Opera only; will need to update when this convention is adopted by other browsers. */
@media all and (min-width: 0px) {
div.box-crumbtrail .search {
top: 15px;
right: 10px;
}
}

.search ul {
margin: 0;
padding: 0;
}

.search li {
list-style: none;
margin: 0;
padding: 0;
font-size: .8em; 
}

.search input {
color: #000;
background: #fff;
border: 1px solid #808080;
margin: 0;
padding: .125em;
width: 150px;
font: .80em/1.0em Verdana, Helvetica, Arial, sans-serif;
}


/* ====================================================================
HEADER (Navigation and Title)
-------------------------------------------------------------------- */

.box-header {
color: #000000;
background: #fff;
margin: 0;
padding: 5px 5px 5px 0;
border: 1px solid #808080;
border-width: 1px 0;
white-space: nowrap;
}

.box-header h1 {
display: none;
}

.box-header img {
margin: 0;
padding-right: 5px;
border: 0;
vertical-align: middle;
}

.box-header img.ehs {
position: absolute;
top: 54px;
right: 10px;
margin: 0;
padding: 0;
}


/* ====================================================================
FOOTER
-------------------------------------------------------------------- */

.box-footer {
clear: both;
margin: 0;
padding: 0.5em;
border-top: 1px solid #808080;
font: .8em/1.5em Verdana, Helvetica, Arial, sans-serif;
color: #000;
background: #fff;
}

.box-footer ul {
list-style-type: none;
margin: 0;
padding: 0;
}

.box-footer ul li {
margin: 0;
padding: 0;
line-height: 1.15em;
color: #000;
background: #fff;
}

.box-footer #update {
float: right;
width: 75px;
margin: 0;
padding: 0;
white-space: nowrap;}

/* ====================================================================
COLUMNS LAYOUT
-------------------------------------------------------------------- */

.columns-float {
float: left;
width: 75%;
margin: 10px 10px 10px 0;
padding: 0;
border: 1px solid #808080;
border-width: 0 1px;
color: #000;
background: #fff url(../images/gray.gif) 67% 0 repeat-y;
}

.column-one {
float: right;
width: 33%;
}

/* CSS HACK: Caio hide from NN4 since NN4's float model is all wrong */

/*/*/
.column-two { 
margin-right: 33%; 
}

.column-three {
margin-left: 76%;
}
/* */

.column-two div.clear {
clear: left;
margin: 0;
padding: 5px 10px 0 0;
}

.column-three {
margin: 10px 0 10px 76%;
}

.column-one-content, .column-two-content {
padding: 0 10px 0 10px;
color: #000000;
background: transparent;
}

.padding {
margin: 0 0 100px 0;
padding: 0;
}


/* CSS HACK:  position:relative needed by IE6 otherwise the header and col 2 don't show up on initial rendering - they're there but you have to minimise the window or switch to another app and back to see the full effect. But IE5(pc) doesn't like it. And nor does NN4.
NB. the use of pos:rel has to go way beyond skin-deep - any nested element that needs a background colour appears to require to be be relatively positioned */ 

/*/*/
.box-wrap, .columns-float, .column-one, .column-two, .column-three, h2 { 
p\osition: relative; 
}
/* */

/* ====================================================================
COLUMNS CONTENT
-------------------------------------------------------------------- */

.column-two-content img {
float: left;
width: 77px;
margin: 0;
padding: 0 10px 10px 0;
}

.column-three-content .icons {
margin: 0;
padding: 0 0 10px 0;
}

.column-three-content .icons a {
margin: 0;
padding: 5px 5px 0 0;
}

.column-three-content .dls {
margin: 0;
padding: 0;
}

.column-three-content .dls img {
float: left;
width: 75px;
margin: 0 5px 0 0;
padding: 0;
}

.column-three-content .dls p.title {
margin: 0;
padding: 0 0 2em 0;
}

.column-three-content p {
margin: 0;
padding: 0;
}
