#structure {
  --th-ccnf-action-width: 30px;
  --th-ccnf-action-margin: 2px;
  --th-ccnf-action-icon-size: 16px;
}

#structure .sechead {
  border-bottom: 1px solid #ddd;
  overflow-y: visible;
  position: relative;
}

#structure .tableHeader {
  margin: 0 0 0;
  padding: 0;
  position: relative;
  height: 22px;
  clear: both;
  width: 100%;
  visibility: hidden;
}

#structure .s-forest-panel.drag {
  cursor: col-resize;
}

#structure.ie .s-forest-panel.drag {
  cursor: e-resize;
}

#structure .s-forest-panel.drag.drag-prohibited {
  cursor: not-allowed;
}

#structure .tableHeader .st-hc {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 99;
  background-color: transparent;
}

#structure .st-primary-bottom .tableHeader .st-hc {
  z-index: 97;
}

#structure .tableHeader .st-hc-perm {
  display: flex;
  align-self: flex-end;
  position: absolute;
  right: 0;
  top: -2px;
}

#structure .tableHeader .st-hc-faded {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
}

#structure .th-ctls {
  position: absolute;
  width: 100%;
  height: 100%;
}

#structure .tableHeader .col-sort {
  font-size: 16px;
  margin-right: 2px;
  color: #344563;
}

#structure .tableHeader .col-pin {
  font-size: 16px;
  margin-right: 2px;
  color: #ff991f;
}

#structure .tableHeader .th-ctl {
  height: 100%;
  min-height: 22px;
  overflow: hidden;
  position: absolute;
  top: 0;
  margin: 0;
  padding: 0;
}

#structure .tableHeader .th-ctl > div {
  display: none;
}

#structure .tableHeader .th-ctl.active > div {
  display: block;
}

#structure .tableHeader .th-ctl .th-ctl-hi {
  height: 22px;
  z-index: 98;
  overflow: hidden;
  background-color: #F4F5F7;
}

#structure .tableHeader .th-ctl-mv-helper {
  height: 22px;
  z-index: 198;
  overflow: hidden;
  background-color: #f3f3f3;
  color: #6F6F6F;
}

#structure .tableHeader .th.s-col-edited .celldiv {
  color: #172b4d;
  font-weight: bolder;
}

#structure .th-ctl-mv-helper .celldiv {
  padding: 2px 10px;
  font-weight: bold;
  font-size: 12px;
}

#structure .th-ctl-hi .celldiv {
  color: #7A869A;
  font-weight: bold;
  font-size: 12px;
  float: left;
  padding: 2px 1px 2px 8px;
}

#structure .th-ctl-mv {
  height: 100%;
  overflow-x: hidden;
  cursor: pointer;
}

#structure .th-ctl-cfg {
  margin-top: 3px;
  height: 22px;
  width: 22px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  color: #7A869A;
  float: right;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
}

#structure .th-ctl-cfg:hover {
  color: #344563;
}

#structure .th-ctls > div.s-resizer {
  position: absolute;
  bottom: 0;
  height: 22px;
  width: 1px;
  z-index: 100;
}

#structure .th-ctls > div.s-resizer.s-rs-active {
  width: 5px;
  margin-left: -2px;
  background-color: #94c2ff;
  z-index: 101;
}

#structure .th-ctls > div.s-resizer.s-rs-active.s-rs-fixed-area {
  background-color: #ffbc6b;
}

#structure .th-ctls > div.s-resizer a.handle {
  display: block;
  text-decoration: none;
  text-indent: -9999px;
  overflow: hidden;
  background-color: #ddd;
  width: 100%;
  height: 100%;
  z-index: 99;
  cursor: col-resize;
}

#structure.ie .th-ctls > div.s-resizer a.handle {
  cursor: e-resize;
}

#structure .th-ctls > div.s-resizer.s-rs-active a.handle {
  background-color: #94c2ff;
}

#structure .th-ctls > div.s-resizer.s-rs-active.s-rs-snapped a.handle,
#structure .th-ctls > div.s-resizer.s-rs-active.s-rs-moving a.handle {
  background-color: #4c9aff;
}

#structure .th-ctls > div.s-resizer.s-rs-active.s-rs-fixed-area a.handle {
  background-color: #ffbc6b;
}

#structure .th-ctls > div.s-resizer.s-rs-active.s-rs-fixed-area.s-rs-snapped a.handle,
#structure .th-ctls > div.s-resizer.s-rs-active.s-rs-fixed-area.s-rs-moving a.handle {
  background-color: #ff991f;
}

#structure .th-ctls > div.s-resizer.s-rs-nomove a.handle {
  cursor: default;
}

#structure .resizeIndicator {
  z-index: 100;
  position: absolute;
  left: 0;
  top: -1px;
  width: 8px;
  height: 100%;
  display: none;
  border-left: 1px solid #4c9aff;
  /*margin-left: 1px;*/
}

#structure .resizeIndicator.s-rs-snapped {
  border-left: 1px solid #4c9aff;
}

#structure .resizeIndicator.s-rs-fixed-area {
  border-left: 1px solid #ff991f;
}

#structure .tableHeader .th {
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  top: 0;
  margin: 0;
  padding: 0;
}

#structure .tableHeader .th.s-cl-rs-helper {
  background-color: #eee;
}

#structure .tableHeader .th.s-cl-rs-helper .grad {
  visibility: hidden;
}

#structure .tableHeader .th .celldiv {
  color: #7A869A;
  font-weight: bold;
  font-size: 12px;
  padding-bottom: 2px;
  padding-top: 2px;
  padding-left: 8px;
  background: transparent;
}

/* override aui-button properties */
#structure .aui-button.th-ccnf-action {
  width: var(--th-ccnf-action-width);
  height: 24px;
  margin-left: 0;
  margin-right: var(--th-ccnf-action-margin);
  line-height: var(--th-ccnf-action-icon-size);
  padding: 3px 6px;
}

#structure .aui-button.th-ccnf-action:not(.active) {
  color: #7A869A;
  background-color: #fff;
}

#structure .aui-button.th-ccnf-action:not(.active):hover {
  color: #344563;
}

#structure .th-ccnf-add-icon {
  display: inline-block;
  position: relative;
  width: var(--th-ccnf-action-icon-size);
  height: var(--th-ccnf-action-icon-size);
}

#structure .th-ccnf-uimode-icon {
  padding-top: 0.5px;
}

#structure .th-ccnf-asz {
  position: absolute;
  top: 0;
  left: 25px;
  height: 22px;
  width: 17px;
}

#structure .th-ccnf-asz.pressed {
  background: #dedede;
}

#structure a.th-ccnf-asz-icon {
  display: block;
  position: relative;
  height: 16px;
  top: 4px;
  width: 100%;
  text-decoration: none;
  background: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/autosize_icon.svg") no-repeat;
}

#structure .th-ccnf-asz.hover > a.th-ccnf-asz-icon {
  background: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/autosize_icon.svg") no-repeat 0 -16px;
}

#structure .th-ccnf-loading,
#structure .th-ccnf-loading:hover {
  background: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/loading.gif") no-repeat 0 0;
  color: transparent;
}

#structure .st-th-action-panel {
  position: absolute;
  top: 100%;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  width: 250px;
  box-shadow: 0 4px 8px -2px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31);
  -webkit-box-shadow: 0 4px 8px -2px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31);
  -moz-box-shadow: 0 4px 8px -2px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31);
  background-color: #fff;
}
