/* Global reset - being careful not to reset everything so we don't have to deal with 
	form element issues */
/* Don't forget to set a foreground and background color 
   on the 'html' or 'body' element! */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1em;
}
ol, ul {
	list-style: none;
}
table {  /* tables still need 'cellspacing="0"' in the markup due to IE */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
/* end global style reset */

body {
color: black;
background: #fff url(../images/page_background.png) repeat-y 50% 0;
font: 75%/100% Verdana, Arial, Helvetica, sans-serif;
}

p, pre, blockquote, label, dl, fieldset, address {
margin: 1.4em 0;
line-height:1.4;
}

h1,h2,h3,h4,h5,h6 {
font-weight:bold;
margin:0 0 1.4em 0;
line-height:1.4;
}
h1 {
font-size:1.3em;
}
h2 {
font-size:1.25em;
margin-top:1em;
margin-bottom:1em;
line-height:1.12;
}
h3 {
font-size:1.15em;
margin-top:1em;
margin-bottom:0.8em;
line-height:1.18;
}
h4 {
font-size:1.15em;
}
h5 {
font-size:1.1em;
}
h6 {
font-size:1.05em;
}

strong {
font-weight:bold;
}
small {
font-size:smaller;
}

li {
line-height:1.4;
margin-left:1em;
list-style:circle;
list-style-position:inside;
}

#topbackground {
width:100%;
background:url(../images/page_top_background.png) repeat-x top left;
padding-top:2px;
}


.body_helper {
width:100%;
background:url(../images/page_top_background.png) repeat-x top left;
}


.contentcontainer_l {
background:url(../images/sdw_sprites_lr.png) repeat-y 0 0 ;
width:782px;
margin:0 auto;
}

.contentcontainer_r {
background:url(../images/sdw_sprites_lr.png) repeat-y right top;
margin:0 auto;
}

#container {
background:#E3E3E3 url(../images/sdw_sprites_tb.png) repeat-x 0 -233px;
margin:0 auto;
width:740px;
padding:4px 4px;
}

#topshadow {
position:relative;
margin:0 auto;
height:5px;
background:url(../images/sdw_sprites_tb.png) repeat-x 0 0;
}

#topshadow div.ttl {
position:absolute;
top:0;
left:0;
width:21px;
height:108px;
background:url(../images/sdw_sprites.png) no-repeat 0 0;
}

#topshadow div.ttr {
position:absolute;
top:0;
right:0;
width:21px;
height:108px;
background: url(../images/sdw_sprites.png) no-repeat right top;
}

#header {
background:url(../images/header_extend.jpg) repeat-x top left;
margin: 0 auto;
}
#header div.hdex {
/*
background: url(../images/header_right.jpg) no-repeat top right;
*/
height:95px;
position:relative;
overflow:hidden;
}
#header h1 {
width:281px;
height:95px;
font-size:1em;
} 
#header h1 span {
width:281px;
height:95px;
font-size:1em;
}
#header h1 span {
background:url(../images/header.jpg) no-repeat;
margin-bottom:-95px;
display: block;
position: relative;
z-index: 1;
}
/* IE5 Mac Hack \*/
#header h1 { overflow: hidden; }
/*/
#header h1 { text-indent: -100em; }
/* End Hack */

#pagecontrols {
background:url(../images/header_extend.jpg) repeat-x 0 -50px;
position:absolute;
top:2px;
right:22px;
height:26px;
overflow:hidden;
}

#pagecontrols li {
list-style:none;
float:left;
margin:0 2px;
}

#pagecontrols a {
color:#fff;
display:block;
width:18px;
height:16px;
text-align:center;
position:relative;
}

#pagecontrols #tselected, #pagecontrols #wselected {
display:block;
position:absolute;
top:16px;
left:28%;
background:url(../images/css_controls.png) no-repeat -3px -80px;
height:8px;
width:8px;
}
#pagecontrols #textsmall {
background:url(../images/css_controls.png) no-repeat 0 0;
}
#pagecontrols #textreset {
background:url(../images/css_controls.png) no-repeat 0 -14px;
}
#pagecontrols #textbig {
background:url(../images/css_controls.png) no-repeat 0 -30px;
}
#pagecontrols #widthnarrow {
background:url(../images/css_controls.png) no-repeat 0 -46px;
}
#pagecontrols #widthwide {
background:url(../images/css_controls.png) no-repeat 0 -61px;
}

#topnav {
color:#fff;
clear:both;
background:#00315A url(../images/sdw_sprites_tb.png) repeat-x 0 -38px;
height:48px;
margin:4px 0 4px 0;
font-size:1.15em
}

#topnav ul>li:fist-child {
border-left:2px solid #888;
}
#topnav li {
float:left;
list-style:none;
vertical-align:middle;
text-align:center;
margin:0;
}

#topnav a {
display:block;
height:33px;
width:7em;
line-height:30px;
color:#fff;
border-right:2px solid #888;
text-decoration:none;
font-weight:bold;
font-size:0.9em;
letter-spacing:0.06em;
padding: 0 1em;
}

#topnav .currentpage {
background:#002d57 url(../images/sdw_sprites_tb.png) repeat-x 0 -86px;
}

#topnav a:hover {
background:#02335f url(../images/sdw_sprites_tb.png) repeat-x 0 -135px;
}

#topnav a:active {
background:#002955 url(../images/sdw_sprites_tb.png) repeat-x 0 -184px;
}

#topnav .tn_l {
background: url(../images/sdw_sprites.png) no-repeat -35px -146px;
float:left;
width:8px;
height:48px;
}

#topnav .tn_r {
background: url(../images/sdw_sprites.png) no-repeat 0 -146px;
float:right;
width:8px;
height:48px;

}

p.clearer, .clearer {
display:block;
margin:0;
padding:0;
clear:both;
width:0;
height:0;
}

#contentcontainer {
background:#fff url(../images/sidebar.png) repeat-y right;
margin-bottom:4px;
}


#content {
padding:1em 1.5em 1.5em;
background: url(../images/content_t.png) repeat-x 0 0;
}

#bodytext {
padding-right:196px;
}

#contentcontainerwide {
background:#fff;
margin-bottom:4px;
}

#contentcontainerwide #bodytext {
padding-right:0;
}


#sidebar {
font-size:0.9em;
line-height:1.26;
float:right;
width:196px;
color:#fff;
}

#sidebar .sidebar_tl {
display:block;
width:12px;
height:10px;
}

#services {
margin:10px 18px;
background:#1e76ad;
}

.contactphone {
background:url(../images/css_controls.png) no-repeat 0 -92px;
padding-left:16px;
}

.contactemail {
background:url(../images/css_controls.png) no-repeat 0 -108px;
padding-left:16px;
}

#contactdetails {
background:#2D5577;
color:#fff;
height:5em;
font-size:0.8em;
text-align:center;
padding:14px 10px;
line-height:2.7;
}

#contactdetails a {
color:#fff;
}

#contactdetails li a {
text-decoration:none;
}

#contactdetails ul {
margin:0 auto;
border-left:1px solid #fff;
width:26.5em;
height:1.4em;
}

#contactdetails li {
margin:0 0.5em 0 0;
list-style:none;
width:8em;
text-align:center;
float: left;
}

#contactdetails ul a {
display:block;
width:8em;
height:1.4em;
border-right:1px solid #fff;
text-align:center;
}

#bottomshadow {
width:782px;
margin:0 auto;
}

#bottomshadow2 {
position:relative;
background:url(../images/sdw_sprites_tb.png) repeat-x 0 -5px;
width:740px;
height:33px;
margin:0 auto;
}

.bbl {
position:absolute;
top:0px;
left:-21px;
background:url(../images/sdw_sprites.png) no-repeat 0 -112px;
width:21px;
height:33px;
}

.bbr {
position:absolute;
top:0;
right:-22px;
background:url(../images/sdw_sprites.png) no-repeat -21px -112px;
width:22px;
height:33px;
}

#footer {
text-align:center;
font-size:9px;
font-weight:bold;
color:#000;
}

div.examples img {
float:left;
display:block;
margin:0 1em 1em 0;

}

div.contactus {
width:450px;
}

.contactus p {
clear:left;

}

.contactus p strong {
clear:left;
float:left;
width:150px;
}
.contactus span {
float:left;
margin-bottom:1em;
}

/* expandable boxes definitions */
.expanding, .expanded {
margin-bottom:2em;
padding-left:16px;
margin-left:200px;
}

.expanding {
background:url(../images/css_controls.png) no-repeat 0 -125px;
}
.expanding ul {
display:none;
}

.expanded {
background:url(../images/css_controls.png) no-repeat 0 -142px;
}



/* two rules to allow text size changing easily */
body.smalltext {
	font-size: 67%;
}
body.bigtext {
	font-size: 100%;
}




/* deal with page width switching */
body.widepage .contentcontainer_l {
width:1004px;
}

body.widepage #container {
width:962px;
}

body.widepage #bottomshadow {
width:1004px;
}

body.widepage #bottomshadow2 {
width:962px;
}
