html, body {margin:0px;padding:5px;color: #666;}	
body {background-image: url(../Images/ayrshire%20district%20ancient.png);background-repeat: repeat;background-color: #fff;}
h1 {
	font: bold 35px "Times New Roman", Times, serif;
	color: #404cac;
	margin: 5px 0px 10px;
	padding: 0px;
	vertical-align: top;
}
.loginbox p {
	color: #333333;
	font: bold 18px "Times New Roman", Times, serif;
	padding: 2px;
}
h2{
	font: bold 18px "Times New Roman", Times, serif;
	color: #333333;
	margin: 0px;
	padding: 0px;
}
h3{font: bold 14px "Times New Roman", Times, serif; color: #336699;}
ul{display:block; list-style: decimal; font:14px "Times New Roman", Times, serif;	color:  #666666;}
ol{list-style:none;}

#head{display:block;height:auto;color:#050845;text-align:left;clear:both;}
#foot{
	clear:both;
	display: block;
	height:30px;
	background:#BFEBFF;
	color: #666;
	padding:3px;
	font-size:14px;
	bottom: auto;
	border: 1px solid green;
	text-align:center;
}
#container{float:left; width:100%; margin-left:-325px; display:inline;}
#top-menubar {
	font-size:12px;
	border: 1px solid #0066FF;
	width: auto;
	background-color: #B7DBFF;
	background-image: url(../CSS_images/tmb.png);
}
#top-menubar ul {margin: 0px;padding: 0px 30px 0 0;text-align:right;color:#900;	list-style: none;}
#top-menubar li {display: inline; margin: 0; padding: 0;  }
#top-menubar a:link { text-decoration: none; color: #900; font-weight:bold; }
#top-menubar a:visited {color:#330099;text-decoration:none;}

#tagline { font: bold 16px "Times New Roman", Times, "serif italic 14px"; color: #990000; margin:0;  float: left; }

#nav img {border-style: none;	border-bottom-width:2px;}
#nav, #nav ul {margin: 0px;padding: 0px;list-style: none;}
#nav a {display:inline; font-weight:bold; color: #000066}
#nav a:hover { font-weight:bold; color:  #006;}
#nav li ul {position:absolute;left:-999em;}

#nav li:hover ul, #nav li.sfhover ul {
	position: absolute;
	left:auto;
	right:1em;
	top: inherit;
	display:block;
	padding: 5px;
	margin-top:-1px;
	text-align: left;
	border: solid green 1px;
	width: 180px;
	visibility: visible;
	background-color: #ECFFFF;
	z-index:99
}
#nav #ins:hover ul, #nav #ins.sfhover ul {right:8em;}

.clear1 {height: 6px;}
.clear2 {height: 15px; clear:both;}

.searchbox {
	margin-bottom:10px;
	padding-left: 5px;
	color: #0000FF;
	width: 200px;
	border: 1px solid #0033FF;
	background-color: #f5f5f5;
	background-image: url(../Images/ayrshire%20district%20ancient.png);
}
.bottom{
	background:url(../CSS_images/bottom.png) no-repeat -5px bottom;
}
.searchbox form {visibility: visible;margin: 1px 1px 15px;padding: 0px;	width: 180px;}
.searchbox select {
	width: 110px;
	background: #E1F0FF;
	display: inline;
	height: 20px;
	position: absolute;
	left: 80px;
	border: thin solid green;
	color: #666;
	font-size: 12px;
}
.searchbox input {
	width:30px;
	color: #0000CC;
	position: relative;
	left: 120px;
	font-size: 14px;
	font-weight: bold;
	border: 1px solid green;
	margin-bottom:5px;
	text-align: left;
	top: 10px;
}
.searchbox .tinput {
	position: relative;
	left: 0px;
	width: 110px;
	background: #DDEEFF;
}
.searchbox p {width: 80px;font-size: 12px;font-weight: bold;color: #990000;	text-align: left;display: inline;}
.searchbox h3 {font: bold 18px "Times New Roman", Times, serif;	color: #990000;	height: 20px;	width: auto;display: inline;}
.searchbox h3:hover {
	color: #000066;
}

.gbox { z-index:99;
	text-align:center;
	font: bold 18px "Times New Roman", Times, serif;
	color: #FF0033;
	width:640px;
	overflow: hidden;
}
.hi {
	font: bold 12px "Times New Roman", Times, serif;
	color: #FF0033;
	margin: 0px;
	padding: 0px;
}
#left{
vertical-align: top;
width:210px;
}
#main{margin-left:320px;}
#sidebar{padding-left:100%; margin-left:-285px;}
#right {
	width: 300px;
}
.loginbox {
	border: 1px solid blue;
	width: 450px;
	margin-bottom:10px;
	padding-left: 5px;
	color: #cc9966;
	float: left;
	margin-right: 5px;
	margin-left: 5px;
	background-color: #E5E5E5;
}
.loginbox form {visibility: visible;margin: 1px 1px 15px 1px;padding: 0px;	}
.loginbox .tinput {
	position: relative;
	left: 20px;
	width: 25px;
	background: #ffdfbf;
	z-index: 49;
	border-color: #330099;
}
.loginbox h3 {
	font: bold 18px "Times New Roman", Times, serif;
	color: #666666;
	height: 20px;
	width: auto;
	display: inline;
}
.loginbox a {
	font-size: 16px;
	color: #900;
	font-weight: bold;
}
.loginbox a:hover {
	font-size: 16px;
	color: #000066;
}
.loginbox label {
	color: #3300FF;
	font-weight: bold;
	width: 60px;
	float: left;
	text-align: right;
	vertical-align: bottom;
	margin-top: 4px;
	margin-right: 5px;
}
.loginbox input {
	font-weight: bold;
	width: 120px;
	margin-bottom: 5px;
	margin-right: 25px;
	border-color: #FF0000;
	background:  #ffdfbf;
	border: 1px solid #CC0000;
}
.view img {
	border: thin solid #400000;
	background: #CC6600;
	clear: right;
}
.view .contact {
	background: #B7DBFF;
	height: 50px;
}
.Smallimgs {
	clear: right;
}
.labelleft {
	background: #B7DBFF;
	border: thin solid #0066FF;
}
.bigerror {
	font: 18px "Times New Roman", Times, serif;
	color: #FF0000;
}
.error {
	color: #FF0033;
}


a {
	text-decoration: none;
}
a:hover {
	font-weight:bolder;
}
.brodd  {
	background-color: #F3E9E9;
}
.breven {
	background-color: #ECD9D9;
}
.browse .brpage {
	font-size: 18px;
	font-weight: bold;
	vertical-align: bottom;
	border-style: none;
	background-color: #FFFF99;
	background-image: url(../Images/ayrshire%20district%20ancient.png);
	background-repeat: repeat-x;
	background-position: bottom;
}

.adtext{
	font:18px "Times New Roman", Times, serif;
	color: #000000;
}


.adtext textarea{
	background:  #e0e0e0;
	color:			#000;
	font-size:		16px;
	border-style: 		solid;
	border-color: 		red;
	border-width: 		1px;
	overflow: 		auto;
	padding-left: 5px;
	width:540px;
	height: 5cm;
}
.adtitle textarea{
	background: #E0E0E0;
	color:			#000;
	font-size:		18px;
	border-style: 		solid;
	border-color: 		red;
	border-width: 		1px;
	overflow: 		auto;
	padding-left: 5px;
	width:540px;
	height: 1cm;
}
#question {
	font-size: 16px;
	background: #B7DBFF;
}
#answer {
	font-size: 16px;
	background: #CCFFCC;
}
.searchbox img {border-style: none;
}
#topmenubar #nav.ulblock {
	display: block;
}
.lo
{
	font: bold 12px "Times New Roman", Times, serif;
	margin: 0px;
	padding: 0px;
}
#foot img {
	vertical-align: middle;
	display: block;
	float: left;
}
#registration .note {
	font-weight: bold;
	text-align: justify;
}
#SignIn {
	width: 640px;
}
.searchbox #large {
	font: bold 36px Georgia, "Times New Roman", Times, serif;
	color: #000099;
}

.searchbox a {
	font-size: 18px;
	font-weight: bold;
	color: #000099;
}
.searchbox a:hover{
	font-size: 20px;
	font-weight: bolder;
	color: #000099;
}
#head img {
	margin: 5px;
}
#head img {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
.createbox {
	border: thin solid #0000FF;
	background-color: #FFFFdd;
}
#loginForm #loginmsg {
	background-color: #D5E3D5;
	border: thin solid #333333;
}
.browse .brfooter #pages .this {
	display: inline;
	height: 15px;
	width: 15px;
	border: 1px solid #990000;
	font-size: 24px;
	margin: 2px;
	padding: 2px;
	color: #000000;
}
.browse .brfooter #pages .this a {color: #000000;}
.browse .brfooter #pages {display: inline;}
.browse .brfooter #pages li {display: inline;color: #0000FF;margin: 2px;padding: 2px;}
.browse .brfooter {background-color: #CCCCCC;}

