a:link, a:visited { color: #00c; text-decoration: underline; }
a:hover { color: #f00; text-decoration: none; }

input, select, textarea, button { font: inherit; }
strong { font-style: inherit; }

#container { width: 980px; margin: 10px auto 0; }

#header {
  position: relative; overflow: hidden; zoom: 1; padding: 10px 20px; border: 1px solid #cdc; border-bottom-width: 4px;
  background: #efe; background: -moz-linear-gradient(#efe, #dfd); text-shadow: 1px 1px 0 #fff;
  border-radius: 10px 10px 0 0; -moz-border-radius: 10px 10px 0 0;
  -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px;
}

#logo { float: left; color: #222; font-size: 1.2em; text-decoration: none; }
#sitename { color: #0a0; font-size: 2.3333em; }
#sitename span { color: #222; font-size: 0.7143em; }
#slogan { font-style: italic; }
#slogan span { color: #f00; font-weight: bold; }
#phonenum {
  margin-top: 10px; padding-left: 20px; background: url(/images/phone_icon.png) no-repeat left center;
  font-size: 1.25em; font-weight: bold;
}

#siteheart { position: absolute; top: 2px; left: 414px; text-align: center; text-decoration: none; }
#siteheart img { display: block; }
#siteheart i { font-style: normal; text-decoration: underline; }

#agent { float: right; font-size: 1.2em; width:365px; }
#agent strong { font-weight: bold; }
#photo { float: left; margin-right: 10px; }
#greeting a { margin-left: 4px; color: #888; }
#greeting a:hover { color: #f00; }
#balance { margin: 10px 0; }
#balance strong { background: #ffa; margin: 0 4px; padding: 4px 8px; font-size: 1.6667em; vertical-align: middle; }
#other_agent_links { margin-right: -20px; }
#other_agent_links a { margin-right: 20px; }
#other_agent_links .credit { color: #f00; }
#guest_actions { margin-top: 4px; font-size: 1.6667em; }
#guest_actions .signup { margin-top: 5px; font-size: 0.75em; }
#guest_actions .remind { margin-top: 5px; font-size: 0.75em; }
#guest_actions .remind a { color: #999; }

#content { padding: 20px; overflow: hidden; zoom: 1; }
#content h1 { font-size: 2.8em; }
#content h2 { margin-top: 20px; font-size: 2em; color: #d44; }
#content p { margin-top: 10px; font-size: 1.5em; line-height: 1.4; }
#content strong { font-weight: bold; }
#content form { margin: 10px 0 0; font-size: 1.5em; }
#content form p { font-size: 1em; }
#content form .field { margin: 5px 0 10px; }

#content .column { width: 450px; }
#content .column.left { float: left; margin-right: 20px; }
#content .column.right { float: right; margin-left: 20px; }

#tabs { height: 36px; border-bottom: 1px solid #cdc; }
#tabs li {
  float: left; width: 125px; border: 1px solid #cdc;
  background: #f4f4f4; font-size: 1.5em; text-align: center;
  border-radius: 10px 10px 0 0; -moz-border-radius: 10px 10px 0 0;
  -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px;
}
#tabs li.current { margin-bottom: -1px; border-bottom-color: #fff; background: transparent; font-weight: bold; }
#tabs li a, #tabs li.current { display: block; padding: 10px 0; }
#tabs li#tab_casco_apps { border-top-right-radius: 0; -moz-border-radius-topright: 0; -webkit-border-top-right-radius: 0; }
#tabs li#tab_health_apps { border-width: 1px 0; border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; }
#tabs li#tab_property_apps { margin-right: 10px; border-top-left-radius: 0; -moz-border-radius-topleft: 0; -webkit-border-top-left-radius: 0; }
#tabs li#tab_current_apps { margin-right: 0; border-top-right-radius: 0; -moz-border-radius-topright: 0; -webkit-border-top-right-radius: 0; }
#tabs li#tab_archived_apps { border-width: 1px 0; border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; }
#tabs li#tab_complaints { margin-right: 10px; border-top-left-radius: 0; -moz-border-radius-topleft: 0; -webkit-border-top-left-radius: 0; }

#event_log {
  overflow: hidden; margin: 0px 120px 20px; padding: 5px 10px; background: #ffc; color: #222; font-size: 1.1em;
  border-radius: 0 0 10px 10px; -moz-border-radius: 0 0 10px 10px;
  -webkit-border-bottom-right-radius: 10px; -webkit-border-bottom-left-radius: 10px;
}
#event_log li { margin: 5px 0; overflow: hidden; zoom: 1; }
#event_log li .date { float: left; width: 120px; color: #888; }

.notice {
  margin: 10px 120px; padding: 10px; background: #ffa; font-size: 1.2em; text-align: center;
  border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px;
}

#content #apps_filter { overflow: hidden; zoom: 1; margin: 5px 0 0; font-size: 1.2em; }
#apps_filter div {
  float: left; padding: 10px 20px; background: #eef;
  border-radius: 0 10px 0 10px; -moz-border-radius: 0 10px 0 10px;
  -webkit-border-top-right-radius: 10px; -webkit-border-bottom-left-radius: 10px;
}
#apps_filter strong { font-weight: bold; }
#content #apps_filter .field, #apps_filter button { margin: 0 0 0 20px; }

#apps { padding: 0 120px; }
#apps li { position: relative; margin-top: 20px; background: #dfd; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; }
#apps li.health { background: #fed; }
#apps li.property { background: #ddf; }
#apps li.good { background: #ffa; border: 2px solid #0a0; }
#apps li.complain { background: #ddd; }
#apps li.need { margin-top: 37px; }
#apps li div.info { position: absolute; top: 20px; right: -110px; width: 100px; color: #CCC; font-size: 1.1em; }
#apps li div.info .status { margin:10px 0; font-size: 1.2em; color: #0A0; }
#apps li .date {
  position: absolute; top: 30px; left: -140px; width: 120px;
  color: #ccc; font-size: 1.5em; text-align: right;
}
#apps li .need {
	position: absolute; left: 0px; top: -20px; padding-left: 20px;
	background: url(/images/money_icon.png) no-repeat left center;
	color: #0a0; font-size: 1.5em;
}
#apps li table { width: 100%; }
#apps li td { padding: 20px; vertical-align: top; }
#apps li .compact td { padding-bottom: 10px; }
#apps li .notes td {
  border-top: 1px solid #fff; padding: 10px 20px;
  font-size: 1.2em; line-height: 1.25; font-style: italic;
}
#apps li .notes .text, #apps li .notes textarea { margin-bottom: 5px; }
#apps li .notes .text.log { color: #555; }
#apps li .notes .text.sign { color: #f00; }
#apps li .notes textarea { width: 658px; height: 120px; border: 1px solid #CCC; }
#apps li .notes .btn { border-bottom: 1px dashed; color: #00c; cursor: pointer; }
#apps li .notes .btn:hover { color: #f00; }
#apps li .notes .last_edit { color: #888; font-size: 0.9167em; }
#apps li .car { width: 42%; padding-right: 0; }
#apps li .model, #apps li .num_people, #apps li .object { margin-bottom: 5px; font-size: 2.8em; font-weight: bold; }
#apps li .year, #apps li .engine, #apps li .car_price, #apps li .entity { margin-right: 20px; font-size: 1.5em; }
#apps li .credit { margin-top: 10px; color: #f00; font-size: 1.2em; }
#apps li .drivers { width: 26%; color: #888; font-size: 1.1em; line-height: 1.3636; }
#apps li .drivers strong { color: #000; font-size: 1.0909em; }
#apps li td.actions, #apps li .contact_info { width: 32%; padding-left: 0; text-align: right; }
#apps li td.actions form { margin: 0; font-size: 2em; }
#apps li td.actions .app_price { margin-right: 10px; font-weight: bold; }
#apps li td.actions .exclusive { margin-top: 10px; font-size: 0.6em; }
#apps li td.actions .exclusive input { overflow: visible; }
#apps li .contact_info { font-size: 1.5em; }
#apps li .contact_info .phonenum { margin: 3px 0 1px; font-weight: bold; }
#apps li .contact_info a { font-size: 0.8em; }
#apps li tr.actions td { border-top: 1px solid #fff; padding: 10px 20px; font-size: 1.2em; text-align: right; }
#apps li tr.actions td a, #apps li tr.actions td span, #apps li tr.actions td strong { margin-left: 20px; }
#apps li tr.actions td strong { padding: 2px 4px; background: #ffa; }
#apps li tr.actions td .complaint { color: #f00; }
#apps li tr.actions td .record_sale { color: #080; }
#apps li tr.actions td .archive { color: #888; }
#apps li tr.actions td .archive_sign { color: #666; font-weight: bold; font-size: 1.5em; }
#apps li tr.actions td .record_sale_sign { color: #060; font-weight: bold; font-size: 1.5em; }
#apps li tr.actions td .complete { color: #a0a; }
#apps li tr.actions td .request { color: #088; }

#apps .info .needmark { color: #666; font-style: italic; }
#apps .info .purchase { margin:10px 0; color: #bb0; font-size: 1.2em; font-weight: bold; }
#apps .info .purchase .record_sale { color: #060; font-size: 1.4em; font-weight: normal; }
#apps .info .purchase .record_sale.sign { color: #080; font-weight: bold; }

#content #payment_form { margin: 10px 0 20px; font-size: 1.5em; }

#unpaid_invoices { padding-left: 20px; font-size: 1.2em; }
#unpaid_invoices li { margin-top: 10px; }

#bank_commissions { color: #888; font-size: 1.2em; }
#bank_commissions th, #bank_commissions td { padding: 10px 10px 0 0; }

#footer { border-top: 1px solid #ccc; padding: 20px; color: #888; font-size: 1.2em; }

#what-we-do { margin-bottom: 20px; }
#what-we-do li { margin: 20px 0; padding: 20px 0 20px 80px; color: #222; font-size: 2em; line-height: 1.25; }
#wwd-find { background: url(/images/binocular.png) no-repeat left center; }
#wwd-check { background: url(/images/phone.png) no-repeat left center; }
#wwd-sell { background: url(/images/money.png) no-repeat left center; }

.form th, .form td { padding-bottom: 20px; }
.form th { padding-right: 10px; text-align: right; }
.form .actions td { padding-bottom: 0; }
.error_list { color: #f70; }

.report {
  float: left; margin: 20px 20px 0 0; border: 1px solid #ddd;
  border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px;
  padding: 10px; background: #efe; background: -moz-linear-gradient(#efe, #dfd); text-shadow: 1px 1px 0 #fff;
}
.report table { margin: 0; }
.report th, .report td { padding: 5px; font-size: 1.2em; font-weight: normal; text-align: left; }
.report tr.first th, .report tr.first td { padding-top: 10px; }
.report thead th, .report thead td { border-bottom: 1px solid #ddd; font-size: 2em; }
.report tbody th { text-align: right; }
.report td { font-size: 1.5em; }
.report .percent { color: #888; }

.hidden { display: none; }

.spinner { position: absolute; background: #FFF; opacity: 0.9; filter: alpha(opacity=90); z-index: 999; }
.spinner-msg { text-align: center; font-weight: bold; }
.spinner-img { background: url(/images/spinner.gif) no-repeat; width: 24px; height: 24px; margin: 0 auto; }

#content .checkbox_list li { display: inline; margin:0 10px 0 0; }

