@charset "UTF-8";
/* CSS Document  */

/*

Organized by:

Typography
Layout
Navigation
Forms and Tables
Misc.

*/



/* Typography
------------------------------------------------------------------------------ */

body {
	color: #646245;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	line-height: 1.125em;  
	}
	
a, a:visited { 
	color: #231F20;
	font-weight: bold;
	text-decoration: none; 
	}
	
a:hover { text-decoration: underline; }
	
h4 { 
	color: #003366;
	font-size: 0.9375em;
	}
	
h5 { 
	font-size: 0.75em; 
	font-weight: normal;
	}

#sidebar h1, h2, h3 { 
	overflow: hidden;
	text-indent: -9000px; 
	}
	
#header li a {
	font-size: 0.9375em;
	font-weight: bold;
	}

#content p { font-size: 0.6875em; }

#footer p { font-size: 0.6875em; }

input, textarea { font-family: Arial, Helvetica, sans-serif; }

.bold { font-weight: bold; }

.gold { color: #AA8855; }

.blue { color: #003366; }


/* Layout
------------------------------------------------------------------------------ */

body { 
	margin: 0; 
	/*background: #a4a8a2 url(../img/bg_gradient.gif) repeat-x top left; */
	/*background: #8F855B url(../img/bg_gradient.gif) repeat-x top left;*/
	background: #cecfd1
	}

#container {
	background: #cecfd1;
	width: 840px;
	margin: 42px auto 76px auto;
	}
	
#sidebar {
	float: left;
	width: 150px;
	}
	
#main {
	float: left;
	width: 840px;
	background-color: #FFF;
	border-left: 1px solid #FFF;
	border-right: 1px solid #FFF;
	padding-left: 7px;
	padding-right: 7px;
	}
	
#header { 
	position: relative;
	width: 840px;
	height: 200px;
	clear: both;
	}
	
body#home #header { height: 470px; }
	
#content {
	width: 798px;
	padding: 20px 21px 0;
	}
	
#footer {
	clear: both;
	margin: 0 20px;
	padding: 10px 0;
	border-top: 1px solid #D9E0E0;
	background-color: #FFF;
	}
	
body#home #content { 
	margin-top: 20px;
	padding-top: 0;
	background: url(../img/bg_content.gif) repeat-y top left; 
	}
	
body#home #footer { border: none; }
	
#primary-content, #secondary-content, #tertiary-content { float: left; }

.two-col-layout #primary-content {
	width: 512px;
	padding-right: 20px;
	}
	
#form-content {
	width: 798px;
	padding-right: 20px;
	}

.two-col-layout #secondary-content { width: 266px; }
	
.three-col-layout #primary-content { width: 266px; }

.three-col-layout #secondary-content {
	width: 246px;
	padding: 0 10px;
	}

.three-col-layout #tertiary-content {
	width: 246px;
	padding-left: 20px;
	}
	
#map {
	width: 243px;
	height: 387px;
	}
	
h2 {
	width: 798px;
	height: 45px;
	border-bottom: 1px solid #D9E0E0;
	}
	
h2.title-about { background: url(../img/title_about_riviera.png) no-repeat top left; }
h2.title-downloads { background: url(../img/title_financial_resources.png) no-repeat top left; }
h2.title-contact { background: url(../img/title_contact_riviera.png) no-repeat top left; }
h2.title-professionals { background: url(../img/title_loan_professionals.png) no-repeat top left; }
h2.title-management { background: url(../img/title_executive_management.png) no-repeat top left; }
h2.title-apply { background: url(../img/title_apply_riviera.png) no-repeat top left; }
h2.title-tools { background: url(../img/title_tools_riviera.png) no-repeat top left; }
h2.title-calculator { background: url(../img/title_calculator_riviera.png) no-repeat top left; }

h3 {
	width: 221px;
	height: 15px;
	}

h3.subtitle-about { background: url(../img/subtitle_about_riviera.png) no-repeat top left; }
h3.subtitle-downloads { background: url(../img/subtitle_financial_resources.png) no-repeat top left; }
h3.subtitle-contact { background: url(../img/subtitle_contact_riviera.png) no-repeat top left; }

h4 { margin: 0 0 5px; }

h5 { margin: 5px 0 0; }
	
#sidebar h1 {
	width: 125px;
	height: 180px;
	margin: 20px auto;
	background: /* url(../img/logo.gif) */ no-repeat top left;
	}
	
#sidebar h1 a {
	display: block;
	width: 125px;
	height: 180px;
	background: /* url(../img/logo.gif) */ no-repeat top left;
	}
	
#sidebar h1 a:hover { background: /* url(../img/logo.gif) */ no-repeat top right; }

body#home #sidebar h1 { margin: 300px auto; }
body#home #sidebar h1, body#home #sidebar h1 a { background: /* url(../img/logo_home.gif) */ no-repeat top left; }
body#home #sidebar h1 a:hover { background: /* url(../img/logo_home.gif) */ no-repeat top right; }

#header img { vertical-align: top; }

#content p { margin-top: 0; }
	
	

/* Navigation
------------------------------------------------------------------------------ */

#nav-bar {
	position: absolute;
	left: 0;
	top: 171px;
	}
	
body#home #nav-bar { top: 426px; }

#nav-bar, #nav-bar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	}
	
#nav-bar li { 
	float: left; 
	width: 280px;
	}
	
#nav-bar a {
	display: block;
	width: 280px;
	height: 29px;
	text-indent: -9000px;
	overflow: hidden;
	}
	
#nav-bar li a:hover {
	background-color: #FFF;
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	opacity: 0.5;
	}

#nav-bar li ul {
	position: absolute;
	width: 280px;
	left: -9000px;
	}

#nav-bar li:hover ul, #nav-bar li.sfhover ul { left: auto; }

#nav-bar ul a {
	width: 255px;
	height: 20px;
	background: #6A6E68 url("/img/small_arrow.gif") no-repeat 15px 50%;
	/*background: #B3A97F url("/img/small_arrow.gif") no-repeat 15px 50%;*/
	text-indent: 0;
	padding: 5px 0 0 25px;
	color: #FFF;
	font: 0.7em Arial, Helvetica, sans-serif;
	letter-spacing: 0.1em;
	border-top: 1px solid #FFF;
	}
	
#nav-bar ul a:hover { 
	background-color: #BDBDBD;
	text-decoration: none;
	filter:alpha(opacity=100);
	-moz-opacity: 1.0;
	opacity: 1.0;
	}

.nav-company { background: url(../img/nav_company.gif) no-repeat 20px 50%; }
.nav-downloads { background: url(../img/nav_downloads.gif) no-repeat 20px 50%; }
.nav-contact { background: url(../img/nav_contact.gif) no-repeat 20px 50%; }



/* Forms and Tables
------------------------------------------------------------------------------ */

.contact { 
	margin-top: 10px;
	margin-left: 10px; 
	}

.contact label {
	display: block;
	float: left;
	width: 65px;
	margin-right: 10px;
	text-align: right;
	}
	
.contact input {
	width: 135px;
	padding: 2px;
	}
	
.contact textarea { 
	width: 135px;
	height: 206px;
	padding: 2px; 
	overflow: auto;
	border: 1px solid #C7C7C7;
	background-color: #F2F2F2; 
	}
	
.contact input.btn-submit {
	display: block;
	width: 78px;
	height: 28px;
	margin: 20px 0 20px 75px;
	padding: 0;
	border: none;
	}
	

label.label_description {
	display: block;
	width: 250px;
	float: left;
	text-align: right;
	padding-right: 20px;
	font-weight: bold;	
	}

input.text_input {
	display: block;
	width: 250px;
	float: left;
	margin-bottom: 10px;
	}

label.radio_labels {
	display:inline;
	text-align: left;
	width:130px;
	font-weight: normal;
	white-space:nowrap;
	}

.input_radio { padding-right: 50px; }

.apply p { clear: left; }

.apply h4 { clear: left; }

h4.carrot_backing {
	background-color: #edebea;
	padding:10px;
	margin-top: 15px;
	margin-bottom: 15px;
	}



/* Misc.
------------------------------------------------------------------------------ */

.left { float: left; }

.right { float: right; }

.inline { display: inline; }

iframe { 
	height: 400px;
	width: 266px;
	border: none;
	margin: 0;
	padding: 0; 
	}
iframe.calculator { 
	height: 700px;
	width: 800px;
	border: none;
	margin: 0;
	padding: 0; 
	}
	
a img { border: none; }

#content img.left { margin-right: 10px; }
#content img.right { margin-left: 10px; }

.carrot {
	padding-left: 10px;
	background: url(../img/carrot.gif) no-repeat center left;
	}
	
p.indent {
	padding-left: 10px;
	padding-right: 20px;
	}
#footer p.indent {
	color: #63625A; 
	font-size: 0.6em;
	}
	
.bumper {
	margin-top: 30px;
	margin-bottom: 30px;
	}
	
/* logo_header */
#logo_header { 
	padding-left: 15px; 
	padding-bottom: 12px;
	padding-top: 35px;
}

#logo_header img {
	display: block;
	float: left;
	width: 208px;
	height: 84px;
	margin-bottom: 15px;
}

#logo_header_links {
	float: right;
	padding-top: 36px;
	padding-right: 17px;
}

#newsletter_link {
	background: url('/img/newsletter1.png') no-repeat top left;
	width: 218px;
	height: 22px;
	text-indent: -999em;
	float: right;
	display: block;
	clear: right;
}
#newsletter_link:hover {background: url('/img/newsletter2.png');}

#mortgage_link {
	background: url('/img/current_mortgage_rates_1.png') no-repeat top left;
	width: 267px;
	height: 22px;
	text-indent: -999em;
	float: right;
	display: block;
	clear: right;
}
#mortgage_link:hover {background: url('/img/current_mortgage_rates_2.png');}
