:root {
  --color0: #0e60cf;
  --color1: #1e90ff;
  --color2: #54adfc;
  --color3: #9edbf9;
  --color4: #e2fcf6;
  --color5: #fffbf4;

  --color-coffee-1: rgb(202,187,160);
  --color-coffee-2: rgb(152,137,110);
}

body {
  color: #fff; 
}

button {
  cursor: pointer;
}

#page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#preheader {
  background-color: var(--color1);
}

#header {
  background-color: var(--color2);
  color: #fff;
}

#footer {
  background-color: var(--color1);
}

#footer * {
  color: #fff; 
  font-size: 0.8rem;
}

#main {
  flex: 1;
  background: #fff;
  color: #000;
}

.navbar {
  width: 100%;
  background: none !important; }
  @media (max-width: 34em) {
    .navbar {
      /*background: black !important; */
      } 
    .navbar .nav-item {
        padding: 0; 
    }
    .navbar .nav-item .nav-link {
        font-weight: normal;
        color: #fff !important; 
    }      
  }
  .navbar .navbar-toggler {
    cursor: pointer;
    outline: 0; 
  }
  .navbar .nav-link {
    text-transform: uppercase;
    font-weight: bold; 
  }
  .navbar .nav-item {
    padding: 0 1rem; 
  }

h1 {
  font-weight: bold;
  font-size: 3em; 
  color: white;
  -webkit-text-fill-color: white; /* Will override color (regardless of order) */
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: yellow;
  font-style: italic;
}

.logo-img {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
  filter: contrast(500%);
  max-height: 180px;
  padding: 0px;
  width: auto; 
}

.feature-wrapper {
  color: #000; }

.hour {
  text-align: center;
  color: white;
  vertical-align: middle;
  border: 1px solid white;
}

.ill {
  background: rgb(202,187,160);
}

.prev {
  background: rgb(83,203,245);
}

.time {
  text-transform: uppercase;
  font-weight: bold;
}

.day {
  text-transform: uppercase;
  font-weight: bold;
  background: rgb(245,245,245);
  border: 1px solid white;
  text-align: center;
  font-size: 1.5em;
  padding-top:15px;
}

#news {
  color: black !important;
}

a {
  color: rgb(83,203,245);
  text-decoration: underline;
}

a.menu {
  color: #fff !important;
  text-decoration: none;
}

#logo {
    text-shadow: 1px 1px 2px #000000;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.news {
  padding: 15px;
}

.news td {
  border: 1px solid black;
}

/* jj */
.offer-item {
  padding: 5px 10;
  background-color: var(--color5);
  border-radius: 5px;
  border-color: #ddd;
  margin: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.offer-item:hover {
  background-color: var(--color4);
}

.offer-item i {
  cursor: pointer;
}

#calendar-container {
  display: flex;
}

#calendar-container .item {
  width: 50px;
  height: 50px;
  background-color: var(--color4);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 5px;
  cursor: pointer;
}

#calendar-container .item.selected {
  background-color: var(--color3);
}

#calendar-container div.item:hover {
  background-color: var(--color3);
}

.login-component {
  background-color: var(--color4);
  padding: 10px;
  border-radius: 5px;
}

.login-component * {
  margin-bottom: 5px;
}

.login-component .title {
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
}

.order-item {
  padding: 5px 10;
  background-color: var(--color5);
  border-radius: 5px;
  display: flex;
  margin: 5px;
}

.order-item div:nth-child(1) {
  flex: 1;
  display: flex;
  align-items: center;
}

.order-item div:nth-child(2) {
  width: 80px;
}

.order-individual-item {
  padding: 5px 10;
  background-color: var(--color5);
  border-radius: 5px;
  display: flex;
  margin: 5px;
  align-items: center;
  justify-content: space-between;
}

.order-individual-item div {
  display: flex;
  align-items: center;
}

.order-individual-item div:nth-child(1) div:nth-child(1) {
  width: 200px;
}

.order-individual-item div:nth-child(2) div:nth-child(1) {
  width: 60px;
  border: 1px solid #eee;
  background-color: #f5f5f5;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  height: 37px;
}

h4 {
  font-size: 1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-top: 20px;
}

.order-summary-item {
  display: flex;
  margin: 5px;
  align-items: center;
  justify-content: space-between;
}

#modal-container {
  color: black;
}

#loader {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100vh;
  width: 100vw;
  background-color:rgba(255,255,255,0.5);
  display: none;
}

#loader div {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tile {
  background-color: var(--color4);
  padding: 15px;
  border-radius: 10px;
  margin: 10px 0px;
}

.tile div:nth-child(1) {
  font-weight: 600;
}

.tile li {
  list-style-type: none;
}

.error .error-message {
  color: red;
  font-size: 12px;
}

.error input {
  border-color: red;
}

.error select {
  border-color: red;
}

img {
  padding: 15px;
}

.canteen-buttons button {
  margin-top: 10px;
}

.coloured-table {
  margin: 15px;
}

.coloured-table td {
  padding: 5px 10px;
  background-color: red;
  border: 2px solid white;
}

.coloured-table td:nth-child(1) {
  background-color: var(--color3);
}

.coloured-table td:nth-child(2) {
  background-color: var(--color4);
  text-align: right;
}

a, .link {
  cursor: pointer;
  color: var(--color1);
  text-decoration: underline;
}

.link:hover {
  text-decoration: underline;
  color: var(--color0);
}

.intro-tile {
  background-color: var(--color2);
  border-radius: 10px;
  font-size: 2em;
  font-weight: 600;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  color: white;
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
}

.intro-tile .sub-items {
  display: none;
}

.intro-tile:hover .sub-items {
  display: block;
}

.sub-items .intro-tile {
  font-size: 0.7em;
}

.intro-tile.color-coffee {
  background-color: var(--color-coffee-1);
}

.intro-tile:hover {
  background-color: var(--color1);
}

.intro-tile.color-coffee:hover {
  background-color: var(--color-coffee-2);
}

.canteens-menu.sub-items .intro-tile {
  width: 30%;
  margin: 10px;
  font-size: 1em;
}

.canteens-menu.sub-items {
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-container {
  display: flex;
  flex-direction: column;
}

.button-container {
  display: flex;
  justify-content: flex-end;
  padding: 5px 0px;
}
.button-container button {
  min-width: 150px;
}

.main-content {
  display: flex;
}
.main-content .content {
  flex: 1;
  padding: 15px;
}
.main-content .menu{
  padding: 15px;
}

.food-title-autocomplete-options {
  position: absolute;
  bottom: 50px;
  padding: 5px;
  background-color: white;
  border: 1px solid #666;
  border-radius: 5px;
  width: 100%;
}

.food-title-autocomplete-options div {
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.food-title-autocomplete-options div:last-child {
  border-bottom: 0px;
}

.food-title-autocomplete-options div:hover {
  background-color: var(--color0);
  color: white;
}

.yellow-tile {
  background-color: var(--color5);
  padding: 15px;
  border-radius: 10px;
  margin: 10px 0px;
}

/* mobile */
@media (max-width: 768px) {
  .button-container {
    padding: 0px 0px;
  }
  .button-container button {
    width: 100%;
  }
  .main-content {
    flex-direction: column-reverse;
  }
  #calendar-container {
    flex-direction: column;
  }

  #calendar-container .item.item-arrow {
    width: 100%;
  }

  .canteens-menu.sub-items {
    flex-direction: column;
  }

  .canteens-menu.sub-items .intro-tile {
    width: 100%;
    margin: 10px;
    font-size: 1em;
  }
}