/* AUTHOR: Berwickshire Housing Association, IT Department, Peter Nisbet */
/* CONTRACT: Seton Care Limited */
/* COPYRIGHT: 2006 Berwickshire Housing Association */

* {margin: 0; padding: 0; border: 0;} /* We use this line to turn off all present margins, padding and borders, we will set these styles by ourselves */

/* Layout of Website */

body		{background-color: #FFFFFF; width: 100%; margin-left: auto; margin-right: auto;}
#container 	{background-color: transparent; margin: 5px 20px 5px 20px}
#header		{background-color: transparent; padding-top: 1px;} /* 1px padding is to stop the margins being adjacent and thus collapsing. ‘Margin collapsing’ is a CSS phenomenon that only affects standard compliant browsers, not IE. */
#footer 	{background-color: transparent; padding: 0px 0px 0px 0px; clear: both; text-align: right;}
#content	{background-color: transparent; float: left; width: 60%; margin: 120px 0px 0px 0px; padding: 0px 0px 0px 0px;} /* Set the width to slightly below 70% due to issue with ie. */
#navigation	{background-color: transparent; float: left; width: 35%; margin: 60px 0px 0px 0px; padding: 0px 0px 0px 40px;} /* Set the width to slightly below 70% due to issue with ie. */
#subfooter 	{background-color: transparent; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 10px;}

/* Styling of Website */

img#titlelogo  {position: absolute; top: 20px; left: 20px;}

#footer p {	padding: 10px 10px 0px 0px;

		font-size: 70%;

		word-spacing: normal;
		letter-spacing: normal;
		vertical-align: text-top;
		text-decoration: none;
		text-transform: none;
		text-indent: 0px;
		line-height: 1.5em;

		color: #C0C0C0;}

#subfooter p {	padding: 10px 0px 50px 10px;

		font-size: 70%;

		word-spacing: normal;
		letter-spacing: normal;
		vertical-align: text-top;
		text-decoration: none;
		text-transform: none;
		text-indent: 0px;
		line-height: 1.5em;

		color: #C0C0C0;}

#subfooter a {color: #B2B2C0;}

div.floatbox {	float: right;		
		margin: 10px 10px 0px 5px;
}

.floatbox p {	background-color: #FFFFFF;

		margin: 0px;
		border: 1px solid  #C0D0DB;
		padding: 1px 5px 1px 5px;
	
		font-size: 70%;

		word-spacing: normal;
		letter-spacing: normal;
		vertical-align: middle;
		text-decoration: none;
		text-transform: none;
		text-indent: 0px;
		line-height: 1.5em;

		color: #080808;}

.printhidehighcontrast {visibility: hidden; display: none;}
.printhidestandard {visibility: visible;}

/* Styling for drop down menus */

div#menubar {background-color: #FFFFFF; width: 30%; float:left; margin-top: 100px; font-size: 80%;} 
ul#nav {padding: 0px 30px 0px 30px;}
#nav img {display: none;}

/* Formatting of Website */

body {	font-family: Arial, Helvetica, san-serif, 'Times New Roman';
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	font-size: 180%;

	color: #080808;}

h1 {	background: url("../images/layout/underline.gif") repeat-x bottom left;
	margin-bottom: 0.2em;

	font-family: Arial, Helvetica, san-serif, 'Times New Roman';
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	font-size: 160%;

	text-transform: none;
	letter-spacing: 0.03em;
	color: #DB5E28;}

h2 {	margin-top: 0.5em;
	margin-bottom: 0.2em;

	font-family: Arial, Helvetica, san-serif, 'Times New Roman';
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	font-size: 140%;

	text-transform: none;
	letter-spacing: 0.03em;
	color: #DB5E28;}

h3 {	margin-top: 0.5em;
	margin-bottom: 0.2em;

	font-family: Arial, Helvetica, san-serif, 'Times New Roman';
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	font-size: 120%;

	text-transform: none;
	letter-spacing: 0.03em;
	color: #DB5E28;}

h4 {	margin-top: 0.5em;
	margin-bottom: 0.2em;

	font-family: Arial, Helvetica, san-serif, 'Times New Roman';
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	font-size: 110%;

	text-transform: none;
	letter-spacing: 0.03em;
	color: #DB5E28;}

h5 {	margin-top: 0.5em;
	margin-bottom: 0.2em;

	font-family: Arial, Helvetica, san-serif, 'Times New Roman';
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	font-size: 105%;

	text-transform: none;
	letter-spacing: 0.03em;
	color: #DB5E28;}

h6 {	margin-top: 0.5em;
	margin-bottom: 0.2em;

	font-family: Arial, Helvetica, san-serif, 'Times New Roman';
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	font-size: 100%;

	text-transform: none;
	letter-spacing: 0.03em;
	color: #DB5E28;}

p {	padding: 0.4em 0px 0.4em 0px;

	font-size: 80%;

	word-spacing: 0.05em;
	letter-spacing: 0.03em;
	vertical-align: middle;
	text-decoration: none;
	text-transform: none;
	text-indent: 0px;
	line-height: 1.6em;

	color: #080808;}

li {	padding: 0.4em 0px 0.4em 0px;

	font-size: 80%;

	word-spacing: 0.05em;
	letter-spacing: 0.03em;
	vertical-align: middle;
	text-decoration: none;
	text-transform: none;
	text-indent: 0px;
	line-height: 1.6em;

	color: #080808;}

a {	text-decoration: none;
	color: #46069E;}

a:hover 	{color:	#404040;}
a:visited 	{color: #46069E;}
a:visited:hover {color:	#404040;}
a:active 	{color: #46069E;}

ul,ol,dl {padding-left: 2em; padding-top: 0.5em; padding-bottom: 0.5em;}
dd {padding-top: 0.2em; padding-bottom: 0.2em;}
dt {font-weight: bold; padding-top: 0.2em;}

th {
	color: #6D929B;
	border: 1px solid #C1DAD7;
	letter-spacing: 2px;
	text-align: center;
	padding: 6px 6px 6px 6px;
}

td {
	font-size: 80%;
	color: #080808;
	border: 1px solid #C1DAD7;
	text-align: left;
	padding: 6px 6px 6px 6px;
	vertical-align: top;
}
