/*
 * Master layout stylesheet for ReferralTree
 */

@import url("tabs.css");
@import url("flash.css");
@import url("forms.css");
@import url("records.css");
@import url("lists.css");

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #fcfbf4;
  color: #443e30;
  font-family: Arial, Hevletica, sans-serif;
  font-size: 12px;
}

a:link, a:visited, a:hover, a:active {
  color: #600;
}

a:link, a:visited {
  text-decoration: underline;
}

a:hover, a:active {
  text-decoration: none;
}

div#guts {
  width: 910px;
  margin: 0 auto 10px;
}

div#header {
  width: 810px;
  height: 75px;
  margin: 0 auto;
  padding: 10px 50px;
  background-image: url("../images/header_bg.gif");
}

div#header img.logo {
  margin-right: 8px;
}

div#main {
  width: 810px;
  margin: 0 auto;
  padding: 10px 50px;
  background-image: url("../images/main_bg.gif");
}

div#main h1 { font-size: 20px; }
div#main h2 { font-size: 18px; }
div#main h3 { font-size: 16px; }
div#main h4 { font-size: 14px; }
div#main h5 { font-size: 13px; }
div#main h6 { font-size: 12px; }

div#main h1.title {
  margin-top: 0;
}

div#main ul.profile-items {
  list-style-type: none;
  padding-left: 0;
}

div#main ul.profile-items li {
  margin: 0.35em 0;
}

div#main .profile-label {
  font-weight: bold;
}

div#main img.profile-avatar {
  float: right;
  border: 1px solid #d1c8ae;
}

div#main img.profile-logo {
  float: right;
  border: 1px solid #d1c8ae;
}

div#main p.profile-summary {
  font-style: italic;
}

div#footer {
  width: 824px;
  height: 42px;
  padding: 8px 37px;
  background-image: url("../images/footer_bg.gif");
  color: #f2efd8;
}

div#footer a:link, div#footer a:visited,
div#footer a:hover, div#footer a:active {
  text-decoration: none;
}

div#footer ul {
  margin: 0 auto;
  padding: 0;
  width: 360px;
  list-style-type: none;
}

div#footer li {
  float: left;
  width: 120px;
  text-align: center;
}

div#footer a {
  color: #f2efd8;
}

div#colophon {
  text-align: center;
  color: #9e906e;
}

div#colophon p {
  margin: 4px 0;
}

div#colophon a {
  color: #6b5b36;
}

div#colophon a:link, div#colophon a:visited {
  text-decoration: none;
}

div#colophon a:hover, div#colophon a:active {
  text-decoration: underline;
}

form.button-to {
  display: inline;
}

form.button-to div {
  display: inline;
}

/*
 * Messaging rules
 */

table.message-inbox td.status {
  width: 8%;
  text-align: center;
}

table.message-inbox td.sender,
table.message-outbox td.recipient {
  width: 15%;
}

table.message-inbox td.delivered-at,
table.message-outbox td.delivered-at {
  width: 20%;
  text-align: center;
}

table.message-inbox td.options,
table.message-outbox td.options {
  width: 15%;
  text-align: center;
}

table.message-inbox tr.unread td.subject {
  font-weight: bold;
}

p.message-body {
  padding: 15px;
  border: 1px solid #c9be9f;
  background-color: #faf8e8;
  font-size: 125%;
}

p.message-buttons {
}

span.system {
  font-style: italic;
}

/*
 * Notification setting rules
 */

table.notification-settings {
  width: 80%;
  margin: 1em auto;
  border: 1px solid #c9be9f;
  border-collapse: collapse;
}

table.notification-settings thead {
  background-color: #d1c8ae;
}

table.notification-settings th {
  padding: 5px;
  border-right: 1px solid #c9be9f;
}

table.notification-settings tbody {
}

table.notification-settings tbody td {
  text-align: center;
}

table.notification-settings tr.even {
  background-color: #f5f2df;
}

table.notification-settings tr.even:hover {
  background-color: #f6f3b8;
}

table.notification-settings tr.odd {
  background-color: #faf8e8;
}

table.notification-settings tr.odd:hover {
  background-color: #faf8bf;
}

/**
 * Referral rules
 */

table.referral-inbox td.status,
table.referral-outbox td.status {
  width: 8%;
  text-align: center;
}

table.referral-inbox td.sender,
table.referral-outbox td.owner {
  width: 15%;
}

table.referral-inbox td.created-at,
table.referral-outbox td.created-at {
  width: 20%;
  text-align: center;
}

table.referral-inbox td.options,
table.referral-outbox td.options {
  width: 15%;
  text-align: center;
  white-space: nowrap;
}

table.referral-inbox tr.unread td.business-name,
table.referral-inbox tr.unread td.description {
  font-weight: bold;
}

ul.referral-updates {
  padding-left: 0;
}

ul.referral-updates li {
  list-style-type: none;
  margin: 1em 0;
}

ul.referral-updates span.timestamp {
  font-weight: bold;
}

ul.referral-history li {
  margin: 0.2em 0;
}

ul.referral-history span.timestamp {
  font-weight: bold;
}

.video_help {
  font-size: 12px;
  color: #6b5b36;
}

table.profile {
}

th.profile-label {
  margin: 0px;
  padding: 5px;
  text-align: left;
  vertical-align: top;
  font-weight: bold;
}

td.profile-value {
  margin: 0px;
  padding: 5px;
  text-align: left;
  vertical-align: top;
}
