/* Styles for financial report forms (src/FinancialReports.php).
   TODO: Scope these under a parent class (e.g. .financial-report) to avoid
   global element selectors leaking into other pages.
*/

td.LabelColumn {
  width: 220px;
  vertical-align: top;
  padding-top: 8px;
  font-weight: 600;
}

td.TextColumn {
  padding-bottom: 14px;
}

select,
input[type="text"],
.ts-wrapper {
  max-width: 100%;
}

select[name="deposit"],
select[name="funds[]"],
select[name="method[]"],
select#family {
  width: 100%;
}


select[multiple] {
  min-height: 90px;
}

input.date-picker {
  width: 160px;
  display: inline-block;
}

@media (max-width: 767px) {
  td.LabelColumn {
    display: block;
    width: 100%;
    padding-top: 6px;
  }
  td.TextColumn {
    display: block;
    width: 100%;
  }
}

.card > .card-body input[type="radio"] {
  margin-right: 8px;
  vertical-align: middle;
}

.card > .card-body .ts-wrapper.multi .ts-control {
  min-height: 40px;
  padding: 6px 8px;
}
.card > .card-body .ts-wrapper.multi .ts-control .item {
  margin: 3px 6px 3px 0;
  padding: 0 8px;
  background: #f0f0f0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #333;
  border-radius: 3px;
  line-height: 1.8;
  max-width: 100%;
  white-space: normal;
}

.card > .card-body select[multiple] {
  padding: 6px;
}
