* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 22px;
    overflow: hidden;
}

html, body {
    height: 100%;
}

body {
    background-color: #252627;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.main {
    display: flex;
    flex: 0 0 80%;
}

.left {
    width: 20%;
    background-color: #252627;
}

.left #shopping-cart {
      overflow: hidden;
      display: flex;
      flex-direction: column;
      height: 80vh;
}
    .item-line,
    .total-line {
      display: flex;
      padding: 0.2rem;
      border-bottom: 1px solid #eee;
    }
    .item-line {
      border-radius: 15px;
      border: 1px solid whitesmoke;
      background-color: #e0e0e0;
      height: 7vh;

    }
    .item-line.sub{
      background-color: #e0e0e0;
      width: 90%;
    }
    .item-line.act{
      background-color: #4CAF50;
    }
    .total-line {
      background-color: #e0e0e0;
      font-weight: bold;
      border-radius: 15px;
      border: 1px solid whitesmoke;
      background-color: #e0e0e0;
      justify-content: flex-end;
    }

    .cell.prod {
      flex: 1;
      text-align: left;
      font-size: 1.1rem;
      width: 70%;
      margin: auto;
    }

    .cell.price {
      text-align: right;
      margin: auto;
      width:20%;
      font-size: 0.9rem;
    }
    
    .cell.del {
      /*  flex:1;*/
      text-align: right;
      width:15%;
      display: flex;
      justify-content: center;
background-image: url('../img/delete.png');
background-repeat: no-repeat;
background-position: top center;
background-size: contain;
      margin: auto;
      height: 100%;
      font-size: 1.1 rem;
    }

    .cell.del img, .cell.total img {
        width: 50px;
        height: 50px;
        display: block;
        margin: auto;
        vertical-align: center;
    }
    
    .cell.total {
      text-align: right;
      flex: none;
      width: 100%;
      margin: auto;
      font-size: 1.5vw;
      justify-content: flex-end;
    }
    #shopping-cart .empty {
        align-self: flex-end;
        width: 100%;
        height: 15vh;        
    }
    #shopping-cart a {
        display: block;
        align-self: flex-end;
        width: 100%;
        height: 15vh;
    }
    #shopping-cart button.empty {
        width: 100%;
        height: 15vh;
        border-radius: 15px;
        background: #4CAF50 url('../img/hotovost.png') no-repeat top 10px center;
        background-size: 2vw;
        text-align: center;
        padding: auto 0 auto 0;
        color: #000000;
        font-size: 2.5vw;
        font-weight: bold;
    }



    
    .main-container {
      display: flex;
      flex: 0 0 80%;
      flex-direction: column;
      /*width: 80vw;
      height: 80vh;*/
    }

    div.ref {
        display: grid;
  grid-template-columns: repeat(4, 1fr); /* 3 columns */
  gap: 10px; /* space between buttons */
  width: 100%;
  margin: 0 auto;;
    }
    .ref button.refund {
border-radius: 15px;
      flex: 2;
        width: 100%;
        height: 100%;
        padding: 12px;
    /*  flex-direction: column;   */
      
    }
    
    .contenttop {
       display: grid;
       flex: 2;
      grid-template-columns: repeat(7, 1fr);
    }
    

/*
.contenttop {
    flex: 2;
      gap: 2px;    
    background-color: #252627;
}
*/
.contenttop button {
      width: 100%;
      height: 100%;
      font-size: 2vw;
     /* border: none;*/
      background-color: #917841;
      color: black;
      cursor: pointer;
      border-radius: 15px;
    /*  border: 2px solid #ff0000;*/
    }
.contenttop button[disabled] {
    cursor:crosshair;
    background-color: #252627;
    border: 0px;
} /*
div.contentbottom {
    flex:1;
   /* display:none;
}/*
.contentbottom {
    flex: 4;

      gap: 2px;    
    background-color: #252627;
    border: 1px solid white;
}*/
.bottom {
      display: grid;
      flex:4;
      grid-template-columns: repeat(7, 1fr);
}

.bottom button {
      width: 100%;
      height: 100%;
      font-size: 1rem;
      border: none;
      background-color: #c0a46b;
      color: black;
      cursor: pointer;
      border-radius: 15px;
     /* border: 2px solid #ff0000;*/
    }
.bottom button[disabled] {
    cursor:crosshair;
    background-color: #252627;
}


.contentbottom {
      display: grid;
      flex:4;
      grid-template-columns: repeat(7, 1fr);
    /*  */
}

.contentbottom button {
      width: 100%;
      height: 100%;
      font-size: 2vw;
     /* border: none;*/
      background-color: #c0a46b;
      color: black;
      cursor: pointer;
      border-radius: 15px;
      max-height: 25vh;
   /*  border: 2px solid #ff0000;*/
    }
.contentbottom button[disabled] {
    cursor:crosshair;
    background-color: #252627;
    border:0px;
}


button.w2 {
grid-row: span 2;
}

.footer {
    flex: 0 0 20%;

}

.footer .pay {
    flex: 1;
    display: grid;
    height: 100%;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;    
}

div.pay input {
    flex:1;
    width: 100%;
    height: 18vh;
    border-radius: 15px;
    font-size: 3vw;
    font-weight: bold;
    border-radius: 15px;
}

div.pay input#hotovost {
    background: #4CAF50 url('../img/hotovost.png') no-repeat top 10px center;
    background-size: 2vw;
    margin: 0 auto 2rem auto;
}
div.pay input#hotovost[disabled] {
    cursor:crosshair;
    background-color: #252627; 
    border:0px;
    background:none;
    color:#252627;
    border:0px;
}
div.pay input#finish[disabled] {
    cursor:crosshair;
    background-color: #252627; 
    border:0px;
    background:none;
    color:#252627;
    border:0px;
}
div.pay input#ucet {
    background: #4CAF50 url('../img/ucet.png') no-repeat top 10px center;
    background-size: 2vw;
    margin: 0 auto 3rem auto;
}
div.pay input#ucet[disabled] {
    cursor:crosshair;
    background-color: #252627; 
    border:0px;
    background:none;
    color:#252627;
    border:0px;
}

div.pay button {
    flex:1;
    width: 100%;
    height: 18vh;
    border-radius: 15px;
    font-size: 3vw;
    font-weight: bold;
}
div.pay button.spacer {
    cursor:crosshair;
    background-color: #252627; 
    border:0px;
    background:none;
    color:#252627;
    border:0px;
}

div.pay button#novykelimek {
    background: #4CAF50 url('../img/kelimek.png') no-repeat left 10px center;
    background-size: 3vw;
    margin: 0 auto 3rem auto;      
}
div.pay button#vracikelimek {
    background: #4CAF50 url('../img/kelimek_vraceni.png') no-repeat left 10px center;
    background-size: 3vw;
    margin: 0 auto 3rem auto;   
}
form.login td {
  font-size: 50px; 
  font-weight: bold;
  text-align: right;
  width: 50%;
  color: #DDD;
}
form.login input[type=text] {
  display:block;
  float:left;
  width:100%;
  font-size: 50px;
  color: #000000;
}
form.login input[type=password] {
  display:block;
  float:left;
  width:100%;
  font-size: 50px;
  color: #000000;
}
a.kiosk button {
    width: 30vw;
    height: 30vw;
    background: #ff9900 url('../img/kiosk_1.png') no-repeat bottom 10px center;
    background-size: 12vw; 
     vertical-align: text-top;
     color:  #ff9900;
}


form.login input[type=submit] {
  display:block;
  float:left;
  width:100%;
  height: 150px;
  font-size: 40px;
  color: #000000;
}

div.login {
    display: grid;
    height: 100%;
    grid-template-columns: repeat(2, 1fr);    
}
div.login h1 {
    font-size: 7vh;
    color:  #ff9900;
    margin-bottom: 1vh;
}

/*
    Platební stránka
*/  
#top {
        display: fixed;
        left: 10px;
        top:10px;
        width: 100vw;
        height: 10vh;
}    
#top h1 {
        color: white;
        font-weight: bold;
        font-size: 5vw;
        text-align: center;
} 
#reader {
        display: flex;
        flex-direction: column;
        margin: 0 auto 0 auto;
        width: 100vw;
        height: 80vh;
        
}    
#bottom {
        display: flex;
        flex-direction: column;
        margin: 0 auto 0 auto;
        width: 100vw;
        height: 10vh;
        
}    
#bottom a {
         margin: 0 auto 0 auto;
         width: 60%;
         height: 100%;
}
#bottom button {
    width: 100%;
    height: 100%;
        color: black;
        font-weight: bold;
        font-size: 5vw;  
        background-color: #ff9999;
}


button#close {
    color: black;
    background-color: #bc3315;
    font-weight: bold;
}


    .keypad-modal {
      display: none;
      position: fixed;
      top: 20%;
      left: 35%;
      background: white;
      border: 2px solid #333;
      padding: 10px;
      z-index: 9999;
    }
    .keypad-buttons button {
      width: 60px;
      height: 60px;
      margin: 5px;
      font-size: 24px;
    }
    
    .keypad-buttons button.ok {
      width: 210px;
      height: 60px;
      margin: 5px;
      font-size: 24px;
    }
    