:root {
  --s-edit-column-label-width: 90px;
  --s-edit-column-label-padding: 10px;
  --s-edit-column-label-outer-width: 100px; /* width + padding */
  --s-edit-column-pin-size: 26px;
}

.st-col-edit.s-wide {
  --s-edit-column-label-width: 100px;
  --s-edit-column-label-outer-width: 110px;
}

#st-edit-column.st-col-choose {
  position: absolute;
  top: 100%;
  background-color: #ffffff; /* alternative: #f5f5f5 */
  border: 0 solid #dfe1e6;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  min-width: 100px;
  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);
  box-sizing: border-box;
  z-index: 11;
}

#st-edit-column.st-col-choose.s-wide form.aui .text,
#st-edit-column.st-col-choose.s-wide form.aui .aui-ss {
  max-width: 350px;
}

.st-col-edit form.aui div.checkbox {
  padding-left: 0;
}

.st-col-edit .st-col-buttons {
  height: 30px;
  font-size: 12px;
  line-height: 14px;
}

.st-col-edit .st-col-buttons > span {
  display: inline-block;
  top: 50%;
  transform: translate(0, -50%);
  margin-right: 8px;
  position: relative;
  color: #3571af;
  cursor: pointer;
}

.st-col-edit .st-col-buttons > span:first-child {
  margin-left: 16px;
}

.st-col-edit .st-col-buttons > span:last-child {
  float: right;
  margin-right: 16px;
}

.st-col-edit .st-col-buttons > span.st-col-remove i,
.st-col-edit .st-col-buttons > span.st-col-revert i {
  margin-right: 5px;
}

.st-col-edit .st-col-buttons > span.st-col-info > a::after {
  content: " \2197";
}

.st-col-edit .st-col-buttons > span i {
  font-size: 14px;
  cursor: pointer;
  color: #344563;
}

.st-col-edit .st-col-scroll {
  max-height: 383px;
  overflow: auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 7px 0 12px 0;
}

.st-col-edit .st-col-scroll > div {
  max-width: 350px;
}

.st-col-edit.s-wide .st-col-scroll > div {
  max-width: none;
}

.st-col-edit.s-wide .st-col-scroll {
  width: calc(360px + var(--s-edit-column-label-outer-width));
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.st-col-edit .st-col-scroll > div > form.aui fieldset:not(.st-col-opt-custom):not(.s-ae-options) {
  padding-left: var(--s-edit-column-label-padding);
  padding-right: var(--s-edit-column-label-padding);
}

.st-col-edit .st-col-scroll > div > form.aui .st-col-opt-custom > .field-group {
  /* has dependency: .s-additional-options in formulaColumn.css */
  padding-top: 0;
  padding-right: var(--s-edit-column-label-padding);
  padding-bottom: 0;
  padding-left: calc(var(--s-edit-column-label-padding) + var(--s-edit-column-label-outer-width));
}

.st-col-edit .st-col-drag {
  position: relative;
  padding-left: 11px;
}

.st-col-edit .st-col-drag-handle {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 11px;
  cursor: move;
}

.st-col-edit .st-col-drag-icon {
  width: 5px;
  height: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -4px;
  margin-left: -3px;
  background: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/ui-icons_888888_256x240.png") no-repeat -134px -36px;
}

#st-edit-column.st-col-edit div.checkbox + .select2-container.select2-container-multi.aui-select2-container {
  margin-top: 3px;
}

form.aui.s-short-label label {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

form.aui.s-short-label .field-group,
form.aui.s-short-label .group,
form.aui.s-short-label .date-select,
form.aui.s-short-label .buttons-container {
  padding-left: var(--s-edit-column-label-outer-width);
}

form.aui.s-short-label .field-group > label {
  margin-left: calc(-1 * var(--s-edit-column-label-outer-width));
  width: var(--s-edit-column-label-width);
}

#st-edit-column form.aui.s-short-label.hor-scroll-enabled fieldset > .field-group > .pin-button {
  margin-left: calc(-1 * var(--s-edit-column-label-outer-width));
  width: var(--s-edit-column-pin-size);
  height: var(--s-edit-column-pin-size);
  float: left;
}

form.aui.s-short-label.hor-scroll-enabled fieldset > .field-group > .pin-button + label {
  margin-left: calc(-1 * var(--s-edit-column-label-outer-width) + var(--s-edit-column-pin-size));
  width: calc(var(--s-edit-column-label-width) - var(--s-edit-column-pin-size));
}

form.aui.s-short-label legend > span {
  width: 75px;
}

form.aui.s-short-label .group .field-group,
form.aui.s-short-label .date-select .field-group {
  padding-left: 0;
}

#st-edit-column form.aui.s-col-opts-form,
#st-edit-column form.aui.s-col-opts-form input,
#st-edit-column form.aui.s-col-opts-form textarea {
  font-size: 14px;
}

#st-edit-column form.aui.s-col-opts-form .text,
#st-edit-column form.aui.s-col-opts-form .password,
#st-edit-column form.aui.s-col-opts-form .select {
  height: 26px;
  padding-top: 0;
  padding-bottom: 0;
}

#st-edit-column.st-col-choose.s-wide form.aui .st-tdd-container .select2-chosen {
  max-width: 270px;
}

#st-edit-column form.aui.s-col-opts-form .st-tdd-container .select2-choice {
  height: 26px;
  padding: 2px 6px;
}

#st-edit-column.ie form.aui.s-col-opts-form .text,
#st-edit-column.ie form.aui.s-col-opts-form .password,
#st-edit-column.ie form.aui.s-col-opts-form .select {
  padding-right: 0;
}

#st-edit-column.webkit form.aui.s-col-opts-form .field-group > label,
#st-edit-column.mozilla form.aui.s-col-opts-form .field-group > label,
#st-edit-column.ie form.aui.s-col-opts-form .field-group > label {
  padding-top: 4px;
}

#st-edit-column.mozilla.mac form.aui.s-col-opts-form .field-group > label {
  padding-top: 3px;
}

#st-edit-column form.aui.s-col-opts-form div.checkbox,
#st-edit-column form.aui.s-col-opts-form div.radio {
  margin-top: 4px;
}

#st-edit-column form.aui.s-col-opts-form div.checkbox label,
#st-edit-column form.aui.s-col-opts-form div.radio label {
  left: 25px;
}

body[data-aui-version^="9.3."] #st-edit-column form.aui.s-col-opts-form div.checkbox label {
  position:relative;
}

body[data-aui-version^="9.3."] #st-edit-column form.aui.s-col-opts-form div.checkbox label:before {
  content: "";
  display: inline-block;
  left: -20px;
  position: absolute;
  width: 20px;
  height: 100%;
}

body[data-aui-version^="9.3."] #st-edit-column form.aui.s-col-opts-form div.checkbox label>.aui-form-glyph:before {
  margin-left: -20px;
}

#st-edit-column form.aui.s-col-opts-form .st-col-header {
  padding-left: 10px;
  border-top: 1px solid #DFE1E5;
  margin-top: 4px;
}

#st-edit-column form.aui.s-col-opts-form .st-col-header > div {
  font-weight: 600;
  color: #6B778C;
  font-size: 11px;
  width: 100%;
  text-align: left;
  padding-top: 10px;
  text-transform: uppercase;
}

#st-edit-column.st-col-choose .field-group {
  margin: 0;
  padding-top: 3px;
  padding-bottom: 3px;
}

#st-edit-column.st-col-choose .field-group .description {
  line-height: 14px;
}

#st-edit-column.st-col-choose .field-group.erase-top-padding {
  padding-top: 0;
}

#st-edit-column.st-col-choose .field-group.erase-bottom-padding {
  padding-bottom: 0;
}

/* Used in: Attribute column, Testy column */
#st-edit-column .s-col-opts-form .aui-button {
  font-size: 14px;
  line-height: 18px;
  padding: 3px;
  height: auto;
  text-align: center;
}

/* Used in: Attribute column, Testy column */
#st-edit-column .s-col-opts-form .aui-button.aui-button-subtle .aui-icon {
  margin: 0;
}

/* Used in: Testy column, overrides default rule .aui-button ~ .aui-button. Can be used in other columns with rows of buttons. */
.s-col-opts-form .aui-button-subtle ~ .aui-button-subtle {
  margin-left: 0;
}
