﻿/* ------------------------------ REGULAR MODE INIT ------------------------------ */
:root {
  /* Direction & Alignment params */
  --direction: ltr;
  --alignment: center;
  --info-tbl-alignment: left;
  --navbar-alignment: left;
  --reset-form-alignment: right;
  /* General */
  --text-color: #2b2d2f;
  /* Body colors*/
  --secondary-body-bg: #e1e2f5;
  --container-body-bg: #f8f8ff;
  --tbl-container-body: #fff;
  --info-el-color: #fff;
  --h1-txt-color: #4b4c74;
  --required-color: #e32;
  /* Buttons */
  --btn-submit-txt-color: aliceblue;
  --btn-submit-bg: #646a9a;
  --btn-submit-hover-bg: #4b4c74;
  --btn-float-txt-color: aliceblue;
  --btn-float-bg: #2B8C92;
  --btn-float-hover-bg: #227074;
  --action-btn-shadow: #979cb4;
  --reset-link-color: #646a9a;
  --reset-link-hover-color: #4b4c74;
  /* Tabs*/
  --tab-link: #646a9a;
  --tab-active-link: #2B8C92;
  --tab-hover-link: #227074;
  /* Navbar */
  --navbar-txt-hover-color: #646a9a;
  --navbar-link-color: #7b7dac;
  --navbar-bg: #fff;
  --a-btn-background-color: lightgrey;
  --navbar-txt-color: #979cb4;
  --nav-item-hover-color: #f8f9fa;
  /* Footer */
  --footer-bg: #fff;
  /* Pace */
  --loader-bar-color: #2B8C92;
  --loader-bar-bg: #bde1e3;
  --loader-bg: #fff;
  /* Select Picker */
  --select-bg: #fff;
  --select-border: #ced4da;
  /* dark/light toggle */
  --toggle-day-bg: url(../Image/light-mode.png);
  --toggle-night-bg: url(../Image/dark-mode.png);
  --toggle-shadow: #5c5c5c;
  --toggle-day-circle: #f7ca33;
  --toggle-night-circle: #ecf0f3;
  /* modal */
  --modal-bg-opacity: 0.5; }

/* ------------------------------ DARK MODE INIT ------------------------------ */
html[data-theme="dark"] {
  /* General */
  --text-color: #e9eaea;
  /* Body colors*/
  --secondary-body-bg: #3b3b49;
  --container-body-bg: #282829;
  --tbl-container-body: #343a40;
  --info-el-color: #343a40;
  --h1-txt-color: #c0bfcf;
  --required-color: #ff4f37;
  /* Buttons */
  --btn-submit-txt-color: aliceblue;
  --btn-submit-bg: #646a9a;
  --btn-submit-hover-bg: #4b4c74;
  --btn-float-txt-color: aliceblue;
  --btn-float-bg: #2B8C92;
  --btn-float-hover-bg: #227074;
  --action-btn-shadow: #3d434a;
  --reset-link-color: #c0bfcf;
  --reset-link-hover-color: #979cb4;
  /* Tabs*/
  --tab-link: #646a9a;
  --tab-active-link: #2B8C92;
  --tab-hover-link: #227074;
  /* Navbar */
  --navbar-txt-hover-color: #979cb4;
  --navbar-link-color: #c0bfcf;
  --navbar-bg: #343a40;
  --a-btn-background-color: dimgrey;
  --navbar-txt-color: #ced4da;
  --nav-item-hover-color: #292e32;
  /* Footer */
  --footer-bg: #343a40;
  /* Pace */
  --loader-bar-color: #bde1e3;
  --loader-bar-bg: #2B8C92;
  --loader-bg: #282829;
  /* Select Picker */
  --select-bg: #fff;
  --select-border: #ced4da;
  /* modal */
  --modal-bg-opacity: 0.8; }

/* ------------------------------ RTL SUPPORT INIT ------------------------------ */
.rtl-support {
  --direction: rtl;
  --info-tbl-alignment: right;
  --navbar-alignment: right;
  --reset-form-alignment: left; }

/* ------------------------------ GENERAL ELEMENTS ------------------------------ */
hr {
  background-color: transparent; }

body {
  background-color: var(--container-body-bg) !important;
  direction: var(--direction) !important;
  text-align: var(--alignment) !important;
  padding-top: 0;
  padding-bottom: 0;
  color: var(--text-color); }

/* Set padding to keep content from hitting the edges */
.body-content {
  padding-left: 0;
  padding-right: 0;
  text-align: var(--alignment);
  direction: var(--direction); }

html {
  position: relative;
  min-height: 100%; }

select, option {
  text-align: var(--alignment);
  direction: var(--direction) !important; }

.row {
  display: flex;
  justify-content: center !important; }

.row-not-centered {
  display: flex; }

.sidebyside {
  display: flex;
  justify-content: var(--direction) !important;
  float: var(--direction) !important; }

.row [class*="col-"] {
  float: var(--alignment) !important; }

.page-content {
  direction: var(--direction) !important;
  text-align: var(--alignment) !important;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px; }
  .page-content h1 {
    font-size: x-large;
    color: var(--h1-txt-color); }
  .page-content h2 {
    font-size: large;
    color: var(--h1-txt-color); }

.secondary-body {
  background-color: var(--secondary-body-bg);
  padding-bottom: 20px;
  border-radius: 10px; }

.secondary-body-cus-page {
  background-color: var(--secondary-body-bg);
  border-radius: 10px;
  padding-left: 0px;
  padding-right: 0px; }

.multiple-language-support {
  direction: var(--direction) !important;
  text-align: var(--alignment) !important; }

.isDisabled {
  color: var(--navbar-txt-color) !important;
  cursor: text !important;
  text-decoration: none !important; }

.time-wrap {
  direction: rtl !important; }
  .time-wrap input {
    text-align: center !important; }

td, th, tr {
  padding: 5px !important; }

.reset-form {
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: var(--reset-form-alignment); }
  .reset-form a {
    text-decoration: none; }
    .reset-form a:link, .reset-form a:visited {
      color: var(--reset-link-color); }
    .reset-form a:hover, .reset-form a:active {
      color: var(--reset-link-hover-color); }

.edit {
  cursor: pointer; }

.bootstrap-select .btn {
  background-color: var(--select-bg);
  border-style: solid;
  border: 1px solid var(--select-border); }

.input-group-addon {
  border-style: solid;
  border-color: transparent; }

#msgAlertSystemNoList {
  position: absolute;
  z-index: 1; }

.btn-float {
  z-index: 999;
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 60px;
  right: 40px;
  border-radius: 50% !important;
  box-shadow: 0px 2px 5px 1px var(--action-btn-shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--btn-float-txt-color);
  background-color: var(--btn-float-bg);
  border-color: var(--btn-float-bg); }
  .btn-float:hover, .btn-float:active, .btn-float:visited {
    background-color: var(--btn-float-hover-bg);
    border-color: var(--btn-float-hover-bg); }

.multiple-action-buttons {
  z-index: 999;
  position: fixed;
  bottom: 60px;
  right: 40px; }
  .multiple-action-buttons .action-btn-float {
    box-shadow: 0px 2px 5px 1px var(--action-btn-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--btn-float-txt-color);
    background-color: var(--btn-float-bg);
    border-color: var(--btn-float-bg);
    margin-bottom: 10px; }
    .multiple-action-buttons .action-btn-float:hover, .multiple-action-buttons .action-btn-float:active, .multiple-action-buttons .action-btn-float:visited {
      background-color: var(--btn-float-hover-bg);
      border-color: var(--btn-float-hover-bg); }
  .multiple-action-buttons .btn-light {
    box-shadow: 0px 2px 5px 1px var(--action-btn-shadow);
    display: flex;
    justify-content: center; }

.btn-submit {
  color: var(--btn-submit-txt-color);
  background-color: var(--btn-submit-bg);
  border-color: var(--btn-submit-bg); }
  .btn-submit:hover, .btn-submit:active, .btn-submit:visited {
    background-color: var(--btn-submit-hover-bg);
    border-color: var(--btn-submit-hover-bg); }

footer {
  background-color: var(--footer-bg);
  position: absolute;
  bottom: 0 !important;
  left: 0;
  min-width: 100%; }
  footer p {
    padding-top: 10px;
    text-align: center !important; }

.required label {
  font-weight: bold; }

.required label:after {
  color: var(--required-color);
  content: ' *';
  display: inline; }

a {
  text-decoration: none !important; }
  a:link, a:visited {
    color: var(--reset-link-color); }
  a:hover, a:active {
    color: var(--reset-link-hover-color); }

.hidden {
  visibility: hidden;
  display: none; }

.input-toggle-dark-light {
  -webkit-appearance: none;
  position: relative;
  width: 40px;
  height: 20px;
  background-image: var(--toggle-day-bg);
  background-size: cover;
  border-radius: 50px;
  outline: none;
  transition: background-image 0.9s;
  box-shadow: 0px 1px 3px 1px var(--action-btn-shadow);
  cursor: pointer; }
  .input-toggle-dark-light:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border-radius: 50px;
    transition: all 0.4s;
    background-color: var(--toggle-day-circle); }
  .input-toggle-dark-light:checked {
    background-image: var(--toggle-night-bg);
    transition: background-image 0.9s; }
    .input-toggle-dark-light:checked:before {
      transform: translate(100%);
      transition: all 0.4s;
      background-color: var(--toggle-night-circle); }

.table-alignment {
  text-align: var(--info-tbl-alignment) !important; }

/* ------------------------------ MEDIA ------------------------------ */
/* xs */
#navbar_img {
  width: 60px;
  height: auto; }

/* sm */
@media (min-width: 768px) {
  #navbar_img {
    width: 60px; }
  #addNewEvent, #addNewReminder {
    font-size: small; }
    #addNewEvent input, #addNewReminder input {
      font-size: small; }
    #addNewEvent select, #addNewReminder select {
      font-size: small; }
    #addNewEvent .filter-option-inner-inner, #addNewReminder .filter-option-inner-inner {
      font-size: small !important; } }

/* md */
@media (min-width: 992px) {
  #navbar_img {
    width: 50px; } }

/* lg */
@media (min-width: 1200px) {
  #navbar_img {
    width: 50px; } }

/* ------------------------------ MODAL ------------------------------ */
#alertModalHeader {
  padding: 0.5rem !important; }

.modal-split {
  direction: var(--direction) !important;
  text-align: var(--alignment) !important; }

.modal-header {
  direction: var(--direction) !important;
  text-align: var(--alignment) !important; }
  .modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem -1rem !important; }

.modal-body {
  direction: var(--direction) !important;
  text-align: var(--alignment) !important; }

.footer-btn {
  margin-left: 5px !important;
  margin-right: 5px !important; }

/* ------------------------------ NAVBAR ------------------------------ */
.navbar-main {
  direction: var(--direction);
  text-align: var(--navbar-alignment);
  background-color: var(--navbar-bg);
  /* change the brand and text color */
  /* change the link color */
  /* change the color of active or hovered links */ }
  .navbar-main .navbar-brand, .navbar-main .navbar-text {
    color: var(--navbar-txt-color); }
  .navbar-main .navbar-nav .nav-link {
    color: var(--navbar-link-color); }
  .navbar-main .nav-item.active .nav-link, .navbar-main .nav-item:hover .nav-link {
    color: var(--navbar-txt-hover-color); }
  .navbar-main #msgAlertSystemNoList {
    position: absolute;
    z-index: 1; }

.dropdown-menu, .filter-option {
  direction: var(--direction) !important;
  text-align: var(--alignment) !important; }

.dropdown-nav-header {
  text-align: var(--alignment) !important;
  background: var(--navbar-bg); }
  .dropdown-nav-header .dropdown-header {
    color: var(--text-color); }
  .dropdown-nav-header .dropdown-item {
    text-align: center !important; }
    .dropdown-nav-header .dropdown-item:hover {
      background: var(--nav-item-hover-color);
      color: var(--text-color); }

/* ------------------------------ CALENDAR UNIQUE ------------------------------ */
.cal-secondary-body {
  margin: 10px;
  background-color: var(--secondary-body-bg);
  border-radius: 10px;
  padding: 0 20px 20px 20px !important;
  margin-top: 20px !important; }

#eventInfoTbl {
  text-align: var(--info-tbl-alignment) !important; }

/* ------------------------------ DOCS UNIQUE ------------------------------ */
.DocTblContainer {
  background-color: var(--tbl-container-body);
  padding: 20px 0px 20px 0px; }

.submit-btn-wrap {
  padding-bottom: 20px; }

/* ------------------------------ INDEX UNIQUE ------------------------------ */
.session-table {
  text-align: center !important;
  border-spacing: 0 !important;
  /* Removes the cell spacing via CSS */
  border-collapse: collapse !important; }
  .session-table td, .session-table th, .session-table tr {
    font-size: 12px; }

/* ------------------------------ PACE ------------------------------ */
.pace {
  pointer-events: none;
  user-select: none;
  z-index: 2000;
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  border: 0px;
  height: 3px;
  overflow: hidden;
  background: var(--loader-bar-bg); }

.pace .pace-progress {
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  max-width: 40%;
  position: fixed;
  z-index: 2000;
  display: block;
  position: absolute;
  top: 0;
  right: 100%;
  height: 100%;
  width: 100%;
  background: var(--loader-bar-color); }

.pace.pace-inactive {
  display: none; }

#preloader {
  z-index: 1900;
  width: 100%;
  height: 100vh;
  background: var(--loader-bg);
  overflow: hidden;
  position: fixed;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1); }

.modal-content {
  background: var(--container-body-bg); }
  .modal-content span {
    color: var(--text-color); }

.modal-backdrop {
  opacity: var(--modal-bg-opacity) !important; }

.loader {
  border: 16px solid var(--loader-bar-bg);
  border-radius: 50%;
  border-top: 16px solid var(--loader-bar-color);
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  /* Safari */
  animation: spin 2s linear infinite;
  margin-top: 25%; }

.loader-wrap {
  z-index: 1900;
  width: 100%;
  height: 100vh;
  background: var(--loader-bg);
  overflow: hidden;
  position: fixed;
  display: flex;
  justify-content: center; }

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg); } }

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

/* ------------------------------ CUSTOMER PAGE ------------------------------ */
.sidebar {
  display: flex;
  --alignment: none !important;
  text-align: var(--alignment) !important;
  float: var(--alignment) !important; }

.sidemenu_list {
  list-style-type: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff; }

.links_name {
  text-align: var(--alignment) !important;
  display: flex; }

.cus-file-btn-specials {
  margin-bottom: 5px;
  width: 140px; }

.chosen-special-btn {
  background-color: var(--btn-float-bg); }

.cus-file-btn-action {
  margin-bottom: 5px; }

.btn-cus-file {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem; }

/* xs */
.info-el {
  background-color: var(--info-el-color);
  border: solid 0.5px grey;
  border-radius: 5px;
  width: 100%; }

.info-el:empty {
  background-color: var(--info-el-color);
  border: solid 0.5px grey;
  border-radius: 5px;
  width: 100%;
  height: 28px; }

.select-el {
  background-color: var(--info-el-color);
  border: solid 0.5px grey;
  border-radius: 5px;
  width: 100%;
  height: 28px;
  color: var(--text-color); }

.id-size {
  width: 200px; }

.no-size {
  width: 200px; }

.g-size {
  width: 200px; }

.cus-det-bottom {
  margin-bottom: 10px; }

/* sm */
@media (min-width: 768px) {
  .info-el {
    background-color: var(--info-el-color);
    border: solid 0.5px grey;
    border-radius: 5px;
    width: 225px; }
  .info-el:empty {
    background-color: var(--info-el-color);
    border: solid 0.5px grey;
    border-radius: 5px;
    width: 225px;
    height: 28px; }
  .select-el {
    background-color: var(--info-el-color);
    border: solid 0.5px grey;
    border-radius: 5px;
    width: 225px;
    height: 28px;
    color: var(--text-color); }
  .id-size {
    width: 130px; }
  .no-size {
    width: 190px; }
  .g-size {
    width: 100px; }
  .cus-det-bottom {
    margin-bottom: 0px; } }

/* md */
@media (min-width: 992px) {
  .info-el {
    background-color: var(--info-el-color);
    border: solid 0.5px grey;
    border-radius: 5px;
    width: 225px; }
  .info-el:empty {
    background-color: var(--info-el-color);
    border: solid 0.5px grey;
    border-radius: 5px;
    width: 225px;
    height: 28px; }
  .select-el {
    background-color: var(--info-el-color);
    border: solid 0.5px grey;
    border-radius: 5px;
    width: 225px;
    height: 28px;
    color: var(--text-color); }
  .id-size {
    width: 130px; }
  .no-size {
    width: 190px; }
  .g-size {
    width: 100px; }
  .cus-det-bottom {
    margin-bottom: 0px; } }

/* lg */
@media (min-width: 1200px) {
  .info-el {
    background-color: var(--info-el-color);
    border: solid 0.5px grey;
    border-radius: 5px;
    width: 225px; }
  .info-el:empty {
    background-color: var(--info-el-color);
    border: solid 0.5px grey;
    border-radius: 5px;
    width: 225px;
    height: 28px; }
  .select-el {
    background-color: var(--info-el-color);
    border: solid 0.5px grey;
    border-radius: 5px;
    width: 225px;
    height: 28px;
    color: var(--text-color); }
  .id-size {
    width: 130px; }
  .no-size {
    width: 190px; }
  .g-size {
    width: 100px; }
  .cus-det-bottom {
    margin-bottom: 0px; } }

.notes-el {
  background-color: var(--info-el-color);
  border: solid 0.5px grey;
  border-radius: 5px;
  width: 590px;
  height: 500px; }

.l-size {
  width: 100px; }

.modal-info-el {
  background-color: var(--info-el-color);
  border: solid 0.5px grey;
  border-radius: 5px; }

.a-btn {
  color: var(--text-color);
  background-color: var(--a-btn-background-color);
  padding: 5px 5px;
  text-decoration: none;
  border: solid 0.5px grey;
  border-radius: 5px; }

.dropdown-actions-header {
  text-align: var(--alignment) !important;
  background: var(--a-btn-background-color); }
  .dropdown-actions-header .dropdown-item {
    text-align: center !important; }
    .dropdown-actions-header .dropdown-item:hover {
      background: var(--nav-item-hover-color);
      color: var(--text-color); }

.divider {
  /* minor cosmetics */
  display: table;
  font-size: 16px;
  text-align: center;
  width: 100%;
  /* divider width */ }

.divider span {
  display: table-cell;
  position: relative; }

.divider span:first-child, .divider span:last-child {
  width: 50%;
  top: 13px;
  /* adjust vertical align */
  background-size: 100% 2px;
  /* line width */
  background-position: 0 0, 0 100%;
  background-repeat: no-repeat; }

.divider span:first-child {
  /* color changes in here */
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), to(#000));
  background-image: -webkit-linear-gradient(180deg, transparent, #000);
  background-image: -moz-linear-gradient(180deg, transparent, #000);
  background-image: -o-linear-gradient(180deg, transparent, #000);
  background-image: linear-gradient(90deg, transparent, #000); }

.divider span:nth-child(2) {
  color: #000;
  padding: 0px 5px;
  width: auto;
  white-space: nowrap; }

.divider span:last-child {
  /* color changes in here */
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#000), to(transparent));
  background-image: -webkit-linear-gradient(180deg, #000, transparent);
  background-image: -moz-linear-gradient(180deg, #000, transparent);
  background-image: -o-linear-gradient(180deg, #000, transparent);
  background-image: linear-gradient(90deg, #000, transparent); }
