/* Form Styling */

form .form-title {
    margin-bottom: 36px;
}

form .form-buttons {
    margin-top: 36px;
}

form .form-buttons .md-button {
    margin: 0px;
}

.editor-controls {
    padding: 8px;
}

form .form-checkbox {
  margin-top: 25px;
  margin-left: 10px;
}

/* md-datepicker width fix */

md-input-container.md-datepicker-fix label {
    right: auto !important; /* Sorry! */
}

md-input-container.md-datepicker-fix md-datepicker .md-datepicker-button {
    margin-left: 0px !important; /* Sorry! */
    margin-right: 0px !important; /* Sorry! */
}

md-input-container.md-datepicker-fix md-datepicker .md-datepicker-input-container {
    width: calc(100% - 40px) !important; /* Sorry! */
    margin-left: 0px !important; /* Sorry! */
}

/* Fake Material Input */

.fake-md-input-container {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    min-width: 120px;
    padding: 2px;
    margin: 18px 5px;
}

.fake-md-label {
    overflow: hidden;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 0;
    right: auto;
    width: 100%;
    padding-left: 12px;
    padding-right: 0;
    color: rgba(0, 0, 0, 0.54);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    order: 1;
    pointer-events: none;
    -webkit-font-smoothing: antialiased;
}

.fake-md-input {
    display: block;
    float: left;
    width: 100%;
    height: 56px;
    margin-top: -20px;
    background: rgba(0, 0, 0, 0.06);
    padding-top: 24px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 2px;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-radius: 0;
    border-bottom-color: rgba(0 ,0, 0, 0.12);
    background: rgba(0, 0, 0, 0.06);
    line-height: 26px;
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    order: 2;
    -ms-flex-preferred-size: 26px;
    box-sizing: border-box;
}

.fake-md-hint {
  position: absolute;
  left: 2px;
  right: auto;
  bottom: 7px;
  font-size: 12px;
  line-height: 14px;
  transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
  color: grey;
}

.fieldset {
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0px 8px 0px 8px;
  margin-bottom: 20px;
}

.fieldset .md-subhead {
    margin-left: 6px;
}

.form-instruction {
  font-size: 12px;
  color: #666666;
  margin-left: 10px;
}

.form-static-txt {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  padding: 2px 0;
  margin: 18px 0px;
}

.form-static-txt__label {
  overflow: hidden;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 0;
  right: auto;
  width: 100%;
  padding-left: 12px;
  padding-right: 0;
  color: rgba(0, 0, 0, 0.54);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-box-ordinal-group: 2;
  -webkit-order: 1;
  order: 1;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
}

.form-static-txt__content {
  display: block;
  float: left;
  height: 56px;
  margin-top: -20px;
  background: transparent;
  padding-top: 24px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 2px;
  border: none;
  line-height: 26px;
  -webkit-box-ordinal-group: 3;
  -webkit-order: 2;
  order: 2;
  -ms-flex-preferred-size: 26px;
  box-sizing: border-box;
}


.background-material {
    background-color: #EEEEEE;
}

.md-chips-fix {
    margin: 15px 7px 23px 7px;
    background: $color-white;
    border: 1px solid $color-gray-400;
    border-radius: $input-radius;
}

.md-chips-fix .md-chip-input-container {
  min-width: 200px;
  padding-left: 10px;
}

.md-chips-fix .md-chip-input-container .md-input {
  width: 100%;
}

.md-button.no-margin {
    margin: 0px;
}

.unsaved-changes-indicator {
    margin-left: 8px;
}

.navigation-logo {
    display: block;
    width: 32px;
    height: auto;
    padding: 16px 0px;
}

.scroll__container {
  position: relative;
}

.scroll__container .scroll__section {
  bottom: 0;
  box-sizing: border-box;
  left: 0;
  margin: 0;
  overflow-x: hidden;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
}


/*----AMD Overrides-----*/


textarea::placeholder {
  margin: 0;
  padding: 0;
}

md-input-container {
  margin: 18px 5px;
}

md-input-container .md-input {
    margin-top: -20px;
    background: #ffffff;
    padding-top: 20px;
    padding-left: 10px;
    height: 56px;
    border: 1px solid #BDBDBD;
    border-radius: 6px;
}

md-input-container label:not(.md-no-float):not(.md-container-ignore),
md-input-container .md-placeholder {   
    padding-left: 15px;
    width: calc(100% -15px)
}

md-input-container.inline-input {
    margin: 5px;
}

md-input-container.inline-input .md-input {
    margin-top: 0;
    padding-top: 0;
    height: 36px;
}

md-input-container.md-input-focused .md-input,
md-input-container .md-input.ng-invalid.ng-dirty,
md-input-container.md-input-resized .md-input {
  border-width: 1px;
  background-color: #FFE0B2;
}

md-input-container.md-default-theme:not(.md-input-invalid).md-input-focused .md-input, md-input-container:not(.md-input-invalid).md-input-focused .md-input, md-input-container.md-default-theme:not(.md-input-invalid).md-input-resized .md-input, md-input-container:not(.md-input-invalid).md-input-resized .md-input {
  border-color: #EF6C00;
}

md-input-container.inline-input .md-errors-spacer {
    min-height: 0px;
}

.md-select-value {
  background: #ffffff;
  border: 1px solid #BDBDBD;
  border-radius: 6px;
  padding: 25px 2px 4px 10px;
  margin-top: -20px;
}

md-select.md-default-theme .md-select-value, md-select .md-select-value {
    border-bottom-color: #BDBDBD;
}

md-select:not([disabled]):focus .md-select-value {
  border-width: 1px;
  border-bottom-color: #BDBDBD;
}
md-select.md-default-theme[disabled] .md-select-value, md-select[disabled] .md-select-value {
    border-width: 1px;
    border-bottom-color: #BDBDBD;
    background-image: none;
}

[disabled] md-input-container.md-default-theme .md-input, [disabled] md-input-container .md-input, md-input-container.md-default-theme .md-input[disabled], md-input-container .md-input[disabled] {
  border-bottom-color: #eeeeee;
  border: 1px solid #eeeeee;
  color: #757575;
  background-image: none;
  border-radius: 6px;
}

.md-select-value.md-select-placeholder {
    padding-left: 15px;
}

md-input-container.md-textarea {
    height: 56px;
}

html,
body {
    margin:auto;
    -webkit-text-size-adjust: 100%;
}

/* Document specific styles */

.uppercase {
    text-transform: uppercase;
}

.document {
    font-size: 12px;
    font-family: 'Roboto', 'PT Sans', "Helvetica Neue", sans-serif;
    line-height: 1.2;
    letter-spacing: 0.010em;
    color: #212121;
    width: 74.078em; /* 74.078em @10px 235.2mm */
    min-height: 97.887em; /* 97.887em @10px 310.8mm */
    margin: 0 auto;
    padding: 3.7794em 0; /* 3.7794em @10px 12mm */
    background: white;
}

.document .mdc-layout-grid {
    padding: 0;
}

.document .mdc-layout-grid__inner--condensed {
    row-gap: 0px;
}

.document .document-flex--15 {
    flex: 0 0 15%;
}
.document .document-flex--20 {
    flex: 0 0 20%;
}
.document .document-flex--25 {
    flex: 0 0 25%;
}
.document .document-flex--45 {
    flex: 0 0 45%;
}
.document .document-flex--55 {
    flex: 0 0 55%;
}

.document__subhead {
    font-size: 1.2em; /* 15px */
    font-weight: 500;
}

.document__caption {
    font-size: 0.8em;
}

.document__warning {
    padding: 0.667em; /* 8px */
    border: 0.167em solid rgb(244, 67, 54); /* 2px */
    color: rgb(244, 67, 54);
    text-align: center;
    margin-bottom: 1.667em; /* 20px */
}

.document .document__warning-headline {
    font-size: 2em; /* 24px */
    font-weight: 400;
    line-height: 1.333em; /* 32px */
}

.document .document__logo {
    display: block;
    max-width: 19.167em; /* 230px */
    margin: auto; /* 13px */
}

.document .document__company-info {
    height: 9.827em;
}

.document .document__info {
    padding-left: 3.1496em; /* 10mm */
}

.document .document-info__label {
    line-height: 1;
}

.document .document-info__value {
    font-weight: 700;
}

.document .document-info__section {
    margin-bottom: 0.667em; /* 8px */
}

.document .document-info__invoice-number .document-info__value {
    font-size: 1.833em; /* 22px */
    text-transform: uppercase;
}

.document .document-info__wo-number .document-info__value {
    font-size: 1.333em; /* 22px */
    text-transform: uppercase;
}

.document .document-info__grand-total .document-info__value {
    font-size: 2.333em; /* 28px */
}

.document .document__client-info {
    border: 0.167em solid #E0E0E0; /* 2px */
    box-sizing: border-box;
    min-width: 43.463em; /* 115mm */
    margin: 1.667em 0; /* 20px */
    padding: 1.25em; /* 15px */
}

.document .document__client-info--mail-window {
    min-height: 9.449em; /* 25mm */
    margin-left: 1.89em;/* 5mm */
    margin-top: 6.471em; /* 16mm */
}

.document .document__client-info--list {
    line-height: 1.5em
}

.document .document__section {
    margin-top: 1.667em; /* 20px */
}

.document .document-section__header {
    border-top: 0.25em solid #000000; /* 3px */
    padding-top: 0.417em; /* 5px */
    margin-bottom: 1.2em; /* 14px */
    display: flex;
    align-items: baseline;
}

.document .document__section .document-section__title {
    font-size: 1.667em; /* 20px */
    font-weight: 500;
    letter-spacing: 0.005em;
    margin: 0;
}

.document .document__section .document-section__subhead {
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 0.333em;
}

.document .document__section .document-section__detail-title {
    font-size: 1.167em; /* 14px */
    font-weight: 500;
    letter-spacing: 0.010em;
    margin-bottom: 0.088em;
}

.document .document-section__totals {
    text-align: right;
    padding-top: 0.667em; /* 8px */
    grid-gap: 0.667em; /* 8px */
    row-gap: 0.167em; /* 2px */
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.document .document-section__totals--no-padding {
    padding-top: 0;
}

.document .document__section.document-section__totals {
    padding: 0;
}

.document .document-section__totals .document-section__header {
    margin-bottom: 0;
}

.document .document__legalese {
    margin-top: 3em;
    font-size: 0.833em; /* 10px */
}

.document table.bl-table {
    width: 100%;
    font-family: 'Roboto Condensed', 'PT Sans Narrow', sans-serif;
    border-collapse: collapse;
    border-top: 0.083em #E0E0E0 solid; /* 1px */
    border-bottom: 0.083em #E0E0E0 solid; /* 1px */
}

.document table.bl-table thead > tr{
    height: 2.083em; /* 25px */
}

.document table.bl-table tbody > tr,
.document table.bl-table tfoot > tr {
    height: auto;
}

.document table.bl-table th {
    font-size: 1em;
    text-align: left;
    padding: 0.333em 0.833em; /* 4px 10px */
}

.document table.bl-table td {
    font-size: 1em;
    line-height: 1.083em; /* 13px */
    padding: 0.333em 0.833em; /* 4px 10px */
    min-height: 1.667em; /* 20px */
    border-top: 0.083em #E0E0E0 solid; /* 1px */
    border-right: 0.083em #E0E0E0 solid; /* 1px */
    vertical-align: middle;
    height: 2.5em; /* 8mm aka 30px */
}

.document table.bl-table th:first-child,
.document table.bl-table td:first-child {
    padding-left: 0;
}

.document table.bl-table th:last-child,
.document table.bl-table td:last-child {
    padding-right: 0;
    border-right: none;
}

.document table.bl-table th.bl-item,
.document table.bl-table td.bl-item {
    min-width: 20em;
}

.document table.bl-table th.bl-numeric,
.document table.bl-table td.bl-numeric {
    text-align: right;
    min-width: 4.724em; /* 15mm aka 56.929px */
}

.document table.bl-table th.bl-numeric--small,
.document table.bl-table td.bl-numeric--small {
    min-width: 3em;
}

.document table.bl-table th.bl-date,
.document table.bl-table td.bl-date {
    width: 7em;
    min-width: 7em;
}

.document table.bl-table th.bl-date--returns,
.document table.bl-table td.bl-date--returns {
    width: 11em;
    min-width: 11em;
}

.document .bl-datetime,
.document table.bl-table th.bl-datetime,
.document table.bl-table td.bl-datetime {
    width: 9em;
    min-width: 9em;
}

.document .document-table__inline-note > * {
    display: inline-block;
    vertical-align: middle;
    padding: 0.333em 0.833em; /* 4px 10px */
}

.document .document-table__inline-note > *:first-child {
    padding-left: 0;
}

.document .document-table__inline-note > *:last-child {
    padding-right: 0;
}

.document .document__signatures {
    margin-top: 30px;
}

.document .signature {
    display: flex;
}

.document .signature--notes {
    margin-top: 0;
    flex-direction: column;
}

.document .signature__label {
    margin-right: 5px;
}

.document .signature__line {
    flex:1;
    border-bottom: 1px solid #000000;
    line-height: 2.01em;
}

@media print {

    html,
    body {
        /* https://github.com/cognitom/paper-css/blob/master/paper.css */
        /* Set to page width minus desired margins. Should help keep the right ratio when printing*/
        width: 196mm;
        margin:auto;
        background-color: white;
    }

    /* Document specific print styles */

    thead {
        display: table-header-group;
    }

    .document {
        font-size: 10px;
        padding: 0;
    }

    .document table.bl-table {
        break-before: avoid;
        break-after: avoid;
    }

    .document__legalese,
    .document__signatures,
    .document-section__header,
    .document-section__totals,
    .document table.bl-table tr,
    .document table.bl-table thead {
        break-inside: avoid;
    }
}

:root {
    --mdc-layout-grid-margin-desktop: 24px;
    --mdc-layout-grid-gutter-desktop: 24px;
    --mdc-layout-grid-column-width-desktop: 72px;
    --mdc-layout-grid-margin-tablet: 16px;
    --mdc-layout-grid-gutter-tablet: 16px;
    --mdc-layout-grid-column-width-tablet: 72px;
    --mdc-layout-grid-margin-phone: 16px;
    --mdc-layout-grid-gutter-phone: 16px;
    --mdc-layout-grid-column-width-phone: 72px;
}

.mdc-layout-grid {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0px;
    padding: 24px;
    padding: var(--mdc-layout-grid-margin-desktop, 24px);
}

.mdc-layout-grid__inner {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    margin: 0;
    margin: -12px;
    margin: calc(var(--mdc-layout-grid-gutter-desktop, 24px) / 2 * -1);
}
@supports (display: grid) {
    .mdc-layout-grid__inner {
        display: grid;
        margin: 0;
        grid-gap: 24px;
        grid-gap: var(--mdc-layout-grid-gutter-desktop, 24px);
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}

.mdc-layout-grid__cell {
    width: calc(33.3333333333% - 24px);
    width: calc(33.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px));
    box-sizing: border-box;
    margin: 0px;
    margin: 12px;
    margin: calc(var(--mdc-layout-grid-gutter-desktop, 24px) / 2);
}
@supports (display: grid) {
    .mdc-layout-grid__cell {
        width: auto;
        margin: 0;
        grid-column-end: span 4;
    }
}

.mdc-layout-grid__cell--span-1,
.mdc-layout-grid__cell--span-1-desktop {
    width: calc(8.3333333333% - 24px);
    width: calc(8.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px));
}
@supports (display: grid) {
    .mdc-layout-grid__cell--span-1,
    .mdc-layout-grid__cell--span-1-desktop {
        width: auto;
        grid-column-end: span 1;
    }
}

.mdc-layout-grid__cell--span-2,
.mdc-layout-grid__cell--span-2-desktop {
    width: calc(16.6666666667% - 24px);
    width: calc(16.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px));
}
@supports (display: grid) {
    .mdc-layout-grid__cell--span-2,
    .mdc-layout-grid__cell--span-2-desktop {
        width: auto;
        grid-column-end: span 2;
    }
}

.mdc-layout-grid__cell--span-3,
.mdc-layout-grid__cell--span-3-desktop {
    width: calc(25% - 24px);
    width: calc(25% - var(--mdc-layout-grid-gutter-desktop, 24px));
}
@supports (display: grid) {
    .mdc-layout-grid__cell--span-3,
    .mdc-layout-grid__cell--span-3-desktop {
        width: auto;
        grid-column-end: span 3;
    }
}

.mdc-layout-grid__cell--span-4,
.mdc-layout-grid__cell--span-4-desktop {
    width: calc(33.3333333333% - 24px);
    width: calc(33.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px));
}
@supports (display: grid) {
    .mdc-layout-grid__cell--span-4,
    .mdc-layout-grid__cell--span-4-desktop {
        width: auto;
        grid-column-end: span 4;
    }
}

.mdc-layout-grid__cell--span-5,
.mdc-layout-grid__cell--span-5-desktop {
    width: calc(41.6666666667% - 24px);
    width: calc(41.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px));
}
@supports (display: grid) {
    .mdc-layout-grid__cell--span-5,
    .mdc-layout-grid__cell--span-5-desktop {
        width: auto;
        grid-column-end: span 5;
    }
}

.mdc-layout-grid__cell--span-6,
.mdc-layout-grid__cell--span-6-desktop {
    width: calc(50% - 24px);
    width: calc(50% - var(--mdc-layout-grid-gutter-desktop, 24px));
}
@supports (display: grid) {
    .mdc-layout-grid__cell--span-6,
    .mdc-layout-grid__cell--span-6-desktop {
        width: auto;
        grid-column-end: span 6;
    }
}

.mdc-layout-grid__cell--span-7,
.mdc-layout-grid__cell--span-7-desktop {
    width: calc(58.3333333333% - 24px);
    width: calc(58.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px));
}
@supports (display: grid) {
    .mdc-layout-grid__cell--span-7,
    .mdc-layout-grid__cell--span-7-desktop {
        width: auto;
        grid-column-end: span 7;
    }
}

.mdc-layout-grid__cell--span-8,
.mdc-layout-grid__cell--span-8-desktop {
    width: calc(66.6666666667% - 24px);
    width: calc(66.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px));
}
@supports (display: grid) {
    .mdc-layout-grid__cell--span-8,
    .mdc-layout-grid__cell--span-8-desktop {
        width: auto;
        grid-column-end: span 8;
    }
}

.mdc-layout-grid__cell--span-9,
.mdc-layout-grid__cell--span-9-desktop {
    width: calc(75% - 24px);
    width: calc(75% - var(--mdc-layout-grid-gutter-desktop, 24px));
}
@supports (display: grid) {
    .mdc-layout-grid__cell--span-9,
    .mdc-layout-grid__cell--span-9-desktop {
        width: auto;
        grid-column-end: span 9;
    }
}

.mdc-layout-grid__cell--span-10,
.mdc-layout-grid__cell--span-10-desktop {
    width: calc(83.3333333333% - 24px);
    width: calc(83.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px));
}
@supports (display: grid) {
    .mdc-layout-grid__cell--span-10,
    .mdc-layout-grid__cell--span-10-desktop {
        width: auto;
        grid-column-end: span 10;
    }
}

.mdc-layout-grid__cell--span-11,
.mdc-layout-grid__cell--span-11-desktop {
    width: calc(91.6666666667% - 24px);
    width: calc(91.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px));
}
@supports (display: grid) {
    .mdc-layout-grid__cell--span-11,
    .mdc-layout-grid__cell--span-11-desktop {
        width: auto;
        grid-column-end: span 11;
    }
}

.mdc-layout-grid__cell--span-12,
.mdc-layout-grid__cell--span-12-desktop {
    width: calc(100% - 24px);
    width: calc(100% - var(--mdc-layout-grid-gutter-desktop, 24px));
}
@supports (display: grid) {
    .mdc-layout-grid__cell--span-12,
    .mdc-layout-grid__cell--span-12-desktop {
        width: auto;
        grid-column-end: span 12;
    }
}

.mdc-layout-grid__cell--align-top {
    align-self: flex-start;
}
@supports (display: grid) {
    .mdc-layout-grid__cell--align-top {
        align-self: start;
    }
}

.mdc-layout-grid__cell--align-middle {
    align-self: center;
}

.mdc-layout-grid__cell--align-bottom {
    align-self: flex-end;
}
@supports (display: grid) {
    .mdc-layout-grid__cell--align-bottom {
        align-self: end;
    }
}

.invoice .md-body-1 {
    font-size: 12px;
    line-height: 15px;
}

.invoice .md-body-2 {
    line-height: 16px;
}

.invoice .preview-warning {
    padding: 8px;
    border: 2px solid rgb(244, 67, 54);
    color: rgb(244, 67, 54);
    text-align: center;
}

.invoice .print-logo {
    display: block;
    max-width: 230px;
    margin: -13px auto 0px;
}

.invoice .breakdown-placeholder {
    padding: 150px 15px;
    border: 2px solid #ccc;
    text-align: center;
}

.invoice__h2-locattion-wrapper {
    border-top: 3px solid #000000;
    padding-top: 5px;
    margin: 20px 0 10px 0;
}

.invoice .md-title {
    margin: 0;
}

.invoice .md-subhead {
    font-size: 15px;
    font-weight: bold;
    line-height: 14px;
    margin-bottom: 5px;
}

.invoice .contact-info {
    margin-top: 18px;
}

.invoice .basic-info {
    margin-bottom: 18px;
    padding-left: 15mm;
}

.invoice .basic-info__main-dates {
    margin-bottom: 3mm;
}

.invoice .client-info {
    margin-top: 20px;
    padding: 15px;
    border: 2px solid #ccc;
}

.invoice .client-info .secondary,
.invoice .overview-info .secondary {
    padding: 0;
}

.invoice .invoice-number {
    margin-bottom: 10px;
    font-size: 12px;
    margin-top: 18px;
}

.invoice .invoice-number strong {
    font-size: 22px;
    text-transform: uppercase;
}

.invoice .rental-request__detail--title {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.010em;
    line-height: 25px;
}

.invoice .rental-request__detail {
    font-size: 15px;
}

.invoice .invoice-totals {
    text-align: right;
    border-top: 1px rgba(0,0,0,.12) solid;
    padding-top: 3mm;
}
.invoice .invoice-totals .md-body-1 {
    margin-bottom: 5px;
}

.invoice .overview-info_grand-total {
    font-size: 22px;
    line-height: 16px;
    margin-bottom: 15px;
}

.invoice .overview-info .md-subhead {
    font-size: 12px;
    margin-top: 8px;
}

.invoice .legalese {
    font-size:10px;
}

.rental_requests, .service_requests {
    page-break-inside: avoid;
}

table.bl-table {
    width: 100%;
    font-family: 'Roboto Condensed', sans-serif;
    border-collapse: collapse;
    border-top: 1px rgba(0,0,0,.12) solid;
}

table.bl-table thead > tr{
    height: 25px;
}

table.bl-table th {
    font-size: 12px;
    text-align: left;
    padding: 4px 10px 4px 10px;
}

table.bl-table td {
    font-size: 12px;
    line-height: 13px;
    padding: 4px 10px 4px 10px;
    min-height: 20px;
    border-top: 1px rgba(0,0,0,.12) solid;
    border-right: 1px rgba(0,0,0,.12) solid;
    vertical-align: middle;
    height: 8mm;
}

table.bl-table th:first-child, 
table.bl-table td:first-child {
    padding-left: 0;
}

table.bl-table th:last-child, 
table.bl-table td:last-child {
    padding: 4px 10px 4px 10px;
    border-right: none;
}

table.bl-table th.icon-cell,
table.bl-table td.icon-cell {
    width: 26px;
    padding: 0px;
}

table.bl-table th.bl-numeric, 
table.bl-table td.bl-numeric {
    text-align: right;
    min-width: 15mm;
}

table.bl-table tbody > tr, 
table.bl-table tfoot > tr {
    height: auto;
}

.md-data-table {
    display: block;
    background: #ffffff;
    font-family: Roboto,Helvetica Neue,sans-serif;
}

.md-data-table .md-header-row,
.md-data-table .md-row {
    display: flex;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgba(0,0,0,.12);
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
}

.md-data-table .md-row:hover {
    background-color: #eeeeee;
}

.md-data-table a.md-row {
    text-decoration: none;
}

.md-data-table .md-header-cell, 
.md-data-table .md-cell {
    flex: 1;
    overflow: hidden;
    word-wrap: break-word;
}

.md-data-table .md-header-cell {
    font-size: 12px;
    font-weight: 500;
    color: rgba(0,0,0,.54);
}

.md-data-table .md-cell {
    font-size: 14px;
    color: rgba(0,0,0,.87);
}

.md-data-table .md-header-cell--10, 
.md-data-table .md-cell--10 {
    flex-basis: 10%;
    flex-grow: 0;
}

.md-data-table .md-header-cell--15, 
.md-data-table .md-cell--15 {
    flex-basis: 15%;
    flex-grow: 0;
}

.md-data-table .md-header-cell--20, 
.md-data-table .md-cell--20 {
    flex-basis: 20%;
    flex-grow: 0;
}

.work-order-list-state,
.invoice-list-state {
    background-color: black;
    color: white;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    line-height: 40px;
    border-radius:50%;
    width:40px;
}

.work-order-list-state__avatar,
.invoice-list-state__avatar {
    display:inline-block;
    border-radius:50%;
    width:40px;
}

.work-order-list-state--estimate {
    background-color: #F39C12;
}

.work-order-list-state--pending {
    background-color: #F4D03F;
}

.work-order-list-state--ongoing {
    background-color: yellowgreen;
}

.work-order-list-state--quarantined,
.invoice-list-state--voided {
    background-color: #C62828;
}

.work-order-list-state--invoiced,
.invoice-list-state--invoiced {
    background-color: dimgrey;
}

.work-order-list-state--discarded,
.invoice-list-state--discarded {
    background-color: darkgrey;
}

.work-order-state__name {
    margin-left: 10px;
}

/* Material Design Table */

.md-table {
    display: block;
    background: #fff;
    font-family: Roboto, Helvetica Neue, sans-serif;
}

.md-table .icon-cell {
    width: 26px;
}

.md-header-row, 
.md-row {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgba(0 ,0, 0, 0.12);
}

.md-header-row-sticky {
  position: sticky;
  top: 0;
  background: white;
}

.md-row:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dndDragover .md-row:hover {
    background-color: inherit;
}

.md-row .drag-indicator,
.dndDragover .md-row:hover .drag-indicator {
    display: none;
}

.md-row:hover .drag-indicator {
    display: inline;
}

.md-header-cell,
.md-cell {
    flex: 1;
    overflow: hidden;
    word-wrap: break-word;
}

.md-header-cell {
    color: rgba(0, 0, 0, 0.54);
    font-size: 12px;
    font-weight: 500;
}

.md-cell--numeric {
    text-align: right;
}

.md-cell--small {
    width: 60px;
}

.md-cell {
    color: rgba(0, 0, 0, 0.87);
    font-size: 14px;
}

.md-cell md-checkbox {
    margin-bottom: 0;
}

/* Material Design Table Pagination */

.md-paginator, .md-paginator-page-size .md-select-trigger {
    color: rgba(0,0,0,.54);
}

.md-paginator {
    background: #fff;
}

.md-paginator, .md-paginator-page-size .md-select-trigger {
    font-family: Roboto,Helvetica Neue,sans-serif;
    font-size: 12px;
}

.md-paginator-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 56px;
    padding: 0 8px;
    flex-wrap: wrap-reverse;
}

.md-paginator-page-size {
    display: flex;
    align-items: baseline;
    margin-right: 8px;
}

.md-paginator-page-size-label {
    margin: 0 4px;
}

.md-paginator-range-actions {
    display: flex;
    align-items: center;
    min-height: 48px;
}

.md-paginator-range-label {
    margin: 0 32px 0 24px;
}


.sheet-quantity {
    border: 0;
    text-align: right;
    padding: 4px 0px 4px 4px;
}

.dndDraggingSource {
    display: none;
}

.dndPlaceholder {
    background-color: #DDDDDD;
}

.report-filter__fieldset {
    margin-right: 20px;
  }
  
.report-filter__fieldset .md-subhead {
    color: #757575;
    margin-left: 8px;
}

.report-filter__report-type-select {
  min-width: 200px;
}

.report-filter__list-level-select {
  min-width: 150px;
}

.report-filter__list-level-select--disabled {
  min-width: 150px;
}

.list-levels__add-button {
  position: absolute;
  top: -16px;
  left: 5px;
}

.list-levels__skeleton {
  border: 2px dashed #BDBDBD;
  border-radius: 5px;
  width: 146px;
  height: 53px;
  margin-top: -20px;
  opacity: 0.25;
}

md-chips.report-filter__filter-chips .md-chips,
md-chips.readonly .md-chips {
  box-shadow: none;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.login-form {
    max-width: 400px;
    width: 100%;
}

.login-form-logo {
    display: block;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.uppercase {
	text-transform: uppercase;
}

.capitalize {
    text-transform: capitalize;
}

/* 
    Version styles
*/

.settings__version {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

version-update-bar {
  z-index: 100;
}

.update-bar {
    width: 100%;
    min-height: 40px;
    background-color: yellow;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.update-bar a {
    margin-left: 10px;
    font-weight: 900;
    color: #dd7439;
}

.bl-padding {
  padding: 0 15px 15px 15px;
}

.password-strength {
	top: -2px;
}

.password-strength--hidden {
	display: none;
}
