body {
    font-family: Arial, sans-serif;
    background-image: linear-gradient(#205293, #FFFFFF);
    margin: 0 15px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


.container {
    position: relative;
    background: white;
    padding: 20px 20px 20px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 320px;
    z-index: 10;
} 

.container h2 {
    margin: 5px 0px;
}


h1.warning {
    width: 100%;
    text-align: center;
    color: #bf3131;
}

.header-img {
    position: fixed;
    z-index: 1;
    top: 10px;
    right: 10px;
}

#reader {
    position: fixed !important;
    z-index: 100;
    top: 0;
    left: 0;
}

#barcodeTable, #productInfo1, #productInfo2, #productInfo3, #productTitle, #tierData, #storeData {
    width: 100%;
    margin-top: 20px;
    font-size: 14px;
}

#prodInfo2 {
    width: 100%;
}

#productInfo2 {
    width: 100%;
}

#prodInfo2 .productInfo2 {
    width: 65%;
}

#barcodeTable td, #barcodeTable th,
#productInfo1 td, #productInfo1 th,
#productInfo2 td, #productInfo2 th,
#productInfo3 td, #productInfo3 th,
#productTitle td,
#storeData td, #storeData th,
#tierData td, #tierData th {
    border: 1px solid #ddd;
    padding: 5px 8px;
    text-align: center;
}

#barcodeTable th, #productInfo1 th, #productInfo2 th, #productInfo3 th, #tierData th, #storeData th  {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    background-color: #205293;
    color: white;
}

#productInfo1, #productInfo2, #productInfo3, #productTitle, #tierData, #storeData {
    margin-top: 0;
}

#productInfo1 .cost {
    min-width: 50px;
}
#productInfo2 .cost {
    min-width: 50px;
}

#barcodeTable .barcode {
    width: 200px;
}

#productTitle .name {
    font-weight: bold;
    font-size: 95%;
}

#barcodeTable input.count {
    width: 50px;
    text-align: center;
}

#tierData, #storeData {
  border-collapse: collapse;
  width: 200px;
  margin: auto auto 20px auto;
  background-color: #fff;
}

#tierData td.tier {
    width: 50%;
}

#tierInfo {
    display: none;
}

#message {
    margin-top: 10px;
    color: red;
}


#barcodeTable td.itemRow {
    text-align: left;
}

#prodInfo2 {
    
}

input[type="text"], input[type="password"], button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input {
    padding: 0 10px;
}

button {
    background-color: #bf3131;
    color: white;
    cursor: pointer;
    font-weight: bold;
    font-size: 100%;
}

half {
    width: 40%;
    display: inline;
    margin: 10px 15px ;
}

button #closeScanner {
    display: none;
}

#openScanner {
    margin-top: 0px;
}

button.deleteItem {
    color: #bf3131;
    background-color: white;
    cursor: pointer;
    width: 20px;
    height: 20px;
    padding: 0 0 0 0;
    border: none;
}

button.plusItem {
    color: #bf3131;
    background-color: white;
    cursor: pointer;
    width: 20px;
    height: 20px;
    padding: 0 0 0 0;
    border: none;
    font-weight: normal;
}

button.minusItem {
    color: #bf3131;
    background-color: white;
    cursor: pointer;
    width: 20px;
    height: 20px;
    padding: 0 0 0 0;
    border: none;
}

button#tierInfoButton, button#storeInfoButton {
    width: 45%;
    margin: 10px 6px;
}

button#tierInfoButton2 {
    margin: auto;
    height: 70px;
}

button.disabled {
    background-color: #aaa;
}


#reader__dashboard {
    background-color: #aaaaaa;
}


.div-footer img {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: auto;
}

span.barcode {
    font-weight: normal;
    font-size: 85%;
}

span.pName {
    font-weight: bold;
    font-size: 90%;
}

span.price {
    font-weight: normal;
    font-size: 85%;
    float: left;
    margin-top: 5px;
}

span.dbut {
    float: right;
}

span.dbut button {
    margin-top: 0;
    margin-bottom: 5px;
}

span.temp {
    font-style: italic;
    color: #AAAAAA;
}

span.minor {
    font-size: 80%;
}

a.back {
    float: right;
    margin-top: 20px;
    font-size: 90%;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  left: 0;
  top: 50;
  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 */
.modal-content {
  background-color: #f2f2f2;
  margin: 35% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 60%; /* Could be more or less, depending on screen size */
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* The Close Button */
.close {
  color: #bf3131;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -20px;
  margin-right: -20px;
}

.tierCloseButton, .storeCloseButton {
    position: relative;
    width: 40%;
    margin: 0 0 0 120px;
    
}


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

.modal h2 {
    text-align: center;   
}