#scenario_20 {}

/*  에어컨 리모컨 조작  */
#scenario_20-modal_a {
   width: 100%;
   height: 100%;
}

#scenario_20-modal_a .button_a {
    position: absolute;
    top: 84.5%;
    left: 6%;
    width: 88%;
    height: 14%;
    z-index: 1;
    display: none;
}

#scenario_20-modal_a[data-action="1"] .button_a {
    display: block;
}


#scenario_20-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#scenario_20-mobile_a {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    max-width: 362px;
    transition: transform 0.5s;
}

/* #scenario_20-modal_a[data-action="1"] #scenario_20-mobile_a {
    transform: translate(-50%, 0%);
} */


#scenario_20-modal_a .pointer {
    position: absolute;
    width: 61.79%;
    aspect-ratio: 1.725 / 1 auto;
    max-width: 352px;
    opacity: 0;
    transition: 1s;
}

#scenario_20-modal_a[data-action="1"] .pointer {
    top: 87%;
    left: 83.5%;
    opacity: 1;
}

/* #scenario_20-modal_a .pointer::after {
    content: "";
    position: absolute;
    width: max-content;
    padding: 6px 32px;
    background-color: #154EDE;
    border-radius: 34px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    display: none;
}

#scenario_20-modal_a[data-action="1"] .pointer::after {
    content: "'에어케어 패널' 터치!";
    display: block;
    top: 100%;
    left: 100%;
    transform: translateY(-100%);
} */
#scenario_20-modal_b{
    position: relative;
    width: 100%;
    height: 100vh;
}
#scenario_20-video-btn_play{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20.5%;
    aspect-ratio: 1 / 1 auto;
    background: url("../images/scenario_20/play.png") center center / cover no-repeat;

}
#scenario_20-modal_c{
    width: 100vw;
    height: 100vh;
}
#scenario_20-video_b{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (min-height: 920px) {
    #scenario_20-mobile_a{
        top: 43%;
    }
    /* #scenario_20-modal_a[data-action="1"] .pointer{
        top: 63%;
    }
    #scenario_20-modal_a .button_a{
        top: 61.5%;
    } */
}
@media (max-width: 768px) {
    #scenario_20-mobile_a{
        top:43%;
        width: 77%;
    }
    #scenario_20-modal_b{
        width: 100%;
    }

    #scenario_20-modal_a .button_a {
        top: 87%;
        left: 23%;
        width: 54%;
        height: 14%;
    }
    #scenario_20-modal_a[data-action="1"] .pointer {
        top: 95%;
        left: 36.5%;
        display: block;
    }
    #scenario_20-modal_a .button_b {
        top: 57%;
        left: 7%;
        width: 43%;
    }
}



/* 비디오 컨트롤러 */
#scenario_20 .video-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    /* aspect-ratio: 16 / 9; */
    margin-inline: auto;
    border-radius: 15px;
    contain: paint;

    
}

#scenario_20 .video-wrapper {
    width: 100%;
    height: 100%;
}

/* #scenario_20 .video-wrapper>video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
} */

#scenario_20 .video-controller {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 65px;
    height: 13.23%;
    padding: 0 50px;
    background: linear-gradient(to bottom, rgb(235, 240, 254) 5%, rgb(194, 201, 222));
    /* position: absolute;
    top: calc(100vh - 13.23%); */
    width: 100%;
}

#scenario_20 .control-video {
    display: flex;
    align-items: center;
    gap: 30px;
}

#scenario_20 .control-video>button {}

#scenario_20 .control-progress {
    width: 100%;
}

#scenario_20 .control-progress .progress-bar {
    position: relative;
    width: 100%;
    height: 3px;
    background-color: #fff;
}

/* #scenario_20 .control-progress .progress-bar .progress-current {
    position: absolute;
    left: 0;
    top: 50%;
    width: 1%;
    height: 100%;
    background-color: red;
    transform: translateY(-50%);
    transition: width 0.3s linear;
} */

#scenario_20 .control-progress .progress-bar .progress-current .progress-current-pointer {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: inline-block;
    width: 10px;
    height: 10px;
    /* background-color: #FF1017; */
    border-radius: 50%;
    cursor: pointer;
}
/* #scenario_20 .video-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 854px;
    max-width: 90%;
    aspect-ratio: 854 / 480;
    margin-inline: auto;
    border-radius: 0;
    contain: unset !important;
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
} */
#scenario_20-modal_b .btn-close-modal_b {
    position: absolute;
    top: -10%;
    right: 0;
    width: 5.3%;
    max-width: 40px;
    aspect-ratio: 1 / 1 auto;
}

#scenario_20 .video-controller{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    height: 11.2%;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 0 2.6%;
    gap: 3.1%;
    margin-bottom: 1.5%;
    border-radius: 0 0 8px 8px;
}
/* 
 */
 
/* 비디오 컨트롤러 */

 #scenario_20 .video-container {
    width: 100%;
    height: 100vh;
 }
/* #scenario_20 .video-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 854px;
    max-width: 90%;
    aspect-ratio: 854 / 480;
    margin-inline: auto;
    border-radius: 0;
    contain: unset !important;
} */

#scenario_20 .video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}


#scenario_20 .video-wrapper>video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#scenario_20 .video-controller {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    height: 11.2%;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 0 2.6%;
    gap: 3.1%;
}


#scenario_20 .btn-video-full{
    width: 36px;
    height:36px;
    position:relative;
}
#scenario_20 .btn-video-full::before{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    border-radius:50%;
    opacity:0;
    transition:opacity 0.2s;
}
#scenario_20 .btn-video-full:hover::before{
    background-color:#6149F8;
    opacity:0.2
}


#scenario_20 .control-video {
    display: flex;
    justify-content: center;
    align-items: center;
}

#scenario_20 .control-video>button img:first-child {display: block;}
#scenario_20 .control-video>button img:last-child {display: none;}
#scenario_20 .control-video>button:hover img:first-child {display: none;}
#scenario_20 .control-video>button:hover img:last-child {display: block;}

#scenario_20 .control-sound>button img:first-child {display: block;}
#scenario_20 .control-sound>button img:last-child {display: none;}
#scenario_20 .control-sound>button:hover img:first-child {display: none;}
#scenario_20 .control-sound>button:hover img:last-child {display: block;}

#scenario_20 .control-video .btn-video-play {}
#scenario_20 .control-video .btn-video-pause {}
#scenario_20 .control-video .btn-video-stop {}

#scenario_20 .control-progress {
    width: 100%;
}

#scenario_20 .control-progress .progress-bar {
    position: relative;
    width: 100%;
    height: 3px;
    background-color: #E0DCED;
}

#scenario_20 .control-progress .progress-bar .progress-current {
    position: absolute;
    left: 0;
    top: 50%;
    width: 1%;
    height: 100%;
    background-color: #815FE1;
    transform: translateY(-50%);
    transition: width 0.3s linear;
}

#scenario_20 .control-progress .progress-bar .progress-current .progress-current-pointer {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: inline-block;
    width: 16px;
    max-width: 16px;
    aspect-ratio: 1 / 1 auto;
    background: url("../images/scenario_20/progress-circle.png") center center / cover no-repeat;
    border-radius: 50%;
    cursor: pointer;
}

#scenario_20 .video-container .video-controller{
    display:none;
}


#scenario_20 .control-sound {max-width: 48px;}

#scenario_20 .control-sound>button {}
#scenario_20-video_b_mo{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#scenario_20 .sin_vid_close_btn{
    position: absolute;
    top: -57px;
    right: -3px;
    width: 48px;
    cursor: pointer;
  }

@media screen and (max-width: 768px) {
    #scenario_20 .sin_vid_close_btn{
        position: absolute;
        top: -40px;
        right: 4%;
        width: 32px;
        cursor: pointer;
      }
    #scenario_20-bg_mask{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
        display: none;
    }
    #scenario_20-modal_b
    {
        width: auto;
        height: auto;
    }
    #scenario_20 .video-container {
        height: auto;
        position: relative;
        display: flex;
        flex-direction: column;
        width: 854px;
        max-width: 90%;
        aspect-ratio: 854 / 480;
        margin-inline: auto;
        border-radius: 0;
        contain: unset !important;
        bottom: 4%;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
    
    #scenario_20 .video-container .video-controller{
        display: flex;
    }
    /* #scenario_20 .video-container {
        border-radius: 16px;
        aspect-ratio: unset;
        max-width: unset;
        padding:5%;
        display:flex;
        width: 100%;
    } */
    video.show_pc{
        display:none;
    }
    #scenario_20 .video-wrapper {
        width: 100%;
        height: 100%;
        border-radius: 8px 8px 0 0;
        overflow: hidden;
    }

    #scenario_20 .video-wrapper>video{
        width: 100%;
        height: 100%;
    }
    #scenario_20 .video-controller {
        gap: 0px;
        height: 40px;
        padding: 0;
        z-index: 10;
        top: calc(100% - 50px);
        border: 0 0 8px 8px;
    }
    #scenario_20-video-btn_play{
        width: 13.5%;
    }
    #scenario_20 .control-video {
        gap: 8px;
    }

    #scenario_20 .control-sound {
        display: inline-flex;
        height: 70%;
    }

    #scenario_20 .control-sound>button {
        display: inline-flex;
        align-items: center;
        height: 100%;
    }

    #scenario_20 .control-sound>button img {
        height: auto;
    }

    #scenario_20 .control-progress .progress-bar {
        height: 1px;
    }

    #scenario_20 .control-progress .progress-bar .progress-current .progress-current-pointer {
        width: 16px;
        height: 16px;
    }
    
}
