.processing-tab {
  max-width: 10rem !important;
  border-radius: .3rem .3rem 0 0;
  cursor: pointer;
}

.processing-tab.active {
  background-color: var(--main-border-color);
  font-weight: bold;
}

.processing-panel {
  background-color: var(--main-border-color);
  height: 40rem;
  overflow: hidden;
}

.processing-history-tab {
  position: relative;
}

.processing-history-tab .refresh-history {
  position: absolute;
  top: 50%;
  right: 0.675rem;
  font-size: .775rem;
  transform: translateY(-50%);
  transition: opacity .2s ease-in-out;
  opacity: 0;
}

.processing-history-tab:not(.active) .refresh-history {
  pointer-events: none;
}

.processing-history-tab.active .refresh-history {
  opacity: 1;
}

.processing-history-panel {
  border-radius: 0 .3rem .3rem .3rem;
}

.table-body-container {
  height: 37rem;
  overflow: hidden auto;
}

.processing-history-panel tbody tr {
  position: relative;
}

.processing-history-panel tr.expanded {
  height: 11rem;
  background-color: var(--main-border-color) !important;
}

.processing-history-panel tr.expanded.expanded-1 {
  height: 6.5rem;
}
.processing-history-panel tr.expanded.expanded-2 {
  height: 8.5rem;
}
.processing-history-panel tr.expanded.expanded-3 {
  height: 10.5rem;
}

.processing-history-panel .expansion {
  position: absolute;
  left: 0;
  bottom: 0;
  display: none;
  width: 100%;
  height: auto;
  max-height: 17rem;
  background-color: var(--main-bg-color);
  border: .15rem solid var(--main-border-color);
  overflow: hidden;
}

.processing-history-panel .task-container {
  max-height: 6rem;
  overflow: hidden auto;
}

.processing-history-panel .task-row-header {
  background-color: var(--main-border-color) !important;
}

.processing-history-panel .task-row {
  height: 2rem;
  line-height: 2.2;
}

.processing-history-panel .task-container .task-row:nth-of-type(2n+1) {
  background-color: var(--main-eighty);
}

.processing-history-panel tr.expanded .expansion {
  display: unset;
}

.processing-history-panel tbody.expanded tr:not(.expanded) {
  opacity: .2;
}

.processing-history-panel .edit-col,
.processing-history-panel .edit-header-col {
  width: 3rem;
  max-width: 3rem;
}
.processing-history-panel .id-col,
.processing-history-panel .id-header-col {
  width: 7rem;
  max-width: 7rem;
}
.processing-history-panel .status-col,
.processing-history-panel .status-header-col {
  width: 13rem;
  max-width: 13rem;
  padding-top: .8rem;
}
.processing-history-panel .pipeline-col,
.processing-history-panel .pipeline-header-col {
  width: 21rem;
  max-width: 21rem;
}

.processing-history-panel .id-task,
.processing-history-panel .id-header-task {
  width: 9.9rem;
  max-width: 9.9rem;
  flex: unset;
  padding-left: 3.5rem;
}
.processing-history-panel .status-task,
.processing-history-panel .status-header-task {
  width: 13.1rem;
  max-width: 13.1rem;
  flex: unset;
}
.processing-history-panel .output-task,
.processing-history-panel .output-header-task {
  width: 18rem;
  max-width: 18rem;
  flex: unset;
}

.processing-history-panel .processing_download {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  line-height: 1;
}
.processing-history-panel .processing_download.download_disabled {
  filter: grayscale();
  pointer-events: none;
}
.processing-history-panel .download_disabled .das_download {
  color: #606060;
}
.processing-history-panel .nextcloud_download {
  max-height: 1rem;
  border-radius: .2rem;
}

.processing-history-panel .status-task {
  padding-top: .5rem;
}

.processing-creation-panel {
  border-radius: .3rem;
}

.processing-panel:not(.active) {
  display: none;
}

.processing-step {
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.processing-step-number-container {
  position: relative;
  width: 2rem;
  height: 2rem;
  background-color: var(--secondary-quarter);
  color: var();
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
}

.processing-step.active .processing-step-number-container {
  background-color: var(--adam-accent-hover-color);
}

.processing-step.active .processing-step-title,
.processing-step.active .processing-step-subtitle {
  color: var(--secondary-quarter);
}

.processing-step.active.open .processing-step-number-container {
  background-color: var(--adam-accent-color);
}
.processing-step.active.open .processing-step-title,
.processing-step.active.open .processing-step-subtitle {
  color: var(--main-text-color);
}

.processing-step-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.processing-step:not(.active) {
  color: var(--secondary-quarter);
}

.processing-step-title {
  font-weight: bold;
}

.processing-step-subtitle {
  font-size: .775rem;
}

.processing-step-body {
  border-top: 1px solid var(--secondary-quarter);
}

.processing-step-body:not(.active) {
  display: none;
}

.processing-panel td {
  text-overflow: ellipsis;
  overflow: hidden;
}

.processing-step-body .col-6 {
  -ms-flex: 0 0 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

.processing-step-body .row {
  height: 2rem;
  margin-bottom: 1rem;
}

.processing-step-body .row .control-label {
  width: 6rem;
  height: 2rem;
  margin-bottom: 0;
  padding-left: .5rem;
}

.processing-step-body .row.required .control-label::after {
  content: "*";
  color: #FF0000;
}

.processing-step-body .row .input-group {
  height: 2rem;
  background-color: unset !important;
}

.processing-step-body .row .form-group {
  height: 2rem;
  margin-bottom: 0;
}

.processing-step-body .row .form-control {
  height: 2rem;
  margin-bottom: 0;
  padding-left: .2rem;
}

.processing-step-body .row .geoinput-input {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.processing-step-body .row .geoinput-button {
  width: 100%;
  height: 2rem;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: .1rem;
  background-color: var(--secondary-bg-color) !important;
  border: 1px solid var(--main-border-color) !important;
  border-top-right-radius: var(--adam-secondary-border-radius) !important;
  border-bottom-right-radius: var(--adam-secondary-border-radius) !important;
  color: var(--main-text-color) !important;
  cursor: pointer;
}

.processing-step-body .row .upload-button {
  width: 100%;
  height: 2rem;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: .1rem;
  background-color: var(--secondary-bg-color) !important;
  border-top: 1px solid var(--main-border-color) !important;
  border-left: 1px solid var(--main-border-color) !important;
  border-right: unset !important;
  border-bottom: 1px solid var(--main-border-color) !important;
  color: var(--main-text-color) !important;
  cursor: pointer;
}

.processing-step-body .processing-duedate {
  width: 100%;
  height: 2rem;
  background-color: unset;
}

.processing-step-body .processing-duedate .flatpickr-input {
  width: 100%;
}

.processing-step-body .view_geometry {
  width: 13.2rem;
  background-color: var(--secondary-bg-color);
}

.processing-step-body .submit-button {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  background-color: var(--secondary-bg-color);
}

.processing-step-body .ncu.disabled {
  background-color: var(--main-quarter) !important;
  pointer-events: none;
}