html,
body {
  background-color: #FFFFFF; /* #060A13; */
  color: #000000;
}

.alert-warning {
  background-color: #D4AE41;
  color: #000000;
}

nav {
  background-color: #22674B;
}

nav a {
  color: #FFFFFF;
}

div#district-nav-dropdown {
  overflow-y: scroll;
}

table.table {
  color: #FFFFFF;
}

div.clear {
  clear: both;

}

/* option icons in tables */
a.option-img,
a.f-option-img,
form.option-img,
form.f-option-img,
div.f-option-spacer {
  display: inline-block;
  width: 26px;
  height: 26px;
  margin: 2px 5px;
  padding: 0;
  float: left;
}

a.option-img img,
a.f-option-img img,
img.option-img,
form.option-img input,
form.f-option-img input {
  display: inline-block;
  width: 100%;
  height: 100%;
}

/* meal planning calendar */
div#planning-calendar {
  background-color: #EEEEE8;
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: 5px;
}

div#planning-calendar h2 {
  text-align: center;
}

img.calendar-arrow {
  width: 50px;
  cursor: pointer;
}

div#planning-calendar-head {
  width: 100%;
}

div.planning-calendar-head-day {
  width: 20%;
  height: 30px;
  float: left;
  display: inline-block;
  text-align: center;
}

div.planning-calendar-week {
  width: 100%;
}

div.planning-calendar-day,
div.planning-calendar-day-not-main-month {
  width: 19%;
  min-height: 125px;
  float: left;
  display: inline-block;
  border: 2px outset #FFFFFF;
  border-radius: 8px;
  padding: 0 0 10px 0;
  margin: 5px .5% 5px .5%;
}

div.planning-calendar-day-not-main-month {
  color: #777;
  border: 1px solid #777;
  opacity: .6;
}
div.planning-calendar-day-not-main-month div.planning-calendar-day-meal-count-column a {
  color: #777;
}

div.planning-calendar-no-display-day {
  border: none;
  text-align: center;
  line-height: 100px;
  padding: none;
}

div.planning-calendar-day-top {
  padding: 5px 10px 2px 10px;
  background-color: #E6E6E0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

div.planning-calendar-day-top a {
  display: inline-block;
  float: left;
  width: 33%;
}

a.planning-calendar-date-number {
  font-size: 24px;
  line-height: 24px;
}

a.planning-calendar-add-meal {
  display: inline-block;
  text-align: center;
}

a.planning-calendar-missing-meal {
  text-align: right;
}

a.planning-calendar-add-meal img {
  width: 20px;
}

a.planning-calendar-missing-meal img {
  width: 20px;
}

div.planning-calendar-day-meal-count-column {
  width: 50%;
  float: left;
  padding: 20px 10px 0 10px;
  font-size: 15px;
  border-top: 1px solid #CCCCCC;
}

div.planning-calendar-day-meal-count-column a {
  display: block;
  margin: 0;
  line-height: 20px;
  color: white;
}


/* - - - - styles from mockups - - - - */

h1,
h2 {
  text-align: center;
  margin: 30px auto 20px auto;
  font-size: 38px;
  line-height: 50px;
  position: relative;   /* this lets heading icons be positioned absolutely */
}

.f-btn {
  text-align: center;
  display: inline-block;
  background-color: #4F81BD;
  color: black;
  padding: 15px 0;
  font-size: 18px;
  border: 2px solid #446791;
  border-radius: 10px;
}

.hidden {
  display: none;
}

/* - - - - - - - login - - - - - - - - */
div#admin-list input {
  margin: 0 10px;
}

img#login-logo {
  width: 35%;
  max-width: 500px;
  min-width: 125px;
}

/* - - - - - - - dashboard - - - - - - - - */
@media screen and (min-width: 768px) and (max-width: 991px) {  /* a bit of a hack; when buttons become narrow enough for two-word text to have line breaks, set the line height of one-word text to keep it centered */
  .btn-dashboard {
    height: 68px;
  }
  .btn-dashboard span {
    line-height: 48px;
  }
}

/* - - - - - - - serving - - - - - - - - */
a.served-today-meal-btn {
  padding-top: 10px;
  padding-bottom: 10px;
  display: inline-block;
}

.f-serving-incomplete-button,
div.f-serving-incomplete-button-placeholder {
  width: 30px;
  height: 30px;
  float: left;
  margin: 9px 9px 9px 0;
  padding: 0;
  display: inline-block;
  border: none;
  background-color: rgba(255, 255, 255, 0);
}

.f-serving-incomplete-button img {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

span#f-incomplete-count {
  line-height: 48px;
  display: inline-block;
}

.incomplete-button-hidden {
  visibility: hidden;
}

div#served-today-grid-input {
  display: grid;
  grid-template-columns: 60% 40%;
  width: 80%;
  margin: 10px auto;
}

div#served-today-grid-input div {
  margin: auto;
}

div#served-today-grid-input label {
  margin: 0;
}

div#served-today-grid-input input {
  display: inline-block;
  max-width: 80px;
}

div.serving-card {
  max-width: 600px;
  margin: auto;
}

div.serving-time-container {
  background-color: #FFFFFF;
  width: 75%;
  height: 40px;
  padding: 0;
  color: #495057;
  border: 1px solid #CED4DA;
  border-radius: 4px;
  display: inline-block;
  position: relative;
}

div.serving-time-container select {
  display: inline-block;
  margin: 0;
  border: none;
  border-radius: none;
}

div.serving-time-container select.serving-time-hour {
  width: 30%
}

div.serving-time-container select.serving-time-minute {
  width: 30%
}

div.serving-time-container select.serving-time-am-pm {
  width: 40%;
}

div.serving-time-container div.serving-time-separator {
  position: absolute;
  top: 0;
  left: 30%;
  height: 100%;
  width: auto;
  font-size: 20px;
  line-height: 36px;
}

@media screen and (max-width: 576px) {
  div.serving-card {
    font-size: 14px;
  }
  div.serving-time-container {
    width: 100%;
  }
  div.time-temp-header {
    display: none;
  }
}

div.compact-header { /* compact sticky header for meal serving */
  background-color: rgba(255, 255, 255, .9);
  position: fixed;
  width: 100%;
  top: 48px;
  left: 0;
  height: 48px;
  padding: 1px 10px;
  text-align: center;
  z-index: 1;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

div#serving-spacer {
  margin-bottom: 50px;
}

div.compact-header form,
div.compact-header .serving-back-button {
  float: left;
}

div.compact-header h1 {
  margin: 0;
  padding: 0;
  font-size: 18px;
  display: inline-block;
  line-height: 44px;
}

div.compact-header img#ajax-save-button,
div.compact-header img#save-button {
  float: right;
  margin: 0 10px;
  width: 44px;
  cursor: pointer;
}

div.compact-header a.substitution-link {
  float: right;
  margin: 0;
  padding: 0;
}

div.compact-header a.substitution-link img {
  height: 44px;
}

div.compact-header .right-side {
  float: right;
}

input.img-save-btn {
  width: 50px;
}

input.img-add-btn {
  display: inline-block;
  width: 40px;
}

.save-btn-heading {
  height: 50px;
  position: relative;
  margin: 20px 0;
}

.save-btn-heading h2 {
  margin: 0;
  padding: 0;
  width: auto;
  line-height: 50px;
}

.save-btn-heading input {
  position: absolute;
  right: 10px;
  top: 0;
}

header.title-back-container {
  position: relative;
}

a.header-back-button {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}

a.header-add-button {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
}

input.readonly-input {
  background-color: rgba(0,0,0,0);
  border: none;
  padding: 0;
}

/* - - - - - - - meal component detail - - - - - - - - */
table#f-meal-component-detail-table {
  margin: auto;
}

table#f-meal-component-detail-table td,
table#f-meal-component-detail-table th {
  padding: 5px 10px;
}

button.f-meal-component-detail-menu-item-btn {
  width: 300px;
  padding: 5px 0;
}


tr.f-meal-component-detail-dropdown {
  text-align: center;
}

div.f-meal-component-detail-dropdown-column {
  display: inline-block;
  text-align: left;
  margin: 10px 20px;
}

span.f-meal-component-detail-data {
  text-decoration: underline;
  font-weight: bold;
}

input.f-meal-component-detail-form-btn {
  padding: 5px 10px;
}

div.f-meal-component-detail-auto-add {
  border: 2px solid white;
  max-width: 480px;
  margin: 10px auto;
  padding: 5px 15px;
  text-align: left;
}

span.f-meal-component-detail-auto-add-option {
  display: inline-block;
  width: 86px;
}

th.ingredient-table-heading-border {
  border-bottom: 1px solid black !important;
}

img.delete-ingredient,
img.delete-leftover,
img.delete-button,
a.edit-ingredient img,
img.add-row {
  width: 30px;
  cursor: pointer;
}

input.ingredient-amount {
  width: 80px;
}

a#ingredient-modal-button {
  line-height: 38px;
}

span.ingredient-detail-item-number {
  float: left;
  display: inline-block;
  line-height: 19px;
}

span.ingredient-detail-purchase-unit {
  float: right;
  display: inline-block;
  line-height: 19px;
}

span.ingredient-detail-name {
  display: block;
  clear: both;
  line-height: 19px;
}

.flagged-empty {
  background-color: #d4ae41;
}

ul#quick-search-results {
  list-style-type: none;
  text-indent: none;
  margin: 0;
  padding: 0;
}

ul#quick-search-results li {
  margin: 10px 0;
}

ul#quick-search-results img {
  height: 26px;
}

div#menu-item-accordion,
div#menu-item-form-container,
header#menu-item-index-header {
  max-width: 930px;
  margin: auto;
}

div#menu-item-search-row {
  text-align: center;
}

form#menu-item-search-form {
  width: 100%;
}

div#auto-add-form-group {
  border: 2px solid #000000;
}

input#name-search-button,
input#filter-name,
button#heading-filters {
  display: inline-block;
  margin: 5px 5px;
  width: auto;
}

input#name-search-button {
  width: 10%;
  min-width: 70px;
  max-width: 100px;
  padding-left: none;
  padding-right: none;
}

input#filter-name {
  width: 50%;
  max-width: 500px;
}

button#heading-filters {

}

@media screen and (max-width: 992px) {
  div#menu-item-search-row {
    text-align: left;
  }

  input#name-search-button {
    width: 20%;
    min-width: 70px;
    max-width: none;
  }

  input#filter-name {
    width: 65%;
    max-width: none;
  }

  button#heading-filters {
    display: block;
  }
}


/* - - - - - - - auto add checkmarks - - - - - - - - */
.f-check {
  font-size: 24px;
  color: green;
}

/* - - - - - - - edit planned meal - - - - - - - - */
input.edit-meal-number {
  max-width: 100px;
}

/* - - - - - - - css table styles - - - - - - - - */
/* .css-table {
  display: table;
}

.css-table-header {
  display: table-header-group;
  font-weight: bold;
  background-color: rgb(191, 191, 191);
}

.css-table-body {
  display: table-row-group;
}

.css-table-row {
  display: table-row;
}

.css-table-header div,
.css-table-row div {
  display: table-cell;
  padding: 0 6px;
}

.css-table-header div {
  text-align: center;
  border: 1px solid rgb(255, 255, 255);
} */

.strikethrough {
  text-decoration: line-through;
}

.undo-delete-button {
  height: 35px;
}

/* - - - - - - - grid forms - - - - - - - - */
div.grid-form-top {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 10px 20px;
  width: auto;
  margin: 50px auto 0 auto;
}

div.grid-form-top div.grid-form-top-left {
  text-align: right;
}

div.grid-form-check {
  display: inline-block;
  margin: 0 20px 0 0;
}

div.grid-form-top input[type=text],
div.grid-form-top input[type=password] {
  max-width: 200px;
}

div.grid-form-top input[type=date] {
  max-width: 150px;
  display: inline-block;
}

div.grid-form-top input.grid-form-input-small {
  max-width: 100px;
}
div.grid-form-top input.grid-form-input-large, {
  max-width: 250px;
}
div.grid-form-top input.grid-form-input-x-large {
  max-width: 400px;
}

div.grid-form-top select {
  max-width: 150px;
}

div.grid-form-top select.grid-form-select-large {
  max-width: 200px;
}

div.grid-form-sites-heading {
  text-align: center;
  margin: 20px auto;
  font-weight: bold;
}

div.grid-form-site-list {
  display: grid;
  /* grid-template-columns: auto auto auto; */
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 5px 20px;
  width: max-content;
  margin: 0 auto;
}

div.grid-form-site-list div {
  align-content: center;
}

.grid-form-table {
  display: grid;
  grid-template-columns: 90px 9fr 4fr 50px;
  grid-gap: 10px;
  max-width: 600px;
  margin: 0 auto 10px auto;
}

.grid-form-table-align-right {
  padding: 3px 10px 0 0;
  text-align: right;
}

div.auto-add-grid-container {

}

div.auto-add-grid-meal-types,
div.auto-add-grid-checkboxes {
  display: flex;
  width: 100%;
}

div.auto-add-grid-meal-types span,
div.auto-add-grid-checkboxes input {
  flex: 1;
}

div.date-row {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  width: 300px;
}

div#duplication-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background-color: rgba(255, 255, 255, .95);
}

form.district-list-grid {
  display: grid;
  grid-template-columns: 10% 15% 25% 15% 30%;
  grid-column-gap: 10px;
  grid-row-gap: 5px;
}

form.district-list-grid * {
  display: inline-block;
}

form.district-list-grid label,
form.district-list-grid *:nth-child(5n+1) {
  text-align: right;
}

form.district-list-grid select {
  max-width: 200px;
}

label.grid-vertical-center-label,
.grid-vertical-center {
  margin-top: 6px;
}

table#ordering-report-table {
  border: none;
  max-width: 100%;
  max-height: 500px;
  display: block;
  overflow-x: scroll;
  overflow-y: auto;
}

table#ordering-report-table tr {
  border: none;
}

table#ordering-report-table th {
  background-color: #BBB;
  padding: 4px 7px;
}

table#ordering-report-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
}

table#ordering-report-table thead th {
  border: none;
  border-right: 1px solid #F6F5F0;
}

table#ordering-report-table tbody th {
  font-weight: 400 !important;
  min-width: 200px !important;
  vertical-align: middle;
  position: relative;
}

table#ordering-report-table tbody td {
  vertical-align: middle;
  background-color: #DDD;
  padding: 4px 7px;
}

table#ordering-report-table thead tr:first-child th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  vertical-align: middle;
  background-color: #A2A2A2;
}

table#ordering-report-table tbody th {
  position: sticky;
  left: 0;
  z-index: 0;
}

table#ordering-report-table tbody td,
table#ordering-report-table tbody th {
  border-right: 1px solid #F6F5F0;
  border-bottom: 1px solid #F6F5F0;
}

table#ordering-report-table input {
  min-width: 90px;
}

/* - - - - - - - production record report screen and print - - - - - - - - */
div.recipe-report-page table {
  margin: 0 auto 10px auto !important;
}

div.recipe-report-heading {
  text-align: center;
  margin: 0 0 5px 0;
}
div.recipe-report-heading div {
  display: inline;
  margin: 0 50px;
}

div.production-record-report-page {
  font-family: sans-serif;
  background-color: #FFFFFF;
  color: #000000;
  width: 11in;
  page-break-after: always;
  margin: .2in auto;
}

h1.report-title {
  font-size: 30px;
  margin: 0;
  padding: 0;
  color: #000000;
  font-family: sans-serif;
}

p.report-subheading {
  display: block;
  text-align: center;
  font-size: 20px;
  margin: 0 0 15px 0;
  padding: 0;
  color: #000000;
  font-family: sans-serif;
}

div.production-record-report-page div.row {
  width: 70%;
  margin: .25in 0 0 10%;
}

div.production-record-report-page div.row div.col-3 {
  width: 33.3%;
  display: inline-block;
}

div.production-record-report-page div.row div.col-4 {
  width: 25%;
  display: inline-block;
  font-size: 11px;
}

div.production-record-report-page table {
  color: #000000;
  border-collapse: collapse;
  font-size: 11px;
  line-height: 12px;
  margin: 0 auto 10px auto;
  text-align: center;
}

div.production-record-report-page table tr td,
div.production-record-report-page table tr th {
  page-break-inside: avoid;
}

div.production-record-report-page table th {
  background-color: #CCCCCC;
  border-right: 2px solid #E2E2E2;
  border-left: 2px solid #E2E2E2;
  padding: 2px;
}

div.production-record-report-page table td.production-record-report-meal-heading {
  border: 1px solid #000000;
  padding: 2px 10px;
  border-bottom: 2px solid #000000;
  background-color: #FFFFFF;
}

div.production-record-report-page table td {
  padding: 5px;
}

div.production-record-report-page table tr:nth-child(even) td {
  background-color: #E2E2E2 !important;
  border-right: 2px solid #FFFFFF !important;
  border-left: 2px solid #FFFFFF !important;
}

div.production-record-report-page table tr:nth-child(odd) td {
  border-right: 2px solid #E2E2E2 !important;
  border-left: 2px solid #E2E2E2 !important;
}

/* div.recipe-report-page table tr:nth-child(even) td {
  background-color: #FFFFFF !important;
} */

div.production-record-report-page table.production-record-report-legend tr:nth-child(even) td {
  background-color: #FFFFFF !important;
  border-right: 2px solid #E2E2E2 !important;
  border-left: 2px solid #E2E2E2 !important;
}

div.production-record-report-page table.production-record-report-legend td {
  padding: 5px 10px;
}

div.production-record-report-page table.production-record-report-legend tr td.legend-signature,
div.production-record-report-page table.production-record-report-legend tr th.legend-signature {
  border: none !important;
  background-color: #FFFFFF !important;
}

div.signature-line,
div.date-line,
div.title-line {
  display: inline-block;
  border-top: 2px solid black;
  margin: 0 0 0 25px;
}
div.signature-line,
div.title-line {
  width: 300px;
}
div.date-line {
  width: 150px;
}

div.legend-meal-info {
  margin: 0 0 0 25px;
}

@media print {
  @page {
    size: landscape;
    margin: .25in .25in .4in .25in;
  }

  html,
  body {
    background-color: #FFFFFF !important;
    print-color-adjust: exact;
  }

  .no-print {
    display: none;
  }

  div.production-record-report-page {
    width: 100%;
    page-break-after: always;
    padding: none;
  }

  div.production-record-report-page table th {
    background-color: #CCCCCC;
  }

  div.production-record-report-page table tbody,
  div.production-record-report-page table tbody tr,
  div.production-record-report-page table tbody td {

  }

  div.production-record-report-page table th,
  div.production-record-report-page table td {
    border-collapse: collapse !important;
    border-right: none !important;
    border-left: none !important;
    border: 1px solid #000000 !important;
  }

  div.production-record-report-page table {
    border-collapse: collapse !important;
    border: 1px solid #000000 !important;
  }

  div.production-record-report-page table tr td:nth-child(1) {
    border-left: 1px solid #000000 !important;
  }
  div.production-record-report-page table tr td:nth-last-child(1) {
    border-right: 1px solid #000000 !important;
  }

  div.production-record-report-page table.production-record-report-legend {
    border: none !important;
    margin: 35px 0 0 0;
    text-align: left;
    page-break-inside: avoid;
  }

  div.production-record-report-page table.production-record-report-legend thead,
  div.production-record-report-page table.production-record-report-legend th {
    text-align: center;
  }

  div.production-record-report-page table.production-record-report-legend td {
    border: none !important;
    padding: 2px 3px !important;
  }
  div.production-record-report-page table.production-record-report-legend tr td,
  div.production-record-report-page table.production-record-report-legend tr:nth-child(even) td,
  div.production-record-report-page table.production-record-report-legend tr td.internal-borders {
    border-left: 1px solid #000000 !important;
    border-right: 1px solid #000000 !important;
  }

  div.production-record-report-page table.production-record-report-legend tr td.legend-signature,
  div.production-record-report-page table.production-record-report-legend tr th.legend-signature {
    border: none !important;
    text-align: left !important;
  }

  div.production-record-report-page table.production-record-report-legend td.production-record-report-meal-heading {
    padding: 2px 10px !important;
    border-bottom: 2px solid #000000 !important;
  }

  div.production-record-report-page table.production-record-report-legend .top-border {
    border-top: 2px solid #000000 !important;
  }
  div.production-record-report-page table.production-record-report-legend .bottom-border {
    border-bottom: 2px solid #000000 !important;
  }
  div.production-record-report-page table.production-record-report-legend tr td.left-border,
  div.production-record-report-page table.production-record-report-legend tr th.left-border {
    border-left: 2px solid #000000 !important;
  }
  div.production-record-report-page table.production-record-report-legend tr td.right-border,
  div.production-record-report-page table.production-record-report-legend tr th.right-border {
    border-right: 2px solid #000000 !important;
  }
}
