/* used only by viewschemes.jsp */
#WorkflowSchemes .list-workflow-table .workflow-scheme-name {
  width: 25%;
}
#WorkflowSchemes .list-workflow-table .workflow-scheme-details {
  width: 35%;
}
#WorkflowSchemes .list-workflow-table .workflow-scheme-operations {
  width: 15%;
}
#WorkflowSchemes .list-workflow-table .item-details dl > dd.rarr {
  text-align: center;
  width: 2em;
}
#WorkflowSchemes .list-workflow-table .item-details dl > dt {
  font: inherit;
  color: inherit;
  width: auto;
}
#WorkflowSchemes .list-workflow-table img {
  vertical-align: text-bottom;
}
/* used only by listworkflows.jsp */
#ViewWorkflows .list-workflow-table .workflow-name {
  width: 35%;
}
#ViewWorkflows .list-workflow-table .workflow-steps {
  width: 10%;
  text-align: center;
}
#ViewWorkflows .list-workflow-table .workflow-operations {
  width: 15%;
}
/* used only by viewschemes.jsp and listworkflows.jsp */
#ViewWorkflows .module + .module,
#WorkflowSchemes .module + .module {
  border-top: 0;
}
#ViewWorkflows .list-workflow-table,
#WorkflowSchemes .list-workflow-table {
  table-layout: fixed;
}
#ViewWorkflows .icon-draft,
#WorkflowSchemes .icon-draft {
  color: var(--ds-text-subtle, #5E6C84);
  vertical-align: middle;
}
#workflow-links {
  padding: 10px 0;
}
#edit-workflow .aui-icon {
  vertical-align: text-bottom;
}
.page-type-workflow-view .workflow-container {
  box-sizing: border-box;
  width: 100%;
}
.page-type-workflow-view #workflow-diagram-container {
  overflow: hidden;
}
.page-type-workflow-view #workflow-view-diagram {
  padding: 2px;
  border: 1px solid var(--ds-border, #e5e5e5);
}
.page-type-workflow-view .ui-draggable {
  display: inline-block;
  cursor: move;
}
.page-type-workflow-view .webkit .ui-draggable,
.page-type-workflow-view .mozilla .ui-draggable {
  cursor: grab;
}
.page-type-workflow-view .ui-draggable.ui-draggable-dragging {
  cursor: grabbing;
}
.page-type-workflow-view .top {
  box-shadow: var(--ds-shadow-overlay, inset 0 2px 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .right {
  box-shadow: var(--ds-shadow-overlay, inset -2px 0 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .bottom {
  box-shadow: var(--ds-shadow-overlay, inset 0 -2px 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .left {
  box-shadow: var(--ds-shadow-overlay, inset 2px 0 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .top.right {
  box-shadow: var(--ds-shadow-overlay, inset -2px 2px 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .top.bottom {
  box-shadow: var(--ds-shadow-overlay, inset 0 2px 4px -1px rgba(0, 0, 0, 0.1), inset 0 -2px 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .top.left {
  box-shadow: var(--ds-shadow-overlay, inset 2px 2px 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .right.bottom {
  box-shadow: var(--ds-shadow-overlay, inset -2px -2px 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .right.left {
  box-shadow: var(--ds-shadow-overlay, inset 2px 0 4px -1px rgba(0, 0, 0, 0.1), inset -2px 0 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .bottom.left {
  box-shadow: var(--ds-shadow-overlay, inset 2px -2px 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .top.right.bottom {
  box-shadow: var(--ds-shadow-overlay, inset 0 2px 4px -1px rgba(0, 0, 0, 0.1), inset -2px -2px 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .right.bottom.left {
  box-shadow: var(--ds-shadow-overlay, inset -2px -2px 4px -1px rgba(0, 0, 0, 0.1), inset 2px 0 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .bottom.left.top {
  box-shadow: var(--ds-shadow-overlay, inset 2px 2px 4px -1px rgba(0, 0, 0, 0.1), inset 0 -2px 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .left.top.right {
  box-shadow: var(--ds-shadow-overlay, inset 2px 2px 4px -1px rgba(0, 0, 0, 0.1), inset -2px 0 4px -1px rgba(0, 0, 0, 0.1));
}
.page-type-workflow-view .top.right.bottom.left {
  box-shadow: var(--ds-shadow-overlay, inset 2px 2px 4px -1px rgba(0, 0, 0, 0.1), inset -2px -2px 4px -1px rgba(0, 0, 0, 0.1));
}
#workflow-transition-header .draft-workflow-message.aui-message {
  margin-bottom: 20px;
  padding: 20px 30px 20px 50px;
}
#workflow-transition-header .draft-workflow-message.aui-message .aui-button {
  margin-bottom: -5px;
  margin-top: -5px;
}
#workflow-transition-header .draft-workflow-message.aui-message .aui-button.aui-button-link {
  float: right;
  margin-top: -5px;
  margin-left: 10px;
}
#workflow-transition-header .draft-workflow-message.aui-message .aui-buttons {
  float: right;
}
table.aui > tbody > tr.focused {
  background-color: var(--jira-color-menuSeparatorColour, var(--ds-surface-pressed, #DEEBFF));
}
#workflow-transition-info {
  margin: 20px 0 0;
}
.workflow-browser {
  border-radius: 5px;
  box-sizing: border-box;
  border: 1px solid var(--ds-border, #ccc);
  margin: 20px 0;
  padding: 10px;
  width: 100%;
}
.workflow-browser-items {
  border-collapse: collapse;
  border-spacing: 0;
  display: table;
  margin: 10px 0 0;
  table-layout: fixed;
  width: 100%;
}
.workflow-browser-items:first-child {
  margin: 0;
}
.workflow-current-origin,
.workflow-current-context,
.workflow-current-destination {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}
.workflow-current-origin {
  padding: 10px 0 10px 10px;
}
.workflow-current-origin li::before {
  content: "";
  border-top: 1px solid var(--ds-border, #ccc);
  width: 50%;
  top: 50%;
  right: 0;
  height: 0;
  position: absolute;
}
.workflow-current-origin li::after {
  border: 1px solid var(--ds-border, #ccc);
  border-width: 0 1px 0 0;
  content: "";
  right: 0;
  top: 0;
  bottom: 0;
  width: 0;
  position: absolute;
}
.workflow-current-origin li:first-child::before {
  right: 3px;
}
.workflow-current-origin li:first-child::after {
  border-width: 1px 1px 0 0;
  border-radius: 0 3px 0 0;
  height: 50px;
  width: 3px;
  top: 50%;
}
.workflow-current-origin li:last-child::before {
  right: 3px;
}
.workflow-current-origin li:last-child::after {
  border-width: 0 1px 1px 0;
  border-radius: 0 0 3px;
  margin-bottom: -1px;
  height: 50px;
  width: 3px;
  bottom: 50%;
  top: auto;
}
.workflow-current-origin li:first-child:last-child::before {
  right: 0;
}
.workflow-current-origin li:first-child:last-child::after {
  display: none;
}
.workflow-current-context {
  padding: 10px 0;
}
.workflow-current-destination {
  padding: 10px 10px 10px 0;
}
.workflow-current-destination li::before {
  content: "";
  border-top: 1px solid var(--ds-border, #ccc);
  width: 50%;
  top: 50%;
  left: 0;
  height: 0;
  position: absolute;
}
.workflow-current-destination li::after {
  border: 1px solid var(--ds-border, #ccc);
  border-width: 0 1px 0 0;
  content: "";
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  position: absolute;
}
.workflow-current-destination li:first-child::before {
  left: 3px;
}
.workflow-current-destination li:first-child::after {
  border-width: 1px 0 0 1px;
  border-radius: 3px 0 0;
  height: 50px;
  width: 3px;
  top: 50%;
}
.workflow-current-destination li:last-child::before {
  left: 3px;
}
.workflow-current-destination li:last-child::after {
  border-width: 0 0 1px 1px;
  border-radius: 0 0 0 3px;
  margin-bottom: -1px;
  height: 50px;
  width: 3px;
  bottom: 50%;
  top: auto;
}
.workflow-current-destination li:first-child:last-child::before {
  left: 0;
}
.workflow-current-destination li:first-child:last-child::after {
  display: none;
}
.workflow-inbound-step::before {
  border: 5px solid transparent;
  border-width: 5px 0 5px 10px;
  border-left-color: var(--ds-border, #ccc);
  content: "";
  height: 0;
  margin-right: 1px;
  margin-top: -5px;
  position: absolute;
  right: 100%;
  top: 50%;
  width: 0;
}
.workflow-browser ol {
  display: block;
  margin: 0;
  list-style: none;
  padding: 0;
}
.workflow-browser ol > li {
  margin: 0;
  padding: 0;
}
.workflow-browser ol > li {
  display: block;
  overflow: hidden;
  padding: 5px 10px;
  position: relative;
  vertical-align: top;
}
.workflow-current-context li::before {
  content: "";
  border-top: 1px solid var(--ds-border, #ccc);
  height: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 50%;
}
.workflow-transition-lozenge,
.workflow-step-lozenge {
  display: inline-block;
}
.workflow-transition-lozenge {
  background: var(--ds-surface, #fff);
  border-radius: 3px;
  color: var(--ds-text, #333);
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  padding: 2px 5px;
  position: relative;
  text-align: center;
  text-decoration: none;
}
.workflow-transition-lozenge a,
.workflow-transition-lozenge a:hover,
.workflow-transition-lozenge a:focus {
  color: inherit;
  text-decoration: none;
}
.workflow-transition-not-found {
  background-color: var(--ds-surface, #f5f5f5);
  color: var(--ds-text, #999);
}
.workflow-transition-global {
  background: var(--ds-surface, #000);
  color: var(--ds-text, #fff);
}
.workflow-transition-initial {
  background: var(--ds-surface, #ccc);
  border-radius: 100px;
  color: var(--ds-text, #333);
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  height: 0;
  line-height: 1;
  margin: 0;
  padding: 10px;
  position: relative;
  text-align: center;
  text-decoration: none;
  vertical-align: top;
  width: 0;
}
.workflow-transition-step {
  position: relative;
}
.workflow-transition-step a,
.workflow-transition-step a:hover,
.workflow-transition-step a:focus {
  color: inherit;
  text-decoration: none;
}
#dest_steps .workflow-transition-lozenge {
  position: relative;
}
#dest_steps .workflow-transition-lozenge::before {
  background: transparent linear-gradient(to right, var(--ds-surface-pressed, #ccc) 50%, var(--ds-surface, #fff) 100%) repeat-y 0 0;
  border-top: 1px dashed var(--ds-surface, #fff);
  content: "";
  height: 0;
  left: 100%;
  position: absolute;
  top: 50%;
  width: 40px;
  z-index: 0;
}
