* { 
	margin: 0; 
	padding: 0;
	 }
/* Site Colors:

  #1A446C - blue grey

  #689DC1 - light blue

  #D4E6F4 - very light blue

  #EEE4B9 - light tan

  #8D0D19 - burgundy

  #185b75 - light blue background
  
  #02024e - dark blue border color
*/
html { 
	height: 100%; 
	width: 100%;
}

body:not(.no-background-image) {
    background-image: url("../images/commander1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

/*=======================================================*/
/* === Top Navigation Bar === */
.topbar {
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, #1f2937, #646c7b); /* dark grayish-blue to lighter blue */
  color: #fff;
  padding: 10px 20px;
}


/* Logo + Hamburger Container */
.logo-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hamburger Icon */
.hamburger {
  font-size: 24px;
  cursor: pointer;
  display: none;
  color: #fff;
}

/* === Main Navigation === */
.main-nav {
  width: 100%;
}

.main-nav > ul { /* Only the top-level UL gets flex */
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.main-nav li {
  position: relative;
  background-color: #1f2937;
  color: #fff;
  cursor: pointer;
}

/* Menu Headings */
.menu-heading {
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  background: linear-gradient(to bottom, #273342, #5d636f);
  font-size: 22px;
}

.main-nav li:hover,
.main-nav .menu-heading:hover {
  color: #ddd;
}

/* Hide dropdown by default */
.has-dropdown {
  position: relative; /* anchor dropdown position */
}

/* Dropdown hidden state */
/* Dropdown positioning & base */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: transparent;
  min-width: 200px;         
  border-radius: 4px;        
  padding: 0.25rem 0;       
  list-style: none;
  margin: 0;
  z-index: 1000;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
}

.dropdown li {
  padding: 1rem 1rem;
  margin-bottom: 4px; /* small space between items */
  white-space: nowrap;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 300ms ease, transform 300ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Remove bottom margin on the last item */
.dropdown li:last-child {
  margin-bottom: 0;
  border-bottom: none;
}
/* Hover background stays the same */
.dropdown li:hover {
  background-color: #374151;
}


/* visible state when open */
.has-dropdown.open > .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.has-dropdown.open > .dropdown li {
  opacity: 1;
  transform: translateY(0);
}

/* closing state: keep container present while items fade out */
.has-dropdown.closing > .dropdown {
  /* keep pointer-events none while closing so user can't interact during animation */
  pointer-events: none;
}
/* when closing, items animate back to hidden (delays will be set dynamically by JS) */
.has-dropdown.closing > .dropdown li {
  opacity: 0;
  transform: translateY(-5px);
}

/* arrow rotation */
.arrow {
  display: inline-block;
  transition: transform 300ms ease;
}
.has-dropdown.open .arrow { transform: rotate(180deg); }
/* rotate back as closing starts (this rule should come after the .open rule) */
.has-dropdown.closing .arrow { transform: rotate(0deg); }


/* === Responsive (Mobile) === */
@media (max-width: 768px) {
  /* Remove any solid background from nav wrappers */
  nav,
  header,
  .main-nav,
  #mainNav {
    background: transparent !important;
    box-shadow: none !important;
  }

  .hamburger {
    display: block;
  }

  #mainNav {
    display: none;
    flex-direction: column;
    align-items: center;
    background: transparent !important;
    padding: 10px 0;
  }

  #mainNav.open {
    display: flex;
  }

  .main-nav {
    background: transparent !important;
  }

  .main-nav > ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .main-nav > ul > li {
    background: rgba(31, 35, 43, 0.9);
    width: 80%;
    margin: 6px 0;
    padding: 12px 16px;
    border-radius: 6px;
    list-style: none;
    border: none;
    text-align: center;
    transition: background-color 0.3s ease;
  }

  /* Hover for main menu items in mobile view */
  .main-nav > ul > li:hover {
    background-color: rgba(55, 65, 81, 0.9);
    cursor: pointer;
  }

  .main-nav > ul > li.hidden {
    display: none !important;
  }

  .dropdown li {
    padding-left: 30px;
  }
}

/* Hover for submenu items (all screen sizes) */
.dropdown li:hover {
  background-color: rgba(55, 65, 81, 0.8);
  cursor: pointer;
}


/*=============================================================== */

.form-mainmenu {
    background-color: #5b0303;
    min-height: 100px;
    color: #fff;
    margin: 0;
    width: 100%;
    position: relative;
    z-index: 10; /* Ensure it stays above other content */
}
#page-wrapper {
    height: auto;
    min-width: 275px;
    width: 100%;
    margin-top: 1px;
    padding-top: 0;
    overflow: auto; /* Allow scrolling */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}
#paysum-wrap {
	display: block;
	margin: 0px auto; 
	color: #000;
	background-color: #fff;
	width: 98%;
	height:1100px;
	min-width: 1850px;
	border-radius: 10px;
    border: 3px solid #380303;
    -webkit-border-radius:10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
}
#report-wrap {
    display: block;
    margin: 0px auto;
    color: #000;
    background-color: #fff;
    width: 98%;
    min-width: 1850px;
    border-radius: 10px;
    border: 3px solid #380303;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    overflow: auto; /* Allow scrolling */
}
.upnext {
	margin-top: 10px!important;
	width: 830px!important;
	min-width: 600px!important;
}
.tableheader {
    color: #fff;
    width: 100%;
    height: 46px;
    background-color: #5b0303;
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
}
.search {
	display: inline-block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 180px;
    font: normal 18px 'Bitter', serif;
    text-align: center;
    padding: 4px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #380303;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
	margin: 8px;
}
#equipment-page .tableheader {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 10px;
}

#equipment-page .tableheader.filters {
    background: #6b0000;
}

#equipment-page .lblfilter {
    color: #fff;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
    
#equipment-page .lblfilter select {
    margin-left: 6px;
}

.tooltip {
            position: relative;
            display: inline-block;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position the tooltip above the text */
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.help-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #7aade3;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 20px;
    margin-left: 5px;
    margin-bottom: 3px;
}

.helpmodal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.helpmodal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 6px solid #5b0303;
    border-radius: 40px;
    width: 80%;
    max-width: 300px;
    text-align: justify;
}

.helpclose {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.helpclose:hover,
.helpclose:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/*========= Purchase Order CSS ========================================*/
#selectparts {
	float: left;
	width: 200px;
	margin: 16px 20px 4px 80px;
}
#purchaseorder {
	position: absolute;
	font-size: 22px;
	top: 78px;
	right: 220px;
	margin: 10px;
	color: #fff;
}
#poNumber {
	position: absolute;
	font-size: 22px;
	top: 78px;
	right: 60px;
	margin: 10px;
	text-align: center;
	color: #fff;
	width: 140px;
	background-color: #5b0303;
	border: none;
}
#po_wrap {
    display: block;
    margin: 0px auto;
    color: #000;
    background-color: #fff;
    width: 98%;
    min-width: 1850px;
    border-radius: 10px;
    border: 3px solid #380303;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    overflow: auto; /* Allow scrolling */
}
#po_details {
  width: 75%;
  margin: auto;
  height: 800px;
  background-color: white;
  min-width: 400px;
}
.po_grid {
	height: 58vh !important;
}
.po_header {
    color: #fff;
    width: 100%;
    min-width: 1000px;
    height: 46px;
    background-color: #5b0303;
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    border-radius: 10px 10px 0 0;
}
#po_itementry {
	color: #fff;
    width: 100%;
    min-width: 1000px;
    height: 60px;
    background-color: #5b0303;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
}
#tech {
	font-size: 16px !important;
	height: 30px;
	padding: 0 0 0 5px;
	text-align: center;
	margin: 10px 10px 10px 10px;
}
#pocust {
	font-size: 16px !important;
	height: 30px;
	padding: 0 0 0 5px;
	text-align: center;
	margin: 10px 10px 10px 10px;
}
#vendor {
	font-size: 16px !important;
	height: 30px;
	width:200px;
	padding: 0 0 0 5px;
	text-align: center;
	margin: 10px 10px 10px 10px;
}
#paymethod {
	font-size: 16px !important;
	height: 30px;
	width:200px;
	padding: 0 0 0 5px;
	text-align: center;
	margin: 10px 10px 10px 10px;
}
#expense_employee {
	width: 280px;
	height: 40px;
	font-size: 18px;
	text-align: center;
}
#expense_payment {
	width: 280px;
	height: 40px;
	font-size: 18px;
	text-align: center;
}
#cropImage {
  max-width: 100%;
  max-height: 80vh;
  display: block;
}
/* Make crop handles bigger & finger-friendly */
.cropper-point {
  width: 20px !important;
  height: 20px !important;
  background-color: rgba(0, 123, 255, 0.8) !important;
  border-radius: 50% !important;
}

.cropper-line {
  width: 6px !important;
  height: 6px !important;
  background-color: rgba(0, 123, 255, 0.6) !important;
}

/* Highlight crop box edge */
.cropper-view-box {
  outline: 2px solid #007bff !important;
}

#amount {
	width: 280px;
	height: 32px;
	font-size: 18px;
	text-align: center;
}

#expenseLogPaymethod {
	font-size: 16px;
	height: 26px;
	width:200px;
	padding: 0 0 0 5px;
	text-align: center;
	margin: 10px 10px 10px 10px;
}
#expenseLogEmployee {
	font-size: 16px;
	height: 26px;
	width:200px;
	padding: 0 0 0 5px;
	text-align: center;
	margin: 10px 10px 10px 10px;
}
/* Modal backdrop */
#receiptModal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(51, 49, 49, 0.95) !important;/* solid gray */
  opacity: 1 !important;                 /* no transparency */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#receiptModal.active {
  display: flex;
}

#receiptFrame {
  border: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.inputboxlabel input[type="file"] {
  display: none; /* hide default file input */
}

.upload-btn {
  display: inline-block;
  height: 30px;
  width: 120px;
  padding: 6px 12px;
  background: #5b0303;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  font-weight: normal;
  margin: 10px 10px 10px 20px;
  font-size: 15px;
}
.upload-btn:hover {
  background: #800000;
  box-shadow: 0 0 10px 0 #800000 inset, 0 0 10px 4px #800040;
}
/* Modal inner box */
#receiptModal .receipt-modal-content {
  position: relative;
  margin: 3% auto;
  background: #fff;
  width: min(1000px, 94%);
  height: 90vh;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  color: #222;
}

/* Close button */
/* Close button */
#receiptModal .receipt-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 3px solid #ffffff;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Close button SVG */
#receiptModal .receipt-close-btn svg {
  width: 22px;
  height: 22px;
  stroke: #fff;              /* ✅ make the X white */
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

#receiptModal .receipt-close-btn:hover svg {
  stroke: #ff4444;           /* optional hover color */
}

/* Receipt frame */
#receiptModal #receiptFrame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------------------------
   Dark Mode Overrides
   --------------------------- */
@media (prefers-color-scheme: dark) {
  #receiptModal .receipt-modal-content {
    background: #1e1e1e;
    color: #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
  }

  #receiptModal .receipt-close-btn svg {
    stroke: #eee;
  }

  #receiptModal .receipt-close-btn:hover svg {
    stroke: #ff6b6b; /* brighter red in dark mode */
  }
}


.lblposearch {
	margin: 4px 4px 4px 10px;
}
#lblitem {
	margin:10px 5px 10px 40px;
}
#item {
	font-size: 16px !important;
	height: 30px;
	width: 200px;
	padding: 0 0 0 5px;
	text-align: center;
	margin: 16px 5px 10px 10px;
}

#ptaHeader {
  background-color: #5b0303;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 66px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
}

.pta-title {
  flex-shrink: 0;
}

.pta-buttons {
  display: flex;
  gap: 10px;
}
#poList {
  width: 50%;
  min-width: 900px;
  height: 1200px;
  margin: 10px auto;
  border-radius: 10px;
  background-color: #fff;
}
#poWrap {
  width: 75%;
  min-width: 1500px;
  height: 1200px;
  margin: 10px auto;
  border-radius: 10px;
  background-color: #fff;
}
#poListtable {
    width: 100%; 
    margin-top: 10px;
    margin-bottom: 50px;
    table-layout: auto;
    padding: 5px;
    box-sizing: border-box;
}
#po_notearea {
	height: 90px;
	border-bottom: 1px dashed #5b0303;
}
#po_notes {
	width: 98%;
	height: 40px;
	border: 1px solid black;
	border-radius: 5px;
	margin: 10px;
	padding: 4px 2px 0 4px;
}
#po_notes:focus {
	outline: solid #5b0303;
}
#reportinvtable th {
	text-align: center;
	border-bottom: 1px solid #000000;
	border-top: none;
	border-right: none;
	border-left: none;
	background: #fff;
	position: sticky;
	top: 0px;	
}
#poListtable th:hover {
  color: #007aff;
  text-decoration: none;
  cursor: pointer;
}	
#poListtable td {
	text-align: center;
	padding-left:20px;
	border-bottom: none;
	border-top: none;
	border-right: none;
	border-left: none;
	text-overflow: ellipsis;
	overflow: hidden;
}

#poListtable tr:nth-child(2n+3) {
  background-color: #cce6ff;
  height: 40px;
}

#poListtable tr:nth-child(2n+2) {
  background-color: #e6f2ff;
  height: 40px;
}
#newVendor {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.1);
}
#newVendor-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 5, 5, 0.5);
}
#newVendor-content {
  position: absolute;
  top: 36%;
  left: 46%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 80vh;
  max-height: 866px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
#newVendor-content h1 {
  margin: 0;
  height: 50px; /* or whatever you want */
  background-color: #5b0303;
  color: white;
  line-height: 50px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  }
.newVendor-inner {
  padding: 1rem;
}
#rtoModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

#rtoModal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

#rtoModal-content {
  position: absolute;
  top: 36%;
  left: 46%;
  transform: translate(-50%, -50%);
  min-width: 700px;
  max-width: 1860px;
  height: 80vh;
  max-height: 640px;
  background-color: #fff;
  border-radius: 8px;
  padding: 1rem;
  overflow: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#rtoModal table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 14px;
}

#rtoModal th, #rtoModal td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

#rtoModal th {
  background-color: #f5f5f5;
  font-weight: bold;
}

#rtoModal button {
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  margin: 10px 10px 10px 5px;
}

#rtoModal button:hover {
  background-color: #770b0b;
}

/* Container */
#orderScroll {
    max-height: 60vh;
    min-height: 1008;
    overflow-y: auto;
    overflow-x: auto;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/* Table Base */
.order-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background-color: #fff;
}

/* Header Styling */
.order-table thead tr {
    background-color: #4a0000;
    color: #ffffff;
}

.order-table th,
.order-table td {
    padding: 10px;
    text-align: left;
    vertical-align: middle;
    border: 1px solid #ddd;
}

/* Striped Rows */
.order-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.order-table tbody tr:nth-child(odd) {
    background-color: #e9e9e9;
}

/* Input and Textarea inside even rows */
.order-table tbody tr:nth-child(even) input,
.order-table tbody tr:nth-child(even) textarea,
.order-table tbody tr:nth-child(even) select {
    background-color: #f9f9f9;
}

/* Input and Textarea inside odd rows */
.order-table tbody tr:nth-child(odd) input,
.order-table tbody tr:nth-child(odd) textarea,
.order-table tbody tr:nth-child(odd) select {
    background-color: #e9e9e9;
}

/* Input/Select/Textarea Styling */
.order-table input,
.order-table select,
.order-table textarea {
    width: 100%;
    padding: 6px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #bbb;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.order-table input:focus,
.order-table select:focus,
.order-table textarea:focus {
    border-color: #007bff;
    outline: none;
}

.urgency-aog {
    background-color: #ffe6e6; /* Light red background */
    border: 1px solid red;
    color: red;
    font-weight: bold;
}
.status-received {
    background-color: #ccffcc; /* light green */
}

.status-backordered {
    background-color: #ffe0b2; /* light orange */
}
/* Optionally: make select text color stand out */
select.status-received {
    color: #006600;
    font-weight: bold;
}

select.status-backordered {
    color: #994d00;
    font-weight: bold;
}

/* New Entry Row */
#new-entry-row {
    background-color: #bec2c5;
    border-bottom: 22px solid #6b6c70;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.add-row-btn,
.remove-row-btn {
    padding: 5px 10px;
    font-size: 14px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.status-onorder {
	background-color: #ffe0b2;
	background: #fff5cd !important;
}
.status-received {
    background-color: #ccffcc; /* light green */
    background: #ccffcc !important;
}

.status-backordered {
    background-color: #ffe0b2; /* light orange */
	background: #e7a258 !important;
}

.hide-received-wrap {
    position: absolute;
    top: 100px; /* adjust as needed to align vertically */
    right: 30px; /* 30px from the right edge */
    font-weight: normal;
    margin: auto 30px 10px auto !important;
    transform: scale(1.2);
}

.add-row-btn {
    background-color: #5b0303;
    height: 24px !important;
  	font-size: 14px !important;
  	padding: 2px !important;
  	width: 54px !important;
}

.add-row-btn:hover {
    background-color: #800000;
    box-shadow: 0 0 10px 0 #800000 inset, 0 0 10px 4px #800040;
}

.remove-row-btn {
    background-color: #dc3545;
    height: 24px !important;
  	font-size: 14px !important;
  	padding: 2px !important;
  	width: 54px !important;
}

.remove-row-btn:hover {
    background-color: #bd2130;
}

/* Responsive Design */
/* Responsive Design */
@media (max-width: 768px) {
    .order-table,
    .order-table tbody,
    .order-table tr,
    .order-table td {
        display: block;
        width: 100%;
}
}
@media (max-width: 768px) {
    .order-table thead {
        display: block;
        color: white;
}
}
@media (max-width: 768px) {
    .order-table thead {
        display: none;
    }


.order-table td {
    position: relative;
    padding-left: 35%; /* Leave room for label */
    padding-top: 10px;
    padding-bottom: 10px;
    border: none;
    width: 250px !important;
    border-bottom: 1px solid #ccc;
    color: black;
}

.order-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 10px;
    font-weight: bold;
    white-space: normal; /* Allow labels to wrap if needed */
    width: 30%;
}
}
.order-table input,
.order-table select {
    width: 100%;
    min-width: 100px;
    font-size: 14px;
    box-sizing: border-box;
    touch-action: manipulation; 
}


#scrollit {
	height: 72vh;
	width: 100%;
	overflow-y: scroll;
	overflow-x: auto;
	box-sizing: border-box;
}
#job-scroll {
	height: 72vh;
	width: 80%;
	overflow-y: scroll;
}
#user-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;
	padding: 20px;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.h1-wrapper {
    position: relative;
}
#userId {
	width: 56px;
	height: 32px;
	text-align: center;
}
.user-id-field {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 14px;
}

.user-id-field label {
    margin-right: 5px;
}

.user-id-field input {
    padding: 4px 6px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.user-maint {
	width: 100%;
	max-width: 800px;
	background-color: #ffffff;
	border: 1px solid #ddd;
	border-radius: 12px;
	padding: 20px;
	box-sizing: border-box;
	overflow: hidden;
}

.user-maint h1 {
	background: #5b0303;
	color: #fff;
	padding: 16px 24px;
	margin: -20px -20px 20px -20px;
	border-radius: 12px 12px 0 0;
	font-size: 22px;
	font-weight: 600;
}

.section {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between; /* Spread items to both ends (left and right) */
    max-height: 800px; /* Adjustable height */
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

/* Optional scrollbar styling for WebKit */
.section::-webkit-scrollbar {
	width: 8px;
}
.section::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 6px;
}

.user-maint .inner-wrap {
	width: 100%;
	max-width: 300px;
	background: #f9f9f9;
	padding: 12px 16px;
	border-radius: 10px;
	margin-bottom: 10px;
}

.user-maint input[type="submit"] {
	background: #5b0303;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 12px;
	width: 100%;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.user-maint input[type="submit"]:hover {
	background: #821717;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid #c82725;
	border-radius: 4px;
}

.user-maint input[type="text"],
.user-maint input[type="date"],
.user-maint input[type="email"],
.user-maint input[type="number"],
.user-maint input[type="password"],
.user-maint input[type="time"],
.user-maint input[type="url"],
.user-maint textarea,
.user-maint select {
	width: 100%;
	font-size: 14px;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
	background-color: #fff;
	margin: 6px 0 12px;
	transition: border 0.2s ease;
}

.user-maint input[type="text"]:focus,
.user-maint select:focus {
	border-color: #5b0303;
}

.inputlabel,
.inputboxlabel {
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 4px;
	color: #333;
}
.user-info {
	display: flex;
	flex-wrap: wrap;
	padding: 0 20px;
}

.user-info .inputlabel {
	flex: 1 1 300px; /* two columns with spacing */
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	margin: 4px 20px;
}
.inputlabel-half {
    display: flex;
    justify-content: space-between; /* Space them out evenly */
    width: 100%; /* Ensure it uses full width */
	gap: 12px;
}

.inputlabel-half label {
    flex: 1 1 48%; /* 50% width, minus some space for padding/margin */
    box-sizing: border-box;
}
.permissions {
    display: grid;
    grid-template-columns: 1fr 1fr; /* or however many columns */
    gap: 16px;
    padding: 10px 20px;
    width: 100%;
    max-width: none; /* ensure it's not restricted */
}

#permheader {
    display: flex;
    justify-content: space-between; /* This pushes the heading and button to opposite sides */
    align-items: center;
    font-size: 20px;
    margin: 0 0 0 24px;
    color: #222;
    width: 100%; /* Ensure it takes the full width of the parent container */
}
.reset-password-btn {
    padding: 6px 12px;
    font-size: 14px;
    background-color: #5b0303;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 20px;
    width: 130px;
}

.reset-password-btn:hover {
    background-color: #9c6e75;
}

.perm-group {
	background: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  width: 100%; /* Make it fill available space */
  box-sizing: border-box;
}

.perm-group.full-width {
	grid-column: 1 / -1; /* full-width inside the grid */
}

.perm-group h3 {
	font-size: 16px;
	margin-bottom: 8px;
}

.checkbox-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
/* Add this for desktop layout */
@media (min-width: 768px) {
  .permissions {
    grid-template-columns: 1fr 1fr; /* Two columns on wider screens */
  }

  .perm-group.full-width {
    grid-column: 1 / -1; /* Full width on desktop for selected groups */
  }
}
@media (max-width: 600px) {
	.checkbox-container {
		grid-template-columns: 1fr;
	}
}

.permissions label {
	display: flex;
	align-items: center;
	font-size: 14px;
	gap: 6px;
}
.section .button-section {
    margin-left: auto; /* Forces the button section to the right end */
    width: 220px;
    padding: 0px 0px 10px 0px;
    margin-top: 8px; /* Optional: Add top margin for spacing */
}
.permissions input[type="checkbox"] {
	width: 16px;
	height: 16px;
}

.sub-checkboxes {
	margin-left: 10px;
	padding-left: 10px;
	border-left: 2px solid #ddd;
}

.sub-checkboxes label {
	margin: 4px 0;
	font-size: 13px;
	padding-left: 6px;
}
@media (max-width: 600px) {
	.perm-group {
		flex: 1 1 100%;
	}

	.checkbox-container {
		grid-template-columns: 1fr;
	}
}

/* Modal styles */
.user-maint .modal {
	display: none;
	position: fixed;
	top: 170px;
	left: 0;
	right: 0;
	margin: auto;
	width: 90%;
	max-width: 430px;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 999;
	padding: 10px;
}

.user-maint .modal-content {
	background-color: #fff;
	padding: 20px;
	border-radius: 10px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
	.user-maint {
		padding: 15px;
	}
	.permissions {
		flex-direction: column;
	}
	.perm-group {
		flex: 1 1 100%;
	}
}
.editable-input {
  width: 92%;
  border: 1px solid #ccc;
  padding: 2px 4px;
  font-size: 14px;
}

.list_delbtn {
	background-color: #a00707;
	color: #fff;
	border-radius: 6px;
	padding: 4px;
}
#list-wrap {
    display: block;
    margin: 0px auto;
    color: #000;
    background-color: #fff;
    width: 900px;
    min-width: 600px;
    border-radius: 10px;
    border: 3px solid #380303;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    overflow: auto; /* Allow scrolling */
}
#reportlisttable {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 50px;
    table-layout: auto;
    padding: 5px;
    box-sizing: border-box;
}
#reportlisttable th {
	text-align: center;
	border-bottom: 1px solid #000000;
	border-top: none;
	border-right: none;
	border-left: none;
	background: #fff;
	position: sticky;
	top: 0px;	
}
#reportlisttable th:hover {
  color: #007aff;
  text-decoration: none;
  cursor: pointer;
}	
#reportlisttable td {
	text-align: center;
	border-bottom: none;
	border-top: none;
	border-right: none;
	border-left: none;
	text-overflow: ellipsis;
	overflow: hidden;
}
#reportlisttable tr:nth-child(2n+3) {
  background-color: #cce6ff;
  height: 40px;
}

#reportlisttable tr:nth-child(2n+2) {
  background-color: #e6f2ff;
  height: 40px;
}
#reportlisttable td .tabledropdowns {
	width: 200px;
	border-radius: 6px;
	text-align: center;
}
#reportlisttable td .sndbyfields {
	width: 60px;
	border-radius: 6px;
	text-align: center;
}
.left-align {
  text-align: left !important;
  padding-left: 10px;
}
#reportsumtable {
	width:100%;
}
#reportsumtable th {
	text-align: center;
	border-bottom: 1px solid #000000;
	border-top: none;
	border-right: none;
	border-left: none;
	background: #fff;
	position: sticky;
	top: 0px;	
}
#reportsumtable th:hover {
  color: #007aff;
  text-decoration: none;
  cursor: pointer;
}	
#reportsumtable td {
	text-align: center;
	border-bottom: none;
	border-top: none;
	border-right: none;
	border-left: none;
	text-overflow: ellipsis;
	overflow: hidden;
}

#reportsumtable tr:nth-child(2n+3) {
  background-color: #cce6ff;
  height: 40px;
}

#reportsumtable tr:nth-child(2n+2) {
  background-color: #e6f2ff;
  height: 40px;
}
#reportsumtable td .tabledropdowns {
	width: 200px;
	border-radius: 6px;
	text-align: center;
}
#reportsumtable td .sndbyfields {
	width: 60px;
	border-radius: 6px;
	text-align: center;
}
#reportinvtable {
    width: 100%; 
    margin-top: 10px;
    margin-bottom: 50px;
    table-layout: auto;
    padding: 5px;
    box-sizing: border-box;
}

#reportinvtable th {
	text-align: center;
	border-bottom: 1px solid #000000;
	border-top: none;
	border-right: none;
	border-left: none;
	background: #fff;
	position: sticky;
	top: 0px;	
}
#reportinvtable th:hover {
  color: #007aff;
  text-decoration: none;
  cursor: pointer;
}	
#reportinvtable td {
	text-align: left;
	padding-left:20px;
	border-bottom: none;
	border-top: none;
	border-right: none;
	border-left: none;
	text-overflow: ellipsis;
	overflow: hidden;
}

#reportinvtable tr:nth-child(2n+3) {
  background-color: #cce6ff;
  height: 40px;
}

#reportinvtable tr:nth-child(2n+2) {
  background-color: #e6f2ff;
  height: 40px;
}
#duetable {
    width: 100%;
  
    margin-top: 10px;
    margin-bottom: 50px;
    table-layout: auto;
    padding: 5px;
    box-sizing: border-box;
}

#duetable th {
	text-align: center;
	border-bottom: 1px solid #000000;
	border-top: none;
	border-right: none;
	border-left: none;
	background: #fff;
	position: sticky;
	top: 0px;	
}
#duetable td {
	text-align: center;
	border-bottom: none;
	border-top: none;
	border-right: none;
	border-left: none;
	text-overflow: ellipsis;
	overflow: hidden;
}

#duetable tr:nth-child(2n+3) {
  background-color: #cce6ff;
  height: 40px;
}

#duetable tr:nth-child(2n+2) {
  background-color: #e6f2ff;
  height: 40px;
}
#inspectscroll {
	height: 72vh;
	width: 100%;
	overflow-y: scroll;
	overflow-x: auto;
	box-sizing: border-box;
}
#inspectselecttable {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 50px;
    table-layout: auto;
    padding: 5px;
    box-sizing: border-box;
}

#inspectselecttable th {
	text-align: center;
	border-bottom: 1px solid #000000;
	border-top: none;
	border-right: none;
	border-left: none;
	background: #fff;
	position: sticky;
	top: 0px;	
}
#inspectselecttable th:hover {
  color: #007aff;
  text-decoration: none;
  cursor: pointer;
}	
#inspectselecttable td {
	text-align: center;
	border-bottom: none;
	border-top: none;
	border-right: none;
	border-left: none;
	text-overflow: ellipsis;
	overflow: hidden;
}

#inspectselecttable tr:nth-child(2n+3) {
  background-color: #cce6ff;
  height: 40px;
}

#inspectselecttable tr:nth-child(2n+2) {
  background-color: #e6f2ff;
  height: 40px;
}
.tablefields {
	width: 90px;
	border-radius: 6px;
	text-align: center;
}
.w100 {
	width: 100px;
}
.w150 {
	width: 150px;
}
#main {
	height: 100vh; 
	width: 100vw; 
	margin: 0; 
	padding: 0; 
	min-width: 372px;
}
.logout {
	position: absolute;
	font-size: 3vmin;
	top: 20px;
	right:20px;
	margin: 10px;
	color: #fff;
}


#mainn {
	display: grid;
	gap: 3em;
	margin-top: 32px;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.app-iconn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 240px;
  height: 200px;
  background-color: #5b0303;
  border-radius: 6px;
  -webkit-border-radius:20px;
  border: 2px solid #380303;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
  -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
  object-fit: contain;
  margin: auto;
}

.app {
	width: 260px;
	margin: auto;
}
.apps {
  width: 100vw;
  height: 88vh;
}
.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-dropdown select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
/* Style for the suggestions */
.suggestions {
    display: none;
    position: absolute;
    width: 280px;
    border-top: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f4ebeb;
    z-index: 1;
}

.suggestions li {
    padding: 10px;
    cursor: pointer;
}

.suggestions li:hover {
    background-color: #add3ea;
}
.menutxtt {
  font-size: 38px;
  position: relative;
  text-align: center;
  color: #fff;
}

.app:hover {
	box-shadow: rgba(2, 8, 20, .01) 0px 0.35em 1.175em, rgba(2, 8, 20, .08) 0px 0.175em 0.5em;
	transform: translateY(-3px) scale(1.1); 
}

@media screen and (max-width: 680px){
	.app {
	width: auto;
	margin:0 40px auto;
	}
	.app-iconn {
	width: auto;
	height: 100px;
	}
	#report-wrap {
        min-width: 600px;
    }

    #reportsumtable {
        min-width: 500px;
    }
}
@media (max-width: 940px) {
 .responsive-table th {
    white-space: nowrap;
    padding: 10px 5px;
   
    vertical-align: bottom;
    text-align: center;
	}
 	 #report-wrap {
        min-width: 1200px;
    }
    #reportsumtable {
        min-width: 900px;
    }
    .tableheader {
    height: 70px;
    }
 }
  /*------------------------------------*\
	$IPHONE
\*------------------------------------*/
@media screen and (max-device-width: 375px){
    body{
        -webkit-text-size-adjust:none;
        font-family:Helvetica, Arial, Verdana, sans-serif;
        padding:5px;
    }
     #report-wrap {
        min-width: 600px;
    }

    #reportsumtable {
        min-width: 500px;
    } 
}
@media (max-width: 1200px) {
    #report-wrap {
        min-width: 1500px;
    }
	#page-wrapper {
    	min-width: 1500px;
    }
    #reportsumtable {
        min-width: 1200px;
    }
}

@media (max-width: 768px) {
    #report-wrap {
        min-width: 900px;
    }
	.responsive-table th {
        height: auto;
        padding: 5px 2px;
        width: 60px;
        text-align: left;
    }
    #reportsumtable {
        min-width: 700px;
    }
    #page-wrapper {
    	min-width: 900px;
    }
}
@media (max-width: 480px) {
    .responsive-table th {
        padding: 2px 1px;
        width: 80px;
        font-size: smaller;
        text-align: left;
    }
    .form-mainmenu h1 {
    font-size: 32px !important;
  	}
  	.form-mainmenu {
	  min-height: 0;
	  }
}

/* No rotation for smallest screens, but wrap text */
@media (max-width: 320px) {
    .responsive-table th {
        white-space: normal;
        text-align: left;
         font-size: x-small;
    }
  .form-mainmenu h1 {
    font-size: 32px;
  }
  .form-mainmenu {
  min-height: 0;
  }
}
span a {
    color: #fff;
    display: inline-block;
    vertical-align: middle;
    padding: 5px 10px
}
#clockIn {
	display: none;
	width: 220px;
	height: 80px;
	background: #5b0303;
    padding: 5px;
    margin: 10px 5px 10px 10px;
    border-radius: 15px 15px 15px 15px;
    -webkit-border-radius:  15px 15px 15px 15px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 26px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
}
#altclockIn {
	display: none;
	width: 100px;
	height: 80px;
	background: #5b0303;
    padding: 5px;
    margin: 10px auto;
    border-radius: 15px 15px 15px 15px;
    -webkit-border-radius:  15px 15px 15px 15px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 18px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
}
#clockOut{
	display: none;
	width: 220px;
	height: 80px;
	background: #5b0303;
    padding: 5px;
    margin: 10px 5px 10px 10px;
    border-radius: 5px 5px 10px 1px;
    border-radius: 15px 15px 15px 15px;
    -webkit-border-radius:  15px 15px 15px 15px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 26px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
}
#altclockOut{
	display: none;
	width: 220px;
	height: 80px;
	background: #5b0303;
    padding: 5px;
    margin: 10px 5px 10px 10px;
    border-radius: 5px 5px 10px 1px;
    border-radius: 15px 15px 15px 15px;
    -webkit-border-radius:  15px 15px 15px 15px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 26px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
}
.not-clocked-out {
    color: red;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
}

#altclockOutt{
	display: none;
	width: 100px;
	height: 80px;
	background: #5b0303;
    padding: 5px;
    margin: 10px auto;
    border-radius: 5px 5px 10px 1px;
    -webkit-border-radius:  15px 15px 15px 15px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 18px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
}
#clockit {
	width: 352px;
	height: 100px;
	display:inline-flex;
}
#altclockInn {
	display:none;
	width: 320px;
	height: 80px;
	background: #5b0303;
    padding: 5px;
    margin: 10px auto;
    border-radius: 15px 15px 15px 15px;
    -webkit-border-radius:  15px 15px 15px 15px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 26px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
}
#altclockoutt {
	display:none;
}
#lbltimeIn {
	display:none;
}
#lbltimeOut {
	display:none;
}
.form-login h1{
    background: #5b0303;
    padding: 20px 30px 15px 30px;
    margin: -30px 0px 0px 0px;
    border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 26px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
}
.form-footer {
	clear: both;
	display: block;
	text-align: center;
	padding: 15px 0 0 0;
	height: 20px;
	border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
    background: #5b0303;
}
.form-login input[type="submit"]{
    background: #5b0303;
    padding: 8px 15px 8px 15px;
	margin-right: 20px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 30px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
    font-size: 15px;
    width: 100px;
	height: 56px;
}

.form-login input[type="submit"]:hover{
    background: #821717;
    -webkit-box-shadow: inset 0 2px 2px 0 rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 2px 2px 0 rgba(255, 255, 255, 0.28);
	box-shadow: 0 0 10px 0 #380303 inset, 0 0 10px 4px #b57777;
}
input:focus-visible {
    outline: 2px solid #c82725;
    border-radius: 3px;
}
.form-login input[type="text"],
.form-login input[type="date"],
.form-login input[type="datetime"],
.form-login input[type="email"],
.form-login input[type="number"],
.form-login input[type="search"],
.form-login input[type="time"],
.form-login input[type="url"],
.form-login input[type="password"],
.form-login textarea,
.form-login select {
    display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;  
    font: normal 20px 'Bitter', serif;
    margin: 3px 0 8px 0;
    padding: 8px;   
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #380303;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}
#page-title{
	display: block;
	width: 92%;
	height: 30px;
	padding: 5px 0 0 20px;
	color: #5b0303;
}
.form-login label{
    display: block;
    font: 13px Arial, Helvetica, sans-serif;
    color: #000000;
}
.form-main input[type="text"],
.form-main input[type="date"],
.form-main input[type="datetime"],
.form-main input[type="email"],
.form-main input[type="number"],
.form-main input[type="search"],
.form-main input[type="time"],
.form-main input[type="url"],
.form-main input[type="password"],
.form-main textarea,
.form-main select {
    display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    font: normal 20px 'Bitter', serif;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #380303;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.form-login button[type="button"],
.form-login button[type="reset"],
.form-login button[type="submit"]{
    background: #5b0303;
    width: 96px;
	height: 56px;
    padding: 8px 0px 8px 0px;
	margin: 10px 2px 0 0;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 18px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
}
button[type="button"],
button[type="reset"],
button[type="submit"]{
    background: #5b0303;
    width: 76px;
	height: 68px;
    padding: 8px 0px 8px 0px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 18px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
	transition: all 150ms ease-in-out;
    border: 1px solid #380303;
    margin: 5px 10px 0px 10px;
}

button[type="button"]:hover,
button[type="reset"]:hover,
button[type="submit"]:hover{
    background: #800000;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
	box-shadow: 0 0 10px 0 #800000 inset, 0 0 10px 4px #800040;

}
.form-main h1{
    background-color: #5b0303;
    padding: 20px 30px 15px 30px;
    margin: -30px 0px 0px 0px;
    border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 50px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 2px solid #380303;
}

/* ==============================================================================

Main page
*/
.apps {
  width: 100vw;
  height: 88vh;
}

.apps .swiper-slide {
  display: grid;
  grid-template: repeat(3, minmax(0, 1fr)) / repeat(4, minmax(0, 1fr));
  gap: 2.5vw;
  padding: 2.5vw;
  box-sizing: border-box;
}

.app-icon {
  display: block;
  width: 25vh;
  height: 25vh;
  max-height: 16vh;
  max-width: 20vw;
  text-align: center;
  overflow: hidden;
  background-color: #5b0303;
  border-radius: 6px;
  -webkit-border-radius:20px;
  border: 2px solid #380303;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
  -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
  object-fit: contain;
}
 .menutxt {
  font-size: 4vmin;
  position: relative;
  text-align: center;
  color: #fff;
}
.alert {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 8px;
  	-webkit-border-radius:8px;
  	background-color: #ff2480;
}
.app-name {
  text-align: center;
  font-size: 14px;
  font-family: sans-serif;
  padding: 3.5%;
  color: #ffffff;
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.25);
}
input:focus {
  background-color: #d5bdbd;
  color: black;
}
.form-mainmenu h1{
    background-color: #5b0303;
    padding: 20px 30px 0px 30px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font-size: 54px;
}
.form-mainmenu h3{
    background-color: #5b0303;
    padding: 0 30px 4px 50px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font-size: 3vmin;
}
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.companyname {
	margin: 0;
}
#userprofile {
  text-align: right;
  text-decoration: none;
  color: #fff;
  padding: 0 42px 0 0;
}
#workorder {
	position: absolute;
	font-size: 22px;
	top: 78px;
	right: 150px;
	margin: 10px;
	color: #fff;
}
#workordernumber {
	position: absolute;
	font-size: 22px;
	top: 78px;
	right: 60px;
	margin: 10px;
	color: #fff;
}
.popup {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	top: 170px;
	left: 25%;
	width: 400px;
	height: 260px;
	background: #d8e9f1;
	border: solid #380303 3px;
	border-width: 3px;
	border-radius: 30px;
    -webkit-border-radius:30px;
}
.thenote {
	height: 40px;
	float: left;
	width: 92%;
	padding: 5px 10px 5px 5px;
	position: relative;
}
#note-title{
	height: 45px; 
	width: 75%; 
	margin: 15px 0 10px 0; 
	background: #ffffff; 
	text-align: center; 
	color: black; 
	font: bold 30px Helvetica, Sans-Serif; 
	letter-spacing: 10px; 
	padding: 8px 0px; 
	float: left;
}
#note-wrap { 
	width: 80%; 
	margin: 20px auto; 
	border-radius: 20px;
    -webkit-border-radius:20px;
}
#notescroll {
	height: 80vh;
	width: 98%;
	overflow-y: scroll;
}

#notescroll .titl {
	margin: 0 10px 0 5px;
	width: 200px;
	float: left;
}
#notescroll .nttext {
	text-align: left;
	padding: 3px 0 3px 5px;
	width: 200px;
}
#notescroll button[type="button"] {  
    width: 100px;
	height: 56px;	
    padding: 8px 0px 8px 0px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    color: black;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 18px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303; 
    margin: 10px 5px 10px 5px;   
}
#notescroll .archv {
	width: 80px;
	height: 40px;
	background: #b0fcc9;
	float: right;
	margin: 5px 10px 0 0;
	border: none;
	display: none;
}
#notescroll .editbtn {
	width: 80px;
	height: 40px;
	background: #FFFF99;
	float: right;
	margin:5px 0 0 0;
	border: none;
	display: none;
}
#notescroll .tool {
	float: right;
	height: 28px;
	border: none;
	background-color: white;
	font-size: x-large;
	margin: 0px 5px 0 0;
	
}
#notescroll .delbtn {
	width: 80px;
	height: 40px;
	background: #ffb2b2;
	float: right;
	margin:5px 0 0 0;
	border: none;
	display: none;
}
#optmenu {
	float: right;
	height: 200px;
	width: 140px;
	position: fixed;
	right: 10px;
	z-index: 120;
	margin: 10px 40px 0 0;
	border: none;
	background-color: white;
	display: none;
}
#optmenu button[type="button"]:hover {
	background: #ffffff;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
	box-shadow: 0 0 4px 0 #800000 inset, 0 0 10px 4px #ffffff;
}
#optmenu .optmnu {
	width: 138px;
	height: 40px;
	color: black;
	font-size:14px;
	margin: 1px;
	background-color: white;
	position:relative;
	z-index: 122; 
}
.tools {
	position: relative;
	background-color: cornflowerblue; 
	z-index: 99;
}
#notescroll button[type="button"]:hover{
    background: #ffffff;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
	box-shadow: 0 0 4px 0 #800000 inset, 0 0 10px 4px #ffffff;
}
#notescroll button[type="button"]:hover{
    background: #ffffff;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
	box-shadow: 0 0 4px 0 #800000 inset, 0 0 10px 4px #ffffff;
}
#newnotebtn {
	float:right;
}

#newnote {
	width:96%;
	margin: auto;
}
#newnote button[type="button"]:hover{
    background: #ffffff;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
	box-shadow: 0 0 4px 0 #800000 inset, 0 0 10px 4px #ffffff;
}
#whtboard {
	height: 100px;
	width: 98%;
}
#whtboard  button[type="button"]:hover{
    background: #ffffff;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
	box-shadow: 0 0 4px 0 #800000 inset, 0 0 10px 4px #ffffff;
}
.nnpop {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	top: 15%;
/*	left: 12%;
*/	width:80%;
	height: 400px;
	background: #d8e9f1;
	border: solid #380303 4px;
	border-width: 5px;
	border-radius: 30px;
    -webkit-border-radius:30px;
}

#nttitle {
	display:block;
	width: 160px;
	height: 32px;
	
}
#nwtitle {
	width:160px;
	height: 26px;
	margin: 5px 0 0 0;
	display: none;
}
#stitle {
	width:160px;
	height: 26px;
	margin: 5px 0 0 0;
}

#popcont {
	margin: 20px;
}

#nntitle {
	height: 32px;
	width: 300px;
	font-size:18px;
	background: #99CCFF;
}

.nci {
	display: inline-block;
	min-width: 140px;
	width: 15%;		
	height: 92px;
}

#nwmsg {
	width: 98%;
  	height: 156px;
  	padding: 5px 10px 5px 25px;
  	overflow-y: scroll;
}
#closepop {
	float:right;
	width: 80px;
	height: 40px;
	background: #b0fcc9;
	margin:5px 20px 0 0;
}
#cnclpop {
	float:right;
	width: 80px;
	height: 40px;
	background: #ffb2b2;
	margin:5px 0 0 0;
}

.notebutton{
	background-color: #fff;
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	outline: none;
	padding: 3px 0px 3px 1px;
	margin: 5px 1px 3px 10px;
	border: 3px solid #380303;
	font-size:18px;
	width: 95%;
	height: 116px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	display:inline-block;
}

#editbuttons{
	float:right;
	margin: 10px 50px 10px 0;
	display: none;
}

.editnote{
	background: #2A88AD; 
    width: 68px;
	height: 68px;	
	margin: 5px 20px 5px 5px;
    border-radius: 44px;
    -webkit-border-radius: 44px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 16px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303; 
      
}

#nwmess {
	position: absolute;
  	top: -10px;
  	right: -10px;
  	padding: 5px 10px;
  	border-radius: 50%;
  	background-color: red;
  	color: white;
}
.notearea {
	display: inline-block;
	float: right;
	position: relative;
	width: 84%;
	
}

.nndetails {
	display: inline-block;
	margin: 10px 0px 5px 0px;
	width: 100vw;		
	height: 18px;
}
#urgent {
	display: inline-block;
	margin: 10px 0px 5px 0px;
	width: 86%;		
	height: 18px;
}

.form-login{
    width:340px;
    padding: 20px 0px 0px 0px;
    margin:20px auto;
    background: #FFF;
    border-radius: 10px;
    border: 3px solid #380303;
    -webkit-border-radius:10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
}
.pay-select{
    width:640px;
    padding: 20px 0px 0px 0px;
    margin:20px auto;
    background: #FFF;
    border-radius: 10px;
    border: 3px solid #380303;
    -webkit-border-radius:10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
}
.pay-select .inner-wrap{
	position: relative;
	width: 100%;
	height: 100%;
    padding: 10px 30px 10px 30px;
    margin-bottom: 15px;
}
#payMonth {
	height: 32px;
	width: 200px;
	margin: 10px 10px 5px 20px;
}
.pay-select h2{
	margin: 10px 130px 10px 130px;
	line-height: 25px;
	position: relative;
}
#employeelbl {
	display: inline-block;
	width: 300px;
}
#employee {
	width: 300px;
	height: 32px;
	font-size: 18px;
}

#payemployee {
	width: 300px;
	height: 32px;
	margin: 10px 10px 5px 20px;
	font-size: 18px;
}
#filldown {
	height: 36px;
	width: 100px;
	float: right;
	margin: 18px 60px 24px auto;
}
#pay {
	border-radius: 2px;
    -webkit-border-radius:2px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.13);
	border: 2px solid #d5d5d5;
	margin: 10px;
}
.pay-row {
    display: flex;
    justify-content: center;  /* Centers items horizontally */
    gap: 10px; /* Adds spacing between elements */
    margin-bottom: 5px;
}
.payselectLabel {
	display: block;
	margin: 16px 10px 0px 10px;
	font-weight: bold;
}
.payselectSublabel {
    flex: 1;
    max-width: 100px; /* Controls input width */
    text-align: center;
    padding: 5px; /* Adjust width of labels */
    margin: 2px;
}

.payselectInput {
    flex: 1;
    max-width: 100px; /* Controls input width */
    text-align: center;
    padding: 5px 5px 10px 5px;
    font-size: 18px;
}
.pay-select .button-section {
	margin: 8px 0 10px 340px;
}
#catpay {
	width: 94%;
}
.subj {
	float:left;
}

.crdate {
	text-align: left;
	padding: 0 0 0 5px;
	width: 200px;
	font-size: 12px;
}
.ledate {
	text-align: left;
	padding: 0 0 0 5px;
	width: 200px;
	font-size: 12px;
}

.author {
	text-align: left;
	padding: 0 0 0 5px;
	width: 200px;
	font-size: 12px;
}
.nnpop {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	top: 15%;
/*	left: 12%;
*/	width:80%;
	height: 400px;
	background: #d8e9f1;
	border: solid #380303 4px;
	border-width: 5px;
	border-radius: 30px;
    -webkit-border-radius:30px;
}
/*==============================================================================*/
#blank {
	visibility: hidden;
}
button#dp {
  height: 30px;
  background-color: #D0D0D7;
  border: 1px solid #938e8e;
  cursor: pointer;
  border-radius: 4px;
}

button#dp.active {
  background-color: #D0D0D7;
}

button#dp.active:before {
  content: "Yes";
}

button#dp:before {
  content: "No";
}

button#fltButton {
  background-color: #D0D0D7;
  border: 1px solid #938e8e;
  cursor: pointer;
  border-radius: 4px;
}

button#fltButton.active {
  background-color: #D0D0D7;
}

button#fltButton.active:before {
  content: "No";
}

button#fltButton:before {
  content: "Yes";
}

button#opsButton {
  background-color: #D0D0D7;
  border: 1px solid #938e8e;
  cursor: pointer;
  border-radius: 4px;
}

button#opsButton.active {
  background-color: #D0D0D7;
}

button#opsButton.active:before {
  content: "Part 135";
}

button#opsButton:before {
  content: "Part 91";
}
/* ========= Report menu ====================*/

.menubar {
	width: 100vw;
	height: 80px;
}
.mnubutton {
	margin: 4px 4px 4px 8px;
	height: 60px;	
	width: 100px !important;
	float: left;
	margin: 10px;
}
.listingbutton {
	margin: 4px 4px 4px 8px;
	height: 60px;	
	width: 180px !important;
	float: left;
	margin: 10px;
}
#jobs {
	font-size: 14px;
}
.time-input {
	display: block;
	width: 100%;
	height: 30px;
	font-size: 18px;
	text-align: center;
}

.noborder {
	border: none;
}
.no_edit {
	background-color: lightgray;
}
.hide {
	display:none;	
}
.width40 {
	width: 40% !important;
}
.lbltm {
	font-weight: bold;
	margin-bottom: 5px;
	font-size: 16px !important;
}
.lblequipment {
	display: block;
	width: 280px;
	margin: 5px auto 10px auto;
	height: 52px;
}
.lbltime-input {
	position: relative;
	display: inline-block;
	width: 140px;
	margin: 5px 5px 5px 20px;
	height: 50px;
}

.lbltime-inputt {
	position: relative;
	display: inline-block;
	width: 138px;
	margin: 5px 5px 5px 12px;
	height: 100px;
}
.cmts-input {
	position: relative;
	display: inline-block;
	width: 276px;
	margin: 5px 5px 5px 12px;
	
}
.lblmilage-inputt {
	position: relative;
	display: inline-block;
	width: 98px;
	font-size: 16px !important;
	height: 30px;
	text-align: center;
}
.lblmilage-input {
	position: relative;
	display: inline-block;
	width: 84px;
	margin: 5px 5px 5px 14px;
	height: 80px;
	text-align: center;
}
/*
#lblstarttime {
	display: none;
}
#lblendtime {
	display: none;
}
*/
#cust {
	font-size: 16px !important;
	height: 30px;
	padding: 0 0 0 5px;
	text-align: center;
}
#cstmr {
	font-size: 16px !important;
	width: 100%;
	height: 30px;
	padding: 0 0 0 5px;
	text-align: center;
}
#categ {
	font-size: 16px;
	width: 100%;
	height: 30px;
	padding: 0 0 0 5px;
	text-align: center;
}
#time-hours {
    width: 65px;
    height: 32px;
    font-size: 18px;
    text-align: center;
}
#time-minutes {
    width: 65px;
    height: 32px;
    font-size: 18px;
    text-align: center;
}
#time-inhours {
    width: 65px;
    height: 32px;
    font-size: 18px;
    text-align: center;
}
#time-inminutes {
    width: 65px;
    height: 32px;
    font-size: 18px;
    text-align: center;
}
#time-outhours {
    width: 65px;
    height: 32px;
    font-size: 18px;
    text-align: center;
}
#time-outminutes {
    width: 65px;
    height: 32px;
    font-size: 18px;
    text-align: center;
}
.time-inputt {
	top: 20px;
	left:0;
	right:0;
	bottom:0;
	width: 132px;
	font-size: 18px;
	text-align: center;
}
.time-inputtt {
	position: absolute;
	top: 60px;
	left:0;
	right:0;
	bottom:0;
	width: 132px;
	font-size: 18px;
	text-align: center;
}
.gray-out {
    filter: grayscale(100%) blur(1px);
    pointer-events: none;
    opacity: 0.5;
  }
#maininfo {
	border-radius: 2px;
    -webkit-border-radius:2px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.13);
	border: 2px solid #d5d5d5;
	margin: 10px;
}
.cal_day {
	
}
.cal_week {
	
}
.cal_month {
	
}
#signpad {
	display: none;
}
/* =================================
.wrapper {
  position: relative;
  width: 400px;
  height: 200px;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
img {
  position: absolute;
  left: 0;
  top: 0;
}

.signature-pad {
  position: absolute;
  left: 0;
  top: 0;
  width:400px;
  height:200px;
}
*/
#signhere-dialog {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

#signhere-dialog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

#signhere-dialog-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background-color: white;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
}

#signhere-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
  background-color:#800000;
}

#page-wrap {
	width: 100vw;
}
#sign-wrapper {
	display: block;
	max-width: 820px;
	margin: 10px; 
	color: #000;
	background-color: #fff;
}
.description {
	color: #000;
	font-size: 16px;
	margin: 16px;
}
.techname {
    font-size: large;
    width: 50%;
    margin: 0 auto;
    position: absolute;
    bottom: 24px;
    text-align: center;
    left: 0;
    right: 0;
}
#initials {
  	position: static;
	border: 1px solid #ccc;
	background-color: #fff;
	width: 200px;
	height: 80px;
	touch-action: none; /* Prevent touch scrolling on mobile when signing */
}
#verificationChecks .inputboxlabel {
  display: block;         /* each label on its own line */
  font-weight: 600;
  cursor: pointer;
  margin: 0 0 20px 10px;     /* spacing between lines */
  user-select: none;
}

#verificationChecks .inputboxlabel input[type="checkbox"] {
  margin-right: 0.5em;    /* space between checkbox and label text */
  vertical-align: middle;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.signature-pad {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-size: 10px;
  width: 100vw;
  height: 360px;
  max-width: 820px;
  max-height: 460px;
  border: 1px solid #e8e8e8;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
  border-radius: 4px;
}

.signature-pad::before,
.signature-pad::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 40%;
  height: 10px;
  bottom: 10px;
  background: transparent;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.signature-pad::before {
  left: 20px;
  -webkit-transform: skew(-3deg) rotate(-3deg);
          transform: skew(-3deg) rotate(-3deg);
}

.signature-pad::after {
  right: 20px;
  -webkit-transform: skew(3deg) rotate(3deg);
          transform: skew(3deg) rotate(3deg);
}

.signature-pad--body {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border: 1px solid #000;
}

canvas {
  position: absolute;
  left: 40px;
  top: 90px;
  width: 500px;
  height: 80px;
  border-radius: 4px;
  border: 2px solid #d5d5d5;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
  color: #C3C3C3;
  text-align: center;
  font-size: 1.2em;
  margin-top: 8px;
}

.signature-pad--actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 8px;
  width: 90%;
}

.sigline {
	position: absolute;
	bottom: 80px;
	left: 0;
	right: 0;
	margin: auto;
	width: 440px;
	border: solid 1px black;
}


#fileupload {
  display: none;
}

form {
  display: table-row;
  margin-right: 5px;
}

span[role=button] {
  display: table-cell;
  font-size: 1.2em;
}

span[role=button],
button {
  cursor: pointer;
  background-color: #e1e1e1;
  color: #000000;
  border: none;
  
}
.responsive-table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th, .responsive-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}


/*=======================================*/

#tmselect {
	border-radius: 2px;
    -webkit-border-radius:2px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.13);
	border: 2px solid #d5d5d5;
	margin: 10px;
}
#comments {
	height: 100px;
	border-radius: 2px;
    -webkit-border-radius:2px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.13);
	border: 2px solid #d5d5d5;
	margin: 10px;
	text-align: left;
	vertical-align: top;
	padding: 6px; /* optional, adds breathing room */
	box-sizing: border-box;
}
#cmts {
	height: 60px;
	overflow-y: scroll;
	resize: none;
}
.lblpay-input {
	position: relative;
	display: inline-block;
	width: 86px;
	margin: 5px 5px 5px 12px;
	height: 50px;
}

.pay-inputt {
	position: absolute;
	top: 20px;
	left:0;
	right:0;
	bottom:0;
	margin: 0 0 5px 6px;
	width: 60px;
	font-size: 18px;
	text-align: center;
}
#time-entry {
	position: relative;
    width:384px;
    max-height: 80vh;
    min-height: 380px;
    overflow-y: scroll;
    padding: 10px 0px 0px 0px;
    margin: 10px auto;
    background: #FFF;
    border-radius: 30px;
    -webkit-border-radius:10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
	border: 6px solid #5b0303;
}
#time-trak {
	position: relative;
    width:384px;
    max-height: 80vh;
    min-height: 380px;
    overflow-y: scroll;
    margin: 10px auto;
    background: #FFF;
    border-radius: 30px;
    -webkit-border-radius:10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
	border: 6px solid #5b0303;
}
#time-trak .tableheader {
	color: #fff;
	width: 100%;
	height: 46px;
	background-color: #5b0303;
	border-top: 1px solid #5b0303;
	border-left: 1px solid #5b0303;
	border-right: 1px solid #5b0303;
}
#pilottimetrak {
	width: 224px;
	display: inline-block;
}
.pilottmsum {
	display: inline-block;
	width: 208px;
	margin: 10px;
	padding: 5px;
}
.pilottmvalues {
	padding: 2px;
	border: 2px solid white;
	margin: 0 0 0 10px;
	height: 20px;
	display: inline-block;
	width: 60px;
	text-align: center; 
	line-height: 20px; 

}
.spacer92 {
	width: 92px;
	height: 60px;
	display: inline-block;
}
.thenote:hover {
	/* background: #D6E2E8;  */
}
.thenote:focus {
	/* background-color: #66CCFF; */
}
#time-entry .modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  margin: auto;
  width: 350px;
  height: 85%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
}
#time-entryyy .modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 72%; /* Could be more or less, depending on screen size */
}
#time-entry .modal-content {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #5b0303;
  padding: 20px;
  border: 5px solid #888;
  width: 72%;
}
#report-wrap .modal-content {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #5b0303;
  padding: 20px;
  border: 5px solid #888;
  width: 72%;
}
.modal-button {
  background: #5b0303;
  width: 88px;
  height: 34px;
  margin: 16px;
  padding: 8px 0px 8px 0px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
  font: normal 18px 'Bitter', serif;
  -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
  box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
  transition: all 150ms ease-in-out;
  border: 2px solid #ccc;
}
#continue_btn {
	display: none;
}
#warning_btn {
	display: none;
}
#ok_btn {
	display: none;
}
.backshadow {
	top: 0;
	position: fixed;
	z-index: 1;
	display: none;
	width: 100%;
	height: 100%;
	overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,.8); /* Black w/ opacity */
}
#signnow {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  width: 220px;
  height: 300px;
  background: #959595;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translateY(-50%) translateX(-50%); /* Adjust for horizontal centering as well */
  border: 4px solid #5b0303;; 
}

.modal-sign {
  background: #5b0303;
  width: 188px;
  height: 42px;
  margin: 16px;
  padding: 8px 0px 8px 0px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
  font: normal 18px 'Bitter', serif;
  -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
  box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
  transition: all 150ms ease-in-out;
  border: 2px solid #ccc;
}
#signnow_btn {
	display: none;
}
#usesig_btn {
	display: none;
}
#nosign_btn {
	display: none;
}
#pinInput {
	display: none;
	background: white;
	width: 80px;
	height: 34px;
	margin: 50px auto 20px auto;
	text-align: center;
	padding: 8px 0px 8px 0px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
	font: normal 18px 'Bitter', serif;
	-webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
	box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
	transition: all 150ms ease-in-out;
	border: 2px solid #ccc;
}
#show_inspect {
	display: none;
	width: 354px;
	min-height: 400px;
	position: absolute;
	background-color: #feffff;
	border: 4px solid #800000;
	z-index: 100;
}
#inspectheader {
    display: block; /* Optional: Makes the <span> a block-level element */
    text-align: center; /* Center the content horizontally */
    font-size: 20px; /* Adjust the font size as needed */
    font-weight: bold; /* Optional: Add bold style if desired */
	margin-top: 5px;
}
#clsinspect_btn {
	position: absolute;
    bottom: 10px; /* Adjust this value to control the distance from the bottom */
    left: 70%;
    transform: translateX(-50%);
    margin: 2px;
}
/* The Close Button */
#time-entry .close {
  color: #800000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 0 10px 10px 0;
}

#time-entry .close:hover,
#time-entry .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

button[type="button"].notesbtn,
button[type="submit"].notesbtn {
    background: #2A88AD; 
    width: 100px;
	height: 56px;	
    padding: 8px 0px 8px 0px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 18px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303; 
    margin: 10px 5px 10px 5px;   
}
button[type="submit"].notesbtn:hover,
button[type="button"].notesbtn:hover{
    background: #2A6881;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
}

.form-main .sortselection{
	display: inline-block;
	padding: 2px 10px 10px 40px;
	width: 150px;
	height: 30px;
}

#searchResults {
  display: none;
  position: absolute;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #fff;
  border: 4px solid #ccc;
  max-height: 150px;
  overflow-y: scroll;
}

#searchResults li {
  padding: 5px;
  cursor: pointer;
}

#searchResults li:hover {
  background-color: #8080ff;
}

.drop-zone {
  margin: 50px auto 10px;
  width: 300px;
  height: 200px;
  border: 2px dashed #009578;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 1.2em;
  cursor: pointer;
  color: #ccc;
}
.drop-zone_input {
	display: none;
}
.drop-zone--over {
	border-style: solid;
}
#drop-zone.dragover {
  border-color: #333;
}

.drop-zone_thumb {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	overflow:hidden;
	background-color: #cccccc;
	background-size: cover;
	position: relative;	
}

.drop-zone_thumb::after {
	content: attr(data-label);
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 5px 0;
	color: #ffffff;
	background: rgba(0,0,0,0.75);
	font-size: 14px;
	text-align: center;
}
#inspectnote {
	min-height: 45px;
	text-align: left;
}
/*=====================================================================================*/
.item_maint {
	width: 100%;
	height: 80vh;
	background-color: #fff;
	display: block;
}

.width50 .inputboxlabel {
	display: block;
	width: 49%;
    font: 16px Arial, Helvetica, sans-serif;
    color: #000;
    margin: 10px 0 2px 60px;
}

.width50 .inputbx {
	width: 100%;
	margin: 0 0 6px 0;
	font: 16px Arial, Helvetica, sans-serif;
	text-align: center;
}
.width50 {
	width: 49%;
	height: 70vh;
	display: inline-block;

}

#equip {
	width: 150px;
}
#search_btn,
#print_btn,
#printList_btn,
#close_camera {
    min-width: 100px;
    height: 38px;                 /* set a comfortable height */
    line-height: 38px;            /* centers text vertically */
    background-color: transparent;
    border-radius: 10px;
    border: 1px solid #fff;
    display: inline-block;
    cursor: pointer;
    color: #fff;
    font: 16px Arial, Helvetica, sans-serif;
    text-decoration: none;
    margin: 0 6px;
    padding: 0 18px;
    white-space: nowrap;
    box-sizing: border-box;
}

.button-disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.6;
}
/* =============================
   Expense Report Page Styling
   Scoped to #expense-report-page
   ============================= */

/* Header wrapper */
#expense-report-page #page-wrapperr {
    background: linear-gradient(180deg, #600000, #4a0000);
    padding: 12px 20px 8px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    position: relative;
}

/* Main title */
#expense-report-page #page-wrapperr h1 {
    color: #fff;
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    cursor: pointer;
}

/* Subtitle under title */
#expense-report-page #page-wrapperr h3.sub-title {
    color: #ddd;
    margin: 2px 0 0 0;
    font-size: 16px;
    font-weight: normal;
}

/* Logout stays top right */
#expense-report-page #page-wrapperr h2.logout {
    color: #fff;
    margin: 0;
    font-size: 18px;
    position: absolute;
    top: 12px;
    right: 20px;
    cursor: pointer;
    white-space: nowrap;
}


/* --- Buttons --- */
#expense-report-page #search_btn,
#expense-report-page #print_btn,
#expense-report-page #printList_btn,
#expense-report-page #close_camera {
    min-width: 124px;
    height: 42px;
    line-height: 38px;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 6px;
    display: inline-block;
    cursor: pointer;
    font: 16px Arial, Helvetica, sans-serif;
    font-weight: 600;
    margin: 0 6px;
    padding: 0 18px;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background 0.2s ease, transform 0.1s ease;
}

#expense-report-page #search_btn:hover,
#expense-report-page #print_btn:hover,
#expense-report-page #printList_btn:hover,
#expense-report-page #close_camera:hover {
    background-color: #f2f2f2;
    transform: translateY(-1px);
}

#expense-report-page #search_btn:disabled,
#expense-report-page #print_btn:disabled,
#expense-report-page #printList_btn:disabled,
#expense-report-page #close_camera:disabled {
	width: 124px;
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

/* --- Inputs (dropdowns & date pickers) --- */
#expense-report-page input[type="text"],
#expense-report-page select {
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    margin: 0 5px;
    outline: none;
}

#expense-report-page input[type="text"]:focus,
#expense-report-page select:focus {
    border-color: #600000;
    box-shadow: 0 0 3px rgba(96,0,0,0.5);
}

/* --- Table --- */
#expense-report-page #reportsumtable {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
}

#expense-report-page #reportsumtable th {
    background: #600000;
    color: #fff;
    padding: 10px;
    text-align: left;
    font-weight: 600;
}

#expense-report-page #reportsumtable td {
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
}

#expense-report-page #reportsumtable tr:nth-child(even) {
    background: #f9f9f9;
}

#expense-report-page #reportsumtable tr:nth-child(odd) {
    background: #fff;
}

#expense-report-page #reportsumtable tr:hover {
    background: #f1f1f1;
}

#new_comp {
	width: 52px;
	height:32px; 
	background-color:transparent;
	-webkit-border-radius:10px;
	border-radius:10px;
	border:1px solid #fff;
	display:inline-block;
	cursor:pointer;
	color:#fff;
	font: 16px Arial, Helvetica, sans-serif;
	text-decoration:none;
	text-shadow:0px 1px 0px #285066;
	margin: 0 0 0 10px;
	padding: 3px;
}
#refreshpg {
    width: 64px;
	height:32px; 
	background-color:transparent;
	-webkit-border-radius:10px;
	border-radius:10px;
	border:1px solid #fff;
	display:inline-block;
	cursor:pointer;
	color:#fff;
	font: 16px Arial, Helvetica, sans-serif;
	text-decoration:none;
	text-shadow:0px 1px 0px #285066;
	margin: 0 0 0 10px;
	padding: 3px;
}
#closeupnext {
    width: 64px;
	height:32px; 
	background-color:transparent;
	-webkit-border-radius:10px;
	border-radius:10px;
	border:1px solid #fff;
	display:inline-block;
	cursor:pointer;
	color:#fff;
	font: 16px Arial, Helvetica, sans-serif;
	text-decoration:none;
	text-shadow:0px 1px 0px #285066;
	margin: 0 0 0 10px;
	padding: 3px;
}
#new_inspect {
	width: 154px;
	height:32px; 
	background-color:transparent;
	-webkit-border-radius:10px;
	border-radius:10px;
	border:1px solid #fff;
	display:inline-block;
	cursor:pointer;
	color:#fff;
	font: 16px Arial, Helvetica, sans-serif;
	text-decoration:none;
	text-shadow:0px 1px 0px #285066;
	margin: 0 0 0 10px;
	padding: 3px;
}
#new_wo {
	width: 154px;
	height:32px; 
	background-color:transparent;
	-webkit-border-radius:10px;
	border-radius:10px;
	border:1px solid #fff;
	display:inline-block;
	cursor:pointer;
	color:#fff;
	font: 16px Arial, Helvetica, sans-serif;
	text-decoration:none;
	text-shadow:0px 1px 0px #285066;
	margin: 0 0 0 10px;
	padding: 3px;
}
#new_inspection {
	width: 154px;
	height:32px; 
	background-color:transparent;
	-webkit-border-radius:10px;
	border-radius:10px;
	border:1px solid #fff;
	display:inline-block;
	cursor:pointer;
	color:#fff;
	font: 16px Arial, Helvetica, sans-serif;
	text-decoration:none;
	text-shadow:0px 1px 0px #285066;
	margin: 0 0 0 10px;
	padding: 3px;
}
#inspect_tooltip {
    max-width: 500px;
    z-index: 1000;
}
/* Tooltip styles */
#inspect_tooltip ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
#inspect_tooltip li {
    margin-bottom: 5px; /* Space between list items */
}
#printinspections {
	width: 80px;
	height:32px; 
	background-color:transparent;
	-webkit-border-radius:10px;
	border-radius:10px;
	border:1px solid #fff;
	display:inline-block;
	cursor:pointer;
	color:#fff;
	font: 16px Arial, Helvetica, sans-serif;
	text-decoration:none;
	text-shadow:0px 1px 0px #285066;
	margin: 0 0 0 10px;
	padding: 3px;
}
.status_buttons {
	background-color: white;
	color: #5b0303;
	width: 75%;
	text-align: center;
}
.inspect_buttons {
	width: 136px;
	height:32px; 
	background-color:transparent;
	-webkit-border-radius:10px;
	border-radius:10px;
	border:1px solid #fff;
	display:inline-block;
	float:right;
	cursor:pointer;
	color:#fff;
	font: 16px Arial, Helvetica, sans-serif;
	text-decoration:none;
	text-shadow:0px 1px 0px #285066;
	margin: 5px 10px 0 10px;
	padding: 3px;
}
.inspect_buttons.no-float {
    float: none;
}

.newinv_button {
	width: 136px;
	height:32px; 
	background-color:transparent;
	-webkit-border-radius:10px;
	border-radius:10px;
	border:1px solid #fff;
	display:inline-block;
	float:right;
	cursor:pointer;
	color:#fff;
	font: 16px Arial, Helvetica, sans-serif;
	text-decoration:none;
	text-shadow:0px 1px 0px #285066;
	margin: 5px 10px 0 10px;
	padding: 3px;
}
.print_buttons {
	width: 136px;
	height:30px; 
	background-color:transparent;
	-webkit-border-radius:10px;
	border-radius:10px;
	border:1px solid #fff;
	display:inline-block;
	float:right;
	cursor:pointer;
	color:#fff;
	font: 16px Arial, Helvetica, sans-serif;
	text-decoration:none;
	text-shadow:0px 1px 0px #285066;
	margin: 5px 10px 0 10px;
	padding: 3px;
}
.print_buttons:hover {
	background-color: white;
	color: #5b0303;
}
#print_selection {
	width: 160px;
	height: 182px;
	float: right;
}
#print_work {
	float: left;
	margin: 5px 10px 5px 40px;
}
#equip-notes {
	position: relative;
    width:384px;
    max-height: 80vh;
    min-height: 380px;
    overflow-y: scroll;
    padding: 10px 0px 0px 0px;
    margin: 10px auto;
    background: #FFF;
    border-radius: 30px;
    -webkit-border-radius:10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
	border: 6px solid #5b0303;
}
#equip-notes-btn {
	float: right;
}
.equipnote {
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    padding: 2px;
    resize: vertical; /* Allows resizing the entire popup */
    overflow: auto;
    box-sizing: border-box;
    position: relative;
    z-index: 9999;
}
.note-content {
	width: 100%;
    height: 94%;
    box-sizing: border-box;
    resize: none;
    padding: 5px;
}
.note-content:focus {
    outline: none; /* Optional: to remove any default focus border */
    background-color: #f0f0f0; /* Optional: highlight the textarea */
}
.note-header {
	background: #0073e6;
    color: white;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Popup styling */
.notepopup {
    display: none;
    position: absolute;
    top: 400px;
    right: 100px;
    width: 400px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    padding: 2px;
    z-index: 1000;
    resize: both; /* Allows resizing the entire popup */
    overflow: auto;
}

/* Draggable header */
.popup-header {
    background: #0073e6;
    color: white;
    padding: 5px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Close button */
.popup-header button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

/* Content area */
.popup-content {
    width: 100%;
    height: 94%;
    box-sizing: border-box;
    resize: none;
}
.popup-btn-close {
    position: absolute;
    top: 5px; /* Adds some space from the top */
    right: 14px; /* Adds some space from the right */
    background: #ff4d4d; /* Red color for a close button feel */
    color: white; /* White 'X' for contrast */
    border: none; /* Removes default border */
    border-radius: 50%; /* Makes it circular */
    width: 30px; /* Adjust size */
    height: 30px; /* Adjust size */
    font-size: 16px; /* Adjust text size */
    font-weight: bold; /* Make 'X' stand out */
    cursor: pointer; /* Makes it clickable */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Soft shadow */
    transition: background 0.2s ease-in-out; /* Smooth hover effect */
}

.popup-btn-close:hover {
    background: #cc0000; /* Darker red on hover */
}
#reset_Hrs {
	width: 110px;
	height:30px; 
	background-color:transparent;
	-webkit-border-radius:10px;
	border-radius:10px;
	border:1px solid #fff;
	display:inline-block;
	cursor:pointer;
	color:#fff;
	font: 16px Arial, Helvetica, sans-serif;
	text-decoration:none;
	text-shadow:0px 1px 0px #285066;
	margin: 5px 10px 0 10px;
	padding: 3px;
}
#reset_Hrs:hover {
	background-color: white;
	color: #5b0303;
}
.wo_details {
	height: 88px;
	width: 100%;
	color: #fff;
	background-color: #5b0303;
}
.curr_times {
	display: inline-block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 74px;
    font: normal 18px 'Bitter', serif;
    text-align: center;
    padding: 4px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #380303;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
	margin: 8px;
}
.curr_date{
	display: inline-block;
    box-sizing: border-box;
    width: 100px;
    font: normal 18px 'Bitter', serif;
    text-align: center;
    padding: 4px;
    border-radius: 6px;
    border: 2px solid #380303;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
	margin: 8px;
}
.curr_info{
	display: inline-block;
    box-sizing: border-box;
    width: 160px;
    font: normal 18px 'Bitter', serif;
    text-align: center;
    padding: 4px;
    border-radius: 6px;
    border: 2px solid #380303;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
	margin: 8px;
}
#wo_title {
	display: inline-block;
    box-sizing: border-box;
    width: 200px;
    font: normal 18px 'Bitter', serif;
    text-align: center;
    padding: 4px;
    border-radius: 6px;
    border: 2px solid #380303;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
	margin: 8px;
}
#addinspection-dialog {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

#addinspection-dialog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
#addinspection-dialog-content {
  position: absolute;
  top: 36%;
  left: 46%;
  transform: translate(-50%, -50%);
  width: 90%; /* Change from fixed width to percentage */
  max-width: 1860px; /* Optional max width */
  height: 80vh; /* Change from fixed height to viewport height */
  max-height: 640px; /* Optional max height */
  background-color: transparent;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
}
#addinspection-iframe {
  width: 100%;
  height: 100%;
  min-width: 800px; /* Optional minimum width */
  min-height: 800px; /* Optional minimum height */
}
/* Add media queries for finer control on smaller devices */
@media (max-width: 768px) {
  #addinspection-dialog-content {
    width: 95%;
    height: 90vh;
  }
  #addinspection-iframe {
    min-width: 100%; /* Ensure iframe fits within the container */
    min-height: 90vh; /* Ensure iframe fits within the container */
  }
}

@media (max-width: 480px) {
  #addinspection-dialog-content {
    width: 98%;
    height: 95vh;
  }

  #addinspection-iframe {
    min-width: 100%; /* Ensure iframe fits within the container */
    min-height: 95vh; /* Ensure iframe fits within the container */
  }
}
#certstatement {
	width: 200px;
	margin: 6px 0 6px 10px;
	text-align: center;
}
.cstmcert {
	display: none;
	width: 200px;
	margin: 6px 0 -32px 10px;
}
#lblnnum {
	display: none;
	width: 86px;
}
#lblmake {
	display: none;
	width: 160px;
}
#make {
	width: 160px;
}
#eng1make {
	width: 160px;
}
#eng1sn {
	width: 120px;
}
#acsn {
	width: 120px;
}
.maintheader {
	color: #fff;
	width: 100%;
	height: 50px;
	background-color: #5b0303;
	border-top: 1px solid #000000;
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
	 border-radius: 5px;
    -webkit-border-radius: 5px;
}
#maint-wrap {
	display:none;
	width: 875px;
	margin: 10px auto; 
	color: #000;
	background-color: #fff;
	 border-radius: 8px;
    -webkit-border-radius: 8px;
    border: 3px solid #380303;
}
#user-wrap {
	
	width: 875px;
	margin: 10px auto; 
	color: #000;
	background-color: #fff;
	 border-radius: 8px;
    -webkit-border-radius: 8px;
    border: 3px solid #380303;
}

.maint-wrap .button-section #submit_button{
	overflow: hidden;
	float: right;
	width: 100px;
	height: 56px;
}
#setup-wrap {
	display:none;
	width: 360px;
	margin: 10px auto; 
	color: #000;
	background-color: #fff;
	 border-radius: 8px;
    -webkit-border-radius: 8px;
    border: 3px solid #380303;
}
.maint-wrap .button-section #submit_button{
	overflow: hidden;
	float: right;
	width: 100px;
	height: 56px;
}
/*=======================================*/
.item-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 100px;
	grid-gap: 20px;
	min-width: 600px;
}

.item-wrap .inputboxlabel {
	display: block;
	font: 13px Arial, Helvetica, sans-serif;
    margin: 10px 0 2px 60px;
}
.inputboxlabel.split-row .input-pair {  /* applies only to this label with the split-row class */
	display: flex;
	gap: 10px;          /* spacing between inputs */
	margin-top: 4px;
}

.inputboxlabel.split-row .inputbx {
	width: 28%;         /* half width each */
	box-sizing: border-box;
}
.item-wrap .modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	top: 170px;
	margin: auto;
	width: 530px;
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0); /* Black w/ opacity */
}
/* The Close Button */
.item-wrap .close {
  color: #800000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 0 10px 10px 0;
}

.item-wrap .close:hover,
.item-wrap .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.item-wrap .close {
  color: #800000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 0 10px 10px 0;
}
/* The Close Button */
.report-wrap .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 5px 5px 10px 0;
}

.report-wrap .close:hover,
.report-wrap .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.report-wrap .modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  top: 132px;
  margin: auto;
  width: 280px;
  height: 54%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,.3); /* Black w/ opacity */
}

#report-wrap .modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  top: 132px;
  margin: auto;
  width: 280px;
  left: 42%;
  height: 54%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,.3); /* Black w/ opacity */
}

.setup-wrap {	
	min-width: 600px;
}

.setup-wrap .inputboxlabel {
	display: block;
	font: 13px Arial, Helvetica, sans-serif;
    margin: 10px 0 2px 60px;
}
.setup-wrap .modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	top: 170px;
	margin: auto;
	width: 430px;
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0); /* Black w/ opacity */
}
/* The Close Button */
.setup-wrap .close {
  color: #800000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 0 10px 10px 0;
}

.setup-wrap .close:hover,
.setup-wrap .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.setup-wrap .close {
  color: #800000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 0 10px 10px 0;
}
.modal-content {
  background-color: #fefefe;
  margin: 5px; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 72%; /* Could be more or less, depending on screen size */
}
#message {
 font-size: 20px;
 color: red;
 padding: 20px 5px 20px;
 background-color: white;
 border-radius: 4px;
 border: 1px solid #380303;
}
#data-entry {
    width:340px;
    height: 640px;
    padding: 20px 0px 0px 0px;
    margin:20px auto;
    background: #FFF;
    border-radius: 30px;
    -webkit-border-radius:10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
	border: 6px solid #5b0303;
}
.date-input {
	display: block;
	width: 100px;
	margin: 5px 0px 5px 20px;
}

.span2 h3 {
	color: #fff;
	margin: 10px 0 5px 30px;
}
.inputbx {
	width: 220px;
	margin: 4px 0 6px 8px;
	font: 16px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
.span2 {
	grid-column: span 2;
	background-color: red;
}
#button-stack {
	grid-column-start:2;
	margin: 10px 0 auto 50px;
	display: inline-flex;
}
/* ===========Inventory Maint=============*/
#inventory-wrap {
	display:none;
	width: 540px;
	margin: 10px auto; 
	color: #000;
	background-color: #fff;
	 border-radius: 8px;
    -webkit-border-radius: 8px;
    border: 3px solid #380303;
}
.inv_inputboxlabel{
	display: block;
	font: 16px Arial, Helvetica, sans-serif;
    margin: 10px 0 2px 60px;
}
#inv_descript {
	width: 420px;
	margin: 4px 0 6px 8px;
	font: 18px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
#inv_part_num {
	width: 220px;
	margin: 4px 0 6px 8px;
	font: 18px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
#inv_alt_part {
	width: 220px;
	margin: 4px 0 6px 8px;
	font: 18px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
#inv_sn {
	width: 220px;
	margin: 4px 0 6px 8px;
	font: 18px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
#inv_manufacture {
	width: 220px;
	margin: 4px 0 6px 8px;
	font: 18px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
#inv_qty {
	width: 220px;
	margin: 4px 0 6px 8px;
	font: 18px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
#inv_cost {
	width: 220px;
	margin: 4px 0 6px 8px;
	font: 18px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
#inv_sell {
	width: 220px;
	margin: 4px 0 6px 8px;
	font: 18px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
#inv_stocked {
	width: 40px;
	margin: 4px 0 6px 8px;
	font: 18px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
#inv_partcondition {
	width: 220px;
	margin: 4px 0 6px 8px;
	font: 18px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
#inv_notes {
	width: 220px;
	margin: 4px 0 6px 8px;
	font: 18px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
#inv_equip {
	width: 220px;
	margin: 4px 0 6px 8px;
	font: 18px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
#inv_active {
	width: 40px;
	margin: 4px 0 6px 8px;
	font: 18px Arial, Helvetica, sans-serif;
	text-align: center;
	display: block;
}
/*========================================*/
.category-column {
        width: 150px; /* Adjust the width as needed */
        }
.comments-column {
    width: 150px; /* Adjust the width as needed */
}
.footer-row {
	background-color: gray !important;
	color: yellow;
}
.radiobtn {
	margin: 5px 10px 5px 5px;
}
.lblsearch {
	margin: 4px 4px 4px 10px;
}
#eqdata {
	color: #fff;
	width: 100%;
	height: 50px;
	background-color: #5b0303;
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
}

#startdatepicker {
	display: inline-block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100px;
    font: normal 18px 'Bitter', serif;
    text-align: center;
    padding: 4px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #380303;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
	margin: 8px;
}

#enddatepicker {
	display: inline-block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100px;
    font: normal 18px 'Bitter', serif;
    text-align: center;
    padding: 4px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #380303;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
	margin: 8px;
}

#invoice-page-wrap { 
	width: 90%;
	margin: 20px auto; 
	background-color: white;
	border-radius: 0 0 10px 10px;
}

#invoiceheader { 
	height: 45px; 
	width: 100%; 
	margin: 15px 0 10px 0; 
	background: #ffffff; 
	text-align: center; 
	color: black; 
	font: bold 30px Helvetica, Sans-Serif; 
	letter-spacing: 10px; 
	padding: 8px 0px; 
}
.comptableheader {
	color: #fff;
	width: 100%;
	height: 98px;
	background-color: #5b0303;
	border-top: 1px solid #000000;
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
}
#reporttable {
	width: 100%;
	margin-top: 10px;
}

#reporttable th {
	text-align: center;
	border-bottom: 1px solid #000000;
	border-top: none;
	border-right: none;
	border-left: none;
}

#reporttable td {
	text-align: right;
	border-bottom: none;
	border-top: none;
	border-right: none;
	border-left: none;
	
}
#reporttblfooter {
	width: 100%;
	height: 60px;
	
}
.col60 {
	width: 60px;
}
.col80 {
	width: 80px;
}
.col120 {
	width: 120px;
}
.col180 {
	width: 180px;
}
#backbutton {
	float: right;
	margin: 10px 20px 10px 10px;
}

#c {
  width: 100vw;
  height: 100vh;
  display: block;
}

#bucket {
	display: none;
}
.lbltons {
	float: left;
	width: 40%;
	margin: 10px 16px 0 16px;
	text-align: center;
}
#pg-wrap {
	width: 340px;
	margin: auto;
}
/* The Close Button */
.inner-wrap .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 5px 5px 10px 0;
}

.inner-wrap .close:hover,
.inner-wrap .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.inner-wrap .modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  top: 132px;
  margin: auto;
  width: 280px;
  height: 54%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,.3); /* Black w/ opacity */
}

.section_prod {
    clear: both;
    padding: 0px;
    margin: 0px;
    padding-left: 10%;
    padding-right: 10%;
}

.col_prod:first-child {
    margin-left: 0;
}
.col_prod {
    display: block;
    float: left;
    margin: 1% 0 1% 1.6%;
}
.span_1_of_3_prod {
    width: 32.26%;
}
.col_prod {
    padding: .25em 0;
    text-align: center;
}

.box_headings {
	color: #689DC1;
	font-size:16px;
	
}

option:nth-child(even){
	background-color: #f5f5f5;
	}
option:nth-child(odd) {
	background-color: #b8d9fc;
}

.form-login .inputboxlabel {
	font: 13px Arial, Helvetica, sans-serif;
    margin: 10px 0 2px 0;
}
.form-main .inputboxlabel {
	display: block;
    font: 13px Arial, Helvetica, sans-serif;
    color: #fff;
    margin: 10px 0 2px 0;
}

.lmenubutton[data-active*="true"]{
	background: #02024e;
}

.lmenubutton[data-active*="false"]{
	background: #185b75;
}

.lmenubutton[data-buildclass*="basic"]{
	display:none;
}

.lmenubutton[data-buildclass*="basicplus"]{
	display:block;
}

.submubutton[data-active*="true"]{
	background: #02024e;
}

.submubutton[data-active*="false"]{
	background: #185b75;
}

.subimgbutton[data-active*="true"]{
	border: 4px solid #380303;
}

.subimgbutton[data-active*="false"]{
	
}

.lineitem[data-pos*="1st"]{
	padding: 5px 5px 0 30px;
}

.lineitem[data-pos*="2nd"]{
	padding: 5px 5px 0 60px;
}

.lineitem[data-pos*="3rd"]{
	padding: 5px 5px 0 60px;
}

.col200R {
	width: 200px;
	float: right;
}

.col200L {
	width: 200px;
	float: left;
}

.lmenubutton {
	margin: 4px 4px 4px 4px;
}

.form-main button.submubutton {
	height: 40px;
	Width: 200px;
	margin: 0px 4px 0px 4px;
	font: normal 14px 'Bitter', serif !important;
	position: relative;
}

.form-main button.subimgbutton {
	height: 80px;
	Width: 200px;
	margin: 0px 4px 0px 4px;
	font: normal 14px 'Bitter', serif !important;
	position: relative;
	text-shadow:
   -1px -1px 0 #000,  
    1px -1px 0 #000,
    -1px 1px 0 #000,
     1px 1px 0 #000;
}

.form-main .inner-wrap{
	position: relative;
	width: 100%;
	height: 100%;
    padding: 10px 30px 10px 5px;
    margin-bottom: 15px;
}

#leftmenu {
	float: left;
	left: 5px;
	width: 146px;
	height: 800px;
	overflow: auto;
}

#leftsubmenu {
	float:left;
	height: 640px;
	width: 400px;
	overflow: auto;
/*	background: #800080; */
}

#sizemenu {
	width: 300px;	
}

div.buildsum>div:nth-of-type(odd) {
  background: #bbddff;
}

.titlecenter {
	text-align: center;
	padding: 0 0 10px 0;
}

.lineitem {
	height: 20px;
	padding: 5px 5px 0 30px;
	font-size: 14px;
	background: #d5eaff;
}

.lineitem .optname {
	width: 20%;
}

.lineitem .opttype {
	width: 20%;
}

.lineitem .optclr {
	width: 20%;
}

.lineitem .optname {
	width: 20%;
}


.submenu {
	width: 200px;
    position: relative;
    left: 20px;
    top: 20px;
    display:none;
  /*  background: #ff80ff; */
   
}

.subsubmenu {
	width: 630px;
	height: 600px;
    position: absolute;
    left: 410px;
    top: 50px;
    display:none;  
}

.submenulabel {
	padding: 10px 30px 5px 30px;
	line-height: 25px;
	text-align: center;
	color: #fff;
	background: #185b75;
	-webkit-border-radius:14px;
	border-radius:8px;
	margin: 10px 5px 10px 5px;
}

#submenuclose {
	width: 100%;
	position: absolute;
	bottom: 10px;
	
		
}

.submenu h2{
	padding: 10px 30px 5px 30px;
	line-height: 25px;
	position: relative;
}

.sliderlbl {
	padding: 10px 0 20px 10px;	
}

#showopt {
	float: right;
	border: none;
	margin: 10px 5px 10px 5px;
	background-color: #5b0303;
	color: #fff;
	 border-radius: 8px;
    -webkit-border-radius: 8px;
    padding: 8px;
	font-size: xx-large;	
}

#nttitle {
	display:block;
	width: 160px;
	height: 32px;
	
}
#nwtitle {
	width:160px;
	height: 26px;
	margin: 5px 0 0 0;
	display: none;
}

#nntitle {
	height: 32px;
	width: 300px;
	font-size:18px;
	background: #99CCFF;
}

#nwmsg {
	width:100%;
	height: 560px;
	overflow-y: scroll;
}
#closepop {
	float:right;
	width: 80px;
	height: 40px;
	color: black;
	background: #b0fcc9;
	margin:5px 20px 0 0;
}
#cnclpop {
	float:right;
	width: 80px;
	height: 40px;
	color: black;
	background: #ffb2b2;
	margin:5px 0 0 0;
}
#backbutton {
	float:left;
	font-size: xx-large;
	color: black;
	background-color: white;
	
}
#newnote {
	width:80vw;
	height: 800px;
	margin: auto;
	background-color: white;
}
#printbutton {
	float:right;
}
/*-===================================================================================================== */
.wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  grid-auto-rows: minmax(100px, auto);
}
.one {
  grid-column: 1;
  grid-row: 1;
  background-color: #c1edf2;
}
.two {
  grid-column: 2 / 3;
  grid-row: 1;
  background-color: #eb97f4;
}
.three {
  grid-column: 3 / 4;
  grid-row: 1;
  background-color: #c1edf2;
}
.seven .four {
  grid-column: 3;
  grid-row: 3;
  background-color: #c1edf2;
}
.five {
  grid-column: 2;
  grid-row: 4;
  background-color: #c1edf2;
}
.six {
  grid-column: 3;
  grid-row: 4;
  background-color: #c1edf2;
}
.seven {
  grid-column: 1 / 4;
  grid-row: 2 / 6;
  background-color: #ea9d9d;
}

.bubble {
  z-index: 10;
  left: 140px;
  position: relative;
  box-sizing: border-box;
  border: none;
  width: 3em;
  height: 2.25em;
  line-height: 24px;
  text-align: center;
  border-radius: 0.75em;
  box-shadow: inset 0 0 0.125em 0.125em #ddd, inset 0 0.125em 0.125em 0.125em #777, inset 0 -0.125em 0.125em 0.125em #999, inset 0 0 0 0.375em #c8c7ca;
  background: linear-gradient(#2f2975, #575879);
  background-size: 100% 100%;	
}

.bubble span{
	display: inline;
	top: 3px;
	width: 30px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    color: #fff;
    font-size: 12px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 6px;
}

.szlabel {
	float: left;
	position: relative;
	left: 40px;
	margin-top: 10px;
}

.sliderwindow {
	height: 150px;
	top:20px;
	
}

/*========= Work Order CSS ========================================*/

.wo_grid {
	height: 58vh !important;
}
.wo_inspection {
  display: grid;
  grid-template-columns: 15px repeat(14, calc((100%) / 20)) 15px;
  grid-template-rows: auto;
  grid-gap: 10px;
  padding: 10px 0 10px 0;
  margin-bottom: 20px;
  border-bottom: 2px dashed #5b0303;
  min-width: 1260px;
}
.rmv_components {
  display: grid;
  background-color: #ececec;
  grid-template-columns: 15px repeat(15, calc((100%) / 20)) 15px;
  grid-template-rows: auto;
  grid-gap: 10px;
  padding: 10px 0 10px 0;
  margin-bottom: 20px;
  border-bottom: 1px dashed #5b0303;
  min-width: 1260px;
}
.inst_components {
  display: grid;
  grid-template-columns: 15px repeat(15, calc((100%) / 20)) 15px;
  grid-template-rows: auto;
  grid-gap: 10px;
  padding: 10px 0 10px 0;
  border-bottom: 2px dashed #5b0303;
  min-width: 1260px;
}

.lblinspect_name {
  grid-column: 2 / span 3;
  grid-row: 1;
  font-weight: bold;
}
.inspect_name {
  grid-column: 5 / span 4;
  grid-row: 1;
  height: 24px;
  border-bottom: 1px solid black;
}
.lblinspect_notes {
  grid-column: 9 / span 1;
  grid-row: 1;
  text-align: center;
  font-weight: bold;
}
.inspect_notes {
  grid-column: 10 / span 7;
  grid-row: 1 / span 2;
  resize: vertical;
  padding: 5px;
  background-color: white;
  pointer-events: none;
}
.lblwork_type {
  grid-column: 16 / span 3;
  grid-row: 2;
  text-align: right;
  font-weight: bold;
}
.work_type {
  grid-column: 19 / span 1;
  grid-row: 2;
  text-align: center;
  font-weight: bold;
}
.lblnxtdue {
  grid-column: 2 / span 3;
  grid-row: 2;
  font-weight: bold;
}
.nxtdue {
  grid-column: 5 / span 4;
  grid-row: 2;
  height: 24px;
  border-bottom: 1px solid black;
}
.copynote {
	grid-column: 9 / span 1;
	grid-row: 2;
	text-align: center;
	width: 60px;
	height: 32px;
	background-color: #f7f7f7;
	border-radius: 10px;
	border: 1px solid #5b0303;
	cursor: pointer;
	color: #5b0303;
	font: 16px Arial, Helvetica, sans-serif;
}
.wo_task {
  display: grid;
  grid-template-columns: 15px repeat(14, calc((100%) / 20)) 15px;
  grid-template-rows: auto;
  grid-gap: 10px;
  padding: 10px 0 10px 0;
  margin-bottom: 20px;
  border-bottom: 2px dashed #5b0303;
  min-width: 1260px;
}
.lbltask_desc {
  grid-column: 2 / span 3;
  grid-row: 1;
  font-weight: bold;
}
.task_desc {
  grid-column: 2 / span 16;
  grid-row: 2 / span 3;
  border: 1px solid black;
  resize: vertical;
  padding: 5px;
  margin: 10px;
  background-color: white;
  height: auto;
  max-height: 200px;
  min-height: 60px;
}
.task_desc:focus {
	outline: solid #5b0303;
}
.lbltask_logbook {
  grid-column: 10 / span 3;
  grid-row: 1;
  font-weight: bold;
}
.task_logbook {
  grid-column: 12 / span 2;
  grid-row: 1;
  text-align: center;
  border: 1px solid black;
}
.lblwork_desc {
  grid-column: 2 / span 2;
  grid-row: 3;
  font-weight: bold;
}
.work_desc {
  grid-column: 4 / span 18;
  grid-row: 3 / span 3;
  border: 1px solid black;
  resize: vertical;
  padding: 5px;
  margin: 10px;
  background-color: white;
  height: auto;
  max-height: 200px;
  min-height: 60px;
}
.work_desc:focus {
	outline: solid #5b0303;
}
#wo_notearea {
	height: 90px;
	border-bottom: 1px dashed #5b0303;
}
#wo_notes {
	width: 98%;
	height: 40px;
	border: 1px solid black;
	border-radius: 5px;
	margin: 10px;
}
#wo_notes:focus {
	outline: solid #5b0303;
}
.wo_components {
  display: grid;
  grid-template-columns: 15px repeat(17, calc((100%) / 20)) 15px;
  grid-template-rows: auto;
  grid-gap: 10px;
  grid-template-rows: 24px;
  padding: 10px 0 10px 0;
  margin-bottom: 20px;
  min-width: 1260px;
}
.lblrmv_desc {
  grid-column: 2 / span 4;
  grid-row: 1;
  font-weight: bold; 
}
.rmv_desc {
  grid-column: 5 / span 4;
  grid-row: 1;
  background-color: #ececec;
  border: none;
}
.lblrmv_reason {
  grid-column: 10 / span 3;
  grid-row: 1;
  font-weight: bold;
}
.rmv_reason {
  grid-column: 12 / span 2;
  grid-row: 1;
  text-align: center;
  border: 1px solid black;
}
.remove_button {
	grid-column: 20 / span 1;
	grid-row: 1;
	text-align: center;
	width: 60px;
	height: 32px;
	background-color: #f7f7f7;
	border-radius: 10px;
	border: 1px solid #5b0303;
	cursor: pointer;
	color: #5b0303;
	font: 12px Arial, Helvetica, sans-serif;
}
.lbl_inspection_print {
	 display:grid;
	 grid-column: 19 / span 1;
	 grid-row: 1;
	 height: 20px;
	 width: 66px;
	 font-size: 18px;
}
.inspection_print {
	display: grid;
	grid-column: 19 / span 1;
	grid-row: 1;
	width: 24px;
	height: 24px;
}
.lblrmv_part {
  grid-column: 2;
  grid-row: 2;
  text-align: center;
  font-weight: bold;
}
.rmv_part {
  grid-column: 3 / span 2;
  grid-row: 2;
  background-color: #ececec;
  border: none;  
}
.lblrmv_serial_num {
  grid-column: 5;
  grid-row: 2;
  font-weight: bold;  
}
.rmv_serial_num {
  grid-column: 6 / span 2;
  grid-row: 2;
  background-color: #ececec;
  text-align: center;
  border: none; 
}
.lblrmv_hours {
  grid-column: 2 / span 2;
  grid-row: 3;
  font-weight: bold;
}
.rmv_hours {
  grid-column: 4;
  text-align: center;
  grid-row: 3;
  background-color: #ececec;
  border-bottom: 1px solid black;
}
.lblrmv_months {
  grid-column: 6 / span 2;
  grid-row: 3;
  font-weight: bold;
}
.rmv_months {
  grid-column: 8;
  text-align: center;
  grid-row: 3;
  background-color: #ececec;
  border-bottom: 1px solid black;
}
.lblrmv_rins {
  grid-column: 10 / span 2;
  grid-row: 3;
  font-weight: bold;
}
.rmv_rins {
  grid-column: 12;
  text-align: center;
  grid-row: 3;
  background-color: #ececec;
  border-bottom: 1px solid black;
}
.lblrmv_cycles {
  grid-column: 14 / span 2;
  grid-row: 3;
  font-weight: bold;
}
.rmv_cycles {
  grid-column: 16;
  text-align: center;
  grid-row: 3;
  background-color: #ececec;
  border-bottom: 1px solid black;
}
.lblrmv_note {
  grid-column: 2 / span 3;
  grid-row: 4;
  font-weight: bold;  
}
.rmv_note {
  grid-column: 4 / span 13;
  grid-row: 4;
  text-align: left;
  padding: 5px;
  border-bottom: 1px solid black; 
}
.rowbreak {
	grid-row: 5;
	grid-column: 2 / span 17;
	height: 20px;
	border-top: 2px dashed lightgray;
}
/* ------Part Install--------------*/
.lblinst_desc {
  grid-column: 2 / span 4;
  grid-row: 1;
  font-weight: bold;  
}
.inst_desc {
  grid-column: 5 / span 6;
  grid-row: 1;
  text-align: left;
  padding: 5px;
  border-bottom: 1px solid black; 
}
.lblcondition {
  grid-column: 12 / span 3;
  grid-row: 1;
  font-weight: bold;   
}
.inst_condition {
  grid-column: 14 / span 2;
  grid-row: 1;
  text-align: center;
  border: 1px solid black;
}
.lblinst_part {
  grid-column: 2;
  grid-row: 2;
  text-align: center;
  font-weight: bold; 
}
.inst_part {
  grid-column: 3 / span 2;
  grid-row: 2;
  text-align: center;
  border-bottom: 1px solid black;  
}
.lblinst_serial_num {
  grid-column: 6 / span 2;
  grid-row: 2;
  font-weight: bold;
}
.inst_serial_num {
  grid-column: 7 / span 2;
  grid-row: 2;
  text-align: center;
  border-bottom: 1px solid black;   
}
.lblinst_trak {
  grid-column: 10 / span 2;
  grid-row: 2;
  font-weight: bold;
}
.inst_trak {
  grid-column: 11 / span 2;
  grid-row: 2;
  text-align: center;
  border-bottom: 1px solid black;   
}
.lblinst_hours {
  grid-column: 2 / span 2;
  grid-row: 4;
  font-weight: bold;
}
.inst_hours {
  grid-column: 4;
  text-align: center;
  grid-row: 4;
  border-bottom: 1px solid black;
}
.lbllifelimit_hours {
  grid-column: 2 / span 2;
  grid-row: 5;
  font-weight: bold;
}
.lifelimit_hours {
  grid-column: 4;
  text-align: center;
  grid-row: 5;
  border-bottom: 1px solid black;
}
.lblremaining_hours {
  grid-column: 2 / span 2;
  grid-row: 6;
  font-weight: bold;
}
.remaining_hours {
  grid-column: 4;
  text-align: center;
  grid-row: 6;
  border-bottom: 1px solid black;
}
.lblinst_months {
  grid-column: 6 / span 2;
  grid-row: 4;
  font-weight: bold;
}
.inst_months {
  grid-column: 8;
  text-align: center;
  grid-row: 4;
  border-bottom: 1px solid black;
}
.lbllifelimit_months {
  grid-column: 6 / span 2;
  grid-row: 5;
  font-weight: bold;
}
.lifelimit_months {
  grid-column: 8;
  text-align: center;
  grid-row: 5;
  border-bottom: 1px solid black;
}
.lblremaining_months {
  grid-column: 6 / span 2;
  grid-row: 6;
  font-weight: bold;
}
.remaining_months {
  grid-column: 8;
  text-align: center;
  grid-row: 6;
  border-bottom: 1px solid black;
}
.lblinst_rins {
  grid-column: 10 / span 2;
  grid-row: 4;
  font-weight: bold;
}
.inst_rins {
  grid-column: 12;
  text-align: center;
  grid-row: 4;
  border-bottom: 1px solid black;
}
.lbllifelimit_rins {
  grid-column: 10 / span 2;
  grid-row: 5;
  font-weight: bold;
}
.lifelimit_rins {
  grid-column: 12;
  text-align: center;
  grid-row: 5;
  border-bottom: 1px solid black;
}
.lblremaining_rins {
  grid-column: 10 / span 2;
  grid-row: 6;
  font-weight: bold;
}
.remaining_rins {
  grid-column: 12;
  text-align: center;
  grid-row: 6;
  border-bottom: 1px solid black;
}
.lblinst_cycles {
  grid-column: 14 / span 2;
  grid-row: 4;
  font-weight: bold;
}
.inst_cycles {
  grid-column: 16;
  text-align: center;
  grid-row: 4;
  border-bottom: 1px solid black;
}
.lbllifelimit_cycles {
  grid-column: 14 / span 2;
  grid-row: 5;
  font-weight: bold;
}
.lifelimit_cycles {
  grid-column: 16;
  text-align: center;
  grid-row: 5;
  border-bottom: 1px solid black;
}
.lblremaining_cycles {
  grid-column: 14 / span 2;
  grid-row: 6;
  font-weight: bold;
}
.remaining_cycles {
  grid-column: 16;
  text-align: center;
  grid-row: 6;
  border-bottom: 1px solid black;
}
.lblinst_note {
  grid-column: 2 / span 3;
  grid-row: 7;
  font-weight: bold;  
}
.inst_note {
  grid-column: 4 / span 13;
  grid-row: 7;
  text-align: left;
  padding: 5px;
  border-bottom: 1px solid black; 
}
.partbreak {
	grid-row: 10;
	grid-column: 2 / span 17;
	height: 20px;
	border-bottom: 2px dashed #5b0303;
}
/*=================================================================*/
#head {
	background-color: #185b75;
	height: 94px;
}

#buildhd {
	width: 300px;
	padding: 20px 30px 15px 30px;
    margin: -30px 0px 0px 0px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
	border: .01px;	
}

#header { 
	height: 70px; 
	margin: 0; padding: 0; text-align: left; 
  	background: #1A446C; color: #D4E6F4;
}

#header h1 {
	padding: 1em; 
	margin: 0;
	text-align: center;
}

#footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	clear: both;
	height: 2em; margin: 0; padding: 1em; 
	text-align: center;
	background: #1A446C;
	color: #D4E6F4;
}

.build-footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	clear: both;
	height: 2em; margin: 0; padding: 1em; 
	text-align: center;
	background: #1A446C;
	color: #D4E6F4;
}

#form_footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	clear: both;
	height: 2em; margin: 0; padding: 1em; 
	text-align: center;
	background: #1A446C;
	color: #D4E6F4;
}

/* Navigation */

#navigation { 
	float: left;
	width: 150px; height: 100%; 
	margin: 0; padding: 0 2em; 
	color: #D4E6F4; background: #8D0D19;
}

#navigation a { color: #D4E6F4; text-decoration: none; }

#navigation a:hover { color: #FFFFFF; }

ul.subjects { 

	margin: 1em 0; padding-left: 0; list-style: none;

}

ul.pages { padding-left: 2em; list-style: square; font-weight: normal; }

.selected { font-weight: bold; }

/* Page Content */

#page { 

	/*float: left; height: 100%;

	padding-left: 2em; vertical-align: top; 

	background: #EEE4B9;

	*/

	width: 400px;
	margin: 0 auto;
	background: #ffffff;
}

#page h2 { color: #004b96; margin-top: 1em;}

#page h3 { color: #8D0D19; }

#imagethumb {
	
	width: 50px;
	height: auto;
	float: right;
}

#selimage {
	width: 80%;
}

.view-content {
	margin: 1em; padding: 1em; border: 1px solid #999;
}

div.message { 
	display: none;
	clear: both;
	border: 2px solid #380303;
	color: #8D0D19; 
	font-weight: bold;
	margin: 5px 30px 5px 30px; 
	padding: 1em; 
}
/* errors */

.error {
	clear: both;
	color: #8D0D19; 
	border: 2px solid #380303;
	margin: 0 30px; 
	padding: 1em;
}

.error ul { padding-left: 2em;

}

.submitbutton {
	-webkit-box-shadow: 0px -1px 12px 0px #1b66c2;
	box-shadow: 0px -1px 12px 0px #1b66c2;
	background-color:transparent;
	-webkit-border-radius:14px;
	border-radius:14px;
	border:3px solid #380303;
	display:inline-block;
	cursor:pointer;
	color:#050505;
	font-family:Courier New;
	font-size:18px;
	padding:16px 31px;
	text-decoration:none;
	text-shadow:0px 1px 0px #285066;
}

.submitbutton:hover {
	background-color:transparent;
}

.submitbutton:active {
	position:relative;
	top:1px;
}

#logbutton {
	float:right;
}

#logoutbtn {
	padding: 10px 10px 10px 10px;
	margin-bottom: 20px;	
	position:absolute;
    top:12px;
    right:12px;
    width:100px;
    height: 60px;
}

.closebtn {
	float: right;
	margin: 10px;
}
#savebuild {
	padding: 10px 10px 10px 10px;
	margin-bottom: 20px;	
	position:absolute;
    top:2px;
    right:140px;
}
#optionlist {
	width: 200px;
	height: 300px;
	float: right;
	overflow: scroll;
}

#parent {
	width: 200px;
	float: left;
}

#sizeoptionlist {
	height: 300px;
	float: right;
	overflow: scroll;
}

.admininput{
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  outline: none;
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 10px;
  border: 3px solid #380303;
  font-size:18px;
  display:inline-block;
  float:right;
}

.admininput:focus, textarea:focus {
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  padding: 3px 5px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 3px solid #380303;
}

#inputarea{
	float:right;
}

#commentarea {
	height: 200px;
}

/* New customer styles */

#city {
	float: left;
	width: 50%;
}

#state {
	float: left;
	width: 50%;
}

.buildsum .sumlabel {
	 font: bold 16px 'Bitter', serif;
	 color: #000;
}

.form-main{
    width:100%;
    height: 100%;
    padding: 20px 0px 0px 0px;
    margin:20px auto;
    background: #FFF;
    border-radius: 30px;
    -webkit-border-radius:10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
}

.form-main .input-wrap{
	width: 330px;
    padding: 10px 10px 10px 10px;
    background: #002b3b;
    border-radius: 26px;
	margin:auto;
}

.form-login .input-wrap{
	width: 90%;
    padding: 10px 10px 10px 10px;
	margin:auto;
}

.form-login .inner-wrap{
    padding: 10px 30px 10px 15px;
    width: 280px;
    background: #fff;
    border-radius: 26px;
    margin-bottom: 15px;
}

.form-login .button-section #submit_button{
	overflow: hidden;
	float: right;
	width: 100px;
	height: 56px;
}

.form-login input[type="button"]{
    background: #2A88AD;
    padding: 8px 20px 8px 20px;
    border-radius: 5px;
	text-align: center;
    -webkit-border-radius: 5px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 30px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
    font-size: 15px;
}
.form-footer {
	color: #fff;
	clear: both;
	position: fixed;
	bottom: 0;
	width: 100%;
	display: block;
	text-align: center;
	padding: 15px 0 0 0;
	height: 20px;
	border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #5b0303;
    background: #5b0303;
}
.index-footer {
	background: #5b0303;
    padding: 8px 20px 8px 20px;
    border-radius: 0 0 5px 5px;
	text-align: center;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 30px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #5b0303;
    font-size: 15px;
}
.form-login .index-footer h6{
    display: inline;
    color: #FFF; 
    margin-top: 1em;  
    padding: 0;  
}
.form-login h6{
    display: inline;
    color: #FFF; 
    margin-top: 1em;
    padding: 0 0 0 30px;    
}

.form-login .form-footers h6{
    background: #2A88AD;
    padding: 10px 167px 10px 167px;
    margin: 0px -30px 5px -30px;
    border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    color: #fff;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 10px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
}

.form-build{
    width:75%;
    padding: 20px 0px 0px 0px;
    margin:20px auto;
    background: #FFF;
    border-radius: 30px;
    -webkit-border-radius:10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
}

.form-contract{
    width:375px;
    padding: 20px 0px 0px 0px;
    margin:20px auto;
    background: #FFF;
    border-radius: 30px;
    -webkit-border-radius:10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
}

.form-settle{
    width:50%;
    padding: 20px 0px 0px 0px;
    margin:20px auto;
    background: #FFF;
    border-radius: 30px;
    -webkit-border-radius:10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
}

.form-settle h2{
	padding: 10px 30px 5px 30px;
	line-height: 25px;
}

.form-settle h1{
    background: #2A88AD;
    padding: 20px 30px 15px 30px;
    margin: -30px 0px 0px 0px;
    border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 30px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
}

.form-main .form-footers h6{
    background: #2A88AD;
    padding: 10px 167px 10px 167px;
    margin: 0px -30px 5px -30px;
    border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    color: #fff;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 10px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
}

.form-main h1 > span{

    display: block;

    margin-top: 2px;

    font: 13px Arial, Helvetica, sans-serif;
}

.form-main .info {
	display: block;

    margin-top: 6px;

    font: 18px Arial, Helvetica, sans-serif;
}
.form-main label{

    display: block;

    font: 13px Arial, Helvetica, sans-serif;

    color: #fff;

    margin-bottom: 10px;

}

.form-main h5{
    display: block;
    color: #000080; 
   margin: 5px 1px 3px 0px;

    
}

.form-main h6{
    display: inline;
    color: #FFF; 
    margin-top: 1em;
    padding: 0 0 0 30px;
    
}

.form-main .inner-wrap .mbutton {
	margin: 4px 4px 4px 8px;
}

.form-main .section .mbutton {
	margin: 4px 4px 4px 8px;	
}

.form-login .inner-wrap .mbutton {
	margin: 4px 4px 4px 8px;
	height: 60px;	
	float: left;
}

.form-main .inner-wrap .wt{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 50%;
    float: left;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.form-main .inner-wrap .wt30{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 30%;
    float: left;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.form-main .inner-wrap .wts{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 70%;
    float: left;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.form-login .inner-wrap .wt{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 50%;
    float: left;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.form-login .inner-wrap .wts{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 70%;
    float: left;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.33);
}
.form-login .inner-wrap .wt30{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 30%;
    float: left;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.33);
}
.nlname{
	display: block;
	float: left;
	width: 60%;
	margin: 0px 4px 0px 0px;
}

.nlbales {
	display: block;
	float: Right;
	width: 32%;
	margin: 0px 0px 0px 0px;
}

.nlpricing {
	display: block;
	float: left;
	width: 32%;
	margin: 0px 4px 0px 0px;
}

#nldate {
	clear: both;
}

#nlloc {
	clear: both;
}

#getlocc {
	float:right;
	margin:	0 0 0 5px; 
	
}

#nllotnumval {
	float: right;
	width: 100px;
}

#ltnum {
	border: none !important;	
}

#nllotnum {
	float: right;
	width: 60px;
}

#nlttl {
	float: left;	
}

#data2 {
	text-align: left;	
}
.form-main .inner-wrap .ldr{
	display: inline-block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 32%;
	float: left;
	margin: 1px;
    padding: 2px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}


.form-main .section{
    font: normal 20px 'Bitter', serif;
    color: #2A88AD;
    margin-bottom: 5px;
}

.form-main .dropbx{
	font-size: 16px;
    margin: 0px 0px 15px 0px;
}

.tableheader .dropbx{
	font-size: 16px;
    margin: 0 0 0 8px;
}

.form-main .splitdetails{
	width: 82%;
	text-align: center;
	font-size: 14px;
	padding: 9px;
	border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #380303;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}
.form-main .section span {
    background: #2A88AD;
    padding: 5px 10px 5px 10px;
    position: absolute;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    border: 4px solid #fff;
    font-size: 14px;
    margin-left: -45px;
    color: #fff;
    margin-top: -3px;
}

.form-main input[type="button"]{
  box-sizing: border-box;
  appearance: none;
  background-color: transparent;
  border: 2px solid #380303;
  border-radius: 0.6em;
  color: red;
  cursor: pointer;
  display: flex;
  align-self: center;
  font-size: 1rem;
  line-height: 1;
  margin: 20px;
  padding: 1.2em 2.8em;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.form-main input[type="button"]:hover,
.form-main input[type="button"]:focus {
  color: #fff;
  outline: 0;
}

.form-build input[type="button"]{
    background: #2A88AD;
    padding: 8px 20px 8px 20px;
    border-radius: 5px;
	text-align: center;
    -webkit-border-radius: 5px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 30px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
    font-size: 15px;
}

.form-main input[type="number"]{
	display: inline;
	float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100px;
    height: 38px;
    padding: 2px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #380303;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.form-main input[type="submit"]{
    background: #A10309;
    padding: 8px 15px 8px 15px;
	margin-right: 20px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 30px 'Bitter', serif;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #380303;
    font-size: 15px;
    width: 100px;
	height: 56px;
}

.item-col {
	padding: 30px 0 0 0;
}
#title{
	
	margin: 10px 0 10px 10px;	
}
.bottom {
	position: fixed; 
    width:100%;
    bottom:0;
}
.button-section{
	display: inline-block;	
	width: 340px;
	padding: 0px 0px 10px 0px;
	margin: 8px 0 0 10px;
}

.form-main .button-section #submit_button{
	overflow: hidden;
	float: right;
	width: 100px;
	height: 56px;
}

.form-contract .button-section #submit_button{
	overflow: hidden;
	float: right;
	width: 100px;
	height: 56px;
}


.form-main .button-section #submit_button input{
	float: right;
}

.form-contract .button-section #submit_button input{
	float: right;
}

#bales{
	display: block;
	margin: 10px 0 10px 0;
}

.form-main input[type="button"]:hover{
    background: #2A6881;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
} 

.form-main input[type="submit"]:hover{
    background: #620205;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
}



.form-build input[type="button"]:hover{
    background: #2A6881;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
} 

.form-build input[type="submit"]:hover{
    background: #620205;
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
}

.form-build button[type="button"],
.form-build button[type="reset"],
.form-build button[type="submit"]{

    background: #A10309;
    
    width: 100px;

	height: 56px;
	
    padding: 8px 0px 8px 0px;

    border-radius: 5px;

    -webkit-border-radius: 5px;

    color: #ffffff;

    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);

    font: normal 18px 'Bitter', serif;

    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);

    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);

    border: 1px solid #380303;
}

.form-contract button[type="submit"]{

    background: #2A88AD;
    
    width: 100px;

	height: 56px;
	
    padding: 8px 0px 8px 0px;

    border-radius: 5px;

    -webkit-border-radius: 5px;

    color: #ffffff;

    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);

    font: normal 18px 'Bitter', serif;

    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);

    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);

    border: 1px solid #380303;
}

.form-contract button[type="button"]{

    background: #2A88AD;
    
    width: 100px;

	height: 56px;
	
    padding: 8px 0px 8px 0px;

    border-radius: 5px;

    -webkit-border-radius: 5px;

    color: #ffffff;

    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);

    font: normal 18px 'Bitter', serif;

    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);

    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);

    border: 1px solid #380303;
}

.form-main button.reportmenu[type="reset"] {
	width: 150px;
	height: 80px;
	padding: 0 5px 0 5px;
	margin: 10px 10px 10px 20px;	
}

#startdate {
	width: 160px;
	margin: 0px 0 4px 6px;
	float: left;
}

#enddate {
	width: 160px;
	float: left;
	margin: 8px 0 4px 6px;
}

#paiddate {
	width: 160px;
	float: left;
	padding: 20px 0px 20px 20px;
}

#chknumber {
	width: 160px;
	float: left;
	padding: 20px 0px 20px 20px;
}

#checknumber {
	width: 120px;
	float: left;
	padding: 20px 0px 20px 20px;
}

#drvrlbl {
	width: 160px;
	float: left;
	padding: 20px 0px 20px 20px;
	
}

#selectcom {
	width: 180px;
	float: left;
	padding: 20px 0px 8px 6px;
}

#selectlot {
	width: 160px;
	float: left;
	padding: 0px 0px 0px 20px;
}

#reportsummary {
	width: 160px;
	float: left;
	padding: 5px 0px 20px 40px;
	font-size: 18px;
}

#reportdetail {
	width: 160px;
	float: left;
	padding: 5px 0px 20px 10px;
	font-size: 18px;
}

#custlots {
	width: 340px;
	margin: 20px 0 20px 20px;
	font-size: 20px;	
}

#custselect {
	width: 280px;
	margin: 20px 0 20px 5px;	
}

#driverselect {
	width: 340px;
	margin: 20px 0 20px 20px;	
}

#farmerselect {
	width: 90%;
	margin: 20px 0 20px 20px;	
	font-size: 20px;
}

#farmerlots {
	width: 90%;
	height: 200px;
	margin: 20px 0 20px 20px;
	font-size: 20px;	
}

#payfarmerlots {
	width: 90%;
	height: 200px;
	margin: 20px 0 20px 20px;
	font-size: 20px;	
}

#commselect {
	width: 340px;
	margin: 10px 0 40px 20px;	
}

#custcontracts {
	width: 340px;
	margin: 10px 0 40px 20px;	
}

#contractselect {
	width: 340px;
	font-size: 16px;
	overflow: hidden;
	margin: 40px 0 40px 20px;	
}

#lots {
	width: 340px;
	margin: 20px 0 40px 20px;	
}

#lotcheck {
	width: 60px;
	height: 20px;
	background: #333;
	margin: 10px 20px;
	border-radius: 50px;
	position: relative;
	
}
#checkboxThreeInput {
	opacity: 0;
}
.checkboxThree {
	width: 160px;
	height: 40px;
	background: #257C9E;
	margin: 8px 25px;
	border-radius: 50px;
	position: relative;
	float: left;
	
}

.checkboxThree:before {
	content: 'OPEN';
	position: absolute;
	top: 12px;
	left: 13px;
	height: 2px;
	color: #26ca28;
	font-size: 16px;
}

.checkboxThree:after {
	content: 'CLOSED';
	position: absolute;
	top: 12px;
	left: 84px;
	height: 2px;
	color: RED;
	font-size: 16px;
}

.checkboxThree label {
	display: block;
	width: 68px;
	height: 22px;
	border-radius: 50px;
	transition: all .5s ease;
	cursor: pointer;
	position: absolute;
	top: 9px;
	z-index: 1;
	left: 12px;
	background: Black;
}

.checkboxThree input[type=checkbox]:checked + label {
	left: 85px;
	background: Black;
}

.lotnumber {
	float: right;
}
/* -----------------------------------------
		Specific styles for New Contract
--------------------------------------------*/

#nconnumval {
	float: right;
	width: 100px;
	margin: 0 10px 0 0;
}

#ncon_num {
	border: none !important;
}

#ncontnum {
	float: right;
	width: 200px;
	
}


#ncttl {
	float: left;
	width:100%;	
}

#cstcnt {
	width: 85%;	
}

#nchelpbtn {
	z-index: 1;
	float: right;
	width: 20px;
    height: 30px;
	margin: 20px 0px 16px 0px;
	background: #6babcb;
	 border-radius: 6px;
    -webkit-border-radius:6px;
}

.form-main .modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  top: 170px;
  margin: auto;
  width: 430px;
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0); /* Black w/ opacity */
}

#scrollit .modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  top: 170px;
  margin: auto;
  width: 430px;
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0); /* Black w/ opacity */
}

.form-login .modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  top: 170px;
  margin: auto;
  width: 430px;
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0); /* Black w/ opacity */
}

.form-main .ncmodal {
  display: none; /* Hidden by default */
  
  overflow: auto; /* Enable scroll if needed */


}

/* Modal Content/Box */
.form-main .modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 90%; /* Could be more or less, depending on screen size */
}

.form-login .close {
  color: #800000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 0 10px 10px 0;
}

.form-login .close:hover,
.form-login .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
#myDIV {
display: none;
width: 100%;
padding: 50px 0;
text-align: center;
background-color: lightblue;
margin-top: 20px;
}

.ncpricing {
	display: block;
	float: left;
	width: 30%;
	margin: 0px 4px 0px 0px;
}

.form-main .inner-wrap .nc{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    float: left;
    padding-top: 0;
    padding-right: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.form-contract .inner-wrap .nc{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    float: left;
    padding-top: 0;
    padding-right: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}


#editlot {
	margin: 15px 0 20px 20px;	
}

#editlot #farmername {
	width: 160px;
	text-align: left;
}

#lotnumber {
	width: 100px;
	text-align: left;	
}

.thlot {
	text-align: left;
	width: 40px;
}

#lottable .toninput {
	text-align: center;
}

#tdcutting {
	text-align: center;
}

#tdrfv {
	text-align: center;
}

#ncdate {
	width: 100%;
}

#selectbox {
		Overflow: auto;
		width: 100%;	
		height: 340px;
}

#displaysel {
		Overflow: auto;
		width: 100%;	
		height: 50px;
		text-align: left;
}
#displaysel h6 {
		padding: 0 5px 0 8px;
		
}
#ccomments {
 	clear: both;
 	height: 100px;
 	
 }
#ncname {
	clear: both;
		
}

#ncddate {
	width: 100%;	
}

#ncloc {
	clear: both;
}

#getlott {
	float:right;
	margin:	0 0 0 5px; 
	
}

#checklist {
	height: 400px;
}

#getlotbutton {
	clear: both;
}

#innerwrap {
    padding: 10px 20px 10px 20px;
    background: #fff;
    border-radius: 26px;
    margin-bottom: 15px;
}

#manageusers {
	margin: 30px;
}

#managecarriers {
	margin: 30px;
}

#scrollit h2 {
	padding: 10px 0 10px 10px;
}
.settle {
overflow:scroll;
height:100%;
 }
 
.form-main .inner-wrap .dt{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 60%;
    float: left;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.form-main .inner-wrap .tns{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 38%;
    float: right;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.form-contract .inner-wrap .dt{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 60%;
    float: left;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.form-contract .inner-wrap .tns{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 38%;
    float: right;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.form-main .inner-wrap .zipp{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 38%;
    float: left;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}
.form-main .inner-wrap .phn{
	display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 60%;
    float: left;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius:6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.checkbox-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures space between text and checkbox */
    font-size: 18px; /* Larger font */
    font-weight: 600;
    background: #f8f9fa;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: background 0.3s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
    width: 200px; /* Fixed width for consistency */
    box-sizing: border-box; /* Ensures padding is included in the width */
}

.checkbox-label:hover {
    background: #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkbox-label span {
    flex: 1; /* Ensures text takes up available space */
    text-align: left;
    white-space: nowrap; /* Prevent text from wrapping */
    margin-right: 10px; /* Adds space between text and checkbox */
}

.cat_checkbox {
    flex-shrink: 0; /* Prevent checkbox from shrinking */
    width: 18px;
    height: 18px;
    margin-left: auto; /* Pushes checkbox to the far right */
}

.manage-users#main {
  height: auto;      /* let content decide the height */
  min-height: 0; /* optional: still fill the viewport if very short */
}
.user-maint .button-section {
    display: flex;
    justify-content: space-between;  /* left group on far left, right group on far right */
    align-items: center;
    padding: 10px 20px;              /* <-- gives space left and right */
    margin-top: 15px;
    width: 100%;
    box-sizing: border-box;          /* ensures padding is respected */
}

.user-maint .button-left,
.user-maint .button-right {
    display: flex;
    gap: 10px;  /* spacing between buttons in each group */
}


.manage-users .manage-users-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  overflow: hidden;
}

.manage-users .page-title {
  text-align: center;
  margin: 20px 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
}

.manage-users .table-wrapper {
  overflow-x: auto;
  max-height: 600px; /* optional: add scrollable area */
}

/* Table */
.manage-users .user-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 1rem;
}

/* Sticky header */
.manage-users .user-table thead th {
  position: sticky;
  top: 0;
  z-index: 2; /* stay above rows */
  background-color: #1f2937;
  color: #fff;
  padding: 14px 16px;
  font-weight: 600;
  text-align: left;
}

.manage-users .user-table thead th:first-child {
  border-top-left-radius: 10px;
  padding-left: 24px; /* extra padding for Username */
}
.manage-users .user-table thead th:last-child {
  border-top-right-radius: 10px;
}

/* Table body */
.manage-users .user-table td {
  background-color: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.manage-users .user-table tr:nth-child(even) td {
  background-color: #f9fafb;
}

.manage-users .user-table td:first-child {
  padding-left: 24px; /* match header padding for Username */
}

.manage-users .user-table td.actions-cell {
  text-align: right;
  white-space: nowrap;
}

/* Action buttons */
.manage-users .action-btn {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
  margin-left: 4px;
}

.manage-users .edit-btn {
  background: #574f4f;
  color: #fff;
}
.manage-users .edit-btn:hover {
  background: #998f8f;
}

.manage-users .delete-btn {
  background: #5b0303;
  color: #fff;
}
.manage-users .delete-btn:hover {
  background: #dc2626;
}

.manage-users .button-section {
  display: flex;
  justify-content: flex-end;   /* 👈 align buttons to right side */
  gap: 10px;                   /* spacing between buttons */
  margin-top: 20px;
  width: 720px;
}

.manage-users .btn {
  display: inline-flex;
  align-items: center;          /* 👈 vertical centering of text */
  justify-content: center;
  height: 40px;                 /* 👈 consistent height */
  padding: 0 18px;              /* left/right padding only */
  border: none;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

/* Primary (New User) */
.manage-users .btn.primary {
  background-color: #5b0303;
  color: #fff;
  width: 115px;
  margin-right: 60px;
}

.manage-users .btn.primary:hover {
  background-color: #6b3333;
  transform: scale(1.05);
}

/* Secondary (Close) */
.manage-users .btn.secondary {
  background-color: #5b0303;
  color: #fff;
  width: 115px;
}

.manage-users .btn.secondary:hover {
  background-color: #6b3333;
  transform: scale(1.05);
}
.manage-users .sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: #fff;
  padding: 12px;
  text-align: right;
  border-top: 1px solid #ddd;
}
/*   Tom Select dropdown   */
/* Make Tom Select match native select exactly */
.ts-wrapper {
    display: block;
    width: 100%;
    z-index: 50;
}

.ts-wrapper .ts-control {
    background-color: rgb(233, 233, 237);
    color: -moz-ComboboxText;
    border: 2px inset ButtonBorder;
    border-radius: 0.2em;
    box-shadow: none;
    height: 30px;
    min-height: 30px;
    font-size: 18px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    flex-wrap: nowrap;
}

/* Selected item text — centered, fills space */
.ts-wrapper .ts-control .item {
    flex: 1;
    text-align: center;
}

/* Search input — collapse when item is selected */
.ts-wrapper .ts-control input {
    font-size: 18px;
    text-align: center;
    background-color: transparent;
    color: -moz-ComboboxText;
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    flex: 0;
}

/* Search input — expand when nothing selected (placeholder visible) */
.ts-wrapper:not(.has-items) .ts-control input {
    width: auto !important;
    min-width: 0 !important;
    flex: 1;
    text-align: center;
}

.ts-dropdown {
    border-radius: 0.2em;
    border: 2px inset ButtonBorder;
    font-size: 18px;
    text-align: left;        /* ← list aligns left */
    background-color: rgb(233, 233, 237);
    color: -moz-ComboboxText;
    z-index: 51;
}

.ts-dropdown .option {
    font-size: 18px;
    text-align: left;        /* ← list items align left */
    padding: 3px 8px;
    color: -moz-ComboboxText;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
    background-color: #0078d7;
    color: white;
}

.ts-dropdown .option.selected {
    background-color: #cce8ff;
    color: -moz-ComboboxText;
}}