/* Start of CMSMS style sheet 'scotforth-v2 : Layout' */
/* CSS by Allan Scott */

/*---[ undohtml ]-------------------------- */
:link,:visited { text-decoration:none }
/*ul,ol { list-style:none }*/
h1,h2,h3,h4,h5,h6,pre,code { font-size:1em; }
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input
{ margin:0; padding:0 }
a img,:link img,:visited img { border:none }
address { font-style:normal }


/*-- layout --*/
/*html {
height: 100%;
}*/

body {
/*height:100%;*/
text-align:left;
font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 75.01%;
line-height: 1em;
background:#5d758d url(images/layout/pg-bg.jpg) repeat-x;
color: #444;
}


div#pagewrapper {
width:940px;
/*position: relative;*/
/*min-height: 90%;*/
/*background:url(images/layout/wrapper-bg.jpg) no-repeat;*/
margin:0 auto;
}


#pagewrapper .inside {

}

div#header {
height:190px;
background:url(images/layout/header-bg.jpg) no-repeat;       
}


div#header h3 a {
display: block; 
height:90px;
text-indent: -999em;
text-decoration:none;
}

* html div#header h3 a {
display: block; 
height:90px;
text-indent: -999em;
text-decoration:none;
}

#scrollup {
float:left;
position: relative;
z-index:5;
overflow: hidden;
/*top:-17px;*/
top:-12px;
left:160px;
/*border: 1px solid #000;*/
/*height: 30px;*/
height:28px;
width: 650px
}

.headline {
position: absolute;
top: 40px;
left: 5px;
height: 195px;
width:640px;
font-size:18px;
color:#fff;
}



div#search	{

margin:35px 0 0 30px;
}

#strapline h3 {
text-indent:-999px;
/*float:left;
margin:60px 0 0 120px;
font-family:Georgia, serif;
font-size:20px;
line-height:22px;
color: #18507C;*/
}

div.breadcrumbs {
padding: 1em 0 1.2em 0;
font-size: 90%;
margin: 0 1em;
border-bottom: 1px dotted #000;
}

div.breadcrumbs span.lastitem { 
font-weight:bold; 
}

#nav_main {
position:relative;
width:885px;
margin:5px 30px 20px 30px;
z-index:20;
}

div#contentwrapper {
float:left;
width:900px;
margin:0 20px;
padding:0px 10px 0 10px;
background:url(images/layout/content-bg.jpg) repeat-y;
}

* html div#contentwrapper {
display:inline;
width:900px;
margin:-20px 20px 0 20px;
padding:0px 0px 0 10px;
background:url(images/layout/content-bg.jpg) repeat-y;
}

div#content {
width:680px;
}

div#content .inside {
padding:0 5px;
}


div#main {
float:right;
width:480px;
}

div#main .inside {
padding:15px 0px 0 10px;
/*background:#ccc;*/
}

div#sidebar {
float: left;
width:200px;
display: inline;  /* FIX ie doublemargin bug */
margin:0;
/*background:#eee;*/
}

div#sidebar .inside {
padding:15px 20px 0 0;

}

div#sidebar2 {
float:right;
width:200px;
margin:0;
padding:15px 0 0 0;
display:inline;  /* FIX ie doublemargin bug */
/*background:#ddd;*/
}

div#sidebar2 .inside {
padding:0px 20px 0 0px;
}

div#sidebar2 img	{
border:none;
}


div#footer {
clear:both;
width:900px;
margin:0 auto;
padding:30px 0 0 0;
color: #fff;
/*border-top:1px solid #ddd;*/
background:url(images/layout/footer-bg.jpg) no-repeat;
}

*html div#footer {

width:900px;
margin:0 auto;
padding:30px 0 0 0;
color: #fff;
background:url(images/layout/footer-bg.jpg) no-repeat;
}

div#footer p {
font-size:11px;
padding: 1em;
text-align: center;
margin:0;
}

div#footer p a {
color: #fff; 
}

div#footer .credit, div#footer .credit a	{
color: #ccc;
font-size:9px;
text-decoration: none;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
height: 1px;
margin: 1em;
border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
float: left;
width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
float: right;
width: 49%;
text-align: right;
}

div#main #printlinks {
float:right;
}

div#main #printlinks img {
border:none;
}


/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
h1 {
font-size:1.8em;
color: #006699; 
line-height: 1em;
padding:0;
margin:0 0 10px 0;
}

h2 {
color: #006699; 
font-size: 1.5em;
line-height:1.6em;
text-align:left; 
margin:0 0 10px 0;
}


div#content #myGallery .slideInfoZone h2, div#content #myGallery .slideInfoZone p {/* override for jdGallery title  and caption */
font-family: "Trebuchet MS", arial, sans-serif;
color: #fff; 
}

div#content #myGallery .slideInfoZone p {/* override for jdGallery title  and caption */
font-family: "Trebuchet MS", arial, sans-serif;
color: #fff; 
padding:0 5px;
}

h3 {
/*color: #5bac7c; */
color:#333;
font-size: 1.3em;
line-height: 1.3em;
margin: 0 0 5px 0;
}

h4 {
color: #294B5F; 
font-size: 1.2em;
line-height: 1.3em;
margin: 0 0 0.25em 0;
}

h5 {
font-size: 1.1em;
line-height: 1.3em;
margin: 0 0 0.25em 0;
}

h6 {
font-size: 1em;
line-height: 1.3em;
margin: 0 0 0.25em 0;
}
/* END HEADINGS */


div {
font-size: 1em;
line-height:1.4em;
}


img {
border: 0;
}


/*-- LINKS --*/
a,
a:link 
a:active {
text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
background-color: inherit; 
font-weight:bold;
color: #18507C; 
}

a:visited {
text-decoration: none;
background-color: inherit;
color: #18507C;
}

a:hover {
text-decoration: underline;
color: #333;
}

a.link-album	{
background:url(images/layout/icon-album.jpg) left bottom no-repeat;
line-height: 30px;
padding:10px 0 10px 70px;
font-size: 14px;
}

a.link-powerpoint	{
background:url(images/layout/icon-ppt.jpg) left center no-repeat;
height:100px;
padding:0 0 0 86px;
font-size: 12px;
}

/* TEXT */
p {
font-size: 1em;
margin: 0 0 1.5em 0;  /* some air around p elements */
line-height:1.4em;
padding: 0;
}
blockquote {
border-left: 10px solid #ddd;
margin-left: 10px;
}
pre {
font-family: monospace;
font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
font-weight: bold;
}
em, i {
/* explicit setting for these */
font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
white-space: pre-wrap;       /* css-3 */
white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
white-space: -pre-wrap;      /* Opera 4-6 */
white-space: -o-pre-wrap;    /* Opera 7 */
word-wrap: break-word;       /* Internet Explorer 5.5+ */
font-family: "Courier New", Courier, monospace;
font-size: 1em;
}

pre {
border: 1px solid #000;  /* black border for pre blocks */
background-color: #ddd;
margin: 0 1em 1em 1em;
padding: 0.5em;
line-height: 1.5em;
font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
font-size: 1.0em;
line-height:1.4em;
margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
margin: 0 0 0.25em 3em;
}


/*-- HOME PAGE TEMPLATE LISTS --*/

div#main-wide ul,
div#main-wide ol,
div#main-wide dl {
font-size: 1.0em;
line-height:1.4em;
margin: 0 0 1.5em 0;
}

div#main-wide ul li,
div#main-wide ol li {
margin: 0 0 0.25em 3em;
}



div#dl dt {
font-weight: bold;
margin: 0 0 0.25em 3em;
}
div#dl dd {
margin: 0 0 0 3em;
}
/* END LISTS */

/*Mod for vertical nv */
span.sectionheader {
text-decoration:none;
color: #18507C;
}


/*-- IMAGES --*/
div#main img	{
border:1px solid #ccc;
padding: 4px;
margin:5px;
}

/*-- DATA TABLES --*/
table.datatable	{
border-top: 1px solid #999;
border-left: 1px solid #999;
border-collapse:collapse;
/*font-family:Arial, Helvetica, sans-serif;*/
font-size:1em;
width:97%; /* for IE5/Win */
voice-family: "\"}\"";
voice-family:inherit;
width:100%;/* actual value */
}

/* be nice to Opera */
html>body table .datatable	{
width:100%;
}

th, td	{
border-right:1px solid #999;
border-bottom:1px solid #999;
text-align: center;
}

th	{
padding:8px 4px;
background:#006699;
font-weight:bold;
color:#fff;
}

td	{
padding:4px;
}

td.highlight-cell	{
color:#006699;
background:#eee;
}

caption	{
/*font-family:Arial, Helvetica, sans-serif;*/
font-weight:bold;
text-align: left;
font-size:130%;
padding: 10px 0;
color: #264666;
}

table a:link,
table a:visited,
table a:active	{
color: #444;
font-weight:normal;
}

table a:hover	{
color: #CC0000;
text-decoration: underline;
}

/* End of 'scotforth-v2 : Layout' */

