/* Global Select component styling */
.Select-control,
.css-yk16xz-control,
.css-1pahdxg-control,
[class*="-control"] {
  border-radius: 12px !important;
}

/* Select dropdown z-index fix */
.select-dropdown-top .Select-menu-outer {
  z-index: 9999 !important;
  position: relative !important;
}

.select-dropdown-top .Select-menu {
  z-index: 9999 !important;
  position: relative !important;
}

/* React-select v1 dropdown z-index fix */
.select-dropdown-top .Select-menu-outer,
.select-dropdown-top .Select-menu {
  z-index: 9999 !important;
  position: absolute !important;
}

/* React-select v2+ dropdown z-index fix */
.select-dropdown-top .css-26l3qy-menu,
.select-dropdown-top .css-1pahdxg-control,
.select-dropdown-top [class*="menu"] {
  z-index: 9999 !important;
  width: 100%;
}

/* Dashboard card fix for overflow */
.dashboard-card {
  overflow: visible !important;
}

.dashboard-card-body {
  overflow: visible !important;
}

/* General react-select dropdown portal fix */
.react-select__menu-portal {
  z-index: 9999 !important;
}

.react-select__menu {
  z-index: 9999 !important;
}

/* Fix dropdown option transparency on hover */
.select-dropdown-top .Select-menu-outer,
.select-dropdown-top .Select-menu {
  background-color: #ffffff !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.select-dropdown-top .Select-option {
  background-color: #ffffff !important;
  color: #333333 !important;
  padding: 8px 12px !important;
  cursor: pointer !important;
}

.select-dropdown-top .Select-option:hover {
  background-color: #f5f5f5 !important;
  color: #333333 !important;
}

.select-dropdown-top .Select-option.is-focused {
  background-color: #f5f5f5 !important;
  color: #333333 !important;
}

.select-dropdown-top .Select-option.is-selected {
  background-color: #007bff !important;
  color: #ffffff !important;
}

/* Additional fix for react-select v2+ */
.select-dropdown-top .css-26l3qy-menu {
  background-color: #ffffff !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.select-dropdown-top [class*="option"] {
  background-color: #ffffff !important;
  color: #333333 !important;
}

.select-dropdown-top [class*="option"]:hover {
  background-color: #f5f5f5 !important;
  color: #333333 !important;
}

/* ===== Global Bootstrap Table Styling - Clean Professional Design for ALL Tables ===== */

/* Remove react-bs-table wrapper padding */
.react-bs-table {
  padding: 0 !important;
}

/* Table container scrolling */
.react-bs-table-container {
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
}

/* Table itself - compact and clean */
.react-bs-table table,
.table {
  margin-bottom: 0 !important;
  border-collapse: collapse !important;
  font-size: 13px !important;
  width: 100% !important;
}

/* ===== Table Headers - Matching Reference Design ===== */
.react-bs-table table thead th,
.table thead th {
  background-color: #f5f5f5 !important;
  border: 1px solid #ddd !important;
  border-bottom: 2px solid #ddd !important;
  padding: 10px 8px 8px 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #333 !important;
  text-align: center !important;
  vertical-align: top !important;
  white-space: normal !important;
  line-height: 1.4 !important;
  min-height: 70px !important;
  height: auto !important;
}

/* Override for sticky table headers in specific containers */
#pess-plan-table-container .table-content-wrapper table thead tr:first-child th,
#test-item-table-container .table-content-wrapper table thead tr:first-child th,
#eppt-plan-table-container .table-content-wrapper table thead tr:first-child th {
  min-height: 48px !important; /* Consistent minimum height */
  max-height: 48px !important; /* Force maximum height */
  height: 48px !important; /* Fixed height for consistent sticky positioning */
  padding: 8px 6px !important; /* Reduce padding to fit content */
  line-height: 1.2 !important;
  overflow: hidden !important; /* Hide overflow */
}

/* Sort indicators in headers */
.react-bs-table table thead th .order {
  margin-left: 4px !important;
  font-size: 11px !important;
}

/* Header inner wrapper */
.react-bs-table table thead th .th-inner {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-weight: 600 !important;
}

/* Inline filter container inside header */
.react-bs-table table thead th.has-inline-filter {
  padding-bottom: 12px !important;
}

.react-bs-table table thead th.has-inline-filter .th-inner {
  margin-bottom: 6px !important;
}

.react-bs-table table thead th .inline-filter-container {
  width: 100% !important;
  display: block !important;
  margin-top: 6px !important;
}

/* CRITICAL: Hide the filter row completely - Simple and reliable approach */
/* Commented out - filter row should be visible
#pess-plan-table-container .react-bs-table table thead tr:nth-child(2),
#test-item-table-container .react-bs-table table thead tr:nth-child(2),
#eppt-plan-table-container .react-bs-table table thead tr:nth-child(2) {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: collapse !important;
}
*/

/* Global fallback for all react-bs-table instances - Commented out to show filters
.react-bs-table table thead tr:nth-child(2) {
  display: none !important;
}
*/

/* Additional selectors for safety - Commented out to show filters
.react-bs-table table thead tr.filter-row,
.react-bs-table table thead tr.hidden-filter-row {
  display: none !important;
}
*/

/* Row order is now correct - Headers first, Filters second (fixed in legacyBootstrapTable/index.js) */

/* Hide empty columns (columns with no header text and no filter) */
.react-bs-table table thead tr th:empty {
  display: none !important;
  width: 0 !important;
  max-width: 0 !important;
  padding: 0 !important;
  border: none !important;
  visibility: hidden !important;
}

/* Keep empty filter cells visible but without input - for visual alignment */
.react-bs-table table thead tr.legacy-table-filter-row th.filter-cell-empty,
.legacy-table-filter-row th.filter-cell-empty {
  /* Keep the cell visible for alignment, but it's empty (no input) */
  background-color: #f5f5f5 !important;
}

/* NOTE: Removed th:empty selector for filter row as it was hiding cells with inputs */

/* Hide empty table body columns */
.react-bs-table table tbody tr td:empty {
  display: none !important;
  width: 0 !important;
  max-width: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* ===== Table Body - Compact & Clean ===== */
.react-bs-table table tbody tr {
  background-color: white !important;
}

.react-bs-table table tbody tr td {
  border: 1px solid #e0e0e0 !important;
  padding: 8px 8px !important;
  vertical-align: middle !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #333 !important;
  white-space: nowrap !important;
}

/* Subtle striped rows */
.react-bs-table table tbody tr:nth-child(even) {
  background-color: #fafafa !important;
}

.react-bs-table table tbody tr:nth-child(odd) {
  background-color: #ffffff !important;
}

/* Row hover - subtle effect */
.react-bs-table table tbody tr:hover {
  background-color: #f9f9f9 !important;
}

/* ===== Checkbox/Radio Column ===== */
.react-bs-table table tbody tr td:first-child,
.react-bs-table table thead th:first-child {
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  text-align: center !important;
  padding: 6px 4px !important;
}

/* ===== Action Column ===== */
.react-bs-table table tbody tr td:last-child {
  text-align: center !important;
  padding: 6px 8px !important;
}

/* Icon buttons in action column */
.react-bs-table table tbody tr td button,
.react-bs-table table tbody tr td .btn {
  padding: 4px 8px !important;
  font-size: 12px !important;
  margin: 0 2px !important;
}

/* ===== Links in Table Cells ===== */
.react-bs-table table tbody tr td a {
  color: #0066cc !important;
  text-decoration: none !important;
}

.react-bs-table table tbody tr td a:hover {
  text-decoration: underline !important;
}

/* ===== Filter Inputs - Integrated Within Header Cells ===== */
.react-bs-table .filter,
.react-bs-table input.filter,
.react-bs-table input[type="text"].filter,
.react-bs-table table thead th input.filter,
.react-bs-table table thead tr th input.filter {
  width: calc(100% - 4px) !important;
  padding: 5px 8px !important;
  font-size: 12px !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  margin: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  background-color: #fff !important;
  clear: both !important;
  height: 28px !important;
  line-height: normal !important;
}

/* Filter placeholder styling */
.react-bs-table table thead th input.filter::placeholder {
  color: #999 !important;
  font-size: 12px !important;
}

/* Ensure legacy filter containers don't break layout */
.react-bs-table table thead th .filter-container {
  display: block !important;
  width: 100% !important;
}

/* Sort caret positioning */
.react-bs-table table thead th .order {
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Ensure both header rows have same background */
.react-bs-table table thead tr {
  background-color: #f5f5f5 !important;
}

/* ===== Pagination ===== */
.react-bs-table-pagination {
  background-color: #fff !important;
  padding: 12px 15px !important;
  border-top: 1px solid #ddd !important;
  margin-top: 0 !important;
}

.react-bs-table-pagination .pagination {
  display: inline-block !important;
  padding-left: 0 !important;
  margin: 0 !important;
  border-radius: 4px !important;
}

.react-bs-table-pagination .pagination > li {
  display: inline !important;
  list-style: none !important;
}

.react-bs-table-pagination .pagination > li > a {
  cursor: pointer !important;
  position: relative !important;
  float: left !important;
  padding: 6px 12px !important;
  margin-left: -1px !important;
  line-height: 1.42857143 !important;
  color: #337ab7 !important;
  text-decoration: none !important;
  background-color: #fff !important;
  border: 1px solid #ddd !important;
}

.react-bs-table-pagination .pagination > li > a:hover {
  background-color: #eee !important;
  border-color: #ddd !important;
}

.react-bs-table-pagination .pagination > li.active > a {
  background-color: #337ab7 !important;
  border-color: #337ab7 !important;
  color: #fff !important;
}

/* ===== Scrollbar Styling ===== */
.react-bs-table-container::-webkit-scrollbar,
.table-content-wrapper::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
}

.react-bs-table-container::-webkit-scrollbar-track,
.table-content-wrapper::-webkit-scrollbar-track {
  background: #f0f0f0 !important;
  border-radius: 0 !important;
}

.react-bs-table-container::-webkit-scrollbar-thumb,
.table-content-wrapper::-webkit-scrollbar-thumb {
  background: #c0c0c0 !important;
  border-radius: 0 !important;
}

.react-bs-table-container::-webkit-scrollbar-thumb:hover,
.table-content-wrapper::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0 !important;
}

/* ===== Empty State ===== */
.react-bs-table table tbody tr td[colspan] {
  text-align: center !important;
  padding: 40px 20px !important;
  color: #666 !important;
  font-style: italic !important;
}

/* ===== Specific Column Alignments ===== */
.react-bs-table table tbody tr td[data-field="dueDate"],
.react-bs-table table tbody tr td[data-field="startDate"],
.react-bs-table table tbody tr td[data-field="actualStartDate"] {
  text-align: center !important;
}

.react-bs-table table tbody tr td[data-field="partNo"],
.react-bs-table table tbody tr td[data-field="projectCode"],
.react-bs-table table tbody tr td[data-field="supplierCode"],
.react-bs-table table tbody tr td[data-field="plantCode"] {
  text-align: center !important;
}

/* Status column specific styling */
.react-bs-table table tbody tr td[data-field="planStatus"],
.react-bs-table table tbody tr td[data-field="status"] {
  font-weight: 500 !important;
}

/* ===== Specific Container Styles (for tables with custom containers) ===== */
/* Fixed header table containers with sticky header and filter rows */
#pess-plan-table-container,
#test-item-table-container,
#eppt-plan-table-container {
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  position: relative !important;
  background: white !important;
  max-height: 600px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Wrapper for table content - allows data rows to scroll while headers stay fixed */
#pess-plan-table-container .table-content-wrapper,
#test-item-table-container .table-content-wrapper,
#eppt-plan-table-container .table-content-wrapper {
  flex: 1 !important;
  overflow-y: auto !important;
  overflow-x: auto !important;
  max-height: 500px !important;
  position: relative !important;
  display: block !important;
}

/* CRITICAL: Override border-collapse to make sticky positioning work */
#pess-plan-table-container .table-content-wrapper table.react-bs-table,
#pess-plan-table-container .table-content-wrapper table.table,
#pess-plan-table-container .table-content-wrapper table.legacy-bootstrap-table,
#test-item-table-container .table-content-wrapper table.react-bs-table,
#test-item-table-container .table-content-wrapper table.table,
#test-item-table-container .table-content-wrapper table.legacy-bootstrap-table,
#eppt-plan-table-container .table-content-wrapper table.react-bs-table,
#eppt-plan-table-container .table-content-wrapper table.table,
#eppt-plan-table-container .table-content-wrapper table.legacy-bootstrap-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  display: table !important;
  width: 100% !important;
}

/* Make tbody scrollable */
#pess-plan-table-container .table-content-wrapper table tbody,
#test-item-table-container .table-content-wrapper table tbody,
#eppt-plan-table-container .table-content-wrapper table tbody {
  display: table-row-group !important;
}

/* Make thead sticky with proper positioning context */
#pess-plan-table-container .table-content-wrapper table thead,
#test-item-table-container .table-content-wrapper table thead,
#eppt-plan-table-container .table-content-wrapper table thead {
  display: table-header-group !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 101 !important;
  background-color: #f5f5f5 !important;
}

/* Make header row (first row) sticky at top - ENHANCED SPECIFICITY */
#pess-plan-table-container .table-content-wrapper table.legacy-bootstrap-table thead tr:first-child th,
#pess-plan-table-container .table-content-wrapper table.table thead tr:first-child th,
#pess-plan-table-container .table-content-wrapper table thead tr:first-child th,
#test-item-table-container .table-content-wrapper table.legacy-bootstrap-table thead tr:first-child th,
#test-item-table-container .table-content-wrapper table.table thead tr:first-child th,
#test-item-table-container .table-content-wrapper table thead tr:first-child th,
#eppt-plan-table-container .table-content-wrapper table.legacy-bootstrap-table thead tr:first-child th,
#eppt-plan-table-container .table-content-wrapper table.table thead tr:first-child th,
#eppt-plan-table-container .table-content-wrapper table thead tr:first-child th {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background-color: #f5f5f5 !important;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1) !important;
  border-bottom: 2px solid #ddd !important;
  will-change: transform !important; /* Force GPU acceleration */
  transform: translateZ(0) !important; /* Create stacking context */
}

/* Make filter row (second row) sticky below header row - ULTRA CRITICAL FIX */
/* Since thead is now sticky, filter row cells need relative positioning within */
#pess-plan-table-container .table-content-wrapper table.legacy-bootstrap-table thead tr:nth-child(2) th,
#pess-plan-table-container .table-content-wrapper table.table thead tr:nth-child(2) th,
#pess-plan-table-container .table-content-wrapper table thead tr:nth-child(2) th,
#test-item-table-container .table-content-wrapper table.legacy-bootstrap-table thead tr:nth-child(2) th,
#test-item-table-container .table-content-wrapper table.table thead tr:nth-child(2) th,
#test-item-table-container .table-content-wrapper table thead tr:nth-child(2) th,
#eppt-plan-table-container .table-content-wrapper table.legacy-bootstrap-table thead tr:nth-child(2) th,
#eppt-plan-table-container .table-content-wrapper table.table thead tr:nth-child(2) th,
#eppt-plan-table-container .table-content-wrapper table thead tr:nth-child(2) th {
  background-color: #fafafa !important; /* Light gray/white background for filter row */
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1) !important;
  border-top: none !important;
  border-bottom: 1px solid #ddd !important;
  height: 42px !important; /* Fixed height for filter row */
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 4px 6px !important;
  vertical-align: middle !important;
  font-weight: normal !important; /* Override bold from header */
  overflow: hidden !important;
}

/* Ensure filter row doesn't inherit header background - MORE SPECIFIC */
#pess-plan-table-container .table-content-wrapper table.legacy-bootstrap-table thead tr:nth-child(2),
#pess-plan-table-container .table-content-wrapper table.table thead tr:nth-child(2),
#pess-plan-table-container .table-content-wrapper table thead tr:nth-child(2),
#test-item-table-container .table-content-wrapper table.legacy-bootstrap-table thead tr:nth-child(2),
#test-item-table-container .table-content-wrapper table.table thead tr:nth-child(2),
#test-item-table-container .table-content-wrapper table thead tr:nth-child(2),
#eppt-plan-table-container .table-content-wrapper table.legacy-bootstrap-table thead tr:nth-child(2),
#eppt-plan-table-container .table-content-wrapper table.table thead tr:nth-child(2),
#eppt-plan-table-container .table-content-wrapper table thead tr:nth-child(2) {
  background-color: #fafafa !important;
  transform: translateZ(0) !important; /* Create stacking context */
}

/* Ensure filter inputs stay visible and interactive */
#pess-plan-table-container .table-content-wrapper table thead tr:nth-child(2) th input,
#test-item-table-container .table-content-wrapper table thead tr:nth-child(2) th input,
#eppt-plan-table-container .table-content-wrapper table thead tr:nth-child(2) th input {
  position: relative !important;
  z-index: 1 !important;
  background-color: white !important;
}

/* Handle legacy table wrapper inside content wrapper */
#pess-plan-table-container .table-content-wrapper .legacy-table-wrapper,
#test-item-table-container .table-content-wrapper .legacy-table-wrapper,
#eppt-plan-table-container .table-content-wrapper .legacy-table-wrapper {
  overflow: visible !important;
  display: block !important;
}

/* Ensure React Bootstrap Table container doesn't interfere */
#pess-plan-table-container .table-content-wrapper .react-bs-table-container,
#test-item-table-container .table-content-wrapper .react-bs-table-container,
#eppt-plan-table-container .table-content-wrapper .react-bs-table-container {
  overflow: visible !important;
  display: block !important;
}

/* Make sure table rows display properly */
#pess-plan-table-container .table-content-wrapper table thead tr,
#pess-plan-table-container .table-content-wrapper table tbody tr,
#test-item-table-container .table-content-wrapper table thead tr,
#test-item-table-container .table-content-wrapper table tbody tr,
#eppt-plan-table-container .table-content-wrapper table thead tr,
#eppt-plan-table-container .table-content-wrapper table tbody tr {
  display: table-row !important;
}

/* Make sure table cells display properly */
#pess-plan-table-container .table-content-wrapper table th,
#pess-plan-table-container .table-content-wrapper table td,
#test-item-table-container .table-content-wrapper table th,
#test-item-table-container .table-content-wrapper table td,
#eppt-plan-table-container .table-content-wrapper table th,
#eppt-plan-table-container .table-content-wrapper table td {
  display: table-cell !important;
}

/* Pagination wrapper for custom containers */
#pess-plan-table-container .pagination-wrapper,
#test-item-table-container .pagination-wrapper,
#eppt-plan-table-container .pagination-wrapper {
  flex-shrink: 0 !important;
  background-color: #fff !important;
  border-top: 1px solid #ddd !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 5 !important;
}

/* ProfileSelectionModal pop.png styles */
.pop-modal-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pop-modal-content {
  background: #fff;
  border-radius: 8px;
  width: 420px;
  max-width: 95vw;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  padding: 0;
  position: relative;
}
.pop-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 32px 0 32px;
  margin-bottom: 15px;
}
.pop-modal-logo {
  height: 32px;
  margin-right: 8px;
}
.pop-modal-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: #222;
  flex: 1;
  margin-left: 36px;
}
.pop-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #222;
  cursor: pointer;
  margin-left: 8px;
}
.pop-modal-list {
  padding: 24px 32px 32px 32px;
  max-height: 420px;
  overflow-y: auto;
}
.pop-modal-profile-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-bottom: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.2s;
}
.pop-modal-profile-item.selected {
  border-color: #d32f2f;
  background: #f9f9f9;
}
.pop-modal-radio-label {
  display: flex;
  align-items: center;
  width: 100%;
  cursor: pointer;
}
.pop-modal-radio-label input[type="radio"] {
  margin-right: 16px;
  accent-color: #d32f2f;
  width: 18px;
  height: 18px;
}
.pop-modal-profile-name {
  font-weight: 600;
  color: #222;
  font-size: 1.08rem;
  margin-right: 12px;
}
.pop-modal-profile-role {
  color: #888;
  font-size: 0.98rem;
  font-weight: 400;
}
/*---------------- Global CSS Starts here*/

html,body {
	 background-image: url("../images/wavegrid.png");
	 font-size: 12px;
}

/* Remove body padding-top if current page is login */
html.login-bg body,
body.login-bg {
  padding-top: 0 !important;
}
html.login-bg body { padding-top: 0 !important; }

th {
    background-color: #eee;
    font-size: 12px !important;
    text-overflow:clip !important;
}
a{cursor:pointer;}
.verticalPadding{
  padding:20px 0px 20px 0px;
}
.verticalPaddingSmall{
  padding:10px 0px 10px 0px;
}
.verticalPaddingSmallePPPT{
  padding:10px 13px 10px 17px;
}
.centerAlign{
  font-weight:bolder;
}
.custom-delete{
  color:red;
}
.wavegrid{
    background-image: url("../images/wavegrid.png");
}
/* Header CSS Starts here ------------- */
.top-bar{height:30px;}
.headerBgColor{
background-color: #428bca;
background-image: none !important;
height:35px;
}
.appName {
    font-size: 20px;
    display: block;
    color: #428bca;
    font-weight: bold;
    word-wrap:break-word;
    margin-right:10%;
}
.userLabel {
    font-size: 12px;
    color: #428bca;
    word-wrap:break-word;

}
.block-grey-box{background: #E6E6E6;
         padding: 0.5% 0%;
         min-height:525px;
    /*margin-top: 6%*/}
.sectionHeaderBorder {
    margin: 0.5%;
    border-radius: 5px;
    border: 1px solid grey;
    border-image: none;
}
div .sectionHeader {
    height: 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: rgba(66, 138, 201, 1);
}
.sectionHeaderLabel{
    color: white;
    font-weight: 600;
    font-size:  13px;
    margin-left: 1%;
    cursor: pointer;
}
.custvertical-space{padding:1.5% 0%}
.btn-file {
    position: relative;
    overflow: hidden;
}
.file-input-control {
    display: inline-block;
    min-height: 2.125rem;

    position: relative;
    vertical-align: middle;

    line-height: 1;
}
.file-input-control input[type=file] {
    position: absolute;
    opacity: 0;
    width: 0.0625rem;
    height: 0.0625rem;
  z-index: -99;
  cursor:pointer;
  top:0px;
}
.file-input-control>input{z-index: 0;}

  .input-file-wrapper{z-index: 1; cursor: default;}
  .file-input-control button{-webkit-appearance:none;appearance:none;background-color:#fff;border:none;    position: absolute;
    top: 0;
    right: 0;
    /* z-index: 2; */
    margin: 0;height: 2.125rem;vertical-align: middle;
    display: inline-block; margin-right:-60px;margin-top:3px;}
.imageName[readonly]{background-color:white;}

/* Validation Css ----------*/
.validationMark{color:red;font-size:25px; position:relative; margin-left:5px}
div.leftshift > select.dropdown-toggle{margin-left:-45px;}
.validationError{font-size:15px;font-weight:400; color:red;padding:2px 10px 10px 0px;}
.commentDropdownCls{font-size:15px;font-weight:400; color:red;padding:2px 10px 10px 0px;}

.form-horizontal input{font-weight:400;}

.deleteMsg{font-size:15px; color:red;margin-top:6px;}

/* Margin top text */
.marginTop{margin-top:20px;}

/* HR custom*/
.hr-black{border-top:1px solid black;}

.labelmargintop{
margin-top:5px;
}

.labelBlueColor{color:#428bca;}

/*heading4*/
.heading4{font-weight :bold; font-size: 18px;}

/*dropdown width*/
.dropDownWidth{width:50px; margin-left:150px; }
/* Checkbox CSS */
input[type="checkbox"]{width:16px;height:16px;cursor:pointer;}

/*--------------- Global CSS Ends here */


/*--------------- Bootstrap Custom CSS Starts here */
/* Menu Custom */
 .navbar-nav > li > a:hover, .navbar-nav > li > a:focus {
    color: #333;
    background-color: transparent;
}
.navbar-nav > li>a.active , .navbar-nav > .active > a:hover, .navbar-nav > .active > a:focus{color: #555;background-color:

#e7e7e7;background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
    background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
     background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2));
     background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);
     background-repeat: repeat-x;
    -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
    box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);}

#myMenu{background-color:#fff;
        padding-top:5px;
    padding-bottom:4px;
}
.navbar-static-bottom {

   position:relative;
   top:180px;
   bottom:0px;
   width:100%;
   height:10px;   /* Height of the footer */
}
/* Button css */
.btn-primary{
  background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
  background-image:      -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
  background-image:         linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);}
.btn-circle {
  width: 25px;
  height: 25px;
  text-align: center;
 padding-top: 2px;
  padding-bottom: 10px;
  padding-left: 0px;
  padding-right: 0px;
  font-size: 15px;
  line-height: 1.428571429;
  border-radius: 15px;
}

/*------- Dropdown css  ----------- */
.dropdown-toggle.btn-default{background-color: white; border-color: none;}

/* Table css */
.table {border: 1px solid #aaaaaa;}
.table>thead>tr>td {border: 1px solid #aaaaaa;}
.table th {
  background-color: #e6e6e6;
    background-repeat: no-repeat;
    background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
  background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
  color: #333333;
    font-size: 14px;
    line-height: normal;
  font-weight:normal;
  text-align: center;
  font-weight:bold;
}
.table>thead>tr>th{padding-bottom:5px; padding-top:5px;}
.table>tbody{background-color:#fff;}
.table>tbody>tr>td{font-size:12px; text-align:center;}
/* Table css ends here */

/* Modal Css */

/* .modal-dialog {
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 50%) !important;
    } */

.modal-backdrop {
  text-align: center;
  padding: 0!important;
}

.modal-backdrop:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.modal-content{font-size:14px;}

/* Form Css
.control-label {text-align:left!important;}
*/

.modal-footer{padding:15px 15px 0px 15px; margin-top:20px;}
.modal-header {
  background-color: #0480be;}
/* Bootstrap Modal Custom CSS Ends here*/
.col-xs-2{
    width: 13.666666666666664%;
}

.col-xs-1{
  width: 8.89%;
}

label{
font-weight :normal;
padding-top: 7px;
}
.labelformat{
font-weight :normal;
color:white;
}

.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
  border-bottom-width: 0px;
}


.spacer{
  width : 20px;
  float:left;
}

.sectionBorder{
border: 1px solid #999999;
padding: 5px;
}

.sectionHeight{
height :50px;

}

select {
    width:100px;
    overflow:hidden;
    white-space:pre;
    text-overflow:ellipsis;
    -webkit-appearance: none;
  appearance: none;

}
.ui-dialog
{
background: url("../images/wavegrid.png");
/*top:100px !important ;
position: fixed !important ;

*/}

.ui-dialog .ui-dialog-content {
overflow: hidden !important;
}
.landing-grad {
  background: -webkit-linear-gradient(#EFFBFB, #A9D0F5);  /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#EFFBFB, #A9D0F5);  /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#EFFBFB, #A9D0F5);  /* For Firefox 3.6 to 15 */
  background: linear-gradient(#EFFBFB, #A9D0F5);  /* Standard syntax */
}
.btn-grad {
  background: -webkit-linear-gradient(#EFFBFB, #A9D0F5);  /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#EFFBFB, #A9D0F5);  /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#EFFBFB, #A9D0F5);  /* For Firefox 3.6 to 15 */
  background: linear-gradient(#2E64FE, #0040FF);  /* Standard syntax */
}

.col-med-4{
    width: 27%;
    float: left;
    position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-med-3{
   width: 20%;
    float: left;
    position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

select{
width: 175px;
}

.row-search-height
{
  height:30px;
}

.row-home-row-height {
  height:190px;
}

.row-home-data-height {
  height:545px;
}

.dropdown-menu{
font-size: 13px;
}


.btn-sm ,.btn-xs{
  line-height: 1;

}


.btn-lg{
font-size: 15px;
}

.form-horizontal .form-group {
  margin-right: 0px;
  margin-left: 0px;
  margin-bottom:2px;
}

.form-control {
 height: 35px;
 line-height:20px;
}

.wrapText{
    width:700px;
    max-width: 700px;
    word-wrap: break-word;
   /* word-break: break-all;*/

}
.navbar-inverse .navbar-nav > li > a {
  /*color: #999999;*/
  color: #ffffff;
}



.navbar-inverse .navbar-nav > .dropdown > a .caret{

  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
}

.navbar-inverse .navbar-nav > .dropdown > a:hover .caret {

  border-top-color: #d9d9d9;
  border-bottom-color: #d9d9d9;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #d9d9d9;
  background-color: #699ECD;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  color: #ffffff;
  background-color: #699ECD;
}

.jstree-implemented li[type="implemented"] > a { color:green; }

.jstree-willBeImplemented li[type="willBeImplemented"] > a { color:red; }

.jstree-suggestion li[type="suggestion"] > a { color:blue; }

div.filter-header>span {
  padding: 0;
  margin-bottom: 20px;
  font-size: 21px;
  line-height: 40px;
  display: block;
  color: #1F497D;
  font-weight: 500;
  border-bottom: 1px solid #e5e5e5;
}

.jstree_wrapping a {
    white-space: nowrap;
    max-width: 22em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-input-field-width{
  width:280px;
}
.task-col-4-width{
  width:320px;
}
.task-col-5-width{
  width:514px;
}


/*a {
  color: #428bca;
}

*/
.text_wrapping{
  clear:both;
    white-space: nowrap;
    max-width: 10em;
    overflow: hidden;
    text-overflow: ellipsis !important;
}
#equipmentSearchPager input[type="text"]{
  line-height: 3px;
  text-align:center;
}
#hazmatSearchPager input[type="text"]{
  line-height: 3px;
  text-align:center;
}
#taskSearchPager  input[type="text"]{
  line-height: 3px;
  text-align:center;
}
.divrow{
  height :15px;
}
.header
{
   height: 40px;
    border-bottom: 1px solid #EEE;
    height: 40px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

}
.delete-disable {
     opacity: 0.4;
     filter: alpha(opacity=40);
 }

#nameId:hover {
  background-color: transparent;
  color: #ffffff;
}


.ui-jqgrid .ui-jqgrid-sortable {
 cursor: default;
 }



.multiselect-container {
                position: absolute;
                list-style-type: none;
                margin: 0;
                padding: 0;
                overflow-x:auto;
                max-height: 300px
}

.container-scroll {
  margin: 0 auto;
    width:100%;
}
.divrow30{
  height :36px;
}
.dropDownMouseOver{
  padding-top:2px;
  padding-bottom:2px;
}

.divrow20{
  height :20px;
}
.auto-height
{
  height:auto;
}
.frozen-div
{
overflow-y:hidden !important;
}
.redBackground{
    background-color: red !important;
}
.yellowBackground{
    background-color: #FFFF00 !important;
}
.orangeBackground{
    background-color: #FFA500 !important;
}

.hrForSimulation{
  border-top : 1px solid #eee;
  margin-top : 0px;
  margin-bottom : 0px;
}
.activityStyle{
  width: 98%;
  margin-left: 1%;
}
.invTableColumnDisplay
{
  border-radius: 5px;
  border: 1px solid grey;
   border-image: none;
   width: 100%;
   display: block;
   overflow-y: auto;
   -ms-overflow-y: scroll;
  max-height: 250px;
    margin-left:3px;
}
.unloadManifest
{
  float: left;
  width: 70%;
  float: left;
  font-weight: bold;
  cursor: pointer;
  color: rgba(66, 138, 201, 1)
}
.unloadManifestRD
{
  margin: 1%;float:left; border: 1px solid rgb(170, 189, 170); border-image: none; overflow: x; max-width: 97%
}
.labelMsg
{
  width: 96%; padding-top: 5px; padding-bottom: 5px; margin-bottom: 1px; margin-left: 2%;
}
.h4Style
{
  margin-top:2px;margin-bottom:2px;text-align:center;font-weight:bold;color:rgba(66,138,201,1);
}
.ui-jqgrid .ui-jqgrid-bdiv
{
  overflow-x:hidden ;
}
.fixedVal {
       /*position: absolute;*/
       left: 6%;
        font-size : 11px;
       /*background-color: white;*/
}
@media (max-width: 800px) {
    body{padding-top:12%;}
    div.leftshift > select.dropdown-toggle {margin-left: 0px;}
  }
 @media (min-width: 1024px) and (max-width:1280px) {
    body{padding-top:8%;}
     div.leftshit > select.dropdown-toggle{margin-left:-40px;}
  }
  /*button custom*/

  .button{
     padding: 5px 32px;
  }
/* Process Interface CSS*/
.msgBox{padding:8px;border:1px solid #333;}
.marginRight{
  margin-right:-12px;
}
/*configure Workflow */
.saveOrder{
   margin-left: -4px;
}
.link{
    margin-right: 10px;
}
.diLink{
   top: -33px;

    right: -210px;
}
.btn-img-flowout{ height:20%;width: 20% }

.dropDownWidthselectTag{
  width:74%;
}
.ScrollStyle{
  /* max-height: 350px;
  width: 48.5%;
  overflow-x: hidden;
  overflow-y: auto; */
  line-height: 33px;
}
.right-align{text-align: right;padding-right: 30px;}
.pad-left{padding-left: 40px;}
.center-align{text-align: center;}
/*create Button*/
.marginRightCreateButton{
  margin-right:7px;
}

.marginLeftCreate{
  margin-left:42px;
}
.button-fixwidth{width:126px;}
.button-fixwidth-lg{width:146px;}
.timeCtrl{padding:12px;padding-top: 15px}
.ScrollStyle span{text-align: center;
    /* width: 80%; */
   /* border: solid grey 1px;
    background-color: #999;
    padding: 12px;*/
  color:white;
  margin-left: 7px;}

.ScrollStyle p{text-align: center;
    /* width: 80%; */
    border: solid grey 1px;
    background-color: #b3b3b3;
    /* padding: 12px; */
  }
.followUplbl{font-size: 16pt; text-align:center; margin-top: -14px;}
.pad-top{padding-top: 4px;}
.padBottom{padding-bottom: 7px;}

.partcreateBtn .btn{margin-left:0px!important;}
.leftAlignText{
  text-align:left !important;
}

.clear{
  margin-right: 22px;
}
.clearWorkflow{
  margin-left: -83px;
}
.disabled-link {
  pointer-events: none;
}
.unlockPatrolBtn{
  margin-left: -16px;
}
.left-padding{padding: 15px;padding-bottom:4px;}
.applShift{padding-left:15px;}

table.no-border, table.no-border> tbody, table.no-border> tbody>tr td ,table.no-border>thead, table.no-border>thead th, table.no-border>thead tr{background-color: transparent; border: none; }
table.no-border>thead:first-child>tr td {background-color: transparent !important; border: none !important; text-align: center;}
table.no-border>thead:first-child>tr td:nth-child(2){min-width: 200px;}

.pink-background p{background-color: pink!important;}
.reason-pad-top{padding-top: 35px;}
.img-height-width{height: 290px; width: 600px}
.followup-img-padding{padding-top: 6px;}
.sortIcon{margin-top: 4px;}
#patrolList thead tr th a{color:black;}
#patrolList thead tr th a:hover{text-decoration:none;}
.timeofcontrol{
  font-size: 9px;
    margin-left: 12px;
  height:82px;
  width: 18%;
}
.flowoutcontrol{font-size: 9px;
    margin-left: 3px;
  width:28%}
.controlImgs{height: 12px;width: 12px;}
.left-padding>div.col-sm-6{margin-top: -15px;}
.start-nextprocess{padding: 7px 0px 18px 0px;}
tr.processPadding:not(:first-child) {
   padding-top: 0px;
   padding-bottom: 0px;
}
 tr.processPadding:first-child {
    padding-bottom: 0px;
}
.center-align p{font-weight: bold;}
.boldTemp{font-weight: 800;}
.cusmtpad-timer{padding-top:8px;}
.cusmtpad-timerbtm{padding-bottom: 7px;}

.reportverpadding{padding: 10px 0px 0px 0px;}
.reasonverpadding{  padding: 0px 0px 4px 0px !important;}
.reportbtn{ margin: 10px;}

.loginHeading{padding-top: 35px;}

.loginContent{padding-left: 370px;}

.loginButton{padding-top: 25px;}
.modifyPart{margin-top: 38px;}
.loginPageBorder{border: groove grey 2px; margin-top: -90px;}
.loginNavHeader{ margin-top: 15px;}
.linkButton{margin-right: 12px;}
.small-heading a{font-size:15px;}
.padRt  span{
    padding-right: 11px;
}
.padRight span{padding-right: 12px;}
.stdClass span{padding-right:10px;}
table.headBg tr{background-color: rgba(66, 138, 201, 1);}
table.headBg tr td{font-size:14px;text-align:left;padding: 0px; line-height: 33px;}
table.headColor  tr td{text-align:center;font-size:14px!important;padding: 0px; line-height: 33px;}
.timerWidth{width:17%;}
.padtopMsg{padding-top:1%}
.padBtmBlock{ padding-bottom:10px; }
.padBtm{padding-bottom:0px;}
table.headColor>tr>td{padding-bottom:0px;padding-top:0px;}

.inner_table{
  display: block;
    overflow: auto;
  width:100%;
  height:310px;
 }
.headColor>tbody>tr.firstRowpadding0>td{padding-top:8px!important;}
.hasBorder{border:1px solid;}

.patrolMessageError{
  font-size: 15px;
    font-weight: 400;
    color: red;
    padding: 2px 10px 10px 0px;
}
.unLockButton{
  text-align:center;
  padding-top:20px;
}
.marginRightCreate{margin-right:15px;}
.width{
  width:10%;
}
.paginationAlign .react-bs-table-pagination .col-md-6:nth-child(1){
width: 50%;
float: right;
}
.paginationAlign .react-bs-table-pagination .col-md-6:nth-child(2){
  width:100%;
}
.start{
width: 15%;
}
.end{
width: 15%;
}

.start input[type="text"] {
    background-color: white;
}
.end input[type="text"] {
    background-color: white;
}
.timerPart{padding:13px;}
.no-pad{padding:0;}
.right-align-part{text-align:right;}
.width-fifty{width:50%}
.centerAligned{margin-left:27%;}
.paddingpercent{padding-top: 1%;}
.selectOptionLargeHeight .selectpicker{padding-top:20px;padding-bottom:20px;font-size:30px;width:94%}
.goBtnLargeHeight a.btn-primary{padding-bottom: 17px;padding-top: 17px;}
.homePageVerticalPadding{padding:25px 0px 25px 0px;}
.selectPatrolLabel{font-size:20px;}
.marginLeftpatrolDiv{margin-left:2%;}
div#paginationNum ul.pagination li a{padding:21px 35px 21px 35px; }
.refreshButton{color: #fff;
 background-color: #337ab7;
 border: 2px solid #2e6da4;
  font-size: 12px;
  position: absolute;
  padding:18px;
  margin-top:-65px;
  margin-left:8px
}
div#paginationNum table>tbody>tr>td{font-size:15px;padding:3px 8px 3px 8px;}
.spinner {
  margin-left: 50%;
  margin-top:20%;
  height: 28px;
  width: 28px;
  animation: rotate 0.8s infinite linear;
  border: 3px solid rgba(66, 138, 201, 1);
  border-right-color: transparent;
  border-radius: 50%;
}

@keyframes rotate {
  0%    { transform: rotate(0deg); }
  100%  { transform: rotate(360deg); }
}
#paginationNum  div.react-bs-table-container{padding-bottom: 3%; }
.validationMarkreport{color:red;font-size:25px; position:absolute; margin-left:184px;}
.customMargintop{margin-top:-18px;}

.test {
  position:absolute;
  right:32px;
}
.fixTtableheight{
  height:480px;
}
.modalAligntop .modal-dialog{position:absolute;left:28%;}
.pisdropdown .dropDownWidthselectTag{width:77%;}
.pisdropdown .validationMark{padding-left:16px;}
.loginContent label{font-size:25px;}
.loginContent .form-control{ padding: 5%;}
.loginButton button{ padding: 5%;}
.selectcustdrodown{padding: 14px 0px 14px 15px;width: 8%;}
.timeAlert{
    font-weight: bold;
    color: red!important;
    background-color: yellow!important;
}
.sessionTime{
    color: #428bca;
    padding-left: 1%;
    font-size: 20px;
    background-color: yellowgreen;
}

/*  Page Header */
.page-header{
  padding-bottom: 0px;
  margin: 0px;
  margin-bottom: 5px;
  border-bottom: 1px solid #eee;
}

/* alignment */
.marginRight150{
  margin-right: 150px;
}
.marginRight17{
  margin-right: 17px;
}

.noshow{
  visibility: hidden;
}
.panel-heading{
  padding:8px !important
}
.icon {
    height: 28px;
    width: 28px;
    padding: 3px;
    cursor: pointer;
}
.input-group .form-control {
    /* position: static; */
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}
/* Start Changes for QISNEW-677 */
.react-bs-container-body {
    height: auto !important;
    /* overflow-y: hidden; */
  }
/* End Changes for QISNEW-677 */
.react-autosuggest__container {
  position: relative;
}

.react-autosuggest__input {
    display: block;
    width: 100%;
    height: auto;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 20px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    font-weight: 400;
}

.react-autosuggest__input--focused {
  outline: none;
}

.react-autosuggest__input--open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.react-autosuggest__suggestions-container {
  display: none;
}

.react-autosuggest__suggestions-container--open {
  display: block;
  position: absolute;
  width: 100%;
  border: 1px solid #ccc;
  background-color: #fff;
  font-family: Helvetica, sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 2px;
  padding-top: 5px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  z-index: 2;
}

.react-autosuggest__suggestions-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.react-autosuggest__suggestion {
  cursor: pointer;
  padding: 10px 20px;
}

.react-autosuggest__suggestion--highlighted {
  background-color: #ddd;
}

.datepicker th {
    background-color: #428bca;
    border-radius: 0px !important;
    color: white;
}

.datepicker th:hover {
    background-color:#428bca !important;
    border-radius: 0px !important;
    color: white;
}

.datepicker td, span{
    border-radius: 0px !important;
}

.navbar{
  margin-bottom: 0px !important;
}

.alert{
  margin-bottom: 0px !important;
}

.alertcenter{
  width:100%;
  margin:auto;
}

.react-confirm-alert-button-group button {
  background : #265a88 !important;
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important;
}

.left{
  text-align: 'left' !important;
}

.files-dropzone{
    height: 50px !important;
    font-size: large !important;
    border-style : dashed !important;
    text-align: center !important;
}

.changeTestItemClass{
  font-weight: bold;
  background : #f7f7a0
}

.cloneTestItemClass{
  font-weight: bold;
  background: #ffff99 !important;
}

.multiselect {
  width: 197px !important;
}

.multiselect-container {
      width: 215px;
}

.fixWidth{
      width: 103% !important;
}

tbody tr td {
    vertical-align: middle !important;
}
.react-confirm-alert h1{
    font-size: 14px !important;
	  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
}

.react-confirm-alert h3{
    font-size: 12px !important;
	  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
}

.datePickerWidth{
  width: 100% !important;
}


.react-datepicker-wrapper{
      width: 100% !important;
}
.react-datepicker__input-container {
  width: 100% !important;
}

.infoNote {
    background-color: #e7f3fe;
    border-left: 6px solid #2196F3;
    margin-bottom: 15px;
    padding: 10px 12px;
}
.infoText{
    vertical-align: middle !important;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
    font-size: 12px !important;
}

.container {
  width : 98% !important
}

.rejectedTestItemClass{
    font-weight: bold;
    background : #FA8072;
}
.react-confirm-alert-overlay{
  z-index : 2147483647 !important;
}

.react-bs-table-pagination {
  /* margin-top: 40px !important; */
}

/* Old dashboard-panel styles removed - see new styles at end of file */

.react-confirm-alert{
  width: 511px !important;
  white-space: pre;
}
.filterButton {
  height: 2rem;
  margin-top: 3rem;
}

.planHeading {
  width: 20rem;
  text-decoration: underline;
}
.planSearchHeading {
  border: 1px solid black;
  width: 13rem;
  border-radius: 22px;
  background-color: white;
}

.searchTestItemsHeading {
  border: 1px solid black;
  width: 16rem;
  border-radius: 22px;
  background-color: white;
}

/* Modern Login Form Styles */
.modern-login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../images/loginBg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
}

.modern-login-card {
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  overflow: visible;
  max-width: 900px;
  width: 900px;
  min-height: 480px;
  margin: 60px auto;
  display: flex;
  align-items: center;
  padding: 48px 0;
  border-bottom-right-radius: 60px;
  border-top-left-radius: 60px;
}

.modern-login-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 384px;
  width: 100%;
}

.modern-login-left {
  flex: none;
  position: relative;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 340px;
  margin: 0 48px 0 48px;
}

.modern-login-image {
  position: relative;
  width: 340px;
  height: 340px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  z-index: 1;
  border-bottom-right-radius: 60px;
  border-top-left-radius: 60px;
}

.login-bg-image {
  object-fit: cover;
  border-radius: 32px;
}

.modern-login-overlay {
  background: rgba(0, 0, 0, 0.48);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 32px;
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: 2;
}

.modern-welcome-title {
  font-size: 48px;
  font-weight: 300;
  text-align: center;
  font-family: serif;
}

.modern-welcome-subtitle {
  font-size: 21px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  opacity: 0.9;
}

.modern-login-right {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modern-login-header {
  text-align: center;
  margin-bottom: 55px;
}

.modern-toyota-logo {
  max-height: 40px;
  margin-bottom: 20px;
}

.modern-toyota-title {
  font-size: 36px;
  font-weight: bold;
  color: #e60012;
  margin: 0;
  letter-spacing: 2px;
}

.modern-login-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modern-error-message {
  color: #e74c3c;
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.modern-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modern-login-btn {
  background: #177EC3;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.modern-login-btn:hover {
  background: #177EC3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 126, 195);
}

.modern-login-btn:active {
  transform: translateY(0);
}

.modern-microsoft-btn {
  background: #177EC3;
}

.modern-tars-btn {
  background: #177EC3;
}

.modern-login-divider {
  text-align: center;
  position: relative;
  margin: 10px 0;
}

.modern-or-text {
  background: white;
  color: #666;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
}

.modern-login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
  z-index: 1;
}

.modern-or-text {
  position: relative;
  z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-login-content {
    flex-direction: column;
  }

  .modern-login-left {
    min-height: 300px;
  }

  .modern-login-overlay {
    border-radius: 20px 20px 0 0;
  }

  .login-bg-image {
    border-radius: 20px 20px 0 0;
  }

  .modern-welcome-title {
    font-size: 36px;
  }

  .modern-welcome-subtitle {
    font-size: 20px;
  }

  .modern-login-right {
    padding: 40px 20px;
  }

  .modern-toyota-title {
    font-size: 28px;
  }
}

.nameRoleWrapper {
  display: grid;
}

.react-bs-container-footer, .react-bs-container-header {
  position: sticky !important;
  top: 0px !important;
}

/* ============================================
   DASHBOARD CARDS STYLING - Enhanced Layout
   ============================================ */

/* Dashboard panel container */
.dashboard-panel,
.dashboard-panel-active {
  width: 250px !important;
  float: left;
  margin: 8px !important;
  border: 1px solid #ddd;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #ffffff;
  overflow: hidden;
}

.dashboard-panel:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.dashboard-panel-active {
  border: 2px solid #0078d4 !important;
  box-shadow: 0 4px 16px rgba(0, 120, 212, 0.3) !important;
}

/* Panel heading - Blue header */
.dashboard-panel .panel-heading,
.dashboard-panel-active .panel-heading {
  background-color: #4a90c2 !important;
  background-image: linear-gradient(to bottom, #4a90c2 0%, #3a7fb0 100%) !important;
  border-bottom: none !important;
  padding: 12px 15px;
  border-top-left-radius: 8px !important;
  border-top-right-radius: 8px !important;
  text-align: center;
}

.dashboard-panel .panel-heading h4,
.dashboard-panel-active .panel-heading h4 {
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  text-align: center;
  line-height: 1.3;
}

/* Panel body - AGGRESSIVE white space removal with FIXED HEIGHT to match table */
.dashboard-panel .panel-body,
.dashboard-panel-active .panel-body {
  padding: 0 !important;
  margin: 0 !important;
  background-color: #ffffff;
  line-height: 0 !important;
  font-size: 0 !important;
  overflow: hidden !important;
  height: 68px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Bootstrap table within dashboard panel - AGGRESSIVE spacing removal */
.dashboard-panel .react-bs-table,
.dashboard-panel-active .react-bs-table {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* Remove all wrapper/container spacing */
.dashboard-panel .react-bs-table > div,
.dashboard-panel-active .react-bs-table > div,
.dashboard-panel .react-bs-table-container,
.dashboard-panel-active .react-bs-table-container,
.dashboard-panel .react-bs-table .react-bs-container-body,
.dashboard-panel-active .react-bs-table .react-bs-container-body {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.dashboard-panel .react-bs-table table,
.dashboard-panel-active .react-bs-table table {
  margin: 0 !important;
  margin-bottom: 0 !important;
  border: none !important;
  border-collapse: collapse !important;
  display: table !important;
  width: 100% !important;
}

/* Table headers in dashboard cards */
.dashboard-panel .react-bs-table table thead,
.dashboard-panel-active .react-bs-table table thead {
  display: table-header-group !important;
}

.dashboard-panel .react-bs-table table thead tr,
.dashboard-panel-active .react-bs-table table thead tr {
  display: table-row !important;
}

.dashboard-panel .react-bs-table table thead th,
.dashboard-panel-active .react-bs-table table thead th {
  background-color: #f8f9fa !important;
  border: 1px solid #dee2e6 !important;
  padding: 8px 6px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 600;
  color: #333333;
  text-align: center !important;
  display: table-cell !important;
  vertical-align: middle !important;
}

/* Table body */
.dashboard-panel .react-bs-table table tbody,
.dashboard-panel-active .react-bs-table table tbody {
  display: table-row-group !important;
}

.dashboard-panel .react-bs-table table tbody tr,
.dashboard-panel-active .react-bs-table table tbody tr {
  display: table-row !important;
}

/* Table body cells */
.dashboard-panel .react-bs-table table tbody td,
.dashboard-panel-active .react-bs-table table tbody td {
  border: 1px solid #dee2e6 !important;
  padding: 10px 6px !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 500;
  color: #333333;
  text-align: center !important;
  background-color: #ffffff;
  display: table-cell !important;
  vertical-align: middle !important;
}

/* Hover effect on table rows */
.dashboard-panel .react-bs-table table tbody tr:hover td,
.dashboard-panel-active .react-bs-table table tbody tr:hover td {
  background-color: #f8f9fa !important;
}

/* Dashboard container - flex layout for better alignment */
.dashboard-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 0;
}

/* Section headers for ePESS Plans and Test Items */
.dashboard-section-header {
  background-color: #e0e0e0;
  padding: 10px 15px;
  margin: 15px 0 10px 0;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  clear: both;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .dashboard-panel,
  .dashboard-panel-active {
    width: 220px !important;
    margin: 6px !important;
  }
}

@media (max-width: 1200px) {
  .dashboard-panel,
  .dashboard-panel-active {
    width: 200px !important;
    margin: 5px !important;
  }
  
  .dashboard-panel .panel-heading h4,
  .dashboard-panel-active .panel-heading h4 {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .dashboard-panel,
  .dashboard-panel-active {
    width: 180px !important;
  }
}

@media (max-width: 768px) {
  .dashboard-panel,
  .dashboard-panel-active {
    width: 100% !important;
    max-width: 300px;
    margin: 10px auto !important;
    float: none !important;
  }
  
  .dashboard-container {
    justify-content: center;
  }
}

/* Clearfix for floating elements */
.dashboard-row::after {
  content: "";
  display: table;
  clear: both;
}

/* Large number display for cancelled/single value cards - MATCH TABLE HEIGHT EXACTLY */
.dashboard-panel .panel-body h1,
.dashboard-panel-active .panel-body h1 {
  text-align: center;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 32px !important;
  font-weight: 700;
  color: #4a90c2;
  line-height: 1 !important;
  /* Match panel-body height exactly */
  height: 68px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

/* Ensure all cards have same total height */
.dashboard-panel,
.dashboard-panel-active {
  min-height: auto !important;
  height: auto !important;
}

/* Remove any extra spacing from table container */
.dashboard-panel .react-bs-table-container,
.dashboard-panel-active .react-bs-table-container {
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure table rows have no extra spacing */
.dashboard-panel .react-bs-table table tbody tr,
.dashboard-panel-active .react-bs-table table tbody tr {
  line-height: 1 !important;
}

/* Remove bottom border radius from panel body to match cards flush to bottom */
.dashboard-panel,
.dashboard-panel-active {
  border-bottom-left-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

/* Filter section styling */
.filter-section {
  background-color: #f5f5f5;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.filter-section h4 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
}

/* Dropdown and input styling within filter */
.filter-section .form-control,
.filter-section select {
  height: 36px;
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 6px 12px;
  font-size: 14px;
}

.filter-section .form-control:focus,
.filter-section select:focus {
  border-color: #0078d4;
  box-shadow: 0 0 0 0.2rem rgba(0, 120, 212, 0.25);
}

/* Radio button styling */
.filter-section input[type="radio"] {
  margin-right: 8px;
  margin-left: 15px;
}

.filter-section label {
  font-weight: normal;
  margin-bottom: 0;
  cursor: pointer;
}

/* Plan type toggle buttons */
.plan-type-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.plan-type-toggle button {
  flex: 1;
  padding: 8px 16px;
  border: 2px solid #0078d4;
  background-color: #ffffff;
  color: #0078d4;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.plan-type-toggle button:hover {
  background-color: #f0f8ff;
}

.plan-type-toggle button.active {
  background-color: #0078d4;
  color: #ffffff;
}

/* End of Dashboard Cards Styling */

/* ===== PLAN DETAILS PANEL STYLING - NEW CLASSES ===== */
/* Panel styling for Plan Details sections like "Applicable to" */
.plan-details-panel {
  background-color: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 1px rgba(0,0,0,.05) !important;
  margin-bottom: 20px !important;
}

/* Panel header with proper styling to match reference image */
.plan-details-panel-header {
  background: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%) !important;
  border-bottom: 1px solid #ddd !important;
  border-top-left-radius: 3px !important;
  border-top-right-radius: 3px !important;
  padding: 10px 15px !important;
  margin: 0 !important;
  min-height: 40px !important;
}

.plan-details-panel-title {
  font-size: 14px !important;
  font-weight: bold !important;
  color: #333 !important;
  margin: 0 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.5) !important;
  line-height: 1.4 !important;
}

/* Panel body styling */
.plan-details-panel-body {
  padding: 15px !important;
  background-color: #fff !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Button alignment fix - place buttons on the right after content */
.plan-details-add-parts-btn {
  float: right !important;
  margin-top: 15px !important;
  margin-left: 10px !important;
  clear: both !important;
}

/* Enhanced button styling to match reference */
.plan-details-btn-primary {
  background: linear-gradient(to bottom, #428bca 0%, #357ebd 100%) !important;
  border: 1px solid #357ebd !important;
  color: #fff !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  line-height: 1.42857143 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  text-shadow: 0 -1px 0 rgba(0,0,0,.2) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075) !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin-bottom: 0 !important;
  font-weight: normal !important;
  text-align: center !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

.plan-details-btn-primary:hover {
  background: linear-gradient(to bottom, #357ebd 0%, #286090 100%) !important;
  border-color: #285e8e !important;
  color: #fff !important;
  text-decoration: none !important;
}

.plan-details-btn-primary:active {
  background: linear-gradient(to bottom, #286090 0%, #357ebd 100%) !important;
  box-shadow: inset 0 3px 5px rgba(0,0,0,.125) !important;
}

/* Clear floats after panel content */
.plan-details-panel-body::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

/* Grid content inside panel body */
.plan-details-panel-body .react-bs-table-container {
  margin-bottom: 15px !important;
}

/* Ensure proper spacing for nested components */
.plan-details-panel-body > div:first-child {
  margin-bottom: 15px !important;
}

/* Button toolbar for multiple buttons */
.plan-details-btn-toolbar {
  margin-top: 15px !important;
  clear: both !important;
  text-align: right !important;
  overflow: hidden !important;
}

.plan-details-btn-toolbar .plan-details-btn-primary {
  float: none !important;
  margin-left: 5px !important;
  margin-top: 0 !important;
  display: inline-block !important;
}

.plan-details-btn-toolbar .plan-details-btn-primary:first-child {
  margin-left: 0 !important;
}

.react-confirm-alert-body {
  width: fit-content !important;
}

.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){
  margin-right:10px !important
}
.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){
    margin-right:10px !important
}
.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){
   margin-right:10px !important
}

/* History Table css for sticky headers */
#history-table-container .history-table-container-wrapper table thead, #test-history-table-container table thead, #eppt-plan-table-container .table-content-wrapper table thead {
    display: table-header-group !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 101 !important;
    background-color: #f5f5f5 !important;
}

#errorMsgAlert{
  margin-bottom: -34px !important;
}

/* Test items css for sticky headers */
#testItemsEppptTable .legacy-table-container .legacy-table-wrapper table thead {
    display: table-header-group !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 101 !important;
    background-color: #f5f5f5 !important;
}