html{-webkit-text-size-adjust:none;}

a{
    color:black;
    transition: color 0.15s;
    -moz-transition:color 0.15s;
    -webkit-transition:color 0.15s;
    -ms-transition:color 0.15s;
    -o-transition:color 0.15s;
}

a:hover{
    color: black;
    text-decoration: none;
}

h{color:#8C0000}
.last{color: black}

 th,a,td{text-align: left}
.sj { width:500px; } .sj li { float:left; width:248px; /*因为是2列，这里宽度比外面容器sj宽度的一半稍小一点*/ }

/* 切换时方便hide和show */
.info-box {
    /* display: none; */
    overflow:visible; 
    min-height: 45vh;
}
.edit-btn {
    display: none;
}

.info-box .box-flex {
    display: flex;
    flex-wrap: wrap;
    min-height: 45vh;
    width: 100%;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    align-content: space-evenly;
    z-index: 1; 
}

#base-info-box{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#base-info-box .box-flex {
    align-items: flex-start;
}

/* 卡片 */
.card {
    /* 让旋转有空间感 */
    perspective: 1000px;
    /* 为了居中
    transform: translateX(-50%) translateY(-88%); */
    /* 不然卡片会重在一起 */
    position: relative;
    /*  */
    width: 7.2vw;
    height: 10vw;
    /* 遮挡关系 */
    z-index: 5;
    /* 超出不换行 */
    /* flex-shrink: 0; */

}

.card:hover {
    z-index: 6;
}

.cons-card-cover, .cons-card-back, .var-card-cover, .var-card-back {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: .6vw;
    box-shadow: 0 .1rem .3rem rgba(0, 0, 0, .18);
    /* 将两个div重叠起来 */
    position: absolute; 
    /* 背面不显示 */
    backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* 动画 */
    transition: all 0.36s ease-out;
    -webkit-transition: all 0.36s ease-out;
    -ms-transition: all 0.36s ease-out;
    -moz-transition: all 0.36s ease-out;
    -o-transition: all 0.36s ease-out;
    
}

.cons-card-cover, .var-card-cover{
    color: white;
    transform: rotateY(0deg);
    text-shadow: 0 .06rem .12rem rgba(0, 0, 0, 0.18);
    font-size: 2rem;
}

.card:hover .cons-card-cover{
    /* 旋转 */
    transform: rotateY(180deg) scale(2, 2);
}
.card:hover .var-card-cover{
    /* 旋转 */
    transform: rotateY(180deg) scale(2, 2);
}

.cons-card-cover{
    background-color: rgb(85, 85, 85);
}

.var-card-cover{
    background-color: rgb(179, 78, 83);
}

.cons-card-back, .var-card-back {
    background-color: antiquewhite;
    color: black;
    overflow: scroll;
    transform: rotateY(-180deg);
    text-size-adjust:none;
    font-size: 50%;
    /* padding-top: 30%; */
}

.card:hover .cons-card-back{
    /* 旋转 */
    transform: rotateY(0deg) scale(2, 2);
}
.card:hover .var-card-back{
    /* 旋转 */
    transform: rotateY(0deg) scale(2, 2);
}

.punctuation {

}

.card-table {
    border-collapse: collapse;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    /* width: 90%;
    height: 90%;
    border-radius: .6vw;
    background-color: white; */
}

.card-table > span{
    padding: 0.1rem 0;
    display: block;
    -webkit-transform:scale(0.98);
}
.card-table > span:nth-last-child(2){
    border-bottom: rgb(179, 78, 83) 0.16rem solid;
    padding-bottom: 0.2rem;
}
.card-table > span span{
    padding: 0 0.1rem;
}

/* index box */
.forloop_box {
    border-bottom: 0.5px dotted rgb(226, 226, 226); 
    margin-bottom: 3rem;
}

.forloop_head {
    margin-bottom: 0;
    padding-bottom: 0;
}

.overview-info-subsidiary{
    display: none;
}

.info-box-hr{
    display: none;
    margin-bottom: 2rem;
}

.overview-info-h{
    display: none;
    margin: 0 0 1rem 1rem;
}


.card-badge{
    font-size: 100%;
    cursor: auto;
}

@neighbor-offset: 10vw;
.container {
    .mask {
        position: fixed;
        height: 36%;
        width: 18vw;
        z-index: 3;
        // background-color: black;
    }

    .neighbor-ctx {
        position: fixed;
        top: 0;
        // top: 50%;
        // height: 50px;
        // width: 50px;
        // border-radius: 50%;
        height: 100%;
        width: 18vw;
        display: flex;
        justify-content: center;
        align-items: center;
        color: rgba(0, 0, 0, 0);
        font-size: 0.6rem;
        background-color: rgba(0, 0, 0, 0);
        box-shadow: 1px 1px 10px rgba(36, 36, 36, 0);
        transition: all 0.2s ease-in;
        z-index: 2;
        cursor: pointer;
        background-repeat: no-repeat;
        &:hover {
            color: rgba(0, 0, 0, .5);
            font-size: 1.5rem;
            text-shadow: 1px 1px 10px rgba(36, 36, 36, .3);
            // box-shadow: 1px 1px 10px rgba(36, 36, 36, .3);
        }
    }
    .previous-ctx {
        .neighbor-ctx;
        // left: @neighbor-offset;
        // background-position: -18vw 0;
        // background-image: linear-gradient(to right, rgba(88, 88, 88, 0.12), rgba(88, 88, 88, 0));
        left: 0;
        &:hover {
            // background-position: 0 0;
            background-image: linear-gradient(to right, rgba(88, 88, 88, 0.12), rgba(88, 88, 88, 0));
        }
    }
    .next-ctx {
        .neighbor-ctx;
        // right: @neighbor-offset;
        // background-position: 30vw 0;
        // background-image: linear-gradient(to left, rgba(88, 88, 88, 0.12), rgba(88, 88, 88, 0));
        right: 0;
        &:hover {
            // background-position: 0 0;
            background-image: linear-gradient(to left, rgba(88, 88, 88, 0.12), rgba(88, 88, 88, 0));
        }
    }
}