/* ---------------------------------------------------------------------------
   Site overrides -- loaded AFTER material-dashboard.css so these win.
   Never edit material-dashboard.css directly; it is vendor and versioned.
   --------------------------------------------------------------------------- */


/* --- Admin menu: collapsible groups ---------------------------------------
   The group headers are .dropdown-item anchors rather than .dropdown-header,
   so they inherit item padding, hover and keyboard focus. Weight them so they
   read as group labels instead of destinations.
   --------------------------------------------------------------------------- */

.navbar .dropdown-menu .menu-group-toggle {
  font-weight: 500;
  color: #00838F;
  cursor: pointer;
}

.navbar .dropdown-menu .menu-group-toggle .caret {
  margin-left: auto;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 150ms linear;
}

/* .dropdown-item is already display:flex; align-items:center, so margin-left
   auto pushes the caret to the right edge. Rotation on open comes free from
   material-dashboard.css a[data-toggle="collapse"][aria-expanded="true"] .caret */

/* children of a collapsed group read as belonging to their header */
.navbar .dropdown-menu .collapse .dropdown-item,
.navbar .dropdown-menu .collapsing .dropdown-item {
  padding-left: 2.75rem;
}

@media all and (max-width: 991px) {
  /* the collapsed navbar adds margin-left:1.5rem to .dropdown-item */
  .navbar .dropdown-menu .collapse .dropdown-item,
  .navbar .dropdown-menu .collapsing .dropdown-item {
    padding-left: 2rem;
  }
}


/* --- Correct Laser Assignment --------------------------------------------- */

.correction-instructions {
  margin: 0;
  padding-left: 20px;
}

.correction-instructions li {
  margin-bottom: 7px;
  font-size: 14px;
}

.correction-hint {
  font-size: 12px;
  margin: 6px 0 0;
}

.correction-warning {
  border-left: 4px solid #f44336;
  background-color: #ffebee;
}

.correction-warning p {
  font-size: 14px;
  margin-bottom: 9px;
}

.correction-mode {
  display: block;
  border: 1px solid #d2d2d2;
  border-radius: 4px;
  padding: 14px 16px;
  cursor: pointer;
  width: 100%;
  margin: 0;
}

.correction-mode:hover {
  border-color: #00bcd4;
}

.correction-mode.selected {
  border-color: #00bcd4;
  background-color: #e4f6f8;
  box-shadow: inset 0 0 0 1px #00bcd4;
}

.correction-mode span {
  font-size: 12.5px;
}

.correction-sn {
  font-family: "Roboto Mono", "Courier New", monospace;
  font-size: 13px;
}

.correction-nowrap {
  white-space: nowrap;
}

.correction-reason {
  min-height: 66px;
  border: 1px solid #d2d2d2;
  border-radius: 3px;
  padding: 8px 10px;
}

.correction-reason-cell {
  font-size: 12.5px;
  max-width: 320px;
}

#assignment_table tr.picked td {
  background-color: #fff8e1;
}

#assignment_table tr.picked td:first-child {
  box-shadow: inset 3px 0 0 #ff9800;
}

.correction-chip {
  display: inline-block;
  border-radius: 11px;
  padding: 2px 10px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.correction-chip.assigned { background-color: #e0f7fa; color: #00838f; }
.correction-chip.recv     { background-color: #e8f5e9; color: #2e7d32; }
.correction-chip.removed  { background-color: #ffebee; color: #c62828; }

.correction-mail {
  border: 1px solid #d2d2d2;
  border-radius: 3px;
  background-color: #fafafa;
  margin-top: 12px;
  overflow: hidden;
}

.correction-mail-head {
  background-color: #f0f2f3;
  border-bottom: 1px solid #d2d2d2;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: .09em;
  color: #9a9a9a;
}

.correction-mail-body {
  padding: 12px 14px;
}

.correction-mail-label {
  font-size: 11.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-right: 12px;
}

.correction-mail-subject {
  font-family: "Roboto Mono", "Courier New", monospace;
  font-size: 12.5px;
  color: #3c4858;
}

.correction-before,
.correction-after {
  border: 1px solid #d2d2d2;
  border-radius: 4px;
  padding: 14px 16px;
  height: 100%;
}

.correction-before { background-color: #fff5f5; }
.correction-after  { background-color: #f3faf4; }

.correction-before h5 { color: #c62828; font-size: 11px; letter-spacing: .1em; margin: 0 0 10px; }
.correction-after h5  { color: #2e7d32; font-size: 11px; letter-spacing: .1em; margin: 0 0 10px; }

.correction-ba td {
  font-size: 13px;
  padding: 3px 14px 3px 0;
}

.correction-ba td:first-child {
  color: #9a9a9a;
  white-space: nowrap;
}

.correction-ba td:last-child {
  font-family: "Roboto Mono", "Courier New", monospace;
}
