/* Just for inside pages */
/* Straplines on inside pages */
/* The drop-shadow */
p#strap {
	font-size: 300%;
	letter-spacing: -0.1em;
	color: white;
	line-height: 1;
	background: url(/img/bg-puff.png) 0 100%;
	padding: 0 0 15px 0;
	margin: 0 0 0.5em 0;
}
	/* The background graphic */
	#strap span {
		display: block;
		padding: 0 20px 0 368px;
		background: #7792be;
		height: 128px;
	}
	div[id] p#strap span {
		height: auto;
		min-height: 128px;
		padding-top: 10px;
	}
	/* IE7 */
	*:first-child+html p#strap span {
		min-height: 138px;
		padding-top: 0;
	}

/* Call-to-action with right pointing signpost */
#content dl.signpost {
	position: relative;
	margin: 0 0 1em 0;
}
	#content .signpost dt {
		position: absolute;
		top: 0;
		left: 0;
		width: 150px;
		text-align: center;
		color: white;
		background: #025288 url(/img/bg-dt.png) 0 0 no-repeat;
		font-size: 120%;
		font-weight: bold;
	}
		#content .signpost dt a, #content .signpost dt a:visited {
			display: block;
			color: white;
			text-decoration: none;
			margin: 0 10px 0 0;
			padding: 0.9em 0;
		}

	#content .signpost dd {
		margin: 0 0 0 139px;
		border: solid 1px #cfcfcf;
		background: white;
		padding: 10px 20px;
	}
		#content .signpost dd a.action {
			margin-top: 1em;
			float: right;
		}
		

/* Table rules */
caption {
	font-weight: bold;
	color: white;
	background: #025288;
	padding: 0.8em 10px;
	text-align: left;
	border: solid 1px white;
	border-bottom: none;
}
table, td, th {
	font-size: 100%;
	color: #414141;
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	border: solid 1px white;
}
#content table {
	margin: 1em 0 1em 0;
	width: 486px;
}
	th, td {
		padding: 0.5em 10px;
		background: #dbe1e9 url(/img/sprite-table.png) 0 0 no-repeat;
		vertical-align: top;
	}
	.odd th, .odd td {
		background: #ebeff4;
	}
	th {
		text-align: left;
	}
	/* This might need to change, depending on how tables are used. */
	td {
		text-align: center;
	}
	td.l {
		text-align: left;
	}
	td.r {
		text-align: right;
	}
	/* Not a great idea, but at least it limits the colspan width issue */
	.fourcol thead td {
		width: 121px;
		/* I know this maths is wrong (486 / 4), but IE 7 needs it. */
		width: 100px;
	}
	thead th, thead td {
		border-color: #dbe1e9;
		padding-top: 1em;
	}
	thead th {
		color: white;
		background: #ef9221 url(/img/sprite-table.png) -486px 100% no-repeat;
		padding-bottom: 40px;
	}
	thead td {
		color: white;
		background: #6b91bd url(/img/bg-thead-td.png) 50% 100% no-repeat;
		padding-bottom: 50px;
	}
	thead .highlight {
		font-weight: bold;
		color: white;
		background: #025288 url(/img/bg-highlight.png) 50% 100% no-repeat;
		padding-bottom: 30px;
	}
		#content thead a, #content thead a:visited {
			color: white;
		}
		table p {
			margin: 0;
			text-align:center
		}
		table img {
			display: block;
			margin: 0 auto;
		}
		/* Notes */
		table em {
			color: #025288;
			font-size: 85%;
		}
		/* This might need to become a class */
		table strong {
			color: #ef9221;
		}

/* Introduction paragraph */
.intro, intro strong {
	font-size: 130%;
	color: #025288;
	font-weight: normal;
}

/* Form styles */
/* Call-to-action with right pointing signpost */
#content fieldset {
	padding: 0 0 0.5em 0;
	border-bottom: solid 1px #c1c1c1;
	margin: 0 0 1em 0;
}
#content fieldset dl {
	margin: 0 0 0.5em 0;
}
	#content fieldset dt {
		float: left;
		width: 200px;
		text-align: right;
		color: #424242;
	}
		#content fieldset dt label, #content fieldset dt span {
			display: block;
			margin: 0.1em 20px 0 0;
			line-height: 1.2;
		}

	#content fieldset dd {
		float: left;
		width: 286px;
	}
		#content fieldset dd input, #content fieldset dd textarea, #content fieldset dd select {
			width: 180px;
			padding: 0;
			border-color: #ccc;
			float: left;
		}
		/* Focus state */
		#content fieldset dd input:focus, #content fieldset dd textarea:focus,
		#content fieldset dd select:focus {
			background: #ffffc1;
		}
		/* Error state */
		#content fieldset dd input.error, #content fieldset dd textarea.error,
		#content fieldset dd select.error {
			background: #f6dcdc;
			border: solid 1px red;
		}
		/* Error message */
		#content fieldset dd em {
			color: red;
			background: url(/img/bg-validation-error.gif) 5px 3px no-repeat;
			padding: 0.5em 0 0.5em 25px;
			font-style: normal;
			font-size: 80%;
			float: left;
			width: 99px;
		}
		/* Mandatory */
		#content fieldset p em, #content fieldset dt em {
			font-size: 160%;
			color: #ef9221;
			vertical-align: top;
		}
		/* Submit button */
		.action input {
			padding: 0;
			border:none;
		}

/* A list of results - for example, in the Find Your Local Surveyor page */
/* Name */
.resultlist h2 {
	border-top: dotted 1px #666;
	font-weight: bold;
	color: #414141;
	margin: 1em 0 0.4em 0;
	padding: 0.8em 0 0 0;
}
.resultlist h2.first  {
	border: none;
	margin-top: 0;
	padding-top: 0;
}
	.resultlist h2 a {
		color: #414141;
	}
/* Job title */
.resultlist h3 {
	font-weight: normal;
	font-style: italic;
	margin: 0 0 1em 0;
	font-size: 100%;
}
#content .resultlist dl {
	margin: 0;
}
	/* Icon */
	#content .resultlist dt {
		width: 35px;
		float: left;
	}
	#content .resultlist dd {
		float: left;
		width: 451px;
	}
		.resultlist dd strong {
			font-size: 130%;
			color: #025288;
			font-weight: normal;
		}

/* A list of documents or files for download */
div.doclist {
	margin: 0 0 1em 0;
}
.doclist h2 {
	border-top: solid 3px #c1c1c1;
	padding: 0.5em 0 0 0;
	margin-top: 1em;
}
.doclist dl {
	border-bottom: dotted 1px #999;
	padding: 0 20px;
}
.doclist dl.last {
	border: none;
}
	.doclist dt, .doclist dd {
		float: left;
		padding: 0.5em 0;
	}
	.doclist dt {
		width: 343px;
	}
		.doclist dt a {
			text-decoration: none;
		}

	.doclist dd {
		width: 103px;
		text-align: right;
		font-size: 90%;
	}
		.doclist img {
			vertical-align: middle;
		}