body {
  background-color: whitesmoke;
}
body.live-site {
  background-color: #b9c5b9;
}

main {
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
  /*margin-bottom: 30px;*/
  padding: 15px;
  padding-bottom: 60px;
  height: 100%;
  min-height: calc(100vh - 190px);
  background-color: #FFF;
  position: relative;
  border: 1px solid gray;
  box-shadow: 0 0 5px 0px gray;
}
main.page-index::after {
  content: '';
  background-image: url('/web/public/img/vesantech_hero.jpg');
  background-position: bottom left;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.15;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

@media(min-width: 1330px){
  main {
    max-width: 1300px;
  }
}
@media(max-width: 1329px){
  body {
    padding-bottom: 0;
  }
  main {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: calc(100vh - 50px);
    margin-bottom: -33px;
  }
}
@media(max-width: 1329px) and (min-width: 769px){
  .isDeveloper main {
    min-height: calc(100vh - 73px);
  }
}
@media(max-width: 898px){
  main {
    margin-top: 0;
  }
}
@media(max-width: 575px){
  main{
    padding-bottom: 70px;
  }

}


@media(max-width: 830px){
  main {
    margin-top: 0;
  }
}


footer {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1300px;
  position: relative;
  font-size: 12px;
  padding: 5px 15px;
  top: -30px;
  color: gray;
  height: 1px;
}
footer > .row {
  min-height: 30px;
}
@media(max-width: 1329px){
  footer {
    top: 0;
  }
}
@media(max-width: 575px){
  footer {
    top: -30px;
  }
  .isAdmin footer {
    top: -40px;
  }
  footer .col-xs-12 {
    text-align: center !important;
  }
}
.vapp-report-new-form-wrapper {
  min-width: 800px;
  min-height: 400px;
}
@media(max-width: 840px){
  .vapp-report-new-form-wrapper {
    min-width: 100%;
    max-width: 100%;
  }
}

.vapp-report-new-form-wrapper table.daily-reports-products-table {
  width: 100%;
  margin-top: 15px;
}
.vapp-report-new-form-wrapper table.daily-reports-products-table tr.table-row-product {
  border-top: 1px solid white;
}

.vapp-report-new-form-wrapper table.daily-reports-products-table tr.table-row-product td {
  padding: 3px;
}
.vapp-report-new-form-wrapper table.daily-reports-products-table tr.table-row-product td input[type="number"]{
  max-width: 125px;
  display: inline-block;
}
.vapp-report-new-form-wrapper table.daily-reports-products-table tr.table-row-product td a.sign-cta{
  text-decoration: none;
  display: inline-block;
  padding: 0px 5px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: black;
}
.vapp-report-new-form-wrapper table.daily-reports-products-table tr.table-row-product td a.sign-cta:hover {
  border-color: gray;
}

.vapp-report-new-form-wrapper .submit-row {
  margin-top: 15px;
}

.index-menu {
  z-index: 10;
  text-align: center;
  max-width: 100%;
  margin-top: 15px;
}
.index-menu .index-menu-link {
  display: inline-block;
  width: 400px;
  height: 50px;
  text-align: left;
  padding: 14px 10px 14px 48px;
  box-sizing: border-box;
  border: 1px solid gray;
  border-radius: 10px;
  margin: 5px;
  background-color: #FFF;
  position: relative;
  line-height: 18px;
  font-size: 18px;
  color: #333;
  transition: 0.15s all;
  font-weight: 500;
  box-shadow: 0 0 7px transparent;
}
.index-menu .index-menu-link:hover {
  color: #000;
  text-decoration: none !important;
  box-shadow: 0 0 7px gray;
}
.index-menu .index-menu-link a {
  color: #333;
  text-decoration: none !important;
}
.index-menu .index-menu-link:hover a {
  color: #000;
}

.index-menu .index-menu-link i.fa {
  font-size: 28px;
  position: absolute;
  margin: 10px;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  text-align: center;
  transition: 0.25s all;
}
.index-menu .index-menu-link:hover i.fa {
}
.index-menu .index-menu-link .extra-info {
  color: red !important;
  float: right;
  font-weight: 700;
}


@media(max-width: 700px){
  .index-menu .index-menu-link {
    margin-left: 0 !important;
  }
}

@media(max-width: 450px){
  .index-menu .index-menu-link {
    max-width: 100%;
    width: 100%;
  }
}
@media(max-width: 400px){
  .index-menu .index-menu-link {
    font-size: 14px;
    padding-left: 44px;
  }

  .index-menu .index-menu-link i.fa {
    font-size: 24px;
    width: 24px;
    height: 24px;
    margin: 12px 10px;
  }
}
@media(max-width: 350px){
  .index-menu .index-menu-link {
    font-size: 12px;
    padding-left: 40px;
  }
  .index-menu .index-menu-link i.fa {
    font-size: 20px;
    width: 20px;
    height: 20px;
    margin: 14px 10px;
  }
}



table.vapp-table {
  min-width: 100%;
}
@media(max-width: 1300px){
  table.vapp-table {
    max-width: 100%;
    overflow-x: scroll;
  }
}

table.vapp-table tr {
  transition: 0.25s all;
}
table.vapp-table tr.active {
  border-top: 1px solid #aaaaaa;
}
table.vapp-table tr.active td {
  background-color: rgba(255, 239, 77, 0.35);
}


table.vapp-table tr td.cell-inventory-real-amount input {
  padding: 2px 10px;
  height: 30px;
}
table.vapp-table tr td a.js-clearInput {
  color: gray;
  margin-right: 5px;
  opacity: 0;
  transition: 0.25s all;
  display: inline-block;
}
table.vapp-table tr.active td a.js-clearInput {
  opacity: 0.25;
}
table.vapp-table tr.active:hover td a.js-clearInput {
  opacity: 0.9;
}
table.vapp-table tr.active td a.js-clearInput:hover {
  color: red;
  opacity: 1;
}


table.vapp-table tr td.cell-inventory-correction {
  font-weight: bold;
}
table.vapp-table tr td.cell-inventory-correction.positive {
  color: #00a400;
}
table.vapp-table tr td.cell-inventory-correction.negative {
  color: red;
}



table.vapp-table td.stock-insufficient {
  font-weight: bold;
  color: red;
}

table.vapp-table th.non-sortable {
  color: gray;
}
table.vapp-table.sortable th,
table.vapp-table th .order-toggle {
  color: black;
}

main textarea.form-control,
main select.form-control,
main input.report-form-correctiveReport,
main input.form-control {
  border-color: gray;
}
main a.btn.btn-default,
main label.btn.btn-default {
  border: 1px solid gray;
}

h3.js-report-type-edit {
  display: none;
}
h3.js-report-type-not-edit {
  display: block;
}
h3.js-report-type-edit.ngtv {
  display: block;
}
h3.js-report-type-not-edit.ngtv {
  display: none;
}


@media(max-width: 1800px){
  main .vapp-table-wrapper {
    overflow-x: auto;
  }
}

@media(max-width: 550px){
  .stripe-content .stripe-plugins {
    display: none;
  }
}





table.vapp-table .error-cell{
  background-color: rgba(255,0,0,0.10);
}
table.vapp-table .error-cell > pre {
  color: red;
  font-weight: bold;
  margin: 5px 0;
}


table.table-reports-list .text-comment {
  max-width: 300px;
}


.inventory-request-badge {
  color: blue;
}
.js-inventory-request-badge {
  opacity: 0;
}
.js-inventory-request-badge.active {
  display: inline-block;
  opacity: 1;
}

table.table-resupply-list tr.isRequest td {
  background-color: rgba(0, 150, 250, 0.10);

}


body {
  position: relative;
}

body.live-site header {
  /*display: none !important;*/
}
header {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 40px;
  width: 100%;
  z-index: 100;
  overflow: hidden;
}

header .wrapper {
  display: block;
  position: relative;
  height: 38px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1300px;
  width: calc(100%);
  overflow: hidden;
  padding-right: 1px;
  border: 1px solid gray;
  background-color: #DDD;
  box-shadow: 0 0 5px 0px #CCC;
}
@media(max-width: 1300px){
  header .wrapper {
    border-left: none;
    border-right: none;
  }
}

header .wrapper a.main-logo {
  float: left;
  height: 40px;
  position: relative;
  display: block;
  padding: 5px 10px;
  color: black;
}
header .wrapper ul.navigation {
  display: block;
  position: relative;
  height: 40px;
  float: right;
}
header .wrapper ul.navigation li {
  float: left;
  display: inline-block;
  position: relative;
  border-bottom: 1px solid #DDD;
  border-left: 1px solid #DDD;
  background-color: #DDD;
}
header .wrapper ul.navigation li a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px 10px;
  background-color: #DDD;
  color: black;
  font-weight: bold;
  text-decoration: none;
  min-width: 36px;
  min-height: 36px;
}
header .wrapper ul.navigation li a.active{
  background-color: #FFF;
}
header .wrapper ul.navigation li a:hover {
  background-color: #FFF;
}
header .wrapper ul.navigation li a.nav-nohover {
  pointer-events: none !important;
}

header .wrapper ul.navigation li a .nav-icon {}
header .wrapper ul.navigation li a .nav-text {}
header .wrapper ul.navigation li a .nav-logout {}
header .wrapper ul.navigation li a .nav-home {}

@media(max-width: 730px ){
  header .wrapper a.main-logo {
    display: none;
  }

  header .wrapper ul.navigation li .nav-icon {
    display: none;
  }
}

@media(max-width: 850px ){
  header .wrapper a.main-logo,
  header .wrapper ul.navigation li .nav-user,
  header .wrapper ul.navigation li .nav-icon {
    display: none;
  }
  header .wrapper ul.navigation li a.nav-logout .nav-icon {
    display: inline-block;
  }
  header .wrapper ul.navigation li a.nav-logout .nav-text {
    display: none;
  }
  header .wrapper ul.navigation li a.nav-home .nav-icon{
    display: inline-block;
  }
}


@media(max-width: 725px ){
  header .wrapper a.main-logo {
    display: none;
  }

  header .wrapper ul.navigation li .nav-icon {
    display: inline-block;
  }
  header .wrapper ul.navigation li .nav-text {
    display: none;
  }
}


.popup-wrapper  {
  padding: 15px;
  min-width: 500px;
}
.popup-wrapper span.error {
  color: red;
}



.hideQuickInputDefault .quickInput-recordDefaultValue-showcase {
  display: none !important;
}

.btn.btn-default {
  box-shadow: 0 0 5px rgba(0,0,0,0);
}
.btn.btn-default:hover {
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  border: 1px solid #555 !important;
}

.btn.btn-xs {
  padding: 3px 6px;
  font-size: 80%;
}


main .btn.btn-default {
  border: 1px solid gray;
}
main .btn.btn-default:hover {
  border: 1px solid gray;
  background-color: #EEEEEE;
}


.vapp-table td {
  vertical-align: middle;
}

.email-warning {
  margin-top: 15px;
  margin-bottom: 10px;
  /*color: red;*/
  font-style: italic;
}


.index-mini-lists-wrapper {
  z-index: 10;
  position: relative;
  padding-top: 25px;
  margin-top: 20px;
}
.index-mini-lists-wrapper::before {
  position: absolute;
  content: '';
  top: 0;
  left: 2%;
  width: 96%;
  height: 1px;
  border-top: 1px solid black;
}
.index-mini-lists-wrapper ul.index-mini-list {
  list-style-type: none;
  margin: 1px;
  margin-top: 0;
  padding: 0;
  width: calc(100% - 3px);
}
.index-mini-lists-wrapper ul.index-mini-list > li {
  text-align: left;
  margin: 0;
  width: 100%;
  margin-top: -1px;
  position: relative;
}
.index-mini-lists-wrapper ul.index-mini-list > li > a {
  display: block;
  width: 100%;
  text-decoration: none !important;
  border: 1px solid gray;
  /*border-radius: 5px;*/
  overflow: hidden;
  text-align: center;
  padding: 3px 5px;
  color: #333;
  background-color: #FFF;
  box-shadow: 0 0 5px transparent;
  z-index: 2;
  position: relative;
}
.index-mini-lists-wrapper ul.index-mini-list > li > a:hover {
  background-color: whitesmoke;
  box-shadow: 0 0 5px gray;
  z-index: 3;
}
.index-mini-lists-wrapper ul.index-mini-list > li > a > .mini-report-id {
  display: inline-block;
  width: 25%;
  float: left;
  text-align: left;
}
.index-mini-lists-wrapper ul.index-mini-list > li > a > .mini-report-user {
  display: inline-block;
  width: 50%;
  text-align: center;
}
.index-mini-lists-wrapper ul.index-mini-list > li > a > .mini-report-date {
  display: inline-block;
  width: 25%;
  text-align: right;
  float: right;
}

.index-mini-lists-wrapper .index-menu-link {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}
.index-mini-lists-wrapper .index-menu-link:hover {
  z-index: 3;
}



#report-confirm-form .js-batches-tooltip-list{
  color: gray;
  display: block;
  list-style-type: bullet;
  margin-top: 3px;
}
#report-confirm-form .js-batches-tooltip-list .js-batch-clickme {
  display: inline-block;
  color: #888;
  list-style-type: bullet;
  border-color: gray;
  margin-bottom: 3px;
}
#report-confirm-form .js-batches-tooltip-list .js-batch-clickme:hover {
  color: #000;
  text-decoration: none !important;
}


i.hover-icon {
  opacity: 0;
}
*:hover > i.hover-icon,
i.hover-icon:hover {
  opacity: 1;
}


div[class*='ajax'] .error {
  color: red;
  font-weight: bold;
  background-color: #FCCC;
  padding: 5px 15px;
  display: inline-block;
}


label.report-ingredient-checkbox-label {}
label.report-ingredient-checkbox-label input[type="checkbox"]{}
label.report-ingredient-checkbox-label input[type="checkbox"] + span {

}
label.report-ingredient-checkbox-label input[type="checkbox"]:checked + span {
  opacity: 0.30;
}

select.invalid {
  box-shadow: 0 0 5px 1px red;
}


table.vapp-table .batch-item {
  cursor: default;
  text-wrap: none;
  white-space: nowrap;
  display: inline-block;
  margin-right: 2px;
}
table.vapp-table .batch-item:last-child {
  margin-right: 0;
}
table.vapp-table .batch-item:hover {
  font-weight: bold;
}


table.vapp-table th > a > .order-toggle-text {
  white-space: nowrap;
}