body { background:white; padding:15px; font-size:70%; color:#000; font-family:tahoma, arial, sans-serif; }
/* BODY TAG SETS THE ATTRIBUTES OF THE PAGE EDITOR */
table { font-family:tahoma; font-size:1em; }
a { color:#BB1717; font-weight:bold; text-decoration:none; }
a:hover { text-decoration:underline; }
h1, h2, h3, h4 { font-family:"trebuchet ms", tahoma, sans-serif; }
h1 { color:#fff; font-size:1.3em; background:url(h1_back.gif) repeat-x #cc0e25; margin:0 -25px 25px -25px; padding:1px 4px; text-transform: uppercase}
h2 { clear:both; color:#002790; font-size:1.3em; border-left:3px solid #cc0e25; padding-left: 6px; letter-spacing: 1px }
h2 span {color: #cc0e25; font-size: 0.8em}
h3 { clear:both; color:#fff; font-size:1.2em; background:#BB1717; padding:2px 4px; border-right:4px solid #E83B3B; }
h4 { color:#E83B3B; font-size:1.4em; }
h5 {background: #395fc4; font-size: 0.9em; padding: 2px; margin: 5px 0; color: white }
ul { color:#E83B3B; list-style-type:circle; }
img.clsleft { margin-right:10px; margin-bottom:10px; }
img.clsmiddle { margin-right:10px; margin-left:10px; margin-bottom:10px; }
img.clsright { margin-left:10px; margin-bottom:10px; }
img.clsborderleft { margin-right:10px; margin-bottom:10px; border: 1px solid #d6dae5; padding: 3px}
img.clsbordermiddle { margin-right:10px; margin-left:10px; margin-bottom:10px; border: 1px solid #d6dae5; padding: 3px }
img.clsborderright { margin-left:10px; margin-bottom:10px; border: 1px solid #d6dae5; padding: 3px; }
.datatable th { background:url(second_back.gif) repeat-x #002790; color:white; font-weight:bold;  border-bottom:2px solid white; padding:4px; }
.datatable td { background:#f0f4fd; border-bottom:2px solid white; padding:4px; }
.datatable p { padding:0; margin:0; }
.notes { font-size:0.8em; color:#888; }
.shout { font-size:1.1em; font-weight:bold; color:#cc0e25; }
.shout2 strong {color: #002790}
.shout2 { font-size:0.9em; color: white; font-weight:bold; padding:5px; background:#395fc4; }
.submit { background:#002790; color:white; border:0; cursor:pointer; font-weight:bold; font-size:1em; padding:2px; }
.reset { background:#cc0e25; color:white; border:0; cursor:pointer; font-weight:bold; font-size:1em; padding:2px; }
.quote { border:1px solid #C5D0D5; padding:4px; color:#BB1717; font-weight:bold; }
.caption { font-weight:bold; background:#E83B3B; float:right; width:160px; padding:10px 8px; margin:0 0 10px 10px; color:white; font-size:0.9em; border-right:3px solid #BB1717; }
.custom1 {}
.custom2 {}
.border { border: 1px solid #d6dae5; padding: 3px }
.noborder { border:0; }
.white_vert { width:3px; }
.white_hoz { height:3px; }
.spacer { height:20px; }
#shadow_left { background:url(../template/shadow_left.gif) #EEEEEE; width:6px; }
#shadow_right { background:url(../template/shadow_right.gif) #EEEEEE; width:6px; }
#shadow_bottom { background:url(../template/shadow_bot.gif) #EEEEEE; height:6px; }
#top { text-align:center; font-size:0.9em; color: white; width: 100%; background:url(top.gif) repeat-x #cc0d24; padding: 3px 0; margin: 0; height: 16px}
#container { background:white; width:750px; text-align:left; }
#date { background:#BB1717; color:white; border-bottom:3px solid white; height:25px; text-align:right; padding-right:10px; }
#head { height:100px; }
#sitelogo { height:10px; }
#hbc { height:85px; line-height:80px; padding-right:10px; text-align: right}
#left { width:170px; background:#395fc4; vertical-align:top; border-right:3px solid white; border-bottom: 3px solid white}
#menu_heading { background:url(second_back.gif) repeat-x #002790; color:white; border-bottom:3px solid white; height:22px; width:170px; letter-spacing:2px; font-weight:bold; text-transform: uppercase; text-align: center; }
#menu_heading span {color: #91c5e5}

#contact { background:#002790; border-bottom:3px solid white; border-top: 3px solid white; padding:7px; color: white; }
#right { vertical-align:top; }
#top_image { background:url(../template/top_pic.jpg) no-repeat; border:1px solid #BB1717; height:138px; }
#pagebody { width:559px; padding:25px; padding-top:0; height:180px; }
#pagebody form img { border:0; }
#copyright { background:#BB1717; color:white; border-bottom:3px solid white; border-top:3px solid white; height:28px; text-align:center; }
#end { text-align:center; font-size:0.9em; color: white; width: 100%; background:url(top.gif) repeat-x #cc0d24; padding: 4px 0; margin: 0; height: 14px}
#end a { font-size:0.9em; color: white; border:0; background:none; font-weight:normal; }
#end a:hover { color:#BB1717; border:0; background:none; text-decoration:none; }
#nav, #nav ul { padding:0; margin:0; list-style:none; width:170px; text-align:left; text-transform: uppercase  }
#nav a { display:block; width:160px; padding-left:7px; background:#395fc4; color: white; height:25px; line-height:24px; border-bottom:1px solid white; font-weight:normal; border-left: 3px solid #002790}
#nav a:hover { background:#DA3333; color:#fff; text-decoration:none; }
#nav li { float:left; width:170px; }
#nav li ul { position:absolute; width:170px ; left:-999em; }
#nav li ul ul { margin:-27px 0 0 170px; }
#nav li:hover ul ul, #nav li.sfhover ul ul { left:-999em; }
#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul { left:auto; margin:-27px 0 0 170px; }
#nav li ul ul { margin:-1em 0 0 10em; }
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul { left:-999em; }
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { left:auto; }
#nav .nav_child, #nav .nav_child2 { border:1px solid #fff; border-bottom:0; }
#nav .nav_parent a { background:url(../template/nav_parent_out.gif) no-repeat #395fc4 right; }
#nav .nav_parent a:hover { background:url(../template/nav_parent_over.gif) no-repeat #DA3333 right; }
#nav .nav_child a { background:#FEDDD9; }
#nav .nav_child a:hover  { background:#DA3333; }
#nav .nav_parent2 a { background:url(../template/nav_parent_out.gif) no-repeat #FEDDD9 right; }
#nav .nav_parent2 a:hover { background:url(../template/nav_parent_over.gif) no-repeat #DA3333 right; }
#nav .nav_child2 a { background:#FEDDD9; }
#nav .nav_child2 a:hover  { background:#DA3333; }
#nav #active { border-left: 3px solid #c90017; cursor:default; }

#lightbox{ position:absolute; top:40px; left:0; width:100%; z-index:100; text-align:center; line-height:0; }
#lightbox a img{ border:none; }
#outerImageContainer{ position:relative; background-color:#fff; width:250px; height:250px; margin:0 auto; }
#imageContainer{ padding:10px; }
#loading{ position:absolute; top:40%; left:0%; height:25%; width:100%; text-align:center; line-height:0; }
#hoverNav{ position:absolute; top:0; left:0; height:100%; width:100%; z-index:10; }
#imageContainer>#hoverNav{ left:0;}
#hoverNav a{ outline:none;}
#prevLink, #nextLink{ width:49%; height:100%; background:transparent url(http://server12.sitewizard.co.uk/sites/waysafe/template/blank.gif) no-repeat; /* Trick IE into showing hover */ display:block; }
#prevLink { left:0; float:left;}
#nextLink { right:0; float:right;}
#prevLink:hover, #prevLink:visited:hover { background:url(http://server12.sitewizard.co.uk/sites/waysafe/template/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background:url(http://server12.sitewizard.co.uk/sites/waysafe/template/nextlabel.gif) right 15% no-repeat; }
#imageDataContainer{ font:10px Verdana, Helvetica, sans-serif; background-color:#fff; margin:0 auto; line-height:1.4em; }
#imageData{ padding:0 10px; }
#imageData #imageDetails{ width:70%; float:left; text-align:left; }	
#imageData #caption{ font-weight:bold;	}
#imageData #numberDisplay{ display:block; clear:left; padding-bottom:1.0em;	}			
#imageData #bottomNavClose{ width:66px; float:right;  padding-bottom:0.7em;	}	 	
#overlay{ position:absolute; top:0; left:0; z-index:90; width:100%; height:500px; background-color:#000; filter:alpha(opacity=60); -moz-opacity:0.6; opacity:0.6; } 
.clearfix:after { content:".";  display:block;  height:0;  clear:both;  visibility:hidden; }
* html>body .clearfix { display:inline-block;  width:100%; }
* html .clearfix { /* Hides from IE-mac \*/ height:1%; /* End hide from IE-mac */ }
