:root {
  --inactive-color: #6c757d;
  --main-color: rgb(82, 116, 228);
  --pink-color: #fff1e1;
  --trnasparent-white-color: rgba(255, 255, 255, 0.8);
  --trnasparent-white-color2: rgba(255, 255, 255, 0.6);
  --trnasparent-red-color: rgba(255, 22, 22, 0.8);
  --trnasparent-black-color: rgba(25, 25, 25, 0.5);
  --bg-white: rgb(228, 228, 228);
  --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;
}

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: 45px;
  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;
}

.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-bottom: 0;
}

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

input.app-filter-range.form-range {
  border: none;
}

.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 {
  width: 100vw;
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  align-items: start;
  max-height: calc(100vh - 100px);
}

.filters-container-items {
  flex-shrink: 0;
  padding-left: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  width: 240px;
  max-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
}

.img-filter-preview {
  max-width: calc(100vw - 200px);
}

.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 {
  margin: 0 auto;
  margin-top: 10px;
}

.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;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: var(--trnasparent-white-color);
  color: #222;
  overflow-wrap: break-word;
}

.app-file-label-new {
  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-new svg {
  width: 35px;
  height: 35px;
  fill: var(--main-color);
  color: var(--main-color);
}

.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);
}

#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;
}

.main-draw {
  display: flex;
}

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

.canvas-container {
  /* margin-left: 3px; */

  max-height: calc(100vh - 100px);
  margin-left: 10px;
  margin-top: 10px;
}

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

#draw-canvas-submenu {
  overflow-y: auto;
  overflow-x: hidden;
}

.upper-canvas {
  flex-grow: 2;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background: trnasparent;
}

.canvas-container {
  /* margin-right: 5px; */
}

.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: 60px;
  padding-bottom: 60px;
}

.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);
}

.app-file-share {
  top: 150px !important;
  right: none !important;
  bottom: 0;
  left: 0;
}

.app-file-info {
  top: 170px !important;
  right: none !important;
  bottom: 0;
  left: 0;
}

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

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

.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: 0px;
  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; */
  overflow-y: auto;
}

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

.image-full-preview {
  z-index: 8765856;
  position: fixed;
  top: -45px;
  bottom: 50px;
  left: 50px;
  right: 50px;
}

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

@media (max-width: 568px) {
  .image-full-preview {
    left: 10px;
    right: 10px;
  }
}

.img-filter-preview {
  max-height: calc(100vh - 96px);
  margin: 0 auto;
  width: 100%;
  object-fit: contain;
}

.img-filter-preview {
  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 {
  --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;
}

.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 5px 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;
}

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

.btn-flex-sb-bottom button {
  display: flex;
}

.btn-flex-sb-bottom button svg {
  margin-right: 10px;
}

/* .closeAllPreset {
  cursor: pointer;
  position: fixed;
  right: 5px;
  top: -45px;

  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: -15px;
}

.custom-gradient-item .delete-icon svg {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 999;
}

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

.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;
}

.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;
}

.btns-settings {
  padding: 0 5px;
  display: flex;
  justify-content: space-between;
}

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

.rangeRange select {
  width: 180px;
}

.title {
  height: 0;
  display: none;
}

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

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

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

#menu-draw,
#draw-canvas-submenu {
  margin-top: 55px;
}

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

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

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

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

.roundedBtn {
  width: 40px;
}

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

.figcaption {
  height: 36px;
}

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

.boxB,
.boxG,
.boxP {
  overflow-y: auto !important;
  max-height: 100vh;
  padding-bottom: 40px;
}

.draw-btns-bottom {
  margin-left: 5px;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
}

.draw-btns-bottom button {
  margin-left: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
}

.draw-btns-bottom button svg {
  width: 22px !important;
  height: 22px !important;
  display: inline-block;
  margin-left: 0.5px;
}

.draw-btns-bottom select {
  margin-left: 5px;
  font-size: 14px !important;
  width: 89px;
  height: 35px;
  background-color: blueviolet;
  color: white;
}

#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;
}

#ads {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  width: 100%;
  /* background: var(--gray-light); */
  background: transparent;
}

.allPreset {
  top: 0px;
}

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

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

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

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;
}

#find {
  overflow-y: auto;
  max-height: 100vh;
  padding-bottom: 40px;
}

.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);
}

.resize-switch-save-as-zip {
  margin: 0 auto;
  margin-top: 20px;
  padding: 5px;
  border-radius: 2px;
  text-align: center;
}

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

.resize-main-row {
  flex-wrap: wrap;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.btn-save-preset {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 99999999999;
}

.preset-global-modal {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.preset-global-modal-label {
  font-weight: bold;
  margin-right: 20px;
}

.preset-global-modal div {
  display: flex;
  margin-top: 5px;
  font-size: 18px;
}

.allPresetGlobal .closeAllPreset {
  top: -45px !important;
}

.allPresetGlobal {
  z-index: 99999999999999999999999999999999;
  height: 100vh;
  top: -45px !important;
  left: 0px;
  right: 0px;
}

.btn-resize {
  display: none;
  position: fixed;
  right: 5px;
  bottom: 5px;
}

.img-filter-preview-wrapper {
  position: relative;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overflow-x: auto;
  gap: 10px;
  display: flex;
  /* max-width: calc(100vw-250px); */
  flex-wrap: wrap;
  /* flex-direction: column; */
}

.filter-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  position: absolute;
  width: 100%;
  height: 100%;
}

.filter-styles {
  font-weight: bold;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.radio-filters {
  width: 100%;
  align-items: center;
  justify-content: flex-start;
}

.radio-filters div {
  border-radius: 10px;
  margin: 10px;
}

.filters-container-items {
  margin: 0;
  padding: 0;
}

.filters-container-items div {
  width: 100%;
  padding: 0 5px;
  margin: 0;
}

.filters-container-items .figcaption {
  margin: 20px 0;
  width: 100%;
}

.separator-colors .app-filter {
  border-top: 1px solid rgb(72, 145, 255);
}

.draw-btns-bottom {
  margin: 0;
}

.next-image-icon {
  background-color: rgb(72, 145, 255);
  width: 40px;
  height: 40px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  border: 1px solid white;
  right: 0;
  border-radius: 100%;
  cursor: pointer;
}

.next-image-icon svg {
  fill: white;
  color: white;
}

.radio-filters {
  position: sticky;
  top: 0;
  background-color: var(--trnasparent-white-color2);
}

.radio-filters #boxBtn {
  margin-right: 60px;
}

.pattern-wrap-portrait figure {
}

.pattern-wrap img {
  object-fit: scale-down;
}

.pattern-wrap .pattern-wrap-label {
  text-align: center;
  font-size: 14px;
  margin: 0;
}

.replace_background {
  text-align: center;
  position: relative;
}

.addBacgroundBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.canvas_fit {
  object-fit: contain;
  max-width: calc(100vw - 260px);
}

#ads-text {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  right: 0;
  height: 50px;
  width: 320px;
  color: red !important;
  z-index: 9999999996002 !important;
  background-color: white;
  border: 1px solid red;
}
