/* @import url(//fonts.googleapis.com/earlyaccess/notosanstc.css); */


/* @import url(//fonts.googleapis.com/earlyaccess/notosanssc.css); */

@font-face {
    font-family: 'Brown-Bold';
    font-weight: 300;
    src: url('../fonts/Brown-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/Brown-Bold.otf') format('opentype'), url('../fonts/Brown-Bold.woff') format('woff'), url('../fonts/Brown-Bold.ttf') format('truetype'), url('../fonts/Brown-Bold.svg#Brown-Bold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Brown-Light';
    font-weight: 500;
    /* set for same with tc/sc */
    src: url('../fonts/Brown-Light.eot?#iefix') format('embedded-opentype'), url('../fonts/Brown-Light.otf') format('opentype'), url('../fonts/Brown-Light.woff') format('woff'), url('../fonts/Brown-Light.ttf') format('truetype'), url('../fonts/Brown-Light.svg#Brown-Light') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/NotoSansTC-Light.woff2') format('woff2'), url('../fonts/NotoSansTC-Light.woff') format('woff'), url('../fonts/NotoSansTC-Light.otf') format('opentype');
}

@font-face {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/NotoSansTC-Medium.woff2') format('woff2'), url('../fonts/NotoSansTC-Medium.woff') format('woff'), url('../fonts/NotoSansTC-Medium.otf') format('opentype');
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/NotoSansSC-Light.woff2') format('woff2'), url('../fonts/NotoSansSC-Light.woff') format('woff'), url('../fonts/NotoSansSC-Light.otf') format('opentype');
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/NotoSansSC-Medium.woff2') format('woff2'), url('../fonts/NotoSansSC-Medium.woff') format('woff'), url('../fonts/NotoSansSC-Medium.otf') format('opentype');
}

@font-face {
    font-family: 'DFLiHei';
    src: url('../fonts/DFLiHei-Bold.eot');
    src: url('../fonts/DFLiHei-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/DFLiHei-Bold.woff2') format('woff2'), url('../fonts/DFLiHei-Bold.woff') format('woff'), url('../fonts/DFLiHei-Bold.ttf') format('truetype'), url('../fonts/DFLiHei-Bold.svg#DFLiHei-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'DFLiHei';
    src: url('../fonts/DFLiHei-Regular.eot');
    src: url('../fonts/DFLiHei-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/DFLiHei-Regular.woff2') format('woff2'), url('../fonts/DFLiHei-Regular.woff') format('woff'), url('../fonts/DFLiHei-Regular.ttf') format('truetype'), url('../fonts/DFLiHei-Regular.svg#DFLiHei-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    background: #fffaec;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100%;
    overflow: auto;
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-text-size-adjust: 100%;
     overflow: hidden;
}

a,
a:visited {
    color: inherit;
    opacity: 0.9;
    font-size: inherit;
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
    opacity: 1;
}

sup {
    /* vertical-align: top;
    position: relative;
    top: -0.5em; */
}

* {
    /* user-select: none; */
    background-size: contain;
    background-repeat: no-repeat;
}

*:lang(en) {
    font-weight: 300;
    font-family: 'Brown-Light', sans-serif;
}

*:lang(zh-Hant) {
    font-weight: 300;
    font-family: 'Noto Sans TC', sans-serif;
}

*:lang(zh-Hans) {
    font-weight: 300;
    font-family: 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

*:lang(en) h3,
*:lang(zh-Hant) h3,
*:lang(zh-Hans) h3,
*:lang(en) b,
*:lang(zh-Hant) b,
*:lang(zh-Hans) b,
*:lang(en) b a,
*:lang(zh-Hant) b a,
*:lang(zh-Hans) b a {
    font-weight: 500;
    font-family: 'Brown-Bold', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.pre_video,
.back_fill,
.light_cover,
.night_cover,
.line {
    width: 100%;
    height: 100%;
    /* height:56.25vw; */
    position: absolute;
}


/*.pre_video video{*/
   
/*}*/



.back_fill {
    background-image: url(../vid/lan.jpg);
    background-size: cover;
    /* background-size: calc(100% + 2px); */
    opacity: 1;
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
}

.light_cover,
.night_cover,
.line {
    background-size: cover;
    opacity: 0;
    transition: all 2s;
    -moz-transition: all 2s;
    -webkit-transition: all 2s;
    -o-transition: all 2s;
}

.line {
    transition: all 0s;
    -moz-transition: all 0s;
    -webkit-transition: all 0s;
    -o-transition: all 0s;
    position: absolute;
    transition: opacity 1s .2s;
    -moz-transition: opacity 1s .2s;
    -webkit-transition: opacity 1s .2s;
    -o-transition: opacity 1s .2s;
}

.linemask {
    width: 100%;
    height: 100%;
    background-image: url(../vid/line_mask.png);
    background-position: -20vw 0;
    background-size: cover;
    display: none;
    transition: background-position 1s, opacity 1s .5s;
    -moz-transition: background-position 1s, opacity 1s .5s;
    -webkit-transition: background-position 1s, opacity 1s .5s;
    -o-transition: background-position 1s, opacity 1s .5s;
    position: absolute;
}

.light_cover {
    background-image: url(../vid/1920x1080px.jpg);
}

.night_cover {
    background-image: url(../vid/1080x1920_nightBG.jpg);
}

.line {
    background-image: url(../vid/line.png);
    /*background-position: 0% 4%;*/
}

.lan_d,
.lan_d2 {
    font-weight: 300;
    font-size: 16px;
    height: 30px;
    position: absolute;
    top: 5.5%;
    right: 5%;
    z-index: 2;
    color: #b18566;
    opacity: 0;
    width: 100px;
}

.lan_d2 {
    display: none;
}

.lan_d span {
    /* vertical-align: middle; */
}

.sound_sign {
    height: 24px;
    margin-right: 20px;
    vertical-align: middle;
}

#mainpage {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    overflow: hidden;
    opacity: 1;
    pointer-events: auto;
}



.btn-close {
    position: absolute;
    top: 0;
    /*right: 1rem;*/
    /*width: 2rem;*/
    /*height: 2rem;*/
    cursor: pointer;
    z-index: 4;
    background-color: transparent;
    display: flex;
    align-items: center;
    
    
    width: 25px;
    height: 25px;
    right: 0px;

}

.btn-close::before, .btn-close::after {
    display: block;
    content: '';
    position: absolute;
    width: 70%;
    height: 1px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 0%;
    /* right: -10%; */
    margin: auto;
    transform-origin: center center;
    -moz-transform-origin: center center;
    -webkit-transform-origin: center center;
    -o-transform-origin: center center;
    -ms-transform-origin: center center;
}

.btn-close::before {
    transform: rotate(
-45deg
);
    -webkit-transform: rotate(
-45deg
);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}


.btn-close::after {
    transform: rotate(
45deg
);
    -webkit-transform: rotate(
45deg
);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}





.btn-disclaimer p::before {
    content: '\25B6';
    display: inline;
    text-decoration: none;
    font-family: monospace;
    /* color: white; */
}




.pre_video div{
    /*transform: scale(1.6);*/
}

.white{
    color:white;
}

.main_logo {
    opacity: 0;
    width: 25vw;
    /* height: 9vw;
    margin: 10vw auto 1vw auto; */
    height: 5vw;
    margin: 2vw auto 1vw auto;
    background-image: url(../img/MR_logo2.svg);
    background-position: center;
    cursor:pointer;
}

.disclaimer-box.container{
    position: absolute;
bottom: 0;
left: 20px;
font-size: 12px;
bottom:52px;
cursor:pointer;
}

html[lang='zh-Hant'] .disclaimer-box.container,html[lang='zh-Hans'] .disclaimer-box.container{
    bottom:62px;
}



.mob_move,.div-gallery {
    position: relative;
    opacity: 0;
    overflow: hidden;
    width: 100%;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    /*cursor: url(../img/mouse_w.ico), default;*/
}

.div-gallery{
    /*height: 100%;*/
}

.div-gallery.matterport{
    /* display: none; */
}
.house-h16,.houset13a{
    background-image: url("../img/H16_1.jpg");
    width: 30%;
    height: 100%;
    background-size: cover;
    float: left;
    background-position: center;
    background-repeat: no-repeat;
    transition: width .5s cubic-bezier(0.5, 0, 0.5, 1);
    position: relative;
}
.houset13a{
    background-image:url("../img/T1-3A_1.jpg");
}

.activeDiv {
    width: 70%;
}

.ps{
    /*font-size: 0.6vw;*/
    /*position: absolute;*/
    /*bottom:51px;*/
    text-align: left;
    /*opacity: 0;*/
    padding: 0 5%;
    /*width: 90%;*/
    pointer-events: none;

    color: #FFF;
    /*opacity: 0 ;*/
    /*transition: all .2s linear;*/
}

.ps p{
    margin: 0;
}




/*.activeDiv .ps {*/
/*    opacity: 1 ;*/
/*    transition: all .5s linear .2s;*/
/*}*/



.sm-disclaimer-popup{
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 250px;
    height: 95px;
    width: 410px;
    height: 210px;
   line-height: 14px;
    z-index: 5;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    font-size: 12px;
    /*opacity:0;*/
    padding: 25px;
    
}

.ps-container{
        overflow: auto;
    height: 100%;
    
    box-sizing: border-box;
}


.activeDiv .sm-disclaimer-popup {
    /*opacity: 1 ;*/
    /*transition: all .5s linear .2s;*/
}



.play{
    
    background-image: url(../vid/playbtn.svg);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20%;
    height: 35%;
    transform: translate(-50%, -50%);
    background-position: center;
    
}

.house-div a{
    display: flex;
    width: 60%;
    height: 60%;
    top: 21%;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    justify-content: center;
    align-items: flex-end;
}


.title360{
 text-shadow: 2px 2px 2px #2d2b2b;
    font-size: 25px;
    color: #FFF;
}


.house-h16::before, .houset13a::before {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #000;
    opacity: 0.5;
    transition: opacity .5s;
    z-index:2;
}

.activeDiv.house-h16::before, .activeDiv.houset13a::before {
    opacity: 0;
    z-index:0;
}

.house-h16 .arrow360, .houset13a .arrow360 {
    height: 36px;
    width: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../img/arrow-icon-l.png);
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    cursor: pointer;
    z-index:2;
}

.houset13a .arrow360 {
    background-image: url(../img/arrow-icon-r.png);
    right: auto;
    left: 20px;
}


.content{
    width: 300%;
    position: relative;
    display: flex;
   
}

.thumb{
    overflow: hidden;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    position:relative;
   
}


.thumb img{
    transition: all 0.5s;
    width: 100%;
    height: 100%;
}

.thumb:hover img{
    transform: scale(1.2);
    /* transition: all 0.5s; */
}

.thumb:hover .thumb_desc{
        opacity: 1;
    
}


.presslist .thumb:hover img{
    transform: none;
    /* transition: all 0.5s; */
}

.thumb:hover .press-desc{
    opacity:1;
    /* transition: all 0.5s; */
}

.press-desc{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
   font-size:0.9vw;
   line-height: 1.5vw;
    background-color: rgba(162,112,75,0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    opacity:0;
     transition: all 0.5s; 
     
}

.press-desc p{
    color:white;
}

.press-link{
    display:block;
    position:relative;
    cursor:pointer;
}



.gallery-content{
   text-align: center;
   height: 100%;
    display: flex;
    flex-direction: column;
    overflow:auto;
    /*justify-content: center;*/
}

.gallery-content.house-div{
   
   display:block;
}



.gallery-content .title{
    color: #86653d;
    margin-bottom: 2rem;
    font-size: 36px;
    position:relative;
       
}

.gallery-content.house-div .title{
    margin-bottom: 0.5rem;
}


.gallery-image{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 10px;
    /* grid-auto-rows: 200px; */
    width: 50%;
    margin: 0 auto;
    overflow:auto;
    margin-bottom:50px;
    /*min-height:190px;*/
    /*    height: 100%;*/
    /*justify-items: center;*/
    /*align-items: center;*/
    padding: 0 20px;
}





.gallery-title::before,.gallery-title::after  {
    content: "";
    width: 20vw;
    height: 1px;
    background-color: #a2704b;
    display: inline-block;
    position: absolute;
    left: 0;
    vertical-align: middle;
    top: 50%;
}


.gallery-title::after {
   left: auto;
    right: 0;
   
}

.gallery-title{
    grid-column: span 3;
    position: relative;
    margin: 20px 0;
}

.gallery-title span{
    /*position: absolute;*/
    top: -1px;
    left: 50%;
    transform: translate(-50%);
    /*background-color: #fefaf3;*/
    color: #86653d;
    font-size: 1.5rem;
    padding: 0 10px;
     transition: all 2s;
    -moz-transition: all 2s;
    -webkit-transition: all 2s;
    -o-transition: all 2s;
}


.thumb_desc{
    
        position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    color: white;
    text-shadow: 0.1rem 0.1rem 0.2rem rgba(0, 0, 0, 0.5);
        opacity: 0;
    transition: all 0.5s;
    font-size: 1.3rem;
  cursor:pointer;
}
    
.p_title{
    font-weight:bold;
    font-size:1.2rem;
    margin: 5px 0px;
}


.back-span{
font-size:16px;
}


.detail-nav {
    cursor: pointer;
    
    
    vertical-align: middle;
}

.detail-nav svg {
    vertical-align: baseline;
    height: 1rem;
    transform: scaleX(1.5);
    margin-right: -0.5rem;
   
}
.detail-nav{
 position: absolute;top: 0;left: 4.5%;color:#86653d;
 margin:0;
}



.vid_div {
    /*height: 56vw;*/
    /* height: 48vw; */
    height: 100%;
    width: 100%;
    background-image: url(../vid/post4.jpg);
    background-size: cover;
    background-position: 50% 69%;
    opacity: 0;
    position: relative;
}

.vid_div .light_pic {
    height: 100%;
    width: 100%;
    background-image: url(../vid/post3.jpg);
    background-size: cover;
    background-position: 50% 75%;
    position: absolute;
    top: 0;
    left: 0;
}

.dis_hide {
    z-index: 1;
    position: absolute;
    bottom: 0!important;
    /* width: 80%; */
    margin: 0 calc(4% - 15px);
    height: 35px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 20px 20px 0 0;
    color: #FFF;
    padding: 0 15px;
    opacity: 0;
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    /* Firefox 4 */
    -webkit-transition: all 0.5s;
    /* Safari 和 Chrome */
    -o-transition: all 0.5s;
    /* Opera */
    cursor: default;
}

.dis_hide p {
    font-size: 14px;
    margin: 8px 0;
    cursor: pointer;
    display: inline-block;
}

.dis_hide p span {
    display: inline-block;
    height: 14px;
    width: 14px;
    text-align: center;
    line-height: 14px;
    font-size: 14px;
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    /* Firefox 4 */
    -webkit-transition: all 0.5s;
    /* Safari 和 Chrome */
    -o-transition: all 0.5s;
    /* Opera */
}

.dis_hide p span.open {
    -moz-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}

.video_dis {
    font-size: 12px;
}

.bg_video {
    background-image: url(../vid/vidbg1.jpg);
    background-size: cover;
    background-position: center;
    position: absolute;
    height: 100%;
    width: 100%;
    display: none;
    top: 0;
    left: 0;
    opacity: 0;
}


/* footer start */

.footer_d {
    opacity: 0;
    width: 100%;
    /* overflow: hidden; */
    position: fixed;
    /* top: calc(45vw + 30px); */
    /* top: 50vw; */
    /* display:none; */
    bottom: 0;
    z-index: 2;
    background: #fffdf9;
}

.video,.video1 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: 80vw; */
    height: 80vh;
    z-index: 3;
}

.black-color {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    opacity: 0;
    top: 0;
    left: 0;
}

.close {
    right: 50px;
    z-index: 3;
    font-size: 4vw;
    position: absolute;
    color: white;
    cursor: pointer;
    font-family: 'Brown-Light', sans-serif;
}



.sub_menu{
    position: absolute;
    top: -8px;
    
    transform: translate(-50%, -96%);
    background-color: #fffdf8;
    
    /*width: 80px;*/
    text-align: center;
    border-radius: 10px 10px 0 0;
    height: 0px;
    overflow: hidden;
    -moz-transition: all 0.5s;
    /* Firefox 4 */
    -webkit-transition: all 0.5s;
    /* Safari 和 Chrome */
    -o-transition: all 0.5s;
    left:50%;
    /* Opera */
}
.parent-gallery:hover > .sub_menu{
    /*height: 120px;*/
}


.sub_menu div{
    padding: 10px 0px;
}






#main_logo2 {
    display: none;
}

.sales_div {
    position: relative;
    margin: 8px 4%;
}

.sales_div,
.sale_box {
    box-sizing: border-box;
    width: fit-content;
}

.sales_div .sale_box {
    font-size: 0.8vw;
    float: left;
    border-left: 3vw solid transparent;
    border-right: 3vw solid transparent;
    color: #b18566;
    min-height: 18px;
    user-select: none;
}

.sales_div .sale_box:nth-child(2) {
    border-left: 0 solid transparent !important;
}

.sales_div .sale_box:nth-child(7) {
    /*border-right: 0 solid transparent !important;*/
    opacity: 0.5;
}

.sales_div .sale_box:nth-child(8) {
    border-right: 0 solid transparent !important;
     /*opacity: 0.5; */
    cursor: pointer;
}

.footer {
    width: 100vw;
    /* min-height: calc(125vh - 51.25vw); */
    font-weight: 500;
    line-height: 12px;
    /* 12px */
    text-align: justify;
    /* transform: scale(0.8); */
    letter-spacing: 1px;
    transform-origin: left top;
    padding: 20px 0;
    color: #fff;
    background-color: #aea09e;
}

.zh .footer {
    font-size: 18px;
}

img.on_pin {
    margin: 0 5px;
    cursor: pointer;
}

.footer p:nth-child(1) {
    margin-top: 0;
    font-size: 14px;
}

.footer p:nth-child(2) {
    font-size: 14px;
}

.footer p:nth-child(3) {
    font-size: 12px;
}

.left_dis {
    width: calc(84% - 200px);
    margin: 0 4%;
    float: left;
    text-align: left;
}

.dis_pop {
    cursor: pointer;
}

.left_dis p:last-child {
    display: inline;
}

.footer_logo {
    float: right;
    /*height: 42px;*/
    height: 63px;
    width: 180px;
    background-image: url(../img/logo.svg);
    background-position: right center;
    margin: 0 4%;
    transform:scale(1.5);
}

.cen_logo {
    height: 6vh;
    width: 6vw;
    /* background-image: url(../img/cen.svg); */
    background-position: center bottom;
    margin: 2vh auto 0 auto;
}

.cen_logo2 {
    height: 3vw;
    width: 6vw;
    background-image: url(../img/cen.svg);
    background-position: center bottom;
    margin: 0 auto 2vh auto;
}

.copy_r {
    font-size: 14px;
    line-height: 20px;
    width: 50%;
    text-align: right;
    position: absolute;
    right: 4%;
    bottom: 6vh;
}


/* footer end */


/* popup start */

.mfp-auto-cursor .mfp-content {
    text-align: center;
}

.my-mfp-zoom-in.mfp-ready #disclaimer-dialog {
    width: 80%;
    text-align: center;
    background: #9f856d;
    padding: 30px 40px;
    line-height: 21px;
    font-size: 14px;
    margin: auto;
    font-weight: 300;
    opacity: 0;
    color: #fff;
    line-height: 30px;
}

.my-mfp-zoom-in.mfp-ready #disclaimer-dialog h3 {
    text-align: left;
}

.zh .my-mfp-zoom-in.mfp-ready #disclaimer-dialog {
    font-size: 15px;
}

.my-mfp-zoom-in.mfp-ready #disclaimer-dialog div {
    padding-right: 8px;
    text-align: justify;
    max-height: 60vh;
    overflow: auto;
}

button.mfp-close {
    padding: 10px 0;
    font-size: 1.5vw;
    line-height: 1.5vw;
}

button.mfp-close:before {
    width: 23;
    height: 3px;
    display: block;
    content: " ";
    background: #fff;
}

.mfp-bg {
    background: rgba(0, 0, 0, .75);
}


/* start state */

.my-mfp-zoom-in #disclaimer-dialog {
    opacity: 0;
    -webkit-transition: all 0.8 ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}


/* animate in */

.my-mfp-zoom-in.mfp-ready #disclaimer-dialog {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}


/* animate out */

.my-mfp-zoom-in.mfp-removing #disclaimer-dialog {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
}


/* Dark overlay, start state */

.my-mfp-zoom-in.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.5s ease-out;
    -moz-transition: opacity 0.5s ease-out;
    -o-transition: opacity 0.5s ease-out;
    transition: opacity 0.5s ease-out;
}


/* animate in */

.my-mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}


/* animate out */

.my-mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}


/* popup end */

@media screen and (min-width: 1024px) {
    /* scroll bar start */
     ::-webkit-scrollbar {
        width: 6px;
        height: 12px;
    }
     ::-webkit-scrollbar-track {
        background: #eae8e3;
        border-radius: 3px;
    }
     ::-webkit-scrollbar-thumb {
        border-radius: 3px;
        background: #ccc;
    }
     ::-webkit-scrollbar-thumb:hover {
        background: #999;
    }
    /* scroll bar end */
}


/* down scroll arrow start */

.arrow-icon {
    position: absolute;
    top: 46vw;
    left: 0;
    width: 100%;
    height: 25px;
    text-align: center;
    display: block;
    z-index: 50;
    pointer-events: none;
    opacity: 0;
}

.scroll-arrow {
    -webkit-animation: gonext 2s infinite linear;
    animation: gonext 2s infinite linear;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    z-index: 99;
    pointer-events: none;
}

.scroll-arrow .moveDown {
    animation: bounce 2s infinite;
    cursor: pointer;
    padding: 20px;
    margin-top: -20px;
    pointer-events: auto;
}


.logo-svg{
    width:13%;
    display:inline-block;
    margin-top: 1%;

}



@-webkit-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
    40% {
        -webkit-transform: translateY(-12px);
        transform: translateY(-12px)
    }
    60% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px)
    }
    90% {
        -webkit-transform: translateY(-2px);
        transform: translateY(-2px)
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
    40% {
        -webkit-transform: translateY(-12px);
        transform: translateY(-12px)
    }
    60% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px)
    }
    90% {
        -webkit-transform: translateY(-2px);
        transform: translateY(-2px)
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
    40% {
        -webkit-transform: translateY(-1rem);
        transform: translateY(-1rem)
    }
    60% {
        -webkit-transform: translateY(-0.5rem);
        transform: translateY(-0.5rem)
    }
}

@keyframes gonext {
    0% {
        bottom: 0.8rem;
        opacity: 1;
    }
    60% {
        bottom: .3rem;
        opacity: 0;
    }
    100% {
        bottom: 2.8rem;
        opacity: 0;
    }
}


/* down scroll arrow end */


/* ipad pro */

@media screen and (max-device-width: 1366px) and (max-device-height: 1024px) and (orientation:landscape) {
    .sales_div .sale_box {
        font-size: 14px;
        border-width: 30px;
    }
    .vid_div {
        height: 100%;
    }
    .dis_hide {
        bottom: 146px;
    }
}

@media screen and (max-device-width: 1024px) and (max-device-height: 1366px) and (orientation: portrait) {
    .main_logo {
        margin: 16px auto;
        height: 10vh;
    }
    .sales_div .sale_box {
        float: left;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        color: #b18566;
        font-size: 12px;
    }
    .footer p:nth-child(1),
    .footer p:nth-child(2),
    .footer p:nth-child(3) {
        /*font-size: 12px;*/
    }
    .mob_move,.div-gallery {
        /* overflow: auto; */
        width: 100%;
    }
    .vid_div {
        height: calc(100vh - 246px);
        width: 100% !important;
    }
    .dis_hide {
        bottom: 122px;
    }
}

@media only screen and (max-device-width:768px) {
    /*.video {*/
    /*    top: 40%;*/
    /*    height: 40vh;*/
    /*}*/
    /*.close {*/
    /*    right: 45px;*/
    /*    font-size: 8vw;*/
    /*    top: 80px;*/
    /*}*/
}


/* ipad */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .sales_div .sale_box {
        font-size: 12px;
        border-width: 25px;
    }
    .dis_hide {
        height: 30px;
        bottom: 158px;
    }
        .footer_logo {
    
    
    transform: scale(1.1);
}
    
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .sales_div .sale_box {
        float: left;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        color: #b18566;
        font-size: 12px;
    }
    .footer p:nth-child(1),
    .footer p:nth-child(2),
    .footer p:nth-child(3) {
        font-size: 12px;
    }
    .dis_hide {
        height: 30px;
    }
    .linemask {
        background-position: -73vw 0;
    }
    .footer_logo {
    
    
    transform: scale(1.1);
}
}

.mobile {
    display: none !important;
}
.fancybox-caption__body {
    text-align: left;
    font-size: calc(1rem/14*12);
    padding-top: 0.5rem;
    border-top: 1px solid #ddd;
    max-height: 15vh!important;
    padding-right: 2%;
}


/* mobile */

@media screen and (max-device-width: 768px) {


.sm-disclaimer-popup{
   
    width: 250px;
    height: 95px;
   
    
}


.press-desc p {
    
    font-size: 12px;
    line-height: 16px;
}

.matterport .house-div .disclaimer-box.container{
   
bottom: 0;

}

.text-gallery {
    /*z-index:4;*/
    /*padding-bottom:30px;*/
}

.title-span{
    display: inline-block;
padding-top: 5px;

}

.title-span1{
    display: inline-block;
padding-top: 2px;
}



.gallery-content.house-div{
        justify-content: flex-end;
        display:flex;
}

.detail-nav {

  position: absolute;
margin-top:0px;
left: 6%;
color: #86653d;
}


 *:lang(zh-Hant) .detail-nav,
    *:lang(zh-Hans) .detail-nav {
        top: 6px!important;
    }



.sales_div .sale_box:nth-child(8) {
   
    z-index:1001;
}


  
    .gallery-content{
        height: 100%;
        bottom: auto;
    }

    /*.sub_menu{*/
    /*    left: 50%;*/
    /*    transform: translate(-50%,-96%);*/
    /*    width: 33%;*/
    /*}*/


    .sub_menu{
    left: 50%;
    transform: translate(-50%,90%);
    width: 60%!important;
    top: -50%;
    z-index: 6;
    border-radius: 10px 10px 10px 10px;
    /*height: min-content!important;*/
    }

    .sub_menu div {
        padding: 10px;
        display: inline-block;
    }

    .dis_hide{
        /* position: fixed; */

    }

    .house-h16, .houset13a {
    width: 100%;
    height: 30%;
    transition: height .5s cubic-bezier(0.5, 0, 0.5, 1);
  
}


.gallery-title::before,.gallery-title::after  {
    
    width: 35%;
    
}

.gallery-title {
    grid-column: span 2;
}




  *:lang(zh-Hant),
    *:lang(zh-Hans) {
        /*font-size: 12px;*/
    }


.ps {
    /*font-size: 6px;*/
    /*top: 5%;*/
}

.houset13a .ps{
    top: auto;
bottom: 0%;
}

.activeDiv {
    height: 60%;
   
}




.house-h16 .arrow360, .houset13a .arrow360 {
    height: 40px;
    width: 50px;
    bottom: -5px;
    top: auto;
    right: auto;
    left: calc(50% - 26px);
    transform: rotate(90deg) scale(0.6);
}


.houset13a .arrow360 {
    top: -5px;
    right: auto;
    left: calc(50% - 26px);
}

.title360{
  
font-size: 16px;

}

.houset13a .title360{
    align-self: start;
}




.gallery-title span {
    font-size:14px;
    top: 5px;
}


.house-div a{
  height: 10%;
  display: block;
  padding-bottom: 40%;
}

.house-h16 a{
/*bottom: 20%;*/
/*top: auto;*/
/*padding-bottom: 0%;*/
/*padding-top: 50%;*/
}

.fancybox-slide--iframe .fancybox-content {
    max-height: 80%;
    margin: 0;
    transform: translateY(-11%);
}


.content{
    /*opacity:0;*/
}





    .gallery-content .title{
        position: relative;
        font-size: 16px;
        margin-bottom: 2rem;
    }

    .gallery-image{
        width: 90%;
        grid-template-columns: repeat(2,1fr);
        height: 80%;
        margin: 0 auto;
        overflow: auto;
    }
    
    
    .gallery-film{
            grid-template-columns: repeat(1,1fr);
    }
    
    .gallery-film .thumb img{
        width:auto;
    }
    
    .thumb{
        /* width: 46%;
        height: 40%; */
    }
    
    
    
    
    .thumb:nth-child(2n){
        margin-right: 0px;
    }

    .detail-nav{
        /* position: static; */
    }

    .footer_d {
        overflow: visible;
    }
    .mobile_close {
        display: none;
    }
    .mobile {
        display: block !important;
        
        
    }
    .logo-svg{
            width: 40%;
            margin: 3px 0;
    }
    html,
    body {
        height: 100%;
    }
    .lan_d {
        display: none;
    }
    .lan_d2 {
        display: block;
        position: relative;
        opacity: 1;
        text-align: center;
        right: 0;
        width: 100%;
    }
    .footer,
    .zh .footer {
        font-size: 4px;
        font-weight: 100;
        /*line-height: 12px;*/
        text-align: left;
    }
    .zh .footer {
        font-size: 11px;
        line-height: 13px;
    }
    .footer p {
       font-size:1.5vw !important;
       margin:0;
       width:100%!important;
    }
    html[lang='zh-Hant'] .footer p:nth-child(2){
        line-height:15px;
    }
    
    
    .my-mfp-zoom-in.mfp-ready #disclaimer-dialog {
        line-height: 15px;
        font-size: 10px;
    }
    .zh .my-mfp-zoom-in.mfp-ready #disclaimer-dialog {
        font-size: 11px;
    }
    button.mfp-close {
        font-size: 14px;
        line-height: 14px;
        height: 18px;
    }
    .footer_logo {
        /*height: 55px;*/
        /*width: calc(40% - 40px);*/
        /*margin-top: 0;*/
        /*float: right;*/
        /*margin-left: 0;*/
        
        width:57%;
        float:none;
        height:30px;
        transform:none;
        margin:5px 0px;
        
        
    }
    .dis_hide {
        height: 20px;
        overflow: hidden;
    }
    .mob_move,.div-gallery {
        /* overflow: auto; */
        width: 100%;
        z-index: 1;
      
    }
    #mainpage,
    .line,
    .linemask {
        z-index: 1;
    }
    .lan_d {
        display: none;
    }
    .menuDiv {
        opacity: 0;
        position: absolute;
        top: 6%;
        right: 7%;
        width: 30px;
        height: 18px;
        z-index: 2;
        /* background-color: #cce2db; */
    }
    .menuBtn,
    .menuBtn2,
    .menuBtn3 {
        position: absolute;
        height: 2px;
        width: 30px;
        margin-top: 8px;
        background-color: #727375;
        border-radius: 4px;
        transition: all 0.3s 0.2s;
    }
    .menuBtn2,
    .menuBtn3 {
        transition: all 0.3s 0s;
    }
    .menuBtn:before {
        content: "";
        display: block;
        height: 2px;
        width: 30px;
        transform: translateY(-8px);
        background-color: #727375;
        border-radius: 4px;
        transition: all 0.3s 0.2s;
    }
    .menuBtn:after {
        content: "";
        display: block;
        height: 2px;
        width: 30px;
        transform: translateY(6px);
        background-color: #727375;
        border-radius: 4px;
        transition: all 0.3s 0.2s;
    }
    .open .menuBtn {
        opacity: 0;
        transition: all 0.3s 0s;
    }
    .open .menuBtn:before,
    .open .menuBtn:after {
        transform: translateY(0px);
        transition: all 0.3s 0s;
    }
    .open .menuBtn2 {
        transform: rotate(45deg);
        transition: all 0.3s 0.2s;
    }
    .open .menuBtn3 {
        transform: rotate(-45deg);
        transition: all 0.3s 0.2s;
    }
    .sales_div {
        margin: 0;
        position: fixed;
        top: 0;
        height: 0;
        background-image: url(../vid/por_image2.jpg);
        background-size: 100%;
        z-index: 3;
        width: 100%;
        overflow: hidden;
        transition: all 0.6s 0.2s;
    }
    .sales_div.open {
        height: 100vh;
        z-index: 1000;
    }
    #main_logo2 {
        display: block;
    }
    .sales_div .sale_box {
        text-align: center;
        width: 100%;
        margin-top: 30px;
        border: 0;
    }
    .sales_div .sale_box:nth-child(2) {
        margin-top: 80px;
    }
    .footer {
        margin: 0;
        padding: 6px 0 0 6px;
        width:100%;
        box-sizing:border-box;
    }
  
    .dis_hide {
        /*width: 80%;*/
        width: 80%;
        margin: 0 calc(10% - 15px);
        left: 50%;
        transform: translate(-50%);
            margin:0;

    }
    .dis_hide p {
        font-size: 12px;
        margin: 5px 0;
    }
    .video_dis {
        font-size: 10px;
    }
}

@media screen and (max-device-width: 767px) and (orientation:landscape) {
    .pre_video,
    .back_fill {
        width: 100%;
        height: 56.25vw;
    }
    .back_fill {
        background-image: url("../vid/lan.jpg");
    }
    .main_logo {
        margin: 2vw auto;
    }
    .comS {
        margin-top: 33.5vw;
    }
    .arrow-icon {
        top: 46vw;
    }
    .footer {
        padding: 20px 0 20px 0;
    }
    .footer_logo {
        width: calc(26% - 40px);
    }
    .my-mfp-zoom-in.mfp-ready #disclaimer-dialog div {
        max-height: 62vh;
    }
    .dis_hide {
        bottom: 110px;
    }
    .sales_div .sale_box {
        margin-top: 16px;
    }
    .sales_div .sale_box:nth-child(2) {
        margin-top: 26px;
    }
    .vid_div {
        height: 56.25vw !important
    }
}


/* mobile */

@media screen and (max-device-width: 450px) and (orientation: portrait) {
    
    
    .light_cover {
        background-image: url(../vid/por_image2.jpg);
    }
    .pre_video,
    .back_fill {
        width: 100vw;
        /* height: 177.78vw; */
        height: 100%;
        /* min-height: 177.78vw; */
        margin: 0;
        padding: 0;
    }
    .back_fill {
        background-image: url(../vid/por_image2.jpg);
        background-size: cover;
        background-position: center;
    }
    .lan_d {
        top: 6%;
    }
    .main_logo {
        width: 50vw;
        height: 14vw;
        /* margin: 76vw auto 0 auto; */
    }
    .comS {
        font-size: 3.2vw;
        letter-spacing: 2px;
        /* margin-top: 62vw; */
        margin-top: 37vh;
    }
    .dis_hide {
        bottom: 122px;
    }
    .zh .comS {
        font-size: 4vw;
    }
    .arrow-icon {
        top: 85vh;
    }
    .scroll-arrow .moveDown {
        width: 42px;
    }
    .left_dis {
       
        width: 100%;
        height:100%;
       
        margin:0;
        
    }
    .copy_r {
        /* width: 30%; */
        width: 50%;
        right: 45px;
    }
    .copy_r span {
        display: none;
    }
    .copy_r br {
        display: block !important;
    }
    .footer_d {
        bottom: 0;
        position: fixed;
    }
    .dis_hide p {
        font-size: 12px;
        margin: 4px 0;
    }
    .my-mfp-zoom-in.mfp-ready #disclaimer-dialog {
        padding: 25px 0;
    }
    .my-mfp-zoom-in.mfp-ready #disclaimer-dialog div,
    .my-mfp-zoom-in.mfp-ready #disclaimer-dialog h3 {
        padding: 0 30px;
    }
    .cen_logo2 {
        height: 6vw;
        width: 12vw;
        margin: 0 auto 10px auto;
    }
    .line {
        /*background-position: 6% 4%;*/
        background-position: 14% 4%;
    }
    .vid_div {
        background-position: 30% 75%;
    }
    .vid_div .light_pic {
        background-position: 38% 75%;
    }
}