/*
Stylesheet for http://www.mattwreford.com/
by SRJM.co.uk
*/
/*
Generic style
-------------
*/
body {
	margin: 0px auto;
	padding: 0px;
	color: #f5f5f5;
	background-color: #1a1720;
	/*2e2b34*/
	font-size: 75%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	line-height: 1.6em;
	letter-spacing: 0.1em;
	height: 100%;/*For IE6*/
	}
div {
	overflow: auto;
	position: relative;
	}
p {
	margin-top: 0px;
	margin-left: 12px;
	margin-right: 12px;
	margin-bottom: 0px;
	text-align: justify;
	text-indent: 12px;
	font-size: 0.95em;
	}
a {
	color: #f5f5f5;
	text-decoration: none;
	}
h1, h2, h3, h4, h5, h6 {
	margin: 0px;
	padding: 0px;
	font-size: 1.4em;
	}
h2 {
	margin-bottom: 6px;
	}
ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	text-indent: 0px;
	}
li {
	display: inline;
	}
img {
	border: none;
	}
table {
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0px;
	border-style: none;
	border-width: 0px;
	vertical-align: top;
	text-align: left;
	}
tr {
	border-style: none;
	border-width: 0px;
	}
td {
	padding-top: 12px;
	padding-left: 6px;
	padding-right: 6px;
	padding-bottom: 12px;
	border-color: #1a1720;
	border-style: none;
	border-width: 0px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	text-align: justify;
	font-size: 0.95em;
	}
table p {
	margin: 0px;
	text-indent: 0px;
	}
table p strong, td strong {
	text-align: left;
	}
/*
Global layout
-------------
*/
div.headerContainer {
	float: left;
	width: 100%;
	height: 90px;
	min-width: 940px;
	background-image: url('./images/header.png');
	}
div.headerLeftPane {
	float: left;
	width: 36%;
	height: 90px;
	background-image: url('./images/header-leftpane.png');
	background-repeat: no-repeat;
	}
div.headerRightPane {
	float: left;
	width: 64%;
	height: 90px;
	}
div.contentContainer {
	float: left;
	width: 100%;
	min-width: 940px;
	clear: both;
	color: #2e2b34;
	background-color: #f5f5f5;
	/*Minimum height but height will be over-ruled by js for IE6*/
	min-height: 570px;
	}
div.contentContainer a {
	color: #2e2b34;
	}
div.homePage {
	background-image: url('./home.jpg');
	background-position: top left;
	background-repeat: no-repeat;
	}
div.leftPane {
	float: left;
	width: 36%;
	}
div.leftPaneBackground {
	position: absolute;
	width: 36%;
	top: 0px;
	left: 0px;
	right: auto;
	bottom: 0px;
	background-image: url('./images/body-leftpane.png');
	background-repeat: repeat-y;
	min-height: 570px;
	}
div.contentPane {
	float: left;
	width: 64%;
	min-height: 570px;
	}
div.footerContainer {
	clear: both;
	float: left;
	width: 100%;
	height: 90px;
	min-width: 940px;
	}
div.footerContent {
	}
div.footerBackground {
	position: absolute;
	width: 100%;
	height: 90px;
	min-width: 940px;
	background-image: url('./images/footer.png');
	background-repeat: repeat-x;
	behavior: url('http://www.mattwreford.com/iepngfix.htc');
	}
div.footerLeftBackground {
	position: absolute;
	width: 36%;
	height: 90px;
	top: 0px;
	left: 0px;
	right: auto;
	bottom: 0px;
	background-image: url('./images/footer-leftpane.png');
	background-repeat: no-repeat;
	behavior: url('http://www.mattwreford.com/iepngfix.htc');
	}
/*
Specific Styles
---------------
*/
h1.pageHeading {
	margin-right: 0px;
	margin-bottom: 0px;
	color: #f5f5f5;
	font-weight: normal;
	line-height: normal;
	text-indent: 0px;
	}
h1.home {
	margin-top: 8px;
	margin-left: 25px;
	font-size: 80px;
	}
h1.about {
	margin-top: 14px;
	margin-left: 25px;
	font-size: 70px;
	}
h1.current {
	margin-top: 18px;
	margin-left: 25px;
	font-size: 40px;
	line-height: 40px;
	}
h1.former {
	margin-top: 19px;
	margin-left: 25px;
	font-size: 38px;
	line-height: 40px;
	}
h1.advisory {
	margin-top: 30px;
	margin-left: 25px;
	font-size: 46px;
	}
img.pageHeadingImage {
	position: absolute;
	bottom: 6px;
	left: 6px;
	behavior: url('http://www.mattwreford.com/iepngfix.htc');
	}
ul.siteNavigation {
	position: absolute;
	bottom: 0px;
	right: 0px;
	/*Width for good ol' IE6*/
	width: 590px;
	}
ul.siteNavigation li {
	float: left;
	width: 118px;
	height: 32px;
	text-align: center;
	overflow: hidden;
	}
ul.siteNavigation li a {
	float: left;
	width: 118px;
	height: 24px;/*height+padding*/
	padding-top: 8px;
	color: #b9b5c1;
	background-color: #2e2b34;
	font-size: 14px;
	font-weight: bold;
	line-height: normal;
	letter-spacing: normal;
	text-decoration: none;
	background-image: url('./images/tab.png');
	background-repeat: no-repeat;
	background-position: top center;
	}
ul.siteNavigation li a.doubleLine {
	height: 31px;/*height+padding*/
	padding-top: 1px;
	font-size: 12px;
	letter-spacing: 0.1em;
	}
ul.siteNavigation li a:hover {
	color: #f5f5f5;
	background-color: #2e2b34;
	background-position: bottom center;
}
ul.siteNavigation li a.active, ul.siteNavigation li a.active:hover {
	color: #2e2b34;
	background-color: #f5f5f5;
	background-image: url('./images/tab-active.png');
	}
div.content {
	margin-top: 28px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 28px;
	padding-top: 14px;
	padding-bottom: 14px;
	width: 85%;
	border-top-color: #2e2b34;
	border-top-style: dotted;
	border-top-width: 1px;
	border-bottom-color: #2e2b34;
	border-bottom-style: dotted;
	border-bottom-width: 1px; 
	}
div.contentHome {
	background-image: url('./images/body-rightpane.png');
	background-position: top left;
	background-repeat: no-repeat;
	behavior: url('http://www.mattwreford.com/iepngfix.htc');
	height: 570px;/*Fixed height, therefore we need overflow hidden*/
	overflow: hidden;
	}
div.contentHome .content {
	padding-top: 28px;
	padding-bottom: 28px;
	}
p.mattRule {
	font-family: "Times New Roman", Times, serif;
	font-size: 2.2em;
	font-style: italic;
	line-height: 1.1em;
	padding-top: 0.7em;
	padding-bottom: 0.7em;
	text-indent: 0px;
	text-align: left;
	}
/*p.rule1 {
	text-indent: 0px;
	text-align: left;
	margin-right: 2em;
	}
p.rule2 {
	text-indent: 0em;
	text-align: center;
	margin-left: 1em;
	margin-right: 1em;
	}
p.rule3 {
	text-indent: 0em;
	text-align: right;
	margin-left: 2em;
	}*/
p.footerText {
	margin-top: 36px;
	text-align: center;
	font-size: 0.8em;
	}
div.leftPaneImage {
	margin-top: 42px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 28px;
	text-align: center;
	}
div.leftPanePageList {
	width: 280px;
	margin-top: 42px;/*28+14*/
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 28px;
	}
img.titleImage {
	}
div.pageLink {
	margin-top: 3px;
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 3px;
	display: inline;/*Fix IE6*/
	float: left;
	width: 128px;
	height: 69px;
	overflow: hidden;
	border-color: #1a1720;
	border-style: solid;
	border-width: 1px;
	}
div.pageLink a {
	display: block;
	width: 128px;
	height: 69px;
	line-height: 72px;
	font-weight: bold;
	font-size: 14px;
	background-color: #FFFFFF;
	text-align: center;
	overflow: hidden;
	}
div.webDesignLink {
	position: absolute;
	bottom: 34px;
	left: 8px;
	}
div.webDesignLink p {
	text-indent: 0px;
	}
div.webDesignLink a  {
	color: #b9b5c1;
	}
div.webDesignLink a:hover {
	color: #f5f5f5;
	}
img.transparentPNG {
	behavior: url('http://www.mattwreford.com/iepngfix.htc');
	}
.entry {
	clear: both;
	}
div.contactLink {
	position: absolute;
	bottom: 10px;
	right: 2%;
	width: 150px;
	height: 58px;
	overflow: hidden;
	}
div.contactLink a {
	font-size: 14px;
	font-weight: bold;
	line-height: normal;
	letter-spacing: normal;
	color: #b9b5c1;
	}
div.contactLink a span {
	line-height: 50px;
	padding-left: 6px;
	}
div.contactLink a:hover {
	color: #f5f5f5;
	}
img.contactIcon {
	float: left;
	}
/*Contact form*/
#gb_form_div {
	width : 502px;
	margin: 0px auto;
	}
#gb_form fieldset {
	margin: 0px;
	padding: 6px;
	border-color: #1a1720;
	border-style: solid;
	border-width: 1px;
	}
#gb_form #formwrap {
	/*padding: 0px;*/
	}
#gb_form #message {
	width: 454px;
	}
p.creditline {
	visibility: hidden;
	}
#gb_form legend {
	color: #1a1720;
	}