:root {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  /* color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424; */

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
.brd {
  border: 1px solid gold;
}

.brd-b {
  border: 1px solid blueviolet;
}

body {
  margin: 0;
  padding: 0;
  /* min-width: 100wv;
  min-height: 100vh; */
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

h6 {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

i {
  pointer-events: none;
}

.text-center {
  text-align: center;
}

/* ----------app---------- */

/* ----------Info---------- */
.info-block {
  display: inline-block;
  vertical-align: middle;
  text-decoration: none;
}

.info-block:hover {
  cursor: pointer;
}

.info-content-box {
  display: inline-block;
  width: 90%;
  font-size: 0.9rem;
  padding: 0.5rem;
  background-color: #f0f8ff;
  border: 1px solid #eeeeee;
  box-shadow: 0px 2px 2px #dddddd;
  padding: 1rem;
  margin-bottom: 0.5rem;
  text-decoration-line: none;
}

.light-blue {
  background-color: #f0f8ff;
  /* color: #424242; */
  color: #616161;
}

.sub-title {
  padding: 0;
  margin-top: 1rem;
  margin-bottom: 0.2rem;
  text-decoration-line: underline;
}

.tool-active {
  color: #f0f8ff;
  /* background: #966fd6 !important; */
  background: royalblue !important;
}

.active {
  background: #7fdbff;
}

/* ----------Select---------- */

select {
  box-sizing: border-box;
  margin: 0;
  background-color: white;
  border-radius: 2px;
  display: inline-block;
  font: inherit;
  line-height: 1.1em;
  padding: 0.3em 0.3em 0.3em 0.3em;
}

/* ----------Navbar---------- */

#fceNavbar {
  display: flex;
  box-shadow: 0px 2px 2px #ddd;
  background: #f5f5f5;
}

.navbar-dropdown-master {
  display: flex;
  align-items: flex-end;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

ul {
  font-size: 0.9rem;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.inner-dropdown-master {
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}

.navbar-item {
  position: relative;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-right: 1rem;
}

.drop-items-box {
  min-width: 100px;
}

.drop-info-box {
  min-width: 38vw;
  border: 1px solid gold;
}

.items-link {
  cursor: pointer;
  margin: 0.2rem;
  padding: 0.3rem;
}

.items-link:hover {
  background-color: #eeeeee;
}

.hidden {
  display: none;
}

.absolute {
  background-color: white;
  position: absolute;
  top: 100%;
  left: 0;
  border: 1px solid #eeeeee;
  box-shadow: 0px 2px 2px #dddddd;
  padding: 1rem;
  z-index: 2000;
}

.history-list {
  background-color: #fafafa;
  border: 1px solid #eeeeee;
  box-shadow: 0px 2px 2px #dddddd;
  padding: 1rem;
}

.disabled {
  color: gray;
  pointer-events: none;
  cursor: default;
}

/* button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
} */

/* @media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
} */

/* ----------header ---------- */

.fce-menu-item {
  margin-left: 1rem;
  cursor: pointer;
}

#fceAppBar {
  display: flex;
  justify-content: space-between;
  height: 2.2rem;
  padding: 0 0.5rem;
  margin-bottom: 2px;
  box-shadow: 0px 2px 2px #ddd;
  background: #eeeeee;
  align-items: center;
}

.flex {
  display: flex;
}

a {
  text-decoration: none;
}

.logo {
  height: 1.7em;
  transition: filter 300ms;
}

.logo:hover {
  filter: contrast(2);
}

.temp-header-text {
  font-size: 1.0rem;
  font-weight: bold;
  color: lightgray;
}


/* ----------main-template---------- */

.main-template {
  min-height: 93vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.bottom-pannel {
  display: flex;
  justify-content: space-evenly;
  height: 1vh;
  margin: 0.5rem 0.5rem 0;
  /* background: #eeeeee; */
}

/* ----------sidebar---------- */

#sidebar {
  display: flex;
  flex-direction: column;
  background: #eeeeee;
}

.sidebar-button {
  font-size: 0.8em;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  padding: 0.5rem 0.8rem;
  background: #eeeeee;
  border: none;

  transition: background-color 0.25s;
}

.sidebar-button:hover {
  background: #bdbdbd;
}

/* ----------Historybar---------- */

#historyBar {
  position: relative;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-right: 1rem;
}

.historybar-dropdown-master {
  display: flex;
  align-items: flex-end;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ----------top-bar---------- */
#topBar {
  display: flex;
  align-items: center;
  padding: 0.3rem 0.5rem;
}

.topbar-box {
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  margin-right: 1rem;
  padding: 0.3rem 0.5rem;
  font-size: 0.8rem;
  /* border: 1px solid blue; */
}

.rounded-box {
  border-radius: 0.15rem;
  border: 1px solid #ccc;
  padding: 0.1rem 0.2rem;
  color: #616161;
  min-width: 2rem;
  text-align: center;
}

.left-rounded-input {
  display: block;
  width: 1.7rem;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
  border: 1px solid #ccc;
  padding: 0.45em 0.6em 0.35em;
  color: #616161;
  text-align: center;
}

.right-rounded-postfix {
  width: 1.7rem;
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 0.05em 0.15rem;
  background-color: #f5f5f5;
  color: #616161;
  text-align: center;
}

.rounded-input {
  /* display: block; */
  width: 1.7rem;
  border-radius: 0.25rem;

  border: 1px solid #ccc;
  padding: 0.15em 0.6em;
  color: #616161;
}

.rounded-sub-input {
  /* display: block; */
  width: 2.4rem;
  border-radius: 0.25rem;

  border: 1px solid #ccc;
  padding: 0.15em 0.3em;
  color: #616161;
}

/* ----------mainSection---------- */

#mainSection {
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* ----------Canvas---------- */

#canvasContainer {
  position: relative;
  border: 2px solid lightgray;
}

#mainCanvas {
  position: absolute;
  border: 1px solid gray;
}

#gorizontRuler {
  position: absolute;
}

#verticalRuler {
  position: absolute;
}

#loadBox {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1000;
  transform: translate(-50%, -100%);
}

/* ----------Right Sidebar---------- */

#rightSidebar {
  box-sizing: border-box;
  /* border: 1px solid gold; */
  display: flex;
  flex-direction: column;
  width: 20vw;
  padding: 0.5rem;
}


.bordered {
  background: #eee;
  border: 1px solid: gray;
  box-shadow: 0px 1px 1px #dddddd;
  padding: 0.3rem
}


#progressBarBox {
  box-sizing: border-box;
  margin-left: auto;
  width: 20vw;
  padding-top: 1rem;
  padding-bottom: 0px;
}

#progressBar {
  background-color: gold;
  height: 2px;
}

#progressBarInner {
  background-color: royalblue;
  height: 2px;
  /* width: 0%; */
}

/* ----------Groups ---------- */
/* ----------cropGroup ---------- */

#cropGroup {
  display: none;
  flex-direction: column;
}

#cropMediaSizesGroup {
  margin-top: 0.2rem;
  max-height: 55px;
}

.settings-content-container {
  display: none;
  border: 1px solid gray;
  max-height: 55px;
  overflow-y: auto;
}

/* ----------resolutionGroup ---------- */

#resolutionGroup {
  display: none;
}

/* ----------FiltersGroup ---------- */

#filtersGroup {
  display: none;
}

/* ----------Range---------- */

#filtersContainer {
  padding-left: 0.3rem;
  padding-right: 1.5rem;
}

.filter-box {
  nim-width: 13vw;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.filter-range {
  display: block;
  accent-color: #424242;
}

/* ----------straightenGroup ---------- */

#straightenGroup {
  display: none;
}

/* ----------transformGroup ---------- */

#transformGroup {
  display: none;
}

/* ----------textGroup ---------- */

#textGroup {
  display: none;
}

/* ----------removeBgGroup ---------- */

#removeBgGroup {
  display: none;
}

/* ----------Icons---------- */

.custom-icon {
  width: 1rem;
  height: 1rem;
  pointer-events: none;
}

svg {
  vertical-align: top;
}

.media-button {
  background-color: #f5f5f5;
  min-width: 100%;
  padding: 0.3rem 0.5rem;

  border-radius: 2px;
  border: 1px solid #bdbdbd;
  text-align: left;
}

.media-button:hover {
  background-color: #ccc;
}

/* ----------Buttons---------- */

.control-button {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin: 0.1rem;
  border-radius: 3px;
  border: 1px solid #bdbdbd;
  padding: 0.3em 0.6em;
  font-size: 0.9em;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.25s;
  background: #eeeeee;
}

.control-button:hover {
  background: #bdbdbd;
}

.button {
  box-sizing: border-box;
  width: 1.7rem;
  height: 1.7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.25rem;
  margin: 0 0.2rem;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: background-color 0.38s;
  border: 1px solid #ccc;
}

.button-l {
  width: 7rem;
}

.button-with-icon {
  display: flex;
  margin: 0.1rem 0.1rem;
  align-items: center;
  border-radius: 2px;
  border: 1px solid #ccc;
  padding: 0.1rem 0.4rem;
}

.button-with-icon:hover {
  cursor: pointer;
}

.button-text {
  margin-left: 0.25rem;
  pointer-events: none;
}

.sub-button {
  margin-left: 0.3rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  border: 1px solid #ccc;
}

.sub-button:hover {
  background-color: #ccc;
}

.small-button {
  border-radius: 0.25rem;
  margin: 0.2rem;
  padding: 0.2rem 0.4rem;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.38s;
}

.flex {
  display: flex;
}

.align-center {
  align-items: center;
}

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

.button:hover {
  background-color: #ccc;
}

/* ----------Space---------- */

.m-0 {
  margin: 0
}

p-0 {
  padding: 0
}

.p-1 {
  padding: 0.5rem !important;
}
.m-1 {
  margin: 0.5rem;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.mx-1 {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

.my-3 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.5rem !important;
}

.mt-2 {
  margin-top: 1rem !important;
}
.mt-3 {
  margin-top: 1.5rem !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}
.mb-3 {
  margin-bottom: 1.5rem !important;
}

.ms-05 {
  margin-left: 0.25rem !important;
}

.ms-1 {
  margin-left: 0.5rem !important;
}
.ms-2 {
  margin-left: 1rem !important;
}
.ms-3 {
  margin-left: 1.5rem !important;
}
.ms-4 {
  margin-left: 2rem !important;
}
.ms-5 {
  margin-left: 2.5rem !important;
}

.me-1 {
  margin-right: 0.5rem !important;
}
.me-2 {
  margin-right: 1rem !important;
}
.me-3 {
  margin-right: 1.5rem !important;
}
.me-4 {
  margin-right: 2rem !important;
}
.me-5 {
  margin-right: 2.5rem !important;
}

.fs-1 {
  font-size: 0.6rem !important;
}

.no-mp {
  margin: 0 !important;
  padding: 0 !important;
}

.smooth {
  transition: all 0.38s ease-in-out;
}

.close {
  width: 0 !important;
}

.small-font {
  font-size: 0.6rem;
}

.font-08 {
  font-size: 0.8rem;
}

.delimeter {
  margin: 0.3rem 0 0.5rem;
  height: 1px;
  background: #eeeeee;
}
