/* sv_service.css
  service module-specific styles

  */

/*
  A Card is a small box of text used in some part_list/part_view contexts
  req_vendor_rep, req_receivable_dialog

desired form:
<block_tag class='card'>
  <head_tag class='card_head'>parent record
  fields, fields, fields</head_tag>
  <tag class='card_line'>contact_mode: contact info</tag>
  <tag class='card_line'>contact_mode: contact info</tag>
  <tag class='card_line'>contact_mode: contact_info</tag>
</block_tag>
*/

.card {
}
.card .card_head {
    display: block;
    font-weight: bold;
}
.card .card_line {
    display: block;
    font-weight: normal;
    color:#999999;
    white-space: nowrap;
}
.card .card_line p {
    display:inline;
    margin:0;
    padding:0;
}

/* card in table follows table structure
  desired form:
<table class='card'>
  <tr class='card_head'><th>field label</th>
  fields, fields, fields</tr>
  <tr class='card_line'><td>contact_mode: contact info</td></tr>
</table>
*/
table.card {
    display: table;
    border-spacing: 0;
}
table.card .card_head {
    display: table-row;
    font-weight: bold;
}
table.card th, table.card td {
    padding: 0em 0.5em 0em 0em;
}

table.card .card_line {
    display: table-row;
    font-weight: normal;
    color:#999999;
    white-space: nowrap;
}
table.card .card_line p {
    margin:0;
    padding:0;
}

/* the location names tend to be very wide,
  and must be displayed in full for accurate selection */
select.inv_location_ddl {
    width:auto;
}

/* bbpage_control
  pagination widget
  */
.bbpage_stat {
    float: right;
}
