.ajax-add
{
  background: url(images/ajax-load-line.gif) repeat-x;
  background-position: 0 50%;
  opacity: 0.5;
}
.ajax-action
{
  display: none;
  width: 0;
  height: 0;
}
.ajax-action.enabled
{
  display: block;
  width: 20px;
  height: 20px;
  background: url(images/ajax-loader.gif) center center no-repeat;
  z-index: 999;
  position: absolute;
}

.add2cart-wrap
{
  position: relative;
}
.modal-cart
{
  box-sizing: border-box;
  position: absolute;
  top: -15px;
  right: 100%;
  margin-right: 20px;
  width: 340px;
  min-height: 55px;
  padding: 3px;
  font-size: 16px;
  line-height: 18px;
  background: url(images/bg_modal_inner_blue.png) center top repeat;
  -webkit-box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.65);
     -moz-box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.65);
          box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.65);
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
}
.modal-cart:before
{
  content: '';
  position: absolute;
  top: 23px;
  left: 100%;
  display: block;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 20px solid rgba(0, 0, 0, 0.20);
}
.modal-cart__content
{
  padding: 10px 25px;
  background: url(images/bg_modal_inner_grey.png) center top repeat;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}
.modal-cart__success
{
  margin-bottom: 10px;
}
.modal-cart__content a
{
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}
.modal-cart__content a:hover
{
  text-decoration: none;
}
.modal-cart__close,
.modal-cart__close:hover
{
  float: left;
  border-bottom: 1px dashed #4295cf;
  color: #4295cf;
}
.modal-cart__cart,
.modal-cart__cart:hover
{
  float: right;
  border-bottom: 1px dashed #7c2d1b;
  color: #7c2d1b;
}

#mask 
{
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
}
.modal-window
{
  box-sizing: border-box;
  position: fixed;
  left: 50%;
  top: 120px;
  display: none;
  margin: 0 0 0 -230px;
  width: 460px;
  min-height: 50px;
  background: #fff;
  z-index: 1001;
}

.modal-window.window-delivery
{
  margin: 0 0 0 -230px;
  width: 460px;
  min-height: 55px;
  padding: 3px;
  font-size: 16px;
  line-height: 18px;
  background: url(images/bg_modal_inner_red.png) center top repeat;
  -webkit-box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.65);
     -moz-box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.65);
          box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.65);
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
}

.modal-window__content
{
  padding: 10px 25px;
  background: url(images/bg_modal_inner_grey.png) center top repeat;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}
.window-delivery__order
{
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
}
.window-delivery__order .price
{
  font-size: 20px;
  font-weight: 700;
  color: #7c2d1b;
}
.window-delivery__bonus
{
  text-align: center;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 30px;
  color: #4295cf;
}
.window-delivery__list
{
  margin-bottom: 10px;
}

.modal-window__content a
{
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}
.modal-window__content a:hover
{
  text-decoration: none;
}
.modal-window__close,
.modal-window__close:hover
{
  float: left;
  border-bottom: 1px dashed #4295cf;
  color: #4295cf;
}
.modal-window__cart,
.modal-window__cart:hover
{
  float: right;
  border-bottom: 1px dashed #7c2d1b;
  color: #7c2d1b;
}