html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  font-size: 12pt;
  -moz-user-select: -moz-none;
  -o-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

  /*Только айфон 10*/
  @media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3),
    /*X,
    XS,
    11pro,
    12 Mini,
    13 mini*/ (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3),
    /*XS Max,
    11 Pro Max*/ (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2),
    /*XR,
    11*/ (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3),
    /*12 Pro Max. 13 pro max,
    14 plus*/ (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3),
    /*12,
    12 Pro,
    13,
    13 pro,
    14*/ (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3),
    /*14 pro 15 15 pro 16*/ (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3),
    /*14 pro max 15 pro max 15 plus 16 plus*/ (device-width: 402px) and (device-height: 874px) and (-webkit-device-pixel-ratio: 3),
    /*16 pro*/ (device-width: 440px) and (device-height: 956px) and (-webkit-device-pixel-ratio: 3) /*16 pro max*/ {
  #sendtranzakciu {
    height: calc(100% + 4px) !important;
  }
  @media screen and (orientation: portrait) {
    body {
      height: calc(100vh + env(safe-area-inset-top)) !important;
      /* padding-left: max(12px, env(safe-area-inset-left));
             padding-right: max(12px, env(safe-area-inset-right));
             padding-top: max(20px, env(safe-area-inset-top));
             */
    }
    #onlinestatus {
      margin-top: env(safe-area-inset-top);
    }
    #lin1 {
      height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
      padding-bottom: env(safe-area-inset-bottom) !important;
    }
    #lin {
      padding-bottom: env(safe-area-inset-bottom) !important;
    }
    .polosa {
      margin-bottom: env(safe-area-inset-bottom) !important;
    }
    .infopanel_l {
      margin-top: calc(env(safe-area-inset-top) - env(safe-area-inset-bottom) - env(safe-area-inset-bottom)) !important;
    }
    #topmenu {
      padding-top: env(safe-area-inset-top);
      padding-right: max(5px, env(safe-area-inset-right));
    }
    #program {
      padding-top: calc(env(safe-area-inset-top) + 50px) !important;
    }
    .razdelitel {
      display: none !important;
    }
    .exitbutton,
    .exitbuttonstart,
    .exittop {
      border-left: 0px solid transparent !important;
      border-right: 0px solid transparent !important;
    }
    .dialogbox {
      padding-top: env(safe-area-inset-top) !important;
      padding-bottom: env(safe-area-inset-bottom) !important;
    }


    #mySidenav{
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom) ;
    }


    #sorting_end {
      top: calc(env(safe-area-inset-top) + 60px) !important;
    }

  }
  @media screen and (orientation: landscape) {
    #lin1 {
      /* padding-left: max(12px, env(safe-area-inset-left));
             padding-right: max(12px, env(safe-area-inset-right));
             padding-top: max(-10px, env(safe-area-inset-top));
             padding-top: max(20px, env(safe-area-inset-top));
             padding-right: max(12px, env(safe-area-inset-right));
             padding-right: env(safe-area-inset-right);
             padding-left: max(12px, env(safe-area-inset-left));
             */
      padding-left: env(safe-area-inset-left);
      width: 325px !important;
    }
    .raschet {
      margin-left: 0px !important;
    }
    #lin {
      width: calc(100% - 325px) !important;
    }
    #topmenu {
      padding-right: env(safe-area-inset-right);
      padding-left: env(safe-area-inset-left);
    }
    #onlinestatus {
      margin-right: env(safe-area-inset-right);
    }
    .infopanel_l {
      margin-right: 80px !important;
    }
  }
}

.clearfix {
  clear: both;
}

.swipeobj{
    position: absolute;
    right: 0px;
    top: 0px;
    padding-top: calc(50vh - 50px);
    color: #484848;
    font-weight: bold;
    font-family: sans-serif;
    width: 24px;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);;
    z-index: 1;
    /*
    right: -15px;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);

    */
    padding-left: 9px;

}

@supports (-webkit-overflow-scrolling: touch) {
  /* CSS specific to iOS devices */
  .swipeobj{
      letter-spacing: -3px !important;

      /*
      padding-left: 8px;

      */
    }
}

.dialogbox {
  display: none;
  position: fixed;
  padding: 10px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(0, 0, 0, 0.5);
}

.dialogbox_content {
  background: white;
  width: 100%;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
}



@media screen and (min-width:700px) {
    .dialogbox_min {
        padding: 70px;
    }
}

@media screen and (min-width:900px) {
    .dialogbox_min {
        padding: 120px;
    }
}

@media screen and (min-width:1300px) {
    .dialogbox_min {
        padding: 120px;
        padding-left: 180px;
        padding-right: 180px;
    }
}


@media screen and (min-width:1500px) {
    .dialogbox_min {
        padding: 120px;
        padding-left: 220px;
        padding-right: 220px;
    }
}



@media screen and (max-width:620px) {

.historypay_check_box{
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

  .historypay_check {
    width: 100%;
      height: 320px
  }
  .historypay_list {
    width: calc(100% - 10px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    height: calc(100% - 390px);
    margin: 10px;
  }
  .historypaybox_check {
    width: 280px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
    font: 10pt Tahoma;
    text-align: center;
    margin: 10px;
    padding: 10px;
  }
  .historypaybox_check_products {
    width: 260px;
    height: 100px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  /*.historypaybox_buttons_mobile {*/
    /*display: show;*/
  /*}*/
  .historypaybox_buttons_fullscreen {
    display: none;
  }
}

@media screen and (min-width:621px) {

.historypay_check_box{
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}


  .historypay_check {
    float: right;
    width: 300px;
    height: calc(100% - 60px);
  }
  .historypay_list {
    float: left;
    width: calc(100% - 320px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    height: calc(100% - 70px);
    margin: 10px;
  }
  .historypaybox_check {
    width: 280px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
    font: 10pt Tahoma;
    text-align: center;
    margin: 10px;
    padding: 10px;
  }
  .historypaybox_check_products {
    width: 260px;
    height: 200px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .historypaybox_buttons_mobile {
    display: none;
  }
  /*.historypaybox_buttons_fullscreen {*/
    /*display: show;*/
  /*}*/
}

a {
  cursor: pointer;
}

body {
  position: relative;
  background-color: #d8d8d8;
  height: 100%;
}


/*Стили фоны*/


/*По-умолчанию*/

.body_back_day::before {
  background: url(../../templates/img/fon_day.jpg) no-repeat center center;
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*серые доски*/

.body_back_gray::before {
  background: url(../../templates/img/fon_gray.jpg) no-repeat center center;
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*night доски*/

.body_back_night::before {
  background: url(../../templates/img/fon_night.jpg) no-repeat center center;
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*градиент 1*/

.body_back_gradient_1::before {
  background: url(../../templates/img/fon_gradient_1.jpg) no-repeat center center;
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*градиент 2*/

.body_back_gradient_2::before {
  background: url(../../templates/img/fon_gradient_2.jpg) no-repeat center center;
  background-size: cover;
  opacity: 1;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*градиент 3*/

.body_back_gradient_3::before {
  background: url(../../templates/img/fon_gradient_3.jpg) no-repeat center center;
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*цветок 1 */

.body_back_flower_1::before {
  background: url(../../templates/img/fon_flower_1.jpg) no-repeat center center;
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*#299f53*/

.body_back_299f53::before {
  background: #299f53;
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*#6a2d84*/

.body_back_6a2d84::before {
  background: #6a2d84;
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*#2c3e50*/

.body_back_2c3e50::before {
  background: #2c3e50;
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*#f1c40f*/

.body_back_f1c40f::before {
  background: #f1c40f;
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*#dedede*/

.body_back_dedede::before {
  background: rgba(232, 232, 232, 1);
  background: -moz-linear-gradient(left, rgba(232, 232, 232, 1) 0%, rgba(201, 201, 201, 1) 100%);
  background: -webkit-gradient(left top, right top, color-stop(0%, rgba(232, 232, 232, 1)), color-stop(100%, rgba(201, 201, 201, 1)));
  background: -webkit-linear-gradient(left, rgba(232, 232, 232, 1) 0%, rgba(201, 201, 201, 1) 100%);
  background: -o-linear-gradient(left, rgba(232, 232, 232, 1) 0%, rgba(201, 201, 201, 1) 100%);
  background: -ms-linear-gradient(left, rgba(232, 232, 232, 1) 0%, rgba(201, 201, 201, 1) 100%);
  background: linear-gradient(to right, rgba(232, 232, 232, 1) 0%, rgba(201, 201, 201, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8e8e8', endColorstr='#c9c9c9', GradientType=1);
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*#f39c12*/

.body_back_f39c12::before {
  background: #f39c12;
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*#2980b9*/

.body_back_2980b9::before {
  background: #2980b9;
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}


/*#16a085*/

.body_back_16a085::before {
  background: #16a085;
  background-size: cover;
  content: ' ';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: -1;
}






/*Стили фоны КОНЕЦ*/

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}


.paykeytd, .askkeytd{
  border: 1px solid #e4e4e4;
  cursor: pointer;
  width: 33%;
  max-width: 33%;
  padding: 0px;
}


.paykey,
.paykeyo,
.askkey,
.askkeyo {
  border: 0px solid #e4e4e4;
  cursor: pointer;
  background:transparent;
}

.paykey,
.askkey {
      border: 1px solid #e4e4e4;
  font-size: 18pt;
    width: 100%;
  height: 100%;
  border: 0px;
}

.paykeyo,
.askkeyo {
        border-left: 1px solid #e4e4e4;
  font-size: 14pt;
}

.input-field {
  color: gray;
}

.validate {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #9e9e9e;
  border-radius: 0;
  outline: none;
  width: calc(100% - 50px);
  font-size: 16pt;
  padding: 0;
  box-shadow: none;
  box-sizing: content-box;
  transition: all 0.3s;
  border-bottom: 1px solid #4CAF50;
  box-shadow: 0 1px 0 0 #4CAF50;
}

.activeinputcash {
  border-bottom: 2px solid red !important;
  box-shadow: none !important;
}

@media screen and (min-width:850px) {
  .payform {
    padding: 45px;
  }
  .validate {
    width: calc(100% - 35px);
    font-size: 24pt;
  }
  .inputrow {
    margin-bottom: 55px;
  }
  .leftpaymentsblock {
    float: left;
    width: 50%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .rightpaymentsblock {
      border-left: 1px solid #d4d4d4;
    float: right;
    width: 50%;
    height: 100%;
  }
}

@media screen and (min-width:550px) and (max-width:849px) {
  .payform {
    padding: 20px;
  }
  .validate {
    font-size: 16pt;
  }
  .inputrow {
    margin-bottom: 15px;
  }
  .leftpaymentsblock {
    width: 100%;
    height: 60%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .rightpaymentsblock {
    width: 100%;
    height: 40%;
  }
}

@media screen and (max-width:550px) {
  .minimobile {
    display: none;
  }
  .payform {
    margin-left: 15px;
    margin-right: 15px;
  }
  .validate {
    font-size: 12pt;
  }
  .inputrow {
    margin-bottom: 15px;
  }
  .leftpaymentsblock {
    width: 100%;
    height: 60%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .rightpaymentsblock {
    width: 100%;
    height: 40%;
  }
}

@media screen and (min-width:551px) {
  .minimobile1 {
    display: none;
  }
}

@media screen and (min-height:1000px) {
  .inputrow {
    margin-bottom: 55px;
  }
}

.overflowdesktsoponly {
  height: calc(100% - 30px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#onlinestatus {
  position: fixed;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.48);
}

.basketstatusdisabled {
  opacity: 0.5;
}

.basketstatusselected {
  /* box-shadow: inset 0 50px 50px -50px #fff, inset 0 -50px 50px -50px #fff,inset 50px 0 50px -50px #fff,inset -50px 0 50px -50px #fff !important;
    */
}

.basket_item_comments {
  font-size: 8pt;
  color: #55595c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.basket_item_cmods {
  font-size: 7pt;
  color: #000;
  /*white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;*/
}

.basket .cooked {
  background: rgba(215, 44, 44, 0.2);
}

.basket .cooking {
  background: #fffbb6;
}

.basket .done {
  background: #b4efb4;
}

.caret {
  display: inline-block;
  height: 10px;
  width: 10px;
  margin-left: 2px;
  vertical-align: middle;
  background: url(/templates/img/arrow_white.svg) no-repeat;
  background-size: cover;
}

.alertify-show,
.alertify-log {
  -webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1);
  -webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
  -moz-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
  -ms-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
  -o-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
  transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

.alertify-hide {
  -webkit-transition: all 250ms cubic-bezier(0.600, 0, 0.735, 0.045);
  -webkit-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
  -moz-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
  -ms-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
  -o-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
  transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
}

.alertify-log-hide {
  -webkit-transition: all 500ms cubic-bezier(0.600, 0, 0.735, 0.045);
  -webkit-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
  -moz-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
  -ms-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
  -o-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
  transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
}

.alertify-cover {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.alertify-cover-hidden {
  display: none;
}

.alertify {
  position: fixed;
  z-index: 99999;
  top: 50px;
  left: 50%;
  width: 550px;
  margin-left: -275px;
  opacity: 1;
}

.alertify-hidden {
  -webkit-transform: translate(0, -150px);
  -moz-transform: translate(0, -150px);
  -ms-transform: translate(0, -150px);
  -o-transform: translate(0, -150px);
  transform: translate(0, -150px);
  opacity: 0;
  display: none;
}

 :root *>.alertify-hidden {
  display: block;
}

.alertify-logs {
  position: fixed;
  z-index: 9999999999999999999999999;
  bottom: 10px;
  right: 10px;
  width: 300px;
}

.alertify-logs-hidden {
  display: none;
}

.alertify-log {
  display: block;
  margin-top: 10px;
  position: relative;
  right: -300px;
  opacity: 0;
}

.alertify-log-show {
  right: 0;
  opacity: 1;
}

.alertify-log-hide {
  -webkit-transform: translate(300px, 0);
  -moz-transform: translate(300px, 0);
  -ms-transform: translate(300px, 0);
  -o-transform: translate(300px, 0);
  transform: translate(300px, 0);
  opacity: 0;
}

.alertify-dialog {
  padding: 25px;
}

.alertify-resetFocus {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.alertify-inner {
  text-align: center;
}

.alertify-text {
  margin-bottom: 15px;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 100%;
}

.alertify-buttons {}

.alertify-button,
.alertify-button:hover,
.alertify-button:active,
.alertify-button:visited {
  background: none;
  text-decoration: none;
  border: none;
  line-height: 1.5;
  font-size: 100%;
  display: inline-block;
  cursor: pointer;
  margin-left: 5px;
}

.alertify-isHidden {
  visibility: hidden;
}

[type="radio"]:not(:checked),
[type="radio"]:checked {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

[type="radio"]:not(:checked)+label,
[type="radio"]:checked+label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  display: inline-block;
  height: 25px;
  line-height: 25px;
  font-size: 1rem;
  transition: .28s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

[type="radio"]+label:before,
[type="radio"]+label:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  margin: 4px;
  width: 16px;
  height: 16px;
  z-index: 0;
  transition: .28s ease;
}

[type="radio"]:not(:checked)+label:before,
[type="radio"]:not(:checked)+label:after,
[type="radio"]:checked+label:before,
[type="radio"]:checked+label:after,
[type="radio"].with-gap:checked+label:before,
[type="radio"].with-gap:checked+label:after {
  border-radius: 50%;
}

[type="radio"]:not(:checked)+label:before,
[type="radio"]:not(:checked)+label:after {
  border: 2px solid #5a5a5a;
}

[type="radio"]:not(:checked)+label:after {
  -webkit-transform: scale(0);
  transform: scale(0);
}


/*checked*/

[type="radio"]:checked+label:before {
  border: 2px solid transparent;
}

[type="radio"]:checked+label:after,
[type="radio"].with-gap:checked+label:before,
[type="radio"].with-gap:checked+label:after {
  border: 2px solid #5cb85c;
}

[type="radio"]:checked+label:after,
[type="radio"].with-gap:checked+label:after {
  background-color: #5cb85c;
}

[type="radio"]:checked+label:after,
[type="radio"].mark_red:checked+label:before,
[type="radio"].mark_red:checked+label:after {
  border: 2px solid #d32f2f;
}

[type="radio"]:checked+label:after,
[type="radio"].mark_red:checked+label:after {
  background-color: #d32f2f;
}





[type="radio"]:checked+label:after {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}

[type="radio"].with-gap:checked+label:after {
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
}

[type="radio"].tabbed:focus+label:before {
  box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.1);
}

[type="radio"].with-gap:disabled:checked+label:before {
  border: 2px solid rgba(0, 0, 0, 0.26);
}

[type="radio"].with-gap:disabled:checked+label:after {
  border: none;
  background-color: rgba(0, 0, 0, 0.26);
}


/*disabled*/

[type="radio"]:disabled:not(:checked)+label:before,
[type="radio"]:disabled:checked+label:before {
  background-color: transparent;
  border-color: rgba(0, 0, 0, 0.26);
}

[type="radio"]:disabled+label,
[type="radio"]:disabled:not(:checked)+label:before {
  color: rgba(0, 0, 0, 0.26);
}

[type="radio"]:disabled:checked+label:after {
  background-color: rgba(0, 0, 0, 0.26);
  border-color: #bdbdbd;
}

form p {
  margin-bottom: 10px;
  text-align: left;
}

form p:last-child {
  margin-bottom: 0;
}


/* Remove default checkbox */

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

[type="checkbox"] {
  /* checkbox aspect */
}

[type="checkbox"]+label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  display: inline-block;
  height: 25px;
  line-height: 25px;
  font-size: 1rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -ms-user-select: none;
}

[type="checkbox"]+label:before,
[type="checkbox"]:not(.filled-in)+label:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  z-index: 0;
  border: 2px solid #5a5a5a;
  border-radius: 1px;
  margin-top: 2px;
  transition: .2s;
}

[type="checkbox"]:not(.filled-in)+label:after {
  border: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}

[type="checkbox"]:not(:checked):disabled+label:before {
  border: none;
  background-color: rgba(0, 0, 0, 0.26);
}

[type="checkbox"].tabbed:focus+label:after {
  border: 0;
  -webkit-transform: scale(1);
  transform: scale(1);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: rgba(0, 0, 0, 0.1);
}

[type="checkbox"]:checked+label:before {
  top: -4px;
  left: -5px;
  width: 12px;
  height: 22px;
  border-style: solid;
  border-width: 2px;
  border-color: transparent #5cb85c #5cb85c transparent;
  -webkit-transform: rotate(40deg);
  transform: rotate(40deg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}

[type="checkbox"]:checked+label.check_mark_red:before {
  top: -4px;
  left: -5px;
  width: 12px;
  height: 22px;
  border-style: solid;
  border-width: 2px;
  border-color: transparent #e0211a #d11f18 transparent;
  -webkit-transform: rotate(40deg);
  transform: rotate(40deg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}

[type="checkbox"]:checked:disabled+label:before {
  border-right: 2px solid rgba(0, 0, 0, 0.26);
  border-bottom: 2px solid rgba(0, 0, 0, 0.26);
}


/* Indeterminate checkbox */

[type="checkbox"]:indeterminate+label:before {
  top: -11px;
  left: -12px;
  width: 10px;
  height: 22px;
  border-top: none;
  border-left: none;
  border-right: 2px solid #5cb85c;
  border-bottom: none;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}

[type="checkbox"]:indeterminate:disabled+label:before {
  border-right: 2px solid rgba(0, 0, 0, 0.26);
  background-color: transparent;
}

[type="checkbox"].filled-in+label:after {
  border-radius: 2px;
}

[type="checkbox"].filled-in+label:before,
[type="checkbox"].filled-in+label:after {
  content: '';
  position: absolute;
  left: 0;
  /* .1s delay is for check animation */
  transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
  z-index: 1;
}

[type="checkbox"].filled-in:not(:checked)+label:before {
  width: 0;
  height: 0;
  border: 3px solid transparent;
  left: 6px;
  top: 10px;
  -webkit-transform: rotateZ(37deg);
  transform: rotateZ(37deg);
  -webkit-transform-origin: 20% 40%;
  transform-origin: 100% 100%;
}

[type="checkbox"].filled-in:not(:checked)+label:after {
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: 2px solid #5a5a5a;
  top: 0px;
  z-index: 0;
}

[type="checkbox"].filled-in:checked+label:before {
  top: 0;
  left: 1px;
  width: 8px;
  height: 13px;
  border-style: solid;
  border-width: 2px;
  border-color: transparent #fff #fff transparent;
  -webkit-transform: rotateZ(37deg);
  transform: rotateZ(37deg);
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}

[type="checkbox"].filled-in:checked+label:after {
  top: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #5cb85c;
  background-color: #5cb85c;
  z-index: 0;
}

[type="checkbox"].filled-in.tabbed:focus+label:after {
  border-radius: 2px;
  border-color: #5a5a5a;
  background-color: rgba(0, 0, 0, 0.1);
}

[type="checkbox"].filled-in.tabbed:checked:focus+label:after {
  border-radius: 2px;
  background-color: #5cb85c;
  border-color: #5cb85c;
}

[type="checkbox"].filled-in:disabled:not(:checked)+label:before {
  background-color: transparent;
  border: 2px solid transparent;
}

[type="checkbox"].filled-in:disabled:not(:checked)+label:after {
  border-color: transparent;
  background-color: #bdbdbd;
}

[type="checkbox"].filled-in:disabled:checked+label:before {
  background-color: transparent;
}

[type="checkbox"].filled-in:disabled:checked+label:after {
  background-color: #bdbdbd;
  border-color: #bdbdbd;
}


/* Switch */

.switch,
.switch * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -ms-user-select: none;
}

.switch label {
  cursor: pointer;
}

.switch label input[type=checkbox] {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch label input[type=checkbox]:checked+.lever {
  background-color: #84c7c1;
}

.switch label input[type=checkbox]:checked+.lever:after {
  background-color: #5cb85c;
  left: 24px;
}

.switch label .lever {
  content: "";
  display: inline-block;
  position: relative;
  width: 40px;
  height: 15px;
  background-color: #818181;
  border-radius: 15px;
  margin-right: 10px;
  transition: background 0.3s ease;
  vertical-align: middle;
  margin: 0 16px;
}

.switch label .lever:after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 21px;
  height: 21px;
  background-color: #F1F1F1;
  border-radius: 21px;
  box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4);
  left: -5px;
  top: -3px;
  transition: left 0.3s ease, background .3s ease, box-shadow 0.1s ease;
}

input[type=checkbox]:checked:not(:disabled)~.lever:active::after,
input[type=checkbox]:checked:not(:disabled).tabbed:focus~.lever::after {
  box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(38, 166, 154, 0.1);
}

input[type=checkbox]:not(:disabled)~.lever:active:after,
input[type=checkbox]:not(:disabled).tabbed:focus~.lever::after {
  box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(0, 0, 0, 0.08);
}

.switch input[type=checkbox][disabled]+.lever {
  cursor: default;
}

.switch label input[type=checkbox][disabled]+.lever:after,
.switch label input[type=checkbox][disabled]:checked+.lever:after {
  background-color: #bdbdbd;
}


/* default */

.alertify,
.alertify-log {
  font-family: sans-serif;
}

.alertify {
  background: #FFF;
  border: 10px solid #333;
  /* browsers that don't support rgba */
  border: 10px solid rgba(0, 0, 0, .7);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, .3);
  -webkit-background-clip: padding;
  -moz-background-clip: padding;
  background-clip: padding-box;
}

.alertify-text {
  border: 1px solid #ddd;
  padding: 10px;
  height: 30px !important;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.alertify form {
  margin-bottom: 0 !important;
}

.alertify-button {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  color: #FFF;
  font-weight: bold;
  padding: 6px 15px;
  text-decoration: none;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .5);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, .5);
  background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0));
  background-image: -moz-linear-gradient(top, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0));
  background-image: -ms-linear-gradient(top, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0));
  background-image: -o-linear-gradient(top, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0));
  background-image: linear-gradient(top, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0));
}

.alertify-button-cancel,
.alertify-button-cancel:hover,
.alertify-button-cancel:focus {
  background-color: #FE1A00;
  color: #fff;
}

.alertify-button-ok,
.alertify-button-ok:hover,
.alertify-button-ok:focus {
  background-color: #5CB811;
  color: #fff;
}

.alertify-log {
  background: #fce729;
  background: rgba(250, 238, 74, 0.9);
  padding: 15px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  color: #000;
}

.alertify-log-error {
  background: #FE1A00;
  background: rgba(254, 26, 0, .9);
}

.alertify-log-success {
  background: #5CB811;
  background: rgba(92, 184, 17, .9);
}

@media only screen and (max-width: 680px) {
  .alertify,
  .alertify-logs {
    width: 90%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .alertify {
    left: 5%;
    margin: 0;
  }
}

.inputerror {
  outline: 2px solid red;
  /* Пунктирная рамка */
}

#podlojka {
  position: fixed;
  background: rgba(0, 0, 0, 0.6);
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 99;
}

#loadImg {
position: absolute;
    z-index: 20000;
    display: none;
    max-width: 200px;
    max-height: 200px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(72, 72, 72, 0.2);
    left: calc(50% - 67px);
    top: calc(50% - 67px);
}







.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:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}

.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loader,
.loaderbasket {
  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;
  margin: 50px auto;
}

.loader {
  color: #ffffff;
  text-indent: -9999em;
}

.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;
  }
}

.loaderbasket,
.loaderbasket:before,
.loaderbasket:after {
  background: #dddddd;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}

.loaderbasket:before,
.loaderbasket:after {
  content: '';
  position: absolute;
  top: 0;
}

.loaderbasket:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loaderbasket {
  color: #dddddd;
  text-indent: -9999em;
  display: none;
}

.loaderbasket: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;
  }
}

#program {
  padding-top: 50px;
}

a:hover {
  text-decoration: none;
  color: #fff;
}

.choice_user {
  display: none;
}

@media screen and (min-width:600px) {
  #choice_user_container {
    display: none;
    display: block;
    float: left;
  }
}

.enter_pin {
  display: none;
}

.hall_desktop {
  display: none;
}

.terminal {
  display: none;
}

#topmenu {
  position: fixed;
  width: 100%;
  /*height:50px;
    */
  color: white;
  background: #484848;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.48);
  z-index: 2;
  display: none;
}

.exittop {
  position: relative;
  cursor: pointer;
  padding-top: 13px;
  float: right;
  border-left: 1px solid black;
  border-right: 1px solid black;
  height: 50px;
  padding-left: 7px;
  padding-right: 7px;
}

.left {
  float: left;
}

.right {
  float: right;
}

.exitbutton,
.exitbuttonstart {
  position: relative;
  cursor: pointer;
  color: white;
  float: right;
  border-left: 1px solid black;
  height: 50px;
  padding-top: 13px;
  padding-left: 7px;
  padding-right: 7px;
}

.v_user {
  position: relative;
  top: 2px;
  padding-top: 10px;
  padding-bottom: 13px;
  padding-left: 5px;
  padding-right: 10px;
  /*margin-left:14px;
    */
}

@media screen and (max-width:599px) {
  .userblock {
    width: calc(100% - 25px);
    background: white;
    margin: 15px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    cursor: pointer;
  }
  .squareblock {
    width: calc(100% - 25px);
    background: white;
    margin: 15px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    cursor: pointer;
  }
}

@media screen and (min-width:600px) {
  .userblock {
    float: left;
    background: white;
    margin: 5px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    cursor: pointer;
  }
  .squareblock {
    float: left;
    background: white;
    margin: 5px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    cursor: pointer;
  }
}

@media screen and (min-height:450px) {
  #keyboard {
    width: 308px;
    height: 263px;
    margin: 0 auto;
    padding-top: 15px;
    float: left;
  }
  .key {
    width: 100px;
    height: 60px;
    float: left;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    margin-top: 2px;
    margin-left: 1px;
    margin-right: 1px;
    cursor: pointer;
  }
  .keytext {
    margin: 0 auto;
    padding-top: 15px;
    font-size: 14pt;
    font-weight: 450;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
  }
}

@media screen and (max-height:449px) {
  #keyboard {
    width: 205px;
    height: 183px;
    margin: 0 auto;
    padding-top: 15px;
    float: left;
  }
  .key {
    width: 66px;
    height: 40px;
    float: left;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    margin-top: 2px;
    margin-left: 1px;
    margin-right: 1px;
    cursor: pointer;
  }
  .keytext {
    margin: 0 auto;
    padding-top: 8px;
    font-weight: bold;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
  }
  .passblock {
    width: 200px;
    height: 40px;
    margin: 0 auto;
  }
  .charpin,
  .charpinend {
    width: 35px;
    height: 40px;
    background: white;
    float: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    text-align: center;
  }
  .charpin {
    margin-right: 20px;
  }
  .pintext {
    color: grey;
    font-size: 18pt;
    margin-top: 6px;
  }
}

@media screen and (min-height:450px) {
  .passblock {
    width: 305px;
    height: 60px;
    margin: 0 auto;
  }
  .charpin,
  .charpinend {
    width: 65px;
    height: 60px;
    background: white;
    float: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    text-align: center;
  }
  .charpin {
    margin-right: 14px;
  }
  .pintext {
    color: grey;
    font-size: 28pt;
    margin-top: 6px;
  }
}

@media screen and (max-width:1099px) {
  .zablokirovat {
    display: none;
  }
  .exit,
  .exitbuttonstart {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.desktopblock {
  height: 100px;
  background: white;
  margin: 15px;
  padding: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.desktopchangeblock {
  height: 100px;
  background: white;
  margin: 15px;
  padding: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.warning {
  position: absolute;
  top: -13px;
  left: -0px;
}

.checkcount {
  position: absolute;
  top: -13px;
  right: -0px;
}

.deskmsg,
.deskmsgdone,
.deskmsgcooking,
.deskmsgcooked {
  font-size: 12pt;
  text-align: center;
  width: 30px;
  height: 30px;
  padding-top: 2px;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.deskmsgdone,
.deskmsgcooking,
.deskmsgcooked {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.deskmsg {
  background: #fff;
  color: #000;
}

.deskmsgdone {
  background: #5cb85c;
}

.deskmsgcooking {
  background: #FFC107;
}

.deskmsgcooked {
  background: #d60047;
}

.deskmsgarchcnt {
  float: right;
  font-size: 12pt;
  text-align: center;
  width: 30px;
  height: 30px;
  padding-top: 2px;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  background: #5785ce;
}

#zal {
  margin: 0 auto
  /*742x462*/
  ;
}

@media screen and (min-width:600px) {
  .circle,
  .square,
  .squarecircle,
  .squarecircle1 {
    position: absolute;
    border: 0px solid #fff;
    background: #fff;
    color: black;
    font-size: 14pt;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
  }
  .circle {
    border-radius: 300px;
  }
  .square {}
  .squarecircle {
    border-radius: 25px;
  }
  .squarecircle1 {
    border-radius: 50px;
  }
}

.infopanel,
.infopanel_l {
  color: white;
  text-shadow: 0px 0px 4px black, 0 0 1em black;
}

.infopanel {
  float: right;
}

.infopanel_l {
  float: right;
  margin-top: 10px;
  margin-right: 10px;
}


/*Терминал*/

@media screen and (min-width:1100px) {
  .liniya {
    display: inline-block;
    background: rgb(168, 0, 0);
    opacity: 0.9;
    width: 167px;
    height: 130px;
    margin-right: -1.5px;
    color: #000;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    border-radius: 0px;
  }
  #container {
    position: absolute;
    top: 0px;
    left: 8px;
    width: calc(100% - 0px);
    height: 145px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overflow-y: hidden;
    white-space: nowrap;
  }
  #container_par {
    position: relative;
    width: calc(100% - 20px);
    height: 150px;
  }
  #client_box>input {
    width: 295px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* #container {
         position:absolute;
         top:35px;
         right:12px;
         width:calc(100% - 400px);
        height: 140px;
         overflow-x: auto;
        overflow-y: hidden;
         -webkit-overflow-scrolling:touch;
         white-space: nowrap;
    }
     */
  @-moz-document url-prefix() {
    #container {
      position: absolute;
      top: 0px;
      right: 12px;
      width: calc(100% - 0px);
      height: 140px;
      overflow-x: hidden;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      white-space: nowrap;
    }
  }
  .circles {
    position: relative;
    left: 45px;
    top: 15px;
    width: 80px;
    height: 80px;
    background: white;
    -moz-border-radius: 33px;
    -webkit-border-radius: 33px;
    border-radius: 33px;
    background-size: cover;
    background-position: center;
  }
  .backs {
    display: none;
  }
  .category {
    position: relative;
    top: -71px;
    color: #fff;
    width: 167px;
    font-size: 16pt;
  }
  .categorytext {
    margin-top: 85px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
  }
  #lin1 {
    width: 380px;
    height: calc(100vh - 50px);
    float: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24), 0 1px 2px rgba(0, 0, 0, 0.48);
    background: rgba(255, 255, 255, 1);
    z-index: 1;
  }
  #discount_box {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #lin {
    width: calc(100% - 380px);
    height: calc(100vh - 50px);
    float: right;
    background: rgba(255, 239, 212, 0);
  }
  .basket {
    width: 375px;
  }
  #basket {
    margin-left: 0px;
    width: 380px;
    height: calc(100% - 240px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  #tocook,
  #loadbutton,
  #pusto,
  #saveorder,
  #cooked,
  #delivering,
  #dostavleno,
  #paynow {
    width: 350px;
    height: 60px;
    margin-bottom: 7px;
  }


    #paynow_cash{
        margin-right: 5px;
    }

  #paynow_cash,#paynow_electron {
    width: 170px;
    height: 60px;
    margin-bottom: 7px;
    font-size: 20pt;
  }

  #pusto,
  #saveorder,
  #paynow {
    display: none;
  }
  .dopmenu {
    width: 80px;
    height: 60px;
    background: #dddddd;
  }
  .raschet {
    margin-left: 10px;
    padding: 5px;
    bottom: 20px;
    height: 160px;
    width: 360px;
    vertical-align: bottom;
  }
  .allcenabox {
    width: 360px;
    height: 35px;
    margin-bottom: 5px;
    font-size: 18pt;
  }
  .bottominfopanel {
    width: calc( 100% - 390px);
  }
  #desktopheader {
    margin-left: 70px;
    margin-right: 60px;
    margin-top: 12px;
    float: left;
    color: white;
    font-size: 11pt;
  }




  #board {
    width: calc(100% - 10px);
    height: calc(100% - 185px);
    margin-left: 8px;
    padding-right: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

.breadcrumbsgoodsbox{
     height: calc(100% - 135px) !important;
}



  #boardtable {
    width: calc(100% - 15px);
    height: calc(100vh - 95px);
    margin-left: 8px;
    padding-right: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 10px;
  }
}

@media screen and (min-width:731px) and (max-width:1099px) {
  .liniya {
    display: inline-block;
    background: rgb(168, 0, 0);
    opacity: 0.9;
    width: 100px;
    height: 85px;
    margin-right: -1.5px;
    border-radius: 0px;
    color: #000;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
    cursor: pointer;
  }
  #container {
    position: absolute;
    top: 0px;
    left: 8px;
    width: calc(100% - 0px);
    height: 96px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  #container_par {
    position: relative;
    width: calc(100% - 20px);
    height: 100px;
  }
  .categorytext {
    height: 20px;
    margin-top: 107px;
    white-space: nowrap;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    text-overflow: ellipsis;
  }
  .circles {
    position: relative;
    left: 28px;
    top: 11px;
    width: 45px;
    height: 45px;
    background: white;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
  }
  .category {
    position: relative;
    top: -93px;
    width: 100px;
    color: #fff;
    font-size: 11pt;
  }
  #lin1 {
    float: left;
    width: 280px;
    height: calc(100vh - 50px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24), 0 1px 2px rgba(0, 0, 0, 0.48);
  }
  #client_box>input {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #discount_box {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #lin {
    float: right;
    width: calc(100% - 280px);
    height: calc(100vh - 50px);
    background: rgba(255, 239, 212, 0);
  }
  .basket {
    width: 275px;
  }
  .basket_item_comments {
    width: 100px;
  }

    .basket_item_cmods {
    width: 100px;
  }
  #basket {
    margin-left: 0px;
    width: 280px;
    height: calc(100% - 200px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  #tocook,
  #loadbutton,
  #pusto,
  #cooked,
  #delivering,
  #dostavleno,
  #saveorder,
  #paynow {
    width: 250px;
    height: 40px;
    margin-bottom: 7px;
  }

  #paynow_cash, #paynow_electron {
    width: 120px;
    height: 40px;
    margin-bottom: 7px;
    font-size: 15pt;
  }

  #paynow_cash{
    margin-right: 5px;
  }

  #pusto {
    display: none;
  }
  #paynow,
  #saveorder {
    display: none;
  }
  .dopmenu {
    width: 55px;
    height: 40px;
    background: #dddddd;
  }
  .raschet {
    margin-left: 10px;
    padding: 5px;
    bottom: 20px;
    height: 120px;
    width: 260px;
    vertical-align: bottom;
  }
  .allcenabox {
    width: 260px;
    height: 35px;
    margin-bottom: 5px;
    font-size: 18pt;
  }
  .bottominfopanel {
    width: calc( 100% - 290px);
  }
  #desktopheader {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 12px;
    float: left;
    color: white;
    font-size: 12pt;
  }
  .zablokirovat {
    display: none;
  }
  #board {
    width: calc(100% - 10px);
    height: calc(100% - 130px);
    margin-left: 8px;
    padding-right: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #boardtable {
    width: calc(100% - 10px);
    height: calc(100% - 120px);
    margin-left: 8px;
    padding-right: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media screen and (max-width:730px) {
  .liniya {
    display: inline-block;
    vertical-align: middle;
    width: 90px;
    height: 76px;
    color: #000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
    background: rgb(168, 0, 0);
    opacity: 0.9;
    cursor: pointer;
    border-radius: 0px;
    margin-right: -1.5px;
  }
  #container {
    position: absolute;
    top: 0px;
    left: 8px;
    width: calc(100% - 0px);
    height: 81px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  #container_par {
    position: relative;
    width: calc(100% - 15px);
    height: 85px;
  }
  .categorytext {
    margin-top: 107px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 20px;
  }
  .circles {
    position: relative;
    left: 26px;
    top: 8px;
    width: 40px;
    height: 40px;
    background: white;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
  }
  .category {
    position: relative;
    top: -95px;
    color: #fff;
    width: 90px;
    font-size: 9pt;
  }
  #lin1 {
    position: absolute;
    left: -261px;
    width: 280px;
    height: calc(100vh - 50px);
    float: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24), 0 1px 2px rgba(0, 0, 0, 0.48);
    background: #fff;
    will-change: transform;
  }
  #discount_box {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #lin {
    width: calc(100% - 20px);
    height: calc(100vh - 50px);
    float: right;
    background: rgba(255, 239, 212, 0);
  }
  .basket {
    width: 275px;
  }
  .basket_item_comments {
    width: 100px;
  }

    .basket_item_cmods {
    width: 100px;
  }
  #basket {
    margin-left: 0px;
    width: 280px;
    height: calc(100% - 205px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  #tocook,
  #loadbutton,
  #pusto,
    #cooked,
  #delivering,
  #dostavleno,
  #saveorder,
  #paynow {
    width: 250px;
    height: 40px;
    margin-bottom: 7px;
  }


  #paynow_cash, #paynow_electron {
    width: 120px;
    height: 40px;
    margin-bottom: 7px;
    font-size: 15pt;
  }

  #paynow_cash{
    margin-right: 5px;
  }

  
  #pusto,
  #saveorder,
  #paynow {
    display: none;
  }
  .dopmenu {
    width: 54px;
    height: 40px;
    background: #dddddd;
  }
  .raschet {
    margin-left: 10px;
    padding: 5px;
    bottom: 20px;
    height: 120px;
    width: 260px;
    vertical-align: bottom;
  }
  .allcenabox {
    width: 260px;
    height: 35px;
    margin-bottom: 5px;
    font-size: 18pt;
  }
  .bottominfopanel {
    width: calc( 100% - 290px);
  }
  #desktopheader {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 12px;
    float: left;
    color: white;
    font-size: 12pt;
  }
  .zablokirovat {
    display: none;
  }
  #board {
    width: calc(100% - 2px);
    height: calc(100% - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: 8px;
    padding-right: 10px;
  }
  #boardtable {
    width: calc(100% - 10px);
    height: calc(100% - 110px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: 8px;
    padding-right: 10px;
  }
}

#left {
  width: 920px;
}

#right {
  width: 300px;
}

.basket {
  color: black;
}

 ::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

 ::-webkit-scrollbar-track {
  /*background-color: #fff;
    */
  /*border-left: 1px solid #ccc;
    */
}

 ::-webkit-scrollbar-thumb {
  background-color: #ccc;
}

 ::-webkit-scrollbar-thumb:hover {
  background-color: #aaa;
}



.big-scrollbar ::-webkit-scrollbar{
      width: 60px !important;
}

#circle1 {
  position: relative;
  top: 4px;
  margin-bottom: 4px;
  width: 80px;
  height: 80px;
  background: white;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  border-radius: 40px;
}

.disabled {
  color: grey;
}

.polosa,
.polosa_term {
  position: fixed;
  height: 1px;
  background-image: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1) 80%, rgba(0, 0, 0, 0)), -webkit-linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8) 80%, rgba(255, 255, 255, 0)), -webkit-radial-gradient(50% 50%, ellipse cover, rgba(255, 255, 255, 255), rgba(0, 0, 0, 0) 70%);
  bottom: 27px;
  right: 0;
  z-index: 999;
}

.polosa {
  width: calc(100% - 0px);
}

.nokey {
  width: 57px;
  height: 38px;
  float: left;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  margin-top: 2px;
  margin-left: 1px;
  margin-right: 1px;
}

.key:active {
  background: #f1f1f3;
}

#prodattovar {
  cursor: pointer;
  text-align: center;
}

#prodattovar1:active {
  background: #d60047;
}

@media screen and (min-width: 1100px) {
  .infopanel {
    float: right;
    color: white;
    text-shadow: 0px 0px 4px black, 0 0 1em black;
  }
  .polosa_term {
    width: calc(100% - 380px);
  }
}




@media screen and (max-width: 1100px) {

.basket_summ{
 display: none;
}

  .infopanel {
    display: none;
  }
  .polosa_term {
    width: calc(100% - 280px);
  }
}

.infopanel1 {
  float: left;
  color: white;
  text-shadow: 0px 0px 4px black, 0 0 1em black;
}

#nall:focus {
  outline: none;
}

#desktop,
.dropdown {
  float: left;
  position: relative;
  cursor: pointer;
  color: white;
}

#desktop {
  padding-left: 7px;
  padding-right: 7px;
  padding-top: 12px;
  padding-bottom: 13px;
}

.dropdown-toggle {
  color: black;
  padding: 20px 5px 20px 5px;
  text-decoration: none;
  cursor: pointer;
}


/*board*/

@media screen and (min-width:1100px) {
  .namesinput {
    width: 120px;
  }
  .night .addbasket {
    cursor: pointer;
    border-radius: 0px;
    background: white;
    margin-bottom: 4px;
    margin-right: 3px;
    height: 120px;
    background-repeat: no-repeat;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
  }
  .tovarnamecontainer {
    width: 100%;
    height: 27px;
    background: rgba(255, 255, 255, 0.85);
    margin-top: 15px;
  }
  .night .names {
    float: left;
    font-size: 11pt;
    color: black;
    background-color: rgba(255, 255, 255, 0.75);
    overflow: hidden;
    border: 0;
    width: 167px;
    cursor: pointer;
    margin-top: 100px;
  }
  .night .names .cena {
    float: right;
    font-size: 11pt;
    color: #a80000;
  }
  .light .addbasket {
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
    border-radius: 0px;
    background: white;
    margin-bottom: 5px;
    margin-right: 3px;
    height: 120px;
    background: rgba(255, 255, 255, 1);
    background-repeat: no-repeat
  }
  .light .addbasket .names {
    background-color: transparent;
    overflow: hidden;
    color: black;
    border: 0;
    width: 167px;
    height: 50px;
    cursor: pointer;
    margin-top: 4px;
    font-size: 13pt;
    font-weight: 4000;
    text-align: center;
    text-shadow: 0px 0px 4px white, 0 0 1em white;
    padding-left: 3px;
    padding-right: 3px;
  }
  .light .addbasket .cena {
    padding-bottom: 4px;
    color: #a80000;
    font-size: 14pt;
    text-shadow: 2px 2px 6px white, 0 0 1em white;
    font-weight: 500;
  }
  .light {
    display: inline-block;
    vertical-align: middle;
  }
}

@media screen and (max-width:1099px) {
  .dropdown-menu>li>a {
    font-size: 9pt;
  }
  .namesinput {
    width: 60px;
    font-size: 9pt;
  }
  .night .addbasket {
    cursor: pointer;
    border-radius: 0px;
    background: white;
    margin-bottom: 4px;
    margin-right: 3px;
    height: 80px;
    background-repeat: no-repeat;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
  }
  .tovarnamecontainer {
    width: 100%;
    height: 25px;
    background: rgba(255, 255, 255, 0.85);
    margin-top: 1px;
  }
  .night .names {
    background-color: rgba(255, 255, 255, 0.75);
    overflow: hidden;
    float: left;
    color: black;
    border: 0;
    width: 100px;
    cursor: pointer;
    margin-top: 64px;
    font-size: 9pt;
  }
  .night .names .cena {
    float: right;
    font-size: 11pt;
    color: #a80000;
  }
  .light .addbasket {
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
    border-radius: 0px;
    background: white;
    margin-bottom: 4px;
    margin-right: 3px;
    height: 80px;
    background: rgba(255, 255, 255, 1);
    background-repeat: no-repeat
  }
  .light .addbasket .names {
    background-color: transparent;
    overflow: hidden;
    text-align: center;
    color: black;
    border: 0;
    width: 100px;
    height: 40px;
    cursor: pointer;
    margin-top: -10px;
    font-size: 10pt;
    font-weight: 400;
    text-shadow: 0px 0px 4px white, 0 0 1em white;
  }
  .light .addbasket .cena {
    padding-bottom: 4px;
    color: #a80000;
    font-size: 12pt;
    font-weight: 500;
    text-shadow: 2px 2px 6px white, 0 0 1em white;
  }
  .night .tobasket .names {
    margin-top: 62px;
  }
  .light {
    display: inline-block;
    vertical-align: middle;
  }
}

#board div {
  /*Костыль для драгдроп. И float: none тоже.*/
  float: left;
}

#board .light {
  float: left;
}

#all_price {
  font-weight: bold;
}

.paddingmenu {}

.paddingmenu1 {
  padding-top: 12px;
  padding-left: 10px;
  padding-right: 10px;
}

.razdelitel {
  width: 1px;
  height: 50px;
  border-right: 1px solid black;
  float: left;
}

@media screen and (max-width:730px) {
  .tovarnamecontainer {
    width: 100%;
    height: 25px;
    background: rgba(255, 255, 255, 0.85);
    margin-top: -2px;
  }
  .light .addbasket {
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
    border-radius: 0px;
    background: white;
    margin-bottom: 4px;
    margin-right: 3px;
    height: 70px;
    background: rgba(255, 255, 255, 1);
    background-repeat: no-repeat
  }
  .light .addbasket .names {
    background-color: transparent;
    overflow: hidden;
    text-align: center;
    color: black;
    border: 0;
    width: 90px;
    height: 40px;
    cursor: pointer;
    margin-top: -17px;
    font-size: 9pt;
    font-weight: 400;
    text-shadow: 0px 0px 4px white, 0 0 1em white;
  }
  .light .addbasket .cena {
    padding-bottom: 4px;
    color: #a80000;
    font-size: 10pt;
    font-weight: 500;
    text-shadow: 2px 2px 6px white, 0 0 1em white;
  }
}

@media screen and (max-width:319px) {
  .light .addbasket {
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
    border-radius: 0px;
    background: white;
    margin-bottom: 4px;
    margin-right: 3px;
    height: 70px;
    background: rgba(255, 255, 255, 1);
    background-repeat: no-repeat
  }
  .light .addbasket .names {
    background-color: transparent;
    overflow: hidden;
    text-align: center;
    color: black;
    border: 0;
    width: 110px;
    height: 40px;
    margin: 2px;
    cursor: pointer;
    margin-top: -17px;
    font-size: 9pt;
    font-weight: 400;
    text-shadow: 0px 0px 4px white, 0 0 1em white;
  }
  .light .addbasket .cena {
    padding-bottom: 4px;
    color: #a80000;
    font-size: 9pt;
    font-weight: 500;
    text-shadow: 2px 2px 6px white, 0 0 1em white;
  }
  .light {
    display: inline-block;
    vertical-align: middle;
  }
}

.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
  -moz-appearance: textfield !important;
}


a .exitbutton,
a .exitbuttonstart {
  margin-top: -2px;
  margin-right: 1px;
}

.choice_user_btn_group {
  position: relative;
  float: left;
  border-left: 1px solid black;
  color: black;
  left: 10px;
  cursor: pointer;
}

.choice_user_btn_group button {
  background: #484848;
  color: white;
  height: 50px;
}

.ml10 {
  margin-left: 10px;
}

p #cashcurrentkassa {
  color: black;
}

#keyboard .key {
  text-align: center;
}

#halldesktopheight .hall_desktop {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.choiceproducts {
  cursor: pointer;
}

.infoindicator_block {
  cursor: pointer;
}

.infoindicator {
  width: 20px;
  height: 20px;
  color: yellow;
  text-align: center;
  margin: 15px;
  margin-top: 0px;
}

.infoindicator_text {
  padding-top: 0px;
}

@media screen and (min-width:599px) {
  #menu3_mobile {
    display: none;
  }
}

@media screen and (max-width:599px) {
  #menu3_no-mobile {
    display: none;
  }
}

#menu3_no-mobile {
  margin: 10px;
}

@media screen and (max-width:600px) {
  .cassa_menu {
    display: none;
  }
}

@media screen and (min-width:601px) {
  .cassa_submenu {
    display: none;
  }
}

@media only screen and (min-width: 1132px) {
  .statisticbox {
    width: calc(25% - 10px) !important;
  }
  .chartleft {
    float: left;
    width: calc(50% - 20px);
  }
  .chartright {
    float: right;
    width: calc(50% - 20px);
  }
  .chartleft_min {
    float: left;
    width: calc(50% - 20px);
  }
  .chartright_min {
    float: right;
    width: calc(50% - 20px);
  }
}

@media only screen and (min-width: 708px) and (max-width: 1131px) {
  .statisticbox {
    width: calc(50% - 10px) !important;
  }
}

.statisticbox {
  width: 200px;
  height: 90px;
  background: rgba(255, 254, 194, 0.67);
  color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(0, 0, 0, 0.24);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(0, 0, 0, 0.24);
  float: left;
  margin: 5px;
}

@media screen and (max-width:707px) {
  .statisticbox {
    width: calc(100% - 10px);
  }
  .boxinstock {
    display: none;
  }
}

.statisticboxtext {
  font-size: 14pt;
  padding: 0px 10px 10px 10px;
  text-transform: uppercase;
}

.statisticboxcount {
  font-size: 20pt;
  padding: 10px;
}

.datefilter {
  display: table;
}

.datebutton {
  text-transform: uppercase;
  float: left;
  padding: 5px;
  margin: 0px;
  font-weight: bold;
  color: #106090;
}

.datebutton:hover {
  text-decoration: underline;
  cursor: pointer;
}

.boxinstock {
  /*background:rgba(241, 199, 29, 1.0);
    */
  background: #f1c40f;
}

.boxaveragecheck {
  /*background:rgba(52, 152, 219, 1.0);
    */
  background: #36a2eb;
}

.boxchecks {
  /*background:rgba(231, 76, 60, 1.0);
    */
  background: #ff6384;
}

.boxviruchka {
  /*background:rgba(116, 183, 73, 1.0);
    */
  background: #3bb76f;
}


/* .sozdattranzakciu, .cashcurrentkassa{
     display:none;
}
 */

.radioleft {
  float: right;
}

.btn-big {
  font-size: 20pt;
}

.materialize-textarea {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #9e9e9e;
  border-radius: 0;
  outline: none;
  height: 3rem;
  width: 100%;
  font-size: 1rem;
  margin: 0 0 20px 0;
  padding: 0;
  box-shadow: none;
  box-sizing: content-box;
  transition: all 0.3s;
  overflow-y: hidden;
  padding: .8rem 0 1.6rem 0;
  resize: none;
  min-height: 3rem;
  border-bottom: 1px solid #AAAAAA;
  box-shadow: 0 1px 0 0 #AAAAAA;
}

@media screen and (min-width:600px) and (max-width:849px) {
  .tranzakciaP {
    width: 33%;
    float: left;
  }
}

@media screen and (min-width:1000px) {
  .tranzakciaP {
    width: 33%;
    float: left;
  }
}

.full-white {
  position: absolute;
  background: white;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.backobrazec {
  max-width: 200px;
   width: 100%;
   height: 100%;
   max-height: 200px;
  background: #f3f3f3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
  margin: 10px;
  float: left;
  cursor: pointer;
      border-radius: 5px;
}


@media screen and (max-width:470px) {
    .backobrazec {
     max-width: calc(100% - 20px);
    }

}

.tovarlistresult {
  position: absolute;
  width: calc(300px - 20px);
  max-height: 350px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  background-color: white;
  border: 1px #d9d9d9 solid;
  display: none;
  cursor: pointer;
}

.newresult {
  padding: 10px 0px 0px 5px;
}

.results {
  padding: 5px;
}

.buttonsavecoming {
  margin-right: 10px;
  float: right;
  margin-top: 10px;
  width: calc(50% - 15px);
}

@media screen and (max-width:600px) {
  .fullscreen {
    display: none;
  }
  .comingkolvo, .comingkolvo1 {
    width: calc(100%);
  }

  .comingvaluta {
    display: none;
  }

  .sebestoimosttovara{
    min-width: 50px;
    width: calc(100% - 0px);
    margin-top: 5px;
  }

  .comingcena {
    min-width: 50px;
    width: calc(100% - 0px);
    margin-top: 5px;
  }

  .comingsumm {
    min-width: 50px max-width:90px;
    width: calc(100% - 0px);
    margin-top: 5px;
  }
}

@media screen and (min-width:601px) {
  .comingcena {
    min-width: 50px;
    width: calc(100% - 40px);
    margin-top: 5px;
  }
  .sebestoimosttovara{
    min-width: 50px;
    width: calc(100% - 40px);
    margin-top: 5px;
  }
  .comingsumm {
    min-width: 50px;
    max-width:90px;
    width: calc(100% - 40px);
    margin-top: 5px;
  }

  .comingkolvo ,.comingkolvo1 {
    width: calc(100% - 30px);
  }
}


@media screen and (max-width:800px) {
  .comingsummbox {
    display:none;
  }
}

@media screen and (max-width:649px) {
  .searchbox {
    display: none;
  }
}

@media screen and (min-width:650px) {
  .mobilesearchbutton {
    display: none;
  }
}

 ::-webkit-input-placeholder {
  color: #DEDEDE;
}

 ::-moz-placeholder {
  color: #DEDEDE;
}


/* Firefox 19+ */

 :-moz-placeholder {
  color: #DEDEDE;
}


/* Firefox 18- */

 :-ms-input-placeholder {
  color: #DEDEDE;
}

.pageButton_current {
  border: 1px solid #a9a9a9;
  background-color: #d8f0ff;
  color: #005d97;
  cursor: default;
}

.pageButton,
.pageButton_current {
  padding: 2px 5px 2px 5px;
  margin-right: 1px;
}

.trigger_addbasket {
  will-change: transform;
}

.choiceclient {
  cursor: pointer;
}

@media screen and (min-width:731px) {
  .swipeobj {
    display: none;
  }
}

@media screen and (min-width:731px) {
  #breadhumbsbox {
    padding: 20px 8px 20px 8px;
    position: relative;
    z-index: 0;
    display: none
  }
  #BreadHumbs {
    overflow-x: auto;
    position: relative;
    margin-left: 30px;
    -webkit-overflow-scrolling: touch;
  }
  .breadcrumb1 {
    float: left;
    padding-top: 12px;
    width: 50px;
  }

  #breadhumbsboxcontainer {
    height: 50px;
    width: 80px;
    float: left;
    overflow: hidden;
    position: absolute;
    z-index: 2
  }
  .breadcrumb1 a {
    color: white;
    text-decoration: none;
    padding: 20px 0 20px 10px;
    background: #5cb85c;
    position: relative;
  }
  .breadcrumb1 a:after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
    border-left: 40px solid #5cb85c;
    position: absolute;
    top: 50%;
    margin-top: -50px;
    left: 100%;
    z-index: 1;
  }

  .breadcrumb1 a:hover {
    color: white;
    text-decoration: none;
    padding: 20px 0 20px 10px;
    position: relative;
    background: #449d44;
  }
  .breadcrumb1 a:hover:after {
        content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
    border-left: 40px solid #449d44;
    position: absolute;
    top: 50%;
    margin-top: -50px;
    left: 100%;
    z-index: 1;

  }


  .breadcrumb1 div:last-child a {
    background: white !important;
    color: black;
    pointer-events: none;
    cursor: default;
  }
  .breadcrumb1 div:last-child a:after {
    border-left-color: white !important;
  }

  .breadcrumb div .breadhumbbackcategory {
    color: white;
    text-decoration: none;
    padding: 20px 0 20px 55px;
    background: #484848;
    position: relative;
  }


  .breadcrumb div .breadhumbbackcategory:focus {
    color: white !important;
  }

  .breadcrumb div .breadhumbbackcategory:hover {
    color: white !important;
  }

  .breadcrumb div a:after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
    border-left: 40px solid #484848;
    position: absolute;
    top: 50%;
    margin-top: -50px;
    left: 100%;
    z-index: 1;
  }
  .breadcrumb div:last-child a {
    background: white !important;
    color: black;
    pointer-events: none;
    cursor: default;
  }
  .breadcrumb div:last-child a:after {
    border-left-color: white !important;
  }
  .breadcrumb div:last-child {
    margin-right: 40px;
  }



  .breadcrumb {
    white-space: nowrap;
    height: 50px;
    padding-top: 12px;
    overflow-y: hidden;
  }
  .breadcrumb div {
    display: inline;
    padding: 5px;
    white-space: nowrap;
  }
  .choiceproducts,
  .products_all_sort {
    border-top-color: #a0a0a0 !important border-right-color: #a0a0a0 !important border-bottom-color: #a0a0a0 !important border-left-color: #a0a0a0 !important
  }
  .boardtablebox {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24), 0 1px 2px rgba(0, 0, 0, 0.48);
    padding: 10px;
  }
}

@media screen and (max-width:730px) {
  #breadhumbsbox {
    padding: 20px 8px 20px 8px;
    position: relative;
    z-index: 0;
    display: none
  }
  #BreadHumbs {
    overflow-x: auto;
    position: relative;
    -webkit-overflow-scrolling: touch;
    margin-left: 30px;
  }
  .breadcrumb1 {
    float: left;
    padding-top: 6px;
    width: 50px;
  }
  #breadhumbsboxcontainer {
    height: 35px;
    width: 55px;
    float: left;
    overflow: hidden;
    position: absolute;
    z-index: 2;
  }
  .breadcrumb1 a {
    color: white;
    text-decoration: none;
    padding: 20px 0 20px 0px;
    background: #5cb85c;
    position: relative;
  }
  .breadcrumb1 a:after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 35px solid transparent;
    border-bottom: 35px solid transparent;
    border-left: 30px solid #5cb85c;
    position: absolute;
    top: 50%;
    margin-top: -35px;
    left: 100%;
    z-index: 1;
  }

 .breadcrumb1 a:hover{
    color: white;
    text-decoration: none;
    padding: 20px 0 20px 0px;
    background:#449d44;
    position: relative;
}

.breadcrumb1 a:hover:after{
      content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 35px solid transparent;
    border-bottom: 35px solid transparent;
    position: absolute;
    top: 50%;
    margin-top: -35px;
    left: 100%;
    z-index: 1;
  border-left: 30px solid #449d44 !important;
}


  .breadcrumb1 div:last-child a {
    background: white !important;
    color: black;
    pointer-events: none;
    cursor: default;
  }
  .breadcrumb1 div:last-child a:after {
    border-left-color: white !important;
  }
  /* .breadcrumb1 a:hover {
         background: hsla(33, 100%, 66%, 1);
    }
     .breadcrumb1 a:hover:after {
         border-left-color: hsla(33, 100%, 66%, 1) !important;
    }
     */
  .breadcrumb div .breadhumbbackcategory {
    color: white;
    text-decoration: none;
    padding: 21px 0 20px 30px;
    background: #484848;
    position: relative;
  }

  .breadcrumb div .breadhumbbackcategory:focus {
    color: white !important;
  }

  .breadcrumb div .breadhumbbackcategory:hover {
    color: white !important;
  }

  .breadcrumb div a:after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 35px solid transparent;
    border-bottom: 35px solid transparent;
    border-left: 30px solid #484848;
    position: absolute;
    top: 50%;
    margin-top: -33px;
    left: 100%;
    z-index: 1;
  }
  .breadcrumb div:last-child a {
    background: white !important;
    color: black;
    pointer-events: none;
    cursor: default;
  }
  .breadcrumb div:last-child a:after {
    border-left-color: white !important;
  }
  .breadcrumb div:last-child {
    margin-right: 40px;
  }





  .breadcrumb {
    white-space: nowrap;
    height: 35px;
    padding-top: 5px;
    overflow-y: hidden;
  }
  .breadcrumb div {
    display: inline;
    padding: 5px;
    white-space: nowrap;
  }
  .choiceproducts,
  .products_all_sort {
    border-top-color: #a0a0a0 !important border-right-color: #a0a0a0 !important border-bottom-color: #a0a0a0 !important border-left-color: #a0a0a0 !important
  }
  .boardtablebox {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24), 0 1px 2px rgba(0, 0, 0, 0.48);
    padding: 10px;
  }
}





.archiveaddchecks {
  border-bottom: 1px solid #a7a7a7;
  width: 46px;
  height: 46px;
  text-align: center;
  background: #5cb85c !important;
  color: white !important;
  font-weight: 500;
}

.archivechecks {
  position: relative;
  width: calc(100% - 5px);
  overflow-y: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  margin-left: 5px;
  z-index: 0;
  margin-top: 5px;
  width: calc(100% - 10px);
}

.archivechecks:before {
  border-top: 1px solid #a7a7a7;
  display: block;
  height: 1px;
  content: " ";
  position: absolute;
  top: 45px;
  left: 60px;
  width: calc(100% - 60px);
  z-index: -1;
}

.archivechecks_item {
  display: inline-block;
  background: rgb(221, 221, 221);
  padding: 10px;
  font-size: 12pt border-radius: 0px;
  color: #4C4C4C;
  vertical-align: middle;
  cursor: pointer;
  border-top: 1px solid #a7a7a7;
  border-left: 1px solid #a7a7a7;
  border-right: 1px solid #a7a7a7;
  height: 46px;
}

.archivechecks_buttonlist{
  display: inline-block;
  background: rgb(221, 221, 221);
  padding: 10px;
  font-size: 12pt border-radius: 0px;
  color: #4C4C4C;
  vertical-align: middle;
  cursor: pointer;
  border-top: 1px solid #a7a7a7;
  border-left: 1px solid #a7a7a7;
  border-right: 1px solid #a7a7a7;
  height: 46px;
}



#sorting_end {
  display: none;
  position: absolute;
  top: 60px;
  right: 20px;
  width: 50px;
  border: 4px solid #ffffff;
  height: 50px;
  background: #5cb85c;
  border-radius: 50%;
  color: white;
  padding: 12px;
  cursor: pointer;
}

.float-none {
  float: none !important;
}


/* Menu */

#contextmenu {
  position: absolute;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0;
  border: 1px solid #bbb;
  background: #fff;
  font-size: 1.2rem;
  z-index: 100000;
  border-radius: 0px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, .2);
  opacity: 1;
  /* Анимация -webkit-transform: translate(0, 15px) scale(.95);
     transform: translate(0, 15px) scale(.95);
     transition: transform 0.1s ease-out, opacity 0.1s ease-out;
     */
  pointer-events: none;
}

.contextmenu-item {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.menu-btn {
  background: none;
  line-height: normal;
  overflow: visible;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  display: block;
  width: 100%;
  color: #444;
  text-align: left;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 10px 8px;
}

.menu-btn::-moz-focus-inner,
.menu-btn::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.menu-text {
  /* margin-left: 25px;
    */
}

.menu-btn .fa {
  position: absolute;
  left: 8px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.contextmenu-item:hover>.menu-btn {
  background-color: #f5f5f5;
}

.contextmenu-item.disabled {
  opacity: .5;
  pointer-events: none;
}

.contextmenu-item.disabled .menu-btn {
  cursor: default;
}

.contextmenu-separator {
  display: block;
  margin: 7px 5px;
  height: 1px;
  border-bottom: 1px solid #fff;
  background-color: #aaa;
}

.contextmenu-item.submenu::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #808080;
}

.contextmenu-item.submenu:hover::after {
  border-left-color: #fff;
}

#contextmenu #contextmenu {
  top: 4px;
  left: 99%;
}

.show-menu,
.contextmenu-item:hover>.menu {
  -webkit-transform: translate(0, 0) scale(1);
  transform: translate(0, 0) scale(1);
  pointer-events: auto;
}

.contextmenu-item:hover>#contextmenu {
  -webkit-transition-delay: 300ms;
  transition-delay: 300ms;
}

.searchboxabsolute {
  position: absolute;
  top: 0px;
  left: 2px;
  width: 100%;
  float: right;
  padding: 0px 20px 0px 2px;
  background: #484848;
      z-index: 1;
}



.s_logo{
    width: 45px;
    top: 37px;
    left: 41px;
    position: absolute;
}


#loaderbox{
    position: absolute;
    z-index: 20000;
    max-width: 200px;
    max-height: 200px;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: rgba(72, 72, 72, 0.4);
    left: calc(50% - 67px);
    top: calc(50% - 67px);
}




@keyframes lds-double-ring {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-webkit-keyframes lds-double-ring {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes lds-double-ring_reverse {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}
@-webkit-keyframes lds-double-ring_reverse {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}
.lds-double-ring {
    position: absolute;
    top: -11px;
    left: -10px;
}
.lds-double-ring div {
    position: absolute;
    width: 105px;
    height: 105px;
    top: 23px;
    left: 22px;
    border-radius: 50%;
    border: 6px solid #000;
    border-color: #ffffff transparent #ffffff transparent;
    -webkit-animation: lds-double-ring 1s linear infinite;
    animation: lds-double-ring 1s linear infinite;
}
.lds-double-ring div:nth-child(2) {
    width: 90px;
    height: 90px;
    top: 31px;
    left: 30px;
    border-color: transparent #ffffff transparent #ffffff;
    -webkit-animation: lds-double-ring_reverse 1s linear infinite;
    animation: lds-double-ring_reverse 1s linear infinite;
}
.lds-double-ring {
    width: 100px !important;
    height: 100px !important;
    -webkit-transform: translate(-50px, -50px) scale(1) translate(50px, 50px);
    transform: translate(-50px, -50px) scale(1) translate(50px, 50px);
}
.fadeInUp {
  -webkit-animation-duration: 0.15s;
  -webkit-animation-delay: 0s;
  -moz-animation-duration: 0.15s;
  -moz-animation-delay: 0s;
  -o-animation-duration: 0.15s;
  -o-animation-delay: 0s;
  animation-duration: 0.15s;
  animation-delay: 0s;
}

.fadeOutDown {
  -webkit-animation-duration: 0.2s;
  -webkit-animation-delay: 0s;
  -moz-animation-duration: 0.2s;
  -moz-animation-delay: 0s;
  -o-animation-duration: 0.2s;
  -o-animation-delay: 0s;
  animation-duration: 0.2s;
  animation-delay: 0s;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color:#484848;
  overflow-x: hidden;
  transition: 0.5s;
}

.sidenav li.nav-item{
    margin: 0px 5px -1px 5px;
  width: 45%;
  text-align: center;
}

.notify{
  width: 90%;
  margin: 10px auto;
  background: #282828;
  color: #fff;
  padding:5px;
}

.private-message{
  background: #607d8b;
}

.notify>p{
  text-align: center;
}

.sidenav a {
  /*padding: 8px 8px 8px 32px;*/
  text-decoration: none;
  font-size: 17px;
  color: #f9f9f9;
  display: block;
  transition: 0.3s;
}
.sidenav a.nav-link {
  border-radius:0;
color: #f9f9f9;
}
.notify-buttons{
  width: 100%;
  padding-bottom: 10px;
  text-align: center;
  margin: auto;
}
.notify-buttons > a.btn{
    margin: auto 5px;
    display: inline-block;
}
.sidenav a:hover {
  color: #eaeaea !important;
}
.sidenav a.active:hover {
/*  color: rgb(50, 50, 50) !important;     */
}

.sidenav .closebtn {
    position: relative;
    top: -3px;
    right: 25px;
    font-size: 21pt;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

.hidden{
    display:none;
}

.graybutton{
        background-color: #dddddd !important;
            border-color: #dddddd;
}

.removeCustomItem{
    position:absolute;
    top: -10px;
    right:-10px;
    height:45px;
    width:45px;
    font-weight:bold;
    color:white;
    border-radius:50%;
}



.tovarcominginput{

    margin-top: 5px !important;
    height: 30px !important;
}


.onlineordersselect{
  max-width: 200px;
  width: 100%;
  height: 100%;
  max-height: 100px;
  background: #f3f3f3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
  margin: 10px;
  float: left;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
}


.changediscount{
  max-width: 200px;
  width: 100%;
  height: 100%;
  max-height: 100px;
  background: #f3f3f3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
  margin: 10px;
  float: left;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
}


.onlineordersselect span{
    position: relative;
    top: 20px;
}

.changediscount span{
    position: relative;
    top: 20px;
}

@media screen and (max-width:470px) {
    .onlineordersselect {
     max-width: calc(100% - 20px);
    }
}

@media screen and (max-width:470px) {
    .changediscount {
     max-width: calc(100% - 20px);
    }
}


#timer{
    font-size:24pt;
}


.dialogbox_content p{
   padding-left:20px;
}

.dialog_newdocument {

    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    text-align: center;
    padding: 30px 0px 30px 0px;
    margin-bottom: 15px;
}


@media screen and (min-width:470px) and (max-width:800px) {
    .dialog_newdocument {
        max-width: calc(50% - 3px);
    }
}

@media screen and (min-width:801px) and (max-width:1150px) {
    .dialog_newdocument {
        max-width: calc(33% - 3px);
    }
}

@media screen and (min-width:1151px) {
    .dialog_newdocument {
        max-width: calc(25% - 4px);
    }
}

.left{
    float:left;
}

.right{
    float:right;
}




/***Анимация связи с банковским терминалом**/

  .animate_block {
    display: flex;
    justify-content: center;
      align-items: center;
  }
.animate_spinner {
  width: 82px;
  height: 40px;
  position: absolute;
}


.animate_textblock{
   width: 82px;
  height: 300px;
  position: absolute;
    align-self: center;
}

.animate_cube1, .animate_cube2 {
  background-color: #333;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;

  -webkit-animation: sk-cubemove 1.8s infinite ease-in-out;
  animation: sk-cubemove 1.8s infinite ease-in-out;
}

.animate_cube2 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

@-webkit-keyframes sk-cubemove {
  25% { -webkit-transform: translateX(82px) rotate(-90deg) scale(0.5) }
  50% { -webkit-transform: translateX(82px) translateY(42px) rotate(-180deg) }
  75% { -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5) }
  100% { -webkit-transform: rotate(-360deg) }
}

@keyframes sk-cubemove {
  25% {
    transform: translateX(82px) rotate(-90deg) scale(0.5);
    -webkit-transform: translateX(82px) rotate(-90deg) scale(0.5);
  } 50% {
    transform: translateX(82px) translateY(42px) rotate(-179deg);
    -webkit-transform: translateX(82px) translateY(42px) rotate(-179deg);
  } 50.1% {
    transform: translateX(82px) translateY(42px) rotate(-180deg);
    -webkit-transform: translateX(82px) translateY(42px) rotate(-180deg);
  } 75% {
    transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
  } 100% {
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
  }
}

@media screen and (max-width:950px) {
.animate_block > img{
    display:none;
}
}


/***Анимация связи с банковским терминалом**/



.choiseprro1Item{
  max-width: 200px;
  width: 100%;
  height: 100%;
  max-height: 100px;
  background: #f3f3f3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
  margin: 10px;
  float: left;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
}

.choiseprro2Item{
  max-width: 200px;
  width: 100%;
  height: 100%;
  max-height: 100px;
  background: #f3f3f3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.24);
  margin: 10px;
  float: left;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
}