/*
  Copyright 2020 Roland Corporation. All rights reserved.
*/

/* Page */
/*
  <div id="" class="page-flexible-style" style="display: none;"></div>
*/

.page-flexible-style {
  position: absolute;
  clear: both;
  overflow: auto;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.page-left-style {
  position: absolute;
  clear: both;
  overflow: auto;
  left: 0;
  top: 0;
  height: 100%;
  margin: 0 auto;
  padding: 0;
}
.page-center-style {
  position: absolute;
  clear: both;
  overflow: auto;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  margin: 0 auto;
  padding: 0;
}
.page-right-style {
  position: absolute;
  clear: both;
  overflow: auto;
  right: 0;
  top: 0;
  height: 100%;
  margin: 0 auto;
  padding: 0;
}
.page-middle-style {
  position: absolute;
  clear: both;
  overflow: auto;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  padding: 0;
}
.page-popup-wrapper {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}
.page-popup-wrapper-wo-bg {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Label */
/*
  <div id="a" class="item-label-style">
      <p msg="">text</p>
  </div>
*/

.item-label-style {
  position: absolute;
  clear: both;
  display: table;
  margin: 0;
  padding: 0;
  font-size: 13px; /* default size */
  font-family: Arial;
  border: 0px;
  text-align: center;
  color: #808080;
}
.item-label-style p {
  display: table-cell;
  vertical-align: middle;
  padding: 0px;
  background-repeat: no-repeat;
  background-position: center center;
}

/* Stringer */
/*
  <div id="a" class="item-stringer-style elf-stringer-control" format="format">
      <div style="display:none;">
          <p style="background-image:url();" msg=""></p>
      </div>
      <p style="background-image:url(%icon1)">text 1</p>
      <p style="background-image:url(%icon2)">text 2</p>
      ...
  </div>
*/

.item-stringer-style {
  position: absolute;
  clear: both;
  display: table;
  margin: 0;
  padding: 0;
  font-size: 13px; /* default for aedit */
  text-align: center;
  color: #808080;
  pointer-events: none;
}
.item-stringer-style p {
  display: table-cell;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center center;
}

/* Push Button */
/*
  <div id="a" class="item-push-button-style">
      <p msg="">text</p>
  </div>
*/

.item-push-button-style {
  position: absolute;
  clear: both;
  display: table;
  margin: 0;
  padding: 1px;
  text-align: center;
  font-size: 13px;
  cursor: pointer;
  color: #808080;
  border: 1px solid #808080;
  border-radius: 4px;
  background: -moz-linear-gradient(top, #fff 0%, #ccc);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fff),
    to(#ccc)
  );
}
.item-push-button-style p {
  display: table-cell;
  vertical-align: middle;
  padding: 1px;

  background-repeat: no-repeat;
  background-position: center center;
}
.item-push-button-style:hover {
  background-color: #88e;
}
.item-push-button-style:active {
  background-color: #e88;
}

/* Latch Button */
/*
  <div id="a" class="item-latch-button-style elf-check-box-control">
    <input type="checkbox" id="a-0" />
    <label for="a-0" msg=""></label>
  </div>
*/

.item-latch-button-style {
  position: absolute;
  clear: both;
  display: table;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 13px;
  color: #808080;
  background-color: #f4f4f1;
  border: 1px solid #808080;
}
.item-latch-button-style input {
  display: none;
}
.item-latch-button-style label {
  display: table-cell;
  vertical-align: middle;
  cursor: pointer;
  padding-bottom: 1px;
  background-repeat: no-repeat;
  background-position: center center;
}
.item-latch-button-style input[type="checkbox"]:checked + label {
  background-color: #1fcc84;
  color: #f4f4f1;
}
.item-latch-button-style input[type="checkbox"]:disabled + label {
  color: #c0c0c0;
}

/* Check Box */
/*
  <div id="a" class="item-check-box-style  elf-check-box-control">
    <input type="checkbox" id="a-0" />
    <label for="a-0" msg="">check</label>
  </div>
*/

.item-check-box-style {
  position: absolute;
  clear: both;
  overflow: hidden;
  margin: 0;
  padding: 0;
  color: #808080;
}
.item-check-box-style input {
  display: none;
}
.item-check-box-style label {
  display: inline-block;
  position: relative;
  margin-left: 30px;
  vertical-align: center;
  cursor: pointer;
}
.item-check-box-style label:before {
  position: absolute;
  content: "";
  cursor: pointer;
  width: 15px;
  height: 15px;
  top: 0px;
  left: -30px;
  border: 1px solid #7c7c7c;
}
.item-check-box-style label:hover:before {
  border-color: #7c7c7c;
}
.item-check-box-style input[type="checkbox"]:checked + label:before {
  background-color: #00e900;
}

/* Radio Button */
/*
  <div id="a" class="item-radio-button-style elf-radio-button-control">
    <input name="a" id="a-0" value="0" type="radio">
    <label for="a-0" class="elf-radio-button-item" msg="">text 1</label>
    <input name="a" id="a-1" value="1" type="radio">
    <label for="a-1" class="elf-radio-button-item" msg="">text 2</label>
    ...
  </div>
*/

.item-radio-button-style {
  position: absolute;
  clear: both;
  margin: 0;
  padding: 0;
  color: #444;
}
.item-radio-button-style input {
  display: none;
}
.item-radio-button-style label {
  display: block;
  position: relative;
  margin-left: 20px;
  cursor: pointer;
  line-height: 1.5em;
}
.item-radio-button-style label:before {
  position: absolute;
  content: "";
  cursor: pointer;
  margin-top: -5px;
  width: 8px;
  height: 8px;
  top: 50%;
  left: -20px;
  border: 2px solid #888;
  border-radius: 50%;
}
.item-radio-button-style label:hover:before {
  border-color: #88e;
}
.item-radio-button-style input[type="radio"]:checked + label:before {
  background-color: #e88;
}

/* Group Button */
/*
  <div id="a" class="item-group-button-style elf-radio-button-control">
    <input type="radio" id="a-0" name="a" value="0" >
    <label for="a-0" class="elf-radio-button-item" msg="" style="width: 100%; height: 100%; line-height: 0px;">group 1</label>
    <input type="radio" id="a-1" name="a" value="1" >
    <label for="a-1" class="elf-radio-button-item" msg="" style="width: 100%; height: 100%; line-height: 0px;">group 1</label>
    ...
  </div>
*/

.item-group-button-style {
  position: absolute;
  clear: both;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid #808000;
}
.item-group-button-style input {
  display: none;
}
.item-group-button-style label {
  float: left;
  margin: 0;
  padding: 0;
  cursor: pointer;
  text-align: center;
  font-size: 13px;
  color: #808080;
  background-color: #f4f4f1;
  background-repeat: no-repeat;
  background-position: center center;
  border-right: 1px solid #7c7c7c;
}
.item-group-button-style label:last-of-type {
  border-right: none;
}
.item-group-button-style label:hover {
  background-color: #c0c0c0;
}
.item-group-button-style input[type="radio"]:checked + label {
  background-color: #808080;
  color: #ffbe3a;
}

/* Menu Button */
/*
  <div id="a" class="item-menu-button-style elf-radio-button-control">
    <input type="radio" id="a-0" name="a" value="0" >
    <label for="a-0" class="elf-radio-button-item" msg="" style="width: 100%; height: 100%; line-height: 0px;"></label>
    <input type="radio" id="a-1" name="a" value="1" >
    <label for="a-1" class="elf-radio-button-item" msg="" style="width: 100%; height: 100%; line-height: 0px;"></label>
    ...
  </div>
*/

.item-menu-button-style {
  position: absolute;
  clear: both;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 2px solid #888;
  border-radius: 2px;
}
.item-menu-button-style input {
  display: none;
}
.item-menu-button-style label {
  display: block;
  margin: 0;
  padding-left: 8px;
  cursor: pointer;
  color: #444;
  background-repeat: no-repeat;
  background-position: center center;
  border-bottom: 2px solid #888;
}
.item-menu-button-style label:last-of-type {
  border-bottom: none;
}
.item-menu-button-style label:hover {
  background-color: #88e;
}
.item-menu-button-style input[type="radio"]:checked + label {
  background-color: #e88;
}

/* Toggle Button */
/*
  <div id="a" class="item-toggle-button-style elf-toggle-button-control">
      <p style="background-image:url(%icon1)" msg="">text 1</p>
      <p style="background-image:url(%icon2)" msg="">text 2</p>
      ...
  </div>
*/

.item-toggle-button-style {
  position: absolute;
  clear: both;
  display: table;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #000;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}
.item-toggle-button-style:hover {
  background-color: #ddd;
}
.item-toggle-button-style p {
  display: table-cell;
  vertical-align: middle;
}

/* Tabs */
/*
  <div id="a" class="item-tab-style elf-tab-control">
    <div style="width: 100%;">
      <label value="0" class="elf-tab-item" msg="" style="width: 100%; line-height: 0px;">group 1</label>
      <label value="0" class="elf-tab-item" msg="" style="width: 100%; line-height: 0px;">group 2</label>
      ...
    </div>
    <p class="left-arrow" > < </p>
    <p class="right-arrow"> > </p>
  </div>
*/

.item-tab-style {
  position: absolute;
  clear: both;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #fff;
  border: 1px solid #ccc;
}
.item-tab-style div {
  position: absolute;
  clear: both;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
}
.item-tab-style div label {
  float: left;
  margin: 0;
  padding: 0;
  height: 100%;
  cursor: pointer;
  text-align: center;
  color: #000;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  border-right: 1px solid #ccc;
}
.item-tab-style div label:last-of-type {
  border-right: none;
}
.item-tab-style div label:hover {
  background-color: #ddd;
}
.item-tab-style div label[checked] {
  color: #fff;
  background-color: #000;
}
.item-tab-style .left-arrow {
  display: none;
  position: absolute;
  clear: both;
  cursor: pointer;
  margin: 0;
  padding: 0 1em;
  left: 0;
  top: 0;
  bottom: 0;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-image: url("../images/left-arrow.png");
}
.item-tab-style .right-arrow {
  display: none;
  position: absolute;
  clear: both;
  cursor: pointer;
  margin: 0;
  padding: 0 1em;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-image: url("../images/right-arrow.png");
}

/* Knob */
/*
  <div id="a" class="item-knob-style elf-knob-control"  min="" max="" tabindex="0">
    <div></div>
  </div>
*/

.item-knob-style {
  position: absolute;
  clear: both;
  overflow: hidden;
  margin: 0;
  padding: 0;
  outline: none;
  cursor: pointer;
  border: 1px solid #888;
  border-radius: 5px;
}
.item-knob-style:hover {
  background-color: #88e;
}
.item-knob-style:focus {
  background-color: #e88;
}
.item-knob-style div {
  width: 100%;
  height: 100%;
  background-image: url("../images/img_knob.png");
  background-repeat: no-repeat;
  background-position: center center;
  transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
}

/* Slider */
/*
  <div id="a" class="item-slider-style elf-slider-control" min="" max="" tabindex="0">
    <span class="item-slider-style-guide"></span>
    <div style="top: 0px; left: 0px; right: 0px; margin: 0px auto;"></div>
  </div>
*/

.item-slider-style {
  position: absolute;
  clear: both;
  outline: none;
  color: transparent;
  background-color: transparent;
  border: 2px solid #888;
  border-radius: 8px;
}
.item-slider-style div {
  position: absolute;
  cursor: pointer;
  background-color: #222;
  border-radius: 8px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto;
}
.item-slider-style div:hover {
  background-color: #88e;
}

/* Dial */
/*
  <div id="a" class="item-dial-style elf-dial-control" min="" max="" tabindex="0">
    <p>value</p><span></span>
    <canvas></canvas>
  </div>
*/

.item-dial-style {
  position: absolute;
  clear: both;
  margin: 0;
  padding: 0;
  outline: none;
  color: #8fbbcc;
  font-size: 14px;
}
.item-dial-style p {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}
.item-dial-style span {
  display: none;
  font-size: 6px; /* dial thickness */
  color: #8fbbcc; /* dial fgcolor  */
  background-color: #808080; /* dial bgcolor  */
}
.item-dial-style canvas {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
}

/* Bar */
/*
  <div id="a" class="item-bar-style elf-bar-control" min="" max="" tabindex="0">
    <div></div>
    <p>value</p>
  </div>
*/

.item-bar-style {
  position: absolute;
  clear: both;
  overflow: hidden;
  margin: 0;
  padding: 0;
  outline: none;
  cursor: pointer;
  color: #f4f4f1;
  background-color: #808080;
}
.item-bar-style div {
  position: absolute;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  background-color: #8fbbcc;
}
.item-bar-style p {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

/* Spinner */
/*
  <div id="a" class="item-spinner-style elf-spinner-control">
    <input type="text" />
    <div class="up-arrow elf-spinner-up-control"></div>
    <div class="down-arrow  elf-spinner-down-control"></div>
  </div>
*/

.item-spinner-style {
  position: absolute;
  clear: both;
  overflow: hidden;
  margin: 0;
  padding: 0;
  text-align: right;
  color: #444;
  border: 2px solid #888;
  border-radius: 8px;
}
.item-spinner-style input[type="text"] {
  display: block;
  width: 100%;
  height: 100%;
  padding-right: 24px;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: inherit;
  background: inherit;
  border: none;
  user-select: text;
  -moz-user-select: text;
  -webkit-user-select: text;
}
.item-spinner-style .up-arrow {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 50%;
  background: inherit;
  border-left: 2px solid #888;
}
.item-spinner-style .down-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 50%;
  background: inherit;
  border-top: 2px solid #888;
  border-left: 2px solid #888;
}
.item-spinner-style .item-spinner-style input[type="text"]:focus {
  background-color: #e88;
}
.item-spinner-style .up-arrow:hover,
.item-spinner-style .down-arrow:hover {
  background-color: #88e;
}
.item-spinner-style .up-arrow:before {
  content: "";
  position: absolute;
  cursor: pointer;
  right: 4px;
  bottom: 4px;
  border: 6px solid transparent;
  border-bottom-color: #444;
}
.item-spinner-style .down-arrow:after {
  content: "";
  position: absolute;
  cursor: pointer;
  right: 4px;
  top: 4px;
  border: 6px solid transparent;
  border-top-color: #444;
}

/* Select Box */
/*
  <div id="a" class="item-select-box-style elf-select-box-control" tabindex="0">
    <p msg="">selected option</p>
    <div></div>
    <div id="a-box" class="item-select-box-style-popup elf-select-box" tabindex="0" style="max-height:; display:none;">
      <a href="#" class="elf-select-box-option-control" msg="">option 1</a>
      <a>option 2</a>
      ...
    </div>
  </div>
*/

.item-select-box-style {
  position: absolute;
  clear: both;
  overflow: hidden;
  margin: 0;
  padding: 0;
  outline: none;
  text-align: center;
  color: #f4f4f1;
  background-color: #bfbfbf;
  border: 1px solid #808080;
  display: table;
}
.item-select-box-style p {
  display: table-cell;
  vertical-align: middle;
  cursor: pointer;
  padding-left: 4px;
  padding-right: 24px;
}
.item-select-box-style p:after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  margin-top: -4px;
  border: 8px solid transparent;
  border-top-color: #808080;
}
.item-select-box-style:hover {
  background-color: #8fbbcc;
}

.item-select-box-style-popup {
  position: fixed;
  overflow: auto;
  outline: none;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0;
  background-color: #eee;
  border: 1px solid #808080;
  max-height: 150px;
}
.item-select-box-style-popup a {
  display: block;
  text-decoration: none;
  margin: 0;
  padding: 4px;
  padding-left: 10px;
  text-align: left;
  font-size: 16px; /* 0.8em; */
  color: #808080;
  border-top: 1px solid #808080;
  user-drag: none;
  -moz-user-drag: none;
  -webkit-user-drag: none;
}
.item-select-box-style-popup a:hover {
  background-color: #8fbbcc;
}
.item-select-box-style-popup a[checked] {
  color: white;
  background-color: #78d6fa;
}
.item-select-box-style-popup a:nth-child(6),
.item-select-box-style-popup a:nth-child(10),
.item-select-box-style-popup a:nth-child(12) {
  display: none;
}

/* Select List */
/*
  <div id="a" class="item-select-list-style elf-select-list-control" tabindex="0" onclick="">
    <p msg="">selected option</p>
    <div id="a-list" class="item-select-list-style-popup elf-select-list" style="display:none;" tabindex="0">
      <a href="#" class="elf-select-list-option-control" msg="">option 1</a>
      <a href="#" class="elf-select-list-option-control" msg="">option 2</a>
      ...
    </div>
  </div>
*/

.item-select-list-style {
  position: absolute;
  clear: both;
  overflow: hidden;
  margin: 0;
  padding: 0;
  outline: none;
  text-align: center;
  font-size: 16px;
  color: #f4f4f1;
  background-color: #bfbfbf;
  border: 1px solid #808080;
  display: table;
}
.item-select-list-style p {
  display: table-cell;
  vertical-align: middle;
  cursor: pointer;
}
.item-select-list-style:hover {
  background-color: #8fbbcc;
}
.item-select-list-style-popup {
  position: fixed;
  overflow: auto;
  outline: none;
  -webkit-overflow-scrolling: touch;
  width: 80%;
  height: 70%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  padding: 0;
  background-color: #eee;
  border: 2px solid #808080;
  border-radius: 6px;
  animation: fadeIn 0.3s;
  -webkit-animation: fadeIn 0.3s;
}
.item-select-list-style-popup a {
  display: block;
  text-decoration: none;
  margin: 0;
  padding: 2px;
  user-drag: none;
  -moz-user-drag: none;
  -webkit-user-drag: none;
  color: #444;
  border-top: 1px solid #808080;
  text-align: left;
  text-indent: 1.5em;
  background-repeat: no-repeat;
  background-position: left center;
}
.item-select-list-style-popup a:hover {
  background-color: #8fbbcc;
}
.item-select-list-style-popup a[checked] {
  color: white;
  background-color: #78d6fa;
}

/* Select Panel */
/*
  <div id="a" class="item-select-panel-style elf-select-panel-control" style="background-image:url()" tabindex="0">
    <div id="a-panel" class="item-select-panel-style-popup elf-select-panel" style="display:none;" tabindex="0">
      <label class="item-select-panel-style-header elf-select-panel-close"></label>
      <div class="item-select-panel-style-option">
        <img class="elf-select-panel-option-control" src="image1" style="width:">
        <img class="elf-select-panel-option-control" src="image2" style="width:">
        ...
      </div>
    </div>
  </div>
*/

.item-select-panel-style {
  position: absolute;
  clear: both;
  overflow: hidden;
  margin: 0;
  padding: 0;

  border: 1px solid #ccc;

  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.item-select-panel-stylel:hover {
  background-color: #ddd;
}
/* default 'item-select-panel-style' + '-popup' */
.item-select-panel-style-popup {
  position: fixed;
  overflow: hidden;
  outline: none;
  width: 80%;
  height: 80%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  padding: 0;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  animation: fadeIn 0.3s;
  -webkit-animation: fadeIn 0.3s;
}
.item-select-panel-style-overlap {
  position: fixed;
  overflow: hidden;
  outline: none;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  padding: 0;
  background-color: #eee;
  animation: slideUp 0.3s;
  -webkit-animation: slideUp 0.3s;
}

/* default 'item-select-panel-style' + '-header' */
.item-select-panel-style-header {
  margin-left: 1em;
  padding-left: 2em;
  line-height: 2em;
  color: #aaa;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  background-image: url("../images/close.png");
}
/* default 'item-select-panel-style' + '-option' */
.item-select-panel-style-option {
  position: absolute;
  overflow: auto;
  outline: none;
  margin: 4px;
  -webkit-overflow-scrolling: touch;
  left: 0;
  top: 2em;
  right: 0;
  bottom: 0;
  margin: auto;
}
.item-select-panel-style-option img {
  display: inline-block;
  padding: 8px;
}
.item-select-panel-style-option img:hover {
  background-color: #ddd;
}

/* Text Input */
/*
  <div id="a" class="item-text-input-style elf-text-input-control" asci00i="">
    <input type="text" maxlength="n" value="">
  </div>
*/

.item-text-input-style {
  position: absolute;
  clear: both;
  overflow: hidden;
  margin: 0;
  padding: 4px;
  color: #444;
  border: 1px solid #888;
  border-radius: 2px;
}
.item-text-input-style input[type="text"] {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 4px;
  text-align: left;
  color: inherit;
  font: inherit;
  background: inherit;
  border: none;
  user-select: text;
  -moz-user-select: text;
  -webkit-user-select: text;
}
.item-text-input-style input[type="text"]:focus {
  border: 2px solid #e88;
}

/* Frame */
/*
  <div id="a" class="item-frame-style"></div>
*/

.item-frame-style {
  position: absolute;
  clear: both;
  overflow: auto;
  padding: 0;
}
