body {
    font-family: 'Lato', sans-serif;
    color: #4a4a4a;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
    font-size: 18px;
}

ol li h4 {
    display: block;
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-size: 16px;
}

select {
    width: 100%;
    height: 40px;
    -webkit-appearance: menulist-button;
    text-indent: 6px;
    line-height: 26px;
    font-size: 24px;
}


/* Main toolbar */

.navbar {
    background-color: #8ec24f;
    color: #ffffff;
    height: 66px;
    font-family: "Helvetica"
}

.center.sliding {
    font-size: 18px;
}

.toolbar,
.toolbar:before {
    background-color: #f1f2f2;
}


/* Content */

.page-content {
    background-color: #ffffff;
}

.mainMenu {
    width: 100%;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -45%);
    box-sizing: border-box;
    padding: 0px;
}

.mainMenu li {
    display: inline-block;
    font-size: 18px;
    font-family: Helvetica;
    font-weight: lighter;
    color: #777777;
    list-style: none;
    margin-left: 15px;
    margin-right: 15px;
    box-sizing: border-box;
}

@media screen and (device-aspect-ratio: 40/71){ 
  .mainMenu li {
    margin-left: 2px;
    margin-right: 2px;
  }
}

@media only screen and (max-width : 370px) {
  .mainMenu li {
    margin-left: 2px;
    margin-right: 2px;
  }
}

.mainMenu li a {
    color: #777777;
}

.mainMenu li:first-child a {
    background-image: url(../img/scan-icon.png);
    background-repeat: no-repeat;
    background-position: 50% 10px;
    padding-top: 115px;
}

.mainMenu li:last-child a {
    background-image: url(../img/status-icon.png);
    background-repeat: no-repeat;
    background-position: 50% 10px;
    padding-top: 115px;
}


/* Footer icons */

.tabbar-labels {
    height: 64px;
}

.tabbar-label {
    color: rgba(0, 0, 0, .4);
}

.tabbar i.icon.tabbar-demo-icon-1 {
    background-color: #f1f2f2;
    width: 31px;
    top: 9px;
    background: url(../img/scan.png);
    background-repeat: no-repeat;
}

.tabbar i.icon.tabbar-demo-icon-2 {
    background-color: #f1f2f2;
    width: 29px;
    top: 6px;
    background: url(../img/upload-status.png);
    background-repeat: no-repeat;
}


/* Next Button */

.page-next .nextBtn {
    background: #27AAE1;
    width: 100%;
    position: fixed;
    height: 62px;
    bottom: 64px;
    color: #ffffff;
    text-align: center;
    line-height: 62px;
}


/* Icon Back */

i.icon.icon-back {
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z' fill='%23ffffff'/></svg>")
}


/* Scan Page */

.scanDiv {
    width: 100%;
    text-align: center;
    background-color: #C3C3C3;
    height: 108px;
    line-height: 108px;
    position: relative;
    top: 66px; /*-32px*/
}

.scanDiv #scanInput {
    width: 100%;
    max-width: 336px;
    height: 44px;
    font-size: 25px;
    text-align: center;
    color: #676767;
}

.scanMenu {
    display: table;
    table-layout: fixed;
    width: 100%;
    color: #ffffff;
    height: 61px;
    line-height: 61px;
    text-align: center;
    position: fixed;
    bottom: 64px;
}

.scanRest {
    display: table-cell;
    background-color: #F7941D;
}

.scanUp {
    display: table-cell;
    background-color: #39B54A;
}

.scanSave {
    display: table-cell;
    background-color: #27AAE1;
}

#resultsList {
    list-style: none;
    padding-left: 0;
    text-align: center;
    width: 100%;
    position: relative; /*absolute*/
    left: 50%;
    top: 37%; /*55%*/
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    overflow: auto;
    height: 280px; /*300px*/
    padding-bottom: 80px;
}

@media screen and (device-aspect-ratio: 40/71) {
  #resultsList{
    height: 220px;
  }
  .scanDiv #scanInput{
    max-width: 290px;
  }
  ul.aisleList, .list-block ul{
    height: 340px !important;
  }
}

#resultsList div {
    border-bottom: 1px solid #cccccc;
    padding: 8px 0;
    color: #676767;
}

i.icon.icon-warning {
    background-image: url(../img/warning-icon.png);
    width: 20px;
    height: 20px;
    padding: 5px;
    margin: 5px;
}

#unsubmittedScans {
    background-color: yellow;
    width: 100%;
    text-align: center;
    font-weight: bold;
    position: absolute;
    top: 174px;
    text-shadow: 1px 1px 2px #777;
}


/* Aisle Page */

.list-block {
    width: 100%;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 43%; /*40%*/
    transform: translate(-50%, -50%);
    box-sizing: border-box;
}

li.aisleData {
    color: #a7a9ac;
    font-size: 35px; /*45px*/
}

li.aisleData.active {
    color: #2bb673;
    font-size: 45px; /*55px*/
}

.list-block ul:before,
.list-block ul:after {
    background-color: #ffffff;
}


/* Side Page */

.page-side {
    width: 100%;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 53%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    background: url(../img/sideBG.png);
    background-repeat: no-repeat;
    background-position: center center;
    height: 500px;
    overflow: auto;
}

.mySide {
    list-style: none;
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 0px;
    top: 200px;
    position: absolute;
}

.mySide li {
    display: inline;
    background: url(../img/menuBG.png);
    background-repeat: no-repeat;
    background-position: center center;
    padding: 70px;
    position: relative;
}

.mySide li:first-child {
    left: 13px;
}

.mySide li:last-child {
    left: -7px;
}

@media screen and (device-aspect-ratio: 40/71){
  .mySide li:first-child {
    left: -13px;
  }

  .mySide li:last-child {
    left: -35px;
  }
}

@media only screen and (max-width : 370px){
  .mySide li:first-child {
    left: -14px;
  }

  .mySide li:last-child {
    left: -37px;
  }
}

.mySide li a {
    color: #fff;
    text-transform: uppercase;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    background: url(../img/scanOrder.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: 9999;
    color: white;
}


/* Uploads Page */

#uploads li.ng-scope {
    border-bottom: 1px solid #cccccc;
    height: 80px;
}

.col-50.left {
    margin-top: 5px;
    text-align: left;
    padding-left: 20px;
    box-sizing: border-box;
}

.col-50.right {
    margin-top: 25px;
    padding-right: 5px;
    text-align: right;
    box-sizing: border-box;
}

.col-50.rightUP {
    margin-top: 25px;
    padding-right: 5px;
    text-align: right;
    box-sizing: border-box;
}

.col-50 .done,
.col-50.rightUP .upload{
    color: #8DC63F;
    text-transform: uppercase;
    border: 1px solid #8DC63F;
    border-radius: 10px;
    width: 76px;
    height: 25px;
    text-align: center;
    display: inline-block;
    font-size: 11px;
    font-weight: lighter;
    line-height: 25px;
}

.col-50.rightUP .upload  {
    color: #27AAE1;
    border: 1px solid #27AAE1;
}

.upload-date.ng-binding {
    color: #676767;
    font-size: 16px;
    font-weight: bold;
}

.upload-section.ng-binding,
.upload-count.ng-binding {
    color: #676767;
    font-size: 14px;
    font-weight: lighter;
}

/* Success page */

.scanSuccess{
    width: 100%;
    height: 250px;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.85);
    background: url(../img/success.png);
    background-position: center center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.scanSuccess h1{
    color: #95989A;
    font-size: 18px;
    font-weight: lighter;
    position: relative;
    top: 215px;
}

.content-block .row.no-gutter.success { margin-left: -15px; box-sizing: border-box; }

.row.no-gutter.success{
    width: 100%;
    height: 61px;
    line-height: 61px;
    text-align: center;
    position: fixed;
    bottom: 64px;
}

.col-50.nextSection{
    background-color: #F7941D;
}

.col-50.nextAisle{
    background-color: #39B54A;
}

.col-50.nextSection a, .col-50.nextAisle a{ 
    color: #ffffff; 
}


/* Loaders */


.loader,
.loader:before,
.loader:after {
  background: #ffffff;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
.loader {
  color: #ffffff;
  text-indent: -9999em;
  margin: 250px auto;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

