/* #####  Presentational elements (header and footer) for the calculators on the hostpage */

/* Wrap the presentation a lot to make the CSS relatively safe from being overwritten
   Wrapped five times, #mlcalc-w[1-5] */

/* Reset a lot of things...... uuugh! */

div#mlcalc-w1,
div#mlcalc-w1 div#mlcalc-w2,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 h2#mlcalc-head,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 p#mlcalc-footer,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 iframe#mlcalc-calc,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 em,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 span,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 a:link,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 a:visited
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 a:hover
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 a:focus
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 a:active {
	margin: 0;
	padding: 0;
	background: transparent none;
	border: none;
	outline: none;
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
	letter-spacing: 0;
	word-spacing: 0;
	white-space: normal;
}

div#mlcalc-w1,
div#mlcalc-w1 div#mlcalc-w2,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 h2#mlcalc-head,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 p#mlcalc-footer
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 iframe#mlcalc-calc {
	display: block;
	width: auto;
	height: auto;
}

div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 em,
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 span {
	display: inline;
}

/* Begin styling */

div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 
div#mlcalc-pres {
	width: 500px;
	border: 1px solid #e0e0e0;
}

div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres 
h2#mlcalc-head {
	position: relative;
	height: 51px;
	padding: 0 50px 0 0;
	background: #e9e9e9 url(../gfx/mortgage-calculators-tool/stack-horz-rep-bgs.png) repeat-x 0 0;
	font: 15px/51px Arial, Helvetica, sans-serif;
	white-space: nowrap;
}
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres 
h2#mlcalc-head em {
	padding-left: 14px;
	color: #314d69;
}
div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres 
h2#mlcalc-head span {
	display: block;
	position: absolute;
	right: 14px;
	bottom: 0;
	width: 22px;
	height: 44px;
	background: url(../gfx/mortgage-calculators-tool/stack-horz-rep-bgs.png) no-repeat 0 -51px;
}

div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres 
p#mlcalc-footer {
	padding: 8px 16px;
	color: #797878;
	background: #eee url(../gfx/mortgage-calculators-tool/stack-horz-rep-bgs.png) repeat-x 0 -133px;
	font: 10px/1 Verdana, Helvetica, Arial, sans-serif;
}
	div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres 
	p#mlcalc-footer a:link,
	div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres 
	p#mlcalc-footer a:visited,
	div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres 
	p#mlcalc-footer a:hover,
	div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres 
	p#mlcalc-footer a:focus,
	div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres 
	p#mlcalc-footer a:active {
		color: #797878;
		font: 10px/1 Verdana, Helvetica, Arial, sans-serif;
		text-decoration: none;
	}

div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres 
iframe#mlcalc-calc {
	width: 100%;
	height: 369px;
	margin-bottom:-4px;
}
* html div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres 
iframe#mlcalc-calc {
	margin-bottom:0px;
}
*+html div#mlcalc-w1 div#mlcalc-w2 div#mlcalc-w3 div#mlcalc-w4 div#mlcalc-w5 div#mlcalc-pres 
iframe#mlcalc-calc {
	margin-bottom:0px;
}


