html {
    overflow-y: hidden;
}

html.allow-scroll {
    overflow-y: scroll;
}

table#inputs {
    width: 95%;
    margin: 10px;
}

table#inputs tr {
    line-height: 50px;
}

td.input-label {
   width: 20%; 
   line-height: 1.5em;
}

td.good {
    color: green
}

td.bad {
    color: red
}

td.button-cell {
    text-align: right;
}

td#debug-cell {
    vertical-align: top;
}

td#current-location {
    font-weight: bold;
    line-height: 1em;
}

div.page-title{
    font-size: larger;
}

div#settings {
    margin: 10px;
}

input.assoc-val {
    width: 100%;
    text-align: center;
}

#create-asset-btn {
    width: 100%;
}

.pixels-input {
    width: 100%;
    height: 100%;
    line-height: 120%;
}

.identifier-input {
  width: 100%;
  height: 100%;
  line-height: 120%;
}

tr#qr-row {
    line-height: 250px;
    min-height: 250px !important;
    height: 250px;
}

td#qr-cell {
    text-align: center;
}

#debug-text {
    width: 100%;
    line-height: 1em;
}

/* div.instructions {
    margin: 10px;
    position: absolute;
    bottom: 0px;
} */

a.isDisabled {
    color: currentColor;
    cursor: not-allowed;
    opacity: 0.5;
    text-decoration: none;
  }

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
  }
  
  /* Show the snackbar when clicking on a button (class added with JavaScript) */
  #snackbar.show.success {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
    background-color: green;
  }

  #snackbar.show.warning {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
    background-color: orange;
  }

  #snackbar.show.failure {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
    background-color: red;
  }  
  
  /* Animations to fade the snackbar in and out */
  @-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }
  
  @keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }

 .full-width-button {
    width: 100% !important;
 }

 div.single-button-div {
    margin: 5%;
 }

 button.red-text {
    color: darkred !important;
 }

 #qr-container {
    width: 150px;
    height: 150px;
    position: relative;
    margin: 30px;
  }
  
  .box {
    width: 95%;
    height: 95%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1.0;
    background: white;
    margin: 2%;
  }

  .overlayed-message-box {
    width: 95%;
    height: 95%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1.0;
    background: greenyellow;
    margin: 2%;
    z-index: 1;
    display: table;
    text-align: center;
  }

  .overlayed-message-box .message {
    display: table-cell;
    vertical-align: middle;
  }

  #aisle-settings-form {
    height: 95%;
    width: 95%;
    background-color: lightgray;
    z-index: 1;
    position: absolute;
    margin: 2.5%;
    padding: 2%;
  }
  
  .box.hidden {
    display: none;
  }

  .box > #qrcode {
    width: 90%;
  }

  div#bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
  }

  div#bottom div.debug {
    display: block;
    width: 100%;
  }

  div#bottom div.instructions {
    display: block;
    width: 95%;
    }


  div#rdc-instructions{
    color: red;
  }

  div#logout-btn-div {
    margin: 5px;
  }

  span.countdown-timer {
    font-weight: bold;
    font-size: 1.5em !important;
  }

  input#answer-value {
    width: 100%;
  }

  /* .form-check-input {
    margin-top: 1em !important;
  } */

  #added-labels,#added-keys-values {
    line-height: 2rem;
  }

  .tall-select {
    height: 4rem;
  }

  .narrow-select {
    display: inline-block !important;
    width: 50% !important;
  }

  .big-badge {
    font-size: 1rem !important;
  }

  .title {
    font-size: 1.2rem;
    text-align: center;
  }