.cd-tab-container {
    position: relative;
    .cd-tab-formset{
        overflow: hidden;
    }
    .cd-tab-item-container {
        margin-bottom: 10px;
        &.cd-show-detail {
            padding: 10px;
            background-color: #EFEFEF;
            .cd-tab-panel {
                display: none;
            }
            .cd-tab-item-detail {
                display: block;
            }
            .cd-tab-operate {
                .cd-icons-edit1 {
                    display: none;
                }
            }
        }
        .cd-tab-item-detail {
            display: none;
            .cd-tab-content-title {
                display: none;
                .cd-form-group {
                    margin-top: 0;
                }
            }
            .cd-tab-content-img {
                display: none;
            }
            .cd-tab-content-time {
                display: none;
            }
            .cd-tab-biinfo {
                display: none;
            }
            .cd-tab_modules {
                .cd-form-group {
                    margin: 0;
                }
            }
        }
        .cd-tab-panel {
            display: flex;
            justify-content: space-between;
            padding: 10px;
            background: #FFFFFF;
            border: 1px solid #C8C8C8;
            border-radius: 2px;
            &:hover {
                background: #F2F2F2;
                border: 1px solid #F2F2F2;
                border-radius: 2px;
                .cd-tab-operate {
                    visibility: visible;
                }
            }
            .cd-tab-show-info {
                display: flex;
                flex: 1;
                .cd-tab-title {
                    font-size: 12px;
                    color: #999999;
                }
                .cd-tab-main-des {
                    display: flex;
                    flex: 1;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    .cd-tab-show-module {
                        font-size: 12px;
                        line-height: 1.4;
                        color: #666666;
                        margin-bottom: 5px;
                        width: 220px;
                        text-align: center;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }
                    .cd-tab-edit {
                        font-size: 12px;
                        line-height: 1.4;
                        color: #2299FF;
                        text-align: center;
                        &:hover {
                            text-decoration: underline;
                        }
                    }
                }
                .cd-tab-show-name {
                    display: none;
                    font-size: 14px;
                    font-weight: bolder;
                    color: #333333;
                    margin-bottom: 10px;
                    width: 220px;
                    text-align: center;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
                .cd-tab-img {
                    display: none;
                    width: 73px;
                    height: 29px;
                    line-height: 29px;
                    background: #F7F7F7;
                    text-align: center;
                    margin-bottom: 5px;
                    img {
                        max-width: 100%;
                        max-height: 100%;
                        vertical-align: middle;
                    }
                }
                .cd-tab-time {
                    display: none;
                    line-height: 1.4;
                    margin-bottom: 5px;
                    .cd-time-line {
                        font-size: 12px;
                        color: #666666;
                        span {
                            color: #333333;
                            font-weight: bold;
                        }
                    }
                }
                .cd-tab-bi {
                    display: none;
                    font-size: 12px;
                    color: #666666;
                    line-height: 1.4;
                    margin-bottom: 5px;
                    span {
                        display: inline-block;
                        width: 150px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        vertical-align: top;
                    }
                }
            }
            .cd-tab-operate {
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
                visibility: hidden;
                a {
                    padding: 5px;
                    display: block;
                    height: 16px;
                    line-height: 16px;
                    margin-top: 2px;
                }
            }
        }
        .cd-tab-control {
            text-align: center;
            a {
                margin-top: 15px;
                display: inline-block;
                width: 68px;
                line-height: 25px;
                background: #FFFFFF;
                border: 1px solid #999999;
                border-radius: 2px;
                font-size: 12px;
                color: #000000;
                letter-spacing: 0;
                text-align: center;
            }
            .cd-tab-done {
                margin-left: 10px;
                color: #FFFFFF;
                border: 1px solid #F44336;
                background: #F44336;
            }
        }
        .cd-content-label {
            font-size: 12px;
            color: #333333;
            line-height: 1.4;
            padding-bottom: 10px;
            span {
                color: #666;
            }
        }
    }
    .cd-tab-modes {
        .cd-form-group {
            margin-bottom: 10px;
            .cd-radio-icon {
                margin-top: 0;
            }
            .cd-radio-label {
                line-height: 1;
            }
        }
        &.cd-type-3 {
            .cd-body {
                display: none;
            }
        }
    }
    .cd-add-tab-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #FFFFFF;
        border: 1px dashed #C1C1C1;
        border-radius: 2px;
        height: 100px;
        cursor: pointer;
        .cd-add-icon {
            font-size: 35px;
            color: #D8D8D8;
            margin-bottom: 5px;
            font-weight: 200;
            height: 20px;
            line-height: 14px;
        }
        .cd-add-tab-txt {
            font-size: 12px;
            color: #666666;
            .cd-tab-num {
                margin-left: 5px;
                color: #103F00;
            }
        }
        &:hover {
            border: 1px solid #29f;
            .cd-add-icon {
                color: #29f;
            }
        }
    }
    .hide {
        display: none;
    }
    .tab-error-tips {
        position: absolute;
        display: none;
        left: 50%;
        top: 50%;
        margin: -25px -104px;
        font-size: 14px;
        color: #FFFFFF;
        max-width: 208px;
        min-width: 147px;
        height: 50px;
        padding: 0 10px;
        text-align: center;
        line-height: 50px;
        background: rgba(0, 0, 0, 0.70);
        border-radius: 4px;
    }
    .cd-type-1 {
        .cd-tab-panel {
            .cd-tab-show-info {
                .cd-tab-show-name {
                    display: block;
                }
                .cd-tab-img {
                    display: none;
                }
                .cd-tab-time {
                    display: none;
                }
            }
        }
        .cd-tab-item-detail {
            .cd-tab-content-title {
                display: block;
            }
            .cd-tab-content-img {
                display: none;
            }
            .cd-tab-content-time {
                display: none;
            }
        }
    }
    .cd-type-2 {
        .cd-tab-panel {
            .cd-tab-show-info {
                .cd-tab-show-name {
                    display: none;
                }
                .cd-tab-img {
                    display: block;
                }
                .cd-tab-time {
                    display: none;
                }
            }
        }
        .cd-tab-item-detail {
            .cd-tab-content-title {
                display: none;
            }
            .cd-tab-content-img {
                display: block;
            }
            .cd-tab-content-time {
                display: none;
            }
        }
    }
    .cd-type-3 {
        .cd-tab-panel {
            .cd-tab-show-info {
                .cd-tab-show-name {
                    display: none;
                }
                .cd-tab-img {
                    display: none;
                }
                .cd-tab-time {
                    display: block;
                }
            }
        }
        .cd-tab-item-detail {
            .cd-tab-content-title {
                display: none;
            }
            .cd-tab-content-img {
                display: none;
            }
            .cd-tab-content-time {
                display: block;
            }
        }
    }
    .cd-type-1.cd-isbi-1,
    .cd-type-2.cd-isbi-1 {
        .cd-tab-panel {
            .cd-tab-show-info {
                .cd-tab-bi {
                    display: block;
                }
            }
        }
        .cd-tab-item-detail {
            .cd-tab-biinfo {
                display: block;
            }
        }
    }
}

.m-hide-bi {
    .cd-form-group {
        display: none;
        .cd-body {
            display: none !important;
        }
    }
}
