/*

Affinity Financial Management - Global Stylesheet
Handwritten by Oliver Coningham (www.spongenewmedia.co.uk)
http://www.affinityfinancial.co.uk/

*/

																					/* ------------ Toolbox ------------ */

.float-left { float: left; }
.float-right { float: right; }
.align-right { text-align: right; }
.cleared { clear: both; }
.hide { display: none; }
.smaller { font-size: 90%; }
.larger { font-size: 110%; }
.normal { font-weight: normal; }

hr { display: none; }
strong { font-weight: bold; }

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
	}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

																					/* ------------ Defaults ------------ */

body {
	background: #333 url('../images/layout/body-bg.jpg') repeat-x 0 -15px;
	color: #2c320c;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.75em;
	line-height: 1.45em;
	margin: 0;
	padding: 15px 0;
	}

#skip { 
	display: block;
	height: 100px;
	margin-top: -100px; 
	}

#container { 
	background: #fff url('../images/layout/container-bg.jpg') no-repeat top right;
	margin: auto;
	padding: 30px;
	position: relative;
	width: 680px; 
	}
	
																					/* ------------ Branding ------------ */
																					
#branding { 
	height: 93px;
	margin-bottom: 30px;
	width: 680px; 
	}
	
#branding h1 a {
	background: #fff url('../images/layout/h1-bg.gif') no-repeat 0 0;
	display: block;
	float: left;
	height: 93px;
	text-indent: -25000px;
	width: 285px;
	}
	
#branding form { 
	float: right;
	height: 30px;
	margin-top: 31px; 
	text-align: right;
	vertical-align: middle;
	}
	
#branding form select { 
	background: #e5e5e5 url('../images/layout/branding-select-bg.gif') no-repeat 0 0;
	border: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	margin: 0 5px;
	padding: 6px;
	vertical-align: middle;
	width: 176px;
	}
	
#branding form #btn-go { 
	vertical-align: middle;
	}
	
																					/* ------------ Sidebar ------------ */
																					
#sidebar { 
	float: left;
	margin-right: 21px;
	width: 182px; 
	}

#sidebar p { 
	margin-bottom: 1.2em;
	}
	
#sidebar #call { 
	background: #fff url('../images/layout/call-bg.gif') no-repeat 0 0;
	height: 14px;
	margin-bottom: 30px;
	overflow: hidden;
	text-indent: -25000px;
	width: 182px; 
	}

																					/* ------------ Navigation ------------ */
																					
#nav {
	margin-bottom: 25px;
	text-indent: -25000px;
	width: 182px; 
	}

#nav li {
	margin-bottom: 1px;
	}
					
#nav a {
	display: block;
	height: 30px;
	width: 182px;
	}
	
#nav a:hover {
	background-position: 0 -30px;
	}

#nav-home { background: url('../images/layout/nav-home.gif') no-repeat 0 0; }
#nav-contact { background: url('../images/layout/nav-contact.gif') no-repeat 0 0; }
#nav-residential { background: url('../images/layout/nav-residential.gif') no-repeat 0 0; }
#nav-commercial { background: url('../images/layout/nav-commercial.gif') no-repeat 0 0; }
#nav-insurances { background: url('../images/layout/nav-insurances.gif') no-repeat 0 0; }
#nav-family { background: url('../images/layout/nav-family.gif') no-repeat 0 0; }
#nav-com-insurances { background: url('../images/layout/nav-com-insurances.gif') no-repeat 0 0; }
#nav-offset { background: url('../images/layout/nav-offset.gif') no-repeat 0 0; margin-top: 1px; }
#nav-first { background: url('../images/layout/nav-first.gif') no-repeat 0 0; }
#nav-remortgage { background: url('../images/layout/nav-remortgage.gif') no-repeat 0 0; }
#nav-professional { background: url('../images/layout/nav-professional.gif') no-repeat 0 0; }
#nav-buy { background: url('../images/layout/nav-buy.gif') no-repeat 0 0; }
#nav-remortgages { background: url('../images/layout/nav-remortgages.gif') no-repeat 0 0; margin-top: 1px; }
#nav-dentists { background: url('../images/layout/nav-dentists.gif') no-repeat 0 0; }
#nav-buildings { background: url('../images/layout/nav-buildings.gif') no-repeat 0 0; margin-top: 1px; }
#nav-life { background: url('../images/layout/nav-life.gif') no-repeat 0 0; }
#nav-accident { background: url('../images/layout/nav-accident.gif') no-repeat 0 0; }
#nav-family { background: url('../images/layout/nav-family.gif') no-repeat 0 0; }
#nav-life-family { background: url('../images/layout/nav-life-family.gif') no-repeat 0 0; margin-top: 1px; }
#nav-income { background: url('../images/layout/nav-income.gif') no-repeat 0 0; }
#nav-critical { background: url('../images/layout/nav-critical.gif') no-repeat 0 0; }
#nav-key { background: url('../images/layout/nav-key.gif') no-repeat 0 0; margin-top: 1px; }

#home #nav-home,
#contact #nav-contact,
#residential #nav-residential,
#commercial #nav-commercial,
#insurances #nav-insurances,
#family #nav-family,
#com-insurances #nav-com-insurances,
#offset #nav-residential,
#offset #nav-offset,
#first #nav-residential,
#first #nav-first,
#remortgage #nav-residential,
#remortgage #nav-remortgage,
#professional #nav-residential,
#professional #nav-professional,
#buy #nav-residential,
#buy #nav-buy,
#remortgages #nav-commercial,
#remortgages #nav-remortgages,
#dentists #nav-commercial,
#dentists #nav-dentists,
#life #nav-insurances,
#life #nav-life,
#buildings #nav-insurances,
#buildings #nav-buildings,
#accident #nav-insurances,
#accident #nav-accident,
#family #nav-family,
#life-family #nav-family,
#life-family #nav-life-family,
#income #nav-family,
#income #nav-income,
#critical #nav-family,
#critical #nav-critical,
#key #nav-com-insurances,
#key #nav-key {
	background-position: 0 -30px;
	}

																					/* ------------ Subnav ------------ */
																					
#subnav-residential,
#subnav-commercial,
#subnav-insurances,
#subnav-family,
#subnav-com-insurances { 
	display: none; 
	}

#residential #subnav-residential,
#offset #subnav-residential,
#first #subnav-residential,
#remortgage #subnav-residential,
#professional #subnav-residential,
#buy #subnav-residential { 
	display: block; 
	}

#commercial #subnav-commercial,
#remortgages #subnav-commercial,
#dentists #subnav-commercial { 
	display: block; 
	}

#insurances #subnav-insurances,
#buildings #subnav-insurances,
#life #subnav-insurances,
#accident #subnav-insurances { 
	display: block; 
	}
	
#family #subnav-family,
#life-family #subnav-family,
#income #subnav-family,
#critical #subnav-family { 
	display: block; 
	}
	
#com-insurances #subnav-com-insurances,
#key #subnav-com-insurances { 
	display: block; 
	}


																					/* ------------ Content ------------ */
																					
#content { 
	float: left;
	width: 477px; 
	}

#content .list { 
	list-style: disc outside;
	margin: 0 0 1.2em 45px;
	}
#content .list li { 
	padding-bottom: 5px;
	}
			
#content p { 
	margin-bottom: 1.2em;
	}

#content a { 
	color: #82a42c;
	}
#content a:hover { 
	color: #2c320c;
	text-decoration: underline;
	}
		
#content #breadcrumbs { 
	color: #82a42c;
	float: right;
	}
	
#content #breadcrumbs strong { 
	color: #2c320c;
	}
	
#content h2 { 
	border-bottom: 1px solid #2c320c;
	color: #82a42c;
	font-size: 200%;
	font-weight: normal;
	margin-bottom: 15px;
	padding-bottom: 15px;
	width: 477px; 
	}
	
#content h2 strong { 
	color: #2c320c;
	font-weight: normal;
	}

#content h3 { 
	border-bottom: 1px solid #2c320c;
	color: #82a42c;
	font-size: 150%;
	font-weight: normal;
	margin: 30px 0 15px 0;
	padding-bottom: 15px;
	width: 477px; 
	}
	
#content h3 strong { 
	color: #2c320c;
	font-weight: normal;
	}

#content h4 { 
	color: #576a1c;
	font-size: 130%;
	font-weight: normal;
	margin: 15px 0 15px 0;
	width: 477px; 
	}
			
#content #content-links {
	border-top: 1px solid #82a42c;
	padding-top: 15px;
	width: 477px;
	}

#content #content-links a {
	text-decoration: none;
	}
#content #content-links a:hover {
	text-decoration: underline;
	}
		
#content #content-links ul {
	float: right;
	}
		
#content #content-links li {
	background: url('../images/layout/line.gif') no-repeat 0 4px;
	float: left;
	margin-left: 5px;
	padding-left: 5px;
	}
	
#content #content-links .remove {
	background: none;
	margin-left: 0;
	padding-left: 0;
	}

																					/* ------------ Features ------------ */
																					
#features { 
	float: right;
	height: 127px;
	margin: 10px -9px -9px 0;
	text-indent: -25000px;
	width: 495px; 
	}

#features #feature-1 {
	margin-right: -3px;
	}
	
#features dl { 
	float: left;
	height: 127px;
	width: 249px; 
	}	

#features dt a { 
	display: block;
	height: 39px;
	width: 249px; 
	}
#features dt a:hover { 
	background-position: 0 -39px;
	}
	
#features dd a { 
	display: block;
	height: 88px;
	width: 249px; 
	}

#feature-1 dt a { 
	background: url('../images/layout/feature-1-dt-bg.gif') no-repeat 0 0;
	}	
#feature-1 dd a { 
	background: url('../images/layout/feature-1-dd-bg.jpg') no-repeat 0 0;
	}	

#feature-2 dt a { 
	background: url('../images/layout/feature-2-dt-bg.gif') no-repeat 0 0;
	}	
#feature-2 dd a { 
	background: url('../images/layout/feature-2-dd-bg.jpg') no-repeat 0 0;
	}	

																							/* ------------ Footer ------------ */
																					
#footer { 
	color: #999;
	margin: auto;
	padding: 20px 0 0 0;
	width: 740px;
	}

#footer p { 
	margin-bottom: 1em;
	}

#footer li { 
	list-style: disc outside;
	margin: 1em 0 0 30px;
	}
			
#footer a { 
	color: #999;
	text-decoration: none;
	}
#footer a:hover { 
	color: #fff;
	text-decoration: underline;
	}
	
#footer #copyright { 
	float: left;
	}
	
#footer #footer-links { 
	float: right;
	}
	
#footer #footer-links li { 
	background: url('../images/layout/grey-line.gif') no-repeat 0 4px;
	float: left;
	list-style: none;
	margin: 0 0 0 5px;
	padding-left: 7px;
	}
	
#footer #footer-links .remove {
	background: none;
	margin-left: 0;
	padding-left: 0;
	}
	
#footer #small-print { 
	margin-bottom: 1em;
	}
