/**
 * @file
 * The throbber of the site: the AJAX progress of all the actions (the
 * filters, "Показать ещё", the cart, the checkout), images/throbber.svg in
 * place of the ones of core.
 */

/* Next to the element, like the button "Показать ещё" */
.ajax-progress-throbber .throbber {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  padding: 0;
  vertical-align: middle;
  background: transparent url(../../images/throbber.svg) no-repeat center / contain;
}

/* In the middle of the window, like the update of the catalog by the filters */
.ajax-progress-fullscreen {
  top: 50%;
  left: 50%;
  width: 122px;
  height: 122px;
  padding: 0;
  transform: translate(-50%, -50%);
  opacity: 1;
  border-radius: 0;
  background: transparent url(../../images/throbber.svg) no-repeat center / contain;
}

[dir="rtl"] .ajax-progress-fullscreen {
  right: auto;
  left: 50%;
}

@media (max-width: 767px) {
  .ajax-progress-fullscreen {
    width: 80px;
    height: 80px;
  }
}
