/*
 *
 * Storequickorder plugin for Webasyst framework.
 *
 * @name Storequickorder
 * @author EasyIT LLC
 * @link http://easy-it.ru/
 * @copyright Copyright (c) 2015, EasyIT LLC
 * @version    1.6.4, 2016-03-17
 *
 */
/* DIALOGs
-------------------------------------------- */
#storequickorder.dialog {
  display: none;
}
#storequickorder .dialog-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  opacity: 0.8;
  filter: alpha(opacity=80);
  z-index: 99;
}
#storequickorder .dialog-window {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  opacity: 1;
  border: 9px solid #f3f3f3;
  overflow: hidden;
  -moz-box-shadow: 0px 0px 70px #bbb;
  -webkit-box-shadow: 0px 0px 70px #bbb;
  box-shadow: 0px 0px 70px #bbb;
  padding: 0 0 60px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  /* fix for theme profitbuy*/
  z-index: 9999;
  right: auto;
  bottom: auto;
}
#storequickorder .dialog-window > form {
  height: 100%;
}
#storequickorder.dialog.small,
#storequickorder.dialog.large {
  font-size: 1em !important;
}
#storequickorder.dialog {
  /*&.height550px {
      .dialog-window {
        height: 550px;
        min-height: 550px;
      }
    }
    &.height600px {
      .dialog-window {
        height: 600px;
        min-height: 600px;
      }
    }
    &.height650px {
      .dialog-window {
        height: 650px;
        min-height: 650px;
      }
    }*/
}
#storequickorder.dialog.small .dialog-window {
  top: 30%;
  left: 30%;
  right: 30%;
  bottom: 30%;
  min-width: 300px;
  min-height: 200px;
}
#storequickorder.dialog.large .dialog-window {
  top: 10%;
  left: 5%;
  right: 5%;
  bottom: 10%;
  min-width: 700px;
  min-height: 400px;
}
#storequickorder.dialog.width100px .dialog-window {
  width: 100px;
  min-width: 100px;
}
#storequickorder.dialog.width150px .dialog-window {
  width: 150px;
  min-width: 150px;
}
#storequickorder.dialog.width100px .dialog-window {
  width: 200px;
  min-width: 200px;
}
#storequickorder.dialog.width250px .dialog-window {
  width: 250px;
  min-width: 250px;
}
#storequickorder.dialog.width300px .dialog-window {
  width: 300px;
  min-width: 300px;
}
#storequickorder.dialog.width350px .dialog-window {
  width: 350px;
  min-width: 350px;
}
#storequickorder.dialog.width400px .dialog-window {
  width: 400px;
  min-width: 400px;
}
#storequickorder.dialog.width450px .dialog-window {
  width: 450px;
  min-width: 450px;
}
#storequickorder.dialog.width500px .dialog-window {
  width: 500px;
  min-width: 500px;
}
#storequickorder.dialog.width550px .dialog-window {
  width: 550px;
  min-width: 550px;
}
#storequickorder.dialog.width600px .dialog-window {
  width: 600px;
  min-width: 600px;
}
#storequickorder.dialog.width650px .dialog-window {
  width: 650px;
  min-width: 650px;
}
#storequickorder.dialog.height100px .dialog-window {
  height: 100px;
  min-height: 100px;
}
#storequickorder.dialog.height150px .dialog-window {
  height: 150px;
  min-height: 150px;
}
#storequickorder.dialog.height200px .dialog-window {
  height: 200px;
  min-height: 200px;
}
#storequickorder.dialog.height250px .dialog-window {
  height: 250px;
  min-height: 250px;
}
#storequickorder.dialog.height300px .dialog-window {
  height: 300px;
  min-height: 300px;
}
#storequickorder.dialog.height350px .dialog-window {
  height: 350px;
  min-height: 350px;
}
#storequickorder.dialog.height400px .dialog-window {
  height: 400px;
  min-height: 400px;
}
#storequickorder.dialog.height450px .dialog-window {
  height: 450px;
  min-height: 450px;
}
#storequickorder.dialog.height500px .dialog-window {
  height: 500px;
  min-height: 500px;
}
#storequickorder .dialog-buttons {
  position: absolute;
  bottom: 0;
  height: 55px;
  z-index: 101;
  width: 100%;
}
#storequickorder .dialog-content {
  height: 100%;
  scrollbar-width: none;
  max-height: 90vh;
  overflow-y: auto;
}
#storequickorder .dialog-content-indent {
  padding: 20px;
}
.mobile #storequickorder .dialog-content-indent { padding-top: 10px; }
#storequickorder .dialog-buttons-gradient {
  background: #fff;
  padding: 10px 10px 0;
  -moz-box-shadow: 0px -5px 5px #ffffff;
  -webkit-box-shadow: 0px -5px 5px #ffffff;
  box-shadow: 0px -5px 5px #ffffff;
}
#storequickorder .close-button {
  float: right;
}
#storequickorder .block {
  margin-top: 10px;
}
#storequickorder .icon16 {
  background-repeat: no-repeat;
  background-image: url(../../../../../wa-content/img/icon16.png);
  height: 16px;
  width: 16px;
  display: inline-block;
  text-indent: -9999px;
  text-decoration: none !important;
  background-size: 512px 128px;
}
#storequickorder .icon16.close {
  background-position: -208px -16px;
  position: relative;
  margin-top: -10px;
  margin-right: -10px;
  cursor: pointer;
}
.mobile #storequickorder .icon16.close { margin-top: 0; margin-right: -8px; }
#storequickorder .errormsg {
  margin-top: 0;
}
.storequickorder_pos.butpos_right,
.storequickorder_pos.butpos_cart_right {
  text-align: right;
}
.storequickorder_pos.butpos_left,
.storequickorder_pos.butpos_cart_left {
  text-align: left;
}
.storequickorder_pos.butpos_center,
.storequickorder_pos.butpos_cart_center {
  text-align: center;
}
.storequickorder-window-product_info-name {
  display: inline-block;
}
.storequickorder-window-product_info-image {
  display: inline-block;
}
.storequickorder-window-product_info-quantity {
  max-width: 55px;
  margin-top: 10px;
}
/* other */
#dsvoverview .storequickorder-button {
  display: block;
  /* temp */
}
/* comfortbuy */
ul.products-slider .stocks {
  /*
  height: 0;
  overflow: hidden;
  margin: 0;
  */
}
#storequickorder input.submit-button {
    font-family: 'OpenSans-Light';
    font-size: 15px;
    color: #fff;
    border: 0;
    background: #5e599e;
    padding: 10px 20px;
    cursor: pointer;
}
#storequickorder .dialog-buttons { margin-bottom: 15px; }
#storequickorder .storequickorder-tab-title {
  display: flex;
    margin: 8px 20px 37px 20px;
}
.mobile #storequickorder .storequickorder-tab-title {
  -webkit-flex-wrap: wrap-reverse;
    flex-wrap: wrap;
    justify-content: space-around;
}
#storequickorder .storequickorder-tab-title .item {
  flex: 0 0 49%;
    border: 1px solid #ECE7EF;
    height: 70px;
    box-sizing: border-box;
    padding: 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
#storequickorder .dialog-content-indent form { display: inline-block; width: 100%; }
#storequickorder .storequickorder-tab-title .item:hover { padding: 0 9px; border: 2px solid #8ABE5C; }
#storequickorder .storequickorder-tab-title .item.active { padding: 0 9px; border: 2px solid #8ABE5C; }
.mobile #storequickorder .storequickorder-tab-title .item {
  border-radius: 5px;
  flex: 0 0 100%;
}
.mobile #storequickorder .storequickorder-tab-title .item.operator {
  margin-right: 0;
    margin-bottom: 10px;
}
.mobile #storequickorder .dialog-window {
  height: 85%;
}
.mobile #storequickorder .dialog-window.cart-page {
  height: 47%;
}
#storequickorder .storequickorder-tab-title .item.operator { margin-right: 10px; }
#storequickorder .storequickorder-tab-title .item img { margin-right: 10px; }
#storequickorder .storequickorder-tab-title .item.yourself img { width: 40px; }
#storequickorder .dialog-window {
    max-width: 500px;
    width: 90%;
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
}
#storequickorder .window-name {text-align: center;}
.mobile #storequickorder .window-name { margin-top: 0; margin-bottom: 3px; }

#storequickorder .storequickorder-window-product_info {
  display: flex;
    margin-bottom: 12px;
}
.mobile #storequickorder .storequickorder-window-product_info { margin-bottom: 25px; }
#storequickorder .storequickorder-window-product_info-name {
  align-self: center;
    margin-left: 20px;
    font-family: 'OpenSans-Light';
    font-size: 16px;
    font-weight: 700;
}
#storequickorder .window-description p {
  font-family: 'OpenSans-Regular';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    margin-bottom: 12px;
}
.mobile #storequickorder .window-description p {
  margin-top: 0;
}
#storequickorder .window-description p.mobile {
  display: none;
}
.mobile #storequickorder .window-description p.pc {
    display: none;
}
.mobile #storequickorder .window-description p.mobile {
  display: block;
}
/* Стиль названий полей в диалоговом окне */
#storequickorder div.wa-name {
    font-family: 'OpenSans-Regular';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    padding: 0;
    margin-bottom: 10px;
}
#storequickorder .wa-form {
  display: inline-block;
    width: 100%;
}
#storequickorder .wa-form .wa-field {
  flex-direction: column;
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
}
#storequickorder .wa-form .wa-field .wa-value p { width: 100%; margin-bottom: 0; }
#storequickorder .wa-form .wa-field .wa-value input[type="text"],
#storequickorder .wa-form .wa-field .wa-value input[type="email"],
#storequickorder .wa-form .wa-field .wa-value input[type="password"],
#storequickorder .wa-form .wa-field .wa-value textarea {
  margin: 0;
    display: inline-block;
    border: 1px solid #ECE7EF;
    width: 100%;
    height: 50px;
    padding: 0 20px;
    font-family: 'OpenSans-Regular';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #1d1d1d;
    box-sizing: border-box;
}
.mobile #storequickorder .wa-form .wa-field .wa-value textarea { padding: 15px 20px 10px; }
#storequickorder .wa-form .wa-field .wa-value textarea {
  height: 75px;
}
#storequickorder .wa-form .wa-field .wa-value {
  margin-left: 0;
}
#storequickorder .wa-form .wa-field.wa-required .wa-name:after {
  content: "*";
    color: #E36666;
}
#storequickorder .dialog-buttons-gradient { padding: 10px 20px 0; }
