.Depreciation {
    color: rgba(205, 48, 158, 1);
    font-weight: 700;
    margin-left: 26px;
}

.TaxDepreciation {
    padding-left: 36px;
    color: rgba(205, 48, 158, 1);
    font-weight: 700;
}

.vertical-line {
    border-left: 2px solid rgba(26, 26, 26, 0.5);
    height: 200px;
    margin: 0 36px 0 36px;
}

@media screen and (max-width: 1024px) {

  .vertical-line {
    display: none;
  }

  :host ::ng-deep {

    .FormsTabGroup {
      .mat-mdc-tab-label-container {
        overflow-x: auto;
      }
      .mat-mdc-tab {
        min-width: 100px;
        padding: 0 12px;
      }
    }

    mat-tab-body {
      .mat-mdc-tab-body-content > div[style*="flex"],
      .mat-mdc-tab-body-content > div[style*="inline-flex"] {
        flex-wrap: wrap !important;
      }

      .mat-mdc-tab-body-content > div > div[style*="margin-right"],
      .mat-mdc-tab-body-content > div > div[style*="margin-left"] {
        margin-right: 20px !important;
      }
    }

    .FormOverView > div[style*="flex"],
    .FormOverView > div[style*="display: flex"] {
      flex-wrap: wrap !important;
    }

    div[style*="display: flex"] {
      flex-wrap: wrap !important;
    }

    gb-radiobutton,
    gb-checkbox {
      .mat-mdc-radio-group,
      mat-radio-group,
      .mdc-form-field,
      div[style*="flex"] {
        flex-wrap: wrap !important;
      }
      .mdc-label,
      .mat-radio-label,
      .mat-checkbox-label,
      label {
        white-space: normal !important;
      }
    }

    .mat-mdc-tab-body-content > div > div[style*="margin-right"] {
      width: 45% !important;
      min-width: 160px;
    }
  }
}


@media screen and (max-width: 599px) {

  .FormOverView.scrollbar {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 0 16px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .vertical-line {
    display: none !important;
  }

  .Depreciation {
    margin-left: 0;
  }

  .TaxDepreciation {
    padding-left: 0;
  }

  :host ::ng-deep {

    .FormOverView.scrollbar {
      padding: 0 16px !important;
      overflow-x: hidden !important;
      overflow-y: auto !important;
    }

    .FormOverView > div {
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      width: 100% !important;
      height: auto !important;
    }

    gb-newpicklist,
    gb-input,
    gb-combobox,
    gb-date {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      margin-bottom: 8px !important;
    }

    .FormOverView > div[style*="flex"],
    .FormOverView > div[style*="display: flex"],
    div[style*="display: flex"] {
      display: flex !important;
      flex-direction: column !important;
      width: 100% !important;
      height: auto !important;
      overflow: visible !important;
    }

    div[style*="display: flex"] > div,
    div[style*="display: flex"] > div[style*="margin-right"] {
      width: 100% !important;
      max-width: 100% !important;
      margin-right: 0 !important;
      margin-left: 0 !important;
      box-sizing: border-box !important;
    }

    .automanual {
      padding: 4px 0 0 0 !important;
      width: 100% !important;
    }

    .FormsTabGroup {
      .mat-mdc-tab-label-container {
        overflow-x: auto !important;
      }
      .mat-mdc-tab {
        min-width: 80px;
        font-size: 12px;
        padding: 0 8px;
      }
    }

    mat-tab-body {
      height: auto !important;
      overflow: visible !important;
    }

    .mat-mdc-tab-body-content,
    .mat-tab-body-content {
      width: 100% !important;
      height: auto !important;
      min-height: unset !important;
      max-height: none !important;
      box-sizing: border-box !important;
      padding: 0 8px !important;
      overflow: visible !important;
    }

    .mat-mdc-tab-body-content > div {
      display: flex !important;
      flex-direction: column !important;
      width: 100% !important;
      height: auto !important;
      overflow: visible !important;
    }

    .mat-mdc-tab-body-content > div > div {
      width: 100% !important;
      height: auto !important;
      max-height: none !important;
      overflow: visible !important;
      margin-right: 0 !important;
      margin-left: 0 !important;
    }

    .mat-mdc-tab-body-content > div > div > div {
      width: 100% !important;
      height: auto !important;
      overflow: visible !important;
    }

    .Depreciation,
    .TaxDepreciation {
      display: block !important;
      width: 100% !important;
      margin-bottom: 8px !important;
    }

    .mat-mdc-tab-body-content > div > div[style*="margin-right"],
    .mat-mdc-tab-body-content > div > div[style*="margin-right: 36px"] {
      width: 100% !important;
      margin-right: 0 !important;
    }

    app-gb-formgrid,
    gb-formgrid {
      display: block !important;
      width: 100% !important;
      overflow-x: auto !important;
    }

    gb-radiobutton {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      margin: 0 0 16px 0 !important;
      height: auto !important;
      overflow: visible !important;
    }

    gb-radiobutton mat-radio-group[role="radiogroup"],
    gb-radiobutton .mat-mdc-radio-group {
      display: flex !important;
      flex-direction: column !important;
      align-items: flex-start !important;
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
      overflow: visible !important;
      flex-wrap: nowrap !important;
      width: 100% !important;
    }

    gb-radiobutton mat-radio-button,
    gb-radiobutton .mat-mdc-radio-button {
      display: flex !important;
      width: 100% !important;
      height: auto !important;
      min-height: 44px !important;
      overflow: visible !important;
      margin-bottom: 8px !important;
      align-items: center !important;
    }

    gb-checkbox {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      margin: 0 0 8px 0 !important;
      height: auto !important;
      overflow: visible !important;
    }

    gb-checkbox mat-checkbox,
    gb-checkbox .mat-mdc-checkbox {
      display: flex !important;
      width: 100% !important;
      height: auto !important;
      min-height: 44px !important;
      overflow: visible !important;
      margin-bottom: 4px !important;
      align-items: center !important;
    }

    gb-checkbox .mdc-form-field,
    gb-checkbox .mat-internal-form-field {
      display: flex !important;
      flex-direction: row !important;
      align-items: flex-start !important;
      flex-wrap: nowrap !important;
      width: 100% !important;
      height: auto !important;
      overflow: visible !important;
    }

    gb-checkbox .mdc-checkbox + label,
    gb-checkbox .mdc-form-field label,
    gb-checkbox .mat-internal-form-field label {
      white-space: normal !important;
      word-wrap: break-word !important;
      flex: 1 !important;
      min-width: 0 !important;
      overflow: visible !important;
    }

    .Checkbox_Form_Field,
    .Radio_Form_Field {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      height: auto !important;
      min-height: auto !important;
      overflow: visible !important;
    }

    .Checkbox_Form_Field .mat-mdc-text-field-wrapper,
    .Checkbox_Form_Field .mdc-text-field,
    .Radio_Form_Field .mat-mdc-text-field-wrapper,
    .Radio_Form_Field .mdc-text-field {
      height: auto !important;
      overflow: visible !important;
      width: 100% !important;
    }

    .Checkbox_Form_Field .mat-mdc-form-field-infix,
    .Radio_Form_Field .mat-mdc-form-field-infix {
      height: auto !important;
      width: 100% !important;
      overflow: visible !important;
      padding-top: 4px !important;
      padding-bottom: 4px !important;
    }

    .Radio_Form_Field mat-radio-group,
    .Radio_Form_Field .mat-mdc-radio-group {
      display: flex !important;
      flex-direction: column !important;
      align-items: flex-start !important;
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
      overflow: visible !important;
      width: 100% !important;
    }

    .Radio_Form_Field mat-radio-button,
    .Radio_Form_Field .mat-mdc-radio-button {
      display: block !important;
      height: auto !important;
      min-height: 44px !important;
      overflow: visible !important;
      margin-bottom: 4px !important;
      width: 100% !important;
    }

    .modal .modal-content {
      width: 95vw !important;
      max-width: 95vw !important;
      margin: 0 auto;
    }

    .modal .gridOver {
      overflow-x: auto;
    }
  }
}
