table {
  width: 100%;
  margin: 5px 0;
  background: #fff;
}
table tr {
  background: #fff;
  transition: background 0.2s linear;
}
table tr:hover {
  background: rgba(22,125,134,0.08);
  transition: background 0.2s linear;
}
table tr th {
  padding: 5px 10px;
  text-align: left;
  color: #fff;
  background: var(--current-section-secondary-colour);
  border-bottom: 2px solid;
  width: 135px;
  min-width: 135px;
  max-width: 135px;
}
table tr td {
  padding: 3px 10px;
  text-align: left;
  font-size: 0.9rem;
}
table tr th, table tr th a, table tr th a:hover {
  font-weight: bold;
}
table tr th a {
  color: #fff;
  text-decoration: underline;
}

table tr td {
  border-bottom: #47BABB60 1px solid;
}
table tr table tr th {
  border-bottom: 1px solid;
}
table tr table td {
  border-bottom: #47BABB60 0px solid;
}

table tr.red-flag {
  background-color: rgba(222, 8, 17, 0.2);
}
table td.no-padding {
  padding: 0;
}
table td.no-padding table {
  margin: 0;
  border-spacing: 0;
}
table td.no-padding table td {
  border-bottom: 2px solid #fff;
}
table td.no-padding table td:not(:first-child) {
  border-left: 2px solid #fff; 
}
table tfoot tr {
  background: none!important;
  font-weight: bold;
}
.sumcols table tfoot tr td {
  text-align: right;
}
.multi-drop-tick {
  padding: 5px 10px;
  display: inline-block;
  cursor: help;
}

.fixedfirstcol table th:first-child,
.fixedfirstcol table td:first-child {
  width: 100px;
  min-width: 100px;
}
.fixedfirstcolwide table th:first-child,
.fixedfirstcolwide table td:first-child {
  width: 250px;
  min-width: 250px;
}
.fixedlastcol table th:last-child,
.fixedlastcol table td:last-child {
  width: 110px;
  min-width: 110px;
}
.fixedlastcolmed table th:last-child,
.fixedlastcolmed table td:last-child {
  width: 150px;
  min-width: 150px;
}
.fixedlastcolwide table th:last-child,
.fixedlastcolwide table td:last-child {
  width: 250px;
  min-width: 250px;
}
.lastcolright table th:last-child,
.lastcolright table td:last-child,
table.lastcolright th:last-child,
table.lastcolright td:last-child {
  text-align: right;
}

.shrink table {
  width: inherit;
}

.nowrap table th,
.nowrap table td {
  white-space: nowrap;
}
.js .dropbutton-multiple .dropbutton-widget {
  width: 100%;
  position: relative;
}
.dropbutton-single .dropbutton-widget {
  width: 100%;
  position: relative;
  padding-right: 28px;
}
.js td .dropbutton-multiple {
  margin: 0;
  padding: 0;
}
.dropbutton li {
  padding: 0 0 3px 0;
}

.js td .dropbutton-wrapper {
  min-height: 1.2em;
  max-height: 1.2em;
  transition: max-height ease 0.1s;
}
.js td .dropbutton-wrapper.open {
  min-height: 1.2em;
  max-height: 10em;
  transition: max-height ease 0.1s;
}


td.views-field.views-field-nid.views-field-nid-2 {
  width: 80px;
}

.views-field-views-bulk-operations-bulk-form {
  width: 20px;
}
.views-field-views-bulk-operations-bulk-form .form-item {
  margin: 0;
}
.views-field-views-bulk-operations-bulk-form .form-item input {
  margin: 0;
}
.inline-entity-form-taxonomy_term-field_storage_charges_apply {
  text-align: center;
}
.js-form-type-checkbox.js-form-item-field-standard-document-value {
  display: block;
}

fieldset:not(.fieldgroup).edit-in-place-clickable {
  border: 0;
  position: relative;
  padding: 0;
  font-size: 0;
}
fieldset:not(.fieldgroup).edit-in-place-clickable-init,
fieldset:not(.fieldgroup).edit-in-place-clickable form {
  font-size: 0.9rem;
  max-width: 200px;
}

fieldset:not(.fieldgroup).edit-in-place-clickable legend {
  display: none;
}

fieldset:not(.fieldgroup).edit-in-place-clickable-init legend + .fieldset-wrapper .form-item {
  display: block;
  margin-bottom: 0;
}
.edit-in-place-clickable .fieldset-legend {
  display: none;
}
.edit-in-place-clickable-init .fieldset-legend {
  display: inline-block;
  font-size: 0;
  width: 20px;
  height: 20px;
  background: url(/themes/lift8/images/icons/edit.svg) no-repeat;
  background-size: 20px;
}
.edit-in-place-clickable .fieldset-wrapper {
  padding-right: 20px;
  background: transparent!important;
}

.edit-in-place-clickable input.form-submit {
  font-size: 1rem!important;
  padding: 4px 10px!important;
}
#edit-in-place-field-reference-form #edit-actions,
[id*="edit-in-place-field-reference-form"] [id*="edit-actions"] {
  display: none!important;
}

.tabledrag-toggle-weight-wrapper {
  display: none;
}

td.red,
th.red {
  background-color: red;
  color: #fff;
}
td.amber,
th.amber {
  background-color: #F79C15;
  color: #fff;
}
td.green,
th.green {
  background-color: green;
  color: #fff;
}
tr.status-pending td[headers^="view-field-status-table-column"],
tr.status-pending td[headers^="view-nothing-table-column"],
tr.status-requested td[headers^="view-field-status-table-column"],
tr.status-requested td[headers^="view-nothing-1-table-column"] {
  border-left: 5px solid #F79C15;
}
tr.status-discarded td[headers^="view-field-status-table-column"],
tr.status-discarded td[headers^="view-nothing-1-table-column"] {
  border-left: 5px solid grey;
}
tr.status-email-sent td[headers^="view-field-status-table-column"],
tr.status-sms-sent td[headers^="view-field-status-table-column"],
tr.status-confirmed td[headers^="view-field-status-table-column"],
tr.status-confirmed td[headers^="view-nothing-1-table-column"] {
  border-left: 5px solid green;
}
tr.status-declined td[headers^="view-field-status-table-column"],
tr.status-declined td[headers^="view-nothing-1-table-column"] {
  border-left: 5px solid red;
}

/** Filters **/

.views-exposed-form {
  display: flex;
  flex-wrap: wrap;
  background: #47BABB18;
  padding: 10px 10px 0;
  margin-top: -13px;
  border: 2px solid #fff;
}
.view-filters .views-exposed-form {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}
.view-filters .form-actions {
  margin-top: 0;
}
.view-filters summary.h2 {
  font-size: 1rem;;
}

.views-exposed-form details,
.views-exposed-form > div {
  margin-right: 20px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
}
.views-exposed-form > div.form-actions {
  flex-direction: row;
}

.views-exposed-form input {
  height: 35px;
  margin: auto;
  border: 0;
  box-sizing: border-box;
}
.views-exposed-form select {
  height: 35px;
  margin: auto;
  border: 0;
  box-sizing: border-box;
  padding: 0 10px;
  font-size: inherit;
  font-family: inherit;
  background-color: #fff;
  color: #666;
}

.views-exposed-form > div.form-actions input {
  margin: auto 10px;   
  text-transform: uppercase;
}

.views-exposed-form input.form-date {
  box-sizing: border-box;
  padding: 7px;
  font-family: sans-serif;
  font-size: 1em;
  width: 155px;
}
.views-exposed-form .fieldset-wrapper .form-item.js-form-type-date {
  margin-right: 0!important;
}

.views-exposed-form details summary {
  font-weight: bold;
  cursor: pointer;
}
caption {
  text-align: left;
}

form.views-exposed-form input[type=text] {
  width: 200px;
  min-width: inherit;
  padding: 8px;
}
.views-exposed-form input[type=text][name=nid] {
  width: 100px;
}
form.views-exposed-form input#edit-field-product-description-value[type=text] {
  width: 200px;
}
.js .dropbutton-widget .dropbutton {
  overflow: visible;
}
.btn {
  box-sizing: border-box;   
}
.toggle.btn {
  box-sizing: border-box;
  height: 25px!important;
  min-height: 25px;
  max-width: 50px;
}
.toggle .btn.toggle-on {
  padding: 0 13px 0 0;
  box-sizing: border-box;
  font-weight: bold;
  max-width: 50px;
}
.toggle .btn.toggle-off {
  padding: 0 0 0 10px;
  box-sizing: border-box;
  font-weight: bold;
  max-width: 50px;
}

.node .toggle .btn.toggle-on {
  padding: 0 0 0 5px;
  font-weight: normal;
}

.node .toggle .btn.toggle-off {
  padding: 2px 0 0 20px;
  font-weight: normal;
  border: 0;
}

form[id*="editable-ajax-toggle"] .form-item {
  margin-bottom: 0;
}

.views-element-container footer {
  display: block;
  margin-bottom: 20px;
  font-style: italic;
}