/************ General default settings first ************/
* { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, pre, p, blockquote, ul, ol, dl, fieldset, address { margin: .5em 5%; }
li, dd { margin-left: 10%; }
img { border: 0; }

a:link { color: #000099; font-weight: 700; text-decoration: none; }
a:visited { color: #663366; font-weight: 700; text-decoration: none; }
a:hover, a:focus, a:active { color: #CC0000; font-weight: 700; text-decoration: underline; }

/****** Getting consistent text sizes across browsers (IE5) ******/
body { font-size: 80%; } /* Resets 1em to 12px. */

h1 { font-size: 300%; font-weight: 400; }
h2 { font-size: 187.5%; font-weight: 700; }
h3 { font-size: 150%; font-weight: 700; }
h4 { font-size: 125%; font-weight: 700; }
h5 { font-size: 87.5%; font-weight: 400; }
h6 { font-size: 80%; font-weight: 700; }

pre { font-size: 100%; }

/************ General layout stuff ************/
body {
margin: 0;
padding: 0;
text-align: center; /* To center the page in IE */
font-family: Verdana, Helvetica, Arial, sans-serif;
color: #000000;
background-color: #ccbfe6;
word-spacing: 0.1em;
}

.centerpage {
position: relative; /* provides datum for .menubox and .smallbox */
margin: 1em auto;
text-align: left;
background-color: #eeeeff;
width: 91%;
max-width: 81em;
min-width: 49em;
}

/******************* Header stuff ******************/
.header {
/* No side padding or borders to avoid IE5 box model problem */
background-image:   url(../images/sarah-logo2.jpg);
background-repeat: no-repeat;
background-position: top right;
margin: 0;
padding-left: .8em;
border-bottom: 1px solid #4e3a57;
}

.skip {
height: 0;
width: 0;
overflow: hidden;
}

/************* Sidebar stuff *************/
.menubox {      
/* No side padding or borders to avoid IE5 box model problem */
position: absolute;
left: 0;
margin: 1.4em 0 0 2em;
width: 8em;
}

.smallbox {
position: absolute;
right: 0;
margin: 1.7em 2em 0 0;
width: 12em;
text-align: center;
}

/******************* Main content stuff ******************/
.mainbox {
margin: 0 16em 1.5em 12em;
padding-top: 1.4em;
min-width: 20em;
min-height: 25em;
line-height: 1.4;
}

.mainbox h2, .mainbox h3, .mainbox h4 {
margin-bottom: 0;
font-family: Georgia, "New Century Schoolbook", Times, serif;
color: #453a5c; 
line-height: 1.2;
}
.mainbox h2 { margin-top: 0; }
.mainbox h3, .mainbox h4 { margin-top: 1em; /* Nice for sub-headings */ }

.mainbox a:link, .mainbox a:visited { text-decoration: underline; }

/********* Footer stuff ********/
.footer { border-top: 1px solid #4e3a57; }
.footer p {
font-size: 87.5%;
margin: 1em 2.5em 0 2.5em; 
}

.footerleft { float: left; }

.footerright { float: right; } 
.footerright img { vertical-align: text-bottom; } 

/*********** Simple floats ***********/
.floatleft { float: left; }
.floatright { float: right; }

/****** Floats for images in the text-flow ( not within <p> tags )******/
.imageright {
float: right;
clear: right;
margin: .8em 2% .5em 1.5em;
border: 1px solid #ccbfe6;
padding: 4px;
}

.imageleft {
float: left;
clear: left;
margin: .8em 1.5em .5em 2%;
border: 1px solid #ccbfe6;
padding: 4px;
}

/****** Rounded corners on pull-quote box using images ******/
.roundbox {
float: right;
clear: right;
width: 12em;
background-color: #DBD3F1;
margin: 1em 0;
}
.roundbox p { 
margin: 0 1em; 
font-family: Georgia, "New Century Schoolbook", Times, serif;
text-align: center;
color: #000000;
line-height: 1.2em;
font-size: 125%; 
font-weight: 700;
}

.rbtl, .rbtr, .rbbl, .rbbr { height: 15px; }
.rbtl { background: url(../images/tl-b.gif) no-repeat top left; }
.rbtr { background: url(../images/tr-b.gif) no-repeat top right; }
.rbbl { background: url(../images/bl-b.gif) no-repeat bottom left; }
.rbbr { background: url(../images/br-b.gif) no-repeat bottom right; }

/************ Quotation marks using images ************/
blockquote {
margin: 1.5em 10%;
background: url(../images/quote-left.gif) no-repeat top left; 
padding: 5px 0 0 60px;
} 

.rightquote {
background: url(../images/quote-right.gif) no-repeat bottom right;
padding: 0 60px 5px 0;
min-height: 45px; /* to see full pic with one line of text */
font-family: Georgia, "New Century Schoolbook", Times, serif;
line-height: 1.2em;
font-size: 125%; 
font-weight: 700;
text-align: justify;
}

/****** Rounded corners on mainbox using images ******/
.mbtl, .mbtr, .mbbl, .mbbr { height: 15px; }
.mbtl { background: url(../images/tl-main.gif) no-repeat top left; }
.mbtr { background: url(../images/tr-main.gif) no-repeat top right; }
.mbbl { background: url(../images/bl-main.gif) no-repeat bottom left; }
.mbbr { background: url(../images/br-main.gif) no-repeat bottom right; }

/****** Miscellaneous bits and bobs ******/
.notopmargin { margin-top: 0; }
.nobotmargin { margin-bottom: 0; }
.spacer { clear: both; }
.clearleft { clear: left; }
.center { text-align: center; }
.right { text-align: right; }
acronym	{ border-bottom: 1px dotted #666666; cursor: help; }
.line-space li { margin-bottom: .2em; }

/****** Suckerfish-style drop-down menu ******/
#nav { list-style: none; margin: 0; }

#nav ul { list-style: none; margin: 0; z-index: 200; }

#nav a {
display: block; 
font-weight: 700;
color: #000000;	
font-family: Helvetica, Arial, sans-serif;
text-decoration: none;
text-align: center;
line-height: 1.6;
outline: none;
}

#nav li {
float: left; 
clear: left;
margin: .2em 0;
padding: 0 0 .1em 0;
width: 9em; /* required by Opera (Used here anyway) */
border: 1px solid #4e3a57;
background-color: #e4e1f8;
background-image: url(../images/button-fade.gif);
background-repeat: repeat-x;
background-position: top left;
}

#nav li:hover, #nav li.sfhover {
background-image: none;
background-color: #FFFFFF;
}

#nav li ul {
position: absolute;
width: 9.5em;
margin-left: -1000em; 
border-top: 1px solid #4e3a57;
border-left: 1px solid #4e3a57;
border-right: 1px solid #4e3a57;
}

#nav li:hover ul, #nav li.sfhover ul {
margin-left: 9em;
margin-top: -1.675em; /* Interesting values! */
}

#nav li li a { text-align: left; }

#nav li li {
width: 9em; /* A 9.1em width hack here in ie-only.css */
border: 0;
margin: 0;
padding-left: .5em;
border-bottom: 1px solid #4e3a57;
}

#nav li li:hover, #nav li li.sfhover {
background-color: #ffffff;
}

/*********** Form styling **********/
fieldset { 
border: none;
margin-top: 1em; 
margin-bottom: 0;
}

label {
display: block;
float: left;
width: 7em;
text-align: right;
margin-right: 1em;
}

input, textarea { margin-bottom: 1em; margin-right: 1em; }
input:focus, textarea:focus { background-color: #ddffff; }

textarea { width: 70%; }

.formbuttons { margin-left: 9em; }

.formbuttons input {
width: 7em;
background-color: #ccbfe6;
border-color: #ccbfe6;
font-weight: 700;
font-family: Verdana, Arial, Helvetica, sans-serif;
padding-top: .1em;
padding-bottom: .1em;
}
.formbuttons input:focus { background-color: #ddffff; }