html.loading {
    visibility: hidden;
    opacity: 0;
}

html:not(.loading) {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

.dropdown-menu-custom {
    position: absolute;
    z-index: 1000;
    background-color: white;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.25rem;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
}

.dropdown-item-custom {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

.dropdown-item-custom:hover {
    color: #1e2125;
    background-color: #f8f9fa;
}

.d-none {
    display: none !important;
}

.cursor-pointer {
    cursor: pointer;
}

.transition-icon {
    transition: transform 0.2s ease-in-out;
}

[aria-expanded="true"] .transition-icon {
    transform: rotate(180deg);
}

.bg-anis {
    opacity: 1;
    background-color: #BFFF00 !important;
}

@media (hover: hover) {
    .bookmark-item:hover .bookmark-actions {
        display: flex !important;
    }
}

@media (hover: none) {
    .bookmark-item .bookmark-actions {
        display: flex !important;
    }
}

.bookmark-item .nav-link {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
