
img {
	border: none;
}
body {
	margin: 0 auto;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	font-size: 8pt;
}

/*
 *  This element surrounds all elements on the body of the mortgage form and
 *     is has been implemented here for convenience
 *
 */
#form-container {
	margin: 0 auto;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	font-size: 8pt;
	width: 475px;
}

/*
 *  Standard links
 */
a {
	color: #0000a5;
	text-decoration: underline;
}

/*
 *  Unordered lists
 */
ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
ul li {
	background: url("/lib/img/bluearrow.gif") 5px 5px no-repeat;
	margin: 0;
	padding-left: 18px
}


/*
 *  Section headers
 */
h3 {
	color: #000;
	font-size: 12pt;
	font-weight: bold;
	border-top: black solid 1px;
	border-bottom: black solid 1px;
	padding: 2px 8px 2px 8px;
	text-align: center;
}

/*
 *  Standard paragraphs
 */
p, .pgph_style {
	font-family:Verdana;
	color: #000;
	font-size: 8pt;
}

/*
 *  Unordered lists
 */
h2 {
	margin: 10px 60px 10px 60px;
	color: #676767;
	font-weight: normal;
	font-size: 14pt;
}

/*
 *  Form elements
 */
input, select {
	vertical-align: middle;
	font-family: Arial, sans-serif;
	font-size: 10px;
}

textarea {
	vertical-align: top;
	font-family: Arial, sans-serif;
	font-size: 10px;
}


/*
 *  mortgage and user details table
 */
table.reg {
	border: solid 1px #888888;
	margin: 5px 0 10px 0;
	width: 100%;
}
table.reg th {
	border-style: solid;
	border-width: 0 0 1px 0;
	border-color: #888888;
	font-size: 8pt;
	font-weight: bold;
	margin: 0;
	padding: 2px 10px 2px 10px;
	background-color: #888888;
	color: white;
	text-align: center;
}
table.reg td {
	padding: 2px 10px 2px 10px;
	font-family: Verdana;
	color: #000;
	font-size: 11px;
}
table.reg td p, table.reg td table, table.reg td blockquote {
	font-weight: normal;
	margin: 5px;
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	font-size: 11px;
}


/*
 *  most of the form field titles are of the wide class. 
 *     you can tweak them here.
 */
label.wide, label.medium {
	clear: left;
	display: block;
	float: left;
	padding: 2px;
	font-weight: bold;
}
label.wide {
	width: 175px;
}
label.medium {
	width: 70px;
}

/*
 *  if submission fails because of a required value failure, it will be 
 *     re-presented with the offending title placed in a span of class error.
 *     You can change its appearence here.
 */
.error {
	color: white;
	background-color: red;
}

/*
 *  Required elements are highlighted by an asterisk within a span of class req.
 */
.req {
	color: red;
	font-family: Courier;
	padding: 0 2px 0 2px;
	font-weight: normal;
}

/*
 *  Visited link colour.
 */
a:visited, {
	color: #7e1577;
}


/* postcode popup elements */
h3.pcodefinder {
	font-size: 11px;
}
a.pcodefinder {
	font-weight: normal;
	text-decoration: underline;
	font-size: 9px;
}
tr.pcodefinder, th.pcodefinder, td.pcodefinder, p.pcodefinder {
	font-family: Verdana, Helvetica, sans-serif;
	font-size: 9px;
	font-weight: normal;
	text-decoration: none;
	color: black;
}
th.pcodefinder {
	font-weight:bold;
}
table.pcodefinder {
	padding: 4px;
	width: 100%;
}
/* end postcode popup */

.ea_button {font-size:16pt;}


form
{
	/*background: url(/lib/img/new/bg/dots_h.gif) repeat-x;*/
	margin: 0px;
	padding: 0px;
	width: 475px;
	text-align: left;
}

fieldset
{
	border: 0;
	background: #ffffff;
	margin: 0px 0px 5px 0px;
	padding: 0 5px 15px 5px;
}

fieldset h2
{
	margin: 12px 2px 7px 2px;
	padding: 0px !important;
}

input, select, textarea
{
	font-family: Arial, Verdana;
	font-size: 11px;
	color: #333333;
	float: left;
}

label
{
	padding: 4px 9px 2px 3px;
	font-weight: normal;
	font-size: 11px;
	color: #333333;
	display: block;
	width: 38%;
	float: left;
}

/*--------------------------------------------------------------
LAYOUT CLASSES
--------------------------------------------------------------*/

.form_row
{
	padding: 4px;
	background: url(/lib/img/new/bg/dots_h.gif) repeat-x;
}
html > body .form_row
{
	overflow: auto;
}
* html .form_row
{
	height: 1%;
}

.form_row span{
	
	float:left;
	display:block;
	padding:3px 5px 0 5px;
}

.error label
{
	color: #990000;
}

.error input[type='text'], .error input[type='password']
{
	border-color: #990000;
	border-width: 1px;
}

.error select{
	border: 1px solid #990000;
}

div.error_msg
{
	color: #990000;
	font-size: 9px;
	clear:left;
	margin-left:8px;
}

div.msg
{
	font-size: 9px;
	clear:left;
	margin-left:8px;
}

label.required
{
	background: url(/lib/img/new/icons/req.gif) no-repeat 0px 4px;
}

.prompt
{
	border: solid #d3d3d3;
	border-width: 1px 1px 0 1px;
	padding: 5px;
	margin: 5px 0px 0px 0px;
}

.form_row_checkbox label
{
	width: 90%;
}

label.radio
{
	width: auto !important;
	display: inline;
	font-weight: normal !important;
}

.form_row_buttons
{
	padding: 10px;
}

.form_header
{
	background-color: #dddddd !important;
}
.form_header h4
{
	margin: 0px !important;
	padding: 2px !important;
	color: #000000;
}

/*--------------------------------------------------------------
FORM FOOTER
--------------------------------------------------------------*/

.form_footer
{
	border: 1px solid #d3d3d3;
	padding: 5px;
	overflow: auto;
}


.form_footer .form_row
{
	background: none !important;
	padding-top: 0px;
	padding-bottom: 2px;
}

.form_footer label
{
	font-size: 80%;
}

.form_footer .prompt
{
	background: url(/lib/img/new/bg/dots_h.gif) repeat-x bottom left;
	border: none;
	padding: 2px 2px 10px 2px;
}


/*--------------------------------------------------------------
CONTROL CLASSES
--------------------------------------------------------------*/

.input
{
	border: 1px solid #aaaaaa;
	background: white url(/lib/img/new/forms/input.gif) repeat-x;
	padding: 1px;
	width: 37%;
}

.largeinput
{
	border: 1px solid #aaaaaa;
	background: white url(/lib/img/new/forms/input.gif) repeat-x;
	padding: 1px;
	width: 49%;
}


.button, .button_large
{
	font-weight: bold;
	float: right;
}

.button_large
{
	font-size: 14px;
	padding:3px 10px;
}

.vertical
{
	float: none;
	width: auto;
}