/* Contains styling for the booking contract for both screen and print usage */
@page {
  size: A4;
  margin: 1.27cm;
}

.signature {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 2cm;
}

.signature-input {
  display: block;
  max-width: 100%;
  height: 2cm;
  background-color: lightgrey;
}

.signature-input:hover {
  cursor: pointer;
}

div#bc_header,
div#bc_hirer_details,
div#bc_driver_details,
div#bc_booking_details {
  padding: 0;
}

div#bc_liabillity_and_cc_details,
div#bc_signatures {
  width: 98%;
  border: 1px solid black;
  padding: 1%;
  font-size: 0.35cm;
}

table.bc_table {
  width: 100%;
}

table.bc_table, table.bc_table td, table.bc_table tr {
  padding: 0;
  border-collapse: collapse;
  border: none;
}

table.bc_table td.centered {
  text-align: center;
}

table.bc_table td.bc_label {
  width: 17%;
}

table.bc_table td.bc_underlined {
  border-bottom: solid black 1px;
}

table.bc_table td.bc_signature_box {
  width: 25%;
}

table.bc_table tr.bc_smallrow {
  height: 0.4cm;
  font-size: 0.35cm;
}

/* Text Styles */
table.bc_table td.bc_title_text {
  vertical-align: top;
  font-weight: bold;
  font-size: 0.5cm;
}

table.bc_table tr.bc_header_text {
  font-weight: bold;
}

span.bc_section_title {
  font-weight: bold;
  font-size: 0.38cm;
}

table#bc_booking_detail td {
  padding: 0.1cm;
  font-size: 0.37cm;
  border: 1px solid black;
  vertical-align: top;
  text-align: center;
  height: 0.7cm;
}

table#bc_booking_detail td.left_align {
  text-align: left;
}

table#bc_booking_detail td.right_align {
  text-align: right;
}

.bc_bold {
  font-weight: bold;
}

#bc_logo {
  height: 1.4cm;
  width: 3.5cm;
}

.printer {
  font-size: smaller;
}

.printer-logo {
  margin-left: 10px;
}

.printer td span {
  min-width: 100px;
  display: block;
}

.printer td.spacer {
  width: 5px;
  display: inline-block;
}

.printer td.content-25 {
  width: 25%;
}

.printer td.content-50 {
  width: 50%;
}

.printer td.content-max {
  width: 100%;
}

.printer .underlined {
  border-bottom: solid black 1px;
  min-height: 15px;
}

.printer div.spacer {
  padding: 0;
  height: 0.2cm;
}

.printer #bc_booking_detail td {
  font-size: small;
}

.printer #bc_booking_detail th {
  border: 1px solid black;
  vertical-align: top;
  text-align: center;
  height: 0.7cm;
  font-weight: bold;
  font-size: small;
}

.printer .bc_footer1,
.printer .bc_footer2 {
  font-size: smaller;
}

.printer b,
.printer strong {
  font-weight: bold;
}

.printer .cc-detail {
  font-weight: bold;
  border-bottom: solid black 1px;
  margin-top: 10px;
  display: block;
  width: 125px;
}

.printer .cc-detail-tbl {
  margin-top: 10px;
}

.printer .right_align {
  text-align: right;
}

.printer table#bc_booking_detail td {
  padding: 0.1cm;
  font-size: 0.37cm;
  border: 1px solid black;
  vertical-align: top;
  text-align: center;
  height: 0.7cm;
}

.printer .bc_title_text {
  width: 100%;
}
