body { padding:15px; font-family:verdana, arial, sans-serif; font-size:70%; }
/* BODY TAG SETS THE ATTRIBUTES OF THE PAGE EDITOR */
table { font-size:1em; }
a { color: #3451A3; font-weight:bold; text-decoration: none; }
a:hover { text-decoration: underline; }
#pagebody a img {border: 1px solid #e2e2e2; padding: 4px}
#pagebody a:hover img {border: 1px solid #315390; }
h1, h2, h3, h4 { font-family:"trebuchet ms", verdana, arial, sans-serif; }
h1 { font-size:2.2em; color:#2f5290; letter-spacing:-1px; margin-top:0; font-weight: normal; border-bottom: 1px solid #e2e2e2}
h2 { font-size:1.3em; color: white; padding: 2px 4px; background: #436bb1; font-weight: bold; clear: both}
h3 {font-size:1.2em; color:#3451A3; }
h4 { font-size:1.2em; color:#6191E4; margin-bottom:0; }
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 #e2e2e2; padding: 4px}
img.clsbordermiddle { margin-right:10px; margin-left:10px; margin-bottom:10px; border: 1px solid #e2e2e2; padding: 4px}
img.clsborderright { margin-left:10px; margin-bottom:10px; border: 1px solid #e2e2e2; padding: 4px}
.datatable th { background:#3451A3; color:white; font-weight:bold;  border:1px solid white; padding:4px; }
.datatable td { background:#efefef; border:1px solid white; padding:4px; }
.datatable p { padding:0; margin:0; }
.notes { font-size:0.8em; }
.shout { font-size:1.2em; color:#fff; font-weight:bold; padding:5px; background:#3451A3; }
.shout2 { font-size:1.2em; color:#fff; font-weight:bold; padding:4px 5px; background:#6191E4; border:1px solid white; }
.submit { background:#3451A3; color:white; border:0; cursor:pointer; font-weight:bold; font-size:1em; padding:2px; }
.reset { background:#6191E4; color:white; border:0; cursor:pointer; font-weight:bold; font-size:1em; padding:2px; }
.quote { border: 1px solid #e2e2e2; border-bottom: 3px solid #e2e2e2; border-left: 1px solid #e2e2e2; padding:4px; color:#465EB9; font-weight:bold; font-size: 0.9em; background:url(quote_back.gif) no-repeat right #f6f6f6 }
.quote strong {color:#2f5290;}
.caption { font-weight:bold; background:#3451A3; float:right; width:200px; padding:10px 8px; margin:0 0 10px 10px; color:white; font-size:0.9em; }
.custom1 {}
.custom2 {}
.border { border:1px solid #ddd; padding:5px; }
.noborder: { border:0; }
#sitelogo { background:url(../template/blank_logo.jpg) no-repeat; width:390px; font-family:"trebuchet ms", verdana, arial, sans-serif; font-size:2.2em; font-weight:bold; color:White;}
#container { margin:0 auto; text-align:left; }
#pagebody { border-left:3px solid #305391; border-right:3px solid #305391; background: white}
#pagebody form img { border:0; }
#copyright { padding-top:10px; }
#end, #end a { font-size:0.9em; color: white; font-weight:normal; }
#menu { border-left:3px solid #305391; border-right:1px solid #305391; background:#305391; }
#menu ul { padding:2px 0; margin:3px 0; list-style:none; text-transform: uppercase}
#nav { text-align:center; }
#nav li { display:inline; position: relative;  }
#nav li a { width:100%; padding:4px 5px; color:white; }
#nav li a:hover { border:0; color:#769FE5; text-decoration:none; }
#nav li ul { display:none; position:absolute;  top:10px; left:0; width:240px; text-align:left; margin-top:4px; margin-left:7px; }
#nav li > ul { top:auto; left:0; margin-top:4px; }
#nav li:hover ul, li.over ul{ display:block; }
#nav li ul a { display:block; width:100%; background:#315390; padding:4px; border:1px solid white; border-top:0; }
#nav li ul a:hover { background:#A7B9E7; color:#0A1D5C; border:1px solid white; border-top:0; }
#nav li ul ul { margin:-22px 0 0 160px; top:20px; }
#nav li:hover ul ul, #nav li.over ul ul { display:none; }
#nav li:hover ul, #nav li li:hover ul, #nav li.over ul, #nav li li.over ul { display:block; left:-4px; }
#nav .nav_parent a { background:url(../template/nav_parent.gif) no-repeat right; padding-right:18px; }
#nav .nav_parent a:hover { background:url(../template/nav_parent_over.gif) no-repeat right; }
#nav .nav_child a { background:#315390; }
#nav .nav_child a:hover { background:#0b285a; color:white; }
#nav .nav_parent2 a { background:url(../template/nav_parent2.gif) #465EB9 no-repeat right; padding-right:18px; }
#nav .nav_parent2 a:hover { background:url(../template/nav_parent2.gif) #1A3F7E no-repeat right; }
#nav .nav_child2 a { background:#465EB9; }
#nav .nav_child2 a:hover { background:#1A3F7E; }
#nav #active { color:#0b285a; cursor:default; }
#nav .nav_parent #active { color:#DDC9A7; cursor:default; background:url(../template/nav_parent.gif) #1A3F7E no-repeat right; }
#nav .nav_child #active, #nav .nav_child2 #active, #nav .nav_parent2 #active { color:#769FE5; background:#0b285a; }
#ie7fix { display:none; }

#content {width:auto ; height:305px ; overflow:auto ; overflow-x: hidden; SCROLLBAR-FACE-COLOR: #ffffff; padding-left: 19px; padding-right: 9px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px; SCROLLBAR-HIGHLIGHT-COLOR: #0c2d63; SCROLLBAR-SHADOW-COLOR: #0c2d63; SCROLLBAR-3DLIGHT-COLOR: #ffffff; SCROLLBAR-ARROW-COLOR: #0c2d63; SCROLLBAR-TRACK-COLOR: #ffffff; SCROLLBAR-DARKSHADOW-COLOR: #ffffff; scrollbar-face-color:#ffffff;}

#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/bsqualityjoinery/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/bsqualityjoinery/template/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background:url(http://server12.sitewizard.co.uk/sites/bsqualityjoinery/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 */ }

#pagebody ul { line-height:19px; font-weight:bold; margin-left: 20px }
#pagebody li { list-style-type:none; text-indent:15px; background:url(bullet.gif) no-repeat left top; }