body { padding:15px; color: black; font-family:tahoma, verdana, sans-serif; font-size:70%; background:white; }
/* BODY TAG SETS THE ATTRIBUTES OF THE PAGE EDITOR */
table { font-size:1em; }
a { color:#084fb3; text-decoration:none; font-weight:bold; }
a:hover { text-decoration: none }
#pagebody a img { background:url(../template/link_img_back.gif) white no-repeat bottom right; padding:4px 4px 25px 4px; border:1px solid #d9d8c9;  }
#pagebody a:hover img { background:url(../template/link_img_over.gif) white no-repeat bottom right; border:1px solid #e39719; }
h1, h2, h3, h4 { font-family:"trebuchet ms", tahoma, sans-serif; }
h1 { color:#064caf; font-size:2em; border-bottom:1px solid #ebebeb; letter-spacing:-1px; font-weight: normal}
h2 { color: white; font-size:1.3em; letter-spacing:1px; background:url(../template/menu_back.gif) repeat-x #002458; padding: 2px 4px }
h3 { color:#002458; font-size:1.3em; border-left: 3px solid #d7883b; padding-left: 5px; letter-spacing:1px; }
h4 { color:#d7883b; font-size:1.4em; }
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 #d9d8c9; padding: 3px}
img.clsbordermiddle { margin-right:10px; margin-left:10px; margin-bottom:10px; border: 1px solid #d9d8c9; padding: 3px }
img.clsborderright { margin-left:10px; margin-bottom:10px; border: 1px solid #d9d8c9; padding: 3px; margin-right:10px;}

.datatable th { background:#366fc1; 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:#366fc1; }
.shout2 { font-size:1.2em; color:#fff; font-weight:bold; padding:4px 5px; background:#18387E; border:1px solid white; }
.submit { background:#366fc1; color:white; border:0; cursor:pointer; font-weight:bold; font-size:1em; padding:2px; }
.reset { background:#18387E; color:white; border:0; cursor:pointer; font-weight:bold; font-size:1em; padding:2px; }
.quote { border:1px solid #C6C6C6; padding:4px; color:#366fc1; font-weight:bold; }
.caption { font-weight:bold; background:#003073; float:right; width:170px; padding:10px 8px; margin:0 0 10px 10px; color:white; font-size:0.9em; border-right: 3px solid #d7883b}
.custom1 {}
.custom2 {}
.border { padding:4px; border:1px solid #C6C6C6; }
.noborder: { border:0; }

#links {font-size: 1.1em;}
#outer_table { margin:0 auto; }
#container { height:auto; width:693px; border:0px solid #ACADAD; border-top:0px; margin-bottom:10px; text-align:left; }
#main { height:auto; width:693px; border:5px solid white; border-top:0px; }
#sitelogo { color:#1B3381; height:90px; background:white; border:0px; font-size:2em; font-weight:bold; text-indent:10px; text-align:left; }
#hbc { height:90px; background:white; border:0px; padding-right:20px; }
#hbc a:hover { border:0; }
#main_pic { height:134px; width:685px; #739C4A; margin:auto; padding:auto; background:url(../template/top_pic.jpg); border-top: 5px solid white; border-bottom: 5px solid white}
#date { height:25px; background:url(../template/date_back.gif) repeat-x #04377f; border-bottom:1px solid white; border-top:0px solid white; text-align:right; color: white; padding-right:10px; }
#pagebody { border-top:4px solid #003073; border-bottom:4px solid #3c639a; background:white; padding:25px; color: black; }
#pagebody form img { border:0; }
#bottom { background:url(../template/menu_back.gif) repeat-x #002458; text-align:center; font-size:1em; color:white; border-top: 1px solid white; padding: 3px }
#bottom b {color: #d7883b; }
#end, #end a { color:#C9CACA; font-size:0.9em; font-weight:normal; }
#end a:hover { color:#002860; border-color:white; }
#copyright { color:#002860; }








#nav {background:url(../template/menu_back.gif) repeat-x #002458; font-weight:bold; color:white;  height:23px; text-align:center; margin:0; padding:0; }

/** positioning the drop-down menu **/
#nav ul, #nav ul ul { text-align:left; }
#nav li { display:inline; position:relative; top:5px; margin-right:-3px /* fixes inline list bug */; }
#nav li a {border-right: 1px solid orange;  border-left: 1px solid orange; margin: 0 10px; padding:5px 8px; text-decoration:none;   }
#nav li ul { margin:0; padding:0; display:none; position:absolute; top:18px/* distance away from the main nav bar */;  }
#nav li>/**/ul { top:13px /* distance away from the main nav bar for firefox */ ; }
#nav ul ul { margin:-5px 0 0 150px /* moves second drop down away from first */; display:block; padding:0; display:none; position:absolute; top:0;  } 
#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, #nav ul li a  {border:0; display:block; width:144px /* width of the drop-downs */; left:0; }



/** styling the drop-down menu **/
#nav #active { color:#d7883b; cursor:default; background:#0648a5; }
#nav li a { color:white; font-weight:bold; }
#nav li a:hover { background:#0648a5; }
#nav ul li a:hover, #nav ul ul li a:hover { background:#555; }
#nav .nav_parent a { padding-right:18px; }
#nav .nav_parent a:hover { background:#0648a5; }
#nav .nav_child a {background:#2f9ad1; padding-right:8px; }
#nav .nav_child a:hover {background:#73b4d5;  }
#nav .nav_parent2 a { background:url(../template/nav_parent2_out.gif) #2f9ad1 no-repeat right; }
#nav .nav_parent2 a:hover {  background:url(../template/nav_parent2_over.gif) #73b4d5 no-repeat right;  }
#nav .nav_child2 a { background:#2f9ad1; }
#nav .nav_child2 a:hover {background:#73b4d5;  }

/* END */


#post {background: #002860; padding: 5px; text-align: center; color: #d7883b; }
#post h4 {color: #d7883b; margin: 0; padding: 0; font-size: 1.1em}
#post select {font-size: 0.9em; width: 130px; color: #002860}
legend {background: #d7883b; font-weight: bold; color: white; padding: 3px; }

#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://server11.sitewizard.co.uk/sites/stanleypainting/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://server11.sitewizard.co.uk/sites/stanleypainting/template/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background:url(http://server11.sitewizard.co.uk/sites/stanleypainting/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:#002458; 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(../template/bullet.gif) no-repeat left top; }

#links td, #links1 td, #links2 td, #links3 td, #links4 td, #links5 td {border-left: 3px solid #d7883b; border-right: 3px solid #d7883b; font-size: 1.1em; border-bottom: 1px solid #e4e4e4; border-top: 1px solid #e4e4e4 }
