/* use this for style redefinitions to awoid problems with
unpredictable css rules order in build */
.pc-fullscreen-image__image {
  cursor: pointer;
}
.pc-fullscreen-image__image-wrapper {
  position: relative;
}
.pc-fullscreen-image__image-wrapper:hover .pc-fullscreen-image__expand-icon-wrapper {
  opacity: 1;
}
.pc-fullscreen-image__modal-content {
  position: relative;
  border-radius: var(--pc-border-radius);
  width: 100%;
}
.pc-fullscreen-image__modal-content-wrapper {
  width: 100%;
}
.pc-fullscreen-image__modal-content_loaded {
  max-width: fit-content;
}
.pc-fullscreen-image__modal_with-slider .g-modal__content-wrapper {
  width: 100%;
  height: 100vh;
  margin: 0;
  justify-content: center;
}
.pc-fullscreen-image__modal_with-slider .pc-fullscreen-image__modal-content {
  background-color: transparent;
}
.pc-fullscreen-image__modal_with-slider .pc-fullscreen-image__modal-content:hover .pc-fullscreen-image__expand-icon-wrapper, .pc-fullscreen-image__modal_with-slider .pc-fullscreen-image__modal-content:hover .pc-fullscreen-image__close-icon-wrapper {
  opacity: 1;
}
.pc-fullscreen-image__modal-image {
  display: block;
  max-width: 1232px;
  max-height: 70vh;
  overflow: hidden;
}
.pc-fullscreen-image__modal-slider {
  max-width: 100vw;
  width: 100%;
  height: 100vh;
}
.pc-fullscreen-image__modal-slider_item {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pc-fullscreen-image__modal-slider_item-image {
  display: block;
  margin: auto;
  border-radius: var(--pc-border-radius);
  overflow: hidden;
  margin-top: 40px;
  max-height: calc(100vh - 120px);
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.pc-fullscreen-image__modal .g-modal__content, .pc-fullscreen-image__modal-image {
  border-radius: var(--pc-border-radius);
}
.pc-fullscreen-image__expand-icon-wrapper {
  display: inline-block;
  margin: 0;
  padding: 0;
  font: inherit;
  border: none;
  outline: none;
  color: inherit;
  background: none;
  cursor: pointer;
}
.pc-fullscreen-image__expand-icon-wrapper:focus {
  outline: 2px solid var(--g-color-line-focus);
  outline-offset: 0;
}
.pc-fullscreen-image__expand-icon-wrapper:focus:not(:focus-visible) {
  outline: 0;
}
.pc-fullscreen-image__expand-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--g-color-base-simple-hover-solid);
  cursor: pointer;
  opacity: 0;
  transition: 0.3s;
}
.pc-fullscreen-image__expand-icon-wrapper:focus {
  opacity: 1;
}
@media (max-width: 769px) {
  .pc-fullscreen-image__expand-icon-wrapper {
    opacity: 1;
  }
}
.pc-fullscreen-image__expand-icon-wrapper {
  position: absolute;
  right: 16px;
  top: 16px;
}
.pc-fullscreen-image__expand-icon-wrapper_visible {
  opacity: 1;
}
.pc-fullscreen-image__close-icon-wrapper {
  display: inline-block;
  margin: 0;
  padding: 0;
  font: inherit;
  border: none;
  outline: none;
  color: inherit;
  background: none;
  cursor: pointer;
}
.pc-fullscreen-image__close-icon-wrapper:focus {
  outline: 2px solid var(--g-color-line-focus);
  outline-offset: 0;
}
.pc-fullscreen-image__close-icon-wrapper:focus:not(:focus-visible) {
  outline: 0;
}
.pc-fullscreen-image__close-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--g-color-base-simple-hover-solid);
  cursor: pointer;
  opacity: 0;
  transition: 0.3s;
}
.pc-fullscreen-image__close-icon-wrapper:focus {
  opacity: 1;
}
@media (max-width: 769px) {
  .pc-fullscreen-image__close-icon-wrapper {
    opacity: 1;
  }
}
.pc-fullscreen-image__close-icon-wrapper {
  z-index: 1001;
  position: absolute;
  right: 24px;
  top: 24px;
}
.pc-fullscreen-image__icon {
  color: var(--g-color-text-hint);
}
.pc-fullscreen-image__icon_hover:hover {
  color: var(--g-color-text-secondary);
}
@media (max-width: 769px) {
  .pc-fullscreen-image__modal .g-modal__content-wrapper {
    margin: 8px;
  }
  .pc-fullscreen-image__modal_with-slider .g-modal__content-wrapper {
    margin: 0;
  }
}