/* RESET RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@import url("https://fonts.googleapis.com/css?family=Lato:400,700&display=swap");

:root {
  --page-header-bgColor: #79a763;
  --page-header-bgColor-hover: #526c2f;
  --page-header-txtColor: #dde9f8;
  --page-header-headingColor: #2D3F25;
  --page-header-width: 220px;
  --page-content-bgColor: #f0f1f6;
  --page-content-txtColor: #171616;
  --page-content-blockColor: #fff;
  --white: #fff;
  --black: #333;
  --hovgreen: #d1e0bc;
  --red: #ec1848;
  --border-radius: 4px;
  --box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.075);
  --switch-bgLightModeColor: #87cefa;
  --switch-sunColor: gold;
  --switch-moonColor: #f4f4f4;
  --switch-bgDarkModeColor: #1f1f27;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  background: none;
  cursor: pointer;
}

/*
input {
  -webkit-appearance: none;
}*/

button,
input {
  border: none;
}

svg {
  display: block;
}

body {
  font: 16px/1.5 "Lato", sans-serif;
}


/* HEADER STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  padding-top: 20px;
  width: var(--page-header-width);
  color: var(--page-header-txtColor);
  background: var(--page-header-bgColor);
}

.page-header nav {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.logo {
  width: 5em; 
  height: 5em; 
}

.page-header .logo {
  display: block;
  max-width: 120px;
  max-height: 120px;
  margin: auto;
}

.header-container {
  display: flex;
  margin: auto;
}

.page-header .toggle-mob-menu {
  display: none;
  margin-left: 5px;
  margin-top: 25px;
  padding: 4px;
  height: fit-content;
  background: var(--page-header-bgColor-hover);
  border-radius: var(--border-radius);
}

.page-header .toggle-mob-menu svg {
  fill: var(--switch-moonColor);
  transition: transform 0.2s;
}

.page-header .customers-menu {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-top: 5px;
}

.page-header .customers-menu li:nth-last-child(2) {
  margin-bottom: 35px;
}

.page-header .customers-menu li:last-child {
  margin-top: auto;
  margin-bottom: 20px;
}

.page-header .customers-menu li > * {
  width: 100%;
  padding: 12px 15px;
}

.page-header .customers-menu .menu-heading h3 {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  margin-top: 10px;
  color: var(--page-header-headingColor);
}

.page-header .customers-menu svg {
  width: 20px;
  height: 20px;
  fill: var(--page-header-txtColor);
  margin-right: 10px;
  transition: fill 0.2s;
}

.page-header .customers-menu a,
.page-header .customers-menu button {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.page-header .customers-menu a:hover,
.page-header .customers-menu a:focus,
.page-header .customers-menu button:hover,
.page-header .customers-menu button:focus {
  background: var(--page-header-bgColor-hover);
  color: var(--hovgreen);
  outline: none;
}

.page-header .customers-menu a:hover svg,
.page-header .customers-menu a:focus svg,
.page-header .customers-menu button:hover svg,
.page-header .customers-menu button:focus svg {
  fill: var(--hovgreen);
}

.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}

/* DARK MODE SLIDER STYLE
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.switch label {
  display: grid;
  grid-template-columns: auto auto;
  grid-column-gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.switch span:first-child {
  position: relative;
  width: 50px;
  height: 26px;
  border-radius: 15px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.4);
  background: var(--switch-bgDarkModeColor);
  transition: all 0.3s;
}

.switch span:first-child::before,
.switch span:first-child::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.switch span:first-child::before {
  top: 1px;
  left: 1px;
  width: 24px;
  height: 24px;
  background: var(--white);
  z-index: 1;
  transition: transform 0.3s;
}

.switch span:first-child::after {
  top: 50%;
  right: 8px;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  background: var(--switch-sunColor);
  box-shadow: 0 0 4px 2px #ffdb1a;
}

.switch [type="checkbox"]:checked + label span:first-child {
  background: var(--switch-bgLightModeColor);
}

.switch [type="checkbox"]:focus + label span:first-child {
  box-shadow: 0 3px 5px rgba(255, 255, 255, 0.25);
}

.switch [type="checkbox"]:checked + label span:first-child::before {
  transform: translateX(24px);
}

.switch [type="checkbox"]:checked + label span:first-child::after {
  left: 12px;
  width: 15px;
  height: 15px;
  background: transparent;
  box-shadow: -2px -5px 0 var(--switch-moonColor);
  transform: translateY(-50%) rotate(-72deg);
}

/*CUSTOM VARIABLES HERE*/

.dark-mode {
  --page-header-bgColor: #2D3F25;
  --page-header-bgColor-hover: #79a763;
  --page-header-txtColor: var(--white);
  --page-header-headingColor: var(--white);
  --page-content-bgColor: #526c2f;
  --box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.25);
}

.dark-mode .page-header .customers-menu a:hover,
.dark-mode .page-header .customers-menu a:focus,
.dark-mode .page-header .customers-menu button:hover,
.dark-mode .page-header .customers-menu button:focus {
  color: var(--black);
}

.dark-mode .page-header .logo svg,
.dark-mode .page-header .customers-menu a:hover svg,
.dark-mode .page-header .customers-menu a:focus svg,
.dark-mode .page-header .customers-menu button:hover svg,
.dark-mode .page-header .customers-menu button:focus svg {
  fill: var(--black);
}

.dark-mode .switch [type="checkbox"]:focus + label span:first-child {
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
}

/* PAGE CONTENT STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.default-page-content {
  position: relative;
  left: var(--page-header-width);
  width: calc(100% - var(--page-header-width));
  min-height: 100vh;
  padding: 30px;
  color: var(--page-content-txtColor);
  background: var(--page-content-bgColor);
}

.page-content-header {
  margin-top: 5px;
  margin-bottom: 10px;
}

.search-container {
  display: flex;
  flex-basis: 0;
  flex-direction: row;
  border: 1px #ccc solid;
}

.search-container div {  
  padding: 6px;
}

.search-container input[type="text"] {
  width: 100%;
  padding: 10px 5px;
  border: 1px solid #ccc;
}

#deliveryzone {
  width: 100%;
  padding: 10px 5px;
  border: 1px solid #ccc;
}

select#deliveryzone {
  width: 100%;
  padding: 10px 5px;
  border: 1px solid #ccc;
}

select#deliveryzone {
  width: 100%;
  padding: 10px 5px;
  border: 1px solid #ccc;
}

#orderType {
  width: 100%;
  padding: 10px 5px;
  border: 1px solid #ccc;
}

#orderStatus {
  width: 100%;
  padding: 10px 5px;
  border: 1px solid #ccc;
}

.container-left {
  flex: 1
}

.container-right{
  flex: 1
}

.search-button-div {
  display: flex;
}

.customer-search-button {
  background-color: #ddd;
  border: none;
  color: black;
  padding: 15px 15px;
  text-align: center;
  margin-right: 15px;
  margin-bottom: 10px;
  border-radius: 15px;
}

.customer-search-button:hover {
  background-color: #526c2f;
  color: var(--white);
}

button#customer-search-button-left {
  float: left;
}

button#customer-search-button-right {
  float: right;
}

.display-results-container {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.display-container-table {
  border-collapse: collapse;
  margin-top: 15px;
  width: 100%;
}

.customers-table {
  border-collapse: collapse;
  margin-top: 10px;
  width: 100%;
}

.customers-table td, .customers-table th {
  border: 1px solid #ccc;
  padding: 10px;
}

.customers-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #79a763;
  color: var(--white);
}

.customers-table tr:hover {
  background-color: #ddd;
}

.orders-table {
  border-collapse: collapse;
  margin-top: 10px;
  width: 100%;
}

.orders-table td, .orders-table th {
  border: 1px solid #ccc;
  padding: 10px;
}

.orders-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  background-color: #79a763;
  color: var(--white);
}

.orders-table tr:hover {
  background-color: #ddd;
}

hr.modalHrElement {
  border: 1px solid #79a763;
  border-radius: 0.55em;
}

hr.modalHrElementLong {
  border: 2px solid #79a763;
  border-radius: 0.55em;
  margin-left: 1em;
  width: 10%;
}

hr.modalHrElementShort {
  width: 25%;
  border: 2px solid #79a763;
  border-radius: 0.55em;
}

@media screen and (max-width: 767px) {
  hr.modalHrElementShort {
    width: 85%;
  }

  hr.modalHrElementLong {
    width: 35%;
  }
}

@media screen and (max-width: 400px) {
  hr.modalHrElementShort {
    width: 45%;
  }
  
  hr.modalHrElementLong {
    width: 35%;
  }
}

.pagination {
  width: 100%;
  text-align: center;
}

/* BODY CLASSES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.mob-menu-opened .toggle-mob-menu svg {
  transform: rotate(180deg);
}

.mob-menu-opened .page-header .customers-menu {
  transform: scale(1);
  visibility: visible;
  opacity: 1;
}

@media screen and (min-width: 768px) {
  .collapsed .page-header {
    width: 40px;
  }

  .collapsed .page-header .customers-menu li > * {
    padding: 10px;
  }

  .collapsed .page-header .logo,
  .collapsed .page-header .customers-menu span,
  .collapsed .page-header .customers-menu .menu-heading {
    display: none;
  }

  .collapsed .page-header .customers-menu svg {
    margin-right: 0;
  }

  .collapsed .page-header .collapse-btn svg {
    transform: rotate(180deg);
  }

  .collapsed .default-page-content {
    left: 40px;
    width: calc(100% - 40px);
  }
}

/* MODAL CLASSES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 5000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  overflow-x: auto;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.849); /* Black w/ opacity */
  text-align: center;
}

.modalPrint {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 5000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  overflow-x: auto;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.849); /* Black w/ opacity */
  text-align: center;
}

.modalContent {
  display: inline-block;
  position: relative;
  background-color: #fefefe;
  border-radius: .25em;
  margin: 2.5% 0;
  padding: 1em;
  box-shadow: 0 0 .25em rgba(0,0,0,.5);
  animation-name: animatetop;
  animation-duration: .25s;
  text-align: left;
  min-width: 95%;
  max-width: 95%;
}

.modalContentPrint {
  display: inline-block;
  position: relative;
  background-color: #fefefe;
  border-radius: .25em;
  margin: 2.5% 0;
  padding: 1em;
  box-shadow: 0 0 .25em rgba(0,0,0,.5);
  animation-name: animatetop;
  animation-duration: .25s;
  text-align: left;
  min-width: 30%;
}

/* Add Animation */
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}

/* The Close Button */
.modalClose {
  position: relative;
  background-color: rgb(165, 0, 0);
  color: #FFF;
  font-size: 1.5em; 
  font-weight: bold;
  border-radius: 50%;
  width: 1.25em; height: 1.25em;
  line-height: 1.25em;
  text-align: center;
  float: right;
  
}  
.modalClose:hover,
.modalClose:focus {
  background-color: rgb(129, 129, 129);
  text-decoration: none;
  cursor: pointer;
}

/* MODAL - INTERIOR HTML CLASSES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.cusModalHeader h3 {
  padding-bottom: 10px;
}

.tabMenu {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

.tabMenu button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

.tabMenu button:hover {
  background-color: #ddd;
}

.tabMenu button.active {
  background-color: #ccc;
}

.cusProfileSection {
  padding-left: 5px;
  flex: 8;
}

.cusProfileSection h4 {
  padding-top: 12px;
}

.cusProfileSection p {
  padding: 0px 0px 5px;
}

.cusPaymentSection {
  overflow-x: scroll;
  padding: 0px 0px 12px;
}

#transactionTable {
  padding-top: 12px;
}

.cusModalTable {
  border: 1px solid #dddddd;
  border-collapse: collapse;
  width: 100%;
  padding-bottom: 12px;
}

.cusModalTable th, .cusModalTable td {
  border: 1px solid #dddddd;
  padding: 5px;
}

.cusModalTable th {
  background-color: #79a763;
  color: var(--white);
  text-align: center;
}

.cusModalTable td {
  text-align: center;
}

.cusModalTableAddress {
  border: 1px solid #dddddd;
  border-collapse: collapse;
  width: 100%;
  padding-bottom: 12px;
}

.cusModalTableAddress th, .cusModalTableAddress td {
  border: 1px solid #dddddd;
  padding: 5px;
}

.cusModalTableAddress th {
  background-color: #79a763;
  color: var(--white);
  text-align: center;
}

.cusModalTableAddress td {
  text-align: center;
}

.cusModalDataTable {
  border: 1px solid #dddddd;
  border-collapse: collapse;
  width: 100%;
  padding-bottom: 12px;
}

.cusModalDataTable th, .cusModalDataTable td {
  border: 1px solid #dddddd;
  padding: 5px;
}

.cusModalDataTable th {
  background-color: #79a763;
  color: var(--white);
  text-align: center;
}

.cusModalDataTable td {
  text-align: center;
}

.cusModalDataTable tr {
  display: none;
}

.cusAddressSection {
  padding: 0px 0px 12px;
  overflow-x: scroll;
}

.cusAddressSection input[type="text"] {
  display: table-cell;
  width: 100%;
  font-size: 16px;
  text-align: center;
}

.cusOrdersSection {
  padding: 0px 0px 12px;
  overflow-x: scroll;
}

.cusOrdersSection input[type=text] {
  padding: 6px;
  margin: 0px 0px 5px;
  margin-right: 5px; 
  font-size: 17px;
  border: 1px solid #ccc;
}

.custProfileContainer {
  border: 1px solid #dddddd;
  display: flex;
}

.custModalButtonArea {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.custModalButtons {
  background-color: #ddd;
  color: black;
  padding: 15px 15px;
  text-align: center;
  margin-bottom: 10px;
  border-radius: 15px;
}

.custModalButtonAreaMobile {
  padding: 12px;
  display: flex;
  justify-content: space-around;
}

.customerModalButtonAreaMobile {
  display: none;
  background-color: #ddd;
  color: black;
  padding: 15px 15px;
  text-align: center;
  margin-bottom: 10px;
  border-radius: 15px;
}

@media screen and (max-width: 399px) {
  .custModalButtonArea {
    padding: 12px 12px;
    display: none;
  }
}

@media screen and (max-width: 399px) {
  .customerModalButtonAreaMobile {
    display: flex;
  }
}

button#noConvenienceButton, #creditButton {
  background-color: #ddd;
}

button#noConvenienceButton:hover, #creditButton:hover {
  background-color: #ccc;
}

button#deleteCustomer {
  background-color: #F55A67;
  color: black;
}

button#deleteCustomer:hover {
  background-color: #e81a07;
}

.custAddressButtons {
  background-color: #ddd;
  color: black;
  padding: 10px;
  text-align: center;
  margin: 10px 0px;
  border-radius: 15px;
}

.custAddressButtons:hover {
  background-color: #ccc;
}

button#addNewAddressButton {
  float: left;
}

button#saveAddressButton{
  float: right;
}

/* MODALS FOR ORDERS PAGE 
__________________________________________________*/

.ordersTabMenu {
  overflow: hidden;
  padding-bottom: 0.25em;
  background-color: f1f1f1;
}

.ordersTabMenu button {
  background-color: var(--page-header-bgColor);
  border: 2px solid var(--page-header-border);
  float: left;
  padding: 15px;
  margin: 0.5em 0.5em 0.5em 0em;
  transition: 0.3s;
  border-radius: 0.55em;
}

.ordersTabMenu button:hover {
  background-color: var(--page-header-bgColor-hover);
  color: var(--page-content-blockColor);
}

.ordersTabMenu button.active {
  background-color: #ccc;
}

.modalContainerOrdersTable {
  border: 1px solid #ccc;
}

.modalContainerOrdersTable h4 {
  padding: 1em 1em 0em 1em;
}

.orderDispatchNotes textarea {
  padding: 0.5em;
}

.orderDeliveryDetails textarea {
  padding: 0.5em;
}

.ordersGenDetSection {
  display: flex;
  width: 100%;
  padding: 0em 1em 1em 1em; 
}

.orderGenDetLeft {
  width: 50%;
}

.orderGenDetRight {
  width: 50%;
}

.ordersModalDetailedContent {
  display: flex;
  width: 100%;
  padding: 0em 1em 1em 1em; 
}

.ordersCustDetails {
  width: 50%;
}

#ordersCustDetails {
  padding: 0.5em 0em 0em 0em
}

#ordersRestDetails {
  padding: 0.5em 0em 0em 0em
}

.ordersRestDetails {
  width: 50%;
}

.orderDispatchNotes {
  width: 100%;
  border: 1px solid #ccc;
  padding: 1em 1em 0em 1em;
}

.orderDispatchNotes h4 {
  padding-bottom: 0.5em;
}

.orderDeliveryDetails {
  width: 100%;
  border: 1px solid #ccc;
  padding: 1em 1em 0em 1em;
}

.orderDeliveryDetails p {
  padding: 0em 0em 0.5em 0em;
}

.orderContentDetails {
  width: 100%;
  border: 1px solid #ccc;
  padding: 1em;
}

.orderContentDetails h4 {
  padding-bottom: 0.5em;
}

.orderTransactionDetails {
  width: 100%;
  border: 1px solid #ccc;
  padding: 1em;
  overflow-x: auto;
}

.orderTransactionDetails h4 {
  padding-bottom: 0.5em;
}

.orderContentsDetailTable {
  border: 1px solid #dddddd;
  border-collapse: collapse;
  width: 100%;
  padding: 1em;
}

.orderContentsDetailTable th, .orderContentsDetailTable td {
  border: 1px solid #dddddd;
  padding: 5px;
}

.orderContentsDetailTable th {
  background-color: #79a763;
  color: var(--white);
  text-align: center;
}

.orderContentsDetailTable td {
  text-align: center;
}

.modalContainerOrdersTableLower {
  display: flex;
  border: 1px solid #ccc;
}

.btn-update-orderDispatchNotes {
  background-color: #ddd;
  border: none;
  color: black;
  padding: 15px 15px;
  margin-bottom: 0.5em;
  text-align: center;
  border-radius: 15px;
}

.btn-update-orderDispatchNotes:hover {
  background-color: #526c2f;
  color: var(--white);
}

#orderModalInputBoxes {
  display: table-cell;
  font-size: 16px;
  text-align: center;
  border: 1px solid #ccc;
  padding: 0.25em;
}

.delivDetAddresses {
  display: flex;
}

.orderDetAdd {
  flex-basis: 0;
  flex-grow: 1;
  margin-bottom: 0.5em;

}

.orderCityAdd {
  flex-basis: 0;
  flex-grow: 1;
  margin-bottom: 0.5em;
}

.orderProvAdd {
  flex-basis: 0;
  flex-grow: 1;
  margin-bottom: 0.5em;
}

.ordersModalOrderContent {
  display: flex;
  width: 100%;
  padding: 0.5em;
}

.orderContentDetailsLeft {
  width: 50%;
}

.orderContentDetailsRight {
  width: 50%;
}

.orderTransactionTable {
  overflow-x: scroll;
  border: 1px solid #dddddd;
  border-collapse: collapse;
  width: 100%;
  padding: 1em;
}

.orderTransactionTable th, .orderTransactionTable td {
  border: 1px solid #dddddd;
  padding: 5px;
}

.orderTransactionTable th {
  background-color: #79a763;
  color: var(--white);
  text-align: center;
}

.orderTransactionTable td {
  text-align: center;
}

@media screen and (max-width: 767px) {
  .ordersTabMenu {
    display: grid;
  }

  .modalContainerOrdersTable {
    flex-wrap: wrap;
  }

  .delivDetAddresses {
    display: grid;
  }

  .ordersGenDetSection {
    display: grid;
    width: 100%;
    padding: 0em 1em 1em 1em;
  }

  .ordersModalDetailedContent {
    display: grid;
    width: 100%;
    padding: 0em 1em 1em 1em;
  }

  .orderDeliveryDetails p {
    padding: 0;
  }

  .ordersModalOrderContent {
    display: grid;
    width: 100%;
    padding: 0.25em 0em 0em 0em;
  }
}

@media screen and (max-width: 400px) {
  .ordersTabMenu {
    display: grid;
  }

  .modalContainerOrdersTable {
    flex-wrap: wrap;
  }

  .ordersGenDetSection {
    display: grid;
    width: 100%;
    padding: 0em 1em 1em 1em;
  }

  .ordersModalDetailedContent {
    display: block;
    width: 100%;
    padding: 0em 1em 1em 1em;
  }

  .delivDetAddresses {
    display: block;
  }

  .ordersModalOrderContent {
    display: block;
    width: 100%;
    padding: 0.5em;
  }
}

/* RESTAURANT PAGE CSS RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.restaurant-page-header {
  display: flex;
  padding: 1em 0em 1em 0em;
}

.restaurant-dropdown {
  display: flex;
  padding: 0em 0em 0em 0.5em;
}

.restaurants-table {
  border-collapse: collapse;
  margin-top: 10px;
  width: 100%;
}

.restaurants-table td, .restaurants-table th {
  border: 1px solid #ccc;
  padding: 10px;
}

.restaurants-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #79a763;
  color: var(--white);
}

.restaurants-table tr:hover {
  background-color: #ddd;
}

/* MEDIA QUERY RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 767px) {
  .page-header,
  .default-page-content {
    position: static;
    width: 100%;
  }
   
  .page-header {
    padding: 10px;
    color: var(--page-content-blockColor);
  }

  .page-header nav {
    flex-direction: row;
  }

  .page-header .logo {
    margin: 0;
  }

  .page-header .toggle-mob-menu {
    display: block;
  }

  .page-header .customers-menu {
    position: absolute;
    left: 98px;
    top: 57px;
    margin-top: 0;
    z-index: 2;
    border-radius: var(--border-radius);
    background: var(--page-header-bgColor-hover);
    visibility: hidden;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.2s;
  }

  .page-header .customers-menu .menu-heading h3 {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 12px;
    margin-top: 10px;
    color: var(--page-content-blockColor);
  }

  .page-header .customers-menu li:nth-last-child(2) {
    margin-bottom: 12px;
  }
  
  .page-header .customers-menu li:last-child,
  .search-and-user .admin-profile .greeting {
    display: none;
  }
  
  .default-page-content {
    min-height: 0;
    padding: 10px;
  }

  .search-and-user {
    position: absolute;
    left: 131px;
    top: 10px;
    padding: 0;
    grid-column-gap: 5px;
    width: calc(100% - 141px);
    border-radius: var(--border-radius);
    background: transparent;
  }

  .search-and-user input[type="search"] {
    font-size: 1rem;
    height: 35px;
  }
}

@media screen and (max-width: 400px) {
  .search-button-div {
    display: grid;
  }
}

@media screen and (max-width: 350px) {
  .search-button-div {
    display: grid;
  }

  button#customer-search-button-right {
    float: left;
  }
}

@media screen and (max-width: 350px) {
  .search-container div{
    display: block;
    padding: 5px;
  }

  .search-button-div {
    display: block;
  }

  .page-header .logo {
    display: block;
    max-width: 120px;
    max-height: 120px;
    text-align: center;
  }
}

/* TABLE TABS FOR REPORTING & ANALYTICS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

.report-buttons{
  display: flex;
  justify-content: center;
}

.generate-report-button{
  background-color: #79a763;
  flex-basis: 1;
  border: none;
  color: white;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  float: left;
  font-size: 16px;
  margin: 5px 4px;
  border-radius: 10px;
  cursor: pointer;
}

.print-report-button{
  background-color: #79a763;
  flex-basis: 1;
  border: none;
  color: white;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 5px 4px;
  border-radius: 10px;
  cursor: pointer;
}

.save-report-button{
  background-color: #79a763;
  border: none;
  color: white;
  padding: 20px;
  text-align: center;
  align-self: center;
  text-decoration: none;
  font-size: 16px;
  margin: 5px 4px;
  margin-left: 35%;
  border-radius: 10px;
  cursor: pointer;
}

.form-check{
  padding: 1em;
}

#AppTitle {
  width: 100%;
  display: flex;
  float: left;
}

.contentContainer {
  display: flex;
  flex-basis: 0;
  flex-direction: row;
}

.contentContainer div {  
  padding: 6px;
}

.containerLeft {
  flex: 1;
}

.containerRight {
  flex: 1;
}

.appRecordsTable {
  border-collapse: collapse;
  margin-top: 10px;
  width: 100%;
  overflow-x: scroll;
  cursor: pointer;
}

.appRecordsTable td, .appRecordsTable th {
  border: 1px solid #ccc;
  padding: 10px;
  overflow-x: scroll;
  cursor: pointer;
}

.appRecordsTable th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  background-color: #79a763;
  color: var(--white);
  overflow-x: scroll;
  cursor: pointer;
}

.appRecordsTable tr:hover {
  background-color: #ddd;
  cursor: pointer;
}

div#appReportData.appreportdata{
  width: 100%;
}

.totalsTableRight {
  background-color:#79a763;
  color: var(--white);
  width: 30%;
  text-align: center;
}

.totalsTableLeft {
  width: 70%;
  text-align: center;
}

#driverScheduleTable {
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  overflow-x: scroll;
  cursor: pointer;
}

#driverScheduleTable td, #driverScheduleTable th {
  border: 1px solid #ccc;
  padding: 10px;
  overflow-x: scroll;
  cursor: pointer;
}

#driverScheduleTable th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #79a763;
  color: var(--white);
  overflow-x: scroll;
  cursor: pointer;
}

#driverScheduleTable tr:hover {
  background-color: #ddd;
  cursor: pointer;
}

#driverListTable{
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  overflow-x: scroll;
  cursor: pointer;
}

#driverListTable td, #driverListTable th {
  border: 1px solid #ccc;
  padding: 10px;
  overflow-x: scroll;
  cursor: pointer;
}

#driverListTable th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #79a763;
  color: var(--white);
  overflow-x: scroll;
  cursor: pointer;
}

#driverListTable tr:hover {
  background-color: #ddd;
  cursor: pointer;
}

.addShiftDiv{
  display: flex;
  width: 100%;
  align-items: center;
}

.addShiftInputs{
  flex: 1;
}

#add-shift-button{
  float: right;
  background-color: #79a763;
  font-size: 16px;
  color: white;
  padding: 0.35em;
  height: 50%;
  transition: 0.3s;
  border-radius: 0.55em;
}

#view-drivers-button{
  background-color: #79a763;
  font-size: 16px;
  color: white;
  border-radius: 0.55em;
  margin-top: 5px;
}

#driverDropdown{
  padding: 10px;
  margin: 10px 0px 10px 0px;
  border-radius: 15px;
}

#shiftdate{
  padding: 10px;
  margin: 10px;
  border-radius: 15px;
}

#shiftstart{
  padding: 10px;
  margin: 10px;
  border-radius: 15px;
}

#shiftend{
  padding: 10px;
  margin: 10px;
  border-radius: 15px;
}

input#myInput{
  padding: 10px;
  margin: 10px 0px 10px 0px;
  border-radius: 15px;
}

button#add-driver-button{
  background-color: #79a763;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: white;
  padding: 0.35em;
  margin: 0.5em 0em 0.5em 0em;
  transition: 0.3s;
  border-radius: 0.55em;
}

.add-driver-button{
  background-color: #79a763;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: white;
  padding: 1em;
  margin: 0.5em 0em 0.5em 0em;
  transition: 0.3s;
  border-radius: 0.55em;
}

#dispatchDrop{
  padding: 10px;
  margin: 10px 0px 10px 0px;
  border-radius: 15px;
}

#cityDrop{
  padding: 10px;
  margin: 10px 0px 10px 0px;
  border-radius: 15px;
}

.newDriverModalContent {
  display: inline-block;
  position: relative;
  background-color: #fefefe;
  border-radius: .25em;
  margin: 2.5% 0;
  padding: 1em;
  box-shadow: 0 0 .25em rgba(0,0,0,.5);
  animation-name: animatetop;
  animation-duration: .25s;
  text-align: left;
  min-width: 65%;
  max-width: 65%;
}

.driverDetailsModalContent {
  display: inline-block;
  position: relative;
  background-color: #fefefe;
  border-radius: .25em;
  margin: 2.5% 0;
  padding: 1em;
  box-shadow: 0 0 .25em rgba(0,0,0,.5);
  animation-name: animatetop;
  animation-duration: .25s;
  text-align: left;
  min-width: 90%;
  max-width: 90%;
}
.driverPointsSection{
  display: flex;
  flex-direction: row;
}

.driverPointsTableLeft {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0% 2%;
}

.driverPointsTableRight {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0% 2%;
}

#driverPointsTable th {
  background-color: #ddd;
}

#driverListTable th, tr{
  text-align: center;
}

.addIndShiftDiv{
  width: 100%;
  align-items: center;
}

#addIndividualShiftInputs {
  display: flex;
  flex: 1;
  justify-content: center;
}

#driverOrderListTable{
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  overflow-x: scroll;
  cursor: pointer;
}

#driverOrderListTable td, #driverOrderListTable th {
  border: 1px solid #ccc;
  padding: 10px;
  overflow-x: scroll;
  cursor: pointer;
}

#driverOrderListTable th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #79a763;
  color: var(--white);
  overflow-x: scroll;
  cursor: pointer;
}

#driverOrderListTable tr:hover {
  background-color: #ddd;
  cursor: pointer;
}

#view-drivers-order-list-button{
  float: right;
  background-color: #79a763;
  font-size: 16px;
  color: white;
  padding: 0.35em;
  height: 50%;
  transition: 0.3s;
  border-radius: 0.55em;
}



/* The Modal (background) */
.messageModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  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.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.message-modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.messageListClose {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.messageListClose:hover,
.messageListClose:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Responsive columns */
@media screen and (max-width: 600px) {
  .employeeListCardColumn {
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
}

/* Style the counter cards */
.card {
  width: max-content;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 16px;
  text-align: center;
  background-color: #f1f1f1;
}

/*----- Load Screen -----*/
.spinner{
  position: fixed;
  cursor: wait;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 5001;

  background: url("../images/valley-eats-spinner.png") center no-repeat;
  animation: orders-load-spinner 2s linear infinite;
}
.overlay{
  position: fixed;
  cursor: wait;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsla(0,0%,85%,0.5);
  z-index: 5001;
}
@keyframes orders-load-spinner{
  0%{
      transform: rotate(0deg);
  }
  100%{
      transform: rotate(360deg);
  }
}