@charset "UTF-8";

* {
  box-sizing: border-box;
  overscroll-behavior: none !important;
}

:root ::shadow {
  --font: sans-serif;
}

:root {
  --color: #73d393;
  --colorTrans: rgb(255, 12, 12, 0.2);
  --colorTransDark: rgb(255, 12, 12, 0.9);
  --fontcolor: white;
  --invertedFont: white;
  --compFontColor: white;
  --slider: #202124;
  --sliderThumb: #000000;
  --fill: #73d393;
  --penfill: #73d393;
  --speed: 0.2s;
  --dark: #000;
  --darker: #fff;
  --img: invert(12%);
  --bgColor: #35363a;
  --fgColor: #202124;
  --darkerBGColor: #1b1c1e;
  --border: none;
  --desktopBorder: 1px solid var(--fontcolor);
  --evenRow: #202124;
  --oddRow: #2a2b2e;
  --buttonColor: #ecf0f3;
  --icon: invert(80%);
  --searchbar: #fff;
  --complimentary: #000;
  --dialog-vertical: #2a2a2a;
  --dialog-info: #444;
  --height: 100%;
  --width: 100%;
  --camHeight: 100px;
  --downArrow: url('../images/navigation/default/downmenu.png');
  --arrow: url('../images/navigation/default/downmenu-white.png');
  --bubble-width: calc(100% - 160px);
  --menu-width: calc(100% - 195px);
  --menu-height: calc(100% - 320px);
  --navbar-padding: 0px;
  --iOSPadding: 50px;
  --searchWidget: #2a2a2a;
  --wallpaper: url('../images/wallpapers/wallpaper1.jpg');
  color-scheme: light;
}

html {
  position: absolute;
  font-family: var(--font);
  background: var(--bgColor);
  top: 0;
  margin: 0;
  padding: 0;
  height: var(--height);
  min-height: 100%;
  border: none;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  position: relative;
  height: var(--height);
  width: 100%;
  top: 0;
  padding: 0;
  overflow: scroll;
  margin: 0;
  border: none;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

#mainBody {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

img {
  cursor: pointer;
}

.iOS {
  user-select: none;
  -webkit-user-select: none;
}

:focus {
  outline: none;
}

::-webkit-scrollbar {
  display: none;
}

.svg {
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-size: contain;
  cursor: pointer;
}

#bigStore {
  margin-top: 50%;
  height: 120px;
  width: 120px;
  filter: invert(100%) drop-shadow(1px 1px 1px #000);
  z-index: 200;
}

#bigIAI {
  margin-top: 50%;
  height: 120px;
  width: 120px;
  filter: invert(100%) drop-shadow(1px 1px 0 #000);
  z-index: 200;
}

#bigStore.light,
#bigIAI.light {
  filter: invert(20%);
}

#cspan2 {
  padding: 0px;
  background: var(--color);
  border-radius: 50%;
  border: 1px solid var(--fontcolor);
  position: absolute;
  top: calc(var(--height) / 2 - 240px);
}

#cs-results p {
  top: calc(var(--height) / 2);
  position: relative;
}

#nothere {
  color: var(--color);
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.radiobox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 16px;
  color: #ecf0f3;
  line-height: 1.5;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-indent: 10px;
}

.radiobox.light {
  color: #35363a;
}

.radiobox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radiocheck {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background: #36363c;
  border-radius: 50%;
}

.radiocheck.light {
  background: #ecf0f3;
}

.radiobox:hover input~.radiocheck {
  background: #ccc;
}

.radiobox input:checked~.radiocheck {
  background: var(--color);
}

.radiocheck:after {
  content: '';
  position: absolute;
  display: none;
}

.radiobox input:checked~.radiocheck:after {
  display: block;
}

.radiobox .radiocheck:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #36363c;
}

a {
  color: var(--color);
}

tbody,
ul,
li,
p,
strong,
button,
div {
  font-family: var(--font);
}

#bottomNav {
  width: 100%;
  display: none;
  background: var(--bgColor);
  position: absolute;
  opacity: 0.9;
  bottom: 0;
  height: 60px;
  z-index: 500;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  box-shadow: -1px 0 2px rgb(0 0 0 / 20%);
}

#bottomNav button {
  background: transparent;
  width: 100%;
  height: 60px;
  border: none;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.bNav {
  display: flex;
  width: 32px;
  margin-top: 20px;
  height: inherit;
  background: var(--buttonColor);
}

.penmenu {
  position: relative;
  display: block;
  padding: 65px 10px 0 10px;
}

.penmenu h5 {
  text-align: left;
}

#sneakybutton {
  opacity: 0;
}

#like-bubble {
  display: none;
  flex-direction: row;
  align-items: center;
  position: fixed;
  justify-content: center;
  gap: 15px;
  width: 150px;
  height: 50px;
  background: var(--color);
  border: none;
  border-radius: 30px;
  left: 0;
  top: 0;
  margin: 0 !important;
  box-shadow: 1px 2px 5px rgb(0 0 0 / 35%);
}

.like-buttons {
  position: relative;
  width: 32px;
  height: 32px;
  background-color: #000;
  mask-image: url(../images/navigation/thumb.png);
  -webkit-mask-image: url(../images/navigation/thumb.png);
  cursor: pointer;
}

.like-buttons.light {
  filter: none;
}

#thumbs-down {
  rotate: 180deg;
}

.like-buttons#thumb-close {
  mask-image: url(../images/navigation/close.svg);
  -webkit-mask-image: url(../images/navigation/close.svg);
}

.percent {
  position: relative;
  color: #babecc;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  font-size: 48px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 15px;
}

.text-blink {
  animation: animate 0.7s ease-in-out infinite 0.1s;
}

#debug {
  overflow-y: auto;
}

#settingdebug {
  display: none;
}

#settingGame {
  display: none;
}

#styleData {
  border: none;
  color: #999;
  background: var(--fgColor);
  border-radius: 0;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
  overflow-y: scroll !important;
  padding: 5px;
  height: 350px;
}

#styleData span {
  font-weight: bold;
  color: var(--color);
}

.more-menu {
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-around;
  align-content: flex-start;
  position: fixed;
  z-index: 900;
  top: calc(25px + var(--iOSPadding));
  right: 10px;
  width: 200px;
  max-height: 430px;
  background: var(--fgColor);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
  transform-origin: right top;
  animation: topdown var(--speed) ease;
  border: var(--border);
}

.more-menu.light {
  background: #fff;
}

.more-menu button {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: 0 0;
  border: 0 none;
  color: #f3f3f3;
  cursor: pointer;
  font-size: 100%;
  height: 60px;
  width: 100%;
}

.more-menu.light button {
  color: #35363a;
}

.more-menu button:hover {
  background: var(--color);
  color: var(--fontcolor);
}

.more-menu button:hover span {
  background: var(--fontcolor);
}

#upload {
  opacity: 0;
  margin: 10px;
  cursor: pointer;
  border: none;
  height: 64px;
  width: 64px;
  text-align: center;
}

.upload-avatar {
  float: left;
  margin: 10px;
  background-image: url('../images/user/add-user.png');
  background-repeat: no-repeat;
  background-size: 32px 32px;
  background-position: center;
  background-color: var(--color);
  cursor: pointer;
  border: 3px solid #45484c;
  border-radius: 50%;
  height: 64px;
  width: 64px;
  text-align: center;
}

#wishlist button {
  float: right;
  margin: -10px auto;
  width: 15%;
  color: #df0101;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
  border: none;
  background: none;
  cursor: pointer;
  font-size: 32px;
}

#wishlist.post button {
  display: flex;
  position: relative;
  top: 10px;
  right: 0px;
  z-index: 50;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

#wishlist li {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

#wishlist.post {
  display: flex;
  list-style: none;
  padding-left: 0;
  flex-direction: row;
  flex-wrap: wrap;
  padding-top: 15px;
  gap: 35px 15px;
  justify-content: center;
}

.post-it {
  margin-bottom: 15px;
}

.post .post-it {
  border-radius: 5px;
  color: #333;
  position: relative;
  width: auto;
  max-width: 320px;
  border-radius: 5px;
  box-shadow: 3px 4px 5px rgb(0 0 0 / 11%);
  margin-bottom: 0;
}

.post .post-it.light div {
  box-shadow: 2px 2px 7px rgb(0 0 0 / 15%);
}

#wishlist.post div li {
  padding: 5px 20px 20px;
  min-height: 120px;
}

#wishlist.post div div {
  width: 100%;
  height: 25px;
  box-shadow: none !important;
}

.post .post-it:nth-child(4n + 1) {
  background: #ffff88;
  background: linear-gradient(135deg,
      #ffffa4 5%,
      #ffff88 15%,
      #fdfdab 60%,
      #fdfdc8 100%);
}

.post .post-it:nth-child(4n + 2) {
  background: #b3ffbd;
  background: linear-gradient(135deg,
      #b3ffbd 5%,
      #88ff98 15%,
      #b3ffbd 60%,
      #c3ffcb 100%);
}

.post .post-it:nth-child(4n + 3) {
  background: #b0dbff;
  background: linear-gradient(135deg,
      #b0dbff 5%,
      #88c9ff 15%,
      #b0dbff 60%,
      #bde1ff 100%);
}

.post .post-it:nth-child(4n + 4) {
  background: #ff8888;
  background: linear-gradient(135deg,
      #ff9e9e 5%,
      #ff8888 15%,
      #fd9090 60%,
      #ffbcbc 100%);
}

#wishlist.post span {
  background: #aaa;
  display: block;
  height: 32px;
  width: 2px;
  position: absolute;
  left: 50%;
  top: -16px;
  z-index: 100;
}

#wishlist.post span:after {
  display: block;
  background: var(--color);
  background-image: radial-gradient(25% 25%,
      circle,
      hsla(0, 0%, 100%, 0.3),
      hsla(0, 0%, 0%, 0.3));
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px hsla(0, 0%, 0%, 0.1),
    inset 3px 3px 3px hsla(0, 0%, 100%, 0.2),
    inset -3px -3px 3px hsla(0, 0%, 0%, 0.2),
    23px 20px 3px hsla(0, 0%, 0%, 0.15);
  content: '';
  height: 12px;
  left: -5px;
  position: absolute;
  top: -10px;
  width: 12px;
}

#wishlist.post span:before {
  display: block;
  background: hsla(0, 0%, 0%, 0.1);
  box-shadow: 0 0 0.25em hsla(0, 0%, 0%, 0.1);
  content: '';
  height: 24px;
  width: 2px;
  left: 0;
  position: absolute;
  top: 8px;
  -moz-transform: rotate(57.5deg);
  -webkit-transform: rotate(57.5deg);
  -o-transform: rotate(57.5deg);
  -ms-transform: rotate(57.5deg);
  -moz-transform-origin: 50% 100%;
  -webkit-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  -o-transform-origin: 50% 100%;
  transform: rotate(57.5deg);
  transform-origin: 50% 100%;
}

.html-editor {
  color: #999;
  word-wrap: break-word;
  position: absolute;
  height: 125px;
  width: 100%;
  padding: 10px;
  padding-top: 75px;
  border: none;
  border-bottom: 1px solid var(--color);
  background: #000;
  font-size: 16px;
  text-align: center;
  resize: none;
  transition: height 0.1s;
  z-index: 104;
}

.html-editor:focus {
  color: #ccc;
  height: 300px;
  border: 1px solid #2c2c32;
}

#htmleditor {
  position: relative;
  top: 125px;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2c2c32;
  border: none;
  padding: 10px;
  z-index: 103;
}

.three {
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border-radius: 50%;
  border: none;
  top: calc(12px + var(--iOSPadding));
  right: 15px;
  width: 44px;
  height: 44px;
  z-index: 302;
  cursor: pointer;
}

.threedot {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--buttonColor);
  position: fixed;
  border-radius: 50%;
  cursor: pointer;
}

.threedot:before,
.threedot:after {
  content: '';
  position: absolute;
  width: inherit;
  height: inherit;
  right: 0;
  background: inherit;
  border-radius: inherit;
}

.threedot:before {
  top: -7px;
}

.threedot:after {
  top: 7px;
}

.threedot.light,
.threedot.light:before,
.threedot.light:after {
  background: #35363a;
}

.three.themed .threedot,
.three.themed .threedot:before,
.three.themed .threedot:after {
  background: var(--fontcolor);
}

.hicon {
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 50%;
  border: none;
  top: calc(12px + var(--iOSPadding));
  left: 18px;
  width: 44px;
  height: 44px;
  z-index: 302;
  cursor: pointer;
}

.hamburger {
  width: 21px;
  height: 3px;
  margin-top: 1px;
  background: var(--buttonColor);
  position: fixed;
  border-radius: 1px;
  transition: transform var(--speed) ease;
}

.hamburger:before,
.hamburger:after {
  content: '';
  position: absolute;
  width: 21px;
  height: 3px;
  left: 0;
  background: var(--buttonColor);
  border-radius: inherit;
  transition: transform var(--speed) ease;
}

.hamburger:before {
  transform: translateY(-6px);
}

.hamburger:after {
  transform: translateY(6px);
}

.hamburger.light,
.hamburger.light:before,
.hamburger.light:after {
  background: #35363a;
}

.hicon.active .hamburger {
  background: rgba(0, 0, 0, 0);
}

.hicon.active .hamburger:before {
  transform: translateY(0);
  transform: rotate(45deg);
  background: var(--buttonColor);
}

.hicon.active .hamburger:after {
  transform: translateY(0);
  transform: rotate(135deg);
  background: var(--buttonColor);
}

.hicon.themed .hamburger,
.hicon.themed .hamburger:before,
.hicon.themed .hamburger:after {
  background: var(--fontcolor);
}

.hicon.themed.active .hamburger,
.hicon.themed.active .hamburger:before,
.hicon.themed.active .hamburger:after {
  background: var(--buttonColor);
}

.hicon.themed.active .hamburger {
  background: rgb(0 0 0 / 0);
}

.hicon.backarrow,
.three.backarrow {
  background: #2c2c32;
}

.hamburger.backarrow:before,
.hamburger.backarrow:after {
  content: '';
  width: 12px;
  left: 0;
}

.hicon.backarrow .hamburger {
  width: 20px;
}

.hicon.backarrow .hamburger:before {
  transform: translateY(-5px) rotate(315deg);
}

.hicon.backarrow .hamburger:after {
  transform: translateY(5px) rotate(45deg);
}

#reload-cache {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: #929292;
  font-weight: bold;
  font-size: 2rem;
  transition: all ease-in var(--speed);
}

.remove-post {
  position: relative;
  display: block;
  float: right;
  right: 10px;
  text-align: right;
  color: #df0101;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  border: none;
  background: none;
  cursor: pointer;
  font-size: 32px;
  line-height: 60px;
  z-index: 50;
}

.remove {
  position: relative;
  display: block;
  float: right;
  margin: -10px auto;
  width: 15%;
  color: #df0101;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  border: none;
  background: none;
  cursor: pointer;
  font-size: 32px;
}

.avatar-select {
  margin: 15px;
  cursor: pointer;
  border: none;
  width: auto;
  aspect-ratio: 1/1;
  max-width: 64px;
  border-radius: 50%;
  text-align: center;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.6));
}

#maintenance-send-data,
#maintenance-send-data2 {
  filter: invert(0%) !important;
}

.maintenance-modal-label {
  position: relative;
  display: inline-block;
  color: #999;
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 5px;
}

.maintenance-modal-text {
  color: #999;
  word-wrap: break-word;
  height: 125px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: var(--bgColor);
  font-size: 16px;
  text-align: center;
  box-shadow: inset 0 0 5px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  resize: none;
}

.maintenance-modal-text:focus {
  border: 1px solid var(--color);
}

tr:nth-child(even) {
  background: var(--evenRow);
}

tr:nth-child(odd) {
  background: var(--oddRow);
}

.drag {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 304;
  padding: 0 10px 10px;
  background: var(--bgColor);
  border: none;
  overflow: auto;
  border-radius: 0;
}

.drag#sketch-drag,
.drag#code-drag {
  background: rgba(0, 0, 0, 1);
  position: fixed;
  padding: 0 !important;
  opacity: 1;
  overflow-y: hidden;
}

.drag#rDrag {
  z-index: 307;
}

.drag-header {
  display: flex;
  height: calc(70px + var(--iOSPadding));
  justify-content: space-between;
  padding: 20px 20px 20px;
  position: sticky;
  top: 0;
  z-index: 111;
  background: var(--bgColor);
  color: var(--color);
  text-shadow: none;
  font-weight: bold;
  border: none;
  text-align: center;
  align-items: center;
}

.drag.light,
.drag-header.light {
  color: #35363a;
  background: #eeeeee;
}

.ip-header {
  display: flex;
  padding: 70px 10px 20px;
  background: var(--color);
  color: var(--fontcolor);
  font-weight: bold;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--fgColor);
}

#searchHeader {
  display: none;
  background: none;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  box-shadow: none;
  width: 100%;
  margin: 10px 0 15px;
  height: 60px;
  line-height: 1;
  padding: 10px 10px 0;
}

#uni-form {
  margin: 0;
  padding: 0;
  width: calc(100% - 144px);
}

.reference-img {
  padding: 10px;
  width: 100%;
  height: auto;
}

.color-select {
  position: absolute;
  right: 15px;
  border: none;
  border-radius: 50%;
  height: 48px;
  width: 48px;
  background: 0 0;
}

.quick-wrap {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bgColor);
}

.quick-launch-grid {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px;
  justify-content: center;
  border-radius: 20px;
  padding: 0px;
  overflow: auto;
  /* overscroll-behavior-y: auto !important; */
  overscroll-behavior-inline: auto !important;
}

/* #Tab3.wallpapers .quick-launch-grid {
  background: var(--fgColor);
  padding: 10px;
}

#Tab3.wallpapers .quick-launch-grid.light {
  background: #fff;
} */

.quick-button {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-evenly;
  width: calc(100% / 2 - 5px);
  max-width: 390px;
  height: 100px;
  font-size: small;
  cursor: pointer;
  color: var(--fontcolor);
  font-weight: 700;
  background: var(--color);
  border-radius: 20px;
  border: none;
  /* box-shadow: 1px 2px 3px rgb(0 0 0 /10%) */
}

.quick-button:hover {
  background: var(--color);
  color: #35363a;
  font-weight: bold;
}

.quick-button:active {
  transform: translateY(4px);
}


h5 {
  font-size: 16px;
  padding-top: 5px;
  vertical-align: bottom;
}

.notes-container {
  width: 100%;
  position: relative;
}

.notes-content {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  align-content: space-around;
  width: 100%;
  padding: 15px;
  will-change: auto;
}

.notes-content#unicontainer,
#unicontainer2 {
  display: block;
  margin: 10px;
  padding: 0;
}

#Tab3.wallpapers .notes-content {
  opacity: 0.97;
}

.notes-inner-content {
  display: grid;
  justify-content: center;
  align-items: center;
  color: #777;
  font-size: 16px;
  background: var(--fgColor);
  border: var(--border);
  margin: 10px;
  padding: 20px;
  border-radius: 20px;
  width: 100%;
  height: 100%;
  word-wrap: break-word;
  color: #e3e8ec;
}

.notes-inner-content.light {
  background: #fff;
  color: #35363a;
}

.notes-input {
  -webkit-appearance: none;
  appearance: none;
  color: var(--buttonColor);
  background: var(--bgColor);
  font-size: 16px;
  height: 40px;
  width: 75%;
  border: none;
  -webkit-border-radius: 25px 0 0 25px;
  border-radius: 25px 0 0 25px;
  text-align: center;
  overflow: hidden;
}

.notes-input.light {
  background: #ecf0f3;
  color: #202124;
}

.notes-input::placeholder {
  font-family: var(--font);
  -webkit-appearance: none;
  appearance: none;
}

.notes-button {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  width: 25%;
  height: 40px;
  color: var(--fontcolor);
  font-weight: bold;
  background: var(--color);
  -webkit-border-radius: 0 25px 25px 0;
  border-radius: 0 25px 25px 0;
}

.notes-button.light {
  background: var(--color);
  color: var(--fontcolor);
}

.notes-input:focus {
  border: 1px solid var(--color);
}

#sketchpadapp {
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
  text-align: center;
}

#sketchpad {
  border: none;
}

.icon-bar {
  display: flex;
  position: fixed;
  background: #000;
  border-top: 1px solid #35363a;
  bottom: 0;
  padding-bottom: calc(var(--navbar-padding) - 5px);
  height: 100px;
  width: 100%;
  cursor: pointer;
  z-index: 305;
  touch-action: none;
}

.icon-bar a,
.icon-bar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(100% / 3);
  text-align: center;
  padding: 15px 0 0;
  transition: all 0.3s ease;
  color: white;
  text-shadow: 0 0 3px #000;
  /* font-size: 65%;
  height: 75px; */
  border: none;
  border-right: 1px solid #35363a;
  border-bottom: 1px solid #35363a;
  text-decoration: none;
  background: none;
}

.icon-bar a:last-child,
.icon-bar button:last-child {
  border-right: none;
}

.toolbar {
  background: var(--searchbar);
  padding: 14px;
}

#code-drag .icon-bar a {
  width: 25%;
}

.tabcontent {
  position: relative;
  color: rgb(207, 209, 211);
  background: var(--bgColor);
  display: none;
  padding: 70px 5px var(--navbar-padding);
  padding-top: calc(70px + var(--iOSPadding));
  width: 100%;
  overflow-y: auto;
  z-index: 1;
  height: 100%;
  transform: translate3d(0, 0, 0);
}



.tabcontent.light {
  color: #35363a;
}

.tabcontent#settingsPanel {
  padding: 0;
  overflow-x: hidden;
  background-image: unset;
}

.tabcontent#Tab5 {
  padding: 70px 15px var(--navbar-padding);
}


#notchFill {
  display: block;
  position: fixed;
  background: var(--bgColor);
  margin-top: -149px;
  height: 150px;
  width: 100%;
  z-index: 0;
}

.topnav {
  position: fixed;
  display: flex;
  background: var(--bgColor);
  top: 0;
  width: 100%;
  height: calc(70px + var(--iOSPadding));
  color: var(--buttonColor);
  z-index: 300;
  overflow: hidden;
  text-align: center;
  align-items: center;
  align-content: center;
  font-weight: bold;
  transition: opacity var(--speed) ease;
  justify-content: center;
  border: none;
}

.topnav.light {
  color: #35363a;
}

#mdispatch {
  display: block;
  position: relative;
  top: calc(var(--iOSPadding) / 2);
}

.desktop-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  flex-direction: row;
  align-content: center;
  /* background: var(--bgColor); */
  background: var(--color);
  border-bottom: var(--desktopBorder);
  z-index: 200;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  justify-self: center;
  padding: 5px 65px 10px;
  gap: 10px;
}

.desktop-nav-button {
  height: 100%;
  width: calc(100% / 6 - 20px);
  cursor: pointer;
  border: none;
  border-radius: 10px;
  background: none;
  color: var(--fontcolor);
  font-size: 10px;
  display: inline-flex;
  justify-content: space-evenly;
  flex-direction: column-reverse;
  align-items: center;
}

.desktop-nav-img {
  padding: 10px;
  background: var(--fontcolor);
}

/* .desktop-nav-button.light {
  background: #fff;
  color: #202124;
} */

.desktop-nav.themed {
  background: var(--color);
  color: var(--fontcolor);
  border: none;
}

.desktop-nav.themed .desktop-nav-button.light {
  background: var(--color);
  color: var(--fontcolor);
}

.desktop-nav.themed .desktop-nav-button {
  color: var(--fontcolor);
}

.desktop-nav.themed button .desktop-nav-img {
  background: var(--fontcolor);
}

.setting-tab {
  display: flex;
  position: fixed;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 100%;
  height: var(--height);
  padding: 0 15px;
  padding-top: calc(80px + var(--iOSPadding));
  padding-bottom: 50px;
  overflow-x: hidden;
  overflow-y: auto;
  border: none;
}

#tabSetting label {
  display: inline-flex;
  font-size: 14px;
  position: absolute;
  flex-direction: row;
  align-items: flex-end;
  left: 100px;
  bottom: 10px;
  width: 100%;
  opacity: 0.4;
  color: var(--buttonColor);
}

.setting-menu {
  display: flex;
  position: relative;
  color: var(--buttonColor);
  width: 100%;
  padding: 15px 15px;
  margin-top: 2px 0;
  font-size: 1.25em;
  border: none;
  background: #2c2c32;
  border-radius: 4px;
  margin: 2px 0;
  flex-direction: row;
  overflow: hidden;
  align-items: baseline;
  justify-content: flex-start;
}

.setting-menu.light {
  color: #35363a;
}

.settingIcon {
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  background: var(--fgColor);
  cursor: pointer;
}

.settingIcon.light {
  background: var(--color);
  /* box-shadow: 1px 2px 3px rgb(0 0 0 /10%); */
}

.setting-span {
  position: relative;
  margin-left: 30px;
  text-align: center;
  bottom: 20px;
}

#settingAcc {
  display: flex;
}

.qr-logo {
  background: var(--color);
  cursor: pointer;
  margin: 0 auto;
  height: 28px;
  width: 28px;
  display: block;
  position: relative;
  text-align: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
}

.qr-logo.light {
  background: var(--fontcolor);
}

.setting-tabcontent {
  display: none;
  position: relative;
  left: 0;
  color: var(--buttonColor);
  padding: calc(80px + var(--iOSPadding)) 15px 10px;
  width: 100%;
  height: var(--height);
  font-size: 1rem !important;
  overflow-y: auto;
}

#settingAcc {
  display: flex;
}

#about strong {
  font-size: 125%;
  color: #ecf0f3;
  padding: 10px 0;
}

#about.light strong {
  color: #35363a;
}

#hwinfo {
  color: #999;
  background: #2c2c32;
  border-radius: 20px;
  padding: 20px;
}

.serverinfo {
  color: #999;
  background: #2c2c32;
  border-radius: 20px;
  padding: 20px;
  margin: 20px 0;
}

#weatherSlide {
  background: #2c2c32;
  margin-top: unset;
  border-radius: 4px;
  padding: 20px 20px;
}

#maintenance-form {
  padding: 0 10px;
}

.update-button {
  position: fixed;
  font-weight: bold;
  bottom: calc(110px + var(--navbar-padding));
  right: 15px;
  color: var(--fontcolor);
  width: 160px;
  height: 45px;
  border-radius: 33px;
  border: none;
  background: var(--color);
  cursor: pointer;
  z-index: 10;
  box-shadow: 1px 2px 3px rgb(0 0 0 /10%);
}

h1 {
  position: relative;
  color: var(--color);
  text-align: left;
  font-weight: bold;
  font-size: 2rem;
  margin: 10px 0 30px 0;
}

.setting-tabcontent h1 {
  margin: 10px 0;
  font-size: 1.2rem;
}

h3 {
  margin: 5px;
  position: relative;
  text-align: center;
  font-weight: bold;
}

h2 {
  text-align: center;
  font-weight: bold;
  color: #999;
}

h2.light {
  color: #35363a;
}

h4 {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: normal;
  text-shadow: none;
  padding: 25px 20px;
  margin: 2px 0;
  background: #2c2c32;
  border-radius: 4px;
}

h4.light,
h6.light,
#weatherSlide.light,
.setting-menu.light,
.serverinfo.light,
.hicon.light.backarrow,
.three.light.backarrow,
#hwinfo.light {
  background: #f9f9f9;
}

h4.midnight,
h6.midnight,
.serverinfo.midnight,
.hicon.midnight.backarrow,
.three.midnight.backarrow,
#weatherSlide.midnight,
.setting-menu.midnight,
#hwinfo.midnight {
  background: #111112;
}

h4:first-of-type,
h6:first-of-type,
.setting-menu:first-of-type {
  border-radius: 20px 20px 4px 4px;
  margin-top: 10px;
}

h4:last-of-type,
h6:last-of-type,
.setting-menu:last-of-type {
  border-radius: 4px 4px 20px 20px;
  margin-bottom: 10px;
}

h6 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  padding: 12px;
  font-weight: normal;
  margin: 2px 0;
  background: none;
}

.setting-tabcontent>h6 {
  background: #2c2c32;
  border-radius: 4px;
}

#resH2 {
  display: flex;
  padding: 10px 20px;
  margin-top: calc(20px + var(--iOSPadding));
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#mtag {
  color: var(--fontcolor);
  position: relative;
  left: 15px;
}

#mtag span {
  text-decoration: overline;
  text-decoration-color: var(--fontcolor);
}

#addLOG h1 {
  margin: 0 0 10px 0;
}

.setting-divider {
  border: none;
  border-bottom: 1px solid #4a4b4e;
  width: 75%;
  margin-top: 40px;
}

.collapsible-menu {
  display: flex;
  background: 0 0;
  border: none;
  cursor: pointer;
  width: 100%;
  padding: 20px;
  font-weight: 700;
  color: var(--buttonColor);
  justify-content: flex-start;
  align-items: center;
}

.collapsible-menu.light {
  color: #35363a;
}

.collapse-active-menu,
.collapsible-menu:hover {
  color: var(--fontcolor);
  background: var(--color);
}

.collapsible-menu:hover span,
.collapsible-menu:hover div {
  background: var(--fontcolor);
}

.collapse-active-menu span,
.collapse-active-menu div {
  background: var(--fontcolor);
}

.collapsible-menu.collapse-active-menu {
  color: var(--fontcolor);
}

.content-menu {
  color: #f0f0f0;
  background: var(--colorTrans);
  opacity: 0;
  max-height: 0;
  overflow: auto;
  overscroll-behavior-y: auto !important;
  transition: opacity var(--speed) ease, max-height var(--speed) ease;
}

.trash {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(0deg, var(--dark), var(--color));
  border: none;
  cursor: pointer;
}

.trash:before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background: linear-gradient(0deg, var(--color), var(--dark));
  border-radius: 50%;
}

.submit-float {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: calc(25px + var(--navbar-padding));
  right: 25px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(0deg, var(--dark), var(--color));
  border: none;
  cursor: pointer;
  z-index: 500;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.submit-float:before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background: linear-gradient(0deg, var(--color), var(--dark));
  border-radius: 50%;
}

#submit-main.submit-float {
  display: none;
}

.floater-icon {
  background: var(--fontcolor);
  cursor: pointer;
  padding: 10px;
  position: relative;
  mask-image: url(../images/navigation/plus.svg);
  -webkit-mask-image: url(../images/navigation/plus.svg);
}

.floater-icon#waste {
  mask-image: url(../images/navigation/trash.svg);
  -webkit-mask-image: url(../images/navigation/trash.svg);
}

.floater-icon#floater-menu {
  padding: 16px;
  mask-image: url(../images/navigation/list-check.svg);
  -webkit-mask-image: url(../images/navigation/list-check.svg);
}

.Input {
  display: flex;
  justify-content: flex-start;
  background: var(--fgColor);
  color: #999;
  font-size: 16px;
  height: 48px;
  width: 100%;
  border: var(--border);
  border-radius: 35px;
  text-align: center;
  align-items: center;
  /* background-image: url('../images/navigation/search.svg');
  background-repeat: no-repeat;
  background-position: 20px center;
  background-size: 20px 20px; */
}

.Input:focus {
  border: 1px solid var(--color);
  background-image: none;
  transition: 0.1s ease;
}

.Input.light {
  color: #35363a;
  background: #fff;
  /* background-image: url('../images/navigation/default/search.png');
  background-repeat: no-repeat;
  background-position: 20px center;
  background-size: 20px 20px; */
}

.Input .searchglass {
  mask-image: url(../images/navigation/search.svg);
  position: relative;
  left: 10px;
  width: 20px;
  height: 20px;
  display: block;
  background: var(--color);
}

.Input.light#myInput2 {
  color: #999;
  border: 1px solid var(--colorTrans);
}

.Input.light#guide-search2 {
  border: 1px solid var(--colorTrans);
}

.Input.light:focus {
  border: 1px solid var(--color);
}

.submit-list {
  -webkit-appearance: none;
  appearance: none;
  color: var(--fontcolor);
  height: 50px;
  width: 100%;
  text-align: center;
  font-size: 16px;
  text-align: center;
  text-align-last: center;
  padding: 10px;
  border: none;
  border-radius: 30px;
  background: var(--color);
  cursor: pointer;
  background-image: url('../images/navigation/default/downmenu.png');
  background-repeat: no-repeat;
  background-position: 92% center;
  background-size: 20px 20px;
  margin-bottom: 25px;
}

.submit-textbox {
  margin-bottom: 25px;
}

.submit-list:focus {
  border: 3px solid var(--fgColor);
}

#styles {
  color: #ccc;
  background-color: var(--fgColor);
  background-image: url('../images/navigation/arrow-down.svg');
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--fgColor);
  margin-bottom: 0;
}

#styles:focus {
  border: none;
  border-bottom: 1px solid #2c2c32;
}

#form-buttons {
  display: flex;
  width: 100%;
  gap: 10px;
  justify-content: center;
  flex-direction: row;
}

.maintenance-button {
  color: var(--fontcolor);
  font-weight: bold;
  position: relative;
  align-self: center;
  width: 50%;
  height: 50px;
  border-radius: 35px;
  border: none;
  background: var(--color);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 1px 2px 3px rgb(0 0 0 /10%);
}

#clear-submit {
  background: var(--buttonColor);
}

#event-form .maintenance-button,
#maintenance-form2 .maintenance-button {
  background: var(--color);
  color: var(--fontcolor);
}

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

.debug-button {
  font-weight: bold;
  position: relative;
  align-self: center;
  width: calc(100% / 2 - 10px);
  margin: 5px;
  height: 50px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  overflow: hidden;
}

.debug-button.light {
  background: #ccc;
}

#compress-status {
  display: block;
  margin-top: 10px;
  background: var(--dialog-vertical);
  border-radius: 5px;
  width: 100%;
  border-radius: 20px;
  margin-bottom: 20px;
  height: 300px;
  max-height: 300px;
  overflow: auto;
}

#compress-status h1 {
  text-align: center;
  color: #202124;
}

#compress-status.light {
  background: #fff;
}

ul.compressor_output {
  position: relative;
  padding-inline-start: 0;
  list-style: none;
  padding: 5px;
  left: 0;
}

ul.compressor_output li {
  display: flex;
  width: 100%;
  background: var(--bgColor);
  color: var(--buttonColor);
  padding: 10px;
  margin: 5px 0;
  border-radius: 6px;
  justify-content: space-between;
  text-indent: 0px;
  align-items: center;
  align-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
}

ul.compressor_output li div {
  width: calc(100% - 46px);
}

ul.compressor_output li span {
  display: flex;
  padding: 0;
  color: #202124;
  background: #24e724;
  border-radius: 50%;
  height: 36px;
  width: 36px;
  border: 2px solid var(--compFontColor);
  justify-content: center;
  align-items: center;
  font-size: small;
}

ul.compressor_output li span.failed {
  background: #ff0000;
  color: #fff;
}

.maintenance-label {
  position: relative;
  display: inline-block;
  font-size: 18.5px;
  text-align: center;
  padding-bottom: 5px;
}

.maintenance-ticket {
  color: #999;
  word-wrap: break-word;
  height: 50px;
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid var(--fgColor);
  border-radius: 30px;
  background: var(--bgColor);
  font-size: 16px;
  text-align: center;
  overflow-y: hidden;
  resize: none;
}

.maintenance-ticket.light {
  background: #fff;
}

.maintenance-ticket:focus {
  border: 1px solid var(--color);
}

#custom_5.maintenance-ticket:focus {
  resize: vertical;
}

#maintenance-guide-header {
  display: flex;
  height: calc(155px + var(--iOSPadding));
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--fontcolor);
  width: 100%;
  background: var(--color);
  border: none;
  border-bottom: 1px solid var(--fgColor);
  border-collapse: collapse;
  padding: calc(20px + var(--iOSPadding)) 15px 10px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}

.searchbar {
  position: relative;
  padding: 20px 15px;
  background: var(--color);
}

.ipbar {
  width: 100%;
  padding-top: 15px;
}

.ipaddress {
  display: none;
  position: fixed;
  background: var(--bgColor);
  height: 100%;
  width: 100%;
  top: 0;
  z-index: 500;
  overflow-y: hidden;
}

.ipaddress.light {
  background: #fff;
}

.sort {
  position: relative;
  width: 24px;
  height: 24px;
  left: calc(var(--width) / 2 - 50px);
  top: -37px;
  filter: invert(65%);
  cursor: pointer;
}

.sort.light {
  filter: invert(35%);
}

.searchbar .sort {
  position: absolute;
  left: unset;
  right: 30px;
  top: 32px;
}

#option-container {
  display: none;
  position: relative;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-content: flex-start;
  background: var(--searchWidget);
  border-radius: 20px;
  padding: 10px;
  color: #f0f0f0;
  width: calc(var(--width) - 30px);
  height: auto;
  max-height: 50%;
  transition: max-height 0.2s;
  margin-top: 15px;
  border: none;
}

#option-container.ai {
  height: calc((var(--height) - 215px) - var(--iOSPadding));
  max-height: unset;
}

#search_dock {
  display: none;
  position: relative;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-content: flex-start;
  background: var(--searchWidget);
  border-radius: 20px;
  padding: 3px 9px;
  color: #f0f0f0;
  width: calc(var(--width) - 30px);
  height: auto;
  min-height: 88px;
  transition: max-height 0.2s, width .3s ease;
  border: none;
  column-gap: 10px;
  overflow: hidden;
}

#filters {
  display: none;
  flex-direction: column;
  width: calc(100% - 0px);
  background: rgb(0 0 0/30%);
  border-radius: 15px;
  padding: 20px;
  gap: 10px;
  position: relative;
}

#filters label {
  display: flex;
  align-items: center;
  padding: 10px 0;
  /* margin-bottom: 10px; */
  border-bottom: 1px solid var(--dialog-vertical);
}

#filters button {
  background: var(--color);
  font-weight: bold;
  border: none;
  color: var(--fontcolor);
  width: 50%;
  height: 40px;
  border-radius: 35px;
  align-self: center;
}

#recent-list {
  display: none;
  flex-direction: column;
  list-style: none;
  width: calc(100% - 0px);
  background: rgb(0 0 0 / 30%);
  border-radius: 15px;
  padding: 0;
  position: relative;
  margin: 0;
  text-transform: capitalize;
}

#pdf-list {
  width: 100%;
  display: none;
  border-radius: 15px;
  background: rgb(0 0 0 / 30%);
  flex-direction: column;
  margin: 0;
}

#recent-list li,
#pdf-list li {
  border-bottom: 1px solid var(--dialog-info);
  padding: 8px 12px;
  word-wrap: break-word;
  height: auto;
  text-align: center;
  list-style: decimal;
}

#recent-list li {
  list-style: none;
}

#recent-list li:last-of-type,
#pdf-list li:last-of-type {
  border: none;
}

#searchPanel.light #recent-list,
#searchPanel.light #pdf-list,
#searchPanel.light #filters,
#searchPanel.light .search_dock_container {
  background: #fff;
  color: #2c2c32;
}

#searchPanel.light #recent-list h2 {
  color: #2c2c32;
}

#searchPanel.light .close-search,
#searchPanel.light .search_dock_button {
  background: #2c2c32;
}

#searchPanel.light #search_dock,
#searchPanel.light #option-container {
  background: rgb(255 255 255 / 60%)
}

#searchPanel.light .search_dock_container p {
  color: #2c2c32;
}

#chat {
  display: none;
  position: static;
  top: 0;
  width: calc(var(--width) - 40px);
  height: auto;
  background: rgb(0 0 0 / 30%);
  border-radius: 15px;
  overflow: scroll;
}

#chat.light {
  background: #fff;
}

#option-container.ai #chat {
  height: calc((var(--height) - 235px) - var(--iOSPadding));
}

#response {
  display: flex;
  height: 100%;
  align-items: start;
  align-content: center;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 10px;
  top: 0;
  width: 100%;
  position: relative;
  font-size: initial;
  color: white;
  overflow-y: scroll;
  z-index: 1;
}

#response li {
  font-size: 90%;
  justify-self: left;
  width: fit-content;
  width: -moz-fit-content;
  text-align: left;
  height: fit-content;
  background: var(--color);
  color: var(--fontcolor);
  padding: 20px;
  position: relative;
  left: 0;
  border-radius: 25px;
  list-style: none;
  margin: 15px 0;
  max-width: 85%;
  word-break: break-word;
  box-shadow: 2px 3px 5px 0px rgb(0 0 0/ 15%);
}

#response li.imgGen {
  display: flex;
  padding: 10px;
}

#response li.user {
  right: 0;
  align-self: flex-end;
  background: #ecf0f3 !important;
}

.timestamp,
.timestamp-user {
  width: 100%;
  text-align: left;
  font-size: small;
  padding: 0 5px;
}

.timestamp-user {
  text-align: right;
}

.text-container {
  display: none;
  left: 0;
  background: 0;
  padding: 10px 10px 15px 10px;
  height: 80px;
  width: calc(var(--width) - 40px);
}

.search_dock_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: rgb(0 0 0 / 30%);
  border-radius: 14px;
  padding: 10px;
  color: #f0f0f0;
  height: auto;
  width: 100%;
  transition: rotate 0.3s;
}

.search_dock_container p {
  margin: 6px 0 0;
  font-size: 65%;
  /* color: var(--color); */
  color: #ecf0f3;
}

.search_dock_button {
  position: relative;
  height: 36px;
  width: 36px;
  /* background: linear-gradient(180deg, var(--color), var(--darker)); */
  background: #ecf0f3;
  padding: 5px;
  border: none;
  transition: padding var(--speed) ease, background var(--speed) ease;
  overscroll-behavior: auto !important;
  align-items: center;
  justify-content: center;
  mask-image: url(../images/navigation/ai.svg);
  -webkit-mask-image: url(../images/navigation/ai.svg);
}

#search_dock div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  /* animation: slide-in var(--speed) ease forwards; */
}

/* 
#search_dock div.ai {
  animation: inright var(--speed) ease forwards;
} */
/* 
#search_dock div span:nth-child(2) {
  background: rgb(0 0 0 / 30%);
  width: 100%;
  padding: 4px;
  font-size: 60%;
  border-radius: 15px;
} */

#search_dock div:nth-child(1) .search_dock_container .search_dock_button {
  mask-image: url(../images/navigation/ai.svg);
  -webkit-mask-image: url(../images/navigation/ai.svg);
}

#search_dock div.ai:nth-child(1) .search_dock_container .search_dock_button {
  mask-image: url(../images/navigation/right-arrow.svg);
  -webkit-mask-image: url(../images/navigation/right-arrow.svg);
  rotate: 180deg;
  height: 24px;
  width: 24px;
}

#search_dock div:nth-child(2) .search_dock_container .search_dock_button {
  mask-image: url(../images/navigation/pdf.svg);
  -webkit-mask-image: url(../images/navigation/pdf.svg);
}

#search_dock div:nth-child(3) .search_dock_container .search_dock_button {
  mask-image: url(../images/navigation/history.svg);
  -webkit-mask-image: url(../images/navigation/history.svg);
}

#search_dock div:nth-child(4) .search_dock_container .search_dock_button {
  mask-image: url(../images/navigation/filter.svg);
  -webkit-mask-image: url(../images/navigation/filter.svg);
}

#search_dock div:nth-child(5) .search_dock_container .search_dock_button {
  mask-image: url(../images/navigation/gear.svg);
  -webkit-mask-image: url(../images/navigation/gear.svg);
  background: var(--buttonColor);
}

#search_dock div:nth-child(6) .search_dock_container .search_dock_button {
  mask-image: url(../images/navigation/upload-image.svg);
  -webkit-mask-image: url(../images/navigation/upload-image.svg);
  background: var(--buttonColor);
}

#search_dock div.ai:nth-child(5) .search_dock_container .search_dock_button,
#search_dock div.ai:nth-child(6) .search_dock_container .search_dock_button {
  height: 24px;
  width: 24px;
}

#search_dock div:nth-child(5),
#search_dock div:nth-child(6) {
  display: none;
}

#search_dock div:nth-child(5) p,
#search_dock div:nth-child(6) p {
  color: #fff;
}

#search_dock div.ai .search_dock_container {
  width: 100%;
}

#searchresults {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-content: flex-start;
  background: var(--searchWidget);
  border-radius: 20px;
  padding: 0px 12px 15px 12px;
  color: #f0f0f0;
  visibility: hidden;
  height: auto;
  width: calc(var(--width) - 30px);
  overflow-y: scroll;
  list-style: none;
}

#searchresults li {
  width: 100%;
}

#searchTool {
  display: flex;
  width: 100%;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  margin: 0;
  padding: 10px 0 0px;
}

#st_title {
  color: var(--buttonColor);
}

#st_help,
#st_close {
  width: 28px;
  height: 28px;
  background: var(--buttonColor);
}

#st_help {
  visibility: hidden;
  mask-image: url(../images/navigation/help.svg);
  -webkit-mask-image: url(../images/navigation/help.svg);
}

#st_close {
  mask-image: url(../images/navigation/close.svg);
  -webkit-mask-image: url(../images/navigation/close.svg);
}

#cs-results,
#iai-results {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  top: -2px;
  left: 0;
  width: 100%;
  height: calc(100% - 85px - var(--navbar-padding));
  border-radius: 0;
  padding: 0;
  z-index: 2;
}

#iai-results tr:nth-child(even),
#cs-results tr:nth-child(even),
#searchresults tr:nth-child(even),
#loadIP tr:nth-child(even),
#guideTbody tr:nth-child(even) {
  background: var(--evenRow);
  color: #f0f0f0;
}

#iai-results tr:nth-child(odd),
#cs-results tr:nth-child(odd),
#searchresults tr:nth-child(odd),
#loadIP tr:nth-child(odd),
#guideTbody tr:nth-child(odd) {
  background: var(--oddRow);
  color: #f0f0f0;
}

#iai-results.light tr:nth-child(even),
#cs-results.light tr:nth-child(even),
#searchresults.light tr:nth-child(even),
#loadIP.light tr:nth-child(even),
#guideTbody.light tr:nth-child(even) {
  background: #ecf0f3;
  color: #4a4b4e;
}

#iai-results.light tr:nth-child(odd),
#cs-results.light tr:nth-child(odd),
#searchresults.light tr:nth-child(odd),
#loadIP.light tr:nth-child(odd),
#guideTbody.light tr:nth-child(odd) {
  background: #fff;
  color: #4a4b4e;
}

.round-table {
  position: relative;
  font-family: var(--font);
  max-height: 62px;
  width: 100%;
  /* max-width: 400px; */
  border-radius: 15px;
  margin-top: 15px;
  overflow-y: hidden;
  overflow-x: scroll;
  padding: 0;
  transition: padding var(--speed);
  overscroll-behavior: auto !important;
  z-index: 2;
}

.full-table {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: scroll;
  border: 1px solid #45484c;
  border-left: 0;
  border-right: 0;
  z-index: 1;
}

.log-table {
  overflow-y: clip;
  height: var(--height);
  overflow: auto;
  overscroll-behavior: none;
}

#loadIP {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  border-radius: 15px;
  padding: 0;
}

.universal-title-bar {
  top: 0;
  left: 0;
  position: sticky;
  display: flex;
  width: 100%;
  height: 65px;
  line-height: 65px;
  background: var(--color);
  color: var(--fontcolor);
  font-size: 0.95rem;
  text-align: center;
  border-bottom: 1px solid var(--fgColor);
  z-index: 2;
  align-content: center;
  justify-content: center;
}

.universal-table {
  display: table;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  table-layout: auto;
  overflow-wrap: break-word;
  /* contain: strict; */
  overflow-x: auto;
  padding: 0;
  /* padding: 0 0 calc(155px + var(--iOSPadding)); */
}

.universal-table#cs-table-full,
.universal-table#cs-table {
  table-layout: fixed;
}

.universal-table#cs-table-full thead {
  top: 0 !important;
}

.universal-table#cs-table-full {
  padding-bottom: 0 !important;
}

.universal-table#iai-table-full {
  table-layout: fixed;
}

.universal-table::-webkit-scrollbar {
  display: block !important;
}

#log-table-sort.universal-table {
  width: 100%;
  overscroll-behavior: none;
}

.universal-table thead {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.universal-table tbody {
  display: table-row-group;
}

.universal-table th {
  background: var(--color);
  color: var(--fontcolor);
  padding: 20px 15px;
  border: 1px solid var(--fgColor);
  border-top: 0;
  border-left: 0;
}

.universal-table tr th {
  -webkit-user-select: none !important;
  user-select: none !important;
  /* display: none; */
}

#ip-modal .log-table .universal-table tr th {
  display: table-cell;
  flex-direction: column;
  justify-content: center;
}

/* #ip-modal .log-table .universal-table thead tr:last-child {
  display: none !important;
} */

#ip-modal .log-table .universal-table thead th .Input {
  position: relative;
  top: 10px;
}

/* 
.universal-table td {
  display: grid;
  grid-template-columns: 12ch auto;
  font-size: 1rem;
  padding: 20px 30px;
  text-align: left;
  border: none;
}

.universal-table td::before {
  content: attr(data-cell) ': ';
  font-weight: 800;
  text-transform: capitalize;
} */

.universal-table td {
  display: table-cell;
  font-size: 1rem;
  text-align: center;
  padding: 5px;
  border: 1px solid #45484c;
  border-left: 0;
  border-top: 0;
}

.universal-table td::before {
  content: '';
}

/* .universal-table tr td:last-child {
  border-bottom: 1px solid #777;
} */

#fanuc-table.universal-table td {
  display: table-cell;
  padding: 5px 25px;
  font-size: 1rem;
  border: 1px solid #45484c;
  border-left: 0;
  border-top: 0;
  text-align: left;
}

#fanuc-table.universal-table td::before {
  content: '';
}

#fanuc-table.universal-table tr th {
  display: table-cell;
}

#fanuc-table.universal-table tr td:last-child {
  border-bottom: 1px solid #45484c;
}

.universal-table tr:first-child td,
.universal-table tr:first-child th,
.db-results-table tr:first-child td,
.db-results-table tr:first-child th {
  border-top: 0;
}

.universal-table tr td:first-child,
.universal-table tr th:first-child,
.db-results-table tr td:first-child,
.db-results-table tr th:first-child {
  border-left: 0;
}

.universal-table tr td:last-child,
.universal-table tr th:last-child,
.db-results-table tr td:last-child,
.db-results-table tr th:last-child {
  border-right: 0;
  border-left: 0;
}

.full-table>.universal-table th,
.log-table>.universal-table th {
  padding: 20px 2px;
}

.universal-table tr th:nth-child(2),
.universal-table tr th:nth-child(3) {
  padding: 20px 50px;
}

.universal-table#cs-table-full tr th:nth-child(2),
.universal-table#cs-table-full tr th:nth-child(3),
.universal-table#cs-table tr th:nth-child(2),
.universal-table#cs-table tr th:nth-child(3) {
  padding: 5px;
}

#searchresults.light .universal-table tbody {
  color: #35363a;
}

#uni-fanuc ul {
  margin: 0;
  padding: 0 15px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#uni-fanuc li {
  list-style: decimal;
  text-align: left;
}

#uni-fanuc li::marker {
  color: orange;
  font-weight: bold;
}

#uni-fanuc .eFault {
  padding: 10px;
  font-size: large;
  background: red;
  border-radius: 15px;
  color: white;
  text-shadow: 0px 0px 3px rgb(0 0 0 /40%);
}

#uni-fanuc h2.eCause,
#uni-fanuc h2.eSolution {
  color: orange;
  text-decoration: underline;
  text-underline-offset: 5px;
}

#uni-fanuc h2.eSolution {
  color: #73d393;
}

tbody#uni-fanuc tr td:first-of-type,
#fanuc-table.universal-table tr th:first-of-type {
  display: none;
}

.sidenav {
  top: 0;
  height: 100%;
  width: 310px;
  position: fixed;
  background: var(--bgColor);
  z-index: 105;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  box-shadow: 1px 0 5px 1px rgba(0, 0, 0, 0.5);
  transform: translateX(-320px);
  transition: transform var(--speed) ease;
  -webkit-user-select: none;
  user-select: none;
}

.sidenav.light {
  background: #eeeeee;
}

.sidenav-head {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bgColor);
  height: calc(180px + var(--iOSPadding) / 2);
  width: 310px;
  border-bottom: 1px solid #45484c;
  z-index: 106;
  overflow: hidden;
}

.sidenav.navopen {
  animation: sidenav var(--speed) ease forwards;
}

.sidenav.navclose {
  animation: sidenavclose var(--speed) ease forwards;
}

.link {
  display: flex;
  background: 0 0;
  width: 100%;
  border: none;
  padding: 20px;
  font-weight: bold;
  color: #ecf0f3;
  cursor: pointer;
  align-items: center;
  text-align: left;
  overflow-wrap: break-word;
}

.link.light {
  color: #202124;
}

.link:hover {
  color: var(--color);
}

.content-menu .link {
  color: var(--buttonColor);
}

.content-menu .link:hover {
  text-decoration: underline;
}

#training-docs li,
#drawings-list li {
  list-style: disc;
  text-align: left;
  padding: 20px;
  overflow-wrap: break-word;
  color: var(--buttonColor);
}

.avatar {
  padding: 5px;
  background: var(--color);
  border: 2px solid #000;
  border-radius: 50%;
  margin: 0 auto;
  max-width: 300px;
  max-height: 120px;
  height: 120px;
  width: 120px;
  top: 35px;
  right: 10px;
  overflow: auto;
  position: absolute;
  z-index: 110;
}

#avatar.wallpaper {
  max-height: unset;
  max-width: unset;
  width: 100%;
  height: 100%;
  padding: 0px;
  border-radius: 0px;
  border: none;
  left: 0px;
  right: unset;
  top: 0px;
  z-index: -1;
  object-fit: cover;
  filter: opacity(0.6);
}

.nav-separator {
  border-bottom: 1px solid #45484c;
  margin-bottom: 15px;
}

.printButton {
  display: none;
  padding: 12px;
  mask-image: url(../images/navigation/print.svg);
  -webkit-mask-image: url(../images/navigation/print.svg);
  position: absolute;
  background: var(--fgColor);
  right: 70px;
  top: 50px;
}

.navicon {
  background: var(--buttonColor);
  padding: 10px;
  position: relative;
  left: 6px;
  margin-right: 35px;
}

.navicon-more {
  width: 20px;
  height: 20px;
  margin-left: 8px;
  margin-right: 18px;
  background: var(--buttonColor);
  position: relative;
}

.navicon-link {
  background: var(--buttonColor);
  padding: 10px;
  position: absolute;
  right: 13px;
}

.navicon-menu {
  background: var(--buttonColor);
  position: absolute;
  right: 10px;
  padding: 13px;
  margin-top: -2px;
  transform: rotate(0);
  transition: transform var(--speed) ease;
}

.navicon-menu.switch {
  transform: rotate(180deg);
}

.navicon-quick {
  background: var(--fontcolor);
  padding: 13px;
}

.navicon-grid {
  display: flex;
  position: absolute;
  background: var(--fontcolor);
  padding: 18px;
  cursor: pointer;
  transform: rotate(180deg);
  mask-image: url(../images/navigation/arrow-right.svg);
  -webkit-mask-image: url(../images/navigation/arrow-right.svg);
}

.navicon-logo {
  background: var(--buttonColor);
  position: relative;
  padding: 11px;
  left: 4px;
  margin-top: -4px;
  margin-right: 25px;
}

.navicon-display {
  padding: 12px;
  background: var(--buttonColor);
  position: relative;
  margin-right: 20px;
}

.navicon-settings {
  height: 20px;
  width: 20px;
  filter: invert(100%);
  vertical-align: middle;
  position: relative;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#ip-modal {
  display: none;
  position: fixed;
  background: var(--bgColor);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 500;
}

#ip-modal div table {
  table-layout: fixed;
  padding-bottom: calc(0 + var(--navbar-padding));
}

#ip-modal div table th {
  padding: 20px 5px;
}

.modal-form-content {
  background: var(--fgColor);
  padding: 15px;
  font-size: 1rem;
}

.modal-form-content.light {
  background: #fff;
}

.modal-form-content h1 {
  text-align: center;
  font-size: 1.25rem;
  width: 100%;
}

.modal-form-content form {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  text-align: left;
}

.modal-form-content#sortCS h1 {
  margin: 10px 0;
}

.modal-form-content#sortCS hr {
  margin-top: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #aaa;
}

#resInfo p {
  margin: 0;
}

.modal {
  z-index: 301;
}

.modal.fade-in {
  animation: fade-in var(--speed) ease forwards;
}

.modal.fade-out {
  animation: fade-out var(--speed) ease forwards;
}

#guide-modal {
  height: 100%;
  overflow-y: auto;
  padding-top: 0;
  background: var(--bgColor);
  z-index: 303;
  transition: all var(--speed) linear;
}

.modal-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: center;
  background: var(--bgColor);
  margin: 0 auto;
  width: 100%;
  height: 100%;
  font-size: 2vw;
  z-index: 10;
}

.modal-log {
  text-align: center;
  background: var(--bgColor);
  margin: 0 auto;
  width: 100%;
  height: 100%;
  font-size: 2vw;
  z-index: 10;
  overflow: hidden;
  overscroll-behavior: none;
}

.modal-log.light {
  background: #fff;
}

#select-bg-modal {
  display: none;
}

.user-icon-content {
  color: #b3b8cd;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  position: relative;
  background: var(--fgColor);
  width: 100%;
  height: fit-content;
  border: none;
  overflow-y: auto;
  box-shadow: 0px 0px 15px 1px rgb(0 0 0 / 15%);
}

.user-icon-content.light {
  background: #fff;
  color: #202124;
}

#maintenance-grid,
#ip-grid {
  display: flex;
  position: relative;
  top: var(--iOSPadding);
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  height: auto;
  width: 100%;
  padding: 0;
  justify-content: space-between;
  background: var(--fgColor);
  border-radius: 20px;
  overflow: hidden;
}

.maintenance-reset-button {
  float: left;
  position: relative;
  width: 13%;
  height: 40px;
  border: 1px solid #2c2c32;
  color: #35363a;
  background-image: url('../images/navigation/default/back-white.png');
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: center;
  background: #2c2c32;
  border-radius: 20px;
  margin-left: 5px;
  cursor: pointer;
}

.level-1-sidi,
.level-1-hpp,
.level-1-etb,
.level-1-molding,
.level-1-inv,
.ip-selection {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 10px;
}

.level-2-sidi,
.level-2-hpp,
.level-2-etb,
.level-2-inv {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 5px;
}

.grid-button {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  width: auto;
  height: auto;
  min-width: 75px;
  max-width: 75px;
  min-height: 70px;
  cursor: pointer;
  color: var(--fontcolor);
  font-weight: bold;
  background: var(--color);
  border: none;
  border-radius: 18px;
  box-shadow: 1px 2px 3px rgb(0 0 0 / 10%);
}

.grid-button:hover {
  filter: brightness(1.2);
  color: #35363a;
}

.collapsible-maintenance {
  background: transparent;
  color: rgb(207, 209, 211);
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  border: none;
  border-radius: 0px;
  text-align: left;
  font-size: 16px;
  border-bottom: 1px solid var(--bgColor);
}

.collapsible-maintenance:last-of-type {
  border-bottom: none;
}

.content-maintenance {
  display: none;
  overflow: hidden;
  padding: 0px 0px 15px;
}

.collapse-button {
  width: 100%;
  height: 50px;
  background: transparent;
  border: none;
  color: #ecf0f3;
  font-size: 1rem;
}

.collapsible-maintenancence.light {
  background: #35363a !important;
}

#lineName,
#lineOP,
#line2,
#op2,
#sharedata,
#eventUser,
#logUser,
#problemUser {
  display: none;
}

#saveData {
  display: none;
  padding-top: 15px;
  gap: 5px;
  flex-direction: column;
}

.close-main {
  position: absolute;
  top: -10px;
  left: 0;
  height: 28px;
  width: 28px;
  cursor: pointer;
  filter: var(--icon);
  z-index: 104;
}

.close-guide {
  position: absolute;
  left: 25px;
  top: calc(25px + var(--iOSPadding));
  background: var(--fontcolor);
  height: 32px;
  width: 32px;
  cursor: pointer;
  z-index: 104;
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
}

.close-IP {
  position: absolute;
  background: var(--fontcolor);
  padding: 12px;
  top: calc(15px + var(--iOSPadding));
  right: 20px;
  cursor: pointer;
  z-index: 104;
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
}

.close-table {
  display: none;
  position: relative;
  background: var(--fontcolor);
  padding: 12px;
  top: 0;
  left: 0;
  cursor: pointer;
  z-index: 300;
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

.close-theme {
  position: relative;
  background: #999;
  padding: 12px;
  cursor: pointer;
  z-index: 104;
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
}

.dummySpan {
  opacity: 0;
  padding: 11px;
}

.close-pen {
  position: absolute;
  height: 28px;
  width: 28px;
  top: 18.5px;
  left: 20px;
  cursor: pointer;
  filter: var(--icon);
  z-index: 104;
}

.close-res {
  position: absolute;
  background: #999;
  padding: 14px;
  top: 20px;
  left: 20px;
  cursor: pointer;
  z-index: 104;
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
}

.close-search-button {
  display: flex;
  background: var(--searchWidget);
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: none;
}

.round-table .close-search-button {
  display: none;
  position: fixed;
  z-index: 3;
  right: 15px;
  top: calc(15px + var(--iOSPadding));
  background: var(--dark);
  border: none;
}

.close-search {
  position: relative;
  background: #aaa;
  top: 0px;
  padding: 11px;
  cursor: pointer;
  z-index: 104;
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
}

#voice .close-search {
  mask-image: url(../images/navigation/mic.svg);
  -webkit-mask-image: url(../images/navigation/mic.svg);
}

.eQuestion {
  background: #999;
  position: relative;
  padding: 16px;
  cursor: pointer;
  z-index: 104;
}

.select-list {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  color: var(--fontcolor);
  border: none;
  border-radius: 40px;
  background: var(--color);
  width: 45%;
  height: 45px;
  font-size: 16px;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
  background-image: var(--downArrow);
  background-repeat: no-repeat;
  background-position: 95% center;
  background-size: 20px 20px;
  font-family: inherit;
}

.select-list:focus {
  background: var(--color);
  color: #35363a;
}

#debug .select-list {
  background-image: unset;
  background-repeat: unset;
  background-position: unset;
}

#alertMsg {
  padding: 10px;
  position: relative;
}

#alertMsg div {
  display: flex;
  position: relative;
  width: 100%;
  justify-content: space-evenly;
}

.center {
  position: absolute;
  margin-top: 4px;
  right: 25px;
}

.toggle-switch {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 50px;
  height: 30px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--fgColor);
  border: 2px solid #45464a;
  border-radius: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: 0.4s;
  /* box-shadow: 1px 2px 3px rgb(0 0 0 /10%); */
}

.toggle-switch.midnight {
  background: #1b1b1b;
}

.toggle-switch.light {
  background: #ddd;
  border: 2px solid #777;
}

.toggle-switch:hover {
  background: var(--color);
}

.toggle-switch:checked {
  background: var(--dark);
  border: 2px solid var(--dark)
}

.toggle-switch::before {
  content: '';
  position: absolute;
  transform: translate(2px, 2px);
  width: 22px;
  height: 22px;
  background: #45464a;
  border-radius: 50%;
  transition: 0.4s;
}

.toggle-switch.light::before {
  background: #777;
}

.toggle-switch:checked::before {
  transform: translate(22px, 2px);
  background: var(--color);
}

.toggle-switch.light:checked::before {
  background: #fff;
}

.olevels {
  text-align: center !important;
}

.slide-label {
  display: block;
  position: relative;
  top: 15px;
  padding-bottom: 20px;
}

input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: none;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
}

input[type='range']::-ms-track {
  width: 100%;
  cursor: pointer;
  background: none;
  border-color: transparent;
  color: transparent;
}

input[type='range']::-moz-range-track {
  background: none;
  border-color: transparent;
  color: transparent;
}

.slidecontainer {
  padding-top: 15px;
  width: 100%;
  margin-top: 15px;
  padding: 5px;
  flex-direction: column;
}

#speedslide,
#speedlevel,
#oSlide3,
#oSlide4 {
  display: block;
}

.slide {
  width: 100%;
  height: 32px;
  background: var(--fgColor);
  border-radius: 18px;
  /* box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.3); */
}

.slide.light {
  background: #fff;
}

.slide::-webkit-slider-thumb {
  width: 10px;
  height: 42px;
  border-radius: 30px;
  background: var(--color);
  cursor: pointer;
}

.slide::-moz-range-thumb {
  width: 10px;
  height: 42px;
  border: 1px solid var(--fgColor);
  border-radius: 30px;
  background: linear-gradient(0deg, #3c4043, #404049);
  cursor: pointer;
}

#penSize.slide::-webkit-slider-thumb,
#canvasBG.slide::-webkit-slider-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sliderThumb);
  cursor: pointer;
}

.wallpaperH4 {
  overflow: hidden;
  flex-direction: column;
  padding: 20px;
  position: relative;
  text-align: left;
}

#wallpaperOptions {
  display: flex;
  position: relative;
  height: 200px;
  width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-y: hidden;
  overflow-x: scroll;
  padding: 0;
  border-radius: 12px;
  z-index: 999;
  -webkit-overflow-scrolling: touch;
}

img.wallpaper-thumb {
  margin: 0 5px;
  border-radius: 12px;
  position: relative;
}

#missing {
  -webkit-appearance: none;
  appearance: none;
  color: #999;
  height: 40px;
  width: 100%;
  border-radius: 10px;
  border: none;
  padding: 10px;
  background: var(--bgColor);
  box-shadow: inset -2px -2px 5px rgba(255, 255, 255, 0.04),
    inset 2px 2px 5px rgba(0, 0, 0, 0.5);
  text-align: center;
  -webkit-user-select: text;
  user-select: text;
}

#Tab1,
#Tab2 {
  padding: calc(70px + var(--iOSPadding)) 0 0;
}

#Tab6 {
  padding: 0;
}

#codeblock {
  background: none;
}

#settingsPanel {
  width: 100%;
  height: 110%;
}

.tool-container {
  display: flex;
  column-gap: 20px;
  padding: 15px;
  background: var(--bgColor);
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
}

.tool-container.light {
  background: #fff;
  color: #35363a;
}

.tool-buttons {
  display: flex;
  justify-content: center;
  column-gap: 20px;
}

.clear-ohms {
  margin: 15px 0;
  width: 100%;
  max-width: 360px;
  height: 45px;
  color: #ecf0f3;
  background: #ae1100;
  border: none;
  cursor: pointer;
  border-radius: 15px;
  font-weight: bold;
  -webkit-appearance: none;
  appearance: none;
}

.ohms-law {
  margin: 15px 0;
  width: 100%;
  max-width: 360px;
  height: 45px;
  color: #ecf0f3;
  background: var(--fgColor);
  border: none;
  cursor: pointer;
  border-radius: 15px;
  font-weight: bold;
  -webkit-appearance: none;
  appearance: none;
}

.tool-input {
  color: #999;
  height: 40px;
  width: calc(50% - 10px);
  border-radius: 10px;
  border: 1px solid #999;
  margin: 15px 0;
  padding: 15px;
  background: var(--bgColor);
  -webkit-appearance: none;
  appearance: none;
}

.tool-input.light {
  border: 1px solid rgb(0 0 0 / 20%);
  background: #fff;
}

.tool-input:focus {
  border: 2px solid var(--color);
}

#pinnumber {
  background: transparent;
  text-align: center;
  font-size: 20px;
  cursor: text;
  width: 100%;
  padding: 0;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  -webkit-appearance: none;
  appearance: none;
}

.pinpad {
  color: #999;
  background: transparent;
  border: none;
  width: 33.3%;
  height: 50px;
  padding: 0;
}

.pinpad:hover {
  background: var(--color);
  color: var(--fontcolor);
  cursor: pointer;
}

#erase,
#enter {
  font-weight: bold;
  color: var(--color);
}

#erase:hover,
#enter:hover {
  color: var(--fontcolor);
}

.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

#calspan {
  display: none;
}

button::-moz-focus-inner {
  border: 0;
}

::selection {
  background: none !important;
}

::-moz-selection {
  background: red !important;
}

#content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resistor-shell {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 10px;
  background: 0;
  border-radius: 20px;
}

.resistor-shell:nth-of-type(2) {
  margin-top: 20px;
}

.resistor-table-shell {
  background: var(--evenRow);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #777;
}

#resistor-table-buttons {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 40px;
}

#resistor-table-buttons button {
  border: none;
  border-left: 1px solid #777;
  border-right: 1px solid #777;
  height: 40px;
  width: calc(100% / 3);
  background: var(--evenRow);
}

#resistor-table-buttons button:first-of-type,
#resistor-table-buttons button:last-of-type {
  border-left: none;
  border-right: none;
}

.resistor-table {
  position: relative;
  color: var(--buttonColor);
  width: 100%;
  border-radius: 10px;
  border-collapse: collapse;
  text-align: center;
  border-top: 1px solid #777;
}

.resistor-table tr td,
.resistor-table th {
  padding: 5px;
}

.resistor-table th {
  border-bottom: 1px solid #777;
}

.resistor-table tr td:first-child {
  border-right: 1px solid #777;
}

#resBody {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 155px;
  border-radius: 50px;
  box-shadow: none;
  border: 1px solid #777;
  overflow: hidden;
  background: -webkit-linear-gradient(top, #45484c, #2c2c32);
}

#resBody.light {
  background: -webkit-linear-gradient(top, #ddd, #aaa);
}

.resBand {
  display: block;
  height: 100%;
  width: 10%;
  border: none;
  /* border-left: 2px solid #777;
  border-right: 2px solid #777; */
  cursor: pointer;
  overflow: hidden;
  transition: background var(--speed) ease;
  background-image: url(../images/reference/empty_resistor.png);
  background-blend-mode: multiply;
}

#resBand0 {
  margin-left: 10px;
}

#resBand1 {
  margin-left: 30px;
}

#resBand2 {
  margin-left: 10px;
}

#resBand3 {
  margin-left: 10px;
}

#resBand4 {
  margin-left: 30px;
}

#resBand5 {
  margin-left: 20px;
}

#console {
  width: 100%;
}

#explanation {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  height: 50px;
  font-size: 15px;
  text-align: center;
}

#resBand0Val {
  width: 10%;
  margin-left: 10px;
  visibility: hidden;
}

#resBand1Val {
  width: 10%;
  margin-left: 30px;
}

#resBand2Val {
  width: 10%;
  margin-left: 10px;
}

#resBand3Val {
  width: 10%;
  margin-left: 10px;
}

#resBand4ValContainer {
  width: 10%;
  margin-left: 30px;
}

#resBand5ValContainer {
  width: 10%;
  margin-left: 20px;
  visibility: hidden;
}

#consoleForm {
  clear: both;
  font-size: 2em;
}

#consoleForm input {
  float: left;
  color: #999;
  height: 40px;
  width: 100%;
  border-radius: 30px;
  border: none;
  text-align: center;
  background: var(--fgColor);
  font-size: 20px;
  margin-bottom: 20px;
  -webkit-appearance: none;
  appearance: none;
}

#resSpan {
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  color: var(--color);
}

#resValue.error {
  background: #b71c1c;
}

.resBandUnit {
  font-size: 0.6em;
}

.preResult {
  float: left;
  width: 40px;
  text-align: center;
}

#tolMinMax {
  text-align: center;
  vertical-align: top;
  font-size: 0.65em;
}

#tolMinMax b {
  font-size: smaller;
  font-weight: bold;
}

.clrSelectorArea {
  position: fixed;
  display: flex;
  top: 15%;
  left: 12.5%;
  background: var(--oddRow);
  border-radius: 15px;
  width: 75%;
  max-height: 300px;
  padding: 10px 0;
  gap: 10px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  z-index: 2;
  box-shadow: 0px 0px 10px -2px rgb(0 0 0 / 75%);
}

.clrSelectorArea h2 {
  display: block !important;
  position: relative;
  width: 100%;
  margin: 0 0 10px 0;
}

.clrSelectorField {
  display: flex;
  border: 1px solid #2c2c32;
  border-collapse: collapse;
  font-size: 85%;
  width: 20%;
  border-radius: 50%;
  aspect-ratio: 1;
  box-shadow: 1px 1px 3px 1px rgb(0 0 0 / 30%);
  align-items: center;
  justify-content: center;
}

.clrSelectorField::before {
  content: attr(data-content);
}

.clrSelectorArea.light .clrSelectorField {
  box-shadow: none;
}

.clrSelectorField em {
  position: absolute;
  background: #2c2c32;
  display: flex;
  width: auto;
  padding: 0;
  width: inherit;
  aspect-ratio: 1;
  color: #b71c1c;
  font-size: 200%;
  font-weight: bold;
  font-style: normal;
  text-align: center;
  z-index: 3;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
}

.clrSelectorSelected {
  border: 2px solid red;
}

.clear {
  clear: both;
}

.eSeriesSelection {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  color: #999;
  background: none;
  border: none;
  text-align: center;
  cursor: pointer;
  border-radius: 10px;
}

#eSeriesMenu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  list-style-type: none;
  margin: auto;
  padding: 5px;
}

#eSeriesMenu li {
  display: flex;
  margin: 0;
  width: calc(var(--width) / 6);
  aspect-ratio: 1;
  margin: 0 4px;
  background: var(--fgColor);
  border-radius: 3px;
  cursor: pointer;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
}

#eSeriesMenu.light li {
  background: #2c2c32;
}

#eSeriesMenu li:hover {
  text-decoration: underline;
  cursor: pointer;
}

#eSeriesMenu li.active {
  background: var(--color);
  border: 1px solid var(--fontcolor);
  color: var(--fontcolor);
  text-decoration: underline;
  font-style: italic;
  transition: 0.3s ease;
}

#eSeriesInfo {
  display: none;
  position: relative;
  width: 90%;
  top: 40%;
  left: 5%;
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
  background: #b71c1c;
  color: #000;
  padding: 15px;
  border-radius: 15px;
  z-index: 1;
}

#eSeriesClosestValButton {
  color: #fff;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.4);
  font-weight: bold;
  text-decoration: underline;
  font-style: italic;
}

#eSeriesClosestValButton:hover {
  cursor: pointer;
}

.mincalendar {
  display: grid;
  align-content: center;
  justify-content: center;
  align-items: start;
  position: relative;
  margin: 10px;
  height: 250px;
  width: 100%;
  background: var(--fgColor);
  text-align: center;
  border: var(--border);
  border-radius: 20px;
  /* overflow: hidden; */
}

.mincalendar.light {
  background: #fff;
}

.mincalendar #monthName {
  position: relative;
  margin: 0;
  padding: 15px 10px;
  color: var(--color);
  font-size: 24px;
  font-weight: bold;
}

.mincalendar #dayName {
  margin: 0;
  height: 20%;
  font-size: 20px;
  font-weight: 300;
  color: #999;
  line-height: 50px;
}

.mincalendar.light #dayName {
  color: #35363a;
}

.mincalendar #dayNumber {
  margin: 0;
  height: 40%;
  font-size: 60px;
  font-weight: bold;
  color: var(--color);
  line-height: 90px;
}

.mincalendar #year {
  margin: 0;
  height: 20%;
  font-size: 100%;
  font-weight: 500;
  color: #999;
}

.mincalendar.light #year {
  color: #35363a;
}

#currentEvents {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 100px;
  height: 100px;
  bottom: calc(50% - 50px);
  border-radius: 0 15px 15px 0;
  padding: 10px;
  left: 0;
  color: var(--fontcolor);
  background: var(--color);
  justify-content: center;
  align-items: center;
  border: none;
  box-shadow: 1px 2px 3px rgb(0 0 0 /10%);
}

#currentEvents span {
  display: flex;
  background: var(--complimentary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--compFontColor);
  justify-content: center;
  align-items: center;
}

#lojack {
  margin-top: 15px;
}

.cancelbtn {
  width: 100%;
}

#dummy-btn2 {
  visibility: hidden;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 305;
  opacity: 0;
  position: fixed;
  cursor: pointer;
}

#local-user {
  font-size: 150%;
  position: absolute;
  color: var(--buttonColor);
  bottom: 20px;
  padding-left: 24px;
  text-align: left;
  width: 100%;
}

#menu-weather {
  display: block;
  position: absolute;
  color: var(--buttonColor);
  font-size: 150%;
  margin: 0;
  font-style: inherit;
  left: 24px;
  bottom: 50px;
  padding: 0;
  text-align: end;
  z-index: 100;
}

#menu-weather sup {
  font-size: 0.5em;
  color: var(--complimentary);
}

#weather-desc {
  position: relative;
  display: inline-flex;
  font-size: 50%;
  color: var(--buttonColor);
  margin-left: 10px;
  top: -10px;
  width: 40px;
  text-align: left;
}

#weather-widget {
  display: flex;
  position: relative;
  margin: 10px;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  perspective: 2000px;
}

.highLow {
  display: flex;
  position: absolute;
  justify-content: space-evenly;
  flex-direction: column;
  height: 84px;
  width: 84px;
  bottom: 10px;
  left: 10px;
  border-right: 1px solid #35363a;
  background: none;
}

.highLow#fl {
  left: unset;
  right: 10px;
  border-right: unset;
  border-left: 1px solid #35363a;
}

.weather-desc {
  text-transform: capitalize;
}

.weather-desc.light {
  color: #35363a;
}

.ww .city-temp {
  display: flex;
  font-size: 5rem;
  font-weight: 700;
  margin-top: 10px;
  color: var(--color);
  text-align: center;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
}

.highLow small {
  font-size: 0.75rem;
  color: #999;
}

.minMax {
  font-size: 1rem;
  color: #fff;
}

.ww.light .highLow .minMax {
  color: #35363a;
}

.minMax p {
  color: #999;
  margin: 0;
  font-size: 60%;
  padding-bottom: 0;
  text-decoration: underline 2px #fff;
}

.minMax sup {
  font-size: 0.5em;
  color: var(--complimentary);
}

.ww sup {
  font-size: 0.5em;
  color: var(--complimentary);
}

.details {
  display: none;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: center;
  max-height: 85%;
  width: 95%;
  max-width: 600px;
  background: var(--bgColor);
  color: var(--fontcolor);
  font-size: 1.25rem;
  opacity: 0.9;
  padding: 0;
  overflow: auto;
  border-radius: 20px;
  box-shadow: 2px 2px 12px 1px rgb(0 0 0 / 25%);
}

.details.light {
  background: linear-gradient(#ffffff, #ecf0f3);
}

.details.midnight {
  background: linear-gradient(var(--fgColor), var(--darkerBGColor));
}

.details h2 {
  width: 100%;
  position: sticky;
  background: transparent;
  display: flex;
  margin: -1px 0;
  padding: 15px;
  top: 0;
  justify-content: space-between;
  align-items: center;
  color: var(--fontcolor);
  font-size: 2rem;
  z-index: 100;
}

.details.light h2 {
  background: #ffffff;
}

.details ul {
  position: relative;
  overflow: scroll;
  width: 100%;
  margin-top: 0;
}

.details li {
  color: var(--fontcolor);
  margin-top: 10px;
  padding: 5px 0;
}

.details li sup {
  vertical-align: top;
  font-size: 0.85rem;
  margin-left: 2px;
}

.details li sub {
  vertical-align: baseline;
  font-size: 0.85rem;
  margin-left: 2px;
}

.details hr {
  border: none;
  border-bottom: 1px solid #4a4b4e;
  width: 100%;
  margin-bottom: 20px;
}

.details img {
  width: 32px;
  filter: var(--icon);
}

#weather-detail {
  display: none;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  max-height: 80%;
  width: 95%;
  max-width: 600px;
  color: var(--buttonColor);
  font-size: 1.25rem;
  opacity: 0.9;
  padding: 0 10px;
  overflow: auto;
  border-radius: 20px;
  box-shadow: 2px 2px 12px 1px rgb(0 0 0 / 25%);
  background: var(--dialog-info);
  text-align: left;
  z-index: -1;
}

#weather-detail hr {
  border: none;
  border-bottom: 1px solid #4a4b4e;
  width: 80%;
  margin-bottom: 5px;
  margin-top: 10px;
}

#weather-detail h2 {
  background: var(--dialog-info);
  color: var(--buttonColor);
  box-shadow: none !important;
  height: 60px;
}

#weather-detail h2 span {
  position: absolute;
  width: 70%;
  left: 15%;
}

#weather-detail button {
  position: absolute;
  display: flex;
  width: 44px;
  height: 44px;
  right: 0;
  border-radius: 50%;
  background: rgb(0 0 0 / 5%);
  border: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

#weather-detail button span {
  background: var(--buttonColor);
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
  position: relative;
  width: 20px;
  height: 20px;
  left: unset;
  justify-content: center;
}

#weather-detail div {
  background: var(--color);
  color: var(--fontColor);
  border-radius: 31px;
  padding: 0px 8px;
}

.ww .city-name sup {
  padding: 0.2em 0.6em;
  border-radius: 30px;
  color: var(--compFontColor);
  background: var(--complimentary);
}

.ww.light .city-name {
  color: #35363a;
}

.ww .city-icon {
  width: 100px;
  height: 100px;
  filter: invert(70%);
}

.ww.light .city-icon {
  filter: invert(15%);
}

#fanucform li {
  list-style: none;
  white-space: break-spaces;
}

#fanucform li strong {
  color: #b71c1c;
  font-size: 1.5rem;
}

#fanucform li b {
  color: yellowgreen;
}

#fanucform li b:first-of-type {
  color: orange;
}

#refresh-weather {
  display: none;
  position: absolute;
  background: #999;
  padding: 12px;
  top: 15px;
  left: 15px;
  cursor: pointer;
  mask-image: url(../images/navigation/reload.svg);
  -webkit-mask-image: url(../images/navigation/reload.svg);
}

#loadingweather {
  mask-image: url(../images/navigation/weather.svg);
  -webkit-mask-image: url(../images/navigation/weather.svg);
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--complimentary);
  /* background: linear-gradient(214deg, orange, orange, orange, orange, orange, #c79f57, #999999, #999, #999, #999, #999, #999); */
  margin-top: -40px;
  align-self: center;
}

#loadWB {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: -100px;
  height: 40px;
  width: 120px;
  padding: 5px;
  background: var(--color);
  color: var(--fontcolor);
  font-size: 80%;
  border-radius: 8px;
  box-shadow: 1px 2px 5px rgb(0 0 0 / 20%);
}

.weather-intervals {
  display: flex;
  font-size: small;
  flex-direction: row;
  margin: 15px 0px;
  justify-content: space-between;
}

.forecast {
  display: none;
  position: absolute;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: space-around;
  gap: 20px 20px;
  overflow-y: auto;
  width: 100%;
  height: 100%;
  z-index: 479;
  background: var(--fgColor);
  transition: all var(--speed) ease;
}

.forecast-day {
  display: flex;
  position: relative;
  top: -35px;
  margin: 0px 5px;
  cursor: pointer;
  border: none;
  height: 64px;
  width: 64px;
  text-align: center;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 10px;
}

.forecast-day p {
  font-size: 90%;
}

.flip-card-inner {
  background: var(--fgColor);
  position: relative;
  border-radius: 20px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  text-align: center;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
  z-index: 5;
  border: 0;
}

.flip-card-inner.light {
  background: #fff;
  color: #202124;
}

.flip-card-front,
.flip-card-back {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  border: var(--border);
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 5;
}

.flip-card-back {
  color: #fff;
  background: var(--fgColor);
  transform: rotateY(180deg);
  display: flex;
  align-content: stretch;
  justify-content: center;
  gap: 5px 15px;
  flex-wrap: wrap;
  flex-direction: row;
  z-index: 5;
}

.flip-card-back.light {
  color: #202124;
  background: #fff;
}

.flip-card-back .city-icon {
  width: 32px;
  height: 32px;
  filter: invert(70%);
}

.city-icon.light {
  filter: invert(10%);
}

#forecast-button {
  display: none;
  position: absolute;
  background: #999;
  top: 2px;
  right: 2px;
  padding: 24px;
  cursor: pointer;
  mask-image: url(../images/navigation/arrow-right.svg);
  -webkit-mask-image: url(../images/navigation/arrow-right.svg);
}

#weatherAlert {
  display: none;
  position: absolute;
  background: red;
  right: 15px;
  padding: 13px;
  top: 165px;
  mask-image: url(../images/navigation/iai.svg);
  -webkit-mask-image: url(../images/navigation/iai.svg);
  cursor: pointer;
}

#weather-button {
  display: flex;
  position: absolute;
  background: #999;
  top: 2px;
  left: 2px;
  padding: 24px;
  cursor: pointer;
  transform: rotate(180deg);
  mask-image: url(../images/navigation/arrow-right.svg);
  -webkit-mask-image: url(../images/navigation/arrow-right.svg);
}

.back-button {
  display: flex;
  position: absolute;
  background: #999;
  top: 17px;
  left: 12px;
  padding: 24px;
  cursor: pointer;
  transform: rotate(180deg);
  mask-image: url(../images/navigation/arrow-right.svg);
  -webkit-mask-image: url(../images/navigation/arrow-right.svg);
}

#forecasting h2 {
  text-align: center;
  font-weight: 700;
  color: var(--color);
  width: 100%;
  top: -25px;
  margin: 0px;
  position: relative;
}

#forecasting h2 hr {
  margin-top: 20px;
  margin-bottom: 0px;
  border: none;
  border-bottom: 1px solid rgb(100 100 100 / 50%);
}

.close-weather {
  width: 28px;
  height: 28px;
  background: var(--fontcolor);
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
}

.severe-weather {
  color: var(--buttonColor);
  padding: 10px;
  font-size: 1rem;
  white-space: pre-line;
  font-family: inherit;
}

.severe-weather h3 {
  color: var(--color);
  font-size: 2rem;
}

.severe-weather b {
  color: var(--color);
  font-size: 1.25rem;
}

.start-end {
  background: var(--color);
  padding: 10px;
  border-radius: 15px;
  width: 90%;
  margin: 30px auto 0 auto;
}

.details#weather-detail ul {
  list-style-type: none;
  padding-inline-start: 0;
}

.details#weather-detail li {
  color: var(--buttonColor);
  display: flex;
  width: 100%;
  left: 0;
  border-bottom: 2px solid #888;
  padding: 10px;
  margin: 6px 0;
  justify-content: space-between;
}

.details#weather-detail li:last-of-type {
  border-bottom: none;
}

.details#weather-detail .start-end li {
  padding: 5px 0;
  font-size: 80%;
  background: none;
  color: var(--fontcolor) !important;
  list-style-position: inside;
}

svg {
  position: absolute;
  width: 150px;
  height: 150px;
  animation: rotate-animate 2s linear infinite;
  top: calc(100% / 2 - 75px);
  left: calc(100% / 2 - 75px);
}

svg circle {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 8;
  stroke: var(--color);
  transform: translate(5px, 5px);
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  stroke-linecap: round;
  animation: animate-circle 4s linear infinite;
}

#check-update {
  display: flex;
  position: relative;
  z-index: 100;
  margin-top: calc(100% - 120px);
  justify-content: center;
}

#update-msg {
  display: flex;
  position: relative;
  top: 0;
  left: 0;
  padding: 0px 5px;
  font-size: 40px;
  flex-direction: column;
  flex-wrap: wrap;
}

#newChanges {
  display: none;
  position: relative;
  background: var(--colorTrans);
  list-style-position: inside;
  padding: 30px 25px;
  flex-direction: column;
  border-radius: 15px;
  height: calc(var(--height) / 2);
  overflow: scroll;
}

.card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 2px;
  column-gap: 10px;
  margin-top: 30px;
}

.card-container form {
  display: contents;
  margin: 0;
  padding: 0;
}

.card-container .user-column {
  display: flex;
  width: calc(50% - 5px);
  padding: 10px;
  border-radius: 20px;
  align-content: center;
  align-items: center;
  height: 140px;
  background: #2c2c32;
  flex-direction: column;
}

.card-container .user-column span {
  font-weight: bolder;
}

.card-container .user-row {
  display: flex;
  width: 100%;
  background: #2c2c32;
  padding: 17px 15px;
  border-radius: 6px;
  justify-content: space-between;
  font-size: large;
}

.user-row strong {
  font-weight: bolder;
}

.user-column input,
.user-row input {
  color: var(--buttonColor);
  appearance: none;
  border: none;
  font-size: large;
  text-align: right;
  background: none;
  transition: all var(--speed) ease;
}

.user-column.editing input,
.user-row.editing input,
.primary.editing {
  border: 2px solid var(--colorTrans);
  background: var(--colorTrans);
  border-radius: 12px;
  padding: 6px 10px;
  transition: all var(--speed) ease;
}

.card-container.light .user-column,
.card-container.light .user-row {
  background: #fff;
}

.card-container.midnight .user-column,
.card-container.midnight .user-row {
  background: #111112;
}

.user-row:last-of-type {
  border-radius: 4px 4px 20px 20px;
    margin-bottom: 30px;
}

.user-row:first-of-type {
  border-radius: 20px 20px 6px 6px;
  margin-top: 10px;

}

#user-name {
  margin: 10px 0;
  color: var(--color);
  width: 100%;
  height: 100%;
  font-size: 1.75em;
  text-align: center;
  font-weight: bolder;
}

.card-container .round {
  border-radius: 50%;
  position: relative;
  width: 96px;
  height: 96px;
}

.primary-container {
  display: flex;
  position: absolute;
  right: 15px;
  top: calc(var(--iOSPadding) + 90px);
  column-gap: 8px;
  margin: 0;
  width: calc(50% - 20px);
}

.primary {
  display: flex;
  position: relative;
  background: #2c2c32;
  column-gap: 10px;
  border-radius: 20px;
  border: 0;
  color: var(--buttonColor);
  width: calc(50% - 5px);
  padding: 0 10px;
  height: 50px;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
  transition: all var(--speed) ease;
}

.primary.editing,
.primary.light.editing,
.primary.midnight.editing {
  background: var(--colorTrans);
  border: 2px solid var(--colorTrans);
}

.primary.midnight {
  background: #111112;
}

.primary.light {
  background: #fff;
}

/* .primary:nth-of-type(1) {
  border-radius: 20px 4px 4px 20px;
}

.primary:nth-of-type(2) {
  border-radius: 4px 20px 20px 4px;
} */

.primary span {
  display: block;
  mask-image: url(../images/navigation/pencil.svg);
  background: var(--buttonColor);
  padding: 10px;
  transition: all var(--speed) ease;
}

.primary.editing span {
  background: var(--color);
  transition: all var(--speed) ease;
}

.primary:nth-of-type(2) span {
  mask-image: url(../images/navigation/power.svg);
}

.skills {
  bottom: 0;
  left: 0;
  background-color: #2c2c32;
  text-align: left;
  padding: 15px;
  margin-top: 20px;
  width: 100%;
  border-radius: 20px;
}

.skills.light {
  background: #fff;
}

.skills.midnight {
  background: #111112;
}

.skills div {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: baseline;
  align-content: center;
  margin: 0 0 10px 0;
}

#addSkill {
  background: #999;
  width: 20px;
  height: 20px;
  padding: 10px;
  mask-image: url(../images/navigation/pencil.svg);
  -webkit-mask-image: url(../images/navigation/pencil.svg);
}

#chip-input {
  display: none;
  width: 1%;
  transition: width var(--speed) ease;
  background: var(--fgColor);
  color: #999;
  font-size: 16px;
  height: 42px;
  border: none;
  border-radius: 30px;
  text-align: center;
  background-image: url('../images/navigation/default/write-light.png');
  background-repeat: no-repeat;
  background-position: 20px center;
  background-size: 20px 20px;
}

#chip-input.light {
  background: #ffffff;
  color: #2c2c32;
  background-image: url('../images/navigation/default/write-light.png');
  background-repeat: no-repeat;
  background-position: 20px center;
  background-size: 20px 20px;
}

#chip-input:focus {
  border: 1px solid var(--color);
  background-image: none;
  transition: 0.1s ease;
}

.skills ul {
  list-style-type: none;
  margin: 0;
  padding: 5px 0 0 0;
}

.skills ul li {
  border: 1px solid var(--colorTrans);
  border-radius: 3px;
  display: inline-block;
  font-size: 12px;
  margin: 0 7px 7px 0;
  padding: 7px;
  background: var(--colorTrans);
}

.close-chip {
  display: block;
  position: relative;
  background: none;
  border: none;
  font-size: 2vw;
  width: 100%;
  left: 0;
  color: #c93131;
}

.skills h6 {
  margin: 10px 0;
  text-transform: uppercase;
  background: none;
}

#icon-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}

@keyframes animate-circle {

  0%,
  100% {
    stroke-dashoffset: 440;
  }

  50% {
    stroke-dashoffset: 0;
  }

  50.1% {
    stroke-dashoffset: 880;
  }
}

@keyframes rotate-animate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.calendar-contain {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  color: #040605;
  background: var(--bgColor);
  opacity: 1;
  filter: blur(0px);
  transition: opacity 0.3s ease;
  transform: translateZ(0px);
  will-change: opacity;
}

#calendar_div.light .calendar-contain {
  background: #eeeeee;
}

.cal-nav {
  width: 100%;
  display: flex;
  color: var(--fontcolor);
  position: absolute;
  top: calc(100% / 2 + 10px);
  height: 80px;
  padding: 0px;
  margin: 0;
  gap: 4px;
  font-size: 2.5rem;
  justify-content: center;
  align-items: center;
  align-content: flex-start;
  z-index: 1;
}

.addEvent {
  position: absolute;
  bottom: 15px !important;
  right: 15px;
  width: 52px;
  height: 52px;
}

.addEvent span {
  background: var(--fontcolor);
  cursor: pointer;
  width: 20px;
  height: 20px;
  overflow: visible;
  position: relative;
  mask-image: url(../images/navigation/add-event.svg);
  -webkit-mask-image: url(../images/navigation/add-event.svg);
}

#eventDate {
  color: #ecf0f3;
  border-radius: 15px;
  text-align: center;
  padding: 7px;
  border: 1px solid var(--evenRow);
}

#eventDate.light {
  color: #202124;
}

#addEventForm {
  background: var(--fgColor);
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 350px;
  gap: 25px;
  padding: 20px;
  border: none;
  z-index: 2;
  position: relative;
}

#addEventForm.light {
  background: #fff;
}

.maintenance-modal-text.light {
  background: #ecf0f3;
  box-shadow: none;
}

.title-bar {
  position: relative;
  top: calc(0px + var(--iOSPadding));
  width: 100%;
  display: flex;
  text-align: right;
  padding: 1.2rem;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  z-index: 2;
}

.title-bar:after {
  display: table;
  clear: both;
}

.title-bar__prev,
.title-bar__next {
  display: flex;
  cursor: pointer;
  left: 0px;
  position: relative;
  height: 40px;
  width: 80px;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  rotate: 180deg;
  background: var(--colorTrans);
  border: 1px solid var(--colorTrans);
}

.title-bar__next {
  rotate: unset;
}

.title-bar__prev span,
.title-bar__next span {
  background: var(--color);
  width: 32px;
  height: 32px;
  mask-image: url(../images/navigation/arrow-right.svg);
  -webkit-mask-image: url(../images/navigation/arrow-right.svg);
}

#calendar_div select {
  padding: 6px 8px;
  font-size: 16px;
  border-radius: 22px;
  background: var(--colorTrans);
  color: var(--buttonColor);
  border: 1px solid var(--colorTrans);
}

.title-bar__month {
  padding: 0 0.5rem 0 0;
}

.calendar__sidebar {
  display: flex;
  position: absolute;
  background: var(--fgColor);
  bottom: 0;
  width: 100%;
  height: calc(100% / 2 - 90px);
  margin: 0 auto;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  border: none;
  border-top: var(--border);
  border-radius: 35px 35px 0 0;
  flex-wrap: nowrap;
  transition: height var(--speed) linear, border-radius var(--speed) linear;
  z-index: 2;
}

.calendar__sidebar p {
  display: block;
  position: relative;
  font-size: 1.5rem;
  color: var(--buttonColor);
  text-align: center;
  width: 100%;
  height: 40px;
  top: calc(50% - 20px);
  margin: 0;
  opacity: 0.6;
}

.calendar__sidebar.expanded {
  height: calc(100% - 90px);
  border-top: none;
  border: none;
}

.calendar__sidebar.expanded .sidebar__list {
  margin-top: 30px;
}

.calendar__sidebar.expanded .event-pill {
  top: 30px;
  transform: rotate(0deg);
}

#calendar_div.light .calendar__sidebar {
  background: #fff;
  /* border: 1px solid #ddd;
  box-shadow: 0 0 12px rgb(0 0 0 / 10%); */
}

.calendar__sidebar .content {
  padding: 2rem 1.5rem 2rem 4rem;
  color: var(--color);
}

.sidebar__list {
  position: relative;
  height: 100%;
  list-style: none;
  top: 0;
  margin: 0;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: auto;
}

.sidebar__list-item {
  margin: 1.2rem 0;
  padding: 10px;
  color: var(--buttonColor);
  font-weight: 100;
  font-size: 1rem;
  line-height: 2;
  border-radius: 15px;
  background: var(--bgColor);
  border: var(--border);
}

.list-user {
  display: inline-flex;
  position: relative;
  font-size: 1.25ch;
  background: var(--color);
  border: 1px solid var(--fontcolor);
  text-transform: capitalize;
  color: var(--fontcolor);
  border-radius: 35px;
  padding: 4px 8px;
  width: auto;
  height: 32px;
  margin-right: 10px;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
}

.sidebar__list-item--complete {
  list-style: none;
  color: var(--color);
  font-weight: bold;
  text-decoration: underline;
  text-shadow: 0px 0px 0px rgb(0 0 0 / 20%);
  font-size: 1.25rem;
}

.sidebar__list-item--complete .list-item__time {
  color: rgba(4, 6, 5, 0.3);
}

.calendar__heading-highlight {
  color: var(--fontcolor);
  font-weight: 900;
}

.calendar__days {
  display: flex;
  position: absolute;
  top: calc(50px + var(--iOSPadding));
  width: 100%;
  height: auto;
  background: var(--bgColor);
  flex-wrap: nowrap;
  text-align: center;
  align-items: stretch;
  flex-direction: column;
  border: none;
}

#calendar_div.light .calendar__days {
  background: #eeeeee;
}

.activated {
  background: var(--colorTrans) !important;
  border-radius: 12px !important;
  color: var(--fontcolor) !important;
}

#event-form,
#filter-form {
  position: fixed;
  display: none;
  width: 100%;
  padding: 0;
  height: 100%;
  flex-direction: column;
  z-index: 3;
  justify-content: center;
  align-content: center;
  align-items: center;
  transform: translate3d(0, 0, 0);
}

#addEventForm label {
  position: relative;
  display: inline-block;
  color: #999;
  font-size: 18.5px;
  font-weight: bold;
}

.calendar__top-bar {
  display: -webkit-box;
  display: flex;
  padding: 10px 0;
}

.top-bar__days {
  width: 100%;
  padding: 15px 5px 10px;
  color: var(--color);
  font-size: 1rem;
  opacity: 0.8;
  text-shadow: 0px 0px 0px var(--compFontColor);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.calendar__week {
  display: -webkit-box;
  display: flex;
  -webkit-box-flex: 1;
  flex: 1 1 0;
}

.calendar__day {
  display: flex;
  width: 100%;
  height: 12vw;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
}

.calendar__day.today:before {
  display: flex;
  content: attr(data-cell);
  position: absolute;
  font-weight: bold;
  font-size: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--fontcolor);
  background: var(--color);
  justify-content: center;
  align-items: center;
  box-shadow: 1px 2px 3px rgb(0 0 0 /10%);
  /* border: 1px solid var(--fontcolor); */
}

.calendar__day.event .calendar__task {
  display: inline-flex;
  position: relative;
  border: none;
  border-radius: 10px;
  background: var(--complimentary);
  width: 8px;
  height: 8px;
  top: 15px;
  align-self: center;
}

.calendar__date {
  color: #e2e2e2;
  font-size: 1rem;
  font-weight: 500;
  line-height: 0.7;
  position: absolute;
}

.event-pill {
  top: 5px;
  align-self: center;
  padding: 22px;
  margin: 0;
  position: relative;
  background: var(--buttonColor);
  mask-image: url(../images/navigation/arrow-down.svg);
  -webkit-mask-image: url(../images/navigation/arrow-down.svg);
  transform: rotate(180deg);
  transition: transform 0.3s ease;
  z-index: 2;
}

#calendar_div.light .calendar__date {
  color: var(--buttonColor);
}

.calendar__week .inactive .calendar__date,
.calendar__week .inactive .task-count {
  color: #777;
}

#calendar_div.light .calendar__week .inactive .calendar__date,
#calendar_div.light .calendar__week .inactive .task-count {
  opacity: 0.3;
}

.calendar__task {
  color: #35363a;
  display: -webkit-box;
  display: flex;
  font-size: 0.8rem;
}

#calendar_div.light li {
  background: #ecf0f3;
}

#eLog {
  color: #ecf0f3;
  border-radius: 30px;
  background: var(--fgColor);
  height: 300px;
  width: 100%;
  padding: 20px;
  overflow: auto;
  word-break: break-word;
  margin-top: 30px;
}

#eLog>li {
  list-style-position: inside;
}

#consoleErr {
  color: #ff0000;
}

#consoleScript {
  color: #9b6eff;
}

#consoleLine {
  color: #85ff0a;
}

#refreshErrLog {
  background: #ecf0f3;
  position: absolute;
  padding: 12px;
  width: 20px;
  height: 20px;
  right: 10px;
  top: 15px;
  mask-image: url(../images/navigation/reload.svg);
  -webkit-mask-image: url(../images/navigation/reload.svg);
}

#refreshErrLog.light {
  background: #202124;
}

#eTime {
  text-shadow: 1px 1px 2px rgb(0 0 0 / 10%);
}

@font-face {
  font-family: 'Google';
  src: url(../fonts/Product.woff);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Comic';
  src: url(../fonts/Comicsans.woff);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url(../fonts/DMSans.woff);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gochi';
  src: url(../fonts/Gochi.woff);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Krub';
  src: url(../fonts/Krub.woff);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url(../fonts/Poppins.woff);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  font-kerning: normal;
}

@font-face {
  font-family: 'Ubuntu';
  src: url(../fonts/Ubuntu.woff);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arcade';
  src: url(../fonts/Arcade.ttf);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url(../fonts/Lato.ttf);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@keyframes unicorn {

  0%,
  100% {
    filter: hue-rotate(0deg);
  }

  50% {
    filter: hue-rotate(360deg);
  }
}

/* ---ANIMATIONS---*/

.loader {
  border: 16px solid rgba(54, 54, 60, 0.2);
  border-radius: 50%;
  background: var(--fgColor);
  border-top: 16px solid var(--color);
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  box-shadow: 0 0 15px 5px var(--color);
}

.zoom-in {
  transform-origin: bottom center;
  animation: animatezoom var(--speed) ease forwards;
}

.shrink {
  transform-origin: bottom center;
  animation: shrink var(--speed) ease forwards;
}

.bubble-in {
  animation: bubblezoom 0.3s ease forwards;
}

.in-out {
  animation: in-out var(--speed) ease forwards;
}

.out-left {
  animation: outleft var(--speed) ease-in-out forwards;
}

.zoom-in-left {
  transform-origin: top left;
  animation: animatezoom var(--speed) ease forwards;
}

.zoom-in-right {
  transform-origin: top right;
  animation: animatezoom var(--speed) ease forwards;
}

.zoom-out-left {
  transform-origin: top left;
  animation: shrink var(--speed) ease forwards;
}

.zoom-out-right {
  transform-origin: top right;
  animation: shrink var(--speed) ease forwards;
}

.slideout {
  animation: slideout var(--speed) ease-in forwards;
}

.open {
  animation: open var(--speed) ease forwards;
}

@-webkit-keyframes rainbow {
  0% {
    background-position: 0% 82%;
  }

  50% {
    background-position: 100% 19%;
  }

  100% {
    background-position: 0% 82%;
  }
}

@-moz-keyframes rainbow {
  0% {
    background-position: 0% 82%;
  }

  50% {
    background-position: 100% 19%;
  }

  100% {
    background-position: 0% 82%;
  }
}

@keyframes rainbow {
  0% {
    background-position: 0% 82%;
  }

  50% {
    background-position: 100% 19%;
  }

  100% {
    background-position: 0% 82%;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 5px 5px var(--color);
  }

  100% {
    box-shadow: 0 0 40px 20px var(--color);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

@keyframes scaleZ {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  80% {
    transform: scale(1.07);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes expanddown {
  0% {
    transform: scaleY(0);
  }

  100% {
    transform: scaleY(1);
  }
}

@keyframes deScaleZ {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  100% {
    opacity: 0;
    transform: scale(0) translateY(350px);
  }
}

@keyframes animatezoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(560px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes bubblezoom {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.25);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes in-out {
  0% {
    transform: scale(0.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes outright {
  from {
    opacity: 0;
    transform: translate(0, 0);
  }

  to {
    opacity: 1;
    transform: translate(0, -150%);
  }
}

@keyframes inright {
  0% {
    opacity: 0;
    width: 64px;
  }

  100% {
    opacity: 1;
    width: 50%;
  }
}

@keyframes slide-in {
  0% {
    opacity: 0;
    width: 50%;
  }

  100% {
    opacity: 1;
    width: 100%;
  }
}

@keyframes topdown {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes shrink {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(0);
  }
}

@keyframes slideout {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(150%);
  }
}

@keyframes open {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    background: rgba(0, 0, 0, 0);
  }

  to {
    background: rgba(0, 0, 0, 0.7);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    background: rgba(0, 0, 0, 0.7);
  }

  to {
    background: rgba(0, 0, 0, 0);
  }
}

@keyframes sidenav {
  from {
    transform: translateX(-310px);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes sidenavclose {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-310px);
  }
}

.bottom-menu {
  display: none;
  position: absolute;
  bottom: 65px;
  left: -20px;
  width: 100%;
  perspective: 1000px;
  z-index: 1;
}

.bottom-menu-item {
  display: block;
  color: var(--fontcolor);
  text-align: center;
  background-color: var(--color);
  padding: 10px 20px;
  font-size: 16px;
  opacity: 0;
  transition: all var(--speed);
}

.bottom-menu-item:hover {
  background-color: var(--fgColor);
  color: #ecf0f3;
}

.bottom-menu-item:first-child {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.bottom-menu-item:last-child {
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.ripple-animation {
  animation: ripple-drop 0.4s cubic-bezier(0, 0, 0.3, 1);
}

.new-ripple {
  display: block;
  left: calc(var(--rippleX) - 50px);
  top: calc(var(--rippleY) - 50px);
  width: 100px;
  height: 100px;
  background: var(--color);
  transform: scale(0);
  opacity: 0.6;
  position: absolute;
  border-radius: 50%;
  z-index: 900;
}

.new-ripple-animation {
  animation: ripple-drop 0.4s cubic-bezier(0, 0, 0.3, 1);
}

@keyframes ripple-drop {
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

#reader-container {
  display: none;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: var(--width);
  top: var(--iOSPadding);
  height: var(--height);
  border: none;
  border-radius: 0;
  opacity: 1;
  margin: calc(var(--iOSPadding) * -1) 0;
}

#reader-container.light {
  background: #2c2c32;
}

.details#reader-container {
  max-height: var(--height);
}

#reader {
  top: 0;
  width: 100%;
  position: absolute !important;
  z-index: 1;
}

#result-pill {
  position: absolute;
  bottom: 200px;
  height: auto;
  background: var(--color);
  width: auto;
  max-width: 90%;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 2px 3px 5px rgb(0 0 0/20%);
  z-index: 2;
}

#result-pill span {
  font-size: 90%;
  color: var(--fontcolor) !important;
}

#result-pill p {
  margin: 0;
}

#reader-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 90px;
  background: #ddd;
  color: #2c2c32;
  width: 90px;
  z-index: 3;
  bottom: calc(190px / 2 - 45px);
  border: 1px solid #aaa;
  border-radius: 50px;
  box-shadow: 0 0 5px 1px rgb(0 0 0 / 25%);
}

#reader-button span {
  width: 44px;
  height: 44px;
  background: #202124;
  mask-image: url(../images/navigation/camera.svg);
  -webkit-mask-image: url(../images/navigation/camera.svg);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-size: contain;
}

#reader-button:hover {
  transition-duration: 0.1s;
  background-color: #3a3a3a;
}

#reader-button:after {
  content: '';
  display: block;
  position: absolute;
  border-radius: 4em;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.4s;
  box-shadow: 0 0 10px 40px white;
}

#reader-button:active:after {
  box-shadow: 0 0 0 0 white;
  position: absolute;
  border-radius: 4em;
  left: 0;
  top: 0;
  opacity: 1;
  transition: 0s;
}

#reader-button:active {
  bottom: 46px;
}

#reader-stop {
  position: absolute;
  right: 25px;
  height: 20px;
  color: white;
  background: #ecf0f3;
  width: 20px;
  z-index: 3;
  top: calc(15px + var(--iOSPadding));
  border: none;
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
}

#reader-upload {
  display: flex;
  background: #2c2c32;
  color: #ecf0f3;
  position: absolute;
  border: none;
  height: 50px;
  border-radius: 30px;
  bottom: 20px;
  left: 15px;
  width: calc(50% - 25px);
  z-index: 3;
  align-content: center;
  justify-content: center;
  align-items: center;
  font-size: 13.3px;
}

#qr-input-file {
  position: absolute;
  top: 10px;
  width: 100px;
  left: calc(50% - 50px);
  z-index: 3;
}

#qr-shaded-region.found div {
  background-color: green;
}

#qr-shaded-region div:nth-of-type(1) {
  border-radius: 0 10px 10px 0;
}

#qr-shaded-region div:nth-of-type(2) {
  border-radius: 10px 0 0 10px;
}

#qr-shaded-region div:nth-of-type(3) {
  border-radius: 0 10px 10px 0;
}

#qr-shaded-region div:nth-of-type(4) {
  border-radius: 10px 0 0 10px;
}

#qr-shaded-region div:nth-of-type(5) {
  border-radius: 10px 0 10px 10px;
}

#qr-shaded-region div:nth-of-type(6) {
  border-radius: 10px 10px 0 10px;
}

#qr-shaded-region div:nth-of-type(7) {
  border-radius: 0 10px 10px 10px;
}

#qr-shaded-region div:nth-of-type(8) {
  border-radius: 10px 10px 10px 0;
}

#reader-results {
  position: absolute;
  bottom: 0;
  padding: 15px;
  width: 100%;
  height: calc(100% - var(--camHeight));
  color: #ecf0f3;
  /* background: var(--fgColor); */
  background: #000;
  z-index: 2;
  border-radius: 0;
  border-top: 2px solid var(--bgColor);
  transition: height .3s ease;
}

/* #reader-results.light {
  background: #ccc;
  color: #2c2c32;
} */

#reader-flip,
#reader-torch {
  display: none;
  position: absolute;
  background: #ecf0f3;
  border: none;
  width: 40px;
  height: 40px;
  bottom: 75px;
  z-index: 3;
  mask-size: 75%;
  -webkit-mask-size: 75%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

#reader-flip {
  right: 30px;
  mask-image: url(../images/navigation/flip.png);
  -webkit-mask-image: url(../images/navigation/flip.png);
}

#reader-torch {
  left: 30px;
  mask-image: url(../images/navigation/torch.png);
  -webkit-mask-image: url(../images/navigation/torch.png);
}

#reader-flip.light,
#reader-torch.light {
  background: #111;
}

#reader-active {
  display: block;
  background: black;
  position: absolute;
  border: none;
  height: 12px;
  width: 12px;
  box-shadow: inset 1px 1px 3px 1px rgb(0 0 0 / 50%);
  border-radius: 50%;
  top: calc(15px + var(--iOSPadding));
  left: 25px;
  z-index: 3;
  transition: background 0.3s ease;
}

#qr-input-file {
  opacity: 0;
}

#errMsg {
  padding: 10px;
}

#errMsg button {
  height: 30px;
  width: 35%;
}

.alert * {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -ms-touch-action: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: none;
  user-select: none;
}

.alert *:focus {
  outline: 0;
}

.alert {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-left: -135px;
  margin-top: -50px;
  width: 270px;
  text-align: center;
  font-family: -apple-system, 'Poppins';
  font-size: 14px;
  line-height: 1.4;
  border-radius: 13px;
  overflow: hidden;
  z-index: 999;
  color: #777;
  background-color: rgba(255, 255, 255, 0.9);
}

.alert .inner {
  padding: 15px;
}

.alert .title {
  font-weight: 500;
  font-size: 16px;
}

.alert .text {
  margin-top: 5px;
}

.alert .button {
  position: relative;
  height: 44px;
  line-height: 44px;
  font-size: 17px;
  color: #007aff;
  border-radius: 0 0 13px 13px;
  overflow: hidden;
  cursor: pointer;
}

.alert .button:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 100%;
  display: block;
  background-color: #c4c4c4;
  z-index: 9999999999999999999999999;
}

#pin-bubble {
  display: none;
  width: 185px;
  opacity: 1;
  padding-top: 0;
  background: var(--oddRow);
  border: 1px solid #35363a;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 1px 2px 5px 0px rgb(0 0 0 / 25%);
  transform-origin: center top;
  transition: all var(--speed) linear;
  animation: topdown var(--speed) ease-in;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

#pin-bubble.light {
  border: 1px solid #ecf0f3;
}

#pin-bubble.midnight {
  border: 1px solid #222;
}

.pin-table-button {
  color: var(--buttonColor);
  width: 100%;
  background: none;
  border: none;
  height: 60px;
  margin: 0;
  border-radius: 0;
  cursor: pointer;
  border-bottom: 1px solid #35363a;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.pin-table-button.light {
  border-bottom: 1px solid #ecf0f3;
}

.pin-table-button.midnight {
  border-bottom: 1px solid #222;
}

.pin-table-button:nth-of-type(5) {
  border: none;
}

.pin-table-button:hover {
  background: var(--color);
  color: var(--fontcolor);
}

#createTable,
#addToList {
  display: none;
  flex-direction: column;
  justify-content: space-evenly;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  width: 100%;
  height: 100%;
}

#createTable span,
#addToList span {
  background: var(--buttonColor);
}

#createTable .maintenance-button,
#addToList .maintenance-button {
  margin: 10px 0;
  width: 100%;
}

.form-divider {
  position: absolute;
  top: 80px;
  padding: 20px;
}

#createTable label,
#addToList label {
  position: absolute;
  display: inline-block;
  font-size: 125%;
  text-align: center;
  top: 25px;
  color: var(--buttonColor);
}

#addToList select {
  margin-bottom: 10px;
}

#custom_0,
#custom_1,
#custom_2,
#custom_3,
#custom_6 {
  display: none;
}

#custom_CS {
  display: none;
  background-color: var(--dark);
  position: absolute;
  left: 30%;
  width: 40%;
  height: 40px;
  top: calc(20px + var(--iOSPadding));
  font-family: inherit;
  font-size: 0.9rem;
}

#upload_photo {
  display: none;
  width: auto;
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--color);
  border: none;
  appearance: none;
  -webkite-appearance: none;
  padding: 16px;
  mask-image: url(../images/navigation/upload-image.svg);
  -webkit-mask-image: url(../images/navigation/upload-image.svg);
}

#fileToUpload {
  display: none;
}

#info-display,
#info-share,
#close_properties,
#edit_properties {
  height: 28px;
  width: 28px;
  background: var(--fontcolor);
  cursor: pointer;
}

#close_properties {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
}

#edit_properties {
  mask-image: url(../images/navigation/pencil.svg);
  -webkit-mask-image: url(../images/navigation/pencil.svg);
}

#info-display {
  /* padding: 16px; */
  mask-image: url(../images/navigation/help.svg);
  -webkit-mask-image: url(../images/navigation/help.svg);
}

#info-share,
#history-share {
  mask-image: url(../images/navigation/share.svg);
  -webkit-mask-image: url(../images/navigation/share.svg);
}

#property_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

#property_container h2 {
  background: none;
  color: var(--buttonColor);
  text-decoration: underline;
  text-underline-offset: 6px;
  width: auto;
}

#property_container p {
  display: flex;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid var(--color);
  color: var(--buttonColor);
  border-radius: 12px;
  max-height: 300px;
  overflow: scroll;
  text-align: center;
}

#history_edit_form {
  display: none;
  width: 100%;
  height: auto;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 20px 5px;
}

#history_edit_form {
  display: flex;
  padding: 0;
}

#editImgForm {
  display: none;
}

#history_edit_form input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--colorTrans);
  background: var(--dialog-vertical);
  height: 40px;
  margin-bottom: 6px;
  text-align: center;
}

#history_edit_form label {
  color: var(--buttonColor);
  margin-bottom: 5px;
  width: 100%;
}

#history_edit_form p {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  text-align: center;
  margin: 0;
}

#history_edit_form button {
  display: flex;
  position: relative;
  width: 160px;
  height: 55px;
  background: var(--color);
  color: var(--fontcolor);
  font-weight: 700;
  border-radius: 33px;
  border: none;
  cursor: pointer;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#history_edit_form button:first-of-type span {
  background: var(--fontcolor);
  margin-right: 5px;
  padding: 14px;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-size: contain;
  cursor: pointer;
  mask-image: url(../images/navigation/upload-image.svg);
  -webkit-mask-image: url(../images/navigation/upload-image.svg);
}

#history_edit_form textarea {
  height: 150px;
  border: 1px solid var(--colorTrans);
  color: var(--buttonColor);
  word-wrap: break-word;
  width: 100%;
  padding: 10px;
  border-radius: 30px;
  background: var(--dialog-vertical);
  font-size: 16px;
  text-align: center;
  overflow-y: hidden;
  resize: none;
  margin: 10px 0;
}

.sortable-list {
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 15px;
  width: 100%;
  padding: 25px;
  background: none;
  border-radius: 7px;
  padding: 0 0 20px;
  position: relative;
  pointer-events: all;
  overflow: auto;
}

.item {
  left: 0;
  list-style: none;
  display: flex;
  cursor: move;
  background: var(--oddRow);
  align-items: center;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 10px;
  border: var(--border);
  justify-content: space-between;
  width: 100%;
  height: 70px;
  overflow: hidden;
}

.sortable-list.light .item {
  background: #fff;
}

.item .inner-details {
  display: flex;
  align-items: center;
}

.item .inner-details section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin-right: 12px;
  border: 1px solid var(--fontcolor);
}

.inner-details-img {
  pointer-events: none;
  padding: 12px;
  background: var(--fontcolor);
}

.item .inner-details span {
  font-size: 0.85rem;
}

.qt-number {
  position: relative;
  display: flex;
  color: var(--color);
  font-weight: 700;
  width: 36px;
  height: 36px;
  top: 0;
  right: 0;
  border-radius: 50%;
  background: 0;
  justify-content: center;
  align-items: center;
}

.item.selected .qt-number {
  background: var(--colorTrans);
  box-shadow: 0 0 2px rgb(0 0 0 / 15%);
}

#indicator {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0;
}

.page_button {
  width: 16px;
  height: 16px;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 50%;
  margin: 0px 4px;
  background: var(--fontcolor);
}

#myDialog {
  padding: 0;
  text-align: center;
  color: var(--fontcolor) !important;
  background: var(--color);
  border-radius: 24px;
  border: none;
  box-shadow: 0px 0px 5px 2px rgb(0 0 0 / 20%);
}

dialog {
  position: relative;
  width: 85%;
  max-width: 350px;
  padding: 0;
  border-radius: 15px;
  text-align: center;
  border: none;
  box-shadow: 0px 0px 5px 2px rgb(0 0 0 / 20%);
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  transform: translate3d(0, 0, 0);
  font-family: var(--font);
  transition: margin-top 0.3s linear, height 0.3s linear, max-width 0.3s linear;
  background: var(--fgColor);
  margin: auto;
}

dialog.light {
  background: #fff;
}

dialog[open] {
  animation: animatezoom var(--speed) ease forwards;
}

dialog#clr-picker[open] {
  animation: slideUp var(--speed) ease;
}

dialog#pin-bubble[open] {
  animation: animatezoom 0.2s ease;
}

dialog#searchPanel[open] {
  animation: open var(--speed) ease forwards;
}

dialog button {
  background: var(--fontcolor);
  color: var(--color);
  font-weight: bold;
  align-self: center;
  width: calc(100% / 2 - 10px);
  margin: 5px;
  height: 40px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  overflow: hidden;
}

#event-dialog form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
}

dialog::backdrop {
  background: rgb(0 0 0 / 50%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: open 0.3s ease forwards;
  height: 100%;
}

dialog#history_img {
  max-width: 900px;
  max-height: 60%;
  z-index: 100;
  background: transparent;
  overflow: visible;
  box-shadow: unset;
}

#history_img button {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  background: rgb(0 0 0 / 15%);
  z-index: 1;
  border-radius: 50%;
  padding: 5px;
  margin: auto;
}

#history_img button span {
  display: block;
  position: relative;
  width: 5vw;
  height: 5vw;
  max-width: 44px;
  max-height: 44px;
  background: #fff;
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
  scale: 0.6;
}

#modal-image {
  width: 100%;
  height: 100%;
  /* aspect-ratio: 3/2; */
  border-radius: 12px;
  box-shadow: 0px 0px 5px 2px rgb(0 0 0 / 20%);
}

dialog#searchPanel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: unset;
  max-height: 200%;
  top: var(--iOSPadding);
  width: 100%;
  height: calc(var(--height) + var(--iOSPadding));
  border-radius: 0;
  padding: var(--iOSPadding) 5px calc(10px + var(--iOSPadding));
  overflow: hidden;
  background: rgb(73 74 78 / 70%) !important;
  flex-direction: column;
  overscroll-behavior: none;
  position: fixed;
}

dialog#searchPanel.midnight {
  background: rgb(0 0 0 / 10%) !important;
}

dialog#searchPanel.light {
  background: #eeeeee !important;
}

dialog#searchPanel::backdrop {
  background: rgb(0 0 0 / 90%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: open 0.3s ease forwards;
}

dialog#pin-bubble::backdrop {
  animation: open 0.2s ease forwards;
  backdrop-filter: blur(0px);
  background: rgb(0 0 0 / 20%);
}

dialog#like-bubble::backdrop {
  background: rgb(0 0 0 / 0%);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  animation: open 0.2s ease forwards;
}

#universal {
  width: 100%;
  background-color: var(--searchWidget);
  color: #ccc;
  font-size: 16px;
  height: 48px;
  border-radius: 35px;
  text-align: center;
  background-image: url(../images/navigation/search.svg);
  background-repeat: no-repeat;
  background-position: 20px center;
  background-size: 20px 20px;
  border: none;
  appearance: none;
  -webkit-appearance: none;
}

#universal:focus {
  border: 1px solid var(--colorTrans);
  background-image: none;
  transition: 0.1s ease;
}

#remove-event {
  padding: 20px;
}

#remove-event section {
  display: flex;
}

#remove-event section button {
  background: red;
  color: white;
}

#remove-event section button:first-of-type {
  background: grey;
}

#pm-list {
  gap: 15px;
  display: flex;
  list-style: none;
  padding: 15px;
  margin: 0;
  flex-direction: column;
}

#pm-list li {
  display: flex;
  background: var(--oddRow);
  padding: 10px;
  width: 100%;
  height: 60px;
  word-wrap: break-word;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
}

#pm-list.light li {
  background: #f2f2f2;
}

#pm-dialog section {
  display: flex;
  position: relative;
  background: var(--color);
  font-size: 1rem;
  padding: 15px;
  color: var(--fontcolor);
  font-weight: bold;
  height: calc(var(--iOSPadding) + 60px);
  align-items: flex-end;
  justify-content: center;
}

#pm-dialog section span {
  position: absolute;
  left: 25px;
  background: var(--fontcolor);
  width: 28px;
  height: 28px;
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
}

#pm-dialog {
  max-width: 100%;
  background: var(--oddRow);
  width: 100%;
  padding-top: var(--iOSPadding);
  border-radius: 0;
  height: calc(var(--height) + var(--iOSPadding));
  /* max-height: calc(var(--height) + var(--iOSPadding)); */
  max-height: 100%;
}

#pm-dialog p {
  padding: 0 10px 10px;
  color: red;
  font-weight: bold;
  font-style: italic;
}

#pm-dialog div li::marker {
  font-weight: bold;
}

#pm-dialog div.pm-tools {
  display: flex;
  position: relative;
  height: 90px;
  flex-direction: row;
  flex-wrap: nowrap;
  padding: 15px 15px 25px;
  background: var(--color);
  border: none;
}

#pm-dialog header {
  background: var(--color);
  color: var(--fontcolor);
  padding: 10px;
  position: relative;
  height: 45px;
  border-bottom: 1px solid var(--fontcolor);
}

#pm-dialog div:nth-of-type(2) {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  height: calc(100% - 195px - var(--iOSPadding));
  overflow: auto;
  flex-wrap: nowrap;
  padding: 0 20px;
  text-align: left;
  background: var(--oddRow);
}

#pm-dialog div h2 {
  font-size: 1.15rem;
  padding: 10px;
}

#pm-dialog div hr {
  width: calc(100% - 100px);
  margin-bottom: 30px;
  border: none;
  border-bottom: 2px solid #aaa;
}

#pm-dialog div li {
  background: var(--colorTrans);
  color: var(--buttonColor);
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
}

#pm-dialog ol {
  width: 100%;
  padding: 0;
  list-style: decimal;
  list-style-position: inside;
}

.pm-tools button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(0 0 0 / 15%);
  color: var(--fontcolor);
}

.pm-tools button span {
  width: 24px;
  height: 24px;
  background: var(--fontcolor);
}

.pm-tools button:after,
.pm-tools button:nth-child(2):after,
.pm-tools button:nth-child(3):after,
.pm-tools button:nth-child(4):after {
  content: 'Print';
  position: absolute;
  top: 68px;
  color: var(--fontcolor);
  font-size: 0.8rem;
}

.pm-tools button:nth-child(2):after {
  content: 'Parts';
}

.pm-tools button:nth-child(3):after {
  content: 'Notes';
}

.pm-tools button:nth-child(4):after {
  content: 'Done';
}

.pm-tools button:nth-child(1) span {
  mask-image: url(../images/navigation/print.svg);
  -webkit-mask-image: url(../images/navigation/print.svg);
}

.pm-tools button:nth-child(2) span {
  mask-image: url(../images/navigation/central-stores.svg);
  -webkit-mask-image: url(../images/navigation/central-stores.svg);
}

.pm-tools button:nth-child(3) span {
  mask-image: url(../images/navigation/notebook.svg);
  -webkit-mask-image: url(../images/navigation/notebook.svg);
}

.pm-tools button:nth-child(4) span {
  mask-image: url(../images/navigation/check.svg);
  -webkit-mask-image: url(../images/navigation/check.svg);
}

#pm-stores {
  background: none;
  width: 500px;
  max-width: 95%;
}

#pm-stores table {
  width: 100%;
  border-collapse: collapse;
}

#pm-stores table thead {
  color: var(--fontcolor);
  background: transparent;
}

#pm-stores table thead tr {
  background: var(--color);
}

#pm-stores table tr td {
  padding: 15px 10px;
  border: 1px solid var(--fontcolor);
  border-bottom: none;
  color: var(--buttonColor);
}

#pm-stores table tr td:first-of-type,
#pm-stores table tr th:first-of-type {
  border-left: none;
}

#pm-stores table tr td:last-of-type,
#pm-stores table tr th:last-of-type {
  border-right: none;
}

#pm-stores table tr:last-of-type {
  border-bottom: none;
}

#pm-stores table thead th {
  border: 1px solid var(--fontcolor);
  border-top: none;
  padding: 15px 10px;
}

#pm-store-list {
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  height: auto;
  border: none;
}

#pm-store-list span {
  background: var(--fontcolor);
  position: absolute;
  width: 24px;
  height: 24px;
  left: 15px;
  top: 15px;
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
}

.checkmark-container {
  display: flex;
  background: var(--color);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  align-items: center;
}

.checkmark {
  display: inline-block;
  position: relative;
  transform: rotate(45deg);
  top: 0px;
  left: -8px;
  height: 15px;
  width: 9px;
  margin-left: 60%;
  border-bottom: 4px solid var(--fontcolor);
  border-right: 4px solid var(--fontcolor);
}

.pm-tools button.check-complete {
  background: linear-gradient(180deg, greenyellow, green);
}

.pm-tools button.check-complete span {
  background: #2c2c32;
}

@media screen and (max-height: 620px) {
  .sidenav-head {
    height: 175px;
  }

  .topnav-span {
    padding-top: 25px;
  }

  .wrapper {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .user-icon-content {
    width: 360px;
    height: 95%;
    font-size: 24px;
  }
}

@media screen and (max-width: 375px) and (max-height: 667px) {
  :root {
    --iOSPadding: 20px;
  }

  .quick-button {
    font-size: 10px;
  }

  .calendar__top-bar {
    padding: 5px 0;
  }

  .calendar__day {
    height: 10vw;
    padding: 5px;
  }

}

textarea {
  font-family: var(--font);
}

@media screen and (min-width: 720px) {

  .drag {
    height: auto;
    width: calc(var(--width) / 1.25);
    max-width: 900px;
    place-self: anchor-center;
    border-radius: 16px;
    box-shadow: 0px 0px 15px 4px rgb(0 0 0 / 30%);
  }

  #bigStore,
  #bigIAI {
    margin-top: calc(var(--height) / 2 - 65px * 2);
  }

  #menu-mobile {
    margin-top: 0;
  }

  #mdispatch {
    display: none;
  }

  .sidenav-head {
    top: 0;
  }

  .submit-float {
    bottom: 25px;
  }

  .setting-tab {
    display: flex !important;
    position: fixed;
    margin-top: 10px;
    max-width: 40%;
    font-size: 1.5em;
  }

  .setting-tabcontent {
    border-left: var(--desktopBorder);
    position: relative;
    left: 40%;
    max-width: 60%;
  }

  .calendar__sidebar {
    position: absolute;
    bottom: 20px;
    left: unset;
    right: 20px;
    height: calc(95% - 150px);
    max-height: calc(95% - 150px);
    width: 45%;
    border-radius: 25px !important;
  }

  .settingIcon {
    top: 10px !important;
  }

  .calendar__days {
    position: absolute;
    top: 60px;
    left: 0;
    gap: 0;
    width: 50%;
    height: 85%;
    border: none;
  }

  .calendar__day {
    height: auto;
  }

  .calendar__top-bar {
    padding: 15px 0 25px;
  }

  .top-bar__days {
    padding: 20px 5px 0;
  }

  .event-pill {
    display: none;
  }

  .title-bar {
    top: 90px;
    position: absolute;
    right: 7px;
    left: unset;
    width: fit-content;
    width: -moz-fit-content;
    padding: 1rem;
    justify-content: center;
  }

  .cal-nav {
    border-radius: 10px;
    width: 120px;
    top: 100px;
    left: unset;
    right: calc(45% - 100px);
    height: auto;
    background: var(--colorTrans);
  }

  .quick-launch-grid {
    float: left;
    clear: left;
    width: calc(50% - 20px);
    background: var(--fgColor);
    padding: 15px;
    gap: 15px;
    border: var(--border);
  }

  .quick-launch-grid.light {
    background: #fff;
    border: 1px solid #ddd;
  }

  .mincalendar,
  .notes-inner-content {
    top: -65px;
    position: relative;
    float: right;
  }

  .quick-button {
    width: calc(100% / 3 - 10px);
  }

  .topnav {
    /* top: 78px; */
    top: calc(78px + var(--iOSPadding));
    width: 40%;
    /* height: 50px; */
    /* align-items: flex-start; */
    /* line-height: 1; */
  }

  #custom_CS {
    /* top: 0px !important; */
    width: 85%;
    left: 10%;
  }

  .searchbar .Input {
    width: 60%;
    left: 40%;
    position: relative;
  }

  .desktop-nav {
    display: flex;
  }

  #bottomNav {
    display: none !important;
  }

  .setting-menu {
    font-size: 65%;
  }

  #general {
    display: block;
  }

  .notes-content {
    display: block;
  }

  .mincalendar,
  #weather-widget {
    float: left;
    width: calc(50% - 20px);
  }

  .notes-inner-content {
    float: right;
    width: calc(50% - 20px);
  }

  .notes-content#unicontainer {
    float: left;
    width: calc(50% - 20px);
    padding: 0;
  }

  h1 {
    font-size: 1.5em;
  }

  #Tab3,
  #Tab4,
  #Tab5 {
    padding-top: 75px;
  }

  body::-webkit-scrollbar {
    display: none;
  }

  .modal-body {
    padding-top: 0;
    height: 100%;
  }

  .modal-content {
    position: relative;
    width: 80%;
    height: 75%;
    font-size: 2vw;
    border-radius: 15px;
    top: calc(25% / 2);
    overflow: scroll;
    box-shadow: 2px 2px 10px 2px rgb(0 0 0 / 20%);
  }

  .clear-ohms,
  .ohms-law {
    font-size: 1vw;
  }

  #maintenance-grid,
  #ip-grid {
    justify-self: center;
    margin: 50px 0 0 0;
    max-width: calc(var(--width) / 2);
  }

  .collapsible-maintenance {
    max-width: calc(var(--width) / 2);
  }

  .universal-table {
    font-size: 1rem;
  }

  .universal-table td {
    display: table-cell;
    font-size: 1rem;
    text-align: center;
    padding: 5px;
    border: 1px solid #45484c;
    border-left: 0;
    border-top: 0;
  }

  .universal-table td::before {
    content: '';
  }

  .universal-table tr th {
    display: table-cell;
  }

  .universal-table tr td:last-child {
    border-bottom: 1px solid #45484c;
  }

  #maintenance-guide-header {
    height: 110px;
    padding: 30px 30px 30px;
    align-items: center;
  }

  #maintenance-guide-header .close-guide {
    top: 40px;
  }

  #guide-search2 {
    position: absolute;
    right: 20px;
    width: 25%;
  }

  .universal-table tr th:nth-child(2),
  .universal-table tr th:nth-child(3) {
    padding: 20px 50px;
  }

  #ip-modal .log-table .universal-table tr th {
    display: table-cell !important;
  }

  #ip-modal .log-table .universal-table thead tr:last-child {
    display: table-row !important;
  }

  #ip-modal .log-table .universal-table thead th .Input {
    position: unset;
    top: unset;
  }

  .three,
  .hicon {
    top: 3px;
  }

  #Tab1,
  #Tab2 {
    padding: calc(75px + var(--iOSPadding)) 0 0;
  }

  tbody#uni-fanuc tr td:first-of-type,
  #fanuc-table.universal-table tr th:first-of-type {
    display: table-cell;
  }

  #searchPanel {
    flex-direction: row;
    flex-wrap: wrap;
    width: var(--width);
  }

  #searchHeader {
    position: absolute;
    top: 15px;
    left: 10px;
    width: calc(var(--width) / 2);
  }

  #uni-form {
    position: absolute !important;
    visibility: hidden;
    top: 24px;
    left: unset;
    right: 20px;
    width: calc(var(--width) / 2 - 155px);
  }

  #search_dock {
    position: absolute;
    top: 40px;
    right: 20px;
    width: calc(var(--width) / 2 - 45px);
  }

  #option-container {
    position: absolute;
    top: 120px;
    right: 20px;
    width: calc(var(--width) / 2 - 30px);
    overflow: scroll;
    max-height: 60%;
  }

  #option-container.ai {
    height: calc(var(--height) - 150px) !important;
    width: calc(100% - 30px);
    right: unset;
    margin-top: 5px;
    position: relative;
  }

  #option-container.ai #chat {
    height: auto;
  }

  /* #response {
    height: calc(var(--height) - 170px) !important;
  } */

  #searchresults {
    width: calc(var(--width) / 2 - 30px);
    position: absolute;
    top: 80px;
    right: unset;
    left: 20px;
    overflow-y: scroll;
    height: auto;
    max-height: var(--height);
  }

  #searchresults.expand {
    left: 0;
  }

  #searchresults li {
    width: calc(var(--width) / 4 - 35px);
    max-width: 100%;
  }

  .close-search-button {
    left: 0px;
    top: 13px;
  }

  #voice.close-search-button {
    left: 72px;
    top: 21px;
    position: absolute;
  }

  .modal-form-content form {
    gap: 20px;
  }

  #pm-dialog {
    max-height: 85%;
    max-width: 60%;
    border-radius: 15px;
  }

  #pm-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  #pm-list li {
    width: calc(var(--width) / 2 - 27.5px);
  }

  .sortable-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .item {
    width: calc(50% - 20px);
  }

  .resistor-shell {
    width: 50%;
    height: 100%;
    background: var(--fgColor);
  }

  .resistor-shell:nth-of-type(2) {
    margin-top: 0;
  }

  .resistor-shell.light {
    background: #f2f2f2;
  }

  #content {
    flex-direction: row;
    column-gap: 10px;
  }

  #resH2 {
    margin-top: 0;
  }

  #eSeriesInfo {
    position: relative;
    top: 50%;
    /* right: 20px; */
    left: unset;
    width: 100%;
  }

  #eSeriesMenu li {
    background: var(--bgColor);
  }

  .clrSelectorArea {
    width: 50%;
    left: 25%;
    height: 80%;
    top: 10%;
    padding: 10px;
  }

  .clrSelectorField {
    width: 15%;
  }

  :root {
    --iOSPadding: 0px;
  }
}

#notification {
  display: none;
  position: fixed;
  width: 28px;
  height: 28px;
  top: calc(var(--iOSPadding) + 25px);
  right: 65px;
  background: var(--color);
  border: none;
  mask-image: url(../images/navigation/bell.svg);
  -webkit-mask-image: url(../images/navigation/bell.svg);
  z-index: 999;
}

#new_update {
  display: none;
  position: relative;
  width: 18px;
  height: 18px;
  top: -16px;
  right: -16px;
  border-radius: 50%;
  background: red;
  color: white;
  z-index: -1;
}

#apply_update {
  display: none;
  background: var(--colorTrans);
}

#response li button {
  background: none;
  border: none;
  text-decoration: underline;
  font-style: italic;
  font-weight: bold;
  text-underline-offset: 3px;
}

.responding {
  width: 60px;
  height: 30px;
  position: relative;
  justify-self: left;
  padding: 5px;
  background: none;
  border-radius: 30px;
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.typing-dot {
  float: left;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background: #8d8c91;
  border-radius: 50%;
  opacity: 0;
  animation: loadingFade 1s infinite;
}

.typing-dot:nth-child(1) {
  animation-delay: 0s;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loadingFade {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;
  }
}

#response.light .timestamp,
#response.light .timestamp-user {
  color: #777;
}

#bars {
  display: none;
  justify-content: center;
  align-items: center;
  width: var(--width);
  height: calc(var(--height) - 0px);
  background: rgb(0 0 0 / 90%);
  position: fixed;
  z-index: 999;
}

.bar {
  background: #df0101;
  bottom: 1px;
  height: 3px;
  width: 10px;
  margin: 0px 4px;
  border-radius: 5px;
  animation: sound 0ms -600ms linear infinite alternate;
}

@keyframes sound {
  0% {
    opacity: 0.35;
    height: 3px;
  }

  100% {
    opacity: 1;
    height: 70px;
  }
}

.bar:nth-child(1) {
  left: 1px;
  animation-duration: 424ms;
}

.bar:nth-child(2) {
  left: 15px;
  animation-duration: 383ms;
}

.bar:nth-child(3) {
  left: 29px;
  animation-duration: 357ms;
}

.bar:nth-child(4) {
  left: 43px;
  animation-duration: 408ms;
}

.bar:nth-child(5) {
  left: 57px;
  animation-duration: 350ms;
}

.bar:nth-child(6) {
  left: 71px;
  animation-duration: 377ms;
}

.bar:nth-child(7) {
  left: 85px;
  animation-duration: 391ms;
}

.bar:nth-child(8) {
  left: 99px;
  animation-duration: 369ms;
}

.bar:nth-child(9) {
  left: 113px;
  animation-duration: 437ms;
}

.bar:nth-child(10) {
  left: 127px;
  animation-duration: 392ms;
}

span[name='counter'] {
  font-family: 'Orbitron';
  color: white;
}

button[name='run'] {
  background-color: #42c8ff;
  position: absolute;
  width: 30px;
  height: 30px;
  aspect-ratio: 1/1;
  bottom: 28px;
  right: 10px;
  border: none;
  cursor: pointer;
  -webkit-mask-image: url(../images/navigation/mic.svg);
  mask-image: url(../images/navigation/mic.svg);
}

button[name='menu'] {
  background-color: #ececec;
  position: absolute;
  width: 30px;
  height: 30px;
  aspect-ratio: 1/1;
  bottom: 25px;
  left: 0;
  border: none;
  cursor: pointer;
  -webkit-mask-image: url(../images/navigation/gear.svg);
  mask-image: url(../images/navigation/gear.svg);
}

.setting-button {
  position: relative;
  top: 0;
  height: 40px;
  padding: 4px 15px;
  width: 80%;
  color: var(--fontcolor);
  background-color: var(--color);
  border: none;
  border-radius: 10px;
  -webkit-appearance: none;
  appearance: none;
  text-align: center;
}

#chat-settings {
  display: none;
  gap: 5px;
  background: rgb(0 0 0 / 30%);
  color: #fff;
  border-radius: 25px;
  height: 425px;
  transform: scale(0);
}

#chat-settings h2 {
  color: #fff;
}

#chat-settings span {
  position: absolute;
  right: 30px;
}

.generated {
  width: -webkit-fill-available;
  border-radius: 12px;
  width: 100%;
}

.textarea {
  position: absolute;
  right: 0;
  bottom: 25px;
  font-family: 'Poppins';
  color: white;
  font-size: initial;
  display: flex;
  height: 45px;
  width: 85%;
  background: #35363a;
  border-radius: 50px;
  overflow: hidden;
  border: none;
  resize: none;
  padding: 10px 50px 10px 20px;
  transition: height 0.2s;
}

.textarea:focus {
  border: none;
  outline: none;
}

.textarea[contenteditable]:empty::before {
  content: 'Type a question...';
  color: gray;
}


tr {
  user-select: none !important;
  -webkit-user-select: none;
}

#history_pop,
#history_edit {
  display: flex;
  top: var(--iOSPadding);
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  z-index: -1;
  border: none;
  outline: none;
  overflow: hidden;
}

#history_edit {
  max-width: 600px;
  max-height: 90%;
}

#edit_form {
  position: relative;
  padding: 0 20px 5px;
  width: 100%;
  overflow: auto;
  max-height: calc(var(--height) - 210px);
  outline: none;
  color: var(--fontcolor);
}

#history_pop_title_bar,
#edit_title {
  display: flex;
  position: sticky;
  justify-content: space-between;
  align-items: center;
  top: 0;
  width: 100%;
  height: 70px;
  font-size: 1.25rem;
  background: #2a2a2a;
  color: #fff;
}

#history_pop.light>#history_pop_title_bar,
#history_edit.light>#edit_title {
  background: var(--color);
  color: var(--fontcolor);
}

#history_pop.midnight>#history_pop_title_bar,
#history_edit.midnight>#edit_title {
  background: #000;
  color: #fff;
}

#history_pop_title_bar div {
  display: flex;
  position: relative;
  gap: 10px;
  width: auto;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  right: 10px;
}

.title_button,
.nav_button {
  display: flex;
  position: relative;
  text-indent: 5px;
  width: auto;
  color: #fff;
  height: 32px;
  gap: 0 6px;
  padding: 0 12px;
  font-weight: bold;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;
  background: #444;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.nav_button {
  position: fixed;
  top: calc(var(--iOSPadding) + 20px);
  justify-self: end;
  background: var(--theme-color-dark);

}

#history_pop.light>div>.title_button,
#history_edit.light>div>.title_button,
#history_pop.light>div>div>.title_button,
#history_edit.light>div>div>.title_button {
  color: var(--fontcolor);
  background: var(--dark);
}

.title_button:nth-of-type(1) {
  /* background: transparent; */
  left: 10px;
}

#close_history,
#close_edit_history {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0px;
  align-items: center;
  justify-content: center;
}

#history_container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#history_pop #history_container {
  background: #333;
}

#history_pop.light #history_container {
  background: #fff;
}

#history_pop.midnight #history_container {
  background: #000;
}

#history_pop section {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  width: 100%;
  height: auto;
  max-height: 540px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  color: var(--fontcolor);

}

#Tab3.wallpapers {
  background-image: var(--wallpaper);
  background-size: cover;
}

#custom_images {
  flex-direction: row;
  gap: 20px;
}

#custom_images img {
  display: block;
  margin: 10px auto;
  border-radius: 8px;
  max-width: 100%;
  aspect-ratio: 1/1;
  width: 512px;
}

#custom_images img#nothere {
  display: block;
  margin: 100px auto 60px;
  border-radius: 12px;
  max-width: 100%;
  aspect-ratio: unset;
  width: unset;
  background: var(--theme-color);
}

#history_pop section#info-block {
  align-items: flex-start;
  flex-direction: column;
  background: var(--dialog-info);
}

#history_pop section img {
  display: block;
  border-radius: 12px;
  max-width: 65%;
  aspect-ratio: unset;
  border: 1px solid #222;
  filter: unset;
}

#info-block h1 {
  display: block;
  align-self: center;
  color: var(--buttonColor);
  text-underline-offset: 4px;
  text-shadow: var(--text-shadow);
  margin: 0;
  text-decoration: underline;
}

#info-block ul {
  list-style: none;
  text-align: left;
  margin-left: -12px;
  font-size: 85%;
}

#info-block ul:last-of-type {
  background: var(--colorTransDark);
  border-radius: 12px;
  color: var(--fontcolor);
  padding: 10px;
  text-align: center;
  margin: unset;
}

#info-block ul li {
  text-indent: 12px;
  padding: 5px 0;
  color: var(--buttonColor);
  margin-top: 0;
  font-weight: bold;
  text-shadow: 1px 1px 2px var(--slider);
}

#info-block ul:last-of-type li {
  color: var(--fontcolor);
  text-shadow: unset;
}

#info-block ul li strong {
  font-weight: normal;
  color: var(--color);
  text-shadow: none;
}

#info-block ul li::before {
  content: "";
  position: relative;
  background: var(--colorTransDark);
  margin-right: 8px;
  display: inline-block;
  width: 10px;
  border-radius: 50%;
  border: 0;
  height: 10px;
  margin-left: -2rem;
  margin-bottom: 2px;
  margin: 0 8px 2px -2rem;
}

#info-block ul:last-of-type li::before {
  display: none;
  content: "";
  background: none;
}

#close_properties,
#edit_row,
#close_edit,
#history-share {
  height: 16px;
  width: 16px;
  background: #fff;
}

#history_pop.light>div>button>#close_properties,
#history_pop.light>div>button>#edit_row,
#history_edit.light>div>button>#close_edit,
#history_pop.light>div>div>button>#edit_row,
#history_pop.light>div>div>button>#history-share {
  background: var(--fontcolor);
  color: var(--fontcolor);
}

#close_properties,
#close_edit {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  mask-image: url(../images/navigation/cross.svg);
  -webkit-mask-image: url(../images/navigation/cross.svg);
}

#edit_row {
  mask-image: url(../images/navigation/pencil.svg);
  -webkit-mask-image: url(../images/navigation/pencil.svg);
}

#info-display {
  mask-image: url(../images/navigation/help.svg);
  -webkit-mask-image: url(../images/navigation/help.svg);
}

#info-share {
  mask-image: url(../images/navigation/share.svg);
  -webkit-mask-image: url(../images/navigation/share.svg);
}

#history_pop.details {
  max-width: 900px;
  opacity: 0.9;
}

@media screen and (min-width: 600px) {
  #magazine-form {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    height: auto;
    background: var(--form);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #777;
  }

  #current-page {
    display: none;
  }

  #help {
    padding: 20px;
    top: calc(var(--iOSPadding) + 15px);
    width: 30px;
    height: 30px;
  }

  #help-pop {
    max-width: 35%;
  }

  #history_container {
    flex-direction: row;
    align-items: normal;
  }

  #custom_images {
    flex-direction: column;
  }
}

@media screen and (min-width: 680px) {
  input#history_search {
    max-width: 350px;
  }
}


@media screen and (max-height: 500px) {
  #help-pop {
    max-width: 50%;
    top: 0;
  }
}

@media screen and (max-width: 600px) {
  .navbar.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  #history_pop section#info-block {
    width: calc(100% - 20px);
    border-radius: 10px;
    background: var(--dialog-vertical);
  }

  #history_pop section#custom_images {
    border-radius: 10px;
    background: var(--dialog-vertical);
    margin-top: 8px;
    width: calc(100% - 20px);
  }

  #custom-images {
    flex-direction: row;
    gap: 0 20px;
    margin: auto;
  }

  #history_container {
    padding: 10px 0;
  }
}


@supports not (-webkit-touch-callout: none) {
  :root {
    --iOSPadding: 0px;
  }

  html {
    min-height: 100%;
  }

  .drag-header {
    align-items: flex-end;
  }

}

@supports (-webkit-touch-callout: none) {
  * {
    --font: ui-sans-serif !important;
  }

  .avatar {
    top: 55px
  }
}

@supports (-webkit-touch-callout: none) {
  @media screen and (max-width: 600px) {
    dialog#history_img {
      max-height: 30%
    }
  }
}

@supports (-webkit-touch-callout: none) {
  @media screen and (min-width: 600px) {
    dialog#history_img {
      max-height: 80%
    }
  }
}

#fileBrowserModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#fileBrowserModal.active {
  display: flex;
}

.browser-modal-content {
  background: var(--dialog-info);
  border-radius: 12px;
  width: 100%;
  max-width: 1200px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.browser-modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background: var(--color);
  color: var(--fontcolor);
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px 12px 0 0;
}

.browser-modal-header h2 {
  margin: 0;
  font-size: 100%;
  color: var(--fontcolor);
  width: calc(100% - 32px);
}

.browser-modal-close {
  background: var(--fontcolor);
  position: relative;
  border: none;
  top: -15px;
  right: -15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--invertedFont);
}

#browserBreadcrumb {
  padding: 15px 30px;
  background: var(--colorTransDark);
  color: var(--fontcolor);
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb-item {
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
  color: var(--fontcolor);
  font-weight: 500;
}

.breadcrumb-item:hover {
  background: rgba(102, 126, 234, 0.1);
}

.breadcrumb-separator {
  color: var(--fontcolor);
  margin: 0 5px;
}

#browserContent {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

.browser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
}

.browser-item {
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  background: #202124;
}

#fileBrowserModal.light .browser-item {
  background: #fff;
}

.browser-item:hover {
  border-color: var(--color);
  box-shadow: 0 8px 24px var(--colorTransDark);
  transform: translateY(-4px);
}

.browser-item-thumbnail {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color);
}

.browser-item-thumbnail div {
  filter: drop-shadow(2px 2px 3px rgb(0 0 0 / 35%));
}

.browser-item-info {
  padding: 10px;
}

.browser-item-name {
  font-weight: 600;
  word-break: break-word;
  font-size: 0.9em;
}

.browser-modal-footer {
  display: flex;
  gap: 10px;
  padding: 20px 30px;
  background: var(--dialog-info);
  border-top: var(--border);
  justify-content: flex-end;
  border-radius: 0 0 12px 12px;
}

.browser-modal-footer button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
  transition: all 0.3s ease;
}

.browser-modal-footer .btn-select {
  background: var(--color);
  color: var(--fontcolor);
}

.browser-modal-footer .btn-select:hover {
  background: var(--colorTransDark);
}

.browser-modal-footer .btn-cancel {
  background: #e0e0e0;
  color: #333;
}

.browser-modal-footer .btn-cancel:hover {
  background: #d0d0d0;
}

.empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.empty-icon {
  font-size: 3em;
  margin-bottom: 20px;
}

.empty-text {
  font-size: 1.2em;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #999;
}

.loading::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f0f0f0;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error {
  background: #fee;
  color: #c33;
  padding: 20px;
  border-radius: 8px;
}

#compress-output {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  max-height: 300px;
  overflow-y: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.success-message {
  color: #166b16;
  background: #d1e7dd;
  padding: 15px;
}

.success-message h3 {
  margin-top: 0;
}

.error-message {
  color: #842029;
  background: #f8d7da;
  border-radius: 6px;
  padding: 15px;
}

.error-message h3 {
  margin-top: 0;
}

#compress-output pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

#response li.db-table-container {
  padding: 0;
  background: none;
  width: 100%;
  max-width: 100%;
  box-shadow: none;
}

.db-results-table-wrapper {
  overflow-x: auto;
  margin-top: 0;
  border-radius: 12px;
  border: 1px solid #444;
}

.db-results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
  table-layout: fixed;
  text-align: center;
  text-transform: capitalize;
}

.db-results-table th {
  border: 1px solid #444;
  padding: 20px 0px;
  background: var(--color);
  color: var(--fontcolor);
}

.db-results-table td {
  color: var(--buttonColor);
  border: 1px solid #444;
  padding: 6px;
}