/* --------- group list --------- */
#stl-group-container {
    position:absolute;
    left: .1rem;
    bottom: .85rem;

    /*max-height: calc(9em*1.3);*/
    overflow-x: scroll;
    overflow-y:hidden;
    display: none;
    width: 99.5%;

    margin-bottom: 0.2rem;
    padding-bottom: 0.25rem;

    /*pointer-events:none;*/
}


#stl-group-container .content{
    flex-direction: column;
    float: left;
    width: calc(1.7rem*1.3);
}



/*模型组按钮*/
#stl-group-container .content .stl-group-btn{
    font-size: .2rem;
    color: #ffffff;
    background-color: rgba(20,33,53,0.65);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.25);
    border:2.5px rgb(91, 167, 252) solid;
    border-radius: .1rem;
    padding: .05rem;
    /*display: inline-block;*/
    float:left;
    margin-left: 0.1rem;
    width:calc(1.6rem*1.3);
    height: calc(0.8rem*1.3);
    display: flex;
    display: -webkit-flex; /* Safari */
    flex-direction: column;
    justify-content: space-around;
}
#stl-group-container .content .stl-group-btn.active{
    border:3px #ffcc33 solid;
    color:#ffcc33;
    background: rgba(0,0,0,.2);
}
.model-group-operate{
    width: 0.8rem;
    text-align: center;
}
.model-group-spreadOut{
    display: inline-block;

}
#stl-group-container .content .stl-group-btn .controls-header{
    display: flex;
    display: -webkit-flex; /* Safari */
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
#stl-group-container .content .stl-group-btn .controls-header .model-group-name{
    width: 0.8rem;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}
#stl-group-container .content .stl-group-btn  .volume{
    align-self: flex-end;
    font-size: .15rem;
    padding-left:0.7rem
}
#stl-group-container .content .stl-group-btn .controls-contianer{
    display: flex;
    display: -webkit-flex; /* Safari */
    flex-direction: row;
    justify-content: space-between;
    font-size: .15rem;
    width: 100%;
}
#stl-group-container .content .stl-group-btn .controls-contianer span{
    width: 0.8rem;
}
#stl-group-container .content .stl-group-btn .controls-contianer .model-group-show{
    cursor: pointer;
    float: left;
    text-align: center;
}
.modelOpacitySelect{
    width: 1.6rem;
    line-height: .3rem;
    text-align: center;
}
.modelOpacitySelect .opacity-btn{
    color: #ffffff;
    cursor: pointer;
    height: .3rem;
    width: .5rem;
    text-align: center;
    border-radius: .08rem;
    background-color: rgba(20,33,53,0.85);
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
}
#stl-group-container .content .stl-group-btn .controls-contianer .color{
    display: flex;
    display: -webkit-flex; /* Safari */
    justify-content: space-between;
    align-items: center;
}
#stl-group-container .content .stl-group-btn .controls-contianer .color .color-display{
    /*margin: 0 auto;*/
    width: .5rem;
    height: .25rem;
    background-color: #1b1c1e;
    cursor: pointer;

}
/*非组成员*/
#stl-group-container .content .stl-btn{
    font-size: .2rem;
    color: #ffffff;
    background-color: rgba(20,33,53,0.65);
    box-shadow: 0 1px 5px 0 rgba(0,0,0,0.25);
    border:2.5px rgb(86, 177, 102) solid;
    border-radius: .1rem;
    padding: .05rem;
    display: flex;
    display: -webkit-flex; /* Safari */
    flex-direction: column;
    justify-content: center;
    float:left;
    margin-left: 0.1rem;
    width:calc(1.7rem*1.3);
    height: calc(0.8rem*1.3);
}
#stl-group-container .content .stl-btn.active{
    border:1px #ffcc33 dashed;
    color:#ffcc33;
    background: rgba(0,0,0,.2);
}
#stl-group-container .content .stl-btn .controls-header{
    display: flex;
    display: -webkit-flex; /* Safari */
    flex-direction: row;
    justify-content: space-between;
}
#stl-group-container .content .stl-btn .controls-header .title{
    width: 0.8rem;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}
#stl-group-container .content .stl-btn  .volume{
    align-self: flex-end;
    font-size: .15rem;
}
#stl-group-container .content .stl-btn .controls-contianer{
    font-size: .15rem;
    width: 100%;
}
#stl-group-container .content .stl-btn .controls-header .show{
    cursor: pointer;
    width: 0.8rem;
    text-align: center;
}
#stl-group-container .content .stl-btn .controls-contianer .color{
    display: flex;
    display: -webkit-flex; /* Safari */
    justify-content: space-between;
    align-items: center;
}
#stl-group-container .content .stl-btn .controls-contianer .color .color-display{
    width: .5rem;
    height: .25rem;
    background-color: #1b1c1e;
    cursor: pointer;
}
.model-group-name{
    width:1rem;
    display:inline-block;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    float: left;
}

/* --------- stl list --------- */
#stl-container {
    position:absolute;
    left: .1rem;
    bottom: 2rem;

    /*max-height: 9em;*/
    overflow-x: scroll;
    overflow-y:hidden;
    display: none;

    margin-bottom: 0.16rem;
    padding-bottom: 0.16rem;

    /*pointer-events:none;*/
}

.nicescroll-rails div{
    background-color: rgba(57, 168, 243, 0.5) !important;
}
#stl-container .content{
    flex-direction: column;
    float: left;
    width: calc(1.7rem*1.3);
}
#stl-container .content .stl-btn{
    font-size: .2rem;
    color: #ffffff;
    background-color: rgba(20,33,53,0.65);
    box-shadow: 0 1px 5px 0 rgba(0,0,0,0.25);
    border:1px rgba(255,255,255,0) dashed;
    border-radius: .1rem;
    padding: .05rem;
    display: flex;
    display: -webkit-flex; /* Safari */
    flex-direction: column;
    justify-content: space-around;
    float:left;
    margin-left: 0.1rem;
    width:calc(1.6rem*1.3);
    height: calc(0.8rem*1.3);
}
#stl-container .content .stl-btn.active{
    border:1px #ffcc33 dashed;
    color:#ffcc33;
    background: rgba(0,0,0,.2);
}
#stl-container .content .stl-btn + .stl-btn{
    /*margin-left: .1rem;*/
}
#stl-container .content .stl-btn .controls-header{
    display: flex;
    display: -webkit-flex; /* Safari */
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
#stl-container .content .stl-btn .controls-header .title{
    width: 0.8rem;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}
#stl-container .content .stl-btn  .volume{
    align-self: flex-end;
    font-size: .15rem;
}
#stl-container .content .stl-btn .controls-contianer{
    display: flex;
    display: -webkit-flex; /* Safari */
    justify-content: space-between;
    font-size: .15rem;
    width: 100%;
}
#stl-container .content .stl-btn .controls-header .show{
    cursor: pointer;
    width: 0.8rem;
    text-align: center;
}
#stl-container .content .stl-btn .controls-contianer .opacity{
    width: 1.5rem;
    display: flex;
    display: -webkit-flex; /* Safari */
    flex-direction: row;
    justify-content: space-between;
    line-height: .3rem;
}
#stl-container .content .stl-btn .controls-contianer .opacity-btn{
    color: #ffffff;
    cursor: pointer;
    height: .3rem;
    width: .5rem;
    text-align: center;
    border-radius: .08rem;
    background-color: rgba(20,33,53,0.85);
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
}
.modelColorSelect{
    width: 0.5rem;
}
.modelColorSelect .color-display{
    width: .5rem;
    height: .25rem;
    background-color: #1b1c1e;
    cursor: pointer;

}
.model-show i{
    font-size: .28rem;
}
.controls-foot{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
.controls-foot span{
    width: 0.8rem;
    height: 0.3rem;
    line-height: 0.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.15rem;
}
