/* картинки с увеличением */
.with-modal {
    display: inline-block;
    position: relative;
    cursor: zoom-in;
  }


  .with-modal:after {
    content: "";
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 299.998 299.998' style='enable-background:new 0 0 299.998 299.998' xml:space='preserve'%3E%3Cpath d='M139.414 96.193c-22.673 0-41.056 18.389-41.056 41.062 0 22.678 18.383 41.062 41.056 41.062 22.678 0 41.059-18.383 41.059-41.062.001-22.673-18.379-41.062-41.059-41.062zm19.841 50.778h-12.06v12.06a7.78 7.78 0 0 1-7.781 7.781 7.78 7.78 0 0 1-7.781-7.781v-12.06h-12.06a7.78 7.78 0 0 1-7.781-7.781 7.78 7.78 0 0 1 7.781-7.781h12.06v-12.063a7.78 7.78 0 0 1 7.781-7.781 7.78 7.78 0 0 1 7.781 7.781v12.063h12.06a7.78 7.78 0 0 1 7.781 7.781 7.779 7.779 0 0 1-7.781 7.781z'/%3E%3Cpath d='M149.997 0C67.157 0 .001 67.158.001 149.995s67.156 150.003 149.995 150.003 150-67.163 150-150.003S232.836 0 149.997 0zm75.441 221.254c-2.371 2.376-5.48 3.561-8.59 3.561s-6.217-1.185-8.593-3.561l-34.145-34.147a60.43 60.43 0 0 1-34.697 10.896c-33.548 0-60.742-27.196-60.742-60.744s27.194-60.742 60.742-60.742 60.744 27.194 60.744 60.739a60.434 60.434 0 0 1-9.28 32.256l34.56 34.562c4.748 4.743 4.748 12.438.001 17.18z'/%3E%3C/svg%3E");
    opacity: 0.6;
    bottom: 1.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    pointer-events: none;
  }
  
  .modal, .modal-background {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .modal {
    align-items: center;
    display: none;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: fixed;
    z-index: 1040;
  }
  .modal.is-active {
    display: flex;
  }
  .modal .modal-background {
    background-color: rgba(10, 10, 10, 0.86);
    cursor: zoom-out;
  }
  .modal .modal-content {
    margin: 0 20px;
    max-height: calc(100vh - 160px);
    overflow: auto;
    position: relative;
    width: 100%;
  }
  .modal .modal-content .image img {
    display: block;
    height: auto;
    width: 1000px;
    box-shadow: none;
  }
  @media screen and (min-width: 769px), print {
    .modal .modal-content {
      margin: 0 auto;
      max-height: calc(100vh - 40px);
      width: 100%;
      max-width: 800px;
    }
  }
  .modal .modal-close {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: none;
    border-radius: 290486px;
    cursor: pointer;
    pointer-events: auto;
    display: inline-block;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 0;
    height: 32px;
    max-height: 32px;
    max-width: 32px;
    min-height: 32px;
    min-width: 32px;
    width: 32px;
    outline: none;
    vertical-align: top;
    background: none;
    position: fixed;
    right: 20px;
    top: 20px;
  }
  .modal .modal-close:before, .modal .modal-close:after {
    background-color: white;
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transform-origin: center center;
  }
  .modal .modal-close:after {
    background-color: white;
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transform-origin: center center;
    height: 50%;
    width: 2px;
  }
  .modal .modal-close:before {
    height: 2px;
    width: 50%;
  }
  .modal .modal-close:hover, .modal .modal-close:focus {
    background-color: rgba(10, 10, 10, 0.3);
  }