.s-editorpanel {
  position: absolute;
  z-index: 110;
  display: inline-block;
  background-color: #fff;
  border: 0 solid #dfe1e6;
  border-radius: 0 0 5px 5px;
  -webkit-box-shadow: 0 8px 12px -4px rgba(9, 30, 66, 0.32), 0 0 1px 0 rgba(9, 30, 66, 0.31);
  -moz-box-shadow: 0 8px 12px -4px rgba(9, 30, 66, 0.32), 0 0 1px 0 rgba(9, 30, 66, 0.31);
  box-shadow: 0 8px 12px -4px rgba(9, 30, 66, 0.32), 0 0 1px 0 rgba(9, 30, 66, 0.31);
  /* for whatever stupid reason IE does not display shadow if border-collapse is 'collapse' */
  border-collapse: separate;
}

.s-editorpanel:not(.s-e-create) {
  background-color: #f5f5f5;
}

.s-editorpanel:not(.s-e-complex):not(.s-e-error) {
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, .3);
  border-radius: 0;
}

.s-editorpanel .s-topbar fieldset.group {
  padding-left: 4px;
}

.s-editorpanel .s-topbar .aui-ss {
  margin-top: 2px;
}

.s-editorpanel .s-topbar .aui-ss input.aui-ss-field {
  height: auto;
}

.s-editorpanel .s-topbar .aui input[type="text"]:not(.select2-input):focus,
.s-editorpanel .s-topbar .aui input.text:focus {
  outline: none;

  border-color: #98d9ff;
  box-shadow: 0 0 3px #98d9ff;
}

.s-editorpanel .s-topbar .aui-ss .aui-ss-entity-icon {
  margin-top: -7px;
}

.s-editorpanel .s-topbar .textarea.long-field {
  margin: 3px 0;
}

.s-editorpanel .s-topbar .ajax_autocomplete input.text {
  height: 26px;
}

.s-editorpanel .s-topbar .ajax_autocomplete {
  white-space: nowrap;
}

.s-editorpanel.s-e-loading {
  width: 100%;
}

.s-editorpanel .s-editorparams {
  padding-right: 8px;
}

.s-editorpanel.s-e-create {
  left: -79px;
  right: 0;
  box-sizing: border-box;
  min-width: 516px;
  min-height: 204px;
  padding-left: 128px;
  background-color: #ffffff;
}

.s-editorpanel.s-e-create .s-editorparams {
  min-height: 125px;
}

.s-editorpanel .s-new-project-spinner {
  margin-left: 10px;
  padding: 18px 0;
}

.s-editor-celldiv {
  background-color: #EAF1FD;
  display: none;
  position: absolute;
  left: 0;
  width: 100%;
}

.s-editor-sidebar {
  display: none;
}

.s-editorpanel.s-e-create .s-editor-sidebar {
  display: block;
  position: absolute;
  width: 128px;
  left: 0;
  top: 0;
  bottom: 0;
}

.s-editor-sidebar .s-menu {
  margin-top: 3px;
  height: 26px;
  margin-right: 10px;
  float: right;
}

.s-editor-sidebar .s-menu button {
  width: 30px;
  height: 26px;
  line-height: 20px;
  border: 1px solid transparent;
  background-color: transparent;
  outline: none;
  color: #344563;
  border-radius: 3px;
}

.s-editor-sidebar .s-menu button[aria-disabled="true"] {
  color: #a5adba;
  background-color: #f4f5f7;
}

.s-editor-sidebar .s-menu button:hover:not([aria-disabled="true"]) {
  background-color: #e0e2e6;
}

.s-editor-sidebar .s-tabs {
  margin-top: 33px;
  overflow-x: hidden;
  overflow-y: auto;
}

.s-editor-sidebar .s-tabs::after,
.s-editor-sidebar .s-tabs .s-tab.active::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 2px;
}

.s-editor-sidebar .s-tabs::after {
  background: #ebecf0;
  top: 38px;
}

.s-editor-sidebar .s-tabs .s-tab.active::after {
  background: #0052cc;
  top: 5px;
  bottom: 5px;
  z-index: 1;
}

.s-editor-sidebar .s-tabs .s-tab {
  position: relative;
  padding-left: 18px;
  height: 32px;
  line-height: 33px;
  color: #42526e;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.s-editor-sidebar .s-tabs .s-tab:hover {
  cursor: pointer;
}

.s-editor-sidebar .s-tabs .s-tab:not(.active):not(sticky):hover {
  color: #4c9aff;
}

.s-editor-sidebar .s-tabs .s-tab.active:last-child {
  border-bottom-left-radius: 5px;
  border-bottom: 1px solid #fff;
}

#structure .s-editor-sidebar .s-tabs .s-tab.active:hover {
  text-decoration: none;
  cursor: auto;
}

.s-editor-sidebar .s-tab.sticky,
.s-editor-sidebar .s-tab.active {
  background-color: #FFF;
  color: #0052cc;
  font-weight: bold;
}

.s-editor-sidebar .s-tab.sticky {
  overflow: hidden;
}

.s-editor-sidebar .s-tab.sticky-top {
  position: absolute;
  top: 33px;
}

.s-editor-sidebar .s-tab.sticky-bottom {
  position: absolute;
  bottom: 0;
  border-bottom-left-radius: 5px
}

.s-editorpanel .s-topbar {
  background-color: #ffffff;
  padding: 0 4px;
}

.s-editorpanel:not(.s-e-complex) .s-topbar {
  padding: 0 90px 0 4px;
}

.s-editorpanel.s-e-create .s-topbar {
  padding-left: 0;
  margin-left: -93px;
}

.s-editor {
  min-height: 33px;
}

.s-editorpanel:not(.s-e-complex) .s-editor {
  min-height: 32px;
}

.s-editorpanel.s-e-error:not(.s-e-complex) .s-editor {
  min-height: 29px;
}

.s-editorpanel.s-e-create .s-editor {
  margin-left: 91px;
}

.s-editorpanel .s-paramscache {
  display: none;
}

.s-editorpanel.s-e-noeditor {
  background-color: #fff;
}

#structure .s-editorpanel:not(.s-e-complex):not(.s-e-error) .s-editor-revert {
  margin-right: 10px;
  text-decoration: none;
  color: #c5c5c5;
  cursor: default;
  outline: none;
}

#structure .s-editorpanel:not(.s-e-complex):not(.s-e-error) .s-editor-revert.active {
  color: #344563;
  cursor: pointer;
}

#structure .s-editorpanel:not(.s-e-complex):not(.s-e-error) .s-editor-revert.active:hover {
  color: #172b4d;
}

#structure .s-editorpanel:not(.s-e-complex):not(.s-e-error) .s-editor-revert:before {
  content: "\f0e2";
}

.s-editorpanel.s-e-noeditor .s-editor-revert {
  display: none;
}

.s-editorpanel.s-e-complex .s-oneline-buttons {
  display: none;
}

.s-editorpanel:not(.s-e-complex) {
  white-space: nowrap;
}

.s-editorpanel .s-oneline-buttons {
  position: absolute;
  bottom: 0;
  right: 4px;
}

#structure .s-editorpanel:not(.s-e-complex) .textarea {
  vertical-align: bottom;
}

.s-editorpanel:not(.s-e-complex) .s-editor {
  display: inline-block;
}

.s-e-noeditor .s-editor-celldiv {
  display: block;
  border-bottom: 1px solid #eee;
}

.s-e-loading .s-editerror, .s-e-loading .s-editbuttons, .s-e-loading .s-editor {
  display: none;
}

.s-editor INPUT[type=text]:not(.aui-ss-field):not(.select2-input) {
  height: 20px;
  margin-top: 3px;
  padding: 2px 5px;
}

#structure .s-editorpanel INPUT[type="text"]:not([role="combobox"]):not(.select2-input) {
  border: 1px solid #ccc;
  border-radius: 3px;
  line-height: inherit;
  box-sizing: content-box;
}

#structure .s-editorpanel INPUT[type=text]:not([role="combobox"]):not(.select2-input):focus {
  outline: none;

  border-color: #98d9ff;
  box-shadow: 0 0 3px #98d9ff;
}

.s-editorborder {
  white-space: nowrap;
  border-bottom-right-radius: 5px;

  /* for whatever stupid reason IE does not display shadow if border-collapse is 'collapse' */
  border-collapse: separate;
}

.s-editorpanel:not(.s-e-complex):not(.s-e-error) .s-editorborder {
  display: none;
}

.s-editorpanel.s-e-create.s-e-error {
  height: auto;
  min-height: 204px;
  overflow: hidden;
}

.s-editorpanel.s-e-create.s-e-error .s-tabs,
.s-editorpanel.s-e-create.s-e-error .s-editorborder {
  height: auto;
  min-height: 171px;
}

.s-editorpanel.s-e-create.s-e-error .s-tabs .s-tab.sticky {
  display: none;
}

.s-editorpanel.s-e-create .s-editorborder {
  background-color: #fff;
}

.s-cellerror {
  position: absolute;
  left: 0;
  top: 1px;
  padding: 0 10px 10px 0;
}

.s-error-triangle {
  border-left: 5px solid #cd0a0a;
  border-bottom: 5px solid transparent;
}

.s-cellerror-div {
  position: absolute;
  display: none;
  top: 0;
}

.s-editorpanel.s-e-create .s-cellerror-div {
  top: -1px;
  left: 0;
}

.s-e-error.s-e-editor .s-cellerror-div {
  display: block;
}

.s-editor-loading {
  position: absolute;
  left: 7px;
  top: 0;
  z-index: 1;
  width: 2px;
  height: 32px;
  background: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/field-loader.gif") 0 0 no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi) {
  .s-editor-loading {
    background: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/field-loader@2x.gif") 0 0 no-repeat;
  }
}

#structure .s-editor-celldiv .grad {
  right: 1px;
}

#structure .s-editerror {
  display: none;
  white-space: normal;
  color: #cd0a0a;
  margin-top: 0.6em;
  padding: 0 7px 0 27px;
  position: relative;
}

#structure .s-editerror div {
  position: absolute;
  width: 16px;
  height: 16px;
  left: 7px;
  top: 0;
  background: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/ui-icons_cd0a0a_256x240.png") 0 -144px no-repeat;
}

#structure .s-editerror-description,
#structure .s-editor-cancel-confirm {
  padding: 0 7px 0 27px;
  color: #666;
  white-space: normal;
  margin-top: 5px;
}

#structure .s-editerror-description a {
  white-space: nowrap;
}

.s-editor-cancel-confirm .s-answer {
  margin-top: 2px;
}

.s-editor-cancel-confirm .s-answer a {
  white-space: nowrap;
}

.s-editor-cancel-yes {
  font-weight: bolder;
}

#structure .s-e-error .s-editerror {
  display: block;
}

#s-focus-placeholder {
  width: 1px;
  height: 1px;
  position: absolute;
  display: block;
  left: -9999px;
}

.s-editbuttons, .s-editerrors {
  clear: both;
}

.s-editbuttons > .s-editor-right {
  float: right;
}

#structure .s-editbuttons,
#st-item-details .s-editbuttons {
  padding: 8px;
  overflow: hidden;
  line-height: 30px;
}

#st-item-details .s-editbuttons {
  overflow: visible;/*otherwise button shadows are partly hidden*/
  padding: 8px 0;
}

#structure .s-editbuttons > a {
  margin-right: 1em;
  display: inline-block;
  visibility: hidden;
}

#structure .s-editorpanel.s-notes-editor-panel .s-editbuttons {
  padding-top: 4px;
  padding-left: 8px;
}

#structure .s-editorpanel.s-e-create .s-editbuttons {
  padding-left: 32px;
}

#structure .s-editorpanel.s-e-create .s-editerrors {
  padding-left: 140px;
  width: 250px;
}

#structure .s-editorpanel.s-e-create .s-editerror-description {
  font-size: 14px;
}

#structure .s-editbuttons.s-with-dialog {
  min-width: 19em;
}

#structure .s-editorpanel .s-oneline-buttons {
  margin: 3px 0 3px 10px;
}

#structure .s-editorpanel.s-e-error .s-oneline-buttons {
  display: none;
}

#structure .s-editorpanel .s-oneline-buttons .s-editor-save {
  padding: 3px 10px;
  height: auto;
}

.s-editorpanel-posmarker {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  width: 7px;
  height: 3px;
  background: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/extraicons.png") no-repeat -16px 0;
}

#structure .s-editorpanel .short-field,
#structure .s-editorpanel .medium-field,
#structure .s-editorpanel .long-field {
  max-width: none;
}

#structure .s-editorpanel .error:empty {
  margin-top: 0;
}

#structure .s-editorpanel .long-field {
  width: 200px;
  min-width: 100px;
  white-space: normal;
}

#structure .s-editorpanel textarea {
  font-size: inherit;
}

#structure .s-editorpanel textarea.long-field {
  white-space: pre;
  min-height: 30px;
}

#structure .s-editorpanel .long-field.wiki-textfield {
  max-width: 100%;
  width: 100%;
  margin: 0;
}

#structure .s-editorpanel .long-field.s-summary-editor {
  width: calc(100% - 12px); /* 12px = 2px borders + 10px left-right padding because of box-sizing: content-box rule */
}

#structure .s-editorpanel.s-e-create .long-field.s-summary-editor {
  width: calc(100% - 15px); /* adopt for creation panel */
}

#structure .s-editorpanel input[type="text"]:not([role="combobox"]):not(.select2-input):disabled {
  border: 1px solid #f4f5f7;
  background-color: #f4f5f7;
}

#structure .s-editorpanel .atlassian-autocomplete .long-field ~ .suggestions {
  /* fixes problem with textarea resize */
  top: 100% !important;
}

#structure .s-editorpanel .jira-multi-select {
  min-width: 100px;
  white-space: normal;
  margin: 2px 0;
}

#structure .s-editorpanel:not(.s-e-complex) .jira-multi-select {
  margin: 3px 0;
}

#structure .s-editorpanel:not(.s-e-complex) .jira-multi-select > textarea {
  vertical-align: bottom;
}

#structure .s-editorpanel .jira-multi-select .long-field {
  width: 100%;
  padding: 4px 2px;
}

#structure .s-editorpanel .jira-multi-select > .representation .item-row {
  padding-top: 0;
  height: 20px;
}

#structure .s-editorpanel .wiki-edit-content .content-inner {
  display: none;
}

#structure .s-editorpanel.s-e-create .field-group .help-lnk {
  display: none;
}

#structure .s-editorpanel .short-field {
  width: initial;
  height: 26px;
}

#structure .s-editorpanel:not(.s-e-complex) .short-field:not(.textarea):not(.aui-ss):not(.jira-multi-select),
#structure .s-editorpanel:not(.s-e-complex) .medium-field:not(.textarea):not(.aui-ss):not(.jira-multi-select),
#structure .s-editorpanel:not(.s-e-complex) .long-field:not(.textarea):not(.aui-ss):not(.jira-multi-select) {
  height: 20px;
}

#structure .s-editorpanel .s-topbar .field-group {
  padding: 0;
  margin: 0;
}

#structure .s-editor > form.aui > .field-group > label {
  float: none;
  display: inline;
  left: 0;
  margin-right: 0;
  margin-left: 0;
  position: static;
}

#structure .s-editor > form.aui > .field-group > label:after {
  content: ":";
}

#structure .s-editor > form.aui > .field-group:nth-child(n+2) {
  white-space: normal;
}

#structure .s-editorpanel .aui-ss .aui-ss-field {
  width: 100% !important;
  max-width: none;
}

#structure.ie9 .s-editorpanel .aui-ss-has-entity-icon.aui-ss .aui-ss-field,
#structure.ie10 .s-editorpanel .aui-ss-has-entity-icon.aui-ss .aui-ss-field {
  line-height: 14px;
}

#structure .s-editorpanel .aui-message-ghx-sprint-picker-scope-warning,
#structure .s-editorpanel .ghx-sprint-picker-scope-warning {
  margin-top: 5px;
  margin-bottom: 3px;
}

.s-editor-save.aui-button,
.s-editor-save.aui-button:active,
.s-editor-save.aui-button:focus {
  background: #0052cc;
  font-weight: 400;
  color: #fff;
  border-color: transparent;
}

#structure .s-newp-pt .field-group label {
  display: none;
}

#structure .s-newp {
  padding-top: 18px;
}

#structure .s-newp .button-spinner {
  display: inline-block;
}

#structure .s-newp table {
  padding: 30px 32px 0 32px;
  margin: 0;
  border-spacing: 0;
  width: 100%;
}

#structure .s-newp table tr {
  height: 32px;
}

#structure .s-newp table td {
  padding: 2px 8px 2px 0;
  border: none;
  border-collapse: collapse;
  vertical-align: middle;
  min-height: 25px;
  height: 25px;
}

#structure .s-newp-cbl {
  position: absolute;
}

#structure .s-newp-clone {
  position: relative;
  overflow: hidden;
}

#structure .s-newp-clone-key {
  font-style: italic;
  color: #444;
}

.s-newp-new {
  margin-top: 0.6em;
}

.s-newp-pt.s-disabled {
  color: #888;
}

#structure .s-newp-pt .aui-ss, #structure .s-newp-pt .aui-ss-field {
  width: 200px;
}

.s-newp-pt-err {
  font-style: italic;
  color: #966;
  padding: 4px 0 4px 145px;
  display: block;
}

.s-newp-pt-err:before, .s-newp-pt-err:after {
  content: " ";
  display: table;
  clear: both;
}

#structure .s-editbuttons > a.s-editor-dialog {
  visibility: visible;
  float: left;
}

.s-new-space-spinner {
  width: 20px;
  height: 20px;
}

.s-blueprints-loading-error {
  position: relative;
  top: -5px;
  color: #f05c75;
}

/* STR-5494 following 3 rules work together */
#st-drag .s-editorpanel.s-e-create {
  min-height: 31px;
}

#st-drag .s-editorpanel .s-editor-sidebar .s-tabs {
  display: none;
}

#st-drag .s-editorpanel .s-editorborder {
  height: 0;
  overflow: hidden;
}
/* End STR-5494 */

.s-pages-promo-icon {
  background: #dc4885;
  border-radius: 10px;
  display: inline-block;
  color: #ffffff;
  width: 27px;
  height: 16px;
  font-size: 9px;
  text-align: center;
  line-height: 16px;
  margin-left: 4px;
  position: absolute;
  margin-top: 8px;
  text-transform: uppercase;
}

.s-pages-promo-banner {
  background-image: url("/s/-2rizk2/940000/z9u883/8.2.0/_/download/resources/com.almworks.jira.structure:widget-css/img/pages_promo.png");
  background-repeat: no-repeat;
  background-size: contain;
  height: 90px;
  margin-top: 5px;
}

.s-pages-promo-description {
  white-space: normal;
  padding: 16px 20px 8px 12px;
}

.s-pages-promo-description a {
  margin-top: 10px;
}

#structure .s-editorpanel.s-e-create .s-editbuttons.s-show-pages-promo {
  padding-left: 12px;
}

.s-button-accent,
.s-button-accent:focus {
  --aui-btn-text: #ffffff;
  --aui-btn-bg: #5243aa;
  font-weight: 500;
}

.s-button-accent:hover {
  --aui-btn-text: #ffffff;
  --aui-btn-bg: #8777d9;
}

.s-button-accent:active {
  --aui-btn-text: #ffffff;
  --aui-btn-bg: #403294;
}