html,
body {
  height: 100% !important; /* Full height of the viewport */
  margin: 0;
}
*::-webkit-scrollbar {
  width: 0.9em;
}

*::-webkit-scrollbar-track {
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
}

*::-webkit-scrollbar-thumb {
  background-color: #5abafc;
  outline: 1px solid #91d1fd;
}
.navbar {
  /* padding: 10px 0px; */
  background-color: #fff;
  box-shadow: 1px 1px 10px 1px;
  margin-bottom: 0px !important;
}
/* .navbar-brand {
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
  color: #3db2ff !important;
  text-shadow: 2px 1px 1px #3db2ff;
} */

.navbar-brand {
  width: 110px;
  height: 60px;
  margin-right: 20px;
}
.navbar-nav li {
  font-size: 12px;
  font-weight: 500;
  margin-left: 4px;
  margin-top: 7px;
}
.navbar-nav.n1 li:hover {
  background-color: #fdb741 !important;
  border-radius: 5px;
}
.navbar-nav.n1 li:not(.active):hover a {
  color: #fff !important;
  font-weight: 500;
}

.navbar-nav li.active a {
  font-size: 15px;
  font-weight: 600;
}
.navbar-nav li.active a::after {
  content: "";
  display: block;
  margin-top: 6px;
  border-bottom: 3px solid #fc5404;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.navbar-nav li.active a {
  font-size: 15px;
  font-weight: 600;
  /* color: #fff !important; */
}
.navbar-nav > li > .dropdown-menu {
  margin-top: 20px !important;
  padding: 10px 5px;
  border-radius: 5px;
  width: 300px;
  box-shadow: 2px 2px 10px 1px #999 !important;
  overflow-y: auto;
  max-height: 500px;
}
.navbar-nav > li > .dropdown-menu li {
  margin-left: 0px;
}
.navbar-nav > li > .dropdown-menu li a {
  padding: 15px 5px !important;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.navbar-nav > li > .dropdown-menu img {
  /* color: red; */
  margin: 0px 10px 0px 0px;
}
.navbar-nav .dropdown-toggle:focus {
  /* color: red; */
  background-color: transparent !important;
}
.deconnect a:hover {
  color: red !important;
}
#generalTabContent .thumbnail {
  width: 100%;
  margin-top: 30px;
  box-shadow: 1px 1px 10px 3px #eee;
  border-radius: 10px !important;
  text-align: center;
  min-height: 180px !important;
}
#generalTabContent .thumbnail:hover {
  transform: scale(1.1);
}
#generalTabContent .thumbnail a:hover {
  color: #5555;
}
#generalTabContent .thumbnail-head {
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: Center;
  align-items: center;
}
#generalTabContent .thumbnail-text {
  color: #fff;
  font-weight: bold;
}
#generalTabContent .thumbnail-icon {
  font-size: 1.9em !important;
  line-height: 0.75em !important;
  vertical-align: -15%;
  color: #fff;
}
#generalTabContent .content-thumbnail:nth-child(1) .thumbnail {
  background-color: #ffb830;
}
#generalTabContent .content-thumbnail:nth-child(2) .thumbnail {
  background-color: #fb2a43;
}
#generalTabContent .content-thumbnail:nth-child(3) .thumbnail {
  background-color: #3db2ff;
}
#generalTabContent .content-thumbnail:nth-child(4) .thumbnail {
  background-color: #fc5404;
}
.btn {
  padding: 15px;
  box-shadow: 1px 1px 10px 3px #eee !important;
  border-radius: 0.5rem !important;
  text-align: center !important;
  border: none !important;
  outline: none !important;
}
.toggle-on.btn,
.toggle-off.btn {
  box-shadow: 0px 0px 0px 0px #fff !important;
  border: 1px solid !important;
}
.btn-red {
  background-color: #fb2a43 !important;
  transition: 0.1s ease-in;
}
.btn-red:hover {
  background-color: #fb2a43 !important;
  transition: 0.1s ease-in;
}
.btn-orange {
  background-color: #f85617 !important;
  transition: 0.1s ease-in;
}
.btn-orange:hover {
  background-color: #f58e75 !important;
  transition: 0.1s ease-in;
}

.btn-blue {
  background-color: #3db2ff !important;
  transition: 0.1s ease-in;
}
.btn-blue:hover {
  background-color: #73e1fd !important;
  transition: 0.1s ease-in;
}
.btn-green {
  background-color: green !important;
  transition: 0.1s ease-in;
}
.btn-green:hover {
  background-color: #63e555 !important;
  transition: 0.1s ease-in;
}
.btn-dark {
  background-color: #383838 !important;
  transition: 0.1s ease-in;
}
.btn-dark:hover {
  background-color: #6c757d !important;
  transition: 0.1s ease-in;
}
.btn-red:hover {
  background-color: #e87a83 !important;
}

table th:nth-child(1) {
  border-radius: 6px 0px 0px 6px;
}
table th:nth-last-child(1) {
  border-radius: 0px 6px 6px 0px;
}
.table thead tr {
  /* background-color: #fc5404; */
  /* background-color: #343334; */
  /* background-color: #707dd6; */
  background-color: #e86253;
}
.table thead th {
  color: #fff;
  font-size: 13px;
  padding: 20px !important;

  /* font-weight: 600px; */
}
.table tbody td,
.table tfoot td {
  padding: 20px !important;
}

.table tbody tr:nth-child(even) {
  background: #f5f5f5;
}
.table tbody tr:nth-child(odd) {
  background: #fff;
}
.table-hover > tbody > tr:hover > td {
  background-color: #ddd;
}
.table {
  margin-bottom: 0px !important;
}
.alert {
  border-radius: 4px !important;
  /* box-shadow: 1px 1px 2px 2px #fff; */
}
.responsive-table {
  /* overflow: auto; */
  width: 100%; /* Ensure the table fits within the panel */
  overflow-x: auto; /* Allow horizontal scrolling within the panel */
  display: block; /* Prevent the table from exceeding the panel width */
}
.responsive-table::-webkit-scrollbar {
  width: 0.5em;
}

.responsive-table::-webkit-scrollbar-track {
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
}

.responsive-table::-webkit-scrollbar-thumb {
  background-color: #5abafc;
  outline: 1px solid #91d1fd;
}
.custom-dropdown select,
.custom-input {
  font-size: inherit;
  padding-right: 1.2rem;
  height: 50px;
  text-indent: 5px;
  margin: 0 0 10px;
  border-radius: 5px !important;
  /* text-overflow: ''; */
  -webkit-appearance: button;
  /* hide default arrow in chrome OSX */
}

.custom-dropdown select:hover {
  cursor: pointer;
}
.nb_lign_inp {
  height: 50px;
  text-indent: 5px;
  margin: 0;
  border-radius: 5px !important;
  width: 50px;
  text-align: left;
}
.form-actions-import {
  background-color: #fff;
  /* display: flex;
  justify-content: space-around; */
  align-items: center;
  /* height: 150px; */
  margin-left: 15px !important;
  padding: 40px !important;
}
.border-solid {
  border: 1px solid #ccc !important;
}
.border-none {
  border: none !important;
}
.label-control {
  font-size: 16px;
  color: #999;
  font-weight: 600;
  padding: 5px;
}
/*****************File Input Style**************/

.button-wrapper {
  position: relative;
  /* min-width: 220px; */
  text-align: center;
  cursor: pointer;
  margin-bottom: 10px;
}

.button-wrapper .label {
  z-index: 0;
  display: inline-block;
  width: 100%;
  color: #fff;
  padding: 0 10px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  height: 50px;
  line-height: 50px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.upload-box {
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 50px;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}
.upload-box-td {
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 50px;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

/*****************End File Input Style**************/
.form-group {
  margin-left: 15px !important;
  margin-right: 15px !important;
}
.form-body {
  margin: auto;
  max-width: 760px !important;
}
.row {
  margin-left: 0;
  margin-right: 0;
}
.row-buttons-form {
  /* margin-right: 30px; */
}
.row-buttons-form > div {
  display: flex;
  justify-content: flex-end;
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="password"],
.form-group input[type="email"] {
  padding: 25px !important;
  border-radius: 7px !important;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  border: 1px solid #ccc;
  color: #666;
  /* width: 100%; */
}
.form-group select {
  /* padding: 10px 25px !important; */
  height: 52px;
  /* line-height: 52px; */
  border-radius: 7px !important;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  border: 1px solid #ccc;
  color: #666;
}
.side-bar {
  /* border-radius: 2px; */
  background-color: #fff;
  width: 15.3333%;
  /* margin-top: -19px; */
  /* box-shadow: 1px 1px 6px 3px #eee; */
  z-index: 2;
  transition: all 0.3s ease-in-out;
}
.side-bar.active {
  transform: translateX(-100%);
  position: absolute;
  /* display: none; */
}
.toggle-side {
  margin-top: 30px !important;
}
.toggle-side.active-side {
  position: relative;
  left: 50px;
  top: 30px;
  margin-top: 0px !important;
}
@media only screen and (max-width: 1200px) {
  /*Tablets [601px -> 1200px]*/
  .side-bar {
    position: absolute;
    width: 300px;
    z-index: 99;
    box-shadow: 1px 1px 5px #ccc;
  }
}

/* .side-bar {
  position: fixed !important;
  top: 90;
  left: 0;
  width: 15.3333%;
  height: 85%;
  background-color: #fff;
  padding: 15px;
} */
.sidebar-list {
  list-style: none;
  padding: 2px;
  overflow-y: auto;
  height: 76vh;
}
.sidebar-list li {
  padding: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
  font-size: 14px;
}
.sidebar-list li:nth-child(odd) {
  background-color: #f5f5f5;
}
.sidebar-list li:nth-child(even) {
  background-color: #fff;
}
.sidebar-list::-webkit-scrollbar {
  width: 0.5em;
}

.sidebar-list::-webkit-scrollbar-track {
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
}

.sidebar-list::-webkit-scrollbar-thumb {
  background-color: #5abafc;
  outline: 1px solid #91d1fd;
}
.buttons-export {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  /* background-color: #fff; */
  /* padding: 20px; */
}
.buttons-export .button {
  width: 250px;
  margin-bottom: 10px;
}
.buttons-export a:hover {
  color: #999999;
  cursor: pointer;
}
.buttons-export .button:hover {
  background-color: #eee;
  cursor: pointer;
}
.image-upload > input {
  display: none;
}
.custom-badge {
  display: inline-block;
  /* background-color: #eee; */
  border-radius: 7px;
  color: #fff;
  padding: 0.5em 0.75em;
  position: relative;
  top: 10px;
  right: -50px;
  font-size: 11px;
  color: #383838;
  font-weight: bold;
}
.custom-badge:hover {
  background-color: #fe4365;
  color: #fff;
}
.custom-badge:hover .text1 {
  display: block;
}

.custom-pulsate::before {
  content: "";
  /* display: block; */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  animation: pulse 1s ease infinite;
  border-radius: 7px;
  border: 1px double #fe4365;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  60% {
    transform: scale(1.1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* ************toggle checkbox ************ */
/* *************************************** */

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2fa150;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2fa150;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/* ************END toggle checkbox ************ */
/* *************************************** */

/* ************toggle checkbox ************ */
/* @media only screen and (min-width: 968px) {
  .responsive-table {
    overflow-x: hidden;
  }
} */
/* ************custom checkbox ************ */
.container-checkbox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Hide the browser's default checkbox */
.container-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
/* Create a custom checkbox */
.custom-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}
/* On mouse-over, add a grey background color */
.container-checkbox:hover input ~ .custom-checkbox {
  background-color: #ccc;
}
/* When the checkbox is checked, add a blue background */
.container-checkbox input:checked ~ .custom-checkbox {
  background-color: #3db2ff;
}
/* Create the checkmark/indicator (hidden when not checked) */
.custom-checkbox:after {
  content: "";
  position: absolute;
  display: none;
}
/* Show the checkmark when checked */
.container-checkbox input:checked ~ .custom-checkbox:after {
  display: block;
}
/* Style the checkmark/indicator */
.container-checkbox .custom-checkbox:after {
  left: 9px;
  top: 7px;
  width: 7px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.swal2-modal {
  font-size: 18px;
}
/* ************END custom checkbox ************ */
/* ************ Grid ************ */
.grid-container-2 {
  position: relative;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  width: 100%;
  background-color: #f0f2f5;
  overflow: hidden;
}

#screen_to_show {
  width: 98%;
  margin: 0 auto;
}

/* ************END Grid ************ */

/* *************************************** */
/* ************Side Bar ****************** */
#toggleSidebar {
  position: absolute;
  top: 10px;
  left: 208px;
  z-index: 99;
  transition: left 0.3s ease;
  background: transparent;
  border: none;
  color: #adacac;
}
#toggleSidebar i {
  font-size: 20px;
}
#toggleSidebar.active {
  color: #ffffff;
}

.sidebar-hidden #toggleSidebar {
  left: 10px;
  top: 6px;
  width: 40px;
  height: 40px;
  padding: 10px;
  background: white;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  color: #adacac;
}
.sidebar-container {
  background-color: #fff;
  height: calc(100vh - 132px); /* Full height minus footer or bottom margin */
  overflow: auto; /* Allows internal scrolling if necessary */
  box-shadow: 2px 0 5px -2px #888;
  width: 250px;
  position: relative;
  transition: width 0.3s ease;
  margin-bottom: 0; /* Remove bottom margin to avoid extra space */
}
.sidebar-hidden .sidebar-container {
  width: 0;
  /* right: 1000px; */
  /* z-index: 99; */
}

.sidebar-hidden .grid-container-2 {
  grid-template-columns: 40px 1fr;
}

.sidebar-menu-item {
  display: block;
  font-size: 16px;
  color: #777;
  border-bottom: 1px solid #eef1f1;
  cursor: pointer;
}

.sidebar-menu-item > a.active {
  background-color: #fba834 !important;
  color: #fff;
  font-weight: 600;
}
.sidebar-menu-item .submenu li > a.active {
  background-color: #ccc !important;
  color: #fff;
  font-weight: 500;
}
.sidebar-menu-item a {
  display: block;
  padding: 15px;
}
.sidebar-menu-item:hover > a {
  color: #ffffff;
  background-color: #fba834;
}

.sidebar-menu-item ul li:hover a {
  color: #ffffff;
  background-color: #ccc;
}
.sidebar-menu-item ul li ul li a {
  padding-left: 80px;
}

.sidebar-menu-item ul li:hover ul li a {
  color: #777;
  background-color: #fff;
}
.sidebar-menu-item ul li ul li a:hover {
  background-color: #f5f7f8;
}

.sidebar-menu-item ul li a {
  padding-left: 50px;
}
.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.submenu.visible {
  max-height: 1000px;
  /* Adjust this value based on your needs */
}

/* ************END Side Bar ****************** */
/* *************************************** */

/* ************custom classes ****************** */
/* *************************************** */
.d-none {
  display: none;
}
.d-flex {
  display: flex;
}
.flex-row {
  flex-direction: row;
}
.flex-column {
  flex-direction: column;
}
.justify-start {
  justify-content: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}
.justify-end {
  justify-content: flex-end;
}
.align-items-center {
  align-items: center;
}
.align-items-baseline {
  align-items: baseline;
}
.gap-20 {
  gap: 20px;
}
.m-10 {
  margin: 10px;
}
.mt-10 {
  margin-top: 10px !important;
}
.m-auto {
  margin: auto !important;
}
.w-25 {
  width: 25% !important;
}
.w-50 {
  width: 50% !important;
}
.w-75 {
  width: 75% !important;
}
.w-100 {
  width: 100% !important;
}
.w-auto {
  width: auto !important;
}
.h-25 {
  height: 25% !important;
}
.h-50 {
  height: 50% !important;
}
.h-75 {
  height: 75% !important;
}
.h-100 {
  height: 100% !important;
}
.h-auto {
  height: auto !important;
}
.text-white {
  color: white;
}

.form-group input[type="number"] {
  padding: 25px !important;
  border-radius: 7px !important;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  border: 1px solid #ccc;
  color: #666;
  /* width: 100%; */
}
.panel {
  margin-bottom: 80px !important;
  overflow: auto;
  min-width: 0;
}
/* hide select element arrow down */
.select-arrow-hide {
  -webkit-appearance: none !important; /* Safari and Chrome */
  -moz-appearance: none !important; /* Firefox */
  appearance: none !important; /* Other browsers */
  /* Additional styles for custom appearance */
  background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 9l-7 7-7-7"/></svg>')
    no-repeat right 10px center;
  padding-right: 30px !important; /* Adjust padding to prevent text overlap with custom arrow */
}
/* handle exports select style */
#exportSelect {
  cursor: pointer;
  /* border: none !important; */
  outline: none !important;
  /* border-bottom: 1px solid #eee !important; */
  font-size: 16px;
  color: #444;
  border: 1px solid #ccc !important;
  border-radius: 5px !important;
  padding: 5px;
}

/* loading style */
.loading {
  display: none;
  text-align: center;
  position: fixed;
  z-index: 999;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  color: white;
  padding: 10px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
}

.card {
  margin: 20px auto;
  width: 400px;
  /* width: fit-content; */
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.radio-button {
  display: inline-block;
  position: relative;
  margin-right: 10px;
  cursor: pointer;
}

.radio-button input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-button label {
  display: inline-block;
  padding: 8px 10px;
  background-color: #ccc;
  border-radius: 4px;
  font-size: 12px;
  transition: background-color 0.3s;
  padding-right: 20px;
  cursor: pointer;
}

.radio-button label:after {
  content: "\2713";
  position: absolute;
  right: 6px;
  top: 45%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: bold;
  color: transparent;
  transition: color 0.3s;
}

.radio-button input:checked ~ label {
  background-color: #0a863a;
  color: white;
}

.radio-button input:checked ~ label:after {
  color: white;
}
.required_icon::after {
  content: "*";
  color: red;
  font-weight: 600;
}
label:has(+ .required-input)::after,
label:has(+ * > .required-input)::after {
  content: "*";
  color: red;
  font-weight: 600;
  margin-left: 4px;
}

/* scroll to top button style */
/* #scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 0;
  background-color: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none; 
  font-size: 20px; 
  z-index: 999999;
} */
html {
  scroll-behavior: smooth; /* Enable smooth scrolling */
}
/* Override the navbar collapse breakpoint */
/* Make sure the toggle button works and is hidden only when screen is above 1200px */
@media (min-width: 1200px) {
  .navbar-toggle {
    opacity: 0; /* Hide the toggle button visually */
    pointer-events: none; /* Prevent interaction with it */
  }
}

/* Show the toggle button at screens less than 1200px */
/* @media (max-width: 1199px) {
  .navbar-toggle {
    opacity: 1;
    pointer-events: auto; 
  }
}

@media (max-width: 1199px) {
  #bs-example-navbar-collapse-1 {
    display: block !important; 
  }
}

@media (min-width: 1200px) {
  #bs-example-navbar-collapse-1 {
    display: flex !important; 
  }
} */
