html,
body {
    padding: 0;
    margin: 0;
    height: 100%;
    overflow: hidden;
}

#vtour {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#pano {
    z-index: 0;
    width: 100%;
    height: 100%;
}

#ui_stage {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
    overflow: hidden;
}

#ui_stage #ui_area_lt {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    pointer-events: all;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10000;
}

#ui_stage #ui_area_rb {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 100%;
    pointer-events: all;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10000;
}

#ui_stage #ui_area_rt {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 10px;
    pointer-events: all;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10000;
}

#ui_stage #ui_area_panel {
    position: absolute;
    left: -280px;
    top: 0px;
    width: 280px;
    height: 100%;
    pointer-events: all;
    transition: left 0.3s;
    z-index: 10001;
}

#ui_stage #ui_area_panel::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url(../skin/images/side_menu_bg.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
}

/* logo */

#ui_stage #ui_area_panel::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 15px;
    right: 35px;
    height: 100px;
    z-index: 0;
    background-image: url(../skin/images/logo_white.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.lang_cn #ui_stage #ui_area_panel::before {
    background-image: url(../skin/images/logo_sc_white.png);
}

@media (pointer: fine) {
    #ui_stage #ui_area_panel::before {
        left: 50px;
        right: 50px;
    }
}

#ui_stage #ui_area_panel.open {
    left: 0px;
}

#ui_stage #ui_area_panel #btn_open {
    position: absolute;
    left: 100%;
    top: 0;
    width: 50px;
    height: 120px;
    pointer-events: all;
    cursor: pointer;
    z-index: 1000;
    /* background-color: rgb(37, 41, 40); */
}

#ui_stage #ui_area_panel #btn_open::after {
    content: '☰';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    line-height: 130px;
    font-family: 'Futura Bk BT', Arial, Helvetica, sans-serif;
    font-size: 44px;
    text-align: center;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    transition: color 0.3s;
}

@media (pointer: fine) {
    #ui_stage #ui_area_panel #btn_open:hover::after {
        color: #ffffff;
    }
}

#ui_stage #ui_area_panel #list_menu {
    position: absolute;
    left: 0px;
    top: 130px;
    right: 0px;
    bottom: 60px;
    z-index: 10000;
}

#ui_stage #ui_area_panel #ui_area_panel_btns {
    position: absolute;
    left: 15px;
    bottom: 10px;
    right: 15px;
    height: 45px;
    padding-top: 5px;
    transition: left 0.3s;
    pointer-events: all;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: space-between;
    z-index: 10001;
}

#ui_area_panel_btns #ui_area_panel_btns_hint {
    position: absolute;
    left: 0;
    bottom: 55px;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    transition: opacity 0.2s, left 0.3s;
    padding: 10px 15px;
    z-index: 500;
    font-family: 'Futura Bk BT', Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #000000;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
}

#ui_area_panel_btns #ui_area_panel_btns_hint::before {
    content: ' ';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 0 solid transparent;
    border-left-width: 6px;
    border-right-width: 6px;
    border-top: 8px solid rgba(255, 255, 255, 0.9);
}

#ui_area_panel_btns #ui_area_panel_btns_hint.visible {
    opacity: 1;
}

/* vn logo */
#logo {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 50px;
    height: auto;
    cursor: pointer;
}

#ui_stage #ui_logo_hint {
    position: absolute;
    right: 10px;
    top: 55px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    transition: opacity 0.2s, left 0.3s;
    padding: 10px 15px;
    z-index: 500;
    font-family: 'Futura Bk BT', Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #000000;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

#ui_stage #ui_logo_hint::before {
    content: ' ';
    position: absolute;
    right: 20px;
    bottom: 100%;
    width: 0;
    height: 0;
    border: 0 solid transparent;
    border-left-width: 6px;
    border-right-width: 6px;
    border-bottom: 8px solid rgba(255, 255, 255, 0.7);
}

@media (pointer: fine) {
    #logo:hover~#ui_logo_hint {
        opacity: 1;
    }
}

#ui_stage #ui_prevnext_stage {
    position: absolute;
    right: 60px;
    bottom: 10px;
    width: 90px;
    height: 40px;
    z-index: 100;
}

.btn {
    position: absolute;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 20px;
}

.btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.btn svg .bg {
    fill: #ffffff;
    opacity: 1;
    transition: fill 0.3s;
}

.btn svg .ring {
    fill: #ffffff;
    opacity: 1;
    transition: fill 0.3s;
}

.btn svg .icon {
    fill: #000000;
    opacity: 1;
    transition: fill 0.3s, opacity 0.3s;
}

.btn svg .icon2 {
    fill: #000000;
    opacity: 0.8;
}

.btn svg .menu {
    fill: #ffffff;
    opacity: 0.8;
    transition: fill 0.3s, opacity 0.3s;
}

.btn svg .menu2 {
    fill: #000000;
    opacity: 0.8;
}

@media (pointer: fine) {
    .btn:hover svg .bg {
        fill: #2e2e2e;
        opacity: 0.4;
    }

    .btn:hover svg .icon {
        fill: #ffffff;
        opacity: 1;
    }

    .btn:hover svg .icon2 {
        fill: #ffffff;
        opacity: 1;
    }

    .btn:hover svg .menu {
        fill: #ffffff;
        opacity: 1;
    }
}

.btn.prev {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.btn.next {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.btn.info {
    right: 10px;
    bottom: 10px
}

/* .btn.audio  { right: 60px; bottom: 10px }

.btn.audio svg path  {
    transition: opacity 0.3s;
}

.btn.audio svg .on  {
    opacity: 0;
}

.btn.audio.enabled svg .on  {
    opacity: 1;
}

.btn.audio.enabled svg .off  {
    opacity: 0;
}

*/

.btn.slide_menu_btn {
    position: relative;
    display: inline-block;
}

.btn.slide_menu_btn svg {
    pointer-events: none;
}

.btn.autorotate svg .on {
    opacity: 0;
}

.btn.autorotate.enabled svg .on {
    opacity: 0.8;
    fill: #ffffff;
}

@media (pointer: fine) {
    .btn.autorotate.enabled:hover svg .on {
        opacity: 1;
        fill: #ffffff;
    }
}

.btn.autorotate.enabled svg .off {
    opacity: 0;
}

.btn.fullscreen svg .on {
    opacity: 0;
}

.btn.fullscreen.enabled svg .on {
    opacity: 0.8;
    fill: #ffffff;
}

@media (pointer: fine) {
    .btn.fullscreen.enabled:hover svg .on {
        opacity: 1;
        fill: #ffffff;
    }
}

.btn.fullscreen.enabled svg .off {
    opacity: 0;
}


/* #ui_group_title_m is mobile */

#ui_group_title_m {
    position: absolute;
    left: 10px;
    top: 10px;
    right: 80px;
    font-family: 'Futura Bk BT', Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
    display: none;
}

#ui_area_rb #ui_group_title {
    position: absolute;
    right: 160px;
    bottom: 38px;
    width: auto;
    line-height: 20px;
    height: 20px;
    font-family: 'Futura Bk BT', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 1px 1px 5px #00000098;
}

#ui_area_rb #ui_counter_stage {
    position: absolute;
    right: 160px;
    bottom: 10px;
    width: auto;
    line-height: 26px;
    height: 26px;
    font-family: 'Futura Bk BT', Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #FFFFFF;
}

#ui_area_rb #ui_dots_stage {
    position: absolute;
    right: 160px;
    bottom: 10px;
    width: auto;
    height: 26px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

#ui_area_rb #ui_counter_stage.hidden,
#ui_area_rb #ui_dots_stage.hidden {
    opacity: 0;
    pointer-events: none;
}


#ui_dots_stage .dot {
    display: flex;
    cursor: pointer;
}

#ui_dots_stage .dot svg {
    pointer-events: none;
}

#ui_dots_stage .dot .dot_ring {
    fill: #a99056;
    opacity: 0.8;
}

#ui_dots_stage .dot .dot_stroke {
    fill: #ffffff;
}

#ui_dots_stage .dot .dot_hover {
    transition: fill-opacity 0.3s, transform 0.2s;
    fill: #ffffff;
    fill-opacity: 0;
    transform-origin: center;
    transform: scale(0);
}

#ui_dots_stage .dot.active .dot_hover {
    fill-opacity: 1;
    transform: scale(1);
}

@media (pointer: fine) {
    #ui_dots_stage .dot:hover .dot_hover {
        fill-opacity: 1;
        transform: scale(1);
    }
}

#ui_dots_stage .dot .dot_check {
    transition: fill 0.3s, transform 0.2s;
    fill: #ffffff;
    stroke: #a99056 transform-origin: center;
    transform: scale(0);
}

#ui_dots_stage .dot.visited .dot_check {
    transform: scale(1);
}

#ui_dots_stage .dot.active .dot_check {
    fill: #2e2e2e;
    stroke: #ffffff;
}

@media (pointer: fine) {
    #ui_dots_stage .dot:hover .dot_check {
        fill: #2e2e2e;
        stroke: #ffffff;
    }
}

@media (max-width: 500px) {

    #ui_area_rt {
        display: none;
    }

    #ui_area_rb #ui_dots_stage {
        right: 10px;
        bottom: 100px;
        height: calc(100vh - 170px);
        flex-direction: column;
        justify-content: flex-end;
    }

    #ui_area_rb #ui_group_title {
        display: none;
    }

    #ui_group_title_m {
        display: block;
    }
}







/* #ui_stage #ui_area_rb {
    position: absolute;
    right: 0px; bottom: 0px; width: 100%;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1;
}

*/
#ui_stage #ui_description_stage {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: 10px;
    bottom: 60px;
    width: 40vw;
    min-width: 250px;
    max-width: 500px;
    max-height: 30vh;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 5px;
    transition: background-color 0.3s, padding 0.3s;
    padding: 0;
    box-sizing: border-box;
}

#ui_stage #ui_description_stage .scrollarea>.scrollarea-track-v,
#ui_stage #ui_description_stage .scrollarea>.scrollarea-track-h {
    background: rgba(255, 255, 255, 0.2);
}

#ui_stage #ui_description_stage .scrollarea>.scrollarea-track-v>.scrollarea-bar-v,
#ui_stage #ui_description_stage .scrollarea>.scrollarea-track-h>.scrollarea-bar-h {
    background: rgba(255, 255, 255, 1);
}

@media (max-width: 500px) {
    #ui_stage #ui_description_stage {
        width: calc(100vw - 20px);
        min-width: auto;
        max-width: auto;
    }
}

#ui_stage #ui_description_stage::before {
    content: ' ';
    position: absolute;
    right: 15px;
    top: 100%;
    width: 0;
    height: 0;
    border: 0 solid transparent;
    border-left-width: 6px;
    border-right-width: 6px;
    border-top: 8px solid rgba(255, 255, 255, 0.9);
    /* triangle */
    transform-origin: top;
    transform: scale(0);
    transition: opacity 0.3s, transform 0.3s;
}

#ui_stage #ui_description_stage.open {
    background-color: rgba(255, 255, 255, 0.9);
    /*background colour*/
    padding: 5px 0px 15px 15px;
}

#ui_stage #ui_description_stage.open::before {
    opacity: 1;
    transform: scale(1);

}

#ui_stage #ui_description_stage #ui_description_title {
    position: relative;
    width: 100%;
    transition: width 0.5s, color 0.3s;
    font-family: 'Futura Bk BT', Arial, Helvetica, sans-serif;
    font-size: 24px;
    color: #ffffff;
    text-align: right;
    white-space: nowrap;
}

#ui_stage #ui_description_stage.open #ui_description_title {
    width: 0;
    color: #000000;
}

#ui_stage #ui_description_stage #ui_description_text {
    position: relative;
    height: 0px;
    margin-top: 0;
    transition: height 0.4s, margin-top 0.4s;
}

#ui_stage #ui_description_stage.open #ui_description_text {
    margin-top: 10px;
}

#ui_stage #ui_description_stage.open #ui_description_text>div:first-child {
    overflow: auto;
    max-height: 100%;
}

#ui_stage #ui_description_stage.open #ui_description_text>div:first-child>div {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #000000;
    padding: 0 10px 0 0;
}

#ui_stage #ui_description_stage.open #ui_description_text>div:first-child>div p:first-child {
    margin-top: 0;
}

#ui_stage #ui_description_stage.open #ui_description_text>div:first-child>div p:last-child {
    margin-bottom: 0;
}

/* AUDIO

#ui_stage #ui_description_stage #ui_audio_timeline {
    position: absolute;
    left: 0; top: 0; width: 100%; height: 5px;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

#ui_stage #ui_description_stage.open #ui_audio_timeline.visible {
    opacity: 1;
}

#ui_stage #ui_audio_timeline > div {
    position: absolute;
    left: 0; top: 0; width: 0%; height: 5px;
    background: rgb(31,100,208);
    transition: width 0.3s;
}

*/

/* dots */

#ui_stage #ui_dot_title {
    position: absolute;
    left: 0;
    bottom: 55px;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    transition: opacity 0.2s, left 0.3s;
    padding: 10px 15px;
    z-index: 500;
    font-family: 'Futura Bk BT', Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
}

#ui_stage #ui_dot_title::before {
    content: ' ';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 0 solid transparent;
    border-left-width: 6px;
    border-right-width: 6px;
    border-top: 8px solid rgba(0, 0, 0, 0.7);
}

#ui_stage #ui_dot_title.visible {
    opacity: 1;
}




.btn.guide_enter::before,
.btn.guide_exit::before {
    display: block;
    position: absolute;
    right: 50px;
    font-family: 'Futura Bk BT', Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    white-space: nowrap;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
    height: 40px;
    line-height: 40px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

@media (pointer: fine) {

    .btn.guide_enter:hover:before,
    .btn.guide_exit:hover:before {
        opacity: 1;
    }
}

.btn.guide_enter::before {
    content: "Enter guided tour";
}

.btn.guide_exit::before {
    content: "Exit guided tour";
}

/* menu */

.slide_menu {
    background-color: rgba(0, 0, 0, 0.0);
}

.slide_menu .stage>div:first-child {
    padding: 0 14px;
}

.slide_menu .stage>div:first-child>.item {
    margin-bottom: 2px;
}

.slide_menu .stage>div:first-child>.item>.title {
    padding: 5px 0 5px 0px;
    background-color: rgba(0, 0, 50, 0.0);
    font-family: 'Futura Bk BT', Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-align: center;
    color: #fff;
}

@media (pointer: fine) {
    .slide_menu .stage>div:first-child>.item>.title:hover {
        background-color: rgba(53, 53, 53, 0.5);
        color: white;
    }
}

.slide_menu .stage>div:first-child>.item.active>.title {
    background-color: rgba(98, 98, 98, 0.8);
    color: white;
}

@media (pointer: fine) {
    .slide_menu .stage>div:first-child>.item.active>.title:hover {
        background-color: rgba(97, 97, 97, 0.8);
        color: white;
    }
}

.slide_menu .stage>div:first-child>.item.group>.title {
    padding: 6px 0 6px 10px;
    background-color: rgba(255, 255, 255, 0.0);
    font-weight: normal;
    color: white;
}

@media (pointer: fine) {
    .slide_menu .stage>div:first-child>.item.group>.title:hover {
        background-color: rgba(169, 144, 86, 0.5);
        color: white;
    }
}

.slide_menu .stage>div:first-child>.item.group.active>.title {
    background-color: rgba(169, 144, 86, 0.5);
    color: black;
}

@media (pointer: fine) {
    .slide_menu .stage>div:first-child>.item.group.active>.title:hover {
        background-color: rgba(169, 144, 86, 0.5);
        color: black;
    }
}

.slide_menu .stage>div:first-child>.item.group>.title:after {
    /* content: url(../images/arrow_white.svg); */
    right: 10px;
}

.slide_menu .stage>div:first-child>.item.group>.title:hover:after,
.slide_menu .stage>div:first-child>.item.group.active>.title:after {
    /* content: url(../images/arrow_black.svg); */
}

.slide_menu .stage>div:first-child>.item.back>.title {
    padding-left: 36px;
    color: orange;
}

@media (pointer: fine) {
    .slide_menu .stage>div:first-child>.item.back>.title:hover {
        background-color: rgba(50, 0, 0, 0.9);
        color: orange;
    }
}

.slide_menu .stage>div:first-child>.item.back>.title:after {
    /* content: url(../images/arrow_white.svg); */
}

@media (pointer: fine) {
    .slide_menu .stage>div:first-child>.item.back:hover>.title:after {
        /* content: url(../images/arrow_black.svg); */
    }
}

.slide_menu .stage.scrollarea>.scrollarea-track-v,
.slide_menu .stage.scrollarea>.scrollarea-track-h {
    background-color: rgba(255, 255, 255, 0.2);
}

.slide_menu .stage.scrollarea>.scrollarea-track-v>.scrollarea-bar-v,
.slide_menu .stage.scrollarea>.scrollarea-track-h>.scrollarea-bar-h {
    background-color: rgba(41, 41, 41, 0.9);
}

.caption_item {
    box-sizing: border-box;
    pointer-events: none;
    border-radius: 5px;
    border: 1px solid rgba(169, 144, 86, 0.5);
}

.itemcolor_group {
    background-color: rgba(169, 144, 86, 0.7);
}



@media (max-width: 500px) {
    #ui_area_panel {
        width: 100% !important;
    }

    #ui_stage #ui_area_panel {
        left: 100%;
    }

    #ui_stage #ui_area_panel #btn_open {
        left: auto;
        right: 100%;
    }

    #ui_stage #ui_area_panel.open #btn_open {
        left: auto;
        right: 0;
    }

    .slide_menu .stage>div:first-child>.item>.title {
        /* text-align: center; */
    }

    #ui_colorbtn_stage {
        /* Color Buttons Hidden on mobile */
        /* display: none; */
        top: 35px;
        left: 10px;
        right: auto;
        flex-direction: column;
    }

    .color_btn.open {
        margin: 0;
    }

    .color_btn.apply {
        display: none;
    }

    #vtour.menu_open .color_btn.open {
        display: none;
    }
}



/* to add help button to the UI
.btn.help {
    right: 60px;
    bottom: 10px
}

#ui_stage #ui_prevnext_stage {
    right: 110px;
    bottom: 10px;
}

@media (min-width: 500px) {
    #ui_area_rb #ui_group_title {
        right: 210px;
        bottom: 38px;
    }

    #ui_area_rb #ui_dots_stage {
        right: 210px;
        bottom: 10px;
    }
}

*/

/* to remove help button to the UI */

#ui_stage #ui_prevnext_stage {
    right: 60px;
    bottom: 10px;
}

@media (min-width: 500px) {
    #ui_area_rb #ui_group_title {
        right: 160px;
        bottom: 38px;
    }

    #ui_area_rb #ui_dots_stage {
        right: 160px;
        bottom: 10px;
    }
}



.hs_content h4 {
    margin: 0 0 6px 0;
    padding: 0;
    font-size: 26px;
}

.hs_content {
    font-family: 'Futura Bk BT', Arial, Helvetica, sans-serif;
}

#ui_area_panel_btns #ui_area_panel_btns_hint.slide_menu_btn_first_item::before {
    left: 27px;
}
