@charset "utf-8";

.tooltip:hover,
tooltip_price_b2b:hover,
tooltip_price:hover {
  background-color: #666;
}
.tooltip:hover::after,
.tooltip_price_b2b:hover::after,
.tooltip_price:hover::after {
  opacity: 1;
}
.tooltip::after,
.tooltip_price_b2b::after,
.tooltip_price::after {
  font-weight: 400 !important;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  white-space: normal;
  position: absolute;
  width: 180px;
  left: 10px;
  bottom: 40px;
  background: #3989c9;
  color: #fff;
  padding: 5px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0;
  transition: 0.3s;
  z-index: 777777;
}
.tooltip::after {
  content: attr(tooltip) "Максимально возможное количество";
}
.tooltip_price_b2b::after {
  content: attr(tooltip_price_b2b) "B2B цена";
}
.tooltip_price::after {
  content: attr(tooltip_price) "Розничная цена";
}

#basket {
  width: 96%;
  max-width: 1200px;
  max-height: calc(100% - 80px);
  overflow: auto;
  position: fixed;
  z-index: 779;
  top: 48px;
  right: 7px;
  background-color: #fff;
  padding: 10px;
  border-color: #ddd !important;
  box-shadow: 1px 1px 7px 9000px rgba(0, 0, 0, 0.25),
    0 4px 5px 2px rgba(0, 0, 0, 0.2);
  white-space: normal;
  line-height: 18px;
  text-align: center;
}
#basket h2 {
  margin: 0;
}
#basket table {
  margin: 0;
}
#basket tr {
  background-color: #fff;
}
#basket td,
#basket th {
  height: 30px;
  padding: 3px 6px;
  border: 1px solid #e7ebf5;
}
#basket th {
  background-color: #f0f2f7;
  text-align: center;
  font-weight: 500;
}
#basket td {
  background-color: #fff;
}
#basket a {
  letter-spacing: normal;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  display: table;
  text-align: left;
  color: #444743;
  line-height: 18px !important;
}
#basket a:hover {
  background: none;
  color: #2b82d0;
}
#basket a img {
  height: 50px;
  width: auto;
  float: left;
  padding: 0 4px 0 0;
}
#basket a b {
  font-weight: 500;
  display: table-cell;
  vertical-align: middle;
  text-align: left;
  width: 100%;
}
#basket .number {
  white-space: nowrap;
}
#basket .number b {
  display: inline-block;
  line-height: 28px;
}
#basket .basket_number {
  width: 40px;
  line-height: 24px !important;
  height: 24px !important;
}
#basket h3 {
  margin: 20px 0;
}
.product_del {
  padding: 12px 7px;
  cursor: pointer;
  filter: grayscale(1);
  opacity: 0.5;
}
.product_del:hover {
  filter: grayscale(0);
  opacity: 1;
}
#basket_mail input[name="tel"],
#basket_mail input[name="email"],
#basket_mail textarea {
  border: solid 1px #ccc;
  padding: 3px;
  margin: 0 5px;
  font-size: 14px;
}
#basket_mail textarea {
  width: 96%;
  box-sizing: border-box;
}

#basket_print {
  padding: 2px 10px;
  font-size: 13px !important;
  background-color: #5186d7;
  line-height: 25px;
}
.basket_complete {
  color: #fff !important;
  background-color: #ff6c00 !important;
}
.basket_complete:hover,
#basket_show:hover {
  color: #fff !important;
  background-color: #f80 !important;
}
#tab_sk {
  max-width: 570px;
  padding: 10px;
  margin: 0 auto 10px auto;
  background-color: #fff1e6;
}
#tab_sk td,
#tab_sk tr {
  background-color: #fff1e6;
  padding: 2px;
  border: none;
  font-size: 16px;
  color: #0096ff;
  font-weight: 500;
}
@media print {
  #nav,
  #breadcrumb,
  main,
  aside,
  footer,
  .product_del,
  #basket_print,
  #email,
  .plt,
  .product_del {
    display: none !important;
  }
  #basket {
    display: block !important;
  }
}
