:root {
  --nav-bar: 17.5%;
  --main-area: 80.5%;
  --work-area: 100%;
  --side-bar: 50%;
  --top-bar: 60px;
  --content-ht: 40px;
  --trans-border: rgba(255, 255, 255, 0.125);
}

* {
  margin: 0;
  padding: 0;
  position: relative;
  /* Firefox */
  scrollbar-width: none;

  /* Internet Explorer 10+ and Edge */
  -ms-overflow-style: none;
}

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

html {
  scroll-behavior: smooth;
}

.tooltip,
span.tooltip,
div.tooltip {
  display: flex;
  opacity: 1;
  font-size: var(--x-sm-font);
  color: var(--bs-red);
  margin: 0px;
}

.ui-form-selector {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.ui-form-selector * {
  display: none;
}

.ui-form-selector span.default-selector,
.ui-form-selector span.bus-default-selector {
  display: flex;
  cursor: pointer;
  height: 45px;
  padding: 0px 15px;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  background: var(--primary-bg);
  color: var(--primary-color);
  border-radius: 7px;
}

.ui-form-selector span.default-selector::before,
.ui-form-selector span.bus-default-selector::before {
  content: "\F119";
  font-family: "Bootstrap-icons";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 30px;
  height: 30px;
}

.ui-form-selector .listContainer,
.ui-form-selector .busTypeContainer {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5px;
  position: relative;
  padding: 1rem;
  max-height: 200px;
  overflow: auto;
  color: inherit;
  border-radius: 7px;
  width: 100%;
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition-delay: 0.5s;
}

.ui-form-selector .listContainer input,
.ui-form-selector .busTypeContainer input {
  position: sticky;
  top: 0;
  flex: 0 0 auto;
  z-index: 1;
  background: #121212 !important;
  color: inherit;
}

.ui-form-selector .listContainer.active,
.ui-form-selector .listContainer.active *,
.ui-form-selector .busTypeContainer.active,
.ui-form-selector .busTypeContainer.active * {
  display: flex;
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition-delay: 0.5s;
}

.ui-form-selector .dropdown-list {
  flex-direction: column;
  gap: 1px;
  width: 100%;
}

.ui-form-selector .ui-search-dropdown-container::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1rem;
  top: 0;
  left: 0;
  background: var(--glass-bg);
}

.ui-form-selector .dropdown-list li {
  cursor: pointer;
  height: 45px;
  justify-content: flex-start;
  align-items: center;
  transition: all 0.25s;
  -moz-transition: all 0.25s;
  -ms-transition: all 0.25s;
  -webkit-transition: all 0.25s;
  transition-delay: 0.25s;
}

.ui-form-selector .dropdown-list li:hover {
  font-weight: 600;
  background: var(--primary-gradient-border);
  border-radius: 7px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  padding: 0px 10px;
  width: 100%;
  display: flex;
}

form .hidden-field-ui,
form input.hidden-field-ui {
  position: absolute;
  bottom: -14px;
  z-index: -1;
  opacity: 0;
}

.custom-form-selector-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  position: relative;
}

.custom-form-selector-container .option-value {
  display: flex;
  cursor: pointer;
  height: 55px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 15px;
  border-radius: 7px;
}

.option-value::after {
  content: "\F119";
  font-family: "Bootstrap-icons";
  position: absolute;
  right: 5px;
  bottom: 10px;
  width: 30px;
  height: 30px;
}

.custom-form-selector {
  cursor: pointer;
  display: none;
  flex-direction: column;
  padding: 0;
  position: relative;
  background: var(--base-color);
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.custom-form-selector.reveal {
  display: flex;
}

.custom-form-selector * {
  display: flex;
  padding: 0px 15px;
  line-height: 3.5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  flex-direction: column;
}

.custom-form-selector *:hover {
  background: var(--primary-gradient);
}

.custom-form-selector * span.feature {
  line-height: 1.25;
  padding: 0;
  margin-bottom: 15px;
}

.custom-form-selector *:last-child {
  border-bottom: none;
}

.mainContainer,
section.mainContainer,
div.mainContainer {
  width: 100%;
  height: 100%;
  position: fixed;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}

.ui-basket,
div.ui-basket,
section.ui-basket {
  height: calc(100vh - var(--top-bar));
  overflow-x: clip;
}

.ui_ico-btn {
  cursor: pointer;
}

.nav-bar,
div.nav-bar {
  width: var(--nav-bar);
  margin: 0;
  height: 100%;
}

.side-bar,
div.side-bar {
  width: var(--side-bar);
  height: calc(100vh - var(--top-bar));
  position: absolute;
  flex-direction: column;
  z-index: var(--bring-to-top);
  border-radius: var(--full-radius);
  background: var(--primary-color);
  color: var(--base-color);
  right: -100%;
  top: calc(var(--top-bar) / 2);
  padding: var(--top-bar/3);
  overflow: auto;
  /* transform: scale(1); */
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
}

.side-bar.active,
div.side-bar.active {
  right: calc(var(--top-bar) / 2);
}

.side-bar.child,
div.side-bar.child {
  height: auto;
  min-height: calc(100vh / 3);
  top: auto;
  bottom: calc(var(--top-bar) / 2);
}

.side-bar.child.active,
div.side-bar.child.active {
  right: calc(var(--top-bar) + var(--side-bar));
}

.clsSideBar,
.clsChildBar {
  position: fixed;
  right: 40px;
  background: var(--grey-bg);
  color: var(--primary-color);
  z-index: var(--bring-to-top);
  width: calc(var(--top-bar) / 2);
  height: calc(var(--top-bar) / 2);
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: var(--full-radius);
  top: 40px;
  border: 1px solid var(--trans-border);
  display: flex;
  cursor: pointer;
}

.side-bar div.form-container {
  min-height: 30rem;
}

.sideBarHeader,
.sideBarBtnHolder,
.side-bar.sideBarBtnHolder {
  position: sticky;
  bottom: 0;
  width: 100%;
  left: 0;
}

.sideBarHeader {
  top: 0;
  bottom: auto;
}

.sideBarBtnHolder button.appBtn,
.side-bar.sideBarBtnHolder button.appBtn {
  width: 100%;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  background: var(--secondary-gradient);
  border: 1px solid var(--accent-bg);
  height: var(--top-bar);
  border-radius: 0;
}

.main-area,
div.main-area {
  width: var(--main-area);
  height: calc(100vh - var(--top-bar) - 4vh);
  margin: 0;
  overflow: auto;
}

.work-area,
div.work-area {
  width: var(--work-area);
}

.top-bar,
div.top-bar {
  height: var(--top-bar);
}

.btn,
a.btn,
button.btn {
  height: calc(var(--top-bar) - 20px);
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: var(--md-font);
}
.btn:hover {
  overflow: hidden;
}

.nav-bar .nav {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 5px 15px;
  border-radius: var(--full-radius);
  cursor: pointer;
}

.appBtn {
  cursor: pointer;
  border-radius: var(--radius);
  padding: 0.35rem 1rem;
  gap: 5px;
  background: var(--grey-bg);
  font-weight: 400;
  border: 1px solid var(--trans-border);
}

.appBtn:hover {
  background: var(--primary-color);
  color: var(--base-color);
}

button.appBtn {
  background: var(--primary-color);
  color: var(--base-color);
}

button.appBtn:hover {
  background: var(--secondary-gradient);
  color: var(--base-color);
}

button:hover {
  opacity: 1;
  display: flex;
}

label {
  font-weight: 400;
}

.workAreaBtnGrp,
div.workAreaBtnGrp {
  position: sticky;
  z-index: var(--bring-forward);
  top: 0;
  height: var(--top-bar);
}

.workAreaActionHeader,
div.workAreaActionHeader {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0px;
  z-index: var(--bring-forward);
  background: var(--off-bg);
  border-radius: var(--radius);
  padding: 10px 20px;
  margin-bottom: 10px;
}

.workAreaActionHeader *,
div.workAreaActionHeader * {
  margin-bottom: 0%;
}

.form-control,
input {
  height: calc(var(--top-bar) - 15px);
  font-size: var(--reg-font);
  border-radius: var(--radius);
  background: var(--grey-bg);
  color: var(--primary-color);
  border: 1px solid var(--trans-border);
}

.form-control::placeholder,
input::placeholder {
  color: var(--primary-color);
  opacity: 0.5;
}

.top-bar input.form-control {
  height: calc(var(--top-bar) - 25px);
}

.form-control:disabled,
.form-control[readonly] {
  opacity: 0.75;
  background: #333;
}

.checkbox-label {
  width: auto;
  display: flex;
}

label.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
  appearance: none;
}

label.checkbox-label span {
  background-color: var(--grey-bg);
  color: var(--primary-color);
  border: 1px solid var(--trans-border);
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  border-radius: 40px;
  margin: auto;
  margin-left: 0;
  z-index: -1;
}

label.checkbox-label input:checked ~ span {
  background-color: var(--primary-color);
  color: var(--primary-bg);
  font-weight: 500;
  border: 1px solid rgb(89 89 89 / 13%);
}

label.checkbox-label input:checked ~ span::before {
  content: "\F4B6";
  font-family: "Bootstrap-icons";
  position: absolute;
  right: 0;
  top: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  padding: 0;
  margin-top: -10px;
  margin-right: 5px;
  font-size: 18px;
}

legend {
  font-size: 1.12rem;
  font-weight: 400;
}

.dt-container,
div.dt-container {
  width: 100%;
}

thead,
tbody,
tfoot,
tr,
td,
th {
  border-bottom: 1px solid var(--trans-border);
  line-height: var(--content-ht);
  font-size: var(--sm-font);
}

.page-item.disabled .page-link {
  color: var(--primary-color);
  background-color: transparent;
  border-color: transparent;
  font-size: var(--md-font);
}

.page-item.active .page-link {
  color: var(--secondary-color);
  background: var(--secondary-gradient);
  border-color: transparent;
  border-radius: 5px;
}

.site-notify,
div.site-notify {
  display: none;
  width: 100%;
  height: var(--top-bar);
  background: var(--secondary-gradient);
  color: var(--primary-bg);
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  position: absolute;
  left: 0;
  bottom: 0;
  font-weight: 600;
  z-index: var(--bring-to-top);
}

.alertIcon,
div.alertIcon {
  position: absolute;
  top: 0;
  right: 0;
}

.clsNotify,
i.clsNotify {
  background: var(--base-color);
  color: var(--primary-color);
  border-radius: var(--full-radius);
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--md-font);
  margin: 5px;
  cursor: pointer;
}

.active,
div.active,
.site-notify.active,
div.site-notify.active,
.site-inprogress.active,
div.site-inprogress.active {
  display: flex;
}

.loading,
.site-inprogress,
div.loading,
div.site-inprogress {
  width: 100%;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--bring-to-top);
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.tox .tox-mbtn {
  position: relative;
}

.appFormActionBtnContainer,
div.appFormActionBtnContainer {
  margin-top: calc(var(--top-bar) / 2);
  position: sticky;
  bottom: 0%;
  display: flex;
  width: 100%;
  left: 0%;
  height: var(--top-bar);
  background: var(--bs-black);
  justify-content: flex-end;
  padding: 12px 18px;
}

/*@media-quries*/

@media (min-width: 1440px) {
}

@media (max-width: 1200px) {
}

@media (max-width: 1024px) {
  :root {
    --nav-bar: 10%;
    --main-area: 88%;
    --side-bar: 45%;
  }
  div.ui-basket .nav-bar div.nav.actionBtn span.d-flex.actionBtn {
    display: none !important;
  }
  div.ui-basket .nav-bar div.grey.gap-3.p-4 {
    padding: 1rem !important;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-bar: 0%;
    --main-area: 100%;
    --side-bar: 50%;
  }
  div.ui-basket .nav-bar {
    position: absolute;
    z-index: 1000;
    left: -100px;
    min-width: 80px;
  }
  div.ui-basket .nav-bar.active {
    left: 13px;
  }

  .workAreaBtnGrp,
  div.workAreaBtnGrp,
  div.workAreaBtnGrp.flex-wrap {
    flex-wrap: nowrap !important;
    height: calc(var(--top-bar) + 10px);
    overflow: scroll;
  }

  .workAreaBtnGrp .appBtn,
  div.workAreaBtnGrp .appBtn,
  div.workAreaBtnGrp.flex-wrap .appBtn {
    flex-shrink: 0;
    flex-grow: 1;
    width: auto;
    flex-wrap: nowrap;
  }
  .work-area .w-100.full-radius.trans-border.glass-blur-bg.p-4,
  div.work-area div.w-100.full-radius.trans-border.glass-blur-bg.p-4,
  div.work-area div.p-4 {
    padding: 10px !important;
  }
  .sideBarHeader {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-bar: 0%;
    --main-area: 100%;
    --side-bar: 90%;
    --top-bar: 70px;
  }
  .side-bar.active,
  div.side-bar.active {
    right: calc(var(--top-bar) / 4);
    height: calc(100vh - var(--top-bar) / 2);
    top: calc(var(--top-bar) / 4);
  }
  .clsSideBar,
  .clsChildBar {
    right: 25px;
    top: 25px;
  }
  /* .mainContainer,
  section.mainContainer,
  div.mainContainer {
    position: relative;
  } */
  .main-area,
  div.main-area {
    height: calc(100vh - var(--top-bar) - 0.5vh);
  }
  .tox-tinymce,
  div.tox-tinymce {
    height: 200px !important;
  }
}
