#pano_living {
    position: sticky;
    padding-bottom: 80px;
    margin-bottom: 40px;
    overflow: hidden;
    height: 100%;
    width: 100%;
}


#pano_living .content_wrapper {
    width: 100%;
    position: relative;
    z-index: 3;
}

.pano_living_item .photo_remarks {
    text-shadow: 0 3px 7px #000000;
}

.swip_nav_wrapper {
    position: relative;
    right: 10px;
    bottom: 20px;
    width: 70px;
    height: 40px;
    margin-right: 0;
    margin-left: auto;
    /* background: black; */
    margin-top: 10px;
}

.swiper-button-prev {
    left: 0;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #868686;
    -webkit-mask-image: url('./../images/arrow_prev2.svg');
    background-image: none;
    width: 16px;
    cursor: pointer;
    opacity: 0.35;
}

.swiper-button-next {
    right: 0;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #868686;
    -webkit-mask-image: url('./../images/arrow_next2.svg');
    width: 16px;
    background-image: none;
    color: transparent;
    opacity: 0.35;
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled{
    display: none;
}

#pano_living .cover {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
     background-color: yellow; 
    top: 0;
    left: 0;
    opacity: 0.5;
	display: none;
}

.pano_living_list.firstonly {
    display: none;
}

.pano_living_item {
    position: relative;
}

#pano_living .pano_living_item:first-of-type .desc_wrapper {
    padding: 15px 30px 15px 70px;
}

#pano_living .pano_living_item:first-of-type .img_wrapper .title_remarks {
    left: 70px;
}

#pano_living .pano_living_item.item3 .desc_wrapper .title{
    width: auto;
	width: 43%;
}

#pano_living .pano_living_item.item4 .desc_wrapper .title {
    width: 50%;
    max-width: 550px;
}

#pano_living .pano_living_item.item3 .desc_wrapper .description, #pano_living .pano_living_item.item4 .desc_wrapper .description {
    /* width: calc(100% - 330px); */
    flex-grow: 1;
    /* width: 55%; */
}

#pano_living .pano_living_item.item3 .desc_wrapper .description {
	width: 57%;
}

.pano_living_item .small_container{
    width: calc(100% - 70px);
    margin-left: auto;
    box-sizing: border-box;
}

.video_inner_container {
    height: 100%;
    position: relative;
    width: 100%;
    display: block;
    /* padding-bottom: 56.25%; */
    bottom: 0;
    margin-top: auto;
}

#pano_living video.video {
    height: 100%;
    margin-top: auto;
    top: initial;
    bottom: 0;
    position: absolute;
    margin: 0;
    width: auto;
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

.video_inner_container .small_container {
    position: absolute;
    width: 100%;
    height: 88.5%;
    right: 0;
    margin-top: auto;
    /* display: inline-block; */
    bottom: 0;
}

.video_inner_container .small_container:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 256px;
    /* background: yellow; */
    top: 0;
    background-image: url('./../images/shade_bg_video.png');
    z-index: 2;
    background-size: contain;
    background-repeat: repeat-x;
}

.pano_living_item .img_wrapper {
    position: relative;
}

.img_remarks_wrapper {
    position: relative;
    width: 100%;
    /* height: 100%; */
}

.pano_living_item .img1_wrapper .img_remarks_wrapper {
    height: 100%;
}

.pano_living_item .slide4 .img1_wrapper {
    width: 60%;
    position: relative;
    width: 70%;
    /* padding-bottom: 20%; */
    background-size: cover;
    margin-bottom: 20px;
}

.pano_living_item .img_wrapper.slide4 {
    display: flex;
    flex-direction: row;
    align-content:
    flex-start;
    flex-wrap: wrap;
}

.pano_living_item .slide4 .img1_wrapper .img1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top 68%;
}


.pano_living_item .slide4 .img2_wrapper {
    width: 30%;
    margin-top: 8%;
    position: relative;
}


.pano_living_item .slide4 .img2 {
    width: 40%;
    margin-top: auto;
    position: relative;
    margin-bottom: -2%;
    display: none;
}

.pano_living_item img {
    width: 100%;
    display: block;
    /* display: none; */
}

.pano_living_item img.img1_m {
    display: none;
}

#pano_living .bg_video_wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    margin-top: auto;
}

.video_inner_container .small_container:after {
    content: '';
    width: 100%;
    height: 50%;
    background-size: contain;
    background-image: url('./../images/gradient_white_2.png');
    z-index: 1;
    left: 0;
    bottom: -1px;
    position: absolute;
    /* background-color: yellow; */
    background-position: bottom -1px center;
    background-repeat: repeat-x;
}

#pano_living .pano_living_item .desc_wrapper {
    width: 100%;
    padding: 15px 30px;
    /* max-width: 1440px; */
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
}

html[lang=zh-hk] .pano_living_item.item3 .desc_wrapper, html[lang=zh-cn] .pano_living_item.item3 .desc_wrapper, 
html[lang=zh-hk] .pano_living_item.item4 .desc_wrapper, html[lang=zh-cn] .pano_living_item.item4 .desc_wrapper {
    max-width: 1200px;
}

#pano_living .pano_living_item#splide01-slide01 .desc_wrapper {
    padding-left: 60px;
}

#pano_living .pano_living_item .img_wrapper:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: -33px;
    width: 26px;
    /* padding-bottom: 50px; */
    background-image: url('./../images/icon_pano.svg');
    background-position: left top;
    background-size: contain;
    background-repeat: no-repeat;
    height: 11px;
    opacity: 0;
}

#pano_living .pano_living_item#splide01-slide01 .img_wrapper:after{
    left: 10px;
    bottom: -33px;
}

#pano_living .pano_living_item .desc_wrapper .title {
    font-size: 24px;
    line-height: 1.4em;
    width: 40%;
    text-align: left;
    /* display: flex; */
    /* align-items: flex-end; */
    /* flex-direction: column; */
    font-family: 'NotoSansTC Light', 'Avenir Roman', sans-serif;
    /* align-items: baseline; */
}

#pano_living .pano_living_item#splide01-slide03 .desc_wrapper .title {
    width: 36%;
}

html[lang='zh-hk'] #pano_living .pano_living_item.item1 .desc_wrapper .title, html[lang='zh-hk'] #pano_living .pano_living_item.item2 .desc_wrapper .title,
html[lang='zh-cn'] #pano_living .pano_living_item.item1 .desc_wrapper .title, html[lang='zh-cn'] #pano_living .pano_living_item.item2 .desc_wrapper .title {
    text-align: right;
}

html[lang='zh-hk'] #pano_living .pano_living_item.item1 .desc_wrapper, html[lang='zh-hk']  #pano_living .pano_living_item.item2 .desc_wrapper, 
html[lang='zh-cn'] #pano_living .pano_living_item.item1 .desc_wrapper, html[lang='zh-cn']  #pano_living .pano_living_item.item2 .desc_wrapper{
    max-width: 1200px;
}



#pano_living .pano_living_item .desc_wrapper .description {
    position: relative;
    /* margin-left: 5%; */
    color: #000;
    line-height: 1em;
    text-align: justify;
    padding-left: 3%;
    width: 60%;
    font-family: 'NotoSansTC Regular', 'Avenir Roman', sans-serif;
    word-spacing: -2px;
}


#pano_living .pano_living_item#splide01-slide03 .desc_wrapper .description {
    width: 72%;
    padding-left: 30px;
}

#pano_living .pano_living_item .desc_wrapper .description .progress_bar {
    width: 100%;
    height: 9px;
    /* border-bottom: 1px solid #000; */
    margin-bottom: 20px;
    position: relative;
    display: none;
}

#pano_living .pano_living_item .desc_wrapper .description .progress_bar:before {
    content: '';
    height: 9px;
    position: absolute;
    background-image: url('./../images/gradient_progress.svg');
    background-position: right;
    background-repeat: no-repeat;
}

#pano_living .pano_living_item:nth-of-type(1) .desc_wrapper .description .progress_bar:before {
    width: 25%;
}

#pano_living .pano_living_item:nth-of-type(2) .desc_wrapper .description .progress_bar:before {
    width: 50%;
}

#pano_living .pano_living_item:nth-of-type(3) .desc_wrapper .description .progress_bar:before {
    width: 75%;
}

#pano_living .pano_living_item:nth-of-type(4) .desc_wrapper .description .progress_bar:before {
    width: 100%;
}


#pano_living .pano_living_item .desc_wrapper .description .progress_bar:after {
    width: 100%;
    content: '';
    height: 1px;
    background-color: #000;
    position: absolute;
    bottom: 0;
    opacity: 0.1;
}



@media (max-width: 768px) {
    .pano_living_list.firstonly {
        display: block;
        margin-bottom: 50px;
    }
    .pano_living_list.firstonly .title_remarks{
        margin: 0;   
    }
    
    
    #pano_living {
        padding-bottom: 0;
    }

    #pano_living .pano_living_item:not(:first-child){
        margin-top: 40px;
    }
    
    #pano_living .pano_living_item .desc_wrapper {
        padding-left: 0;
    }

	#pano_living .pano_living_item:first-of-type .img_wrapper .title_remarks {
		left: 0;
	}

	.pano_living_item.item1 .title_remarks {
	    bottom: 20px;
	    position: absolute;
	}
		
    #pano_living .pano_living_item:nth-child(1) .desc_wrapper, 
	#pano_living .pano_living_item#splide01-slide01 .desc_wrapper,
	#pano_living .pano_living_item .desc_wrapper {
		padding-left: 20px;
		padding: 15px 10px;
		width: 100%;
	}

	#pano_living .pano_living_item .desc_wrapper {
	    margin-top: 30px;
	}
	
    #pano_living .pano_living_item:nth-child(1) .img_wrapper:after, #pano_living .pano_living_item .img_wrapper:after {
        left: 10px;
        position: absolute;
        bottom: initial;
        /* background: yellow; */
        display: block;
    }

    #pano_living .pano_living_item#splide01-slide04 .img_wrapper:after {
        margin-top: 20px;
    }
    
    #pano_living .pano_living_item#splide01-slide01 .img_wrapper:after{
         left: 10px;
         bottom: initial;
    }
	
	#pano_living .pano_living_item.item3 .desc_wrapper .description {
		width: 100%;
	}
	
	#pano_living .pano_living_item.item3 .desc_wrapper .title {
		width: 100%;
	}

    .pano_living_item .small_container{
        width: 100%;
    }

    .pano_living_item .img_wrapper.slide4 {
        /* flex-direction: column; */
        flex-wrap: nowrap;
        display: block;
    }
    
    .pano_living_item .slide4 .img1_wrapper {
        width: 100%;
        margin-bottom: 0;
    }
    
    .pano_living_item .slide4 .img2_wrapper {
        width: 100%;
    }
    
    .pano_living_item .slide4 .img1_wrapper .img1, .pano_living_item .slide4 .img2_wrapper .img2 {
        /* display: none; */
        width: 100%;
        height: 100%;
        background-size: cover;
        position: absolute;
        display: block;
    }

    .pano_living_item .slide4 .img2_wrapper .img2 {
        background-position: center;
    }

    .pano_living_item .slide4 .img1_wrapper .img1_m {
        display: block;
        height: 40vh;
        width: auto;
        /* height: auto; */
        display: none;
    }
    
    .pano_living_item .img_wrapper.slide4 .title_remarks {
        margin: 0;
    }
    
    .video_inner_container .small_container {
        height: 95%;
    }

    .video_inner_container .small_container:before {
        height: 100%;
    }
    
    #pano_living .pano_living_item .desc_wrapper {
        flex-direction: column;
    }
    
    #pano_living .pano_living_item .desc_wrapper .title, #pano_living .pano_living_item.item4 .desc_wrapper .title {
        width: 100%;
        font-size: 18px;
        align-items: flex-start;
        margin-bottom: 20px;
        line-height: 1.2em;
    }

    html[lang='en'] #pano_living .pano_living_item .desc_wrapper .title, html[lang='en'] #pano_living .pano_living_item.item4 .desc_wrapper .title {
        font-size: 16px;
    }
    

    html[lang='zh-hk'] #pano_living .pano_living_item.item1 .desc_wrapper .title, html[lang='zh-hk'] #pano_living .pano_living_item.item2 .desc_wrapper .title, html[lang='zh-cn'] #pano_living .pano_living_item.item1 .desc_wrapper .title, html[lang='zh-cn'] #pano_living .pano_living_item.item2 .desc_wrapper .title{
        text-align: left;
    }
    
    #pano_living .pano_living_item#splide01-slide03 .desc_wrapper .title{
        width: 100%;
        font-size: 22px;
    }
    
    #pano_living .pano_living_item .desc_wrapper .description {
        width: 100%;
        padding-left: 0;
    }

    #pano_living .pano_living_item .desc_wrapper .description p{
        /* font-size: 13px !important; */
    }

    #pano_living .pano_living_item#splide01-slide03 .desc_wrapper .description {
        width: 100%;
        padding-left: 0;
    }
    
    #pano_living .pano_living_item .desc_wrapper .description .progress_bar {
        display: none;
    }

    .future_title_wrapper {
        margin-top: -5%;
    }
    
    .future1 .bg_img_wrapper {padding-top: -10px;}
    
    .future1 .title_remarks {
        /* bottom: 20px; */
    }
    
    .future1 .bg_img_wrapper .photo_disclaimer {
        bottom: 7%;
    }

    .swiper-button-prev, .swiper-button-next {
        height: 25px;
        width: 14px;
    }
    
    .swip_nav_wrapper {
        width: 50px;
        display: none;
        position: absolute;
        top: 40vh;
        margin-top: 0;
        margin: 0 auto;
        left: 0;
        right: 0;
    }

    #pano_living .img_remarks_wrapper {
        width: auto;
        height: 40vh;
    }

	.pano_living_list .pano_living_item .title_remarks {
	    position: absolute;
	    padding: 0 10px;
	    margin: 0;
	    bottom: 10px;
	}
	
    #pano_living .pano_living_item.item4 .img_remarks_wrapper{
        /* height: auto; */
    }
    
     .slick-slide .pano_living_item img {
            width: auto;
            height: 100%;
     }

    .pano_living_list.firstonly .slick-slide .pano_living_item.item1 img {
        width: auto;
        height: 100%;
    }

    .pano_living_list.firstonly .slick-slide.slick-active .pano_living_item.item1 img {
        animation: marqueeItem1firstonly 15s linear forwards;
    }
    
    .slick-slide.slick-active .pano_living_item img {
        /* animation: marquee1 15s linear forwards; */
    }

    .slick-slide.slick-active .pano_living_item.item1 img {
        animation: marqueeItem1 15s linear forwards;
    }

    .slick-slide.slick-active .pano_living_item.item2 img {
        /* animation: marqueeItem2 10s linear forwards; */
        /* transform: translateX(-39%); */
        /* width: 100%; */
        position: absolute;
        right: 0;
    }
    
    .slick-slide.slick-active .pano_living_item.item3 img {
        /* animation: marqueeItem3 15s linear forwards; */
    }
    
    .slick-slide.slick-active .pano_living_item.item4 .img1_wrapper {
        animation: marqueeItem4b_new 15s linear forwards;
        transform: opacity 1s linear;
    }

    .slick-slide.slick-active .pano_living_item.item4 .img2_wrapper {
        animation: marqueeItem4a_new 15s linear forwards;
          transform: opacity 1s linear;
    }

    .pano_living_item .slide4 .img2_wrapper {
        margin-top: 0;
        position: absolute;
        top: 0;
    }

    .slick-slide .pano_living_item.item4 .img2_wrapper img {
        /* width: 100%; */
        /* height: auto; */
    }

    .slick-dots {
        top: calc(40vh + 10px);
        height: 20px;
    }

    #pano_living .desktopOnly .img_remarks_wrapper {
        height: auto;
        min-height: 40vh;
        max-height: 400px;
        position: relative;
        overflow: hidden;
    }
    
    .pano_living_list.desktopOnly .pano_living_item img{
        width: auto;
        height: 100%;
        position: absolute;
    }

    .pano_living_list.desktopOnly .pano_living_item.item3 img{
       /* transform: translateX(-15%); */

    }
    
    .pano_living_list.desktopOnly .pano_living_item.item4 .img2_wrapper img{
        /*         width: 100%;
        height: auto; */
        right: 0;
        top: 0;
        display: none;
        }
}

@media (max-width: 500px) {
    .video_inner_container .small_container{
        height: 100%;
    }
    .video_inner_container .small_container:after {
        /*height: 300px; */
    }

}

@keyframes marquee1 {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes marqueeItem1firstonly {
    0% { transform: translateX(-10%); }
    60%, 63% { transform: translateX(0); }
    100% { transform: translateX(-40%); }
}

@keyframes marqueeItem4a{
  from { transform: translateX(-90%); }
  to { transform: translateX(0%); }
}

@keyframes marqueeItem4b{
      0% { transform: translateX(-90%); }
    100% { transform: translateX(0); }
}

@keyframes marqueeItem4a_new{
      0% { opacity: 0; z-index: 1;}
     50% { opacity: 0; }
    55%, 100% { opacity: 1; z-index: 5; }
}

@keyframes marqueeItem4b_new{
      0% { opacity: 1;  z-index: 5;}
     50% { opacity: 1; }
    55%, 100% { opacity: 0;  z-index: 1;}
}

@keyframes marqueeItem1 {
    0% { transform: translateX(-20%); }
    60%, 63% { transform: translateX(0); }
    100% { transform: translateX(-38%); }
}

@keyframes marqueeItem2 {
    0 { transform: translateX(0); }
/*     60%, 63% { transform: translateX(-50%); } */
    100% { transform: translateX(-25%); }
}

@keyframes marqueeItem3 {
  from { transform: translateX(0); }
  to { transform: translateX(-23%); }
}


