body {
  margin: 0;
  padding: 0;
  background-color: #FFF;
}

#main_canvas_holder,
#main_canvas {
  display: block;
  position: relative;
  top: -7vh;
}

@media (min-width: 1200px) {
  #main_canvas {
    left: -12vw;
  }
}

#main_canvas_holder {
  /*  height: calc(100vh - 120px);
  width: calc(100vw - 20px);*/
  overflow: hidden;
}

/* Green */
#green {
  display: block;
  background-color: #DDD;
  min-height: 120px;
  vertical-align: top;
  position: relative;
  top: 0;
}

#close_green {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  color: black;
  font-weight: bold;
  cursor: pointer;
}


/* Preview */
.preview,
.input_frame {
  display: table-cell;
  border: 2px solid black;
  padding: 0.5em;
}

/* Color picker */
.color_container {
  display: inline-block;
  text-align: center;
  line-height: 2em;
  font-weight: bold;
  border: none;
  padding: 0.1em;
  cursor: pointer;
}

.color_ele {
  display: block;
  width: 2em;
  height: 2em;
  border-radius: 2em;
}

/*
  Decorations:
*/
#instructions_decorations {
  position: absolute;
  left: 0;
  top: 100px;
}

#pli {
  display: none;
  cursor: pointer;
  /* margin-left: 2px; */
  margin-left: 10px;
  height: 100px;
}

#pli_drag_horizontal,
#pli_drag_vertical,
.decoration_holder,
#instructions_decorations {
  /* Prevent text select: */
  -webkit-user-select: none;
  /* Safari + Chrome */
  -moz-user-select: none;
  /* Firefox */
  -khtml-user-select: none;
  /* Linux */
  -ms-user-select: none;
  /* IE */
}

#pli_drag_horizontal {
  vertical-align: top;
}

#pli_drag_horizontal div {
  cursor: col-resize;
}

#pli_drag_vertical div {
  cursor: row-resize;
}

#pli_drag_vertical {
  margin-left: 2px;
}

#pli_drag_horizontal svg,
#pli_drag_vertical svg {
  max-width: 50px;
  max-height: 50px;
  width: 8vw;
  height: 8vw;
  stroke: black;
  fill: none;
}

#empty_step {
  display: none;
  border: 2px dotted black;
  margin-left: 2px;
  padding: 4px;
  color: black;
  text-align: center;
}

.decoration_holder {
  display: inline;
}

#multiplier,
#rotator {
  vertical-align: top;
  display: inline;
  visibility: hidden;
  font-family: sans-serif;
  font-weight: bold;
  color: black;
  margin-left: 4px;
}

#rotator svg {
  vertical-align: top;
  width: 10vw;
  height: 10vw;
}

/*
 Renderer for PLI
 */
#pli_render_canvas {
  position: fixed;
  left: 0;
  top: 0;
  display: none;
}

/*
  Preview:
*/
#generated {
  display: none;
}

/*
  Editor:
 */
#editor {
  margin-left: 0.5em;
  padding-top: 0.3em;
}

.editor_control {
  display: inline;
  text-align: center;
}

.editor_radio_button {
  display: none;
}

.editor_radio_button+.editor_radio_label {
  display: inline-block;
  background-color: #DDD;
  margin-right: 1vw;
  cursor: pointer;
}

.editor_radio_button:checked+.editor_radio_label {
  background-color: #AAA;
}

.editor_input {
  width: 6vw;
  text-align: center;
  font-size: 3VW;
  border: none;
  position: relative;
  top: -0.1em;
}

.editor_button,
.pli_button {
  border: none;
  margin: 0;
  padding: 0 1.1vw;
  background-color: #DDD;
  cursor: pointer;
}

.save_button {
  margin-right: 1vw;
  margin-top: 0em;
  background-color: #444;
  border: 0.3vw solid #222;
  font-size: 2.5VW;
  color: white;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  top: -0.2em;
}

.editor_radio_label svg {
  width: 9vw;
  height: 3vw;
  fill: #F66;
  stroke-width: 1;
  stroke: black;
}

.editor_button svg,
.pli_button svg {
  width: 3vw;
  height: 3vw;
  fill: #F66;
  stroke-width: 1;
  stroke: black;
}

.main_canvas_header {
  z-index: 2;
  top: 0px;
  position: fixed;
  height: 50px;
  width: 100%;
  overflow: hidden;
  padding: 0px;
  background-color: rgb(255, 255, 255);
}

.main_canvas_header>div {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

.main_canvas_header__right {
  width: 20%;
  text-align: right;
  height: 100%;
  line-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main_canvas_header__right>img {
  height: 22px;
}

.main_canvas_header__left {
  width: 20%;
}

#iconExpand {
  display: none;
}

.main_canvas_pagination {
  bottom: 0px;
  position: fixed;
  /* height: 80px; */
  height: 88px;
  width: 100%;
  overflow: hidden;
  padding: 0px;
  background-color: rgb(242, 242, 242);
}

.backButton-style {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dcdfe6;
  color: #606266;
  -webkit-appearance: none;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: 0;
  margin: 0;
  color: #fff;
  background-color: #f5bc46;
  border-color: #f5bc46;
  padding: 9px 15px;
  border-radius: 20px;
}

#progress {
  height: 8px;
  width: 64%;
  background-color: #ccc;
  border-radius: 8px;
  position: relative;
  margin: 0 auto;
}

#progress_pill {
  position: absolute;
  border-radius: 8px 0 0px 8px;
  height: 100%;
  background-color: #f5bc46;
  left: 0;
  top: 0;
}

#bar {
  position: absolute;
  top: -6px;
  left: 0;
  cursor: pointer;
  border-radius: 5px;
  height: 16px;
  width: 16px;
  border: 2px solid #f5bc46;
  background: #fff;
  border-radius: 25px;
}

.main_canvas_header__center {
  line-height: 20px!important;
  font-size: 12px!important;
  text-align: center;
  font-weight: 600;
  letter-spacing: 3px;
  width: 180px;
}

#main_canvas_header__center {
   line-height: 20px!important;
   font-size: 12px!important;
   text-align: center;
   font-weight: 600;
   letter-spacing: 3px;
   width: 180px;
 }

.main_canvas_header__right img {
  width: 22px;
}

#iconReflash1,
#iconReflash2 {
  width: 30px;
  height: 30px;
}

#options {
  visibility: hidden;
  height: 0px;
  overflow: hidden;
}

#alertBox {
  display: none;
  height: 39px;
  width: 300px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  color: #fff;
  text-align: center;
  line-height: 40px;
}