
html {
  font-family: 'helvetica', sans-serif !important;
  font-size: 0.9rem !important;
  transition: .5s
}

table.dataTable td {
    font-size: 0.9rem !important;
}
table.dataTable thead th {
    font-size: 0.9rem !important;
}

.nav_bg{
  /* background-image: linear-gradient( to bottom, #D2691E, #E1993C ) !important; */
  background-color: #F2F5FF;
}

.olist{

}

.olist:hover{
	background-color: #cccccc;
}


/* DASHBOARD */

/* Reset default browser styles for consistency */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Define harmonious color palette using CSS variables */
:root {
  --primary-color: #4A90E2;       /* Blue shade */
  --secondary-color: #50E3C2;     /* Teal shade */
  --background-color: #F5F7FA;    /* Light gray */
  --text-color: #4A4A4A;          /* Dark gray */
  --white-color: #FFFFFF;         /* Pure white */
}

/* Base body styles */
body {
  font-family: 'helvetica', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Dashboard layout styling */
.dashboard {
  display: flex;
  /* min-height: 100vh */;
}

/* Sidebar styling */
.sidebar {
  width: 250px;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 20px;
  transition: width 0.3s;
}

.sidebar .logo {
  font-size: 24px;
  margin-bottom: 30px;
}

.sidebar ul {
  list-style-type: none;
}

.sidebar ul li {
  margin-bottom: 20px;
}

.sidebar ul li a {
  color: var(--white-color);
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

/* Sidebar link hover effect */
.sidebar ul li a:hover {
  color: var(--secondary-color);
  padding-left: 10px;
}

/* Main content area styling */
.main-content {
  flex: 1;
  padding: 20px;
}

/* Header section styling */
header h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

header p {
  font-size: 18px;
  color: var(--text-color);
}

/* Widgets section layout */
.widgets {
  display: flex;
  margin-top: 30px;
  gap: 20px;
}

/* Individual widget styling */
.widget {
  background-color: var(--white-color);
  padding: 20px;
  border-radius: 8px;
  flex: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.widget h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.widget p {
  font-size: 28px;
  font-weight: bold;
}

/* Widget hover effect */
.widget:hover {
  transform: scale(1.02); /* translateY(-5px); */
}

/* Charts section layout */
.charts {
  display: flex;
  margin-top: 40px;
  gap: 20px;
}

/* Chart container styling */
.chart-container {
  background-color: var(--white-color);
  padding: 20px;
  border-radius: 8px;
  flex: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .widgets, .charts {
      flex-direction: column;
  }

  .sidebar {
      width: 60px;
  }

  .sidebar .logo,
  .sidebar ul li a {
      display: none;
  }
}


/* k css */

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .nav-link{   }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }
	.dropdown-item:hover{ color: #ffffff; background-color: #999999; }
}	
/* ============ desktop view .end// ============ */

/*
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    /* height: 50px;
    line-height: 30px; *//* Vertically center the text there *//*
}
.tab_bg{
  background-image: linear-gradient( to bottom, #4F4F4F 0%, #6C6C6C 40%, #6C6C6C 60%, #4F4F4F 100% ) !important;
}

*/

.nav-tabs{
    /* background: linear-gradient(to bottom, #ffffff 50%, #dddddd 100%) !important; */
	/* background-image: linear-gradient( to bottom, #4F4F4F 0%, #6C6C6C 40%, #6C6C6C 60%, #4F4F4F 100% ) !important; */
	background-color: #F7F8FB !important;
}

 .tabmenu{
  color: #999999 !important;
 }

 .tabmenu.active{
  color: #333333 !important;
 }

.tab-pane{
    background-color: #ffffff !important;
}

nav, .dropdown-item {
    font-weight: bold;
}

/* bootstrap 5 table rounded corners */
table {
    border-radius: 5px;
    overflow: auto !important;
	/* overflow: hidden; *//* add this */
    border: 1px solid #D7DBE7;
}

/* bootstrap 5 table header color */
thead th {
    /* background-color: #ccd5cc !important; */
    /* background-color: #F7F8FB !important; */
    background-color: #F8F9FC !important;
    color: #62709B !important;
	border-bottom: 1px solid #D7DBE7 !important;
}

/*Validation Error Message*/
.error {
	color: #ff0000 !important;
}

/**
.modal:nth-of-type(even) {
    z-index: 1062 !important;
}

.modal-backdrop.show:nth-of-type(even) {
    z-index: 1061 !important;
}
**/

/*
th {
  border-top: 1px solid #dddddd !important;
  border-bottom: 1px solid #dddddd !important;
  border-right: 1px solid #dddddd !important;
}
 
th:first-child {
  border-left: 1px solid #dddddd !important;
}
*/

/*
thead th:first-child {
 border-top-left-radius: 9px;
}

thead th:last-child {
 border-top-right-radius: 9px;
}

tbody tr:last-child :first-child {
 border-bottom-left-radius: 9px;
}

tbody tr:last-child :last-child {
 border-bottom-right-radius: 9px;
}
*/

/* end bootstrap 5 table rounded corners */

/*
.dataTables_length .dataTables_paginate .dataTables_info .dataTables_processing{
    display: inline-block !important;
	width: 30% !important;
}
*/

.dataTables_wrapper .dataTables_length {
    white-space: nowrap;
}

/*Customer Status*/
.BLACKLISTED{ rgba(0, 0, 0, 0.2) !important; }
.LATE_PAYMENT{ rgba(255, 0, 0, 0.2) !important; }
.DEMANDING{ rgba(255, 192, 0, 0.2) !important; }
.VIP{ rgba(112, 48, 160, 0.2) !important; }
.NORMAL{ rgba(255, 255, 255, 0) !important; }
.INACTIVE{ rgba(255, 0, 0, 0.5) !important; }

/**
.modal{
  max-height: calc(100vh) !important;
}


.modal-body {
  overflow-y: auto !important;
  max-height: calc(100vh - 200px) !important;
}
**/

input, select, textarea {
  font-size: 1rem !important;
  font-weight:bold !important;
  /* background-color: #D1E7DD !important; *//* Replace with your desired color code or name */
}

/* Affects all labels */
label {
        /* color: #8888cc; */
		color: #0d6efd;
    }

.modal-fullscreen {
  max-width: 98vw;
  max-height: 98vh;
  margin: auto;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.3) !important; /* Adjust the alpha value (0.8) for desired darkness */
}


/*  JQuery Typeahead  */
/* Styling the main dropdown container */
.tt-dropdown-menu {
  white-space: nowrap !important;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 0;
  width: 100%; /* Adjust width as needed */
  z-index: 1000; /* Ensure it appears above other elements */
  box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

/* Styling individual suggestion items */
.tt-suggestion {
  white-space: nowrap !important;
  padding: 5px 20px;
  cursor: pointer;
}

/* Styling the highlighted suggestion (when hovered or navigated to) */
.tt-suggestion.tt-cursor {
  background-color: #0097cf;
  color: #fff;
}

/* Styling the header/footer */
.tt-header, .tt-footer {
  padding: 5px 20px;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
}

/* Styling the "no results" message */
.tt-empty {
  padding: 5px 20px;
  text-align: center;
  color: #999;
}

/*
.tt-suggestion {
  min-height: 100px;
  max-height: 400px;  
  overflow-y: auto;
}
*/

/*
.tt-suggestion:hover{
  color: #fff !important; 
  background-color: #3B71CA !important; 
}

.tt-menu {
    white-space: nowrap !important;
	min-width: 400px !important;
  min-height: 100px;
  max-height: 300px;  
  overflow-y: auto;
}
*/
/*
<div role="listbox" class="tt-menu" id="CART_SKU_listbox" style="position: absolute; top: 100%; left: 0px; z-index: 100; display: none;" aria-expanded="false"><div role="presentation" class="tt-dataset tt-dataset-engine"><p style="max-height:100%;" id="tt-829f9b51-4ea7-4f58-d329-023e86769637" class="tt-suggestion tt-selectable"><strong><strong class="tt-highlight">8RMRCGL</strong> Frame 8R - Metal Rim Champagne Gold (Landscape)</strong></p></div></div>
*/


.buttons-html5 {
    background-color: #dddddd !important;
	border-color: #DFE3E7 !important;
	color: white;
}

.buttons-html5:hover {
    background-color: #aaaaaa !important;
}

.buttons-print {
    background-color: #dddddd !important;
	border-color: #DFE3E7 !important;
	color: white;
}

.buttons-print:hover {
    background-color: #aaaaaa !important;
}


.valid-tooltip, .invalid-tooltip {
    top: -25px !important; /* Position at the top of the relative parent */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for half the tooltip's width to truly center it */
    /* You might need to adjust z-index if other elements are overlapping */
    z-index: 10;
	width: 100% !important;
}

.twitter-typeahead {
    width: 100% !important; /* or a specific pixel value */
}
.twitter-typeahead .tt-input {
    width: 100% !important; /* Ensure the input itself also fills the wrapper */
}
.tt-menu {
        background-color: rgba(245, 245, 245, 1);
}

.typeahead:disabled {
        background-color: #E9ECEF !important; /* #e9ecef; Light gray background */
        color: #212529 !important; /* #6c757d; Darker gray text */
        cursor: not-allowed !important;      /* Indicate it's not interactive */
        /* Add any other desired styles */
}

/** summary breadcrums **/
.stepper-wrapper {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;

  @media (max-width: 768px) {
    font-size: 12px;
  }
}

.stepper-item::before {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 20px;
  left: -50%;
  z-index: 2;
}

.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 2;
}

.stepper-item .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccc;
  margin-bottom: 6px;
}

.stepper-item.all {
  font-weight: bold;
}
.stepper-item.all .step-counter {
  background-color: #6C757D;
}
.stepper-item.all:hover .step-counter:hover {
  cursor: pointer;
}
.stepper-item.all::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #6C757D;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 3;
}

.stepper-item.pending {
  font-weight: bold;
}
.stepper-item.pending .step-counter {
  background-color: #FF69B4;
}
.stepper-item.pending:hover .step-counter:hover {
  cursor: pointer;
}
.stepper-item.pending::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #FF69B4;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 3;
}

.stepper-item.active {
  font-weight: bold;
}
.stepper-item.active .step-counter {
  background-color: #5DADE2;
}
.stepper-item.active:hover .step-counter:hover {
  cursor: pointer;
}
.stepper-item.active::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #5DADE2;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 3;
}

.stepper-item.completed {
  font-weight: bold;
}
.stepper-item.completed .step-counter {
  background-color: #4bb543;
}
.stepper-item.completed:hover .step-counter:hover {
  cursor: pointer;
}
.stepper-item.completed::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #4bb543;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 3;
}

.stepper-item:first-child::before {
  content: none;
}
.stepper-item:last-child::after {
  content: none;
}

.stepper-name-pending {

}
.stepper-name-active {

}
.stepper-name-completed {

}

.stepper-name-all-active {
  color: #ffffff;
  background-color: #6C757D;
}
.stepper-name-pending-active {
  color: #ffffff;
  background-color: #FF69B4;
}
.stepper-name-active-active {
  color: #ffffff;
  background-color: #5DADE2;
}
.stepper-name-completed-active {
  color: #ffffff;
  background-color: #4bb543;
}

#op_all_name{
  cursor: pointer !important;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
#op_avail_name{
  cursor: pointer !important;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
#op_onhand_name{
  cursor: pointer !important;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
#op_done_name{
  cursor: pointer !important;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

/*
.stepper-item.stepper-name-pending:hover .stepper-item.stepper-name-pending-active:hover {
  cursor: pointer !important;
}
.stepper-item.stepper-name-active:hover .stepper-item.stepper-name-active-active:hover {
  cursor: pointer !important;
}
.stepper-item.stepper-name-completed:hover .stepper-item.stepper-name-completed-active:hover {
  cursor: pointer !important;
}
*/
/*
.stepper-item:hover {
  cursor: pointer;
}
*/

/* end summary breadcrums */

/* operation breadcrums */

.btn_wo_start{
    color: #007BFF !important;
    border-color: #007BFF !important;
    background-color: #FFFFFF !important;
}

.btn_wo_start:hover{
    color: #FFFFFF !important;
    background-color: #007BFF !important;
}

.btn_wo_end{
    color: #6C757D !important;
    border-color: #6C757D !important;
    background-color: #FFFFFF !important;
}

.btn_wo_end:hover{
    color: #FFFFFF !important;
    background-color: #6C757D !important;
}

.breadcrumb {
	/*centering*/
	display: inline-block;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	border-radius: 5px;
	/*Lets add the numbers for each link using CSS counters. flag is the name of the counter. to be defined using counter-reset in the parent element of the links*/
	counter-reset: flag; 
  min-height: 72px;
}

.breadcrumb a {
	text-decoration: none;
	outline: none;
	display: block;
	float: left;
	font-size: 13px;
  font-weight: bold;
	line-height: 72px;
	color: white;
	/*need more margin on the left of links to accomodate the numbers*/
	padding: 0 20px 0 120px;
	background: #666;
	background: linear-gradient(#666, #333);
	position: relative;
}
/*since the first link does not have a triangle before it we can reduce the left padding to make it look consistent with other links*/
.breadcrumb a:first-child {
	padding-left: 92px;
	border-radius: 5px 0 0 5px; /*to match with the parent's radius*/
}
.breadcrumb a:first-child:before {
	left: 28px;
}
.breadcrumb a:last-child {
	border-radius: 0 5px 5px 0; /*this was to prevent glitches on hover*/
	padding-right: 40px;
}

/*hover/active styles*/
.breadcrumb a.active, .breadcrumb a:hover{
	background: #333;
	background: linear-gradient(#333, #000);
}
.breadcrumb a.active:after, .breadcrumb a:hover:after {
	background: #333;
	background: linear-gradient(135deg, #333, #000);
}

/*adding the arrows for the breadcrumbs using rotated pseudo elements*/
.breadcrumb a:after {
	content: '';
	position: absolute;
	top: 0; 
	right: -36px; /*half of square's length*/
	/*same dimension as the line-height of .breadcrumb a */
	width: 72px; 
	height: 72px;
	/*as you see the rotated square takes a larger height. which makes it tough to position it properly. So we are going to scale it down so that the diagonals become equal to the line-height of the link. We scale it to 70.7% because if square's: 
	length = 1; diagonal = (1^2 + 1^2)^0.5 = 1.414 (pythagoras theorem)
	if diagonal required = 1; length = 1/1.414 = 0.707*/
	transform: scale(0.707) rotate(45deg);
	/*we need to prevent the arrows from getting buried under the next link*/
	z-index: 1;
	/*background same as links but the gradient will be rotated to compensate with the transform applied*/
	background: #666;
	background: linear-gradient(135deg, #666, #333);
	/*stylish arrow design using box shadow*/
	box-shadow: 
		2px -2px 0 2px rgba(0, 0, 0, 0.4), 
		3px -3px 0 2px rgba(255, 255, 255, 0.1);
	/*
		5px - for rounded arrows and 
		50px - to prevent hover glitches on the border created using shadows*/
	border-radius: 0 5px 0 100px;
}
/*we dont need an arrow after the last link*/
.breadcrumb a:last-child:after {
	content: none;
}
/*we will use the :before element to show numbers*/
.breadcrumb a:before {
	content: counter(flag);
	counter-increment: flag;
	/*some styles now*/
	border-radius: 100%;
	width: 40px;
	height: 40px;
	line-height: 40px;
	margin: 16px 0;
	position: absolute;
	top: 0;
	left: 60px;
	background: #444;
	background: linear-gradient(#444, #222);
	font-weight: bold;
}


.flat a, .flat a:after {
	background: white;
	color: black;
	transition: all 0.5s;
}
.flat a:before {
	background: white;
	box-shadow: 0 0 0 1px #ccc;
}
.flat a:hover, .flat a.active, 
.flat a:hover:after, .flat a.active:after{
	/* background: #9EEB62; */
  background: #FFBF00;
}

.flat_new, .flat_new:after{
  color: #ffffff !important;
  background: #1ABC9C !important;
}

.flat_new:before{
  color: #000000 !important;
}

.flat_inactive, .flat_inactive:after{
  color: #ffffff !important;
  /* background: #1ABC9C !important; */
  background: #BDC3C7 !important;
}

.flat_inactive:before{
  color: #000000 !important;
}

.flat_pending, .flat_pending:after{
  color: #ffffff !important;
  /* background: #1ABC9C !important; */
  background: #FF69B4 !important;
}

.flat_pending:before{
  color: #000000 !important;
}

.flat_active, .flat_active:after{
  color: #ffffff !important;
  background: #5DADE2 !important;
}

.flat_active:before{
  color: #000000 !important;
}

.flat_active:hover, .flat_active:after:hover{
  color: #ffffff !important;
  background: #5DADE2 !important;
}

.flat_completed, .flat_completed:after{
  color: #ffffff !important;
  background: #27AE60 !important;
}

.flat_completed:before{
  color: #000000 !important;
}

@media all and (min-width:0px) and (max-width: 640px) {

  .breadcrumb a:first-child:before {
    left: 60px;
  }
  .flat a {
    width: 100%;
    background: white;
    color: black;
    transition: all 0.5s;
  }
  .flat a:after {
    display: none;
    background: white;
    color: black;
    transition: all 0.5s;
  }
  .flat a:before {
    background: white;
    box-shadow: 0 0 0 1px #ccc;
  }
  .flat a:hover, .flat a.active, 
  .flat a:hover:after, .flat a.active:after{
    background: #9EEB62;
  }

}

/* css for images */
  .horizontal-scrollable {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden; /* Hide vertical scrollbar */
    white-space: nowrap; /* Prevent content from wrapping */
  }

  .horizontal-scrollable .col-1 {
    display: inline-block; /* Arrange columns horizontally */
    float: none; /* Important to prevent floating issues with inline-block */
  }

.blink {
  animation: blink-animation 1s steps(5, start) infinite;
  -webkit-animation: blink-animation 1s steps(5, start) infinite;
}
@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

/* operation breadcrums */

/* ops details info min height */
.ops_details_min_height{
    min-height: 80px !important;
}

.wo_scan_input{
  color: #D96F32;
  background-color: #F5D3C4;
}

.wo_scan_input::placeholder {
  color: #D96F32;
}

@media (max-width: 1280px) {
    .splitmenu {
        transform: scale(0.7);
    }
    .splitcontent {
        transform: scale(0.7);
    }
}

.blink_me {
  /* This connects the element to the animation defined below */
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  /* At the 50% mark of the animation cycle, set opacity to 0 (invisible) */
  50% {
    opacity: 0;
  }
}

.pointer{
  cursor: pointer !important;
}

.no-break {
  white-space: nowrap;
}
