/* For app, change src="/images/ to src="../img/ */
@import "common.css";

.container {
  height: 100%;
}
.header {
  height: 70px;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  border-bottom: #ebebeb 1px solid;
  /* background-image: linear-gradient(#dcdcdc, #fff); */
  background-color: #fff;
}
.header_inner, .footer, .main {
  /* width: 96%; */
}

.header_inner {
  padding: 0;
  margin: 0 auto;
}
.header_inner {
  color: #505050;
}

.main {
  padding: 0 8px;
  margin: 10px auto;
  font-size: .9em;
  height: auto;
}
#viewpoint {
  clear: both;
}
a {
  color: #c34717;
  text-decoration: underline;
}
h2 a {
  color: #505050;
  text-decoration: none;
}
.footer_inner {
  padding: 0;
  margin: 0 auto;
}

.footer_inner {
  color: #181818;
}

.footer {
  height: 60px;
  display: block;
  bottom: 0;
  padding: 6px 0;
  position: fixed;
  width: 100%;
  margin: 0 0 10px 0;
  border-top: #e1e1e1 1px solid;
  background-image: linear-gradient(#dcdcdc, #efefef);
}
h1, h1#now_serving {
  font-size: 6em;
  /* letter-spacing: 3px; */
}

h2 {
  font-size: 2.2em;
}

h3 {
  font-size: 2em;
}
h4 {
  font-size: 1.4em;
}
h5{
  font-size: 1.2em;
  font-weight: normal;
}
h5 {
  border-top: 1px solid #adbabc;
  border-bottom: 2px solid #adbabc;
}
h1, h1#now_serving {
  margin: 24px 0;
  padding: 24px 0;
}
h2 {
  margin: 6px 0;
  padding: 6px 0;
}
h3, h4 {
  margin: 6px 0;
  padding:6px 0;
}
h5 {
  margin: 6px 0;
  padding: 6px 0;
}
p {
  line-height: 1.4em;
  font-size: 1em;
  padding: 8px 0;
  margin: 0;
}
h1.queue_screen  {
  font-size: 8em;
}
h2.queue_screen h2 {
  font-size: 5em;
}
h3.queue_screen h3 {
  font-size: 3em;
}
h4.queue_screen h4 {
  font-size: 2.4em;
}
h1.queue_screen, h2.queue_screen {
  margin: .4em 0;
  padding: .2em 0;
}
h3.queue_screen, h4.queue_screen {
  margin: .1em 0;
  padding: .1em 0;
}

.colg {
  float: left;
    width: 42%;
}
.coli {
  margin-top: 5px;
  float: right;
  width: auto;
}

.login_types {
  width: 320px;
}
.owner_login, .staff_login {
  float: left;
  width: 144px;
  padding: 15px 0 15px 10px;
  margin-right: 1px;
  color: #282b2c;
  background-color: #f3e5e0;
}
.owner_login:active, .staff_login:active {
  color: #ccdfe1;
  background-color: #f3c1ad;
}
.login {
  clear: both;
  float: left;
  padding: 6px 0;
}

.add_item, #alert, #otp, #display_type, #mymenu {
  position:absolute; /*it can be fixed too*/
  top:0; bottom:0;
  margin:auto;
  max-width:100%;
  max-height:100%;
  overflow:auto;
  padding: 6px;
}

#wrapper_get_queue {
  float: left;
  width: 80%;
}

#get_queue {
  overflow: hidden;
  padding: 4px;
}

#get_queue {
  color: #0a4302;
  width: 80px;
  height: 80px;
  z-index: 100;
  visibility: hidden;
  border: 2px solid #25fd08;
  background-color: #c8f3c2;
}

.queue_num {
  color: #000;
  text-align: center;
  font-weight: bold;
  font-size: 2em;
  vertical-align: middle;
  line-height: 40px;
}

#otp, #mymenu, #alert, #display_type {
  left:0; right:0;
}

#otp {
  width: 450px;
  height: 300px;
  z-index: 997;
  visibility: hidden;
  transform: translateY(-50%);
  border: 2px solid #b7b5b8;
  background-color: #e1e2e5;
}

#alert {
  width: 360px;
  height: 240px;
  color: #ff0000;
  padding: 8px;
  z-index: 999;
  line-height: 1;
  visibility: hidden;
  transform: translateY(-50%);
  border: 2px solid #fc2929;
  background-color: #fce9e9;
}

form label {
  font-size: 0.9em;
  text-transform: uppercase;
  text-align: left;
}
label {
  display: block;
  white-space: nowrap;
}
/* end floatlabel */

.box0, .box1, .box1a, .box1b, .box2, .box1c, .box2a, form textarea {
  border: 1px solid #b3b3b3;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;

}
.box0, .box1, .box1a, .box1b, .box1c, .box2, .box2a, form textarea, select {
  padding: 10px 0;
  outline: none;
  font-size: 1.2em;
  margin: 0 0 12px 0;
}

select {
  border: 1px solid #b3b3b3;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}

.box0, .box1, .box1b, .box1c {
    display: block;
}

.readonly {
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
  border: 0 !important
  outline: none;
  background-color: #e2e2e2;
}
.box0 {
  width: 500px;
}
.box1, .box1a, .box1b, select {
    width: 400px;
}
.box2 {
    width: 220px;
}
.box1c {
    width: 150px;
}
.box2a {
   width: 50px;
}

.view {
  text-align: left;
}

table {
    border-spacing: 0;
    border-collapse: collapse; 
}

/* nice table */
.nice table, .nice2 table {
    color: #e82516;
    font-family: Helvetica, Arial, sans-serif;
}

.nice td, .nice th{
    text-align: left;
    border: 1px solid transparent; /* No more visible border */
    height: 30px; 
    padding: 2px 6px;
    transition: all 0.3s;  /* Simple transition for hover effect */
}

.nice th {  
    background: #e8ada8;  /* Darken header a bit */
    font-weight: bold;
}
    
.nice tr:nth-child(even) td { background: #e8ccca; }   
       
.nice tr:nth-child(odd) td { background: #e8bfbb; }  

.nice tr td:hover { background: #666; color: #FFF; }

.nice2 td, .nice2 th {
  padding: 3px 5px;
    text-align: left;
  border-collapse: collapse;
  border-bottom: 1px solid #dbdbdb;
}
.nice2 th {  
    font-weight: bold;
}

#explain {
  padding: 12px;
  opacity: 1.0;
  z-index: 20;
  width: 240px;
  height: auto;
  font-size: .8em;
  position: absolute; /* position fixed doesn't work text overflow */
  visibility: hidden;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #fff;
  filter: alpha(opacity=100);
}
#queue_interface {
  width: auto;
  height: 100%;
  display: none;
}
#colq {
  width: 80%;
  min-height: 180px;
}

#colr {
  top: 0;
  right: 0;
  width: 20%;
  height: 100%;
  text-align: right;
  position: absolute;
  background-image: linear-gradient(#dcdcdc, #efefef);
}
#cols {
  bottom: 60px;
  width: 80%;
  min-height: 60px;
  padding: 8px 0;
  position: absolute;
  /* border: 1px solid #e9e9e9; */
}
.queue_display {
  padding: 8px 0;
  border-bottom: 6px solid #adbabc;
}
.queue_display2 {
  border-top: 1px solid #ccc; */
}
.skipped, .skipped2 {
  font-size: 5em;
  color: #343434;
  padding: 36px;
  display: inline-block;
  margin: 6px 6px 6px 0;
  border-radius: 6px;
}
.skipped {
  background-color: #f0c7a5;
  border: 2px solid #f0b07b;
}
.skipped2 {
  background-color: #f0e5db;
  border: 2px solid #f0d7c3;
}

.add_item, #alert {
  left:0; right:0;
}

.add_item {
  color: #1d3d41;
  width: 600px;
  height: 360px;
  background-color: #bae2e6;
}

#wrapper_add {
  visibility: hidden;
  position: relative;
  margin: 0 auto;
  width: 60px;
}
#btn_add {
  z-index: 300;
  color: #fff;
  bottom: 100px;
  font-size: 2em;
  position: relative;
}
.badge {
  height: 30px;
  width: 30px;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  border-radius: 50%; /* may require vendor prefixes */
  background: #5d5c11;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, .5);
}
#menu_panel {
  top: 60px;
  position: fixed;
  visibility: hidden;
  padding: 5px 10px;
  background-color: #ddd;;
}

#display_type {
  width: 320px;
  height: 260px;
  color: #66652b;
  padding: 8px;
  z-index: 998;
  visibility: hidden;
  border: 2px solid #e0e0c1;
  background-color: #f7f7da;
}

.account {
  right: 1%;
  width: 14em;
  height: 15em;
}

.menu_simple ul {
  padding: 10px 0;
  margin: 8px 0;
  list-style: none;
}

.menu_simple li {
  font-size: .9em;
  margin-bottom: 1em;
  border-bottom: #f1f1f1 1px solid;
}

table.counters {
  font-size: 1em;
  width: 100%;
}
table.counters td, table.counters th {
  text-align: left;
  padding: 4px 6px;
  vertical-align: top;
  border-collapse: collapse;
  border-spacing: 0; 
  border-bottom: #bdcacc 1px solid;   
}
.th {
  font-weight: bold;
  background-color: #bcbdbd;
}
.counters li {
  color: #f6511f;
  padding: 4px 0;
}
ul.display_type {
  list-style-type: none;
  margin: 12px 0;
  padding: 0;
}
.display_type li {
  width: 180px;
  padding: 6px;
  margin: 10px 0;
  color: #ececeb;
  iist-style-type: none;
  background-color: #a2a207;
}

.note {
  color: #a8a8a8;
  font-size: .8em;
}
.icon2 {
  margin: 6px 0;
}
.menu {
  padding: 0;
  margin: 0;
  width: 100%;
  list-style: none;
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap; }
  [data-whatinput='mouse'] .menu li {
    outline: 0; }
  .menu a,
  .menu .button {
    line-height: 1;
    text-decoration: none;
    display: block;
    padding: 0.7rem 1rem; }
  .menu input,
  .menu select,
  .menu a,
  .menu button {
    margin-bottom: 0; }
  .menu input {
    display: inline-block; }
  .menu, .menu.horizontal {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
      -ms-flex-direction: row;
        flex-direction: row; }
  .menu.vertical {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -ms-flex-direction: column;
        flex-direction: column; }
  .menu.expanded li {
    -ms-flex: 1 1 0;
        flex: 1 1 0; }
  .menu.simple {
    -ms-flex-align: center;
        align-items: center; }
    .menu.simple li + li {
      margin-left: 1rem; }
    .menu.simple a {
      padding: 0; }
  @media print, screen and (min-width: 40em) {
    .menu.medium-horizontal {
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
      -ms-flex-direction: row;
          flex-direction: row; }
    .menu.medium-vertical {
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
      -ms-flex-direction: column;
          flex-direction: column; }
    .menu.medium-expanded li {
      -ms-flex: 1 1 0;
          flex: 1 1 0; }
    .menu.medium-simple li {
      -ms-flex: 1 1 0;
          flex: 1 1 0; } }
  @media print, screen and (min-width: 64em) {
    .menu.large-horizontal {
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
      -ms-flex-direction: row;
          flex-direction: row; }
    .menu.large-vertical {
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
      -ms-flex-direction: column;
          flex-direction: column; }
    .menu.large-expanded li {
      -ms-flex: 1 1 0;
          flex: 1 1 0; }
    .menu.large-simple li {
      -ms-flex: 1 1 0;
          flex: 1 1 0; } }
  .menu.nested {
    margin-right: 0;
    margin-left: 1rem; }
  .menu.icons a {
    display: -ms-flexbox;
    display: flex; }
  .menu.icon-top a, .menu.icon-right a, .menu.icon-bottom a, .menu.icon-left a {
    display: -ms-flexbox;
    display: flex; }
  .menu.icon-left li a {
    -ms-flex-flow: row nowrap;
        flex-flow: row nowrap; }
    .menu.icon-left li a img,
    .menu.icon-left li a i,
    .menu.icon-left li a svg {
      margin-right: 0.25rem; }
  .menu.icon-right li a {
    -ms-flex-flow: row nowrap;
        flex-flow: row nowrap; }
    .menu.icon-right li a img,
    .menu.icon-right li a i,
    .menu.icon-right li a svg {
      margin-left: 0.25rem; }
  .menu.icon-top li a {
    -ms-flex-flow: column nowrap;
        flex-flow: column nowrap; }
    .menu.icon-top li a img,
    .menu.icon-top li a i,
    .menu.icon-top li a svg {
      -ms-flex-item-align: stretch;
          -ms-grid-row-align: stretch;
          align-self: stretch;
      margin-bottom: 0.25rem;
      text-align: center; }
  .menu.icon-bottom li a {
    -ms-flex-flow: column nowrap;
        flex-flow: column nowrap; }
    .menu.icon-bottom li a img,
    .menu.icon-bottom li a i,
    .menu.icon-bottom li a svg {
      -ms-flex-item-align: stretch;
          -ms-grid-row-align: stretch;
          align-self: stretch;
      margin-bottom: 0.25rem;
      text-align: center; }
  .menu .is-active > a {
    background: #2ba6cb;
    color: #fefefe; }
  .menu .active > a {
    background: #2ba6cb;
    color: #fefefe; }
  .menu.align-left {
    -ms-flex-pack: start;
        justify-content: flex-start; }
  .menu.align-right li {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
        justify-content: flex-end; }
    .menu.align-right li .submenu li {
      -ms-flex-pack: start;
          justify-content: flex-start; }
  .menu.align-right.vertical li {
    display: block;
    text-align: right; }
    .menu.align-right.vertical li .submenu li {
      text-align: right; }
  .menu.align-right .nested {
    margin-right: 1rem;
    margin-left: 0; }
  .menu.align-center li {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center; }
    .menu.align-center li .submenu li {
      -ms-flex-pack: start;
          justify-content: flex-start; }
  .menu .menu-text {
    padding: 0.7rem 1rem;
    font-weight: bold;
    line-height: 1;
    color: inherit; }

.menu-centered > .menu {
  -ms-flex-pack: center;
      justify-content: center; }
  .menu-centered > .menu li {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center; }
    .menu-centered > .menu li .submenu li {
      -ms-flex-pack: start;
          justify-content: flex-start; }
/* end of foundataion */

.menu a {
    color: #555;
    line-height: 12px;
}

.box3 {
  padding: 6px !important;
  margin: 2px 0;
  border: #ebebeb 1px solid;  
}

.wrapper_center {
  clear: both;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.centered {
  text-align: center;
}

.img {
  display: block;
  margin: auto;
  padding: 6px;
  border: #dedede 1px solid; 
}

.description {
  margin: 8px 0;
  padding: 16px;
  border-radius: 1em;
  border:0.16em solid rgba(255,255,255,0);
}

.bg101 {
  background-color: #f7f7f7;
}

p.qn {
  font-weight: bold;
  margin: 10px 0 0 0;
  padding: 0;
}

ol {
  margin-top: 0;
  padding-top: 0;
}

@media screen and (max-width: 767px){
  h1, h1#now_serving {
    font-size: 2em;
  }

  h2 {
    font-size: 1.2em;
  }

  h3 {
    font-size: 1em;
  }
  h4 {
    font-size: 1em;
  }
  h5 {
    font-size: .9em;
  }
  h1, h1#now_serving {
    margin: 6px 0 2px 0;
    padding: 6px 0 2px 0;
  }
  h2, h3 {
    margin: 6px 0 2px 0;
    padding: 6px 0 2px 0;
  }
  h4, h5  {
    margin: 4px 0;
    padding: 4px 0;
  }

  p {
    padding: 3px 0;
    font-size: .9em;
  }
  .footer {
     margin: 0;
     height: 36px;
     padding:6px 0;;
  }
  #otp {
    width: 280px;
    height: 240px;
  }
  .owner_login, .staff_login {
    width: 130px;
    padding: 10px 0 10px 8px;
  }
  #colq {
    width: 73%;
  }
  #colr {
    width:27%;
  }
  #cols {
    bottom: 0;
    width: 73%;
    min-height:120px;
  }
  .account {
    width: 12em;
    height: 10em;
  }
  .queue_display {
    padding: 4px 0;
    border-bottom: 3px solid #adbabc;
  }
  .skipped, .skipped2 {
    font-size: 1em;
    padding: 4px 8px;
    margin: 4px 4px 4px 0;
    border-radius: 4px;
  }
  .skipped {
    border: 1px solid #f0b07b;
  }
  .skipped2 {
    border: 1px solid #f0d7c3;
  }
  .add_item {
    height: 320px;
  }
  #btn_add {
    bottom: 64px;
    font-size: 1.5em;
  }
  .counters li {
    padding: 3px 0;
  }
  #display_type, .add_item  {
    width: 300px;
  }
  #display_type {
    height: 180px;
  }
  table.counters {
    font-size: .8em;
  }
  .menu a {
    padding: 0px 10px 0px 10px;
    font-size: .8em;
    line-height: 0;
  }
  .box0, .box1, .box1a, .box1b, .box1c, .box2, .box2a, form textarea, select {
    font-size: 1em;
    margin: 0 0 6px 0;
  }
  .box0, .box1, .box1a, .box1b, .box1c, .box2, .box2a, form textarea {
    padding: 6px 0;
  }
  select {
    display: block;
  }
  .box0 {
    width: 320px;
  }
  .box1, .box1a, .box1b{
    width: 240px;
  }
   select {
    vertical-align: middle;
    height: 36px !important;
    line-height: 36px !important;
    width: 220px;
  }
  .box2 {
    display: block;
    width: 220px;
  }
  .box1c {
    width: 140px;
  }
  .box2a {
     width: 60px;
  }
  #alert {
    font-size: .9em;
    width: 220px;
    height: 160px
  }
  form label {
    font-size: 0.8em;
  }
  #wrapper_get_queue {
    width: 73%;
  }
  .img {
    width: 65%;
  }
}