.photos {
  display: flex; }
  .photos__player {
    box-sizing: border-box;
    flex: 0 0 60%;
    padding-right: 20px;
    width: 60%; }
  .photos__gallery {
    flex: 0 0 40%;
    width: 40%; }

.gallery {
  display: flex;
  flex-wrap: wrap;
  margin-top: -5px;}
  .gallery__link {
    display: block;
    width: 25%; }
  .gallery__thumb {
    background: #dce0e4;
    border: #fff solid 5px;
    margin: 0;
    overflow: hidden;
    padding-bottom: 60%;
    position: relative; }
  .gallery__img {
    display: block;
    height: 100%;
    left: 50%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 100%; }

.spin-player {
  background: #dce0e4;
  display: none;
  min-height: 400px;
  overflow: hidden;
  position: relative; }
  .spin-player.active {
    display: block; }

.player-360 {
  background: #dce0e4;
  display: none;
  overflow: hidden;
  padding-bottom: 60%;
  position: relative; }
  .player-360.active {
    display: block; }
  .player-360 iframe {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%; }

.photos-controls {
  display: flex;
  margin-bottom: 10px;
  margin-top: 10px; }
  .photos-controls--fixed {
    bottom: 10px;
    margin: 0;
    position: absolute;
    right: 10px;
    z-index: 10; }
  .photos-controls a {
    color: #000; }
    .photos-controls a.active {
      color: #fff; }
  .photos-controls__btn {
    align-items: center;
    -webkit-appearance: none;
    background: #fff;
    border: #d8e1f2 solid 1px;
    color: #000;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    height: 30px;
    line-height: 1;
    padding: 0 10px;
    transition: background .3s;
    white-space: nowrap; }
    .photos-controls__btn.active, .photos-controls__btn.active:hover {
      background: #333;
      border-color: #333;
      color: #fff; }
      .photos-controls__btn.active path, .photos-controls__btn.active:hover path {
        fill: #fff; }
    .photos-controls__btn:hover {
      background: #dce0e4; }
    .photos-controls__btn + .photos-controls__btn {
      margin-left: 10px; }
  .photos-controls__icon {
    margin-right: 10px; }
  .photos-controls__label {
    flex: 1 0 auto; }

.spritespin-progress {
  color: #000;
  font-size: 14px;
  font-weight: bold;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  z-index: 99; }

.spritespin-instance {
  /*min-height: 500px; */
}

.zoomed {
    position: absolute;
    width: 300px;
    height: 300px;
    background-size: 100%;
    z-index: 999;
    top: 0;
    left: 0;
}

