.top-header{    overflow: scroll;
    white-space: nowrap;}
    .navbar-expand-lg .navbar-nav .nav-link{padding-right: 10px;
        padding-left: 10px;}
/* WebKit-Specific Styles */
.login-page {
  height: auto;
}

input[type="radio"]:hover {
  cursor: pointer;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  appearance: none;
  -moz-appearance: textfield;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {                                                       
  background-color: var(--gray);            
  border-radius: 5px;
}                                   

::-webkit-scrollbar-thumb:hover {
  background-color: #405466;
}

.text-gray {
  color: #8b8b8b;
}

/* Regular Styles */
.title1 {
  font-size: 2.25rem;
}

.title2 {
  font-size: 2rem;
}

.title3 {
  font-size: 1.75rem;
}

.title4 {
  font-size: 1.5rem;
}

.title5 {
  font-size: 1.25rem;
}

.title6 {
  font-size: 1rem;
}

.title7 {
  font-size: 0.8rem;
}

.text-black {
  color: #343a40;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
  background: var(--primary-color);
}

.layout-fixed .main-sidebar {
  border-right: 2px solid var(--primary-color);
  overflow-x: hidden;
  z-index: 99;
}

.main-header {
  background: var(--primary-color);
}

.main-header ul li a {
  color: #fff;
}

.nav-pills .nav-link {
  color: #2a3547;
}

.info-box .progress .progress-bar {
  background: #222;
}

.info-box {
  border-width: 2px !important;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
    rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}
      
.taskopen .info-box{      
    border-left: 10px solid #17a2b8 !important;
    border-radius: 10px;
}

.nav-pills .nav-link:not(.active):hover {
  color: var(--primary-color) !important;
}

.uppercase-text {
  text-transform: uppercase;
}

[class*="sidebar-dark-"] .nav-treeview>.nav-item>.nav-link>.costom-sub-menu {
  margin-left: 20px !important;
}

.nav-item.active {
  background-color: #405466;
  color: #fff;
  /* or another color for text in the active state */
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 11rem;
  width: fit-content;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: var(--text-white);
  text-align: left;
  list-style: none;
  background-color: var(--gray);
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.3s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown:active .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a:hover {
  background-color: #f8f9fa;
}

/* .btn-theme,    
.btn-danger {
  padding: 5px 10px;
  position: relative;
  z-index: 1;
  overflow: hidden;
} */
/* .btn-theme,
.btn-danger,    
.btn-theme:hover,
.btn-danger:hover {
  color: #fff;
  border: 2px solid var(--primary-color);
  background-color: var(--primary-color);
} */
/* ... Other styles ... */
/* Animation Styles */
/* .btn-theme:hover::after,
.btn-danger:hover::after {
  transition: all 0.5s ease-out;
  transform: scale(1, 1);
} */
/* .btn-theme::after,
.btn-danger::after {
  content: "";
  background: var(--light-color);
  position: absolute;
  z-index: -1;
  padding: 0.85em 0.75em;
  display: block;
  border-radius: 50%;
  left: -50%;
  right: -50%;
  top: -150%;
  bottom: -150%;
  line-height: 8.34em;      
  transform: scale(0, 0);
  transition: all 0.5s ease;
} */

/* new btn by usama */
/* Common styles for all buttons */
.btn,
.btn-theme,
.btn-danger,
.edit-btn {
  align-items: center;
  color: #ffffff;
  z-index: 1;
  overflow: hidden;
  border: none !important;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
}
   
.sucess-btn{
  align-items: center;               
  color: #ffffff;
  z-index: 1;
  overflow: hidden;
  border: none !important;
  padding: 4px 10px;
  /* border-radius: 5px; */
  cursor: pointer;
  background: var(--success);

}
/* Theme button */
.btn.btn-theme {
  /* font-size: 18px; */
  background: var(--gray);
  box-shadow: 2px 3px 0 #405466;
}

.btn.btn-theme:active {
  transform: translate(0, 3px);
}


.btn.btn-theme:hover {
  background-color: #405466;
  box-shadow: none;   
  /* transform: translate(0, 3px); */
}

/* Danger button */
.btn-danger {
  /* font-size: 18px; */
  background: var(--danger-color);
  box-shadow: 2px 3px 0 #db1d2f;
}

.btn-danger:active:hover {
  box-shadow: none !important;
  color: var(--text-white) !important;
  background-color: #db1d2f !important;
  transform: translate(0, 3px) !important;
}

/* Edit button */
.edit-btn {
  font-family: 'Noto Sans';
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 68px;
  height: 32px;
  box-shadow: 2px 3px 0 #405466;
  background-color: var(--gray);
  color: var(--text-white);
  font-weight: 500;
  transition-duration: 0.3s;
}

.edit-btn .edit-svg {
  width: 13px;
  position: absolute;
  right: 0;
  margin-right: 15px;
  fill: var(--text-white);
  transition-duration: 0.3s;
}

.edit-btn:hover {
  color: transparent;
  background-color: #405466;
  box-shadow: none;
  /* transform: translate(0, 3px); */
}

.edit-btn:hover .edit-svg {
  right: 40%;
  margin: 0;
  padding: 0;
  border: none;
  transition-duration: 0.3s;
}

.edit-btn:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0px #405466;
}

.edit-btn:hover .edit-svg {
  right: 43%;
  margin: 0;
  padding: 0;
  border: none;
  transition-duration: 0.3s;
}

.rotate {
  -moz-transition: all 0.5s linear;
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

.rotate.down {
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.costom-card {
  border-radius: 15px;
}

/* .costom-head {
  background: #343a40 !important;
  padding: 10px;
  cursor: pointer;
  user-select: none;
  border-radius: 15px;
  color: #c2c7d0 !important;
} */

.costom-head {
  background: #343a40;
}

.costom-head a {
  color: #c2c7d0;
}

.costom-head a i {
  float: right;
  transition: 0.5s;
}

.costom-head a[aria-expanded="true"] i {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  transform: rotate(180deg);
}

.accordion-content {
  padding: 12px;
  display: none;
}

.accordion-item.active .accordion-content {
  display: block;
}

/*   
  .btn-theme:hover::after,
  .btn-danger:hover::after {
    transition: all 0.5s ease-out;
    transform: scale(1, 1);
  } */
/* .btn-theme::after,
  .btn-danger::after {
    content: "";
    background: var(--light-color);
    position: absolute;
    z-index: -1;
    padding: 0.85em 0.75em;
    display: block;
    border-radius: 50%;
    left: -50%;
    right: -50%;
    top: -150%;
    bottom: -150%;
    line-height: 8.34em;      
    transform: scale(0, 0);
    transition: all 0.5s ease;
  } */

.rotate-down {
  transform: rotate(90deg);
  transition: transform 0.3s ease-out;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  transition: max-height 0.3s ease-in;
}

.folio-user {
  display: flex;
  align-items: center;
}

.folio-body img {
  width: 100px;
}

.folio-body td {
  text-align: center;
  vertical-align: middle;
}

.folio-body .folio-user {
  text-align: left;
}

#accordion .costom-card [aria-expanded="true"] i {
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

#accordion .rotate {
  -moz-transition: all 0.3s linear;
  -webkit-transition: all 03s linear;
  transition: all 0.3s linear;
}

#accordion .costom-card .btn-link {
  width: 100%;
  text-align: left;
}

#accordion .costom-card i {
  float: right;
}

.custom-tab .nav-tabs .nav-link.active {
  background-color: #007bff !important;
  color: #fff !important;
  border-top: 3px solid var(--primary-color) !important;
}

.back-light-blue {
  background-color: #e4f1f9 !important;
}

/* .folio-accordon .card-header{background:#343a40;}
.folio-accordon .card-header a{color:#c2c7d0;}
.folio-accordon .card-header a i{float:right;transition:0.5s;}
.folio-accordon .card-header a[aria-expanded="true"] i {
            -webkit-transform: rotate(180deg);
            -moz-transform: rotate(180deg);
            transform: rotate(180deg);
        } */


#costom-dropdown .dropdown [aria-expanded="true"] i.rotate {
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

#costom-dropdown .rotate {
  -moz-transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.a-blue {
  color: #007bff !important;
  text-decoration: underline !important;
  background-color: transparent !important;
}

.a-blue:hover {
  color: #000000 !important;
  text-decoration: none !important;
  background-color: transparent !important;
}

.bg-grey {
  background: #eee;
}

.text-grey {
  color: var(--gray);
}



.custom-tabs .nav-item .nav-link.active {
  color: white;
  background-color: var(--primary-color);
  border-radius: 7px;
  border: none;   

}     

.custom-tabs .nav-item .nav-link:hover {
  border: none;

}
.custom-tab-btn{
border-bottom: none;

}

.costom-tab2 .nav-item .nav-link.active {
  /* color: white; */
  /* background-color: var(--primary-color); */
  border-radius: 7px;
  /* border: none;    */

}     

/* .costom-tab2 .nav-item .nav-link:hover {
  border: none;

} */
.custom-tab-btn2{
border-bottom: none;

}
      
.dropdown-pdf {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 11rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: var(--gray-dark);
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;                                                                  
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
  opacity: 0;                                                                                               
  visibility: hidden;                                        
  transition: opacity 0.5s ease, visibility 0.3s ease;                                                                                                                                  
}                             
                                                                 
.word-wrap {
  white-space: nowrap;     /* Prevents text from wrapping */
  overflow: hidden;        /* Hides any content that overflows */ 
  position: relative;      /* Required for ::after positioning */
  width: 330px;
}                                                                                          
                                                                  
.word-wrap::after {      
  content: '...more';     /* Customized ellipsis text */
  position: absolute;     /* Position relative to parent */
  right: 0;               /* Aligns ellipsis to the right */
  bottom: 0;              /* Aligns ellipsis to the bottom */
  background-color: white; /* Matches background color */
  padding-left: 2px;      /* Adjust padding as needed */
}

.scrollmenu{
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow-y: hidden;
}

/*For sticky header*/
.sticky-thead {
    position: sticky;
    top: -11px;      
}
/*For sticky header*/


