#qe-editor--main {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  will-change: auto;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
  margin: 0;
  overflow: auto;
  z-index: 100;
}

#qe-editor--main.open {
  display: initial;
}

#qe-editor--wrapper {
  min-width: 320px;
  position: absolute;
  will-change: auto;
  margin-top: 0;
  z-index: 1001;
  box-shadow: -1px 23px 10px -20px rgba(0, 0, 0, 0.2);
}

#qe-editor--content .ui.form.qe-editor--single-field .field {
  margin: 0;
  box-sizing: content-box;
}

#qe-editor--wrapper.qe-modal {
  position: absolute;
  left: 50%;
  right: 50%;
  transform: translate(-50%, 0);
  width: calc(50%);
  min-width: 350px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.33);
  padding: 20px;
  background-color: #fff;
  margin-top: 40px;
  z-index: 1001;
  top: 0;
}

.dkmd #qe-editor--wrapper {
  background-color: rgb(53, 53, 53);
}

#qe-editor--wrapper .ui.basic.segment {
  background-color: transparent;
}

body.qe-open {
  overflow: hidden;
}

.qe-options {
  position: absolute;
  right: 0;
  top: 0;
  display: none;
  will-change: auto;
}

.qe-single .qe-options {
  right: -27px;
}

.qe-options--display {
  position: absolute;
  right: 20px;
  top: 20px;
  will-change: auto;
}

.qe-processed:hover {
  background-color: #F4F4F4 !important;
}

.qe-processed.qe-selected {
  background-color: rgb(240, 240, 240) !important;
}

.dkmd .qe-processed:hover,
.dkmd .qe-processed.qe-selected {
  background-color: rgb(53, 53, 53) !important;
}

#qe-editor--wrapper .sticky-actions {
  background-color: transparent;
  margin: 0;
  padding: 5px 0 !important;
  text-align: right;
}

.qe-processed:hover .qe-options {
  display: initial;
}

#js-global--modal .content {
  padding: 0;
  will-change: auto;
}

.qe-single {
  position: relative;
}

.js-qe-button--edit {
  float: left;
  z-index: 1000;
  position: relative;
}
