.toolbar-column {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 60px;
  height: 100%;
  padding: 10px 10px;
  overflow: hidden;
  user-select: none;
}
.toolbar {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow-y: hidden;
}
.toolbar input[name=background] {
  width: 100%;
  height: 30px;
  margin-bottom: 10px;
  cursor: pointer;
}
.toolbar .zoom-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background-color: var(--theme-color-green-bg);
  background-size: auto 16px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  cursor: pointer;
}
.toolbar .zoom-button.zoom-in {
  background-image: url('/image/fa-zoom-in.png');
}
.toolbar .zoom-button.zoom-out {
  background-image: url('/image/fa-zoom-out.png');
}
.toolbar .zoom-button.zoom-reset {
  margin-top: 5px;
  background-image: url('/image/fa-zoom-reset.png');
}
.toolbar input[name=zoom] {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 30px;
  vertical-align: middle;
  height: 90px;
  -webkit-appearance: none;
  border: none;
}
.toolbar input[name=zoom]:focus {
  outline: none;
}
.toolbar input[name=zoom]::-webkit-slider-runnable-track {
  width: 15px;
  height: 100%;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #50555C;
  background: #CED9C1;
  border-radius: 15px;
  border: 0px solid #000000;
}
.toolbar input[name=zoom]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 0px solid #000000;
  height: 25px;
  width: 25px;
  border-radius: 25px;
  background: #7E8576;
  cursor: pointer;
  -webkit-appearance: none;
  margin-left: -5px;
}
.toolbar input[name=zoom]:focus::-webkit-slider-runnable-track {
  background: #CED9C1;
}
.toolbar input[name=zoom]::-moz-range-track {
  width: 15px;
  height: 100%;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #50555C;
  background: #CED9C1;
  border-radius: 15px;
  border: 0px solid #000000;
}
.toolbar input[name=zoom]::-moz-range-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 0px solid #000000;
  height: 25px;
  width: 25px;
  border-radius: 25px;
  background: #7E8576;
  cursor: pointer;
}
.toolbar input[name=zoom]::-ms-track {
  width: 100%;
  height: 15px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
.toolbar input[name=zoom]::-ms-fill-lower {
  background: #CED9C1;
  border: 0px solid #000000;
  border-radius: 30px;
  box-shadow: 0px 0px 0px #50555C;
}
.toolbar input[name=zoom]::-ms-fill-upper {
  background: #CED9C1;
  border: 0px solid #000000;
  border-radius: 30px;
  box-shadow: 0px 0px 0px #50555C;
}
.toolbar input[name=zoom]::-ms-thumb {
  margin-top: 1px;
  box-shadow: 0px 0px 0px #000000;
  border: 0px solid #000000;
  height: 25px;
  width: 25px;
  border-radius: 25px;
  background: #7E8576;
  cursor: pointer;
}
.toolbar input[name=zoom]:focus::-ms-fill-lower {
  background: #CED9C1;
}
.toolbar input[name=zoom]:focus::-ms-fill-upper {
  background: #CED9C1;
}
.toolbar .button-list {
  display: inline-flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: auto;
  overflow-x: hidden;
  overflow-y: auto;
}
.toolbar .button-list ::-webkit-scrollbar {
  display: none;
}
.toolbar .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-top: 3px;
  background-color: var(--theme-color-green-bg);
  background-size: auto 18px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  cursor: pointer;
}
.toolbar .button[name=cut] {
  background-image: url('/image/fa-cut.png');
}
.toolbar .button[name=copy] {
  background-image: url('/image/fa-copy.png');
}
.toolbar .button[name=paste] {
  background-image: url('/image/fa-paste.png');
}
.toolbar .button[name=save] {
  background-image: url('/image/fa-save.png');
}
.toolbar .button[name=rotate-left] {
  background-image: url('/image/fa-rotate-z-left.png');
}
.toolbar .button[name=rotate-right] {
  background-image: url('/image/fa-rotate-z-right.png');
}
.toolbar .button[name=flip] {
  background-image: url('/image/fa-flip.png');
}
.toolbar .button[name=crop] {
  background-image: url('/image/fa-crop.png');
}
.toolbar .button[name=delete] {
  background-image: url('/image/fa-delete.png');
}
.toolbar .button[name=render] {
  width: 40px;
  height: 40px;
  margin-top: 10px;
  background-image: url('/image/fa-render.png');
  background-size: auto 32px;
}
.toolbar .button.load {
  background-image: url('/image/load.gif') !important;
  cursor: not-allowed;
}


.designspace {
  display: inline-flex;
  flex: 1 1 1px;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 100%;
  position: relative;
  user-select: none;
}
.designspace svg {
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  z-index: 0;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag:none;
  -moz-user-drag:none;
  -o-user-drag:none;
  user-drag:none;
}
.designspace svg svg {
  z-index: 1;
}
.designspace #selection-frame {
  cursor: move;
}
.designspace #rotate-pin {
  cursor: crosshair;
  z-index: 100;
}
.designspace #rotate-box {
  cursor: crosshair;
  z-index: 100;
}
.designspace #rotate-column {
  z-index: 100;
}
.designspace #info-index-text {
  text-align: center;
  letter-spacing: 0;
}
.designspace .selected {
  stroke: #357EC7;
  stroke-width: 3;
  outline: 3px solid #357EC7;
}
.designspace .ruler {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 10;
}
.designspace .ruler-x {
  width: calc(100% - 75px);
  height: 15px;
  border-bottom: 1px solid #000;
}
.designspace .ruler-y {
  width: 15px;
  height: calc(100% - 30px);
  border-left: 1px solid #000;
}
.designspace .ruler .tick {
  position: absolute;
  background: black;
}
.designspace .ruler .x-tick {
  width: 1px;
  height: 10px;
  bottom: 0;
}
.designspace .ruler .y-tick {
  width: 10px;
  height: 1px;
  left: 0;
}
.designspace .ruler .label {
  position: absolute;
  font-size: 10px;
  color: black;
  letter-spacing: 0;
}
.designspace .ruler .x-label {
  bottom: -14px;
}
.designspace .ruler .y-label {
  right: calc(100% + 4px);
}
.designspace select[name=ruler-unit] {
  display: inline-block;
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 50px;
  height: 30px;
  padding-right: 0;
  background-position: calc(100% - 3px) center;
}

#subscreen {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 30px;
  right: 30px;
  width: 320px;
  height: 180px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #F0F0F0;
  border: 1px solid #AAA;
  border-radius: 30px;
  box-shadow: 0 0 2px rgba(0, 0, 0, .25);
}
.subscreen-rotate {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 10px;
  width: 30px;
  height: 30px;
  background-color: #FFF;
  background-size: auto 16px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(0, 0, 0, .25);
  cursor: pointer;
  user-select: none;
}
.subscreen-rotate.left {
  right: 45px;
  background-image: url('/image/fa-rotate-z-left.png');
}
.subscreen-rotate.right {
  right: 10px;
  background-image: url('/image/fa-rotate-z-right.png');
}
.subscreen-rotate.load {
  background-image: url('/image/load.gif') !important;
  cursor: not-allowed;
}
.subscreen-base {
  display: inline-block;
  position: absolute;
  width: 120px;
  height: 120px;
  user-select: none;
}
.subscreen-base img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#subscreen .angle-z {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 45px;
  height: 45px;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  background-color: #FFF;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0, 0, 0, .25);
  z-index: 10;
}
#subscreen .angle-z span {
  letter-spacing: 0;
}
#subscreen .options {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  position: absolute;
  top: 20px;
  left: 20px;
  width: auto;
  color: #000;
  font-size: 12px;
  text-align: left;
  letter-spacing: 0;
}
#subscreen input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin: 0;
  margin-right: 5px;
  cursor: pointer;
}
#subscreen .refresh {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  background-image: url('/image/icon-reload.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.widget-column {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 320px;
  height: 100%;
  padding: 12px 8px;
  overflow: hidden;
}
.widget {
  display: inline-flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 30px;
  border: 1px solid #000;
  border-radius: 8px;
  overflow: hidden;
}
.widget:last-child {
  margin-bottom: 0;
}
.widget.collapse {
  flex: none;
}
.widget .top {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 8px 15px;
  background-color: #7e8576;
  border-bottom: 1px solid #000;
}
.widget .top .title {
  margin-right: auto;
  color: #FFF;
  font-size: 16px;
  text-align: left;
}
.widget .top .expand-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  background-image: url(/image/fa-collapse.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transform-origin: center;
  transition: transform ease-in-out .2s;
}
.widget .top .expand-toggle.expanded {
  transform: rotate(180deg);
}
.widget .body {
  display: inline-flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  width: 100%;
  padding: 10px;
  overflow-y: auto;
}
.widget.collapse .body {
  display: none;
}

.widget[name=component] {

}
.widget[name=component] .body {
  padding: 0;
  overflow-y: hidden;
}
.widget[name=component] .component-list {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding: 10px;
  gap: 10px;
  overflow-x: hidden;
  overflow-y: auto;
}
.widget[name=component] .component-item {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  width: calc(50% - 5px);
  padding: 5px;
  user-select: none;
}
.widget[name=component] .component-item .thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.widget[name=component] .component-item .name {
  width: 100%;
  margin-top: 10px;
  color: #000;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
         line-clamp: 2; 
  -webkit-box-orient: vertical;
}
.widget[name=component] .component-item .add {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 45px;
  right: 5px;
  width: 30px;
  height: 30px;
  color: #000;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0;
  background-color: #FFF;
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(0, 0, 0, .25);
  cursor: pointer;
  z-index: 2;
}
.widget[name=component] .component-item .add.load {
  color: rgba(0, 0, 0, 0);
  background-image: url('/image/load.gif');
  background-size: auto 12px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: not-allowed;
}
.widget[name=component] .component-item .loading {
  display: inline-block;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  background-image: url('/image/loader.gif');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.widget[name=component] .filter-menu {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  background-image: url('/image/search-menu.png');
  background-size: auto 16px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}
.widget[name=component] .search-button {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url('/image/search-white.png');
  background-size: auto 18px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}
.widget[name=component] .search-container {
  display: none;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 8px 15px;
  background-color: #FFF;
  cursor: pointer;
}
.widget[name=component] .search-container.show {
  display: inline-flex;
}
.widget[name=component] .search {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 35px;
  border-radius: 8px;
  box-shadow: 0 0 2px rgba(0, 0, 0, .25);
}
.widget[name=component] .search-menu {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  width: 150px;
  height: 100%;
  padding: 0 6px;
  color: #FFF;
  font-size: 16px;
  text-align: left;
  letter-spacing: 0px;
  background-color: var(--theme-color-green);
  border-radius: 8px;
}
.widget[name=component] .search-menu .arrow {
  display: inline-block;
  margin-left: 10px;
  padding: 3px;
  border: solid #FFF;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
.widget[name=component] .search-menu.selected .arrow {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}
.widget[name=component] .search-menu .dropdown {
  display: none;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 256px;
  height: 160px;
  background-color: FFF;
  box-shadow: 0 0 3px rgba(0, 0, 0, .25);
  z-index: 10;
}
.widget[name=component] .search-menu.selected .dropdown {
  display: inline-flex;
}
.widget[name=component] .search-menu .search-category-list {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 50%;
  background-color: #FFF;
}
.widget[name=component] .search-menu .search-category {
  width: 100%;
  padding: 8px 12px;
  color: var(--theme-color-green);
  font-size: 16px;
  text-align: left;
}
.widget[name=component] .search-menu .search-category.selected {
  background-color: var(--theme-color-green-bg);
}
.widget[name=component] .search-menu .search-item-list {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 50%;
  max-height: 320px;
  background-color: #FFF;
  overflow-y: auto;
}
.widget[name=component] .search-menu .search-item {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 4px 6px;
  color: var(--theme-color-green);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.widget[name=component] .search-menu .search-item:hover {
/*  background-color: var(--theme-color-green-bg);*/
}
.widget[name=component] .search-menu .search-item .uicheckbox {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  background-color: #FFF;
  border: 1px solid #CCC;
  border-radius: 2px;
}
.widget[name=component] .search-menu .search-item.selected {
/*  background-color: var(--theme-color-green-bg);*/
}
.widget[name=component] .search-menu .search-item.selected .uicheckbox {
  background-image: url('/image/icon-checked.png');
  background-size: auto 70%;
  background-position: center;
  background-repeat: no-repeat;
}
.widget[name=component] .search input {
  flex: 1;
  width: auto;
  max-width: none;
  margin-left: 10px;
  color: #2e2e2e;
  background-color: transparent;
  border: none;
  outline: none;
}
.widget[name=component] .search input:focus {
  outline: none;
}
.widget[name=component] .filter-container {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 8px 15px;
  background-color: #FFF;
  overflow-y: auto;
  cursor: pointer;
  z-index: 10;
}
.widget[name=component] .filter-container.show {
  display: inline-flex;
}
.widget[name=component] .filter-container .title {
  margin-bottom: 15px;
  font-size: 16px;
  text-align: left;
  letter-spacing: 1px;
}
.widget[name=component] .filter-container .filter-row {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 8px;
  gap: 8px;
}
.widget[name=component] .filter-container .filter-row .name {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  width: 90px;
  padding: 8px 12px;
  color: var(--theme-color-green);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  background-color: var(--theme-color-green-bg);
  border: 1px solid var(--theme-color-green);
  border-radius: 6px;
}
.widget[name=component] .filter-container .filter-row .detail {
  display: inline-flex;
  flex: 1;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  gap: 6px;
}
.widget[name=component] .filter-container .filter-row .filter-item {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: auto;
  gap: 4px;
  padding: 2px 4px;
  color: #2e2e2e;
  font-size: 12px;
  text-align: center;
  border: 1px solid var(--theme-color-green);
  border-radius: 6px;
  letter-spacing: 0px;
}
.widget[name=component] .filter-container .filter-row .filter-item.selected {
  background-color: var(--theme-color-green-bg);
}
.widget[name=component] .filter-container .filter-row .filter-item .radio-container {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 12px;
  height: 12px;
  border: 1px solid var(--theme-color-green);
  border-radius: 50%;
}
.widget[name=component] .filter-container .filter-row .filter-item .radio-container .radio-dot {
  width: 6px;
  height: 6px;
}
.widget[name=component] .filter-container .filter-row .filter-item.selected .radio-container .radio-dot {
  background-color: var(--theme-color-green);
}
.widget[name=component] .filter-container .filter-row input {
  width: 100%;
}
.widget[name=component] .filter-container .filter-row input[type=range] {
  height: 16px;
}
.widget[name=component] .filter-container .filter-row .labels {
  display: inline-flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 12px;
  letter-spacing: 0;
}
.widget[name=component] .filter-container .button-row {
  display: inline-flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 12px;
}
.widget[name=component] .filter-container button {
  letter-spacing: 0;
}
.widget[name=component] .filter-container button[name=filter] {
  background-color: var(--theme-color-green-bg);
}

.layer-list {
  display: inline-flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  overflow-y: scroll;
}
.layer-item {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 6px 12px;
  border-bottom: 1px solid #EEE;
  user-select: none;
}
.layer-item.selected {
  background-color: #00B4D8;
}
.layer-item .thumbnail {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.layer-item input[name=name] {
  display: inline-flex;
  flex: 1;
  width: auto;
  min-width: 0;
  padding: 0 10px;
  color: #000;
  font-size: 14px;
  text-align: left;
  letter-spacing: 0px;
  background-color: transparent;
  border: none;
  cursor: text;
}
.layer-item input[name=name]:focus {
  background-color: #FFF;
  border: 1px solid #EEE;
}
.layer-item select[name=group] {
  flex-shrink: 0;
  width: 45px;
}
.layer-item .drag {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background-image: url('/image/icon-move.png');
  background-size: auto 20px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: move;
}
.layer-folder {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 6px 12px;
  border-bottom: 1px solid #EEE;
  cursor: pointer;
}
.layer-folder.collapse {

}
.layer-folder .detail {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}
.layer-folder .icon {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background-image: url('/image/icon-folder-expanded.png');
  background-size: auto 32px;
  background-position: center;
  background-repeat: no-repeat;
}
.layer-folder.collapse .icon {
  background-image: url('/image/icon-folder.png');
}
.layer-folder input[name=folder-name] {
  display: inline-flex;
  flex: 1;
  width: auto;
  min-width: 0;
  padding: 0 10px;
  color: #000;
  font-size: 14px;
  text-align: left;
  letter-spacing: 0px;
  background-color: transparent;
  border: none;
}
.layer-folder input[name=folder-name]:focus {
  background-color: #FFF;
  border: 1px solid #EEE;
}
.layer-folder .drag {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background-image: url('/image/icon-move.png');
  background-size: auto 20px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: move;
}
.layer-folder .delete {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background-image: url('/image/fa-delete.png');
  background-size: auto 20px;
  background-position: center;
  background-repeat: no-repeat;
}
.layer-folder .sub-layer-list {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  min-height: 10px;
  padding-left: 10px;
  transition: height ease-in-out .2s;
}
.layer-folder.collapse .sub-layer-list {
  display: none;
  height: 0;
  overflow: hidden;
}
.layer-folder .sub-layer-list .layer-item {
  padding-right: 0;
}
.layer-folder-divider {
  display: inline-block;
  width: 100%;
  height: 10px;
  border-bottom: 1px solid #EEE;
}
.add-folder {
  display: inline-block;
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background-color: #FFF;
  background-image: url('/image/icon-folder.png');
  background-size: auto 24px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(0, 0, 0, .25);
  cursor: pointer;
  z-index: 1;
}

#preview {
  display: inline-block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: lightgray;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 999;
}
#preview .preview {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.render-menu {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 10px;
  right: 30px;
  user-select: none;
  z-index: 1000;
}
.render-menu .button {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-left: 15px;
  background-color: #FFF;
  background-size: auto 24px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}
.render-menu .button[name=back] {
  background-image: url('/image/fa-exit.png');
}
.render-menu .button[name=download] {
  background-image: url('/image/fa-export.png');
}
.render-menu .button[name=video] {
  background-image: url('/image/fa-export-video.png');
}
.render-menu .button[name=share] {
  background-image: url('/image/fa-share.png');
}
.render-menu .button[name=export] {
  background-image: url('/image/fa-excel.png');
}
.render-menu .button[name=rotate-left] {
  background-image: url('/image/fa-rotate-left.png');
}
.render-menu .button[name=rotate-right] {
  background-image: url('/image/fa-rotate-right.png');
}
.render-menu .button[name=zrotate-left] {
  background-image: url('/image/fa-rotate-z-left.png');
}
.render-menu .button[name=zrotate-right] {
  background-image: url('/image/fa-rotate-z-right.png');
}
.render-menu .button.load {
  background-image: url('/image/load.gif') !important;
  cursor: not-allowed;
}
.render-menu .shadow-container {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: auto;
  margin-left: 30px;
}
.render-menu .shadow-container span {
  margin-bottom: 10px;
  color: #000;
  font-size: 14px;
  text-align: center;
}
.render-menu input[name=shadow] {
  width: 120px;
}


/* Tablet (Landscape) */
@media only screen and (min-width: 1px) and (max-width: 1200px) {
  #subscreen {
    display: none;
  }
  .widget-column {
    position: absolute;
    top: 0;
    right: -320px;
    transition: right ease-in-out .2s;
  }
  .widget-column.opened {
    right: 0;
  }
  .widget {
    background-color: #FFF;
  }
  .widget-toggle {
    display: inline-block;
    position: absolute;
    bottom: 45px;
    right: 15px;
    width: 45px;
    height: 45px;
    background-color: #7e8576;
    background-image: url('/image/icon-menu-white.png');
    background-size: auto 18px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(0, 0, 0, .25);
    cursor: pointer;
    z-index: 10;
    transition: right ease-in-out .2s;
  }
  .widget-toggle.opened {
    right: 335px;
    background-image: url('/image/icon-arrow-right-white.png');
  }
}

@media (pointer: coarse) {
  .toolbar input[name=zoom] {
    -webkit-appearance: slider-vertical;
    width: 25px;
    padding: 0;
  }
  .toolbar input[name=zoom]::-webkit-slider-runnable-track {
    width: 25px;
  }
}