.t1035 {
    position: fixed;
    z-index: 999;
    bottom: 20px;
    left: 20px;
    right: unset;
    user-select: none
}

.t1035.t1035_previewmode {
    text-align: left
}

.t1035.t1035_previewmode[data-align-widget="right"] {
    text-align: right
}

.t1035__container {
    display: inline-block
}

.t1035__video-container, .t1035__thumb-container, .t1035__video-wrapper, .t1035__thumb-wrapper, .t1035__thumb {
    position: relative
}

.t1035 .t1035__thumb-container {
    display: block
}

.t1035 .t1035__video-container, .t1035.t1035__container--is_opened .t1035__thumb-container {
    display: none
}

.t1035.t1035__container--is_opened .t1035__video-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.t1035__video-container {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: end;
    -ms-flex-pack: end;
    justify-content: end;
    animation: t1035__fadeAndSlideIn ease 300ms
}

@keyframes t1035__fadeAndSlideIn {
    0% {
        opacity: 0;
        transform: translateY(75px)
    }
    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.t1035[data-align-widget="left"] .t1035__video-container {
    -webkit-align-items: start;
    -ms-flex-align: start;
    align-items: start
}

.t1035[data-align-widget="right"] .t1035__video-container {
    -webkit-align-items: end;
    -ms-flex-align: end;
    align-items: end
}

.t1035__video-wrapper {
    height: 100%;
    border-radius: 10px;
    max-height: calc(100vh - 50px);
    max-width: 25vw;
    min-height: 125px;
    min-width: 125px
}

.t1035__thumb-wrapper {
    border-radius: 7px
}

.t1035__video-wrapper, .t1035__thumb-wrapper {
    overflow: hidden;
    /*border-style: solid;*/
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, .3);
    z-index: 0
}

.t1035__video-wrapper.t1035__video-wrapper--animate {
    transition: height ease 200ms, width ease 200ms
}

.t1035__video {
    position: absolute;
    top: 0;
    left: 0
}

.t1035__thumb-container {
    cursor: pointer;
    transition: transform ease 300ms
}

.t1035__video, .t1035__thumb {
    object-fit: cover;
    background-color: transparent;
    width: 100%;
    height: 100%;
    will-change: transform
}

.t1035__button-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-self: center;
    -ms-grid-row-align: center;
    align-self: center;
    position: absolute;
    bottom: 25px;
    opacity: 0;
    animation: t1035__fadeIn ease-in-out 300ms forwards
}

@keyframes t1035__fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

.t1035__button-container.t1035__button-container_wide {
    width: calc(100% - 50px)
}

.t1035__button-container.t1035__button-container_wide .t1035__button-wrapper, .t1035__button-container.t1035__button-container_wide .t-btn {
    width: 100%
}

.t1035__button-container {
    transition: transform ease-in-out 300ms
}

.t1035__button-wrapper .t-btn {
    border-radius: 30px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .3)
}

.t1035__video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    border: 0;
    border-radius: 100%;
    pointer-events: none;
    z-index: 1;
    animation: t1035__scaleAndFadeIn ease-in-out 200ms forwards
}

@keyframes t1035__scaleAndFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.75)
    }
    100% {
        opacity: 1
    }
}

.t1035__thumb-close-btn, .t1035__video-close-btn {
    position: absolute;
    cursor: pointer;
    border: none;
    padding: 3px;
    border-radius: 30px;
    background: #222;
    z-index: 1;
    transition: transform ease-in-out 300ms
}

.t1035__video-close-btn {
    top: -9px;
    right: -9px;
    width: 18px;
    height: 18px
}

.t1035__thumb-close-btn {
    top: -7px;
    right: -7px;
    width: 18px;
    height: 18px
}

.t1035__thumb-close-btn svg, .t1035__video-close-btn svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.t1035__thumb-close-btn svg {
    width: 8px
}

.t1035__video-close-btn svg {
    width: 13px
}

@media screen and (max-width: 1200px) {
    .t1035__video-wrapper {
        max-width: 40vw
    }
}

@media screen and (max-width: 960px) {
    .t1035__video-wrapper {
        max-width: 50vw
    }
}

@media screen and (max-width: 640px) {
    .t1035__video-wrapper {
        max-width: 60vw
    }
}

@media (hover: hover) {
    .t1035__thumb-close-btn {
        opacity: 0
    }

    .t1035__thumb-container:hover .t1035__thumb-close-btn {
        opacity: 1
    }

    .t1035__thumb:focus-visible + .t1035__thumb-close-btn {
        opacity: 1
    }

    .t1035__thumb-close-btn:focus-visible {
        opacity: 1
    }

    .t1035.t1035_previewmode .t1035__thumb-container:hover {
        transform: none
    }

    .t1035__thumb-container:hover, .t1035__thumb-close-btn:hover {
        transform: scale(1.05)
    }

    .t1035__thumb-close-btn:focus-visible {
        transform: scale(1.07)
    }

    .t1035__video-close-btn:hover {
        transform: scale(1.1)
    }

    .t1035__video-close-btn:focus-visible {
        transform: scale(1.1)
    }

    .t1035__thumb-close-btn:hover, .t1035__video-close-btn:hover {
        background: #666
    }

    .t1035__thumb-close-btn:focus-visible {
        background: #666
    }

    .t1035__video-close-btn:focus-visible {
        background: #666
    }

    .t1035__button-container.t1035__button-container_xs:hover {
        transform: scale(1.07)
    }

    .t1035__button-container.t1035__button-container_sm:hover {
        transform: scale(1.05)
    }

    .t1035__button-container.t1035__button-container_md:hover {
        transform: scale(1.03)
    }

    .t1035__button-container:focus-visible {
        transform: scale(1.07)
    }
}
.t1035.t1035__container--is_opened .t1035__video-close-btn {
    width: 24px;
    height: 24px;
}