.imp-wrap {
    position: relative;
    width: auto;
    height: auto;
    overflow: hidden;
}

.hs-loader-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

.imp-wrap > img {
    position: relative !important;
    z-index: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important
}

.hs-arrow, .imp-shape-container, .imp-shape-oval, .imp-shape-rect, .imp-shape-spot, .imp-tooltip, .imp-tooltip-buffer {
    position: absolute
}

.imp-shape-container {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2
}

.imp-shape {
    cursor: pointer;
    pointer-events: all;
    transition: all .25s cubic-bezier(.55, 0, .1, 1);
    -moz-transition: all .25s cubic-bezier(.55, 0, .1, 1);
    -webkit-transition: all .25s cubic-bezier(.55, 0, .1, 1);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box
}

.imp-shape-spot {
    display: flex;
    justify-content: center;
    align-items: center
}

.imp-shape-icon-shadow {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
    transform: scale(1, .25);
    background: -moz-radial-gradient(center, ellipse cover, rgba(0, 0, 0, .53) 0, rgba(0, 0, 0, .3) 10%, rgba(0, 0, 0, .13) 28%, rgba(0, 0, 0, .04) 44%, rgba(0, 0, 0, 0) 67%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-radial-gradient(center, ellipse cover, rgba(0, 0, 0, .53) 0, rgba(0, 0, 0, .3) 10%, rgba(0, 0, 0, .13) 28%, rgba(0, 0, 0, .04) 44%, rgba(0, 0, 0, 0) 67%, rgba(0, 0, 0, 0) 100%);
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, .53) 0, rgba(0, 0, 0, .3) 10%, rgba(0, 0, 0, .13) 28%, rgba(0, 0, 0, .04) 44%, rgba(0, 0, 0, 0) 67%, rgba(0, 0, 0, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#87000000', endColorstr='#00000000', GradientType=1)
}

.imp-shape img {
    width: 100%
}

.hs-arrow-bottom, .hs-arrow-top {
    left: 50%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent
}

.imp-tooltip {
    display: none;
    z-index: 1;
    transition-property: none;
    -moz-transition-property: none;
    -webkit-transition-property: none;
    transition-duration: .2s;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    transition-timing-function: cubic-bezier(.55, 0, .1, 1);
    -moz-transition-timing-function: cubic-bezier(.55, 0, .1, 1);
    -webkit-transition-timing-function: cubic-bezier(.55, 0, .1, 1);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box
}

.imp-tooltip.imp-tooltip-visible {
    opacity: 1 !important;
    z-index: 4;
    transform: scale(1, 1) !important;
    -moz-transform: scale(1, 1) !important;
    -webkit-transform: scale(1, 1) !important
}

.hs-arrow-top {
    top: 0;
    margin-top: -10px;
    border-bottom: 10px solid #000
}

.hs-arrow-bottom {
    top: 100%;
    margin-top: 0;
    border-top: 10px solid #000
}

.hs-arrow-left, .hs-arrow-right {
    top: 50%;
    margin-top: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent
}

.hs-arrow-right {
    left: 100%;
    margin-left: 0;
    border-left: 10px solid #000
}

.hs-arrow-left {
    left: 0;
    margin-left: -10px;
    border-right: 10px solid #000
}

.imp-tooltip-buffer-top {
    left: 0;
    top: -20px;
    width: 100%;
    height: 20px
}

.imp-tooltip-buffer-bottom {
    left: 0;
    top: 100%;
    width: 100%;
    height: 20px
}

.imp-tooltip-buffer-left {
    left: -20px;
    top: 0;
    width: 20px;
    height: 100%
}

.imp-tooltip-buffer-right {
    left: 100%;
    top: 0;
    width: 20px;
    height: 100%
}

.imp-tooltip-buffer-top.imp-tooltip-buffer-large {
    left: 0;
    top: -60px;
    width: 100%;
    height: 60px
}

.imp-tooltip-buffer-bottom.imp-tooltip-buffer-large {
    left: 0;
    top: 100%;
    width: 100%;
    height: 60px
}

.imp-tooltip-buffer-left.imp-tooltip-buffer-large {
    left: -60px;
    top: 0;
    width: 60px;
    height: 100%
}

.imp-tooltip-buffer-right.imp-tooltip-buffer-large {
    left: 100%;
    top: 0;
    width: 60px;
    height: 100%
}

.imp-fullscreen-tooltips-container {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow-y: auto;
    z-index: 2147483647
}

.imp-fullscreen-tooltips-container .imp-fullscreen-tooltip {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    transition-property: none;
    -moz-transition-property: none;
    -webkit-transition-property: none;
    transition-duration: .2s;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    transition-timing-function: cubic-bezier(.55, 0, .1, 1);
    -moz-transition-timing-function: cubic-bezier(.55, 0, .1, 1);
    -webkit-transition-timing-function: cubic-bezier(.55, 0, .1, 1)
}

.imp-fullscreen-tooltips-container .imp-fullscreen-tooltip.imp-tooltip-visible {
    opacity: 1 !important;
    z-index: 3;
    transform: scale(1, 1) !important;
    -moz-transform: scale(1, 1) !important;
    -webkit-transform: scale(1, 1) !important
}

.imp-fullscreen-tooltips-container .imp-fullscreen-tooltip .imp-tooltip-close-button {
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
    font-size: 24px;
    line-height: 44px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    z-index: 99
}

.imp-fullscreen-button {
    position: absolute;
    height: 44px;
    line-height: 44px;
    padding: 0 12px;
    background: #fff;
    border-radius: 5px;
    color: #222;
    z-index: 3;
    cursor: pointer
}

.imp-fullscreen-button i {
    margin-right: 3px
}

.imp-fullscreen-button-position-0 {
    left: 10px;
    top: 10px
}

.imp-fullscreen-button-position-1 {
    left: 50%;
    top: 10px
}

.imp-fullscreen-button-position-2 {
    right: 10px;
    top: 10px
}

.imp-fullscreen-button-position-3 {
    right: 10px;
    bottom: 10px
}

.imp-fullscreen-button-position-4 {
    left: 50%;
    bottom: 10px
}

.imp-fullscreen-button-position-5 {
    left: 10px;
    bottom: 10px
}

.imp-fullscreen-button-icon-only {
    width: 44px;
    text-align: center;
    font-size: 18px;
    padding: 0
}

.imp-fullscreen-button-icon-only i {
    margin: 0
}

#imp-fullscreen-wrap {
    position: fixed;
    z-index: 999999;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center
}

body.imp-fullscreen-mode {
    overflow: hidden
}


.imp-initialized {
    position: relative;
}


.positionImage {
    padding: 5px;
    margin: 0 0 29px 0;
    border-radius: 2px;
    background: rgba(128, 134, 142, .64);
    width: 252px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.positionImage .positionBlockAnimator {
    width: 252px;
    height: 195px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: stretch;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    margin: 0 auto;
    background: #fff;
}

.positionImage .positionBlockAnimator > div {
    position: relative;
    display: inline-block;
    margin: 2px;
    width: 80px;
    height: 60px;
    background: rgba(128, 134, 142, .06);
    font-size: 0;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    cursor: pointer;
}

.positionImage .positionBlockAnimator > div.active {
    background: #d5f1fc;
}

.positionImage .positionBlockAnimator > div.left:hover,
.positionImage .positionBlockAnimator > div.top:hover,
.positionImage .positionBlockAnimator > div.bottom:hover,
.positionImage .positionBlockAnimator > div.right:hover,
.positionImage .positionBlockAnimator > div.center:hover {
    background: #eee;
}

.positionImage .positionBlockAnimator > div:after {
    content: ' ';
    width: 20px;
    height: 20px;
    background: url(/bitrix/themes/.default/skyweb24.popuppro/arrow.png);
    background-size: 20px;
    background-repeat: no-repeat;
    position: absolute;
}

.positionImage .positionBlockAnimator > div.center:after {
    background: none;
}

.positionImage .positionBlockAnimator > div.left:after {
    transform: rotate(180deg);
    bottom: 20px;
    right: 0;
}

.positionImage .positionBlockAnimator > div.right:after {
    transform: rotate(0deg);
    bottom: 20px;
    left: 0;
}

.positionImage .positionBlockAnimator > div.top:after {
    transform: rotate(-90deg);
    bottom: 0;
    left: 30px;
}

.positionImage .positionBlockAnimator > div.bottom:after {
    transform: rotate(90deg);
    top: 0;
    left: 30px;
}

.positionImage .positionBlockAnimator > div.left.top:after {
    transform: rotate(-135deg);
    bottom: 0;
    left: 60px;
}

.positionImage .positionBlockAnimator > div.right.top:after {
    transform: rotate(-45deg);
    bottom: 0;
    left: 0;
}

.positionImage .positionBlockAnimator > div.right.bottom:after {
    transform: rotate(45deg);
    top: 0;
    left: 0;
}

.positionImage .positionBlockAnimator > div.left.bottom:after {
    transform: rotate(135deg);
    top: 0;
    left: 60px;
}

.positionImage .positionBlockAnimator > div.center {
    visibility: collapse;
}


.imp-social-container {
    position: absolute;
    display: flex;
    z-index: 2;
}

.imp-social-container.imp-social-container-position-0 {
    top: 0;
    left: 0;
}

.imp-social-container.imp-social-container-position-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.imp-social-container.imp-social-container-position-2 {
    top: 0;
    right: 0;
}

.imp-social-container.imp-social-container-position-3 {
    bottom: 0;
    right: 0;
}

.imp-social-container.imp-social-container-position-4 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.imp-social-container.imp-social-container-position-5 {
    bottom: 0;
    left: 0;
}

.imp-social-container.imp-social-container-position-6 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    flex-direction: column;
}

.imp-social-container.imp-social-container-position-7 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    flex-direction: column;
}

.imp-social-button-item {
    border-radius: 50%;
    border: 2px solid;
    border-color: #ffffff;
    height: 50px;
    width: 50px;
    padding: 5px;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.imp-social-button-item svg {
    height: 100%;
    width: 100%;
}

.imp-social-button-item.imp-button-share svg {
    width: 70%;
    height: 70%;
}

.imp-social-button-item.imp-button-like svg {
    width: 80%;
    height: 80%;
}

.imp-social-button-item.imp-button-show .svg_show {
    display: block;
}

.imp-social-button-item.imp-button-show .svg_hide {
    display: none;
}

.imp-social-button-item.imp-button-show.hide-eye .svg_show {
    display: none;
}

.imp-social-button-item.imp-button-show.hide-eye .svg_hide {
    display: block;
}

.imp-social-button-item.imp-button-like .svg-not-like {
    display: block;
}

.imp-social-button-item.imp-button-like .svg-like {
    display: none;
}

.imp-social-button-item.imp-button-like.is-like .svg-not-like {
    display: none;
}

.imp-social-button-item.imp-button-like.is-like .svg-like {
    display: block;
}

.imp-window-close-icon:after {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 10px;
    height: 10px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNy43ODcgMUw1IDMuNzg3IDIuMjEzIDEgMSAyLjIxMyAzLjc4NyA1IDEgNy43ODcgMi4yMTMgOSA1IDYuMjEzIDcuNzg3IDkgOSA3Ljc4NyA2LjIxMyA1IDkgMi4yMTMiIGZpbGw9IiM1MzVDNkEiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==);
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
}

.imp-window-close-icon {
    cursor: pointer;
    height: 27px;
    outline: none;
    opacity: 0.5;
    position: absolute;
    right: 0;
    top: 0;
    width: 27px;
    -webkit-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}

.imp-window-close-icon:hover {
    opacity: 1;
}

.imp-bg-windows {
    z-index: 99999998;
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    background-color: #3c3c3c9e;
}

.imp-window {
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffff;
    border-radius: 4px;
    padding: 10px;
    z-index: 99999999;
}

.imp-window .imp-social-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.imp-window .imp-social-item {
    width: 50px;
    height: 50px;
    margin: 10px;
    display: block;
}

.imp-window .imp-social-item img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: .8;
    transition: .3s opacity;
}

.imp-window .imp-social-item img:hover {
    opacity: 1;
}

.imp-window .imp-social-copy {
    display: flex;
    justify-content: center;
}

.imp-window .imp-window-container {
    padding: 10px;
}

.imp-window .imp-social-copy-button {
    margin: 20px 0px 10px 0px;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    color: #fff;
    border: 1px solid #2e86de;
    border-radius: 7px;
    transition: .3s background;
    background: #54a0ff;
}

.imp-window .imp-social-copy-button:hover {
    background: #2e86de;
}

.imp-window h2 {
    text-align: center;
    font-size: 26px;
}

.imp-window .imp-social-copy-success-message {
    font-size: 16px;
    color: #72d2e8;
    margin: 10px auto;
}


.imp-shape-text {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .imp-social-button-item {
        height: 40px;
        width: 40px;
        margin: 4px;
    }
}

@media (max-width: 425px) {
    .imp-social-button-item {
        height: 35px;
        width: 35px;
        margin: 2px;
    }
}

@media (max-width: 320px) {
    .imp-window .imp-social-item {
        margin: 10px 15px;
    }
}


.imp-main-image {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.imp-ui-zoom-button {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: white;
    color: #222;
    text-align: center;
    line-height: 30px;
    font-size: 12px !important;
    z-index: 1;
    border-radius: 5px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.imp-ui-element {
    z-index: 3;
}

.imp-ui-zoom-button-zoom-in {
    bottom: 54px;
}

.imp-zoom-outer-wrap {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.imp-translate-wrap {
    width: 100%;
    height: 100%;
}

.imp-zoom-wrap {
    transform: scale(1, 1) translate(0, 0);
    transform-origin: 0% 0%;
    width: 100%;
    height: 100%;
}

/* UI general */
.imp-ui-element {
    cursor: pointer;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    border: 1px solid #00000059;
    border-radius: 5px;
    font-family: sans-serif;
    font-size: 14px;
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

.imp-ui-element:active {
    filter: brightness(0.8);
    -moz-filter: brightness(0.8);
    -webkit-filter: brightness(0.8);
}

.imp-ui-layers-select:active {
    filter: none;
}

.imp-ui-navigator-root {
    position: absolute;
    left: 20px;
    bottom: 20px;
    /* z-index: 1; */
    cursor: pointer;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.imp-ui-navigator-root:active {
    filter: none !important;
    -moz-filter: none !important;
    -webkit-filter: none !important;
}

@media screen and (max-width: 576px) {
    .imp-ui-navigator-root {
        display: none;
    }
}

.imp-ui-navigator-background-image-edgefill {
    z-index: 0;
    position: absolute;
    display: block;
    max-width: 150px;
    max-height: 150px;

    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.imp-ui-navigator-background-image {
    z-index: 1;
    position: relative;
    display: block;
    max-width: 150px;
    max-height: 150px;

    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;

    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);
}

.imp-ui-navigator-overlay {
    z-index: 2;
    position: absolute;
    background: black;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    left: 0;
    top: 0;
}

.imp-ui-navigator-window-image {
    z-index: 3;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    max-width: 150px;
    max-height: 150px;

    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}