     /*///// Style //////////////////////////////////////////////////////////////////////////////////////////////////120
    //
   //  GJT Mission Control Dashboard
  //  ~Version 2.8 2024-09-30
 //  Clayton Shannon
*/

:root {

  /* Jabil branding colors */
  --navy: #002b49;
  --blue: #003d6b;
  --oldblue: #005288;
  --mediumblue: #0164a1;
  --lightblue: #0990cf;
  --skyblue: #15bef0;
  --darkgrey: #60605b;
  --mediumgrey: #939598;
  --lightgrey: #bcbec0;
  --backgroundgrey: #f1f1f2;
  --limegreen: #84bd00;
  --green: #008651;
  --orange: #dc582a;
  --purple: #702f8a;
  --red: #cb333b;
  --goldenyellow: #ffc000;
  --springgreen: #669933;


/* halfmoon stuff */

  --white-bg-color: #ffffff;

  --dark-color: var(--dark-color-dark);
  --dark-color-light: var(--mediumgrey);
  --dark-color-dark: #111417;

  /* Gray colors */
  
  --gray-color: var(--mediumgrey);
  --gray-color-light: var(--backgroundgrey);
  --gray-color-very-light: #f7f7f7;
  --gray-color-dark: var(--darkgrey);
  --gray-color-very-dark: #47494d;

  /* Primary colors */
  
  --primary-color: var(--mediumblue); 
  --primary-color-light: var(--lightblue);
  --primary-color-very-light: var(--skyblue);
  --primary-color-dark: var(--blue);
  --primary-color-very-dark: var(--navy);
  --primary-box-shadow-color: var(--lightblue);
  --primary-box-shadow-color-darker: var(--blue);
  --text-color-on-primary-color-bg: var(--white-bg-color);

  /* Success colors */

  --success-color: var(--springgreen);
  --success-color-light: var(--limegreen);
  --success-color-very-light: var(--limegreen);
  --success-color-dark: var(--green);
  --success-color-very-dark: var(--green-color-very-dark);
  --success-box-shadow-color: var(--springgreen);
  --success-box-shadow-color-darker: var(--green);
  --text-color-on-success-color-bg: black;

  /* Secondary colors */

  --secondary-color: var(--goldenyellow);
  --secondary-color-light: var(--yellow-color-light);
  --secondary-color-very-light: var(--yellow-color-very-light);
  --secondary-color-dark: var(--yellow-color-dark);
  --secondary-color-very-dark: var(--orange);
  --secondary-box-shadow-color: var(--orange);
  --secondary-box-shadow-color-darker: var(--orange);
  --text-color-on-secondary-color-bg: black;

  /* Danger colors */

  --danger-color: var(--red);
  --danger-color-light: var(--red-color-light);
  --danger-color-very-light: var(--orange);
  --danger-color-dark: var(--red-color-dark);
  --danger-color-very-dark: var(--red-color-very-dark);
  --danger-box-shadow-color: var(--red);
  --danger-box-shadow-color-darker: var(--red-box-shadow-color-darker);
  --text-color-on-danger-color-bg: var(--white-bg-color);

  /* modals */

  --modal-content-width: var(75%) !important;

}

/* HalfMoon Overrides */
.btn.disabled,
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    filter: saturate(40%);
}
.page-wrapper.with-transitions.with-sidebar .content-wrapper, .page-wrapper.with-transitions.with-sidebar[data-sidebar-type~="full-height"] > .navbar:not(.navbar-fixed-bottom), .page-wrapper.with-transitions.with-sidebar[data-sidebar-type~="full-height"] > .navbar.navbar-fixed-bottom {
  -webkit-transition: unset;
  transition: unset;
}
.navbar-brand {
  text-wrap: nowrap;
}

/* HalfMoon Extensions */
/* Print Media Styles */
@media print {

  #gl-layout-container {
    left: 0;
  }


  /* Hide elements that shouldn't be printed */
  .print-hidden {
    display: none !important;
  }

  /* Ensure headers and footers are styled appropriately */
  .print-header {
    font-size: 18pt;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
  }

  .print-footer {
    font-size: 12pt;
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #000;
    padding-top: 10px;
  }

  /* Ensure that body text is easy to read */
  .print-body-text {
    font-size: 14pt;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  /* Style for tables to ensure they are clearly visible */
  .print-table {
    width: 100%;
    border-collapse: collapse;
  }

  .print-table th,
  .print-table td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
  }

  /* Remove background colors that may not print well */
  .print-no-bg {
    background-color: transparent !important;
    color: #000 !important;
  }

  /* Ensure images fit within page margins */
  .print-img-responsive {
    max-width: 100%;
    height: auto;
  }

  /* Adjust padding and margins for better print layout */
  .print-no-margin {
    margin: 0 !important;
  }

  .print-no-padding {
    padding: 0 !important;
  }

  /* Adjust the display of elements for better print layout */
  .print-inline {
    display: inline-block !important;
  }

  /* Define a style for printing links (e.g., showing URLs) */
  .print-link::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #000;
  }
  .print-fixed-full {
    top: 0;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 9999;
  }
}



/* begin normal CSS */

body {
  background-color:#F2F1F1;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}


iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: grey;
}

body.development::before {
  content: "DEVELOPMENT INSTANCE";
  font-size: 12px;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 13px;
  background-color: var(--red);
  z-index: 9999;
  font-family: monospace;
  text-align: top;
  text-align: center;
  color: white;
  font-weight: bold;
  margin-top: -5px;
}

/* Role Based Element Visibility -- RBEV */
body.RBEV-planner #EmployeeName {
  color:var(--red);
}
body.RBEV-planner.dark-mode #EmployeeName {
  color:var(--red);
}

/* use CSS to hide the "RBEV-planner-only" classed elements */
body:not(.RBEV-planner) .RBEV-planner-only {
    display: none;
}
.RBEV-planner-only {
  color:var(--red) !important;
}
.RBEV-planner-only:hover {
/*  background-color: rgba(200, 104, 20, 0.20);*/
}
/*dark mode*/
body.dark-mode .RBEV-planner-only {
  color:var(--red) !important;
}
body.dark-mode .RBEV-planner-only:hover {
/*  background-color: rgba(200, 104, 20, 0.20);*/
}


#KPI_Table .table td{
  padding: 1px;
}

.dark-mode-on {
  display:none;
}
body.dark-mode .dark-mode-on {
  display:block;
}
body.dark-mode .dark-mode-off {
  display:none;
}

.plantLayout-zoneActive {
  fill: var(--navy);
}
.plantLayout-zoneActive:hover {
  fill: var(--lightblue);
}
.plantLayout-zoneInactive {
  fill: var(--darkgrey);
}
.plantLayout-zoneInactive:hover {
  fill: var(--darkgrey);
}

#toolPathSimulator {
  height:100%;
}

#containerift, #containerift iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
}

#timePostFormContainer {
  padding: 2em;
}

#timePostForm #operation option.confirmed {
  color: var(--mediumblue);
}
#timePostForm #operation option.active {
   color: var(--orange); 
}
.dark-mode #timePostForm #operation option.active {
   color: var(--secondary-color-light); 
}

#timePostForm #operation option.available {
  
}

#timePostForm input {
  padding: .5em;
  font-size: 1.5em;
}

.timecolon {
  padding: 2px;
  padding-top:5px;
  font-weight: bold;
}

.coming-soon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(79, 70, 70, 0.71);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
}

#workcenter-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto; /* Allows columns to adjust in size based on content */
}

#workcenter-table th {
  background-color: #004f2d;
  color: white;
  padding: 10px;
  text-align: left;
}

#workcenter-table td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
#workcenter-table tr:not(:first-child) {
  cursor: pointer;
}
#workcenter-table tr:first-child {
  color: white;
}
#workcenter-table tr:nth-child(even) {
  background-color: var(--lightgrey);
}
#workcenter-table tr:nth-child(odd) {
  background-color: var(--backgroundgrey);
}

.dark-mode #workcenter-table tr:nth-child(even) {
  background-color: #47494d82;
}
.dark-mode #workcenter-table tr:nth-child(odd) {
  background-color: #3c3f4454;
}
.dark-mode #workcenter-table td {
  color: white !important;
}

#workcenter-table tr:not(:first-child) td:nth-child(2) {
  font-weight: bold !important;
}
#workcenter-table tr:first-child {
  background-color: var(--gray-color-dark) !important;
}
#workcenter-table tr:first-child td {
  font-weight: bold !important;
}
#workcenter-table tbody tr:not(:first-child):hover td:first-child {
  background-color: var(--secondary-color) !important;
  color: black !important;
}
#workcenter-table tbody tr:not(:first-child):hover td:nth-child(2) {
/*  color: var(--primary-color) !important;*/
}
.dark-mode #workcenter-table tbody tr:not(:first-child):hover td:nth-child(2) {
  /* color: var(--skyblue) !important; */
}

#workcenter-table th, #workcenter-table td {
  font-size: 16px;
}

#workcenter-table th:first-child, #workcenter-table td:first-child {
  background-color: var(--gray-color-dark);
  width: 4em;
  text-align: center;
  color: white;
  font-weight: bold;
}

#workcenter-table tr.table-primary td:not(:first-child){
  color: var(--primary-color);
}
#workcenter-table tr.table-primary td:first-child{
  background-color: var(--primary-color) !important;
}
#workcenter-table td.Danger {
  color: var(--danger-color) !important;
}

/* Responsive container */
.workcenter-table-container {
  overflow-x: auto; /* Adds horizontal scrolling if the table exceeds the container width */
}

.autocomplete__container {
  position: relative;
  display: inline-block;
  margin-top: "0.8rem";
  width: 100%;
  max-width: 200px;
}

.autocomplete__results.visible {
  visibility: visible;
}

.autocomplete__input {
  display: block;
  width: 100%;
}

.autocomplete__input:focus {
  border-color: hsl(221, 61%, 40%);
}

.autocomplete__dropdown-arrow {
  position: absolute;
  right: 0;
  top: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  height: 100%;
  transition: transform 0.2s linear;
}

.autocomplete__dropdown-arrow.expanded {
  transform: rotate(-180deg);
}

.autocomplete__results {
  visibility: hidden;
  position: absolute;
  background: white;
  top: 100%;
  margin-top: 0;
  width: 100%;
  overflow-y: auto;
  border: 1px solid #999;
  padding: 0;
  max-height: 200px;
}

.autocomplete__results > li {
  list-style: none;
  padding: 0.4rem 1rem;
  cursor: pointer;
}

.autocomplete__results > li:hover {
  background: yellow;
}

.autocomplete__results > li:focus {
  background: red;
}


#Home {
  width: 100%; /* Make the container span the full width of its parent */
  height: auto; /* Let the height adjust based on the content */
}

#Home svg {
  max-width: 100%; /* Make sure the SVG doesn't exceed the width of the container */
  height: auto; /* Let the height adjust based on the width */
}


/* Golden Layout Fixes/tweaks */
#gl-layout-container {
  overflow: none;
}
.lm_header .lm_tab {
  box-shadow: none !important;
  padding-left: 1em !important;
  padding-right: 2em !important;
  padding-bottom: 2px !important;
}
.lm_header .lm_tab.lm_active {
  padding-bottom: 3px !important;
  font-weight: bold !important;
}
.lm_content {
  overflow: scroll;
}
/* disable controls */
li.lm_popout, li.lm_maximise {
  display: none;
}
