.workflow {
  font-family: arial;
  font-size: 80%;
}

div.workflow {
  background-color: white;
  border-top: 1px solid darkgray;
  border-left: 1px solid darkgray;
  border-bottom: 1px solid darkgray;
  padding: 5px;
  padding-top: 1px;
}

.workflow table {
  font-size: 90%;
  border-collapse: collapse;
  border: 1px solid #666;
}

.workflow caption {
  font-size: 110%;
  font-weight: bold;
  margin-top: 10px;
  background: none;
}

.workflow th,
.workflow td {
  padding: 0.2em 0.4em;
  border-left: 1px solid #a5a5a5;
}

.workflow td {
  white-space: nowrap;
  vertical-align: middle;
}

th.first_column_header {
  background-color: white;
  border-top: 1px solid white;
  border-left: 1px solid white;
}

.workflow thead {
  background: #ddd;
  border-top: 1px solid #a5a5a5;
  border-bottom: 1px solid #a5a5a5;
}

.workflow thead th {
  border-bottom: 1px solid #a5a5a5;
}

.workflow th {
  font-weight: normal;
  text-align: left;
}

.even {
  background-color: white;
}

.odd {
  background-color: #f0f0f0;
}

.closed_step {
  background-color: #bbffbb;
}

.opened_step {
  background-color: #bbffbb;
}

.late_step {
  background-color: #ff7777;
}

td.opened_step, td.closed_step {
  color: #66aa66;
}

td.late_step {
  color: #990000;
}

.pipeline_date {
  font-size: 90%;
}

.workflow_table thead {
  font-size: 80%;
}

.workflow tr:hover {
  background-color:#ddd;
}

.workflow thead tr:hover {
  background-color: transparent;
  color: inherit;
}

td.date,
td.money,
td.number,
td.percent {
  text-align: right;
}

tr.totals {
  font-weight: bold;
  border: 1px solid #666;
}

tr.totals td {
  border-left: none;
  border-right: none;
  border-top: 1px solid #a5a5a5;
}

#current_step_detail {
  font-size: 80%;
  clear: both;
}

#pipeline_footer {
  clear: both;
}

#steps_summary ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 80%;
}

#steps_summary input.next_step {
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  height: 2.5em;
  width: 1.5em;
}

#steps_summary li {
  font-size: 100%;
  float: left;
  padding: 0;
  margin: 0;
  margin-left: 1px;
  margin-top: 1px;
  width: 13em;
  height: 3.6em;
  line-height: 1em;
}

#steps_summary form {
  padding: 0;
  float:left;
}

form#archive_step {
  float: right
}

.steps_summary_footer {
  clear: both;
}

li.closed_step {
  border: 1px solid #aaaaaa;
}

li.opened_step {
  border: 1px solid #668866;
}

li.future_step {
  border: 1px solid #aaaaaa;
}

#current_step_detail fieldset {
  border: 1px solid #cccccc;
  padding: 5px;
}

#current_step_detail input {
  float: none;
  width: 12em;
}

.workflow table.edit_form textarea {
  width: 12em;
}

input#request_job_number {
  width: 18em;
}

#current_step_detail label,
#job label {
  float: left;
  text-align: right;
  width: 16em;
  font-size: 110%;
}

#current_step_detail td {
  vertical-align: middle;
}

#job_details {
  padding: 10px;
  padding-top: 0;
  margin-left: 2px;
  margin-right: 2px;
  border: 1px solid #cccccc;
}

#job_details p {
  line-height: 1em;
}

.workflow span.step_number {
  font-weight: bold;
}

.step_name {
  float: left;
  width: 70%;
}

.step_weight {
  float: right;
  font-size: 100%;
  color: gray;
  padding-left: 10px;
}

.step_short_footer {
  clear: both;
}

#job_details table {
  font-size: inherit;
  margin-top: 10px
}

#job_details td {
  font-weight: bold;
}

#job_details td.label {
  font-weight: normal;
  width: 18em;
}

td.block_care {
  text-align: right;
}

td.block_care_200 {
  color: red;
}

td.block_care_500 {
  color: green;
}

td.block_care_1000 {
  color: green;
}

td.table_subtitle {
  text-align: center;
  font-size: 100%;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #a5a5a5;
}

.stats_top td,
.stats_middle td,
.stats_bottom td {
  font-weight: bold;
  border-left: none;
  background-color: #f0f0f0;
}

.stats_top td {
  border-top: 1px solid #a5a5a5;
}

.stats_bottom td {
  border-bottom: 1px solid #a5a5a5;
}

.new_sites table {
  margin: 10px;
  margin-right: 30px;
}

#units_stats th {
  min-width: 7em;
}

.new_sites div.report {
  float: left;
}

div.sites_footer {
  clear: both;
}

div.reports_container {
  width: 3000px;
}

form#job * {
  padding: 1px;
  margin: 1px;
}

form#job table,
form#job td {
  border: none;
}

form#job tr:hover {
  background-color: transparent;
}

.job_number_request {
  color: red;
}

.workflow table caption {
  font-size: 120%;
}

.workflow form#job table {
  border: 1px solid !important;
  margin-bottom: 1em;
}

.workflow form#job table caption {
  text-align: left;
}

.workflow form#job table.initial_enquiry {
  background: CornSilk;
  border-color: GoldenRod !important;
  margin-right: 1em;
  float: left;
}

.workflow form#job table.initial_enquiry caption {
  color: GoldenRod !important;
}

.workflow form#job table.follow_up {
  background: PowderBlue;
  border-color: SteelBlue !important;
  float: left;
}

.workflow form#job table.follow_up caption {
  color: SteelBlue !important;
}

.workflow form#job table.thelink_contact,
.workflow form#job table.signed_up {
  background: LightGreen;
  border-color: Green !important;
}

.workflow form#job table.thelink_contact caption,
.workflow form#job table.signed_up caption {
  color: Green !important;
}

.workflow form#job table.lost {
  background: Plum;
  border-color: Orchid !important;
  margin-bottom: 0;
}

.workflow form#job table.lost caption {
  color: Orchid !important;
}

.workflow form#job table.lost_site {
  background: MediumPurple;
  border-color: Purple !important;
}

.workflow form#job table.lost_site caption {
  color: Purple !important;
}

.workflow form#job table.email {
  clear: both;
  background: LightPink;
  border-color: IndianRed !important;
  width: 100%
}

.workflow form#job table.email caption {
  color: IndianRed !important;
}

div#current_step_detail fieldset {
  padding: 1em;
}

.workflow img.little_icon {
  vertical-align: middle;
}

.job_editor input#toggle_archive,
.job_editor input#update_log {
  float: right;
}

div.job_editor h1 {
 display: block;
 float: left;
 margin: 0;
 padding: 0;
 margin-top: 3px;
 margin-left: 8px;
}

.workflow table.edit_form textarea#comments {
  width: 100%;
}

.workflow table.edit_form textarea#email_content {
  width: 95%;
}

.workflow #current_step_detail label.comm {
  text-align: left;
  margin-bottom: 0;
  padding-bottom: 0;
}

.workflow form#search {
  float: left;
  margin-bottom: 5px;
}

.workflow .local_link {
  float: left;
  margin-top: 3px;
  margin-left: 8px;
}

.workflow a.readme_link,
.workflow a#back_to_list {
  display: block;
  float: right;
  margin-top: 3px !important;
  margin-right: 10px !important;
}

.workflow .local_link .readme_link {
  float: left;
}

.job_editor #readme_content h1 {
  float: none;
  display: inline;
  clear: both;
}

.job_editor #readme_content h2 {
  margin-top: 1em;
}

.active_tabs div {
  background:transparent url(/images/tabs3.gif) no-repeat
}

.workflow input.editor_field {
  width: 6em;
}

.workflow tr.even span.alert td {
  background: Pink;
}
.workflow tr.odd span.alert td {
  background: LightPink;
}

.workflow tr.lost td {
  color: Gray;
}

.workflow td.company_name input[type="text"] {
  width: 300px;
}

.workflow div.filter_description {
  width: 800px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.workflow table.signed_up tr.explanation {
  line-height: 1.2;
}


.agmt-pink {
    background: none repeat scroll 0 0 #FFB6C1;
}
