/* 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: 820px;
margin: 0px; 
padding: 0px; 
}

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

a:link {
color: #8f0000;
background: transparent;
text-decoration: underline;
}

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

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

h1, h2, h3, h4 {
color: #047391;
background: transparent;
margin: 0;
padding: 0 0 .05em 0;
font-family: Verdana, Helvetica, Arial, sans-serif;
line-height: 1.35em;
}

h1 {
font-size: 1.25em;
text-transform: uppercase;
}

h2 {
font-size: 1.25em;
text-transform: uppercase;
font-weight: normal;
}

h3 {
font-size: 1.15em;
font-weight: normal;
}

h4 {
font-size: 1.05em;
}

p {
margin: 0;
padding: 0 0 .5em 0; 
}

.source {
text-align: right;
padding-bottom: 1.5em;
}

.hang {
padding-left: 2em;
text-indent: -2em;
}

.top {
font-size: .8em;
}

img {
border: 0;
}

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

.note {
font-style: italic;
}

.center {
text-align: center;
}

.placeholder {
margin: 0 0 250px 0;
}

.broken {
color: orange;
font-weight: bold;
font-size: 1.2em;
}

/* 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; 
}

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

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

.divclear { 
clear: both;
}

/* 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 {
width: 820px;
color : #000;
background: #fff;
border-top: 1px solid #8c8c8c; /*** Sets the external top side border. ***/
border-right: 2px outset #8c8c8c; /*** Sets the external right side border. ***/
border-bottom: 2px outset #8c8c8c; /*** Sets the external bottom border. ***/
border-left: 1px solid #8c8c8c; /*** Sets the external left side border. ***/
}

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

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

.columns-float {
float: left;
width: 100%;
margin: 0;
padding: 0;
color: #000;
background: transparent;
}

.main {
float: right;
width: 84%;
}

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

/*/*/
.left-nav { 
width: 125px;
}
/* */

/* Home page layout: 3 columns */

/* 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, .main, .left-nav, h2 { 
p\osition: relative; 
}
/* */

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

.box-header {
color: #000;
background: #fff;
margin: 0 0 0 0;
padding: 0;
position: relative;
top: 0;
}

.box-header h1 {
margin: 0;
padding: 0;
}

.box-header h2 {
margin: 0;
padding: 0;
text-transform: none;
}

.box-header img {
margin: 0 0 5px 0;
padding: 0;
}

.box-header #nav {
float: right;
width: 230px;
margin: 11px 53px 0 0;
padding: 0;
}

.clean .box-header #nav {
margin: 11px 60px 0 0;
}

.no-left .box-header img {
margin: 0;
padding: 0;
}

.no-left .box-header a img {
margin: 5px 0 0 0;
padding: 0;
}

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

.box-crumbtrail {
margin: 0 0 10px 0;
padding: 0;
color: #000;
background: #fff;
font: .8em/1.5em Verdana, Helvetica, Arial, sans-serif;
border-bottom: 1px solid #8c8c8c;
}

.box-crumbtrail img {
margin-bottom: 0;
}

.box-crumbtrail span {
text-transform: uppercase;
}

.box-crumbtrail a:link {
text-decoration: none;
}

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

.search {
position: absolute;
right: 5px;
top: 0;
width: 200px;
margin: 15px 0 0 10px;
padding: 0;
font: .8em/1.5em Verdana, Helvetica, Arial, sans-serif;
text-align: right;
}

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

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

/* ====================================================================
MAIN CONTENT
-------------------------------------------------------------------- */

.main-content {
margin: 0 0 10px 0; 
padding: 0;
}

.no-left .main-content {
margin: 0; 
padding: 0 0 10px 0;
}

.main-content ul, .main-content ol, .main-content dl {
margin: 0;
padding: 0;
}

.main-content ul li, .main-content ol li {
margin: 0 0 .5em 2.5em;
padding: 0;
}

.main-content ul li {
list-style: square;
}

.main-content dl {
margin-bottom: .75em;
}

.main-content dl dt {
font-weight: bold;
}

.main-content .r50 {
float: right;
width: 50%;
margin: 0 0 10px 10px;
padding: 0;
}

.main-content .acrobat {
margin: .5em 0 0 0;
padding: 0;
font-size: .8em;
}

.main-content .r-box {
float: right;
width: 50%;
margin: 0 0 .5em 2em;
padding: 0;
}

.main-content .right-col {
float: right;
width: 30%;
margin: 0 0 .5em 2em;
padding: 0;
}

/* ====================================================================
TABLE FORMATTING
-------------------------------------------------------------------- */

.left {
text-align: left;
}

.center {
text-align: center;
}

table {
margin: 0;
padding: 0 0 10px 0;
width: 100%;
}

table td {
margin: 0;
padding: .25em;
vertical-align: top;
}

table tr th, table.data tr th {
padding-top: .5em;
color: #047391;
background: transparent;
border-bottom: 2px solid #047391;
vertical-align: bottom;
}

table td, table.data td {
border-bottom: 1px solid #000;
}

.w5 {
width: 5%;
}

.w7 {
width: 7%;
}

.w10 {
width: 10%;
}

.w15 {
width: 15%;
}

.w20 {
width: 20%;
}

.w25 {
width: 25%;
}

.w35 {
width: 35%;
}

.w50 {
width: 50%;
}



/* ====================================================================
LEFT-NAV CONTENT
-------------------------------------------------------------------- */
#expandNav {
margin: 0;
padding: 0 0 10px 0;
font: .8em/1.25em verdana, helvetica, arial, sans-serif;
}

#expandNav div {
margin: 0;
padding: 5px 0 2px 0;
font-weight: bold;
letter-spacing: 0.05em;
text-transform: uppercase;
}

#expandNav div a {
display: block;
margin: 0;
padding: 1px 0 1px 0px;
color: #047391;
background: transparent;
text-decoration: none;
line-height: 1.25em;
}

#expandNav div div {
margin: 0 0 0 5px;
padding: 5px 0 2px 0;
font-weight: normal;
letter-spacing: 0.05em;
text-transform: none;
}

#expandNav div div a {
display: block;
margin: 0;
padding: 2px 0 3px 5px;
color: #8f0000;
background: transparent;
line-height: 1.25em;
}

#expandNav div div div {
margin: 0 0 0 5px;
padding: 5px 0 2px 0;
font-weight: normal;
letter-spacing: 0.05em;
text-transform: none;
}

#expandNav div div div a {
display: block;
margin: 0;
padding: 2px 0 3px 8px;
color: #8f0000;
background: transparent url(../images/nav-dash.png) 0 8px no-repeat;
line-height: 1.25em;
}

#expandNav div.current a, #expandNav div div.current a, #expandNav div div div.current a {
color: #000;
}

#expandNav div.current div a {
color: #047391;
}

#expandNav div a:hover, #expandNav div div a:hover, #expandNav div div div a:hover {
color: #000;
}

.left-nav .acrobat {
margin: .5em 0;
padding: .5em 0 0 0;
font-size: .8em;
line-height: 1.25em;
text-align: center;
border-top: 1px solid #8c8c8c;
}

/* ====================================================================
IMAGES
-------------------------------------------------------------------- */

.img-caption {
margin: 0;
padding: .5em 0 0 0;
font-size: .8em;
line-height: 1.5em;
}

.l45, .l75, .l100, .l110, .l125, .l145, .l150, .l175, 
.l200, .l220, .l225, .l250, 
.l300, .l325, .l350, .l375, 
.l400, .l425, .l450, .l466, 
.l500, .l600 {
margin: 0 10px 5px 0;
padding: 5px;
}

.r45, .r75, .r100, .r110, .r125, .r150, .r175, 
.r200, .r220, .r225, .r250, 
.r300, .r325, .r350, .r375, 
.r400, .r425, .r450,
.r500, .r600 {
margin: 0 0 5px 10px;
padding: 5px;
}

.r110 {
float: right;
width: 110px;
}

.r125 {
float: right;
width: 125px;
}

.l145 {
float: left;
width: 145px;
}

.l150 {
float: left;
width: 150px;
}

.r150 {
float: right;
width: 150px;
}

.r175 {
float: right;
width: 175px;
}

.r200 {
float: right;
width: 200px;
}

.l225 {
float: left;
width: 225px;
}

.r300 {
float: right;
width: 300px;
}

.r350 {
float: right;
width: 350px;
}

.l400 {
float: left;
width: 400px;
}

.r450 {
float: right;
width: 450px;
}

.l466 {
float: left;
width: 466px;
margin: 0 5px 5px 0;
padding: 0;
}

.center {
margin: 10px 0;
padding: 5px;
text-align: center;
}


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

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

.box-footer ul {
margin: 0 0 .5em 0;
padding: 0;
}

.box-footer ul li {
display: inline;
list-style: none;
margin: 0;
padding: 0;
line-height: 1.15em;
}

.box-footer a:link {
text-decoration: none;
}


