﻿
.label-info {
    background-color: var(--bs-primary);
}

.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    height: 22px;
    line-height: 150%;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    text-align: center;
}

.tagSearch .bootstrap-tagsinput {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}

.tagSearch .bootstrap-tagsinput input {
    flex-basis: 4rem;
    flex-grow: 1;
    flex-shrink: 0;
    width: 3rem;
    max-width: initial;
}

.placeholder-item {
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    background-color: #CFD4DB;
    color: #CFD4DB;
    user-select: none;
}

.placeholder-item::before {
    content: '';
    display: block;
    position: absolute;
    left: -150px;
    top: 0;
    height: 100%;
    width: 150px;
    background: linear-gradient(to right, transparent 0%, #FFFFFF 50%, transparent 100%);
    animation: load 1s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

@keyframes load {
    from {
        left: -150px;
    }

    to {
        left: 100%;
    }
}

.loader {
    display: none;
}
#list {
    display: none;
}

.loading .loader {
    display: block;
    animation: fadeIn ease 500ms both;
}


.loading #list {
    display: block;
    animation: fadeOut ease 500ms forwards;
}

.loaded.loading .loader {
    display: block;
    animation: fadeOut ease 500ms forwards;
}

.loaded #list {
    display: block;
    animation: fadeIn ease 500ms both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        visibility: hidden;
    }
    1% {
        visibility: visible;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes fadeOut {
    from {
        visibility: visible;
        opacity: 1;
    }

    99% {
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}