/* 導覽列設定 */
.top_header .menu_list_bar .mu_li {
    margin-right: 32px;
}

@media screen and (max-width:1700px){
	.top_header .menu_list_bar .mu_li{
		margin-right: 30px;
	}
}

@media screen and (max-width:1600px){
	.top_header .menu_list_bar .mu_li{
		margin-right: 15px;
	}
}

@media screen and (max-width:1500px){
	.top_header .menu_list_bar .mu_li{
		margin-right: 18px;
	}
}

@media screen and (max-width:1450px){
	.top_header .menu_list_bar .mu_li{
		margin-right: 11px;
	}
}

/* 3d_section */

.threed-section-container {
    /* padding: 60px 4.47vw 100px 4.47vw; */
    /* padding: 60px 86px 100px 86px; */
    padding: 60px 4vw 100px 4vw;
    /* padding: 60px 77px 100px 77px; */
}

.threed-section-container .grid {
    /* margin: -20px -8px; */
}

.threed-section-container .item-card {
    /* width: 236px; */
    /* width: 13.5%; */
    width: calc((100% - (16px * 6)) / 7 );
    /* margin: 20px 0; */
    margin-bottom: 40px;
}

@media screen and (max-width: 1700px){
    .threed-section-container .item-card {
        width: calc((100% - (16px * 5)) / 6 );
    }
}

@media screen and (max-width: 1400px){
    .threed-section-container .item-card {
        width: calc((100% - (16px * 4)) / 5 );
    }
}

@media screen and (max-width: 1200px){
    .threed-section-container .item-card {
        width: calc((100% - (16px * 3)) / 4 );
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px){
    .threed-section-container .item-card {
        width: calc((100% - (16px * 2)) / 3 );
    }
}

@media screen and (max-width: 576px){
    .threed-section-container .item-card {
        width: calc((100% - (16px * 1)) / 2 );
    }
}

.threed-section-container .item-card:hover .hover-bg {
    cursor: pointer;
    opacity: 0.45;
}

.threed-section-container .item-card:hover .image-footer {
    opacity: 1;
}

.threed-section-container .item-card .image-part {
    position: relative;
    /* max-width: 236px; */
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 15px;
}

.threed-section-container .item-card .image-part img {
    /* max-width: 236px; */
    max-width: 100%;
}

.threed-section-container .item-card .hover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 15px;
    opacity: 0;
    transition: .3s;
}

.threed-section-container .item-card .image-footer {
    position: absolute;
    bottom: 12px;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;

    display: flex;
    opacity: 0;
    transition: .3s;
    height: 32px;
}

.threed-section-container .item-card .image-footer .icon {
    margin-right: 5px;
}

.threed-section-container .item-card .image-footer .footer-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    border-radius: 16px;
    opacity: 0.8;
    font: normal normal normal 14px/27px Microsoft JhengHei;
    letter-spacing: 0px;
    color: #000000;
}

.threed-section-container .item-card .image-footer .footer-btn .text {
    white-space: nowrap;
}

.threed-section-container .item-card .product-intro {
    padding: 6px 5px;
    margin-right: 8px;
    width: 132px;
}

.threed-section-container .item-card .threed-display {
    margin-right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.threed-section-container .item-card .env-display {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}


.threed-section-container .item-card .title-part {
    font: normal normal normal 14px/19px Microsoft JhengHei;
    letter-spacing: 0px;
    color: #FFFFFF;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* .threed-modal {} */
.threed-modal .modal-dialog {
    width: 1140px;
    max-width: 1140px;
}

.threed-modal .modal-content {
    /* top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%); */
}

.modal-content {
    border-radius: 30px;
}

.threed-modal-content {
    display: flex;
    background: #FFFFFF;
    border-radius: 30px;
    overflow: hidden;
}

.threed-modal-content .image-part {
    width: 50%;
    overflow: hidden;
    border-radius: 30px 0 0 30px;
    /* min-height: 100%; */
}

.threed-modal-content .image-part img {
    border-radius: 30px 0 0 30px;
    max-width: 570px;
    max-height: 670px;
    object-fit: cover;
    object-position: center;
}

.threed-modal-content .image-wrapper.image-center-center {
    position: relative;
    padding-bottom: 117.54%;
    height: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 100%;
}

.threed-modal-content .image-wrapper.image-center-center img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}


.threed-modal-content .content-part {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 60px 4.16vw 50px 2.08vw;
    /* padding: 60px 80px 50px 40px; */
}

.threed-modal-content .content-part .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.threed-modal-content .content-part .content-title {
    font: normal normal bold 36px/48px Microsoft JhengHei;
    letter-spacing: 0px;
    color: #000000;
    margin-bottom: 30px;
}

.threed-modal-content .content-part .title-deco {
    width: 50px;
    height: 2px;
    background: #000000;
    margin-bottom: 30px;
}

.threed-modal-content .content-part .content-text {
    font: normal normal normal 16px/24px Microsoft JhengHei;
    letter-spacing: 0px;
    color: #000000;
}

.threed-modal-content .content-part .content-footer {
    display: flex;
    margin-top: auto;
}

.threed-modal-content .content-part .footer-btn {
    display: flex;
    align-items: center;
    background: #000000;
    border-radius: 25px;
    margin-right: 10px;
    padding: 14px 20px;
}

.threed-modal-content .content-part .footer-btn:last-of-type {
    margin-right: 0;
}

.threed-modal-content .content-part .footer-btn .icon {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.threed-modal-content .content-part .footer-btn .icon svg {
    fill: #fff;
}

.threed-modal-content .content-part .footer-btn .text {
    font: normal normal normal 16px/21px Microsoft JhengHei;
    letter-spacing: 0px;
    color: #FFFFFF;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    /* .modal .modal-dialog.modal-center {
        top: unset;
        transform: translate(0,0);
        margin: auto;
    } */
    
    .threed-modal .modal-dialog {
        width: unset;
        /* max-width: 450px; */
        max-width: 512px;
        /* max-width: 570px; */
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .threed-modal-content {
        flex-direction: column;
    }

    .threed-modal-content .image-part {
        width: 100%;
        border-radius: unset;
    }
    
    .threed-modal-content .content-part {
        width: 100%;
        padding: 15px;
    }

    .threed-modal-content .image-part img {
        border-radius: unset;
    }

    .threed-modal-content .image-part img {
        max-width: 100%;
    }

    .threed-modal-content .content-part .close-btn {
        top: 15px;
        right: 15px;
    }

    .threed-modal-content .content-part .content-title {
        font: normal normal bold 20px/27px Microsoft JhengHei;
        margin-bottom: 15px;
    }

    .threed-modal-content .content-part .title-deco {
        margin-bottom: 15px;
    }

    .threed-modal-content .content-part .content-text {
        font: normal normal normal 16px/24px Microsoft JhengHei;
        margin-bottom: 30px;
    }

    .threed-modal-content .content-part .threed-display .text,
    .threed-modal-content .content-part .env-display .text {
        display: none;
    }

    .threed-modal-content .content-part .threed-display .icon,
    .threed-modal-content .content-part .env-display .icon {
        margin-right: 0;
    }

    .threed-modal-content .content-part .threed-display {
        padding: 15px 13px;
        /* padding: 13px 11px; */
    }

    .threed-modal-content .content-part .env-display {
        padding: 15px 15px;
        /* padding: 14px 13px; */
    }
    
    .threed-modal-content .content-part .footer-btn {
        margin-right: 15px;
    }

    .threed-modal-content .content-part .footer-btn:last-of-type {
        margin-right: 0;
    }
}

@media (max-width: 991.98px) {
    .threed-section-container .item-card .image-footer {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .threed-modal .modal-dialog {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* threed-detailed 3d模型頁面 */
.threed-detailed-container {
    position: relative;
    height: 80vh;
}

.threed-detailed-container .buttons-container {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    background-color: rgba(58,68,84,0.8);
}

.threed-detailed-container .zoom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 30px;
    border: 1px solid #fff;
    cursor: pointer;
}

/* env_pano */
.edit-box-container {
    position: relative;
    display: flex;
    flex-direction: column;
    /* width: 26.25vw; */
    width: 504px;
    max-width: 504px;
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 30px 50px 20px 50px;
    /* padding: 30px 50px 20px 38px; */
    background: rgba(0,0,0,0.8);;
}

.edit-box-container .top-right-close {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(80,80,80,0.45);
}

.edit-box-container .top-right-close img {
    width: 12px;
    height: 12px;
}

.edit-box-container .header-title {
    width: 100%;
    text-align: center;
    font: normal normal normal 27px/18px Microsoft JhengHei;
    letter-spacing: 0px;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.edit-box-container .main-btns-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.edit-box-container .main-btns-container .main-fn-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9px;
    width: 197px;
    text-align: center;
    background: #E7E9F1;
    border-radius: 20px;
    opacity: 1;
    font: normal normal normal 16px/18px Microsoft JhengHei;
    letter-spacing: 0px;
    color: #333333;
    cursor: pointer;
}

.edit-box-container .main-btns-container .main-fn-btn .icon {
    margin-right: 10px;
}

.edit-box-container .main-btns-container .main-fn-btn .icon svg path {
    fill: #333;
}

.edit-box-container .main-btns-container .main-fn-btn.active {
    background: #FF652B;
    color: #FFFFFF;
}

.edit-box-container .main-btns-container .main-fn-btn.active .icon svg path {
    fill: #fff;
}

.edit-box-container .main-btns-container .info-btn {
    margin-right: 10px;
}

.edit-box-container .tab-content {
    margin-bottom: 30px;
    border: none;
}

.edit-box-container .info-item .title{
    opacity: 1;
}

.info-section {
    display: flex;
    flex-direction: column;
}

.info-section .info-item {
    display: flex;
    margin-bottom: 10px;
}

.info-section .info-item:last-of-type {
    margin-bottom: 0;
}

.info-section .info-item .title {
    margin-right: 20px;
    margin-left: 16px;
    /* margin-left: 20px; */
    text-align: center;
    color: #fff;
    /* align-self: center; */
    margin-top: 0.5em;
    white-space: nowrap;
}

.info-section .info-item .title.long {
    margin-left: -14px;
    /* margin-left: -20px; */
}

.info-section .info-item .info-input{
    flex-grow: 1;
    min-width: 0;
}

.info-section .info-item input,
.info-section .info-item textarea {
    padding: 10px 0 10px 20px;
    width: 300px;
    /* flex-grow: 1; */
    max-width: 100%;
    border-radius: 5px;
    background: #808080;
    color: #fff;
    height: 40px;
}

.info-section .info-item input::placeholder,
.info-section .info-item textarea::placeholder {
    color: #fff;
    font: normal normal normal 16px/18px Microsoft JhengHei;
    letter-spacing: 0px;
}

.env-select-section {
    display: flex;
}

.env-select-section .title {
    font: normal normal normal 16px/18px Microsoft JhengHei;
    letter-spacing: 0px;
    color: #FFFFFF;
    margin-right: 20px;
    margin-left: 20px;
    align-self: center;
    white-space: nowrap;
}

.env-select-section .env-select{
    flex-grow: 1;
}

.env-select-section .env-select select {
    width: 100%;
}

.env-select-section .select2-container--default .select2-selection--single {
    height: 40px;
    border-radius: 5px;
    background: #808080;
}
.env-select-section .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    color: #fff;
    font: normal normal normal 16px/40px Microsoft JhengHei;
}
.env-select-section .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
}
.env-select-section .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-width: 0;
}
.env-select-section .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-width: 0;
}

.env-select-section .select2-container--default .select2-selection--single .select2-selection__arrow b::before {
    content: "";
    position: absolute;
    background: url(/assets/images/icon/pano/down.svg);
    width: 10px;
    height: 6px;
}

.env-select-section .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b::before {
    transform: rotate(180deg);
}

.footer-separator {
    width: 100%;
    height: 1px;
    background: #333333;
    margin-bottom: 20px;
}

.edit-box-container .footer-btns {
    display: flex;
    justify-content: center;
}

.edit-box-container .footer-btns .footer-btn {
    display: flex;
    justify-content: center;
    border-radius: 5px;
    width: 98px;
    padding: 14px 22px;
    font: normal normal normal 15px/18px Microsoft JhengHei;
    letter-spacing: 0px;
    color: #FFFFFF;
    cursor: pointer;
}

.edit-box-container .footer-btns .footer-btn .icon {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.edit-box-container .footer-btns .delete-btn {
    margin-right: 12px;
    background: #555555;
}
.edit-box-container .footer-btns .delete-btn:hover {
    background: #333333;
}
.edit-box-container .footer-btns .save-btn {
    background: #FF652B;
}
.edit-box-container .footer-btns .save-btn:hover {
    background: #DE4C15;
}

.select-scenes-container .scene-item.is-current {
    color: red;
}

/* 後台環景css */
.env-pano-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.select-scenes-container {
    margin-bottom: 15px;
}

#pano-cms {
    /* height: 100%; */
    min-height: 70vh;
}

#pano-cms > div {
    overflow: hidden;
}

#pano-cms #editBox {
    position: relative;
    left: -5000px;
    /* height: 0;
    width: 0; */
}



.current-spot {
    /* position: absolute;
    top: -50px;
    left: 0; */
    display: inline-block;
}

.current-spot .spot-icon {
    position: relative;
    display: none;
}
.current-spot .spot-icon.active {
    display: block;
}

.current-spot .info-spot::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 3px;
    left: 3px;
    width: calc(100% - 8px);
    height: calc(100% - 10px);
    background: #fff;
    border-radius: 50%;
}

.hotspot#add{
    z-index: 10;
}

.hotspot .hotspot-image-wrapper{
    margin-top: -20px;
    margin-left: -20px;
}

.hotspot .hotspot-image-wrapper svg,
.hotspot .hotspot-image-wrapper img
{
    width: 40px;
    height: 40px;
}

.hotspot .hotspot-image-wrapper .info-icon-wrap{
    position: relative;
    height: 40px;
}

.hotspot .hotspot-image-wrapper .info-icon-wrap:before{
    content: "";
    position: absolute;
    z-index: -1;
    top: 2px;
    left: 2px;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    transform: scale(1.03);
}

.hotspot .hotspot-image-wrapper:hover path{
    fill: #000000;
    fill-opacity: 0.7;
}

.info-hotspot-custom .info-hotspot-container {
    transition: .3s;
    padding: 8px 10px 15px 15px;
}

.front-pano .hotspot:hover{
    z-index: 10;
}

.front-pano .hotspot .link-hotspot-tooltip
{
    pointer-events: none;
    visibility: hidden;
}

.front-pano .hotspot.info-hotspot
{
    pointer-events: none;
}

/* 位置微調 */
.front-pano .hotspot.info-hotspot .info-hotspot-container{
    position: relative;
    left: 27px;
}
.front-pano .info-hotspot-container  .hotspot-image-wrapper{
    position: absolute;
    top: -7px;
    left: -42px;
}
/* 位置微調 / */

.front-pano .hotspot .hotspot-image-wrapper{
    pointer-events: all;
}

.front-pano .hotspot:hover .link-hotspot-tooltip
{
    visibility: visible;
}

.front-pano .info-hotspot-custom .info-hotspot-container{
    width: 300px;
}

.front-pano .info-hotspot-custom:hover .info-hotspot-container,
.front-pano .info-hotspot-custom.is-open .info-hotspot-container {
    /* position: absolute; */
    background: rgba(0,0,0,0.7);
    border-radius: 5px;
}

.front-pano .info-hotspot-custom:hover .title,
.front-pano .info-hotspot-custom.is-open .title,
.front-pano .info-hotspot-custom.is-open .top-right-close {
    opacity: 1;
}

.info-hotspot-custom:hover .hotspot-image-wrapper svg path,
.info-hotspot-custom.is-open .hotspot-image-wrapper svg path {
    fill: #000000;
    fill-opacity: 0.7;
}

.info-hotspot-custom .hotspot-image-wrapper {
    position: relative;
    width: fit-content;
    /* background: #fff; */
    border-radius: 50%;
    height: 40px;
    margin-right: 10px;
}

.info-hotspot-custom .hotspot-image-wrapper::before {
    content: "";
    position: absolute;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    top: 2px;
    left: 2px;
    background: #fff;
    border-radius: 50%;
    z-index: -1;
}

.info-hotspot-custom .hotspot-image-wrapper svg {
    width: 40px;
    height: 40px;
}

.info-hotspot-custom .info-hotspot-tooltip {
    display: none;
    position: relative;
    color: #fff;
}
.info-hotspot-custom .info-hotspot-tooltip .text .lang-item {
    white-space: pre-wrap;
}

.info-hotspot-custom .info-hotspot-tooltip .title {
    position: absolute;
    top: -64px;
    /* top: -40px; */
    left: 60px;
    width: 180px;
}

.info-hotspot-custom .top-right-close {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0px;
    /* top: 8px; */
    right: 0px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(80,80,80,0.45);
    opacity: 0;
}

.info-hotspot-custom .top-right-close img {
    width: 12px;
    height: 12px;
}

.info-hotspot-custom .hotspot-header {
    position: relative;
    display: flex;
}

.info-hotspot-custom .title {
    /* position: relative; */
    display: flex;
    color: #fff;
    opacity: 0;
}

.info-hotspot-custom .title .text {
    display: flex;
    align-items: center;
    padding-right: 10px;
    width: 200px;
    white-space: pre-wrap;
}

.info-hotspot-custom .hotspot-separator {
    display: none;
    width: 100%;
    height: 1px;
    background: #333333;
    margin-top: 8px;
    margin-bottom: 14px;
}

.link-hotspot-custom {
    cursor: pointer;
}

.front-pano .link-hotspot-custom:hover img {
    transform: scale(1.1);
}
.front-pano .link-hotspot-custom:hover .link-hotspot-tooltip {
    opacity: 1;
}

.link-hotspot-custom .info-icon-wrap img {
    width: 40px;
    height: 40px;
    transition: .3s;
}

.link-hotspot-custom .link-hotspot-tooltip {
    position: absolute;
    left: calc(100% + 10px);
    top: 0;
    padding: 6px 10px;
    background: rgba(0,0,0,0.7);
    border-radius: 5px;
    opacity: 0;
    transition: .3s;

    font: normal normal normal 18px/18px Microsoft JhengHei;
    letter-spacing: 0px;
    color: #FFFFFF;
    max-width: 300px;
    /* word-break: break-word; */
    overflow: hidden;
    white-space: nowrap;
}

/* 取自marzipano tool 打包css */

#sceneList {
    position: absolute;
    top: 0;
    left: -220px;
    padding-top: 40px;
    width: 220px;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    margin-left: 0;
    -webkit-transition: margin-left 0.5s ease-in-out;
    transition: margin-left 0.5s ease-in-out;
}

#titleBar {
    position: absolute;
    top: 0;
    left: 0;
    right: 40px;
    height: 40px;
    text-align: center;
}

#titleBar .sceneName {
    width: 100%;
    height: 100%;
    line-height: 30px;
    background-color: rgba(58, 68, 84, 0.8);
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: text;
    padding: 5px;
    overflow: hidden;
}

#autorotateToggle {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    padding: 5px;
    background-color: rgb(103,115,131);
    background-color: rgba(103,115,131,0.8);
}
#autorotateToggle.enabled .icon.on {
    display: block;
}
#autorotateToggle .icon.on {
    display: none;
}
#autorotateToggle.enabled .icon.off {
    display: none;
}
#autorotateToggle .icon.off {
    display: block;
}
#autorotateToggle .icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
}

#sceneListToggle {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 40px;
    height: 40px;
    background-color: rgba(103, 115, 131, 0.8);
    padding: 5px;
}

#sceneListToggle.enabled .icon.off {
    display: none;
}

#sceneListToggle .icon.off {
    display: block;
}
#sceneListToggle.enabled .icon.on {
    display: block;
}
#sceneListToggle .icon.on {
    display: none;
}


#sceneListToggle .icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
}

#sceneList.enabled {
    margin-left: 220px;
}
#sceneList {
    position: absolute;
    top: 0;
    left: -220px;
    padding-top: 40px;
    width: 220px;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    margin-left: 0;
    -webkit-transition: margin-left 0.5s ease-in-out;
    transition: margin-left 0.5s ease-in-out;
}

#sceneList .scenes {
    width: 100%;
    background-color: rgb(58,68,84);
    background-color: rgba(58,68,84,0.8);
}

#sceneList .scene.current {
    background-color: rgb(103,115,131);
    background-color: rgba(103,115,131,0.8);
}
#sceneList .scene {
    display: block;
    width: 100%;
    height: 30px;
}
#sceneList .scene .text {
    width: 100%;
    height: 100%;
    padding: 0 15px;
    line-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sceneList .scene .text {
    color: #fff;
}

#sceneList .scene.current {
    background-color: rgb(103,115,131);
    background-color: rgba(103,115,131,0.8);
}

.d-none {
    display: none;
}