/* Mobile */
@media screen and (max-width: 480px) {
    body {
        font-size: 12px !important;
    }

    .navbarSpacer {
        padding-top: 5rem;
    }

    .tableFont {
        font-size: 6px;
    }

    .mapContainer {
        padding-right: 10%;
        padding-left: 10%;
    }
}

/* Desktop */
@media screen and (min-width: 500px) {

    .navbarSpacer {
        padding-top: 5rem;
    }

    .container {
        padding-right: 30%;
        padding-left: 30%;
    }

    .mapContainer {
        padding-right: 10%;
        padding-left: 10%;
    }

    .tableMargin {    
        margin-left: 5%;
        margin-right: 5%;
    }

    .tableFont {
        font-size: 12px;
    }

    .dialogContainer {
        padding-right: 10%;
        padding-left: 10%;
    }

}

.center {
    text-align: center;
}

.genericMargin {
    margin-top: 8px !important;
}

.genericPadding {
    padding-top: 20px;
}

.form_label {
    padding-top: 20px;
    padding-bottom: 10px;
}

.form_field {
    border: table_gray;
    color: gray;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 0px;
    cursor: pointer;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
  }

  .invPhoto {
    max-width: 200px;
    max-height: 200px;
  }
  
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px; /* Margin bottom by footer height */
}

.isHidden {
    display: none !important;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px; /* Set the fixed height of the footer here */
    background-color: #f5f5f5;
}

/* Inventory  */

#inventoryDialog {
  width: 75%;
}

#editDialog {
  width: 75%;
}

.formLabelInv {
  padding-top: 20px;
  padding-bottom: 10px;
}

.formFieldInv {
  border: table_gray;
  color: gray;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 0px;
  cursor: pointer;
}

/* Checkout */

#addItemDialog {
  width: 90% !important;
}

#checkoutBtnDiv {
  padding-top: 20px;
}

.checkoutBtn {
  height: 50px !important;
  width: 250px !important;
}

.addItemDiv {
  animation-name: addItemAnimation;
  animation-duration: 1s;
}

@keyframes addItemAnimation {
  0%   {background-color: red;}
  25%  {background-color: red;}
  50%  {background-color: red}
  100% {background-color: white;}
}

/* Transactions  */

.table-cell {
  padding-left: 5%; 
}

/* Two Way SMS */

.twsmsBox {
  width: 90% !important;
  text-align: center;
  
}

.messageDiv {
  display: inline-flex;
  border: black;
}

.messageRow {
    font-size: 32px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }

  /* Rounded sliders */
.slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

/* Keypad */

/* * {  
  margin: 0;  
  padding: 0;  
  }   */
  /* body {  
  font: 71%/1.5 Verdana, Sans-Serif;  
  background: #eee;  
  }   */


  #keyboardContainer{  
  margin: 10px 100px 100px 100px;  
  height: 200px;  
  }   

  #keyboard {  
  margin: 0;  
  padding: 0;  
  list-style: none;  
  }  
      #keyboard li {  
      float: left;  
      margin: 0 5px 5px 0;  
      width: 60px;  
      height: 60px;  
      font-size: 24px;
      line-height: 60px;  
      text-align: center;  
      background: #fff;  
      border: 1px solid #f9f9f9;  
      border-radius: 5px;  
      }  
          .capslock, .tab, .left-shift, .clearl, .switch {  
          clear: left;  
          }  
              #keyboard .tab, #keyboard .delete {  
              width: 70px;  
              }  
              #keyboard .capslock {  
              width: 80px;  
              }  
              #keyboard .return {  
              width: 90px;  
              }  
              #keyboard .left-shift{  
              width: 70px;  
              }  
  
              #keyboard .switch {
              width: 90px;
              }
              #keyboard .rightright-shift {  
              width: 109px;  
              }  
          .lastitem {  
          margin-right: 0;  
          }  
          .uppercase {  
          text-transform: uppercase;  
          }  
          #keyboard .space {  
          float: left;
          width: 556px;  
          }  
          #keyboard .switch, #keyboard .space, #keyboard .return{
          font-size: 16px;
          }
          .on {  
          display: none;  
          }  
          #keyboard li:hover {  
          position: relative;  
          top: 1px;  
          left: 1px;  
          border-color: #e5e5e5;  
          cursor: pointer;  
          }
  
/* Discount Keypad  */

#keyboardDiscountContainer{  
  margin: 10px 100px 100px 100px;  
  height: 200px;  
}   
  
#keyboardDiscount {  
  margin: 0;  
  padding: 0;  
  list-style: none;  
}  
      #keyboardDiscount li {  
      float: left;  
      margin: 0 5px 5px 0;  
      width: 60px;  
      height: 60px;  
      font-size: 24px;
      line-height: 60px;  
      text-align: center;  
      background: #fff;  
      border: 1px solid #f9f9f9;  
      border-radius: 5px;  
      }  
          .capslock, .tab, .left-shift, .clearl, .switch {  
          clear: left;  
          }  
              #keyboardDiscount .tab, #keyboard .delete {  
              width: 70px;  
              }  
              #keyboardDiscount .capslock {  
              width: 80px;  
              }  
              #keyboardDiscount .return {  
              width: 90px;  
              }  
              #keyboardDiscount .left-shift{  
              width: 70px;  
              }  
  
              #keyboardDiscount .switch {
              width: 90px;
              }
              #keyboardDiscount .rightright-shift {  
              width: 109px;  
              }  
          .lastitem {  
          margin-right: 0;  
          }  
          .uppercase {  
          text-transform: uppercase;  
          }  
          #keyboardDiscount .space {  
          float: left;
          width: 556px;  
          }  
          #keyboardDiscount .switch, #keyboardDiscount .space, #keyboardDiscount .return{
          font-size: 16px;
          }
          .on {  
          display: none;  
          }  
          #keyboardDiscount li:hover {  
          position: relative;  
          top: 1px;  
          left: 1px;  
          border-color: #e5e5e5;  
          cursor: pointer;  
          }