/* 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;
  --blue: #638fa7;/*VE Blue Ben gave me*/
  --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;
}

/*SIDE NAV CSS ADDED
#sideNavLogoImg:hover{
  box-shadow: 1em, 1em grey;

}*/

/*---------------------------------*/
* {
  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;
}

button,
input {
  border: none;
}

svg {
  display: block;
}

body {
  font: 16px/1.5 "Lato", sans-serif;
}
/* DEFAULT PAGE */
.flex-container {
  display: flex;
  flex-flow: row wrap;
}

.edit-button {
  color:rgba(60,180,115,0.5);
  background-color: grey;
}

/* 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: 4em; 
}

.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;
  /*height: 100%;*/
  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%;
  }

  .training-footer {
    z-index:10000;
    position:fixed;
    top:90%;
    width:95%;

}
}

@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;
}
.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%;
}

/* 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;
}

.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;
}

/* SLIDESHOW / CAROUSEL CSS RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.onboardingContainer{
  display: flex;
  flex-direction: column;
  cursor: pointer;
  height: 88vh;
}

.onboardingContainer .startQuizButton {
  background-color: #79a763;
  color: white;
  border-radius: 0.75em;
  width: fit-content;
  padding: 1em;
  align-self: center;
}

/* Slideshow container */
.slideshow-container {
  display: flex;
  flex-direction: column;
  border: 1px solid #79a763;
  padding: 0rem;
  height: 75vh;
  border-radius: 20px;
}

.slideshow-container-quiz {
  display: flex;
  flex-direction: column;
  border: 0.1em solid black;
  padding: 1rem;
  height: 81vh;
}

.slideshowNavButtons{
  display: flex;
  justify-content: space-evenly;
  padding: 2rem;
}

/* Next & previous buttons */
.prev, .next, .continue, #bagOrderButton {
  cursor: pointer;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  background: #79a763;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 15px;
  user-select: none;
}

.prev:hover, .prev:focus, .next:hover, .next:focus, .continue:hover, .continue:focus, #bagOrderButton:hover, #bagOrderButton:focus {
  background: white !important;
  color: #79a763 !important;
  border: 1px solid #79a763;
}

/* Position the "next button" to the right */
.next, .continue {
  right: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.slideshowProgressBar {
  display: flex;
  justify-content: center;
  text-align:center;
  padding: 1rem;
}

.slideshowTitle {
  text-align: center;
  margin: 1em;
}

/* Caption text */
.text {
  color: black;
  font-size: 15px;
  padding: 2rem;
  bottom: 8px;
  width: 100%;
}

.text ul {
  list-style: inside;
}

/* Number text (1/3 etc) */
.numbertext {
  color: black;
  font-size: 12px;
  padding: 8px 12px;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* MEDIA QUERY RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 767px) {
  .page-header,
  .default-page-content {
    position: static;
    width: 100%;
    cursor: pointer;
  }
   
  .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 {
    margin-top: auto;
    margin-bottom: 12px;
  }
  
  .default-page-content {
    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;
  }
}

input[type="checkbox"]{
  display:none;
}

input[id="dropShiftBox"] {
  display: inline-block;
}
.flex{
  display: flex;
  align-items: center;
}
/*
.close{
  width: 2rem;
  height: 2rem;
  background-color: rgba(255,255,255,0.85);
  border-radius: 100%;
  display: block;
  font-size: 1px;
  text-indent: -999em;
  position: absolute;
  border: 1px solid #000;
  top: -1rem;
  right: -1rem;
  z-index: 999;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.35);
  transition: all 0.25s ease-out;
}

.close:hover, :focus{
  transform: scale(1.1);
  background-color: rgba(255,255,255,1);
}

.close:after{
  font-weight: 300;
  content: "x";
  text-indent: 0;
  font-size: 1.4rem;
  position: absolute;
  left: 0.525rem;
}
*/
.btn-show-vid{
  font-family: "tondo", sans-serif;
  cursor: pointer;
  border: 1px solid #aaa;
  margin: 3em auto;
  display: block;
  width: 200px;
  text-align: center;
  padding: 0.75em 1em;
  box-sizing: border-box;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.1s ease;
}

.btn-show-vid:hover, :focus{
  background-color: #333;
  border: 1px solid #333;
  color: white;
}

#overlay{
  transition: opacity 0.35s ease;
  padding: 0em;
  box-sizing: border-box;
  opacity: 0;
  display: flex;
  align-items: center;
  position: absolute;
  background-color: rgba(0,0,0,0.85);
  width: 1px;
  height: 1px;
  top: 0;
  left: 0;
}

#overlay > *{
  display: none;
}

input:checked + #overlay{
  width: 100%;
  height: 100%;
  padding: 1em;
  opacity: 1;
  @media (min-width: 500px) {
    padding: 2em;
  }
  @media (min-width: 900px) {
    padding: 4em;
  }
}

input:checked + #overlay > *{
  display: block;
}

.video-wrapper {
  box-sizing: border-box;
  min-width: 100%;
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.imgContainerText {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.trainingImagesText {
  max-width: 50%;
  padding: 1em;
}

.trainingImagesTextField {
  display: flex;
  align-items: center;
  text-align: center;
}

.imgContainerCaptioned {
  display: flex;
  flex-direction: column;
  width: 750px;
  height: 505px;
}

.trainingImagesText {
  width: 75%;
  padding: 1em;
}

.trainingImageCaptioned:hover {opacity: 0.7;}

/* The Modal (background) */
.trainingImageModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  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.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.trainingImageModalContent {
  margin: auto;
  display: block;
  width: 80%;
}

.mySlides{
  height: 74.8vh;
  border-radius: 20px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#trainingImageCaption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.trainingImageModalContent, #trainingImageCaption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.closeTraining {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.closeTraining:hover,
.closeTraining:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .trainingImageModalContentt {
    width: 100%;
  }
}

.quizAnswers {
  padding: 1em;
  margin: 1em;
  border-radius: 0.5em;
  background-color: darkgrey;
  width: 50%;
}

.results-container {
  display: flex;
  justify-content: center;
  padding: 1em; 
  border: 1px solid #ccc
}

.courier-agreement-viewbox{
  height: 45vh;
  overflow-y: scroll;
  padding: 1em;
  margin: 1em;
  border: 1px solid #ccc;
  background-color: white;
}

.wsib-content-box{
  border: 1px solid black; 
  padding: 0.5em;
}

.hidden_desktop{
  height: 100%;
  max-width: 100%;
}

.hidden_mobile{
  width: 100%;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  [class="hidden_desktop"] {
    display: none;
  }

  .onboardingTitleCard {
    display: none;
  }

  .slideshowProgressBar{
    padding: 0.5rem 1rem 1rem 1rem;
  }

  .onboarding-container{
    height: 80vh;
  }
}

@media only screen and (min-width: 769px) {
  /* For desktop: */
  [class="hidden_mobile"] {
    display: none;
  }
}

#wsib-table th td {
  border: 1px solid black !important;
}

#noOptIns, #yesOptIns {
  display: block !important;
  margin-left: 5em;
}

#uploadFormButton {
  background-color: #79a763;
  color: white !important;
  padding: 20px; 
  margin: 20px;
  border-radius: 10px;
  width: 25%; 
  align-self: center;
}

input[type="file"] {
  display: block;
}

#fileToUpload {
  border: 1px solid #79a763;
  background-color: #d1e0bc;
  color: white;
  border-radius: 10px;
  padding: 5px; 
  width: 50%; 
  align-self: center;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 1024px){
  .courier-agreement-viewbox {
    height: 45vh !important;
  }
  .onboardingContainer{
    height: 80vh;
  }
  .slideshowNavButtons{
    display: flex; 
    padding: 0.5em;
    align-content: center;
  }
  .prev, .next, .continue {
    margin-top: 0em;
  }
  /* .slideshow-container{
    height: 85vh;
  } */
}

@media screen and (max-width: 415px) {
  .default-page-content {
    height: calc(100vh - 100px);
  }
  .mySlides{
    height: 100%;
  }
  #deskOrMob{
    height: 100%;
  }
  .hidden_mobile{
    height: 100%;
    border-radius: 20px;
  }
  .courier-agreement-viewbox{
    height: 47vh !important;
  }
  #wsibFormPlaceholder{
    height: 43vh !important;
  }
  .slideshowNavButtons {
    display: none;
  }
  .slideshowNavButtonsMobile{
    display: block !important;
  }
  .prevMobile, .nextMobile, .continueMobile {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  .nextMobile {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  .continueMobile {
    right: 0;
    top: 50%;
  }
}

/* #phoneNo:hover, #phoneNo:focus, #phoneNo:active {
  background-color: white !important;
} */
/*Arrows for the performance page up, down and no changes*/
.arrow-up::after{
  content: "\25B2";
  color: green;
}
.arrow-down::after{
  content: "\25BC";
  color: red;
}
.arrow-no-change::after{
  content: "\25CF";
  color: rgb(133, 133, 133);
}

.footer {
  text-align: center;
  margin-top: 50px;
  font-size: 0.875rem;
  color: #bdc3c7;
}