@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

body {font-family: Lato, Arial, Helvetica, sans-serif;font-size:0.9vw !important;color:#141F3A;}

#alert{
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: visibility 0.5s, opacity 0.5s;
}

#alert-content{
  background-color: rgb(221,221,221);
  padding: 20px;
  text-align: center;
  color: white;
}

#alert-content p {
  margin: 0;
}

.w40{
    width: 40%;
}

.w30{
    width: 30%;
}

.bar p{
    margin: 0;
    font-weight: bold;
}

.bar .left{
    text-align: right;
    float: left;
    margin-top: 5vw;
}

.bar .right{
    text-align: left;
    float: right;
    margin-top: 5vw;

}
 
.arrow{
    height: 2vw;

}

.inline-block{
    display: inline-block;
}

.hidden {
  display: none;
}

h2{
  text-align: center;
  font-size: 2.5vw;
}

h3{
  text-align: center;
  font-size: 1.5vw;
}

body{
  margin: 0;
  padding:0;
}

.container{
  margin-left: auto;
  margin-right: auto;
  width:85vw;
}

body .container{
  background-color: #f5f5f5;
  min-height: 100vh;
  padding: 3vw 1vw 3vw 1vw;

}

.container.potato{
  box-shadow: inset 0px 0px 50px 50px #fff;
  background: url("../img/seamless.jpg");
}

.bold {
  font-weight: bold;
}

.nav-wide{
  width:22%;

  float:left;
  display: flex;
  align-items: center;

  border-right: none;
}

.nav-narrow{
  width:12%;

  float:left;
  display: flex;
  align-items: center;

  background-color: #141F3A;

}

.nav-narrow p, .nav-wide p{
  font-weight: normal;
  font-size: 1vw;
  display:inline;
  margin:0;
  margin-left: 1vw;
  color: #ffffff;
}

.nav{
  cursor: default;
  -o-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none; 
}

.nav, footer{
  background-color:#316789;
  width:100%;
  min-height: calc(calc(0.8vw + 20px)*2);
  display: flex;

}

.nav img{
  height: 1.5vw;
  margin-left: 1vw;
  filter: invert(100%);
}

.nav select{
  background-color: transparent;
  color:white;
  border: none;
  font-size: 1vw;
  outline: none;
  border-image-width: 0;
  display: block;
    -moz-box-sizing: content-box;
    -webkit-box-sizing:content-box;
    box-sizing:content-box;
}

.progressbar{
  overflow: hidden;
  width: 100%;
  height: 2vw;
  background-color: #ccc;
  display: block;
background-image:
linear-gradient(
to right,
#aaa 0,
#aaa 1px,
transparent 1px,
transparent 100%
);
background-position: 0 0, 0 0;
}
.progressbar-element{
  width: 0;
  height: 100%;
  float: left;
}

.low{
  width: 0;
  height: 50%;
  float: left;
}

.green{
  background-color:rgba(172, 255, 47, 0.4);
  color:#78b321;
  font-size: 70%;
  overflow: hidden;
  text-align: center;
}
.red{
  background-color:rgba(255, 0, 0, 0.4);
}
.blue{
  background-color:rgba(135, 206, 250, 0.4);
  float: right
}

.yellow{
  background-color:rgba(250, 233, 135, 0.4);
}

.statistics{
  font-size: 0.7vw;
}

.customer{
  display: block;
  margin: auto;
  width: 60%;
}

.modal{
  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.4); /* Black w/ opacity */

}

/* Modal Content */
.modal-content{
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 60%;
    min-height: 300px;
    max-height: 75%;
  overflow-y: scroll;
}

.close{
  color: #aaaaaa;
  float: right;
  font-size: 1.5vw;
  font-weight: bold;
}

.deliveryList{
  padding-top: 2vw;
  width: 80%;
  margin: auto;
}

.deliveryList th{
  text-align: left;
}

.nav select{
  background-color: transparent;
  color:white;
  border: none;
  font-size: 1vw;
  outline: none;
  border-image-width: 0;
  display: block;
    -moz-box-sizing: content-box;
    -webkit-box-sizing:content-box;
    box-sizing:content-box;
}

select option{
  background-color: white;
  color: #141F3A;
  font-size: 0.75vw;
}

.export_icon{
display: flex;
justify-content: center;
}

.export_icon img{
  height: 2vw;
  padding: 5px 0;
}

.login{
  padding: 1.5vw;
  background-color: white;
  margin-left: auto;
  margin-right: auto;
  width: 30vw; 
}

.pin-dots {
  display: flex;
  justify-content: center;
  margin: 1em 0;
  gap: 0.6em;
}
.dot {
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  border: 0.15em solid #333;
  background: white;
}
.dot.filled {
  background: #333;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 3.5em);
  gap: 0.8em;
  justify-content: center;
  margin: 1.5em 0;
}

.key {
  aspect-ratio: 1 / 1;   /* keeps them square */
  font-size: 1.2em;
  border-radius: 0.5em;
  border: none;
  background: #eee;
  cursor: pointer;
  transition: background 0.2s;
}
.key:hover {
  background: #ccc;
}

