/* Containers */
#featured_in ul { overflow: hidden; margin: 2px -8px 2px -7px; width: 300px; line-height: 80px; text-align: center; }
#featured_in li { float: left; display: inline; list-style-type: none; margin: 0 10px; width: 80px; text-indent: -999em; }
li#logo_money { background: url(/resources/application/referral/money.png) center center no-repeat; }
li#logo_msnbc { margin-left: 60px; background: url(/resources/application/referral/msnbc.png) center center no-repeat; }
li#logo_bbb { background: url(/resources/application/referral/bbb.png) center center no-repeat; }
li#logo_usa_today { background: url(/resources/application/referral/usa_today.png) center center no-repeat; }
li#logo_upromise { background: url(/resources/application/referral/upromise.png) center center no-repeat; }
li#logo_yahoo { background: url(/resources/application/referral/yahoo.png) center center no-repeat; }
li#logo_msn_money { background: url(/resources/application/referral/msn_money.png) center center no-repeat; }
li#logo_bankrate { background: url(/resources/application/referral/bankrate.png) center center no-repeat; }

/* Typography */
#referralWrapper dt label { font: bold 12px "Trebuchet MS"; }
#referralWrapper .requirement_message, #referralWrapper .security_statement { display: block; margin: 5px 0; }
#referralWrapper .security_statement { margin-bottom: 15px; text-align: center; }
ul#security_statement li { list-style-type: none; }
#featured_in h3 { font-family: Georgia, "Times New Roman", serif; font-size: 13px; color: #be0000; }

h2.call_to_action { background: #fff; margin: -8px -8px 0 -8px; padding: 0 8px 8px 45px; width: 248px; /*position: relative;*/ }
h2.call_to_action span { color: #be0000; display: block; margin-left: -32px; }
h2.call_to_action em { font-style: normal; text-align: left; text-transform: uppercase; }

/* Form */
#referralWrapper { padding: 7px; width: 285px; background: #f1f1e3; border: 2px solid #cccc99; font-family: Arial, Helvetica, sans-serif; color: #000; }
#referralWrapper p#indicator_form_errors { border: 2px dashed #be0000; color: #be0000; font-weight: bold; padding: 10px; text-align: center; }
#referralWrapper legend { display: none; }
#referralWrapper dl { margin-bottom: 10px; width: 98%; }
#referralWrapper dl.configurable { width: 52%; }
#referralWrapper dl.configurable input { width: 95%; }
#referralWrapper dl#estimatedHomeValue { width: auto; margin-top: 10px; }
#referralWrapper dl#zip, #referralWrapper dl#phoneNumberField { clear: left; }
#referralWrapper dl.phone input[size="5"] { margin-left: -4px; }
#referralWrapper dl.phone input, input#zipcode { width: auto !important; }
#referralWrapper dd input { width: 100%; }
#referralWrapper input.submit { clear: both; display: block; margin: 10px 0; }
#referralWrapper div#UseQLCheckbox { margin: 15px 0; }
#referralWrapper dd#referral_UseQL_field { width: 16px; float: left; margin: 0 10px 0 0; }
#referralWrapper dt#referral_UseQL_label { overflow: hidden; }
h4.or_call { font-size: 18px; font-weight: bold; }
h4.or_call strong {color: #be0000;}

/* Arrangement A */
#referralWrapper.arrangement_a { width: 345px; }
#referralWrapper.arrangement_a .disclaimer { font-size: 13px; }
#referralWrapper.arrangement_a fieldset.block dl.configurable { float: none; width: 100%; }
#referralWrapper.arrangement_a dl.phone { float: none; width: 100%; }
#referralWrapper.arrangement_a p#submission_wrapper { margin: 10px 0; }

/* Arrangement B */
div.arrangement_b h3#alternate_form_legend { margin-bottom: 13px; background: #f1f1e3; font-size: 16px; text-transform: uppercase; padding: 10px; border-bottom: 1px solid #cccc99; }
div.arrangement_b h4.or_call { text-align: center; }


/* Arrangement Opt Out Contact Preferences - This is still under the old form system */
#referralWrapper.arrangement_opt_out { margin: 15px auto; width: 592px; background: #FFF; border: 0; }
#referralWrapper.arrangement_opt_out #security_statement { margin: -7px -7px 7px -7px; width: 606px; height: 85px; background: url(/resources/application/referral/security_statement_b.gif) no-repeat; text-indent: -999em; }
#referralWrapper.arrangement_opt_out #zipcode { width: 50%; }

/* Arrangement Job Application - This is still under the old form system, also used on /hecm/reverse-mortgage-guides.html */
.arrangement_wide #referralWrapper, #referralWrapper.arrangement_wide { width: 600px; }

/* Arrangement C */
body#category_about.layout_a .content_secondary { margin-left: 0px; }
div.arrangement_c div#referralWrapper { width: 100% !important; }

div#referralWrapper #security_statement {display: none;}

/* Arrangement D */
div.arrangement_d div#referralWrapper { width: 285px !important;}

div.product_page_lead_form { float: right; }
