body {
    background-color: #EFEFEF;
}

input.has-error {
    box-shadow: 0 0 5px red;
}
span.has-error {
    color: red;
}

.icon-sm {
    max-width: 24px;
    max-height: 24px;
}

.icon-20 {
    max-width: 20px;
    max-height: 20px;
    position: relative;
    top: -2px;
}

.modal-body input[type="checkbox"]:indeterminate {
  accent-color: red;
}

svg.link-button-icon {
    position: relative;
    top: -2px;
    left: -4px;
}

div.action-header {
    position: sticky;
    top: 56px;
    z-index: 1000;
    background-color: #EFEFEF;
}

div.action-header>button>svg.bi {
    position: relative;
    top: -2px;
}

.navbar-brand-auto-size {
    max-width: calc(100% - 164px);
}

.breadcrumbs, .breadcrumbs:hover {
    background-color: var(--bs-gray-500);
    border-color: var(--bs-gray-500);
    cursor: unset;
}

.file-tags {
    position: relative;
    margin-left: 3px;
    margin-top: 3px;
    z-index: 102;
}

.file-tag {
    width: 16px;
    height: 16px;
    border-radius: 8px;
}

.file-tag-item {
    padding: 2px 9px;
    border-radius: 3px;
    margin-bottom: 3px;
}

.file-action-button {
    display: none;
    float: right;
    right: 2px;
    bottom: 2px;
    mask-position: center;
    background-color: aquamarine;
    z-index: 101;
}

a.img:hover .file-action-button, .file-action-button:hover {
    display: block;
}

.file-action-button.remove-btn {
    mask-image: url(/public/assets/bootstrap/icons/trash.svg);
}

#gallery>a[selected=true] {
    box-shadow: 0px 0px 2px 1px #3FB8AF;
}

a.img {
    width: auto;
    height: auto;
}

a.img > img:first-child {
    transition: all 0.3s ease;
}

a.img:hover > img:first-child {
    transform: scale(1.02);
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

span.file-selection {
    position: relative;
    margin-right: 5px;
    z-index: 101;
}

.spl-header div {
    mask-size: 45%;
    mask-repeat: no-repeat;
    mask-position: center;
}

.spl-header div.spl-remove-btn {
    background-color: white;
    mask-image: url(/public/assets/bootstrap/icons/trash.svg);
}

.spl-header div.spl-share-btn {
    background-color: white;
    mask-image: url(/public/assets/bootstrap/icons/share.svg);
}

.spl-header div.spl-copy-btn {
    background-color: white;
    mask-image: url(/public/assets/bootstrap/icons/copy.svg);
}

.spl-header div.spl-copy-btn.success {
    background-color: lightgreen;
}

.spl-header div.spl-copy-btn.error {
    background-color: lightcoral;
}

.spl-header div.spl-autofit {
    background-color: white;
    mask-image: url(/public/assets/bootstrap/icons/arrows-move.svg);
}

.justified-gallery > .jg-entry-visible > img.directory-image {
    transition: none;
}

.justified-gallery > a > span.jg-caption.directory-caption {
    opacity: 0.7;
    transition: none;
    z-index: 101;
    border-radius: var(--bs-border-radius);
}

div.autoComplete_wrapper {
    width: 100%;
    margin-bottom: .5rem;
}

div.autoComplete_wrapper input {
    height: 32px;
}

div.autoComplete_wrapper ul li mark {
    padding: 0;
}

div:has(>.marquee-text) {
    width: 120px;
}
.marquee-text {
    white-space: nowrap;
    animation: marquee-with-pause infinite linear;
}
.marquee-8s { animation-duration: 8s; }
.marquee-12s { animation-duration: 12s; }
.marquee-15s { animation-duration: 15s; }
.marquee-18s { animation-duration: 18s; }
.marquee-22s { animation-duration: 22s; }
.marquee-25s { animation-duration: 25s; }

@keyframes marquee-with-pause {
  0% { transform: translateX(0); }
  60% { transform: translateX(0); }
  79.99999% { transform: translateX(-100%); }
  80% { transform: translateX(130px); }
  100% { transform: translateX(0); }
}

.loader {
    position: absolute;
    left: calc(50% - 30px);
}

.loader {
    width: 60px;
    height: 16px;
    display: flex;
    justify-content: space-between;
    animation: l3-0 2s infinite alternate;
  }
  .loader:before,
  .loader:after {
    content: "";
    width: 16px;
    background: #3FB8AF;
    animation: l3-1 1s infinite alternate;
  }
  .loader:after {
    background: #FF3D7F;
    --s:-1;
  }
  @keyframes l3-0 {
     0%,40%   {transform: rotate(0)}
     80%,100% {transform: rotate(.5turn)}
  }
  @keyframes l3-1 {
     80%,100% {transform: translate(calc(var(--s,1)*14px))}
  }