
/*==== Some Resets and Text Styles ====*/
* {margin:0;padding:0} 
p {
    margin:0;
    padding:.4em .8em 0 .8em;
}
ul {
    list-style:disc;
    margin: 0;
    padding:0 0 0 30px ;
}
h1, h2, h3, h4 {
    margin:.4em .8em 0 .8em;
}        
h1 {
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.5em;
} 
h2 {font-size: 1.25em;} 
h3 {font-size: 1em;} 
h4 {font-size: 0.95em;} 
h5 {font-size: 0.85em;}
h6 {font-size: 0.75em;} 
img {
   border:0;/* this squashes a Firefox bug */
   vertical-align:bottom; /* this squashes an IE bug */
} 
a {outline:0;}

/*==== Begin Nav Styles ====*/
#nav{ 
    width:100%;
    margin:0;
    padding:0;
    background:#041430;
    text-align:center;/*center the list items*/
    list-style:none;
    vertical-align:middle;
}    
#nav li{
    /*display: -moz-inline-box;/* for FF2 if supported(inline-box must be used for shrink wrapping)*/
    display:inline-block;/* for modern browsers */
    margin:.2em -2px; /*use -2px L&R to kill whitespace without altering html*/ 
}
* html #nav li{display:inline;margin:.2em 0}/* inline-block trigger for IE6 */
*+html #nav li{display:inline;margin:.2em 0;}/* inline-block trigger for IE7 */

#nav li a{
    display:inline-block;/*IE6/7 need this (haslayout)*/
    vertical-align:top;
    padding:.15em .75em;
    font: bold .9em  arial, helvetica, sans-serif, verdana;
    text-decoration:none;
    color:#00FFFF;
    border:1px solid #00FFFF;
	border-right-width:0;
}
#nav li a#last {border-right-width:1px;}

#nav li a:hover{
    background:#00FFFF;
    color:#000;
    letter-spacing:.15em;
    text-decoration:underline;
}

/*==== Begin layout Structure ====*/
body {
    background:#132E5E url(images/body-bg.gif) repeat-x 0 0 fixed;
    margin:95px 0;
    font:85%/150%  arial, helvetica, sans-serif, verdana;
}
#bodyfooter {
    height:90px;/*same height as margin bottom on body*/
    width:100%;
    position:fixed;
    background:#132E5E url(images/body-footer.gif) repeat-x;
    bottom:0;
    left:0;
}
#wrapper {
    width: 85%;
    min-width: 740px;
    max-width:65em;
    background:#8293C3 url(images/none.jpg) repeat-y left top; /* side column colors*/
    margin:0 auto;
    border:2px solid #00FFFF;
    position:relative;
    z-index:1;
}
#header{
    height:95px;
    background:#6C79A2;
    overflow:hidden;
    text-align:center;
}
#outer{
    min-height:0;/*IE7 haslayout*/  
    margin:0 165px;
    background:#BCC5E1; /*center content background*/
    border-left:1px solid #000;
    border-right:1px solid #000;  
}
* html #outer{height:1%;} /*IE6 haslayout*/

.inner {
    float:left;   
    width:100%;
    margin-right:-3px;/* to stop columns dropping*/
}
#main {
    float:right;
    width:100%;
    position:relative;
    margin-left:-1px;
}
#left {
    position:relative;/*ie needs this to show float*/
    width:165px;
    float:left;
    margin-left:-164px;/*must be 1px less than width otherwise won't push footer down in some browsers */
    color:#000;
    left:-1px;
}
#right {
    position:relative;/*ie needs this to show float */
    width:165px;
    float:right;
    margin-right:-164px;/*must be 1px less than width otherwise won't push footer down in some browsers */
    color:#000;
    left:1px;
} 
.clearer {
    height:1px;
    overflow:hidden;
    margin-top:-1px;
    clear:both;
}
#footer {
    width:100%;
    min-height:40px;
    clear:both;
    background:#041430;
    color:#00FFFF;
    text-align:center;
    position:relative;
    border-top:1px solid #000;
}
#footer p {
    font-weight: bold;
    font-size: 0.95em;
    padding: 8px 0 0 0;
}

/* Begin extra classes */
.outline {
    border:1px solid #000;
    margin:.75em .5em;
    background: #6C79A2 ;
    text-align:center;
    font-style:italic;
}
h3.hilight {
    border:1px solid #000;
    background:#BCC5E1;
    text-align:center;
    margin:.4em .6em 0 .6em;
    padding:0 0 0.1em 0;
}
.center {
    padding-bottom:.3em;
    text-align:center;
    font-style:italic;
    text-decoration:underline;
}
.iconright {
    float:right;
    padding:4px 10px 4px 0;
}
.iconleft {
    float:left;
    padding:4px 0 4px 14px;
}
img.middle { 
    vertical-align: middle;
    margin:0;
    padding:0; 
}
.floatleft {
    float:left;
    margin:.8em .8em .4em ;
    background:#8293C3;
    padding:.4em;
    border:1px solid #000;
    text-align:center;
    font-style:italic;
}
.floatright {
    float:right;
    margin:.8em .8em .4em ;
    background: #8293C3;
    padding:.4em;
    border:1px solid #000;
    text-align:center;
    font-style:italic;
}
.floatleft img,
.floatright img {border:0px solid #000;}

img.headleft {
    float:left;
    margin:10px 5px;
    padding:0;
}
img.headright {
    float:right;
    margin:10px 5px;
    padding:0;
}
p.expand {margin-bottom:10px;}
p.expand a:hover{
    display:block;
    height:300px;
    background:blue;
    color:#FFF;
}

