body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  background-color: gray;
  overflow-y: hidden;
  overflow-x: hidden;
}

#skooly-board-container {
  width: 100%;
  height: 100vh;
}
#skooly-board-container.not_supported {
  display: none;
}
#not_supported_text {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  height: 100vh;
  font-size: 1.1rem;
  background-color: #fff;
}
#not_supported_text .img_wrap {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}
.literally {
  width: 100%;
  height: 100%;
}

.literally img.background,
.literally > canvas {
  position: absolute;
}
.literally canvas {
  background-color: #fff;
}
.move canvas {
  cursor: move;
}
/* header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.8rem;
  z-index: 99;
}
.header img {
  width: 200px;
}
/* left menu */
.left_menu_wrap {
  position: absolute;
  left: 0;
  top: 0;
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  height: 100vh;
}
.left_menu {
  background: #f0f0f0;
  border-radius: 5px;
  border: 1px solid rgb(206, 206, 206);
  text-align: center;
}
.left_menu .tool {
  border: none;
  background: none;
  padding: 0.7rem;
  font-size: 0.9rem;
  width: 100%;
}
.left_menu button:active,
.left_menu button:focus {
  outline: none;
  box-shadow: none;
}
.left_menu .main.tool:hover {
  background: rgb(226, 226, 226);
}
.left_menu .main.tool.current {
  background: rgb(226, 226, 226);
}

.left_menu .tool .mdi {
  font-size: 1.5rem;
  color: rgb(46, 42, 42);
}

.left_menu .item:last-child {
  margin-bottom: 0rem;
}
.left_menu .sub_tool {
  position: absolute;
  right: 0;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}
.left_menu .sub_tool:hover .mdi {
  color: #d21e59;
}
.left_menu .sub_tool .mdi {
  font-size: 1.1rem;
}
.tool:hover {
  cursor: pointer;
}
/* bottom menu */
.bottom_menu_wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  margin-bottom: 0.5rem;
  margin-right: 0.5rem;
}
.bottom_menu {
  background: #f0f0f0;
  border-radius: 5px;
  border: 1px solid rgb(206, 206, 206);
  text-align: center;
  display: flex;
}
.bottom_menu .tool {
  border: none;
  background: none;
  padding: 0.6rem;
  width: 100%;
}
.bottom_menu button:active,
.bottom_menu button:focus {
  outline: none;
  box-shadow: none;
}
.bottom_menu .tool:hover {
  background: rgb(226, 226, 226);
}
.bottom_menu .tool.current {
  background: rgb(226, 226, 226);
}
.bottom_menu .tool .mdi {
  font-size: 1.5rem;
}
.bottom_menu .item {
  margin-right: 0.1rem;
}
.bottom_menu .item:last-child {
  margin-right: 0rem;
}
.bottom_menu .item.count {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: grey;
  min-width: 35px;
  text-align: center;
  justify-content: center;
}
/* color picker */
.color_picker_btn {
  border: none;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.color_picker_btn div {
  width: 90% !important;
  border-radius: 5px !important;
  height: 20px !important;
  margin-left: auto;
  margin-right: auto;
}

/* popover tools */
.tippy-content .sub_header {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  text-align: left;
}
.tippy-content .fill_colors button.current::after {
  content: "";
  display: block;
  width: inherit;
  height: 4px;
  margin-top: 1.5rem;
  background: #d1d1d1;
}
.tippy-content .shapes .current,
.tippy-content .shape_sizes .current,
.tippy-content .sizes .current {
  background: #f0f0f0 !important ;
}
.tippy-content .tool:hover {
  background: #f0f0f0;
}
.tools_wrap.fill_colors .color {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50px;
  margin-right: 0.6rem;
  cursor: pointer;
}
.tools_wrap.colors .color {
  width: 20px;
  height: 20px;
  border-radius: 50px;
  margin-right: 0.6rem;
  cursor: pointer;
}
.tools_wrap.colors .color:last-child,
.tools_wrap.fill_colors .color:last-child {
  margin-right: 0rem;
}
.tools_wrap.fill_colors .current#fill-color-transparent::after {
  content: none;
}
.tools_wrap.fill_colors .color#fill-color-transparent {
  width: auto;
  height: auto;
  padding: 0 0.3rem;
  background-color: #ffffff;
  font-size: 0.8rem;
  border: 1px solid grey;
}
.tools_wrap.fill_colors .current {
  outline: rgba(0, 8, 16, 0.15);
}
.tools_wrap.colors .color:nth-child(1),
.tools_wrap.fill_colors .color:nth-child(1) {
  background-color: #000000;
}
.tools_wrap.colors .color:nth-child(1),
.tools_wrap.fill_colors .color:nth-child(1) {
  background-color: #000000;
}
.tools_wrap.colors .color:nth-child(2),
.tools_wrap.fill_colors .color:nth-child(2) {
  background-color: #f7412d;
}
.tools_wrap.colors .color:nth-child(3),
.tools_wrap.fill_colors .color:nth-child(3) {
  background-color: #47b04b;
}
.tools_wrap.colors .color:nth-child(4),
.tools_wrap.fill_colors .color:nth-child(4) {
  background-color: #1194f6;
}
.tools_wrap.colors .color:nth-child(5),
.tools_wrap.fill_colors .color:nth-child(5) {
  background-color: #ffc200;
}
.tools_wrap.colors .color:nth-child(6),
.tools_wrap.fill_colors .color:nth-child(6) {
  background-color: #9d1bb2;
}
.tools_wrap.colors .color:nth-child(7),
.tools_wrap.fill_colors .color:nth-child(7) {
  background-color: #ec1561;
}
.tools_wrap.colors .color:nth-child(8),
.tools_wrap.fill_colors .color:nth-child(8) {
  background-color: #7a5547;
}
.tools_wrap {
  display: flex;
  align-items: center;
}
.tools_wrap.sizes button,
.tools_wrap.shape_sizes button {
  justify-content: center;
  display: flex;
  align-items: center;
  width: auto;
}
.tool img {
  width: 25px;
}

.tools_wrap .size,
.tools_wrap .shape_size {
  margin-right: 0.6rem;
}
.tools_wrap .size:last-child,
.tools_wrap .shape_size:last-child {
  margin-right: 0rem;
}
.tools_wrap .size,
.tools_wrap .shape_size {
  padding: 0.5rem;
  border-radius: 3px;
  cursor: pointer;
}

.tools_wrap.sizes .size:nth-child(1) img,
.tools_wrap.shape_sizes .shape_size:nth-child(1) img {
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.tools_wrap.sizes .size:nth-child(2) img,
.tools_wrap.shape_sizes .shape_size:nth-child(2) img {
  border-radius: 50%;
  width: 9px;
  height: 9px;
}
.tools_wrap.sizes .size:nth-child(3) img,
.tools_wrap.shape_sizes .shape_size:nth-child(3) img {
  border-radius: 50%;
  width: 12px;
  height: 12px;
}
.tools_wrap.sizes .size:nth-child(4) img,
.tools_wrap.shape_sizes .shape_size:nth-child(4) img {
  border-radius: 50%;
  width: 15px;
  height: 15px;
}
.tools_wrap.sizes .size:nth-child(5) img,
.tools_wrap.shape_sizes .shape_size:nth-child(5) img {
  border-radius: 50%;
  width: 18px;
  height: 18px;
}
.tools_wrap.sizes .size:nth-child(6) img,
.tools_wrap.shape_sizes .shape_size:nth-child(6) img {
  border-radius: 50%;
  width: 21px;
  height: 21px;
}

/* others */

.tippy-box[data-theme~="light-border"] {
  background-color: white;
  background-clip: padding-box;
  border: 1px solid rgba(0, 8, 16, 0.15);
  color: #333;
  box-shadow: 0 4px 14px -2px rgba(0, 8, 16, 0.08);
}
.tippy-box[data-theme~="light-border"] > .tippy-backdrop {
  background-color: white;
}
.tippy-box[data-theme~="light-border"] > .tippy-arrow::after,
.tippy-box[data-theme~="light-border"] > .tippy-svg-arrow::after {
  content: "";
  position: absolute;
  z-index: -1;
}
.tippy-box[data-theme~="light-border"] > .tippy-arrow::after {
  border-color: transparent;
  border-style: solid;
}
.tippy-box[data-theme~="light-border"][data-placement^="top"]
  > .tippy-arrow::before {
  border-top-color: white;
}
.tippy-box[data-theme~="light-border"][data-placement^="top"]
  > .tippy-arrow::after {
  border-top-color: rgba(0, 8, 16, 0.2);
  border-width: 7px 7px 0;
  top: 17px;
  left: 1px;
}
.tippy-box[data-theme~="light-border"][data-placement^="top"]
  > .tippy-svg-arrow
  > svg {
  top: 16px;
}
.tippy-box[data-theme~="light-border"][data-placement^="top"]
  > .tippy-svg-arrow::after {
  top: 17px;
}
.tippy-box[data-theme~="light-border"][data-placement^="bottom"]
  > .tippy-arrow::before {
  border-bottom-color: white;
  bottom: 16px;
}
.tippy-box[data-theme~="light-border"][data-placement^="bottom"]
  > .tippy-arrow::after {
  border-bottom-color: rgba(0, 8, 16, 0.2);
  border-width: 0 7px 7px;
  bottom: 17px;
  left: 1px;
}
.tippy-box[data-theme~="light-border"][data-placement^="bottom"]
  > .tippy-svg-arrow
  > svg {
  bottom: 16px;
}
.tippy-box[data-theme~="light-border"][data-placement^="bottom"]
  > .tippy-svg-arrow::after {
  bottom: 17px;
}
.tippy-box[data-theme~="light-border"][data-placement^="left"]
  > .tippy-arrow::before {
  border-left-color: white;
}
.tippy-box[data-theme~="light-border"][data-placement^="left"]
  > .tippy-arrow::after {
  border-left-color: rgba(0, 8, 16, 0.2);
  border-width: 7px 0 7px 7px;
  left: 17px;
  top: 1px;
}
.tippy-box[data-theme~="light-border"][data-placement^="left"]
  > .tippy-svg-arrow
  > svg {
  left: 11px;
}
.tippy-box[data-theme~="light-border"][data-placement^="left"]
  > .tippy-svg-arrow::after {
  left: 12px;
}
.tippy-box[data-theme~="light-border"][data-placement^="right"]
  > .tippy-arrow::before {
  border-right-color: white;
  right: 16px;
}
.tippy-box[data-theme~="light-border"][data-placement^="right"]
  > .tippy-arrow::after {
  border-width: 7px 7px 7px 0;
  right: 17px;
  top: 1px;
  border-right-color: rgba(0, 8, 16, 0.2);
}
.tippy-box[data-theme~="light-border"][data-placement^="right"]
  > .tippy-svg-arrow
  > svg {
  right: 11px;
}
.tippy-box[data-theme~="light-border"][data-placement^="right"]
  > .tippy-svg-arrow::after {
  right: 12px;
}
.tippy-box[data-theme~="light-border"] > .tippy-svg-arrow {
  fill: white;
}
