.fileinput--rejected .file-caption {
    background: var(--color-file-input-rejected-file-caption);
    border-color: var(--color-file-input-rejected-file-caption);
}

.fileinput--rejected .btn {
    background: var(--color-file-input-rejected-btn);
    border-color: var(--color-file-input-rejected-btn);
}

.fileinput--uploaded .file-caption {
    background: var(--color-file-input-uploaded-file-caption);
    border-color: var(--color-file-input-uploaded-file-caption);
}

.fileinput--uploaded .btn {
    background: var(--color-file-input-uploded-btn);
    border-color: var(--color-file-input-uploded-btn);
}

.fileinput--approved .file-caption {
    background: var(--color-file-input-approved-file-caption);
    border-color: var(--color-file-input-approved-file-caption);
}

.fileinput--approved .btn {
    background: var(--color-file-input-approved-btn);
    border-color: var(--color-file-input-approved-btn);
    color: var(--color-black);
}

.fileinput__form-group .btn {
    min-width: 115px;
}

.fileinput__form-group .glyphicon-folder-open {
    cursor: pointer;
}
.fileinput--uploading .kv-fileinput-caption {
    overflow: hidden;
}
.fileinput--uploading .kv-fileinput-caption::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--color-border-inputs);
    opacity: .4;
    position: absolute;
    top: 0;
    right: 0%;
    animation: 2s ease-in-out uploading;
    animation-iteration-count: infinite;
}
@keyframes uploading {
    0% {  right: 100%;}
    50%   {  right: 0%; }
    100%   {  right: -100%; }
}
.fileinput__form-group .fas {
    margin-right: 3px;
}

.file-caption-name {
    pointer-events: none;
}