.s-handles {
  white-space: nowrap;
  position: relative;
  height: 32px; /* = rowHeight */
  min-height: 32px;
  max-height: 32px;
  overflow: hidden;
  padding: 4px 0;
  box-sizing: border-box;
}

/*icons in the handle*/
.s-handles > .s-fa {
  font-size: 12px;
  line-height: 24px;
  display: inline-block;
  min-width: 14px;
  text-align: center;
  color: #999;
}

.s-handles > .alm {
  line-height: 22px;
  display: inline-block;
  min-width: 14px;
  text-align: center;
  color: #999;
}

.s-handles .s-done-mark {
  visibility: hidden;
  color: #090;
  font-size: 14px;
}

.s-item-done .s-handles .s-done-mark {
  visibility: visible;
}

.s-handles .s-dirty-mark {
  color: #2e83ff;
}

.s-handles .s-ro-mark {
  color: #dc9d9d;
}

.s-handles .s-generator-hint:hover {
  color: #aa5500;
}

.s-handles .s-row-error {
  color: #cd0a0a;
}

.s-th-handle {
  position: absolute;
  left: 24px;
  bottom: 0;
  width: 10px;
  height: 18px;
  background-color: #FFFFFF;
}

.structureBorder .st-master .s-th-handle {
  left: 24px;
}

/* hide controls for title row */
#structure .tr.s-sema-title .st-dh, #structure .tr.s-sema-title .s-ms-mark {
  visibility: hidden;
  cursor: default;
}


/* Selection */

/*todo remake with icon font*/
.s-ms-mark {
  height: 14px;
  width: 12px;
  overflow: hidden;
  background-repeat: no-repeat;
  display: block;
  float: left;
  margin-top: 3px;
}

.s-ms-mark {
  visibility: hidden;
  width: 16px;
  height: 18px;
  background: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/select.svg") no-repeat 0 0;
  cursor: default;
  outline: 0;
}

.s-ms-mark:hover,
.s-ms-toggle-all:hover {
  background-image: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/select-hover.svg");
}

.s-ms-mark:hover:active,
.s-ms-mark:active,
.s-ms-toggle-all:active,
.s-ms-toggle-all:hover:active {
  background-image: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/select-active.svg");
}

.s-ms-toggle-all {
  width: 100%;
  height: 100%;
  background: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/select.svg") no-repeat 0 0;
  display: block;
  cursor: default;
  outline: 0;
}

.s-ms-mark.s-ms-on, .s-ms-mark.s-ms-some, .s-ms-mark.s-ms-all, .tr.hrowf .s-ms-mark, .tr.s-hrow-0 .s-ms-mark {
  visibility: visible;
}

.s-ms-mark.s-ms-auto {
  opacity: 0.5;
}

.s-ms-mark.s-ms-some {
  background-position: -16px 0;
}

.s-ms-mark.s-ms-all {
  background-position: -32px 0;
}

.s-ms-mark.s-ms-on {
  background-position: -48px 0;
}

.s-ms-mark.s-ms-on.s-ms-some {
  background-position: -64px 0;
}

.s-ms-mark.s-ms-on.s-ms-all {
  background-position: -80px 0;
}

.s-ms-mark.s-ms-on.s-ms-none {
  background-position: -96px 0;
}

.s-ms-t-a-th {
  visibility: hidden;
}

.s-ms-t-a-th.s-ms-t-a-some {
  visibility: visible;
}

.s-ms-toggle-all.s-ms-t-a-all {
  background-position: -48px 0;
}

/* Selection End */

/* Dragging */

/* These are a bit tricky, because some of these rules are meant to override others - beware! */
.st-dh {
  float: left;
  height: 28px;
  width: 13px;
  padding: 2px 6px 2px 5px;
  cursor: move;
  background: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/mover.svg") no-repeat 13px 0 content-box;
}

.structureBorder .st-dh.e-generated {
  margin-left: 2px;
  border-left: 2px solid mediumseagreen;
  padding-left: 1px;
}

.structureBorder .st-dh.g-generated {
  margin-left: 2px;
  border-left: 2px solid mediumseagreen;
  padding-left: 1px;
}

.structureBorder .st-dh.i-generated {
  margin-left: 2px;
  border-left: 2px solid #AA5500;
  padding-left: 1px;
}

.structureBorder .st-dh.s-generated {
  margin-left: 2px;
  border-left: 2px solid mediumseagreen;
  padding-left: 1px;
}

#structure .s-forest-panel.ro .st-dh {
  visibility: hidden;
}

#structure .s-forest-panel.ro .st-dh.s-adjusted {
  visibility: visible;
  cursor: default;
  background-position: -112px 0;
}

.tr.hrowf .st-dh, .st-focused .s-focused .st-dh {
  background-position: 0 0;
  padding-top: 2px;
}

.tr .st-dh.s-adjusted {
  background-position: -112px 0;
}

.tr.copy .st-dh {
  background-position: -42px 0;
}

.tr.cut .st-dh {
  background-position: -28px 0;
}

.tr.hrowf .st-dh.s-adjusted, .st-focused .s-focused .st-dh.s-adjusted {
  background-position: -126px 0;
}

.tr.cut.hrowf .st-dh, .st-focused .cut.s-focused .st-dh {
  background-position: -14px 0;
}

.tr.copy.hrowf .st-dh, .st-focused .copy.s-focused .st-dh {
  background-position: -56px 0;
}

#structure .s-forest-panel.ro .copy .st-dh {
  visibility: visible;
  background-position: -42px 0;
  cursor: default;
}

#structure .s-forest-panel.ro .cut .st-dh {
  visibility: visible;
  background-position: -42px 0;
  cursor: default;
}

#structure .rootpath .st-dh {
  visibility: hidden;
  cursor: default;
}

#structure .rootpath .st-dh.s-adjusted {
  visibility: visible;
  background-position: -112px 0;
}

#structure .rootpath.copy .st-dh {
  visibility: visible;
  background-position: -42px 0;
}

#structure .rootpath.cut .st-dh {
  visibility: visible;
  background-position: -28px 0;
}

#structure .s-forest-panel.ro .rootpath.cut .st-dh {
  visibility: visible;
  background-position: -42px 0;
}

#structure .tr.root .st-dh {
  background-position: -70px 0;
  cursor: default;
}

#structure .s-forest-panel.ro .tr.root .st-dh {
  visibility: visible;
}

#structure .tr.root .st-dh.s-adjusted {
  background-position: -155px 0;
}

#structure .tr.root.cut .st-dh {
  background-position: -84px 0;
}

#structure .tr.root.copy .st-dh {
  background-position: -98px 0;
}

#structure .s-forest-panel.ro .tr.root.cut .st-dh {
  background-position: -98px 0;
}

/* Keep the padding in the dragged row in the Structure Board */
.structureBorder .st-dnd-content .p1fullwidth .st-dh {
  padding: 0 5px;
}

/* Dragging End */