.s-memo-icon-picker::selection {
  background: transparent;
}

.s-memo-icon-picker .s-memo-icon,
.s-memo-icon-picker .s-memo-icons,
.s-memo-icon-picker .s-memo-colors {
  display: inline-block;
}

.s-memo-icon-picker > * {
  vertical-align: middle;
}

.s-memo-icon-picker .s-memo-icon,
.s-memo-icon-picker .s-memo-icon-inner {
  cursor: pointer;
}

.s-memo-icon-picker .s-memo-icon {
  border: 2px solid transparent;
}

.s-memo-icon-picker .s-memo-icon {
  box-sizing: border-box;
  height: 30px;
  width: 30px;
  border-radius: 4px;
  margin-right: 5px;
}

.s-memo-icon-picker .s-memo-icon-inner {
  position: relative;
  top: 4px;
  left: 3px;
  line-height: 18px;
}

.s-memo-icon-picker .s-memo-icon-inner.alm-noicon {
  color: #6f6f6f;
}

.s-memo-icon-picker .s-memo-icon:hover,
.s-memo-icon-picker .s-memo-icon.selected {
  border-color: #66A2FE;
}

.s-memo-icon-picker.s-disabled {
  opacity: 0.75;
}

.s-memo-icon-picker.s-disabled .s-memo-icon,
.s-memo-icon-picker.s-disabled .s-memo-icon-inner {
  cursor: default;
}

.s-memo-icon-picker.s-disabled .s-memo-icon:not(.selected):hover {
  border-color: transparent;
}

.s-memo-icon-picker .s-memo-icons-dash {
  margin-left: 8px;
  margin-right: 11px
}

.s-memo-icon-picker .s-memo-icons-dash:before {
  font-size: 14px;
  color: #172b4d;
  content: "\2013";
}

#structure .s-new-memo {
  padding-top: 10px;
  padding-left: 10px;
}

#structure .s-new-memo .s-memo-desc {
  margin-top: 10px;
}

#structure .s-new-memo .s-memo-desc .s-rte-container {
  min-height: 120px;
  border-radius: 3px;
  border: 1px #ccc solid;
}

#structure .s-new-memo .s-memo-desc .desc-textarea {
  height: 73px;
  max-width: none;
  resize: none;
}

#structure .s-new-memo .richeditor-cover ~ .rte-container:not(:empty),
#structure .s-new-memo .wiki-textfield {
  border-left: 0;
  border-right: 0;
}

#structure .s-new-memo .wiki-textfield {
  /*
  textarea inside wiki editor, height values must be same
  as set for RichEditorCustomizer in MemoCreationParameters
  */
  min-height: 80px !important;
  max-height: 160px !important;
}

#structure .s-new-memo .jira-wikifield ~ .save-options.wiki-button-bar {
  border: 0;
}

#st-item-details .st-memo-details-container {
  height: 100%;
}

#st-item-details .st-memo-details-container {
  display: flex;
  flex-direction: row;
}

#st-item-details .st-memo-details-indent {
  flex-grow: 1;
  flex-basis: 20px;
  min-width: 20px;
}

#st-item-details .st-memo-details-content {
  flex-grow: 4;
  flex-basis: 385px;
  min-width: 385px;
}

#st-item-details .st-memo-details-content .st-memo-header {
  margin-top: 20px;
  padding-left: 1px;
  font-size: 16px;
}

#st-item-details .st-memo-details-content .st-memo-icons-container,
#st-item-details .st-memo-details-content .st-memo-description {
  margin-top: 12px;
}

#st-item-details .st-memo-icons-container .s-te-error,
form.s-editable-form .s-te-error {
  display: none;
  background: #d04437;
  color: #fff;
  padding: 5px;
  font-size: 14px;
  font-style: normal;
}

#st-item-details .st-memo-icons-container.s-error .s-te-error,
form.s-editable-form.s-error .s-te-error {
  display: block;
}

#st-item-details .st-memo-icons-container .s-te-error {
  margin-top: 5px;
}

#st-item-details .st-memo-summary {
  min-width: 380px;
}

#st-item-details .st-memo-description form.aui {
  margin: 0;
}

#st-item-details .st-memo-description.s-editable-field-inactive {
  min-width: 380px;
}

#st-item-details .st-memo-description.s-editable-field-active {
  width: 100%;
}

#st-item-details .st-memo-details-viewport input:focus,
#st-item-details .st-memo-details-viewport textarea:focus {
  border-color: #98d9ff;
  box-shadow: 0 0 3px #98d9ff;
}

#st-item-details .st-memo-details-viewport input,
#st-item-details .st-memo-details-viewport textarea {
  outline: none;
  font-size: inherit;
}
