
*{
    padding: 0;
    margin: 0;
}


.progress-bar{
    position: absolute;
    width: 100vw;
    height: 100vh;
    background: #414141;
    padding: 10vw;
    box-sizing: border-box;
    z-index: 200;
}

.w-50{
    flex: 1;
}

.load-word{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -62px);

    color: white;
    font-size: 2rem;
    font-weight: 900;

}

.live-mess{
    padding: 4px 5px;
    margin-bottom: 5px;
    color: white;
    display: inline-block;
}

.life-mess .title{
    color: white;
    display: inline;
    font-size: 1.3rem;
    padding: 4px 5px;
    padding-right: 3rem;
    clip-path: polygon(0 0, 78% 0, 100% 100%, 0% 100%);
}

.progress {
    height: 20px;
    background-color: #4caf50;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
}

#unity-canvas{
    position: absolute;
    background-color: #414141;
}

.close-back{
    width: 100%;
    height: 100%;
}

.bottom-bar{
    position: absolute;
    background-color: #ffffffea;
    bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    left: 50%;
    transform: translateX(-50%);

    border-radius: 10px;
    z-index: 8;

    padding: 0 10px;
}

.watch{
    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 8;
    
    display: flex;

    color: white;
    align-items: flex-end;
}

.bottom-item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
    padding: 5px;
    border-radius: 5px;
    width: 65px;
}

.bottom-item:hover{
    cursor: pointer;
    background-color: white;
}

.bottom-item img{
    height: 45px;
}

.message-panel{
    position: absolute;
    background-color: #ffffffea;
    bottom: 130px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    left: 50%;
    transform: translateX(-61.5%);
    border-radius: 10px;
    z-index: 9;
    width: 400px;

}

.message-panel .border{
    margin: 10px 15px;
    max-height: 230px;
    overflow-y: auto;
    border-radius: 10px;
}

.build-list{
    font-size: 1.1rem;
    font-weight: 100;
    padding: 2px 20px;
    color: #363636;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.build-list p:hover{
    cursor: pointer;
    text-decoration: underline;
}
.build-list img:hover{
    cursor: pointer;
}

.mess-title{
    background-image: url("/icon/titleback.png");
    background-size: 100% 100%;
    background-position: center;
    width: 345px;
    font-size: 1.1rem;
    height: 30px;
}



.message-box{
    position: absolute;

    top: 50%;
    left: 50%;    
    transform: translate(-50%, -50%) scale(1.3);

    height: 524px;
    width: 950px;

    box-sizing: border-box;

    z-index: 99;
}

.message-box.border{
    background-color: #ffffff;
    padding: 10px 20px;
    padding-bottom: 30px;
    padding-right: 0;
    box-shadow: 1px 2px 20px 1px #0000004a;
}

.message-box .box-back{
    background-color: rgb(246,246,246);
    height: 100%;
    overflow-y: hidden;
    padding: 10px;
    box-sizing: border-box;
}

.message-box .back-img{
    background-image: url("/images/icon/化工.png");
    background-repeat: no-repeat;
    padding-left: 78px;
    padding-top: 31px;
}

.message-box img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.message-box .box-content{
    overflow-y: auto;
    padding: 5px;
    height: 93%;
    box-sizing: border-box;
    font-size: .9rem;
    text-indent: 2em;
}

.box-back .title{
    font-size: .8rem;
    background-color: rgb(17,91,62);
    color: white;
    padding: 1px;
    width: fit-content;

}
.box-back .line{
    height: 1px;
    width: 100%;
    background-color: rgb(17,91,62);
    margin-top: 2px;
}


.life-mess{
    position: absolute;

    top: 50%;
    left: 50%;    
    transform: translate(-50%, -50%) scale(1.2);

    height: 624px;
    width: 1106px;

    box-sizing: border-box;

    z-index: 99;
}
.life-mess img{
    width: 92%;
}



.life-box{
    position: absolute;
    top: 50%;
    left: 50%;    
    transform: translate(-50%, -50%) scale(1.2);
    height: 624px;
    width: 1046px;
    box-sizing: border-box;
    z-index: 99;

    display: grid;
    grid-template-columns: 1fr 1fr;

    background-color: rgb(156,156,223);
}

.life-box .block{
    position: absolute;

    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    color: white;

}

.text-center{
    text-align: center;
}

.gray-back{
    background-color: rgb(246,246,246);
    padding: 1rem;
}

.life-box .block:hover{
    cursor: pointer;
    transform: scale(1.2);
    z-index: 888;
}
.life-mess .close{
    float: right;
    cursor: pointer;
    margin: 0 10px;
    width: 40px;
    height: 39px;
    background-image: url(/icon/close.svg);
    background-size: cover;
    transform: translate(8px, -6px);
}
.life-mess .diver{
    width: 100%;
    height: 1px;
    background-color: rgb(77, 77, 77);
    margin-top: 10px;
    margin-bottom: 10px;
}

table{
    width: 100%;
    border-collapse: collapse;
    white-space: pre-wrap;
    font-size: 0.7rem;
}

.box-content::-webkit-scrollbar{
    background-color: transparent;
    width: 5px;
    height: 5px;
}

.box-content:hover::-webkit-scrollbar{
    width: 5px;
    height: 5px;
}
.box-content::-webkit-scrollbar-thumb{
    background-color: #cfcfcf;
    border-radius: 10px;
    
}

table th{
    font-weight: 400;
    padding: 5px;
}

table td{
    padding: 5px;
    text-align: center;
}

.message-box .close{
    float: right;
    cursor: pointer;
    margin:0 10px;
    width: 32px;
    height: 31px;
    background-image: url(/icon/close.svg);
    background-size: contain;
}

.message-box .grid{
    padding-top: 35px;
    display: grid;
    grid-template-columns: 5fr 6fr;
    grid-template-rows: 235px 1fr;
    grid-gap: 14px;
    height: 465px;
    box-sizing: border-box;
}

.message-box .img{
    padding-right: 10px;
    flex: 3;
}
.d-flex{
    display: flex;
}
.hov-line{
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    font-weight: 900;
}

.hov-line p{
    word-break: break-all;
    overflow: hidden;
    height: 28px;
}


.message-back{
    position: absolute;
    width: 100vw;
    height: 100vh;
}

.vrframe{
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: #414141ab;
    z-index: 188;
}

.vrframe iframe{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.back{
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    cursor: pointer;

    background-image: url("/icon/back.png");
    background-repeat: no-repeat;
    background-size: 100%;
    width: 52px;
    height: 76px;

    line-height: 126px;
    font-size: 0.66rem;
    color: white;
    font-weight: 900;
}

.search-input{
    border-radius: 10px;
    border: none;
    outline: none;
    margin: 15px;
    margin-bottom: 0;
    padding: 10px;
    font-weight: 900;
    background-color: #cfcfcf;
}

.path-panel{
    position: absolute;
    top: 74px;
    left: 18px;

    display: flex;
}

.path-panel .input-line{
    display: flex;
    flex-direction: column;

    background-color: white;
    padding:0 8px;

    padding-top: 4px;
}

.path-panel .input-line input{
    height: 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 8px;
    margin: 0 16px;
}

.path-panel .search-btn{
    height: 100%;
    background-color: rgb(155, 155, 231);

    height: 28px;
    padding: 4px 28px;
}

.path-panel .search-close{
    height: 100%;
    background-color: rgb(224, 18, 18);

    height: 26px;
    padding: 8px 28px;
}

.autocomplete{
    font-size: 0.9rem;
    color: #575757;
    padding: 8px;
}

.autocomplete .autolist{
    padding: 2px 12px;
}

.float-menu{
    position: absolute;
    bottom: 40px;
    right: 28px;

    display: flex;
    flex-direction: column;
    background-color: #ffffffea;
    border-radius: 10px;
    padding: 10px;
    z-index: 99;
}

.float-btn{
    width: 26px;
    font-size: 0.8rem;
    margin: 2px;
}

.d3-btn{
    position: absolute;
    bottom: 300px;
    right: 12px;
    height: 80px;
    width: 80px;
    background-image: url("/icon/3d.png");
    background-size: 100% 100%;
}

.d3-btn:hover{
    cursor: pointer;
}


.hidden{
    display: none;
}