﻿.workflow-element-container {
  width: 100%;
  height: 100vh;
  background: #fff;
  border: 1px solid #ccc;
  left: 0;
  bottom: 0;
}

.workflow-element-header {
  height: 38px;
  display: flex;
  color: #fff;
  background: #3c8dbc;
  align-items: center;
  justify-content: space-between
}

.workflow-element-header span {
  align-items: center;
  display: flex;
  padding-left: 15px;
  font-weight: 600
}

.element-icon {
  font-size: 18px
}

.workflow-element-body .nav-tabs {
  display: flex;
  justify-content: space-around
}

.workflow-element-body .nav-tabs-custom > .nav-tabs > li a.active {
  border-color: none;
  border: 0;
  border-bottom: 3px solid;
  border-bottom-color: #3c8dbc !important
}

.workflow-element-body .tab-content {
  display: flex;
  height: calc(100vh - 120px);
  overflow: scroll
}

.workflow-element-body .element-item {
  cursor: move;
  width: calc(50% - 18px);
  height: 84px;
  border: 1px solid #ccc;
  border-radius: 5px;
  float: left;
  margin: 8px;
  text-align: center;
  line-height: 18px
}

.element-item-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  font-size: 24px;
  -webkit-padding-before: 15px;
  padding-block-start: 15px;
  color: #666
}

.sub-level {
  font-size: 13px;
  line-height: 14px
}

.workflow-element-footer {
  width: 100%;
  height: 40px;
  background: #333;
  position: absolute;
  bottom: 0;
  padding: 5px
}

.workflow-container {
  position: relative
}

.panel-input-gap {
  cursor: pointer
}

.panel-input-gap-active {
  background: #ccc;
  color: #000;
  align-items: center;
  display: flex;
  height: 22px;
  width: 32px;
  justify-content: center
}

.drop-area {
  padding: 8px
}

.drop-area, .drop-area:hover {
  border: 1px dashed #deb887 !important;
  margin-bottom: 15px;
  min-height: 50px
}

.small-input {
  max-width: 180px;
  min-width: 180px
}

.drop-area.hover, .drop-area:hover {
  background-color: #e4e6fa
}

.panel-input-gap.close-droparea {
  background: #d73925;
  color: #fff;
  text-align: center;
  display: inline-block;
  padding-left: 4px;
  border-radius: 3px
}

.workflow-timeline {
  display: flex;
  flex-wrap: wrap;
}
.workflow-timeline .timeline-step {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 1rem;
  cursor: pointer;
}

.workflow-timeline .timeline-content {
  width: 6.5rem;
  text-align: center;
}

.workflow-timeline .inner-circle {
  font-size: 22px !important;
}

.workflow-timeline .timeline-step .greyout {
  background-color: #f4f4f4;
}
.workflow-timeline .timeline-step:hover .greyout {
  background-color: #e7e7e7;
}

.workflow-timeline .timeline-step .danger {
  background-color: #dd4b39;
}
.workflow-timeline .timeline-step:hover .danger {
  background-color: #d73925;
}

.workflow-timeline .timeline-step .aqua {
  background-color: #00c0ef;
}
.workflow-timeline .timeline-step:hover .aqua {
  background-color: #00a7d0;
}

.workflow-timeline .timeline-step .success {
  background-color: #00a65a;
}
.workflow-timeline .timeline-step:hover .success {
  background-color: #008d4c;
}

.workflow-timeline .timeline-step .primary {
  background-color: #3c8dbc;
}
.workflow-timeline .timeline-step:hover .primary {
  background-color: #367fa9;
}

.workflow-timeline .timeline-content .inner-circle {
  border-radius: 1.8rem;
  height: 3.3rem;
  width: 3.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}

@media (min-width: 768px) {
  .workflow-timeline .timeline-step:not(:last-child):after {
    content: "";
    display: block;
    border-top: .25rem dotted #3b82f6;
    width: 2.2rem;
    position: absolute;
    right: -0.9rem;
    top: 1.4rem;
  }
  .workflow-timeline .timeline-step:not(:first-child):before {
    content: "";
    display: block;
    border-top: .25rem dotted #3b82f6;
    width: 2.2rem;
    position: absolute;
    left: -0.9rem;
    top: 1.4rem;
  }
}
