:root {
  --inactive-color: #6c757d;
  --main-color: rgb(82, 116, 228);
  --pink-color: #fff1e1;
  --trnasparent-white-color: rgba(255, 255, 255, 0.8);
  --trnasparent-red-color: rgba(255, 22, 22, 0.8);
  --trnasparent-black-color: rgba(25, 25, 25, 0.5);
  --bg-white: rgb(240, 240, 240);
  --bg-white-2: rgb(245, 245, 245);
  --bg-white-3: rgb(250, 250, 250);
  --bg-color-light: rgb(180, 180, 180);
  --gray-color: #f0f0f0;
  --color-red: #ff0000;
  --color-black: #333;
  --range-slider: #ddd;
  --range-handle: var(--main-color);
  --range-handle-focus: var(--main-color);
  --range-range: var(--main-color);
  --range-handle-inactive: var(--main-color);
  --settings-image-grid: "grid";
}

html,
body {
  position: relative;
  width: 100%;
  height: 100%;
}

body {
  color: #333;
  margin: 0;
  padding: 8px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

a {
  color: var(--main-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: rgb(0, 80, 160);
}

label {
  display: block;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  -webkit-padding: 0.4em 0;
  padding: 0.4em;
  margin: 0 0 0.5em 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 2px;
}

input:disabled {
  color: #ccc;
}

button {
  color: #333;
  background-color: #f4f4f4;
  outline: none;
}

button:disabled {
  color: #999;
}

button:not(:disabled):active {
  background-color: #ddd;
}

button:focus {
  border-color: #666;
}

.flex-sb {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.btn {
  padding: 5px 15px;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  border-radius: 5px;
  background-color: rgb(75, 136, 248);
}

.btn:hover {
  background-color: rgb(38, 114, 255);
  transition: all 0.4;
}

.image-data {
  border-top: 1px solid #ccc;
  padding-top: 0;
  margin-top: 0;
}

#menu {
  display: flex;
  align-items: baseline;
  justify-content: center;
  justify-content: space-between;
  box-shadow: 0 2px 2px rgba(116, 116, 116, 0.5);
  background: var(--bg-white);
  padding: 0;
}

.btn-crop {
  margin-right: 15px;
}

.image-data {
  padding-top: 50px;
  position: relative;
}

#message-box {
  width: 100%;
  text-align: center;
  font-size: 18px;
  height: 30px;
  line-height: 18px;
}

.image-data img,
.image-data canvas {
  /* width: 100%; */
  display: block;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}

.flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.flex-jc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.flex-nw {
  display: flex;
  justify-content: space-around;
}

.flex-sb {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  border-bottom: 1px solid #ccc;
}

.app-menu-wrapper {
  /* margin-top: -20000px; */
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  right: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  border-bottom: 1px solid #ccc;
}

.crop {
  display: flex;
  justify-content: center;
}

.centered {
  display: flex;
  justify-content: space-between;
}

.modal {
  margin-top: 25px;
}

.my-modal {
  z-index: 999999;
}

.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
									supported by Chrome, Edge, Opera and Firefox */
}

#menu button,
#menu select {
  margin: 0 2px;
}

.range-filters {
  border: none;
}

.filters-range {
  margin-top: 10px;
}

.nodisplay {
  display: none !important;
}

.modal,
.modal-content {
  z-index: 8976573 !important;
  margin-top: 24px !important;
}

body {
  padding: 0 !important;
}

.menu-checkbox label {
  margin-right: 15px;
  margin-top: -8px;
  font-size: 1.2rem;
}

.menu-checkbox {
  display: flex;
  flex-wrap: wrap;
}

.menu-options {
  position: relative;
  margin-top: 15px !important;
}

.checkbox-item-options:hover {
  transform: scale(1.1);
}

.flex-center div {
  cursor: pointer;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 10px;
}

.checkbox-item-options {
  transition: all 0.1s;
  cursor: pointer;
  margin-left: 20px;
  margin-top: 10px;
}

.checkbox-item-options,
.checkbox-item-options input {
  border: 1px solid #666;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.menu-checkbox {
  margin-left: 10px;
  padding-right: 5px;
}

.checkbox-item-options,
.menu-checkbox {
  color: white;
  font-weight: bold;
  border-radius: 10px;
  padding-right: 10px;
}

.checkbox-item-options:nth-child(1),
.menu-checkbox:nth-child(1) {
  background-color: red;
}

.checkbox-item-options:nth-child(2) {
  background-color: blue;
}

.checkbox-item-options:nth-child(3),
.menu-checkbox:nth-child(3) {
  background-color: green;
}

.green-item {
  box-shadow: 0 0 10px 0 green inset;
}

.checkbox-item-options:nth-child(4),
.menu-checkbox:nth-child(4) {
  background-color: orange;
}

.orange-item {
  box-shadow: 0 0 10px 0 orange inset;
}

.checkbox-item-options:nth-child(5),
.menu-checkbox:nth-child(5) {
  background-color: rgb(145, 145, 14);
}

.orange-dark-item {
  box-shadow: 0 0 10px 0 rgb(145, 145, 14) inset;
}

.checkbox-item-options:nth-child(6),
.menu-checkbox:nth-child(2) {
  background-color: darkmagenta;
}

.darkmagenta-item {
  box-shadow: 0 0 10px 0 darkmagenta inset;
}

.checkbox-item-options:nth-child(7) {
  background-color: blueviolet;
}

.blueviolet-item {
  box-shadow: 0 0 10px 0 blueviolet inset;
}

.checkbox-item-options:nth-child(8) {
  background-color: cadetblue;
}

.cadetblue-item {
  box-shadow: 0 0 10px 0 cadetblue inset;
}

.checkbox-item-options:nth-child(9) {
  background-color: crimson;
}

.crimson-item {
  box-shadow: 0 0 10px 0 crimson inset;
}

.checkbox-item-options:nth-child(10) {
  background-color: darkgreen;
}

.darkgreen-item {
  box-shadow: 0 0 10px 0 darkgreen inset;
}

.checkbox-item-options:nth-child(11) {
  background-color: darkturquoise;
}

.darkturquoise-item {
  box-shadow: 0 0 10px 0 darkturquoise inset;
}

.checkbox-item-options:nth-child(12) {
  background-color: fuchsia;
}

.crop-item {
  padding-bottom: 10px;
  justify-content: center;
  border-radius: 10px;
}

.menu-file {
  margin-bottom: 0 !important;
}

.flex-center {
  position: relative;
  padding-top: 4px;
}

.filters-btns button:first-child {
  margin-right: 15px;
}

.filters-btns button:last-child {
  margin-left: 15px;
}

.filters-btns {
  position: sticky;
  top: 0;
}

.app-filter {
  position: relative;
}

.app-filter,
.app-filter-range {
  width: 180px;
  margin: 5px;
  margin-bottom: 0;
}

.app-filter-range {
  margin: 0;
  margin-bottom: 20px;
}

.app-filter-label {
  background: var(--trnasparent-white-color) !important;
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #333;
  font-weight: bold;
  pointer-events: none;
}

.filters-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.img-filter-preview {
  width: 100%;
}

.app-filter-img {
  pointer-events: none;
  display: block;
  margin: 0 auto !important;
}

.filters {
  position: absolute;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.app-filter {
  padding: 1px;
  margin: 4px;
  background-color: var(--trnasparent-white-color);
}

.img-filter-preview {
  display: block;
  margin: 0 auto;
  justify-content: center;
  width: 100vw;
}

.crop-item label {
  font-size: 1.1rem;
}

.rangeRange label,
.rangeRange .leftLabel {
  font-family: consolas, "Courier New", monospace;
  /* width: 100%; */
  text-align: center;
  /* font-weight: bold; */
  font-size: 1rem;
}

.rangeRange {
  width: 170px;
  margin: 0 auto;
  margin-top: 10px;
  margin-left: 5px;
}

.form-check-label,
.leftLabel {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.rangeTop .leftLabel,
.rangeTop .form-label {
  font-weight: normal;
}

.rangeRange label,
.rangeRange .leftLabel {
  font-family: consolas, "Courier New", monospace;
  /* width: 100%; */
  text-align: center;
  /* font-weight: bold; */
  font-size: 1rem;
}

.leftLabel {
  width: 100%;
}

#menu,
#effects,
body {
  scrollbar-width: thin;
  /* "auto" or "thin" */
  scrollbar-color: var(--main-color) var(--darkgray-color);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 6px;
}

*::-webkit-scrollbar-track {
  background: var(--inactive-color);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 6px;
  border: none;
}

#menu select {
  margin: 0 2px;
}

.draw-canvas-submenu {
  display: flex;
  position: absolute;
  top: 0;
  left: 50px;
}

.draw-canvas-main {
  padding: 0;
  position: relative;
}

.app-file {
  margin: 1px;
}

.app-file,
.app-file-img {
  position: relative;
  /* width: 200px; */
  height: 200px;
  /* object-fit: cover; */
}

.app-file-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  font-size: 29px;
  text-transform: capitalize;
  text-align: center;
  background: var(--trnasparent-white-color);
  color: var(--main-color);
  overflow-wrap: break-word;
  /* text-shadow: 0 1px 2px blue; */
}

.app-file-label-top {
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  background: var(--trnasparent-white-color);
  color: #222;
  padding: 0 10px;
  border-bottom-right-radius: 5px;
  overflow-wrap: break-word;
}

.menu-btns div:not(:first-child) {
  margin-left: 6px;
}

.menu-btn {
  font-size: 1.2rem;
  padding: 0 10px;
  cursor: pointer;
  background-color: white;
  border-radius: 5px;
  transition: all 0.1s;
}

.menu-btn:first-child,
.menu-btn:last-child {
  margin: 0;
}

.menu-btn:hover,
.activeIconRatio:hover {
  /* transform: scale(1.1); */
  box-shadow: 0 2px 5px rgba(51, 51, 51, 0.6);
}

.menu-btn svg {
  background: transparent;
  /* pointer-events: none; */
  cursor: pointer;
  width: 25px;
  height: 25px;
  fill: var(--color-black);
  /* margin-right: 5px; */
  margin-bottom: 2px;
}

.activeIconRatio {
  background-color: var(--main-color) !important;
  fill: white !important;
}

.activeIcon {
  fill: white !important;
}

.disabled {
  filter: blur(1px) grayscale(100%);
  pointer-events: none;
  cursor: none;
}

.form-check-label {
  cursor: pointer;
  z-index: 3234;
}

.checkbox .form-check-label {
  font-size: 1.2rem;
  margin-top: -5px;
  font-weight: bold;
}

body,
html {
  background: var(--bg-white-2) !important;
}

.app-menu-wrapper {
  background: var(--bg-white-3);
}

#filter,
#resize,
#autocrop,
#find {
  background: var(--bg-white-3);
}

#draw {
  background: white;
  display: flex;
  justify-content: space-between;
}

#resize div {
  margin-right: 20px;
}

.icon-ratio {
  border: 1px solid #ccc;
  padding: 6px 10px;
  background: #6c757d;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 16px;
}

.icon-ratio svg {
  width: 25px;
  height: 25px;
}

#menu-draw button {
  margin-bottom: 5px;
}

.menu-draw-icon svg {
  fill: white;
  width: 20px;
  margin-left: -4px;
  margin-top: -4px;
  height: 20px;
  stroke: white;
}

/* .menu-draw-icon:hover {
	box-shadow: -2px 0 5px rgba(51, 51, 51, 0.6);
} */

#draw {
  background: white;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: start;
}

.upper-canvas {
  flex-grow: 2;
  flex-shrink: 0;
  background: trnasparent;
}

.canvas-container {
  margin-left: 10px;
  margin-top: 6px;
}

.app-filter-label-draw {
  text-align: center;
  font-weight: bold;
}

.app-filter-range-draw {
  outline: none;
  border: none;
}

.app-filter-draw {
  border: 1px solid #ccc;
  padding: 0 5px;
  margin-top: 2px;
  background: white;
}

.drop-zone-overlay {
  background: rgba(51, 51, 51, 0.907);
  display: block;
  width: 100vw;
  height: 100vh;
  top: 55px;
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 998768421;
  text-align: center;
  color: white;
  font-size: 22px;
  font-weight: bold;
}

.files-main {
  overflow-x: hidden !important;
  cursor: pointer;
}

.app-files {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  /* margin-top: -12px; */
  padding-top: 20px;
}

.drop-info svg,
.app-file-remove {
  width: 30px;
  height: 30px;
  border-bottom-left-radius: 6px;
}

.app-file-remove {
  transition: all 0.2s;
}

.app-file-remove:hover {
  border-top-right-radius: 6px;
  transform: scale(1.1);
}

.drop-info-text {
  margin-left: 10px;
}

.drop-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 90vh;
  z-index: 2342;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
}

.app-files > div {
  margin: 10px;
}

.dragged .drop-info {
  transform: scale(0.8);
}

.app-file-remove-size {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--trnasparent-white-color);
  padding: 0 5px;
  border-bottom-right-radius: 6px;
}

.app-file-remove {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--trnasparent-white-color);
  cursor: pointer;
}

.app-file-remove:hover {
  background-color: var(--trnasparent-red-color);
}

#files {
  background-color: var(--bg-white-2);
}

.files-main {
  margin: 0 auto;
  position: absolute;
  top: -10px;
  left: 0;
  width: 100vw;
  height: 95vh;
  z-index: 765467;
}

.files-main {
  background-color: var(--bg-white-2);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.dragged {
  transition: all 0.3s ease;
}

.dragged {
  background: white !important;
}

#progress-files {
  z-index: 2342;
  position: fixed;
  top: 34px;
  width: 100vw;
  height: 10px;
}

.title {
  font-weight: bold;
  padding: 0 10px;
  position: absolute;
  top: -40px;
  text-align: center;
  width: 100%;
  font-size: 1.2rem;
  text-transform: capitalize;
}

#files .title,
#proccess .title {
  top: 10px;
  z-index: 7654765;
}

.app-files {
  margin-top: 40px;
}

.image-full-preview img {
  object-fit: scale-down;
  width: 100%;
  height: 100%;
  cursor: pointer;
  box-shadow: 0 0 6px var(--trnasparent-black-color);
  background: var(--bg-white);
}

.image-full-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 8765856;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.main-settings {
  display: flex;
  flex-direction: column;
  padding: 10px;
  z-index: 8765856;
  position: fixed;
  top: 50px;
  right: 0;
  min-width: 340px;
  background: var(--bg-white);
}

.image-full-preview-btn button {
  margin: 10px;
  text-transform: uppercase;
}

.image-full-preview-btn {
  box-shadow: 0 1px 10px var(--trnasparent-black-color);
  border-radius: 10px;
  position: fixed;
  top: 5px;
  margin: 10px;
  background-color: var(--trnasparent-white-color);
}

/* 
  .proccess {
	  z-index: 87685375;
  } */

.img-filter-preview {
  max-height: 80vh;
  margin: 0 auto;
  width: 100vw;
  object-fit: contain;
}

.img-filter-preview {
  margin-bottom: 10px;
  overflow: hidden;
}

.svgBtn {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.svgBtn button {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  /* text-transform: capitalize; */
}

.svgBtn svg {
  margin-right: 10px;
  width: 30px;
  height: 30px;
  fill: white;
}

.app-uncheck-all {
  padding: 2px;
  margin-bottom: 4px;
  background: red;
  border-radius: 5px;
}

.app-uncheck-all svg {
  width: 25px;
  height: 20px;
  fill: white;
  border-radius: 10px;
}

@keyframes zoom {
  from {
    transform: scale(1.4);
  }

  to {
    transform: scale(1);
  }
}

.drop-label {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  animation-name: zoom;
  animation-duration: 0.5s;
  animation-iteration-count: 3;
  animation-direction: alternate;
  animation-fill-mode: forwards;
  font-weight: bold;
}

.drop-label div,
.drop-label svg {
  transition: all 0.2s;
}

.drop-info:hover {
  color: var(--main-color);
  fill: var(--main-color);
}

.title {
  pointer-events: none;
  background: var(--trnasparent-white-color);
  overflow-wrap: break-word;
  /* border-radius: 4px; */
  /* box-shadow: 0 1px 5px var(--trnasparent-black-color); */
}

.menu-btns svg {
  padding: 2px;
}

.upper-canvas-grid {
  --background-grid-color: rgba(51, 51, 51, 0.15);
  --background-fill-color: #000;
  background-image: repeating-linear-gradient(
      to right,
      var(--background-grid-color) 0,
      var(--background-grid-color) 1px,
      transparent 1px,
      transparent 200px
    ),
    repeating-linear-gradient(
      to bottom,
      var(--background-grid-color) 0,
      var(--background-grid-color) 1px,
      transparent 1px,
      transparent 200px
    );
  background-position: 100px 0, 0 0;
  background-size: 25px 25px;
}

.upper-canvas-image {
  background-image: var(--settings-image-grid);
  background-position: center;
  /* Center the image */
  background-repeat: no-repeat;
  /* Do not repeat the image */
  background-size: contain;
  /* Resize the background image to cover the entire container */
}

.btn-flex-sb {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 0;
  z-index: 9999999999;
}

.btn-flex-sb-draw {
  top: -50px;
}

#drawMode {
  font-size: 1.1rem;
}

.btn-flex-sb-draw #drawMode {
  margin: 0;
  max-width: 100px;
  background-color: var(--main-color);
  color: white;
  fill: white;
}

#localeSelect {
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  max-width: 125px;
  background-color: var(--main-color);
  color: white;
  fill: white;
  height: 30px;
}

.btn-flex-sb button svg {
  fill: white;
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

.btn-flex-sb button {
  color: white;
  /* margin: 5px; */
  display: flex;
  justify-content: center;
}

/* #drawFontFamily options:nth-child(1) {
	font-family: Arial, Helvetica, sans-serif;
}
#drawFontFamily options:nth-child(2) {
	 font-family: Arial Black, Helvetica, sans-serif;
 }
 #drawFontFamily options:nth-child(3) {
	font-family: Brush Script MT, Helvetica, sans-serif;
 }
 #drawFontFamily options:nth-child(4) {
	font-family: Baskerville, Helvetica, sans-serif;
 } */

.app-filter-draw {
  padding: 0 10px;
}

.rangeRange select {
  width: 180px;
}

.allPreset {
  padding: 25px;
  overflow-y: auto;
  position: fixed;
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  top: -50px;
  bottom: 0px;
  box-shadow: 0 0 6px var(--trnasparent-black-color);
  left: 2px;
  right: 2px;
  top: 2px;
  bottom: 2px;
  background: var(--bg-white);
  z-index: 65756745765;
}

.allPreset .app-file {
  margin: 10px;
  cursor: pointer;
  width: 300px;
  background: var(--bg-white-3);
  transition: all 0.2s;
  box-shadow: 0 1px 1px var(--trnasparent-black-color);
}

.allPreset .app-file:hover {
  transform: scale(1.05);
  box-shadow: 0 0 4px var(--trnasparent-black-color);
}

.allPreset .app-file-img {
  width: 300px;
  object-fit: scale-down;
  display: block;
}

.closeAllPreset {
  cursor: pointer;
  position: fixed;
  right: 2px;
  top: 2px;

  z-index: 9897873465;
  fill: var(--background-fill-color);
  width: 30px;
  height: 30px;
}

.closeSettings {
  cursor: pointer;
  position: fixed;
  right: 5px;
  top: 5px;
  z-index: 9897873465;
  fill: var(--background-fill-color);
  width: 30px;
  height: 30px;
}

.activeColor {
  box-shadow: 0 4px 8px 1px var(--main-color) !important;
}

.selectImg {
  width: 100%;
  height: 100%;
  display: inline-block;
}

.boxP figure {
  transition: all 0.2s;
  background: var(--bg-white-2);
}

.boxP figure:hover {
  transform: scale(1.1);
}

.localeMain {
  position: fixed;
  bottom: -10px;
  right: 0px;
  z-index: 896956;
}

.btnFlex {
  display: flex !important;
}

.btnFlex svg {
  margin-right: 4px;
}

.center {
  display: flex;
  justify-content: center;
}

#Download .title {
  top: 5px;
  z-index: 98745634;
}

.icon-side {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.delete-icon {
  position: absolute;
  top: -15px;
  right: -10px;
}

.delete-icon svg {
  fill: red;
  stroke: red;
  width: 20px;
  height: 20px;
}

.pattern-wrap {
  position: relative;
}

.checked-pattern {
  width: 50px;
  height: 50px;
  z-index: 9999999786856;

  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  stroke: white;
}

.pcr-app {
  box-shadow: 0 1px 12px var(--main-color) !important;
}

.stack-slider {
  margin-top: -6px;
}

.main-draw {
  display: flex;
  margin-top: 6px;
}

#draw-canvas-submenu {
  padding-bottom: 80px;
  margin: 0 6px;
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg-white-3);
  flex-grow: 0;
  flex-shrink: 0;
  width: 260px;
  max-height: calc(100vh - 58px);
}

#menu-draw {
  flex-grow: 0;
  flex-shrink: 0;
  padding-left: 4px;
  max-height: calc(100vh - 58px);
  background: var(--bg-white-3);
  width: 52px;
  overflow-y: auto;
  overflow-x: hidden;
}

.canvas-container {
  /* margin-left: 3px; */
  max-height: calc(100vh - 58px);
}

.figcaption {
  height: 36px;
}

.top-menu {
  height: 46px;
  padding: 2px;
  box-shadow: 0px 1px 5px var(--trnasparent-black-color);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

button.rounded {
  width: 40px;
  display: flex;
  margin: 0 2px;
  border-radius: 50% !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#menu-draw,
#draw-canvas-submenu,
.upper-canvas {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#draw-canvas-submenu .figcaption {
  box-shadow: 0px 1px 5px var(--trnasparent-black-color);
}

body,
.top-menu,
#menu-draw,
#draw-canvas-submenu {
  background-color: var(--bg-white);
}

.fsb {
  justify-content: space-between;
}

.fnw {
  flex-wrap: nowrap;
}

.stack-slider {
  width: 90%;
}

.record-proccess {
  position: fixed;
  top: 0;
  bottom: 50px;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* height: 100%; */
  background-color: transparent;
  z-index: 999;
}

.record-cancel-btn {
  margin-top: 30px;
}

.record-progress {
  width: 90%;
  height: 5px;
}

progress {
  height: 5px !important;
}

input[type="range"] {
  color: white !important;
  background: white !important;
}

input.range-filters {
  padding: 8px !important;
}

.progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 6px;
}

.roundedBtn {
  width: 40px;
}

/* .rounded svg {
	width: 20px;
	height: 20px;
} */

.rounded {
  display: flex;
  justify-content: center;
  align-items: center;
}

.numbersInput {
  margin: 1px;
  max-width: 70px;
}

.fjc {
  justify-content: center;
}

.bi-share-fill,
.bi-download,
.bi-x-square {
  margin-right: 5px;
}

.fw {
  width: 100%;
}

.custom-icon {
  display: inline-block;
  padding-left: 3px;
  width: 25px;
  height: 25px;
}

.boxB,
.boxG,
.boxP {
  overflow-y: auto !important;
  max-height: calc(100vh - 52px);
}

#aleft a,
#aright a {
  margin: 0 5px;
}

#aleft {
  display: flex;
  position: fixed;
  bottom: 0;
  height: 50px;
  left: 0;
  cursor: pointer;
}

#aright {
  display: flex;
  position: fixed;
  bottom: 0;
  height: 50px;
  right: 12px;
  cursor: pointer;
}

@media screen and (max-width: 700px) {
  #aleft,
  #aright {
    display: none;
  }
}

.shape-box {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
}

.shape-box button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  margin: 1px;
  height: 30px;
}

.shape-box button svg {
  width: 18px !important;
  height: 18px !important;
  display: inline-block;
  margin-left: 0.5px;
}

.image-full-preview {
  height: 100%;
  margin: 0;
}

.main-settings .rangeRange {
  width: 100% !important;
}

body {
  overflow: hidden;
}

.main-layers {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-layers select {
  margin: 0 auto;
  width: 95%;
  margin-top: 20px;
}

.main-layers-items {
  display: flex;
  padding-left: 5px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.main-layers-items figure {
  margin-top: 5px;
  background-color: var(--gray-color);
  position: relative;
}

.main-layers-items figure.active {
  box-shadow: 0 1px 8px var(--main-color);
}

.main-layers-items .imgPreview {
  background-color: var(--gray-color);
  /* width: 135px; */
  border: 1px solid var(--darkgray-color);
  /* height: 135px; */
  width: 75px;
  height: 75px;
  cursor: pointer;
}

@media screen and (max-height: 400px) {
  .canvas-container {
    max-height: calc(100vh - 50px);
    overflow-y: hidden;
  }

  /* #ads,
  #aright {
    visibility: hidden;
  } */

  #arig .draw-btns-bottom {
    bottom: 0px;
  }
}

.main-settings .rangeRange {
  margin-top: 10px;
}

.rangeRange {
  width: 100%;
  border: 1px solid #ccc;
  background: var(--bg-white-2);
  font-weight: bold;
  margin: 2px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brushRange,
.popover-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 5px;
}

.form-check {
  border: 1px solid #ccc;
  background: var(--bg-white-2);
  font-weight: bold;
  padding: 0 10px;
  margin: 10px 0;
}

.rangeRange select {
  max-width: 160px;
}

.shape-box-layers {
  padding: 10px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  border: 1px solid #ccc;
  cursor: pointer;
}

.shape-box-layers svg {
  cursor: pointer;
}

.shape-box-layers svg:hover {
  color: var(--main-color);
  fill: var(--main-color);
}

.app-filter-draw:last-child {
  margin-bottom: 50px;
}

.main-settings .rangeRange,
.main-settings .form-check,
.main-settings .form-control {
  margin-top: 20px;
}

.main-settings .form-check {
  margin: 5px;
  margin-top: 20px;
}

.main-settings .leftLabelTitle {
  font-size: 16px;
  color: var(--inactive-color);
  font-weight: bold;
  margin-top: 20px;
  text-align: center;
  text-transform: uppercase;
}

.main-settings {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.btn-resize {
  position: fixed;
  right: 5px;
  bottom: 0;
  color: black;
  font-size: 14px;
}

.btn-screenshot {
  position: fixed;
  left: 5px;
  bottom: 5px;
}

.btn-resize .roundedBtn,
.btn-screenshot .roundedBtn {
  font-size: 14px;
  min-width: 120px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-settings {
  box-shadow: -2px 2px 15px #33333379;
  border-bottom-left-radius: 10px;
}

.main-settings .rangeRange,
.main-settings .form-check {
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* .main-settings .form-check {
  padding-left: 5px;
  padding-right: 5px;
} */

@media (min-width: 700px) {
  .image-full-preview,
  .record-proccess {
    height: auto;
  }

  .btn-resize,
  .btn-screenshot {
    display: block;
    flex-direction: row;
  }
}

.active-preset {
  box-shadow: 0 2px 10px var(--main-color) !important;
}

.disabled-process {
  filter: blur(1px);
  pointer-events: none;
  cursor: none;
}

.spinner-proccess {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.651);
}

.st-sticky-share-buttons {
  display: none;
  z-index: 999999999999999999999999999999999999999 !important;
}

.cutom-svg {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 99999999999999999999999999999999999999999999999999999999;
  top: 0;
}

.main-draw {
  background-color: white;
}

.btn-menu-top-flex {
  display: flex !important;
  flex-direction: row;
}

.btn-menu-top-flex div:first-child {
  margin-right: 5px;
}
.canvas-container {
  resize: horizontal;
  overflow: auto;
  box-shadow: 0 0 10px rgba(95, 95, 95, 0.514);
}
@media (max-width: 700px) {
  .image-full-preview {
    left: 10px;
    right: 10px;
  }

  .main-settings {
    min-width: 100vw;
  }

  .main-draw {
    flex-direction: column;
  }
  #menu-draw {
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100vw;
  }
  #draw-canvas-submenu {
    gap: 10px;
    display: flex;
    flex-wrap: nowrap;
    width: 100vw;
    height: 200px;
    overflow: auto;
  }
  #draw-canvas-submenu {
    padding: 10px;
  }
  #draw-canvas-submenu .collapsable div {
    display: flex;
    flex-direction: column !important;
    gap: 10px;
  }
  #draw-canvas-submenu .figcaption {
    padding: 4px;
    margin: 4px;
  }
  #draw-canvas-submenu .collapsable div input {
    width: 200px;
  }
  #draw-canvas-submenu .collapsable div input.form-check-input {
    width: 10px;
  }
  .top-menu .btn-menu-top-flex {
    max-width: 32vw;
    max-height: 40px;
  }
  .btn-resize {
    display: none;
  }

  .canvas-container,
  .upper-canvas,
  .lower-canvas {
    width: 100%;
    height: 100%;
  }
  .canvas-container {
    resize: none;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(95, 95, 95, 0.514);
  }
}
.canvas-container {
  position: relative;
}
#ads {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 52px;
  width: 330px;
  background: transparent;
  z-index: 999999999999999999999999999999999999999999999999999999999999 !important;
}
@media (max-width: 700px) {
  #ads {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}
.app-main-preview {
  width: 100vw;
  height: 100vh;
  z-index: 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 !important;
  position: fixed;
  display: flex;
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background-color: #333;
}
.app-full-preview-data video,
.app-full-preview-data img {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: scale-down;
}
.app-main-preview-header Button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-size: 20px;
  gap: 10px;
  margin-bottom: 20px;
}
.app-main-preview-header,
.app-main-preview-footer {
  gap: 20px;
  display: flex;
  justify-content: center;
}
.app-main-preview-footer {
  align-items: center;
}
@media (max-width: 700px) {
  .app-main-preview-header Button {
    font-size: 16px;
    max-width: 32%;
    gap: 2px;
  }
}
