@import "reset.css";
 
body {
	font: 75%/1.3em "lucida grande",tahoma,verdana,arial,sans-serif;
	color: #444;
	background: #ccc url(../images/tile.gif) repeat-y center ; }
 
/* global */
a:link, a:active, a:visited {
	color: #000;
	text-decoration: none; }
 
a:hover { color: #b6005b; }
 
.left {
	width: 49.9%;
	float: left;
	display: inline; }
 
.right {
	width: 49.9%;
	float: right;
	display: inline;
	text-align: right; }
 
em { font-style: normal; }
 
.ib {
	display: inline-block;
	display: -moz-inline-box;
	-moz-box-orient: vertical;
	vertical-align: top;
	zoom: 1;
	*display: inline; }
 
.block:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden; }
 
* html .block { height: 1%; }
 
*:first-child+html .block { min-height: 1px; }


/* STANDARD QUOTES */

q { quotes: "\201C" "\201D" "\2018" "\2019"; }
q:lang(sv) { quotes: '\201D' '\201D' '\2019' '\2019'; }
q:lang(da) { quotes: '\00BB' '\00AB' '\203A' '\2039'; }

q:before { content: open-quote; }
q:after  { content: close-quote; }

/* SAFARI SUPPORT */

q:before   { content: '\201C'; }
q:after    { content: '\201D'; }
q q:before { content: '\2018'; }
q q:after  { content: '\2019'; }

/* BLOCKQUOTES */

blockquote * { quotes: none; }
blockquote > p:before { content: '\201C'; }
blockquote > p:after  { content: '\201D'; }
blockquote q:before   { content: '\2018'; }
blockquote q:after    { content: '\2019'; }


 
/* structure */
#root {
	width: 960px;
	margin: 0 auto; }
 
#header {
	border-bottom: 2px solid #5EA6D4;
	padding: 15px; }
 
/* header */
#logo, .tollfree, .tagline {
	float: left;
	width: 33%;
	text-align: center; }
 
#logo a {
	background: url(../images/logo.gif) no-repeat;
	width: 291px;
	height: 66px;
	float: left;
	text-indent: -1000em; }
 
.tollfree, .tagline {
	font-family: Arial, Times;
	font-size: 18px;
	line-height: 1.2; }
 
.tollfree {
	font-size: 22px;
	line-height: 1.4;
	color: #777; }
 
/* nav */
#nav ul { padding: 15px; }
 
	#nav ul li {
		width: 25%;
		float: left;
		font-family: Arial, Times;
		font-size: 16px;
		line-height: 1.4; }
 
		#nav ul li.about { background-color: #006699; }
 
		#nav ul li.apply { background-color: #990000; }
 
		#nav ul li.timeline { background-color: #516D32; }
 
		#nav ul li.contact { background-color: #006699; }
 
		#nav ul li.active {
			padding: 0 0 20px;
			background-image: url(../images/tab_active.gif);
			background-repeat: no-repeat;
			background-position: bottom center; }
 
		#nav ul li a {
			display: block;
			padding: 15px;
			border-right: 1px solid #ddd;
			color: #ddd; }
 
		#nav ul li.active a, #nav ul li a:hover { color: #fff; }
 
		#nav ul li:last-child a { border: 0; }
 
		#nav ul li em {
			font-weight: bold;
			display: block; }
			
a.live-chat {
 float: right;   
 background: #069;
 width: 232px;
 margin-right: 17px;
 color: #fff;
 padding: 5px 0;
 text-align: center;
 text-transform:uppercase;
 font-weight: bold;
 position: relative;
 margin-top: -25px;
 margin-bottom: 15px;
}			
 
/* container */
#container { padding: 0 30px; }
 
	#container h2 {
		font-size: 26px;
		font-family: Arial, Times;
		font-weight: normal;
		line-height: 1.2;
		padding: 0 0 10px;
		clear: right; }
 
		#container h2 em {
			font-size: 30px;
			font-weight: bold;
			display: block; }
 
	#container.apply h2 { color: #E40000; }
 
		#container.apply h2 em { color: #990000; }
 
	#container.about h2, #container.contact h2 { color: #4888D2; }
 
	#container.about h2 em, #container.contact h2 em { color: #006699; }
 
	#container.timeline h2 { color: #83A162; }
 
		#container.timeline h2 em { color: #516D32; }
 
	#container p {
		padding: 0 0 10px;
		line-height: 1.5; }
 
.col-a, .col-b {
	float: left;
	width: 49%; }
 
.col-b { float: right; }
 
/* footer */
#footer {
	text-align: center;
	color: #999;
	border-top: 1px solid #ddd;
	margin: 40px 0 0;
	padding: 25px; }
 
	#footer p { padding: 0 0 10px; font-size: 11px; }
	
#footer .left {
    text-align: left;
    padding-top: 23px;
}
#footer .right {
}	
 
/* application form */
.application-form fieldset {
	border: 1px solid #ddd;
	padding: 15px;
	margin: 0 0 15px; }
 
	.application-form fieldset legend {
		font-family: Arial, Times;
		font-weight: bold;
		font-size: 16px;
		margin: 0;
		padding: 0 5px; }
 
	.application-form fieldset .field {
		width: 100%;
		overflow: hidden;
		padding: 2px 0; }
 
		.application-form fieldset .field label {
			width: 140px;
			float: left;
			text-align: right;
			padding: 3px 0;
			padding-right: 10px; }
 
		.application-form fieldset .field.req label { font-weight: bold; }
 
		.application-form fieldset .field.block label {
			float: none;
			display: block;
			width: 100%;
			text-align: left; }
 
		.application-form fieldset .field input.text { width: 220px; }
 
		.application-form fieldset .field.block textarea { width: 99%; }
 
	.application-form fieldset p.note {
		font-style: italic;
		color: #999;
		margin: 10px 0 0;
		display: block; }
 
	.application-form fieldset .field.inline {
		float: left;
		width: 50%; }
 
	.application-form fieldset.rates table {
		text-align: left;
		width: 100%; }
 
		.application-form fieldset.rates table th, .application-form fieldset.rates table td { border: 1px solid #ddd; }
 
		.application-form fieldset.rates table th { padding: 5px 10px; }
 
		.application-form fieldset.rates table td {
			padding: 5px 10px;
			color: #990000;
			font-weight: bold; }
 
.application-form .action {
	padding: 15px;
	background: #eee;
	border: 1px solid #ddd; }
 
/* timeline */
.timeline ul { margin: 15px; }
 
	.timeline ul li {
		list-style: outside disc;
		margin: 5px 25px;
		line-height: 1.4; }
 
		.timeline ul li:first-child {
			list-style: none;
			margin: 5px ; }
 
		.timeline ul li h4 {
			font-family: Arial, Times;
			font-size: 16px;
			font-weight: bold; }
 
/* contact */
.contact address {
	float: left;
	width: 23%;
	padding: 10px 0;
	margin: 0 15px 0 0;
	font-style: normal;
	line-height: 1.5; }
 
	.contact address strong { font-size: 14px; }
	


a.mortgageCalc {
    display: block;
    background: url('../images/ico_mortgageCalc.png') no-repeat;
    height: 32px;
    line-height: 32px;
    padding-left: 35px;
    color: #006699;
    font-size: 15px;
    font-weight: bold;
    text-decoration:underline;
    margin: 0 0 15px;
}
a.mortgageCalc:hover {
    text-decoration:none;
}

.testimonial {
    border: 1px solid #ddd;
    padding: 12px;   
    width: 45%;
    text-align: left;
    clear: right;
    color: #990000;
    margin: 0 0 10px;
    font-size: 11px;
}

#mortgage_calc_form {
    display: none;
    z-index: 99999;
    position: absolute;
    top: 100px;
    left: 100px;
    border: 2px solid black;
    background-color: #CCCCCC;
    padding: 10px;
}
#mortgage_calc_form a { color: red; }
