@charset "UTF-8";
@font-face {
  font-family: 'fontello';
  src: url("./font/fontello.eot");
  src: url("./font/fontello.eot") format("embedded-opentype"), url("./font/fontello.woff2") format("woff2"), url("./font/fontello.woff") format("woff"), url("./font/fontello.ttf") format("truetype"), url("./font/fontello.svg") format("svg");
  font-weight: normal;
  font-style: normal; }

.spainterContainer .paint-crp-rect, .spainterContainer .paint-crp-rect .paintPastedImg {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.spainterContainer {
  display: flex;
  outline: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  position: relative; }
  .spainterContainer input[type=range] {
    width: 40px;
    margin: 0;
    padding: 0;
    display: block;
    cursor: pointer;
    border-top: 1px solid grey;
    accent-color: #555; }
    .spainterContainer input[type=range]::-webkit-slider-runnable-track {
      height: 2px; }
    .spainterContainer input[type=range]::-webkit-slider-thumb {
      appearance: none;
      width: 4px !important;
      height: 4px !important;
      min-width: 4px;
      min-height: 4px;
      max-width: 4px;
      max-height: 4px;
      border-radius: 50%;
      background: #555;
      box-sizing: border-box;
      margin-top: -1px; }
    .spainterContainer input[type=range]::-moz-range-track {
      height: 2px; }
    .spainterContainer input[type=range]::-moz-range-thumb {
      appearance: none;
      width: 4px !important;
      height: 4px !important;
      min-width: 4px;
      min-height: 4px;
      max-width: 4px;
      max-height: 4px;
      border-radius: 50%;
      background: #555;
      box-sizing: border-box;
      margin-top: -1px; }
  .spainterContainer .active-icon {
    color: red; }
  .spainterContainer .disabled {
    color: grey; }
  .spainterContainer .spainterHidden {
    display: none !important; }
  .spainterContainer .paint-crp-rect {
    position: absolute;
    min-width: 20px;
    min-height: 20px;
    border: 1px dashed #cacaca; }
    .spainterContainer .paint-crp-rect .paintPastedImg {
      width: 100%;
      height: 100%;
      cursor: move;
      margin-bottom: -4px; }
    .spainterContainer .paint-crp-rect [pos=tl], .spainterContainer .paint-crp-rect [pos=bl], .spainterContainer .paint-crp-rect [pos=br], .spainterContainer .paint-crp-rect [pos=tr], .spainterContainer .paint-crp-rect [pos=l], .spainterContainer .paint-crp-rect [pos=t], .spainterContainer .paint-crp-rect [pos=r], .spainterContainer .paint-crp-rect [pos=b] {
      position: absolute;
      background-color: #e2e2e2;
      border: 1px solid #cacaca;
      width: 6px;
      height: 6px;
      z-index: 2; }
    .spainterContainer .paint-crp-rect [pos=tl] {
      top: 0;
      left: 0;
      margin: -4px 0 0 -4px;
      cursor: se-resize; }
    .spainterContainer .paint-crp-rect [pos=bl] {
      left: 0;
      bottom: 0;
      margin: 0 0 -4px -4px;
      cursor: ne-resize; }
    .spainterContainer .paint-crp-rect [pos=br] {
      right: 0;
      bottom: 0;
      margin: 0 -4px -4px 0;
      cursor: se-resize; }
    .spainterContainer .paint-crp-rect [pos=tr] {
      right: 0;
      top: 0;
      margin: -4px -4px 0 0;
      cursor: ne-resize; }
    .spainterContainer .paint-crp-rect [pos=l] {
      top: 50%;
      left: 0;
      margin: -4px 0 0 -4px;
      cursor: e-resize; }
    .spainterContainer .paint-crp-rect [pos=t] {
      top: 0;
      left: 50%;
      margin: -4px 0 0 -4px;
      cursor: s-resize; }
    .spainterContainer .paint-crp-rect [pos=r] {
      top: 50%;
      right: 0;
      margin: -4px -4px 0 0;
      cursor: e-resize; }
    .spainterContainer .paint-crp-rect [pos=b] {
      left: 50%;
      bottom: 0;
      margin: 0 0 -4px -4px;
      cursor: s-resize; }
  .spainterContainer .canvasResize {
    cursor: se-resize;
    position: absolute;
    background-color: rgba(128, 128, 128, 0.5);
    bottom: 0px;
    right: 0px;
    width: 10px;
    height: 10px; }
  .spainterContainer .paintResizeTools {
    display: inline-block;
    padding-right: 10px; }
    .spainterContainer .paintResizeTools > input {
      width: 50px; }
  .spainterContainer .toolsAndCanvas {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex: 1;
    min-height: 0; }
    .spainterContainer .toolsAndCanvas .painterTools {
      padding-left: 10px;
      display: flex;
      flex-direction: column;
      margin-left: -5px;
      height: fit-content; }
      .spainterContainer .toolsAndCanvas .painterTools * {
        cursor: pointer;
        display: block;
        padding: 5px 5px 5px 0; }
      @media screen and (max-height: 600px) {
        .spainterContainer .toolsAndCanvas .painterTools {
          width: 60px;
          min-width: 60px;
          flex-direction: row;
          flex-wrap: wrap; } }
    .spainterContainer .toolsAndCanvas .canvasWrapper {
      width: 100%;
      position: relative;
      overflow: auto;
      border: 1px dashed rgba(128, 128, 128, 0.5); }
      .spainterContainer .toolsAndCanvas .canvasWrapper .painter {
        touch-action: none; }
      .spainterContainer .toolsAndCanvas .canvasWrapper canvas {
        -moz-background-size: 50px 50px;
        -webkit-background-size: 50px 50px;
        background-image: linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc), linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc);
        background-size: 50px 50px;
        background-position: 0 0, 25px 25px; }
      .spainterContainer .toolsAndCanvas .canvasWrapper .text {
        position: absolute;
        border: 1px dashed;
        width: auto;
        min-width: 5px;
        word-wrap: normal;
        padding: 0 1px; }
  .spainterContainer .bottomTools {
    padding-top: 5px;
    margin-left: 24px;
    flex-grow: 0;
    display: flex;
    overflow-y: hidden;
    align-items: flex-end;
    max-width: 100%;
    overflow-x: auto; }
    .spainterContainer .bottomTools .paintFont, .spainterContainer .bottomTools .paintOpacity, .spainterContainer .bottomTools .paintFillOpacity, .spainterContainer .bottomTools .paintRadius, .spainterContainer .bottomTools .paintColor, .spainterContainer .bottomTools .paintColorFill {
      display: inline-flex;
      flex-direction: column;
      vertical-align: top; }
      .spainterContainer .bottomTools .paintFont > span, .spainterContainer .bottomTools .paintOpacity > span, .spainterContainer .bottomTools .paintFillOpacity > span, .spainterContainer .bottomTools .paintRadius > span, .spainterContainer .bottomTools .paintColor > span, .spainterContainer .bottomTools .paintColorFill > span {
        font-size: 10px;
        opacity: 0.6;
        margin-bottom: 1px;
        display: block;
        white-space: nowrap; }
      .spainterContainer .bottomTools .paintFont input[type=text], .spainterContainer .bottomTools .paintOpacity input[type=text], .spainterContainer .bottomTools .paintFillOpacity input[type=text], .spainterContainer .bottomTools .paintRadius input[type=text], .spainterContainer .bottomTools .paintColor input[type=text], .spainterContainer .bottomTools .paintColorFill input[type=text] {
        width: 30px;
        padding: 2px 4px;
        vertical-align: top; }
      .spainterContainer .bottomTools .paintFont > input, .spainterContainer .bottomTools .paintOpacity > input, .spainterContainer .bottomTools .paintFillOpacity > input, .spainterContainer .bottomTools .paintRadius > input, .spainterContainer .bottomTools .paintColor > input, .spainterContainer .bottomTools .paintColorFill > input {
        margin-right: 0; }
      .spainterContainer .bottomTools .paintFont div, .spainterContainer .bottomTools .paintOpacity div, .spainterContainer .bottomTools .paintFillOpacity div, .spainterContainer .bottomTools .paintRadius div, .spainterContainer .bottomTools .paintColor div, .spainterContainer .bottomTools .paintColorFill div {
        display: flex;
        align-items: center;
        gap: 4px; }
      @media (pointer: none), (pointer: coarse) {
        .spainterContainer .bottomTools .paintFont input[type=text], .spainterContainer .bottomTools .paintOpacity input[type=text], .spainterContainer .bottomTools .paintFillOpacity input[type=text], .spainterContainer .bottomTools .paintRadius input[type=text], .spainterContainer .bottomTools .paintColor input[type=text], .spainterContainer .bottomTools .paintColorFill input[type=text] {
          display: none; }
        .spainterContainer .bottomTools .paintFont input[type=range], .spainterContainer .bottomTools .paintOpacity input[type=range], .spainterContainer .bottomTools .paintFillOpacity input[type=range], .spainterContainer .bottomTools .paintRadius input[type=range], .spainterContainer .bottomTools .paintColor input[type=range], .spainterContainer .bottomTools .paintColorFill input[type=range] {
          width: 50px; } }
    .spainterContainer .bottomTools .paintSend {
      cursor: pointer;
      vertical-align: top; }
    .spainterContainer .bottomTools .paintXY {
      min-width: 100px; }
    .spainterContainer .bottomTools .paintXYdimens {
      font-size: 12px;
      display: flex;
      flex-direction: row;
      position: relative;
      margin-left: auto;
      order: 2; }
      .spainterContainer .bottomTools .paintXYdimens > * {
        display: inline-block; }
    .spainterContainer .bottomTools .paintFont {
      padding: 0 6px; }
      .spainterContainer .bottomTools .paintFont select {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        width: 120px;
        font-size: 14px;
        height: 25px;
        border: 1px solid grey; }
    .spainterContainer .bottomTools .paintRadius {
      padding: 0 6px; }
      .spainterContainer .bottomTools .paintRadius input[type=range] {
        width: 70px; }
      .spainterContainer .bottomTools .paintRadius .width-preset-buttons {
        display: flex;
        gap: 2px;
        margin-bottom: 4px; }
        .spainterContainer .bottomTools .paintRadius .width-preset-buttons input[type=text] {
          width: 10px;
          font-size: 8px; }
        .spainterContainer .bottomTools .paintRadius .width-preset-buttons input[type=button] {
          width: 14px;
          height: 16px;
          font-size: 8px;
          padding: 0;
          border: 1px solid #ccc;
          background: #f5f5f5;
          cursor: pointer;
          border-radius: 2px; }
          .spainterContainer .bottomTools .paintRadius .width-preset-buttons input[type=button]:hover {
            background: #e0e0e0; }
          .spainterContainer .bottomTools .paintRadius .width-preset-buttons input[type=button]:active {
            background: #d0d0d0; }
    .spainterContainer .bottomTools .paintApplyText {
      display: inline-block; }
      .spainterContainer .bottomTools .paintApplyText input[type=button][disabled] {
        display: none; }
    .spainterContainer .bottomTools .paintColor, .spainterContainer .bottomTools .paintColorFill {
      padding: 0 6px;
      border: none; }
      .spainterContainer .bottomTools .paintColor > span, .spainterContainer .bottomTools .paintColorFill > span {
        font-size: 10px; }
      .spainterContainer .bottomTools .paintColor input[type=color], .spainterContainer .bottomTools .paintColorFill input[type=color] {
        -webkit-appearance: none;
        padding: 0;
        border: 1px solid grey;
        border-radius: 1px;
        height: 18px;
        width: 40px;
        display: block;
        cursor: pointer; }
        .spainterContainer .bottomTools .paintColor input[type=color]::-webkit-color-swatch-wrapper, .spainterContainer .bottomTools .paintColorFill input[type=color]::-webkit-color-swatch-wrapper {
          padding: 0; }
        .spainterContainer .bottomTools .paintColor input[type=color]::-webkit-color-swatch, .spainterContainer .bottomTools .paintColorFill input[type=color]::-webkit-color-swatch {
          border: none; }

.icon-picture:before {
  content: '\e838'; }

/* '' */
.icon-brush-1:before {
  content: '\e83d'; }

/* '' */
.icon-trash-circled:before {
  content: '\e83e'; }

/* '' */
.icon-zoom-out:before {
  content: '\e841'; }

/* '' */
.icon-zoom-in:before {
  content: '\e842'; }

/* '' */
.icon-resize:before {
  content: '\e843'; }

/* '' */
.icon-redo:before {
  content: '\e844'; }

/* '' */
.icon-fill:before {
  content: '\e845'; }

/* '' */
.icon-selection:before {
  content: '\e847'; }

/* '' */
.icon-undo:before {
  content: '\e849'; }

/* '' */
.icon-move:before {
  content: '\f047'; }

/* '' */
.icon-ellipse:before {
  content: '\f104'; }

/* '' */
.icon-line:before {
  content: '\f105'; }

/* '' */
.icon-rect:before {
  content: '\f10b'; }

/* '' */
.icon-rotate:before {
  content: '\f10d'; }

/* '' */
.icon-text:before {
  content: '\f10f'; }

/* '' */
.icon-crop:before {
  content: '\f125'; }

/* '' */
.icon-eraser:before {
  content: '\f12d'; }

/* '' */
.spainterContainer {
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ }
  .spainterContainer .spainterHidden {
    display: none !important; }
  .spainterContainer [class^="icon-"]:before, .spainterContainer [class*=" icon-"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */
    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;
    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;
    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;
    /* you can be more comfortable with increased icons size */
    /* font-size: 120%; */
    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; }
