

.crowds-item-wrap {
    width: 100%;
    border: 1px solid #ddd;
    background: white;
    min-height: 400px;
    border-radius: 4px;
    padding: 15px 10px;
    &.active {
        border-color: var(--color-brand);
    }
}
.crowds-item-wrap-active {
    border: 1px dashed var(--color-brand);
}

.crowds-main {
    // padding: 20px;
    padding: 0 10px;
}

.crowds-side {
    background-color: white;
    padding: 30px;
}

.point-arrow {
    position: absolute;
    top: 10px;
    left: 10px;
    border: 1px solid #ddd;
    width: 10px;
    height: 20px;
    border-right: 0;
    border-top: 0;
}

.tag-group-name {
    background-color: #f5f5f5;
    padding: 10px;
    height: 52px;
    line-height: 32px;
}
.tag-option-list {
    .sub {
        position: absolute;
        padding: 10px;
        top: 30px; 
        left: 10px;
        width: 200px;
        max-height: 150px;
        overflow: auto;
        border: 1px solid #ccc;
        border-radius: 3px;
        display: none;
        z-index: 10;
        box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
        background-color: white;
    }
}

.tag-option-list {
    // display: grid;
    // grid-template-columns: repeat(6, 1fr);
    :hover {
        .sub {
            display: block;
        }
    }
    li {
        width: 20%;
        float: left;
        padding: 10px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        // white: 100%;
    }
}

.tag-category-tab {
    background: #f5f5f5;
    padding: 10px 20px;
    .tab {
        line-height: 32px;
        cursor: pointer;
        margin-right: 40px;
    }
}

.tag-category-block {
    border: 1px solid #ddd;
    .hd {
        background-color: #f5f5f5;
        padding: 10px 15px;
    }
    .bd {
        height: 320px;
        overflow: auto;
    }
}

.tag-category-list {
    // padding: 1px 0;
    li {
        float: left; 
        width: 100%;
        padding: 10px 10px;
        &.can-selected {
            cursor: pointer;
            &:hover {
                background-color: var(--color-brand-opacity-ex);
                .arr {
                    display: block;
                    opacity: 0.6;
                }
            }
        }
        &.selected {
            background-color: var(--color-brand-opacity);
            .arr {
                display: block;
                opacity: 1;
            }
        }
        .arr {
            // margin-top: 3px;
            display: none;
        }
    }
}

.tag-category {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(4, 1fr);
}

.tag-category-expand {
    grid-template-columns: 1fr;
    .tag-category-list {
        li {
            width: 180px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    }
}
// .cate-title {
//     margin-left: 3px;
// }

.count-brand {
    border-radius: 10px;
    // width: 15px;
    padding: 0 4px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    color: white;
    background-color: var(--color-brand);
    vertical-align: middle;
    display: inline-block;
}

.tag-search-list {
    max-height: 300px;
    overflow: auto;
    background: white;
    border-radius: 4px;
    border: 1px solid #e6e6e6;
    width: 100%;
    top: 36px;
    right: 0;
    padding: 8px 0;
    position: absolute;
    line-height: 2;
    li {
        padding: 0 15px;
    }
}

.operative-symbol-wrap {
    display: inline-block;
    text-align: center;
    width: 36px;
}
.operative-symbol {
    cursor: move;
    display: inline-block;
    border: 1px solid #888;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    text-align: center;
    line-height: 24px;
    color: #888;
    font-family: Verdana;
    font-size: 20px;
    &:hover {
        border-color: var(--color-brand);
        color: var(--color-brand);
    }
}
.operative-symbol-bracket {
    font-size: 16px;
    line-height: 26px;
}

.tag-search-wrap {
    display: grid;
    grid-template-columns: 320px auto 320px;
}

.tag-search-block {
    border-radius: 5px;
    border: 1px solid #ddd;
    .hd {
        padding: 8px;
        border-radius: 5px 5px 0 0;
        background-color: #f5f5f5;
    }
    .bd {
        background-color: white;
        height: 240px;
        overflow: auto;
        border-radius: 0 0 5px 5px;
        ul {
            li {
                padding: 10px;
                border-bottom: 1px solid #eee;
                display: grid;
                grid-gap: 5px;
                grid-template-columns: 240px auto;
                &.no-data {
                    color: #999;
                    border-bottom: none;
                    line-height: 220px;
                    text-align: center;
                }
            }
        }
    }
}

.crowd-manage-list {
    li {
        height: 32px;
        line-height: 32px;
        .opr {
            display: none;
        }
        &:hover {
            .opr {
                display: block;
            }
        }
    }
}
.drop-card {
    max-width: 200px;
    min-width: 140px;
    border: 1px solid #eee;
    border-radius: 4px;
    .hd {
        background-color: #f5f5f5;
        padding: 5px 10px;
    }
    .bd {
        background-color: white;
        padding: 10px;
    }
    .options {
        height: 80px;
        overflow: auto;
        margin-bottom: 10px;
    }
}

.drop-element {
    border-left: 1px solid transparent;
}

.drop-active {
    border-left: 1px solid var(--color-brand);
    animation: drop-active-anim 0.8s linear 0s infinite;
}

.drop-active-anim () {
    0% {
        border-left-color: rgba(104, 73, 158, 0)
    }
    25% {
        border-left-color: rgba(104, 73, 158, 0.5)
    }
    50% {
        border-left-color: rgba(104, 73, 158, 1)
    }
    75% {
        border-left-color: rgba(104, 73, 158, 0.5)
    }
    100% {
        border-left-color: rgba(104, 73, 158, 0)
    }
}

@keyframes drop-active-anim {
    .drop-active-anim
}

.sub-group {
    position: relative;
    &:hover {
        .third-group {
            display: block;
        }
    }
    .third-group {
        padding: 10px;
        // border: 1px solid #ccc;
        box-shadow: 0 0 7px rgba(0,0,0,0.2);
        position: absolute;
        z-index: 11;
        display: none;
        min-width: 300px;
        left: 0;
        top: 25px;
        background-color: white;
        a {
            white-space: nowrap;
            margin: 5px 10px;
        }
        // white-space: nowrap;
    }
}

.tag-radio-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 15px;
}