/* Colors */
/* $colorDarker:#f9f9f9;
$colorBack:#191f28; 
$colorBorder:#4a4a4a; 
$colorDark:#d8d8d8; */
/* Sizes */
/* Font */
/* Font */
html, body, canvas {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  touch-action: none;
  padding: 0;
}

#guide {
  pointer-events: none;
}

#canvas {
  cursor: crosshair;
  position: absolute;
  top: 0;
  left: 0;
}

/* Sidebar */
.sidebar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  margin: 0;
  width: 16rem;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  overflow: hidden;
  border-right: 1px solid #f0f0f0;
}
.sidebar input[type=radio], .sidebar input[type=checkbox] {
  display: none;
}
.sidebar_tools {
  padding: 0;
  margin: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: -0;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  background-color: #f9f9f9;
}
.sidebar_tools > li {
  display: block;
  height: 2rem;
  /* &.collapse{
      height:0;
      opacity:0;
      transition:1s all ease;
      &:hover{
          height:$size-sm;
          opacity:1;
      }
  }
  &.noborder:hover + .collapse{
      height:$size-sm;
      opacity:1;
  }
  &.noborder:hover{
      border-bottom: 0 solid $colorBorder;
  } */
}
.sidebar_tools > li:not(.noborder) {
  border-bottom: 1px solid #f0f0f0;
}
.sidebar_tools .sidebar_blendmodes {
  height: auto;
  opacity: 1;
}
.sidebar_tools .sidebar_blendmodes .sidebar_label {
  border-left: 4px solid #e56590;
}
.sidebar_label, .sidebar_button, .sidebar_span, .sidebar_blend-option {
  padding: 0 calc(1rem / 2);
  padding-right: 0;
  display: block;
  color: #b6b6b7;
  text-align: left;
  font-size: 1rem;
  line-height: 2rem;
  font-weight: normal;
  border: 0;
  -webkit-transition: all .25s ease;
  transition: all .25s ease;
  font-weight: 700;
  text-transform: capitalize;
  border-left: 4px solid #f9f9f9;
}
.sidebar_blend-option {
  line-height: 1.5rem;
}
.sidebar_blend-option:hover {
  cursor: pointer;
  color: #191f28;
  border-left: 4px solid #ffb88c;
}
.sidebar_blendmodes-options {
  height: 0;
  overflow: hidden;
  -webkit-transition: .5s all ease;
  transition: .5s all ease;
}
.sidebar .blendmode-toggle:checked {
  border: 1px solid red;
}
.sidebar .blendmode-toggle:checked ~ .sidebar_blendmodes-options {
  height: calc(1.5rem * 16);
}
.sidebar .blendmode-toggle:checked > .sidebar_label {
  border-left: 4px solid #e53935;
}
.sidebar_label:hover, .sidebar_button:hover {
  cursor: pointer;
  border-left: 4px solid #ffb88c;
}
.sidebar_color {
  -webkit-appearance: none;
  display: block;
  outline: none;
  border: 0;
  width: calc(100% - 3rem);
  height: 2rem;
  background-color: transparent;
  cursor: pointer;
  margin-left: 3rem;
  right: 0;
  padding: 0;
}
.sidebar input[type="radio"]:checked ~ .sidebar_label {
  color: #191f28;
  border-left: 4px solid #4ccbab;
}
.sidebar input[type="checkbox"]:checked ~ .sidebar_label {
  color: #191f28;
  border-left: 4px solid #3e75c8;
}
.sidebar_button, .sidebar_button-danger {
  -webkit-appearance: none;
  display: block;
  width: 100%;
  outline: none;
  border: 0;
  text-align: left;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  line-height: 2rem;
  padding: 0 calc(1rem / 2);
  color: #b6b6b7;
  font-weight: 700;
  background-color: transparent;
  -webkit-transition: all .25s ease;
  transition: all .25s ease;
  border-left: 4px solid #f9f9f9;
}
.sidebar_button-danger {
  color: #b6b6b7;
}
.sidebar_button-danger:hover {
  border-left: 4px solid #e53935;
  background-color: #e53935;
  color: #f9f9f9;
  cursor: pointer;
}
.sidebar_palette-nav {
  width: 100%;
}
.sidebar_palette-nav div {
  display: inline-block;
  width: 55%;
}
.sidebar_palette-nav div:last-child {
  display: inline-block;
  width: 45%;
  float: right;
}
.sidebar_palette-nav .sidebar_palette-control:hover {
  border: 0;
  color: #191f28;
}
.sidebar_palette-control {
  display: inline-block;
  width: 50%;
  padding: 0;
  margin: 0;
  float: left;
  text-align: center;
  border: 0;
}
.sidebar_palette {
  padding: 0;
  magin: 0;
  width: 100%;
  text-align: center;
}
.sidebar_palette .sidebar_palette_color {
  width: 25%;
  height: 2rem;
  margin: 0;
  vertical-align: middle;
  font-size: 8pt;
  cursor: pointer;
  display: inline-block;
  padding: 0;
  magin: 0;
  float: left;
}

/* End Sidebar */
/* Toggle Button */
.sidebar_toggle-input + .sidebar_toggle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: #f9f9f9;
  text-transform: uppercase;
  font-size: 3rem;
  height: 2rem;
  line-height: 2rem;
  letter-spacing: 1px;
  width: 3rem;
  text-align: center;
  color: #191f28;
  cursor: pointer;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  box-sizing: border-box;
}
.sidebar_toggle-input[type=checkbox] {
  display: none;
}
.sidebar_toggle-input:checked ~ .sidebar {
  left: -16rem;
}
.sidebar_toggle-input:checked + .sidebar_toggle {
  left: 0;
  background-color: rgba(255, 255, 255, 0.9);
  color: #000000;
}

/* End Toggle Button */
/* Ranges Sliders */
input[type=range] {
  /*removes default webkit styles*/
  -webkit-appearance: none;
  /*fix for FF unable to apply focus style bug */
  border: 1px solid #f0f0f0;
  /*required for proper track sizing in FF*/
  width: calc(100% - 2rem);
  left: 1rem;
  margin: 10px auto;
  margin-top: 0;
}
input[type=range]::-webkit-slider-runnable-track {
  width: calc(100% - 0px);
  height: 20px;
  background: #f9f9f9;
  border: none;
  border-radius: 0;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  height: 20px;
  width: 10px;
  border-radius: 0;
  background: #ffb88c;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #f0f0f0;
}
input[type=range]:focus::-webkit-slider-thumb {
  background: #e56590;
}

.sidebar_range {
  position: relative;
}
.sidebar_range:after {
  content: attr(data-num);
  position: absolute;
  display: inline-block;
  top: -22px;
  right: 0px;
  color: #9E9E9E;
  line-height: 8pt;
}

/* End Ranges */
/* Helpers */
.noselect {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.noborder:hover + .collapse {
  height: 2rem;
}

.sidebar_tools .collapse:hover {
  height: 2rem;
}

.sidebar_tools .collapse {
  height: 2rem;
}

.last-li {
  bottom: 0;
  position: absolute;
  left: 0px;
  right: 1px;
  border-top: 1px solid #b6b6b7;
  border-bottom: 0;
}

/* End Helpers */
/*Scrollbar*/
::-webkit-scrollbar {
  width: calc(1rem / 2);
  height: calc(1rem / 2);
}

::-webkit-scrollbar-thumb {
  background: #828282;
}

::-webkit-scrollbar-track {
  background: #d8d8d8;
}

body {
  scrollbar-face-color: #828282;
  scrollbar-track-color: #d8d8d8;
}

/* End Scrollbar */