.qs_main {
  text-align: left;
  /* RM 1005: Use 'Noto Sans' font to match native style. */
  font-family: 'Noto Sans', sans-serif;
  user-select: none;
  -webkit-user-select: none;
  color: white;
  border: none;
  border-radius: 0.25rem;
  width: 100%;
}
.qs_content {
  overflow-y: visible;
}
.qs_title_bar {
  background-color: rgba(128, 131, 134, 0.8);
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  padding: 5px;
  font-weight: bold;
  border: none;
  color: white;
}
.qs_container {
  margin: 5px;
  padding: 5px;
  border: none;
  position: relative;
}
.qs_container_selected {
  border: none;
}
/*========== range ==========*/
.qs_range {
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  height: 17px;
  padding: 0px;
  margin: 0px;
  background-color: transparent;
  border: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.qs_range:focus {
  outline: none;
  border: none;
}
.qs_range::-webkit-slider-runnable-track {
  width: 100%;
  height: 15px;
  cursor: pointer;
  background: #cccccc;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.qs_range:focus::-webkit-slider-runnable-track {
  background: #cccccc;
}
.qs_range::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 15px;
  width: 15px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  background: #999999;
  cursor: pointer;
  margin-top: 0px;
}
.qs_range::-moz-range-track {
  width: 100%;
  height: 15px;
  cursor: pointer;
  background: #cccccc;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.qs_range::-moz-range-thumb {
  height: 15px;
  width: 15px;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  background: #999999;
  cursor: pointer;
}
.qs_range::-ms-track {
  width: 100%;
  height: 15px;
  cursor: pointer;
  visibility: hidden;
  background: transparent;
}
.qs_range::-ms-thumb {
  height: 15px;
  width: 15px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  background: #999999;
  cursor: pointer;
  border: none;
}
.qs_range::-ms-fill-lower {
  background: #cccccc;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.qs_range:focus::-ms-fill-lower {
  background: #cccccc;
}
.qs_range::-ms-fill-upper {
  background: #cccccc;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.qs_range:focus::-ms-fill-upper {
  background: #cccccc;
}
/*========== end range ==========*/
.qs_button {
  background-color: #f6f6f6;
  color: #000000;
  height: 30px;
  border: 1px solid #aaaaaa;
  font: 12px sans-serif;
}
.qs_button:active {
  background-color: #ffffff;
  border: 1px solid #aaaaaa;
}
.qs_button:focus {
  border: 1px solid #aaaaaa;
  outline: none;
}
.qs_checkbox {
  cursor: pointer;
  display: inline;
}
.qs_checkbox input {
  position: absolute;
  left: -99999px;
}
.qs_label {
  margin-bottom: 3px;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}
.qs_text_input {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 0 0 0 5px;
  height: 24px;
  border: 1px inset #ffffff;
  background-color: #ffffff;
  color: #000000;
}
.qs_select {
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAp0lEQVRIS+2SsQ3FIAwF7RVYhA5mgQFhFuhYhJKWL0eKxI8SGylKZ0p4+OBsHGNM+HChAiS7qkgyBKrovaLeOxhjbgtxZ+cFtgelFMg5QwgBvPd/EO5sDbKAlBLUWo/8CjmL075zDmKMj6rEKbpCqBL9aqc4ZUQAhVbInBMQUXz5Vg/WfxOktXZsWWtZLds9uIqlqaH1NFV3jdhSJA47E1CAaE8ViYp+wGiWMZ/T+cgAAAAASUVORK5CYII=') no-repeat right #f6f6f6;
  background-color: dimgray;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: white;
  width: 100%;
  height: 24px;
  border: 1px solid #aaaaaa;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  padding: 0 5px;
  -moz-outline: none;
}
.qs_select option {
}
.qs_select::-ms-expand {
  display: none;
}
.qs_select:focus {
  outline: none;
}
.qs_number {
  height: 24px;
}
.qs_image {
  width: 100%;
}
.qs_progress {
  width: 100%;
  height: 15px;
  background-color: #cccccc;
  border: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.qs_progress_value {
  height: 100%;
  background-color: #999999;
}
.qs_textarea {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  resize: vertical;
  width: 100%;
  padding: 3px 5px;
  border: 1px inset #ffffff;
  background-color: #ffffff;
  color: #000000;
}
.qs_textarea:focus {
  outline: none;
  background: #ffffff;
  border: 1px inset #ffffff;
}
.qs_color {
  position: absolute;
  left: -999999px;
}
.qs_color_label {
  width: 100%;
  height: 20px;
  display: block;
  border: 1px solid #aaaaaa;
  cursor: pointer;
  padding: 0 0 0 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.qs_file_chooser {
  position: absolute;
  left: -999999px;
}
.qs_file_chooser_label {
  background-color: #f6f6f6;
  color: #000000;
  height: 30px;
  border: 1px solid #aaaaaa;
  font: 12px sans-serif;
  width: 100%;
  display: block;
  cursor: pointer;
  padding: 7px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qs_summary {
  display: list-item;
}
.qs_color_palette_column {
  height: 25px;
  width: 25px;
  margin: 3px;
  border-radius: 50%;
  display: inline-block;
}
.qs_color_alpha {
  position: relative;
}
.qs_color_alpha::after {
  position: absolute;
  content: '';
  border-radius: 50%;
  /* RM 1084: Make icon resize with parent. */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /* RM 1084: Make transparent icon appear as white dashed circle. */
  border: 1px dashed white;
}
.qs_color_alpha:hover::after {
  display: none;
}
.qs_color_palette_current {
  height: 10px;
  width: 50px;
  display: inline-block;
}
.qs_row {
  flex-basis: 100%;
  flex-shrink: 1;
}
.qs_row .qs_content {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  justify-content: space-between;
  column-gap: 5px;
  min-width: 150px;
}
.qs_row .qs_container {
  margin: 0px;
  padding: 0px;
}

.qs_container {
  display: flex;
  align-items: center;
}

.qs_main > .qs_content > .qs_container {
  border-bottom: 1px rgba(255, 255, 255, 0.1) solid;
  margin-right: 0.5rem;
}

.qs_main > .qs_content > .qs_container > .qs_label {
  width: 6rem;
  flex-grow: 0;
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: 0.625rem;
  margin-right: 1.25rem;
}

.qs_row .qs_growable {
  flex-grow: 1;
}

.qs_checkbox span {
  display: block;
  height: 20px;
  width: 20px;
  border: 2px solid white;
  border-radius: 25%;
}

.qs_color_palette_column:hover
{
  box-shadow: 0px 0px 0px 0.125rem #ffffff;
}

.qs_color_palette_column.qs_color_palette_selected {
  background: url(../../img/official-paper/ui_icon/ui_icon_04.svg);
  background-size: 2.5rem 2.5rem;
  background-position: center;
}

.qs_checkbox input:checked + span {
  font-size: 1.125rem;
  background: white url(../../img/official-paper/ui_icon/ui_icon_04.svg);
  background-size: 2.5rem 2.5rem;
  background-position: center;
}

.qs_main {
  font-size: 1.17rem;
  border-radius: 0.25rem;
  min-width: 26rem;
}

.qs_color_palette_column {
  width: 15px;
  height: 15px;
  margin-right: 1.25rem;
}

.qs_main > .qs_content > .qs_container:first-child {
  border-bottom: 1px #FFFFFF solid;
}

.qs_main > .qs_content > .qs_container:last-child {
  border-bottom: 0;
}

.qs_text_input {
  min-width: 5rem;
  background-color: rgba(255, 255, 255, 0.2);
  border: 0;
  border-radius: 0.25rem;
  color: white;
  height: 2.5rem;
  padding: 0 1rem;
}

.qs_number {
  text-align: center;
}

.qs_checkbox_label {
  font-weight: normal;
  margin-left: 0.5rem;
}
