@charset "utf-8";

[data-content-type1='visualVideo'] {
}
.product_edit_wrap [data-content-type1='visualVideo'],
.product_detail_block [data-content-type1='visualVideo'] {
    position: relative;
    z-index: 0;
}
[data-content-type1='visualVideo'] .resp_contents_wrap {
    position: relative;
    z-index: 1;
}
[data-content-type1='visualVideo'] .video_inner {
    background: #000;
    color: #f1f1f1;
}
[data-content-type1='visualVideo'] .resp_video_wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow:hidden;
}
[data-content-type1='visualVideo'] .resp_video_wrap .video_inner {
    height: 100%;
    display: flex;
    justify-content: center;
}
[data-content-type1='visualVideo'] .resp_video_wrap iframe {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: calc(100% + 110px);
    margin-top: -60px;
    transform: translate(-50%, 0);
    pointer-events: none;
}
[data-content-type1='visualVideo'] .resp_video_wrap .video_inner:has(video) {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, 0);
    pointer-events: none;
}
[data-content-type1='visualVideo'] .resp_video_wrap video {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

/* 탭 블록, 미니 블록, 상품상세 블록 삽입시 레이아웃 조정 */
[data-content-type1='layout'] [data-content-type1='visualVideo'] .resp_contents_wrap,
[data-content-type1='tab'] [data-content-type1='visualVideo'] .resp_contents_wrap,
.product_edit_wrap [data-content-type1='visualVideo'] .resp_contents_wrap,
.product_detail_block [data-content-type1='visualVideo'] .resp_contents_wrap {
    margin: 0 15px;
}

@media only screen and (min-width:1280px) {
    [data-content-type1='visualVideo'] .desktop-ms-w50 {
        margin-left: 50%;
    }
}

@media (max-aspect-ratio: 16/9) {
    [data-content-type1='visualVideo'] .resp_video_wrap iframe {
        width: 157.78vh;
    }
    [data-content-type1='visualVideo'] .resp_video_wrap video {
        width: 157.78vh;
    }
}

/* 특정 조건에 대한 레이아웃 설정 */
@media only screen and (max-width:767px) {
    [data-content-type1='visualVideo'] .text-sm-left {
        text-align: left !important;
    }
}
