.capi-sele {
    max-width: 100%;
    position: relative;
    display: inline-block;
    background: #eee;
    color: var(--them-fonc);
    border-radius: 4px;
    font-size: 12px;
    user-select: none;
    cursor: pointer;
}

.capi-sele-titr {
    padding: 0 4px;
    height: 22px;
    line-height: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sele-opti-list {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #555;
    z-index: 999;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
}

.capi-sele.open .capi-sele-titr .icon-acti-base {
    display: none;
}

.capi-sele:not(.open) .capi-sele-titr .icon-acti-haut {
    display: none;
}

.capi-sele.open .sele-opti-list {
    min-width: fit-content;
    display: block;
}

.sele-opti {
    padding: 2px;
    height: 28px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    span {
        height: 100%;
        display: flex;
        flex-grow: 1;
        justify-content: flex-start;
        align-items: center;
        padding: 2px;
    }

    &.sele {
        span {
            color: #FFF;
            background-color: var(--noti-fonc);
            border-radius: 4px;
        }
    }
}

.sele-opti:hover {
    background-color: var(--them-fonc);
    color: white;
}

.sele-opti.sele:hover {
    background-color: var(--noti-fonc);
    color: white;
}