.vtour {
    position: relative !important;
    overflow: hidden;
    min-height: 300px;
    padding: 0;
    margin: 0px auto;
    cursor: url("cursors/hand.a53d0d07d858.svg") 20 20,grab;
    user-select: none;
}
#vtour-container {
    margin: 0px auto;
    touch-action: none;
}
.vtour.vtour-moving {
    cursor: url("cursors/cursor_rotating.f0b52cd6a3dc.svg") 20 20,grab;
}
.vtour.vtour-moving.vtour-moving-vertical {
    cursor: url("cursors/hand_hv.ec81bfd6a0e2.svg") 20 20,grab;
}
.vtour.vtour-drag {
    cursor: url("cursors/drag.f169968162ef.svg") 20 20,grab;
}
.vtour .vtour-bg {
    opacity: 0.4;
    background: no-repeat center;
    background-size: cover;
    -webkit-filter: blur(13px);
    filter: blur(13px);
    width: 100%;
    height: 100%;
    position: absolute;
}
.vtour img {
    /* position: absolute;
    top: 0;
    left: 0;  */
    /* width: 800px; */
    border: 1px solid gray;
    display: none;
    /* transform: translate3d(0, 0, 0);
    visibility: hidden;
    opacity: 0;
    transition: opacity 5.95s linear; */
    width: 100%; /* Ширина изображений */
    height: 100%; /* Высота изображении */
    object-fit: cover; /* Вписываем фотографию в область */

    /* Чтобы высота в 100vh считалась правильно на мобилках, но не работает */
    /* min-height: -webkit-fill-available;
    height: -webkit-fill-available; */

    /* Изменение метода интерполяции картинок для сжатия */
    /* https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering */
    image-rendering: -moz-crisp-edges; /* Firefox */
    -ms-interpolation-mode: nearest-neighbor;  /* IE */
    image-rendering: -webkit-optimize-contrast; /* Chrome */
    image-rendering: crisp-edges; /* Стандартное свойство */
    image-rendering: -o-crisp-edges;  /* Opera */
}

.vtour img.visible {
    display: block;
    /* visibility: visible;
    opacity: 1;
    transition: opacity 0s linear; */
}
.vtour .vtour-canvas {
    display: block;
    margin: 0px auto;
    position: relative;
}
.vtour .vtour-canvas.full-width {
    display: block;
    width: 100%;
    height: 100%;
}
.vtour .vtour-canvas.full-width.vertical {
    display: block;
    width: auto;
    height: 100%;
}

.vtour .vtour-container {
    position: relative !important;
    margin: 0px auto;
    width: 100%;
    height: 100%;
}


.loading{
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    height: 100px;
    color: lightgrey;
    z-index: 4;
    text-align: center;
    display: block;
    padding: 20px;
    background-color: rgb(0,0,0, 0.5);
    border-radius: 8px;
}

.loader-text {
    margin-top: 1.3em;
    font-size: 1rem;
}

.vtour .loading img {
    display: inline-flex;
}

.disabled {
    background-color: lightgray;
    pointer-events: none;
    cursor: none;
}

.controls-container {
    position: absolute;
    top: 35px;
    left: 6px;
    z-index: 1;
}

.controls {
    margin-top: 4px;
    background-color: #fff;
    border: 1px solid #999;
    border-color: rgba(0,0,0,.4);
    border-radius: 3px;
    cursor: pointer;
    z-index: 2;
    -webkit-transform: translateZ(9999px);
    transform: translateZ(9999px);
}

.sprite {
    background-image: url("images/buttons.2aeff851c47a.svg");
}

.control:hover {
    background-color: #f8f8f8;
}

.controls-float-right {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}


.controls-float-bottom .margin-left {
    margin-left: 4px;
}

/* .controls-pie {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    opacity: .8;
    pointer-events: all;
    color: lightgray;
    position: relative;
    transition: opacity 250ms;
} */
.controls-pie>svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.control-button {
    width: 26px;
    height: 26px;
}
.control-button.active {
  background-color: var(--color-primary);
}
.fullscreen-toggle-button-inactive {
    background-position: -1px -52px;
}
.fullscreen-toggle-button-active {
    background-position: -1px -78px;
}

.fullscreen-body .container{
    max-width: none;
}
.fullscreen-body nav, .fullscreen-body .section-header{
    display: none;
}
.fullscreen-body section {
    padding: 24px 0;
}

.play-button {
    background-position: 0 -233px;
}


.press-and-spin {
  position: absolute;
  z-index: 1;
  top: 30%;
  left: 50%;
  width: 110px;
  height: 50px;
  cursor: url("cursors/hand.a53d0d07d858.svg") 20 20,grab;
  touch-action: none;
  background-image: url("images/press-and-spin.328c911f1111.svg");
  background-repeat: no-repeat;
  background-position: 50%;
  transform: translate(-100%,-50%);
  animation: PressAndSpin 2s ease-in-out infinite alternate;
}
@keyframes PressAndSpin {
  0% {
    transform:translate(-100%,-50%)
  }
  to {
    transform:translateY(-50%)
  }
}

#vtour-preloader {
  z-index: 999999;
  overflow: hidden;
  background: #fff;
  transition: all 0.6s ease-out;
}

#vtour-preloader:before {
  content: "";
  position: absolute;
  left: calc(50% - 30px);
  border: 6px solid #fff;
  border-color: #feb900 transparent #feb900 transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: vtour-animate-preloader 1.5s linear infinite;
}

@keyframes vtour-animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Новое после перемещения кнопок в правый нижний угол */

.wrapper {
    position: relative;
}

.controls-float-bottom {
    position: absolute;
    right: 6px;
    bottom: 6px;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.5);
    min-width: 133px;
    height: 33px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding-right: 4px;
    padding-bottom: 4px;
    padding-left: 5px;
}

  .horizontal-controls {
    margin-top: 4px;
    background-color: #fff;
    border: 1px solid #999;
    border-color: rgba(0,0,0,.4);
    border-radius: 3px;
    cursor: pointer;
    z-index: 2;
    -webkit-transform: translateZ(9999px);
    transform: translateZ(9999px);
  }

.controls-float-top {
  position: absolute;
  right: 1px;
  top: 1px;
  z-index: 2;
  height: 33px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  padding-right: 4px;
  padding-bottom: 4px;
  padding-left: 5px;
  cursor: pointer;
  z-index: 2;
  background-color: none;
}

.zoom-controls {
    width: 52px;
    height: 26px;
    margin-right: 10px;
}

.zoom-in {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    border-radius: 3px 3px 0 0;
    background-position: -1px 0px;
}
.zoom-out {
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    background-position: -1px -26px;
    border-left: 1px solid #ddd;
    border-left-color: rgba(0,0,0,.1);
    border-radius: 0 0 3px 3px;
}

.level-button-top {
    background-position: 0 -131px;
}
.level-button-horiz {
    background-position: -1px -183px;
}
.level-button-bottom {
    background-position: 0 -207px;
}

.badges {
    position: absolute;
    top: 4px;
    left: 6px;
    z-index: 1;
    width: 83px;
}

.button-360 {
    border: 1px solid black;
    background-image: url("images/360-degrees.0a7251bcbf98.png") center no-repeat;
    border-radius: 4px;
    padding: 2px 5px;
    float: left;
}

.button-360::before {
    content: ''; /* Создаем пустое содержимое для псевдоэлемента */
    background-image: url("images/360-degrees-2.60e067597e86.png");
    background-size: cover;
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.drag-button {
    width: 35px;
    border: 1px solid #f2f2f7;
    background-image: url("cursors/drag.f169968162ef.svg");
    background-position: -3px 32px;
    background-color: var(--color-primary);
    border-radius: 4px;
    text-align: center;

    float: left;
}
.drag-button.off {
    opacity: 0.1;
    background-color: transparent;
}

.vtour-caption {
    position: absolute;
    left: 18px;
    bottom: 6px;
    z-index: 2;
    font-size: 17px;
    font-weight: bold;
    color: gray;
    background-color: rgb(255, 255, 255, 0.5);
    padding: 2px 15px;
    border-radius: 3px;
    max-width: 139px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    height: 33px;
}

@media only screen and (min-width: 680px) {
    .vtour-caption {
        max-width: 300px;
    }
}
