/* /Layout/MainLayout.razor.rz.scp.css */
main[b-brye1p73n9] {
    flex: 1;
}

.sidebar[b-brye1p73n9] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-brye1p73n9] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-brye1p73n9]  a, .top-row[b-brye1p73n9]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-brye1p73n9]  a:hover, .top-row[b-brye1p73n9]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-brye1p73n9]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-brye1p73n9]  a, .top-row[b-brye1p73n9]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    .sidebar[b-brye1p73n9] {
        width: 250px;
        position: sticky;
        top: 0;
    }

    .top-row[b-brye1p73n9] {
        position: sticky;
        top: 0;
    }

    .top-row.auth[b-brye1p73n9]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-brye1p73n9], article[b-brye1p73n9] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
i[b-dnyd13vraf] {
    width: 30px;
    min-width: 30px;
    margin: 0 5px;
    text-align: center;
}

#PinnedItemsTable[b-dnyd13vraf] {
    font-size: 0.9rem;
    color: lightgrey;
    
    .sw-pinned-item:hover {
        background-color: rgba(255,255,255,0.1)
    }
}

.navbar-toggler[b-dnyd13vraf] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-dnyd13vraf] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-dnyd13vraf] {
    font-size: 1.1rem;
}

.nav-item[b-dnyd13vraf] {
    font-size: 0.9rem;
    cursor: pointer;
    
    a {
        height: 2.5rem;
        line-height: 2.5rem;
        align-items: center;
        
        &:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }
    }
}

.nav-item[b-dnyd13vraf]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-scrollable[b-dnyd13vraf] {
    /* Allow sidebar to scroll for tall menus */
    height: calc(100dvh - 3.5rem);
    overflow-y: auto;
}
/* /Pages/Domains/DomainSelectDialog.razor.rz.scp.css */
#DomainResults[b-ieui1v0aaz] {
    overflow-y: scroll;
    max-height: 260px;
}

#DomainSelectorContainer[b-ieui1v0aaz] {
    width: 500px;
    max-width: 95%;
}

.domain-selector-header[b-ieui1v0aaz] {
    background-color: #212529;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.domain-selector-header a[b-ieui1v0aaz] {
    color: white;
    font-size: 0.9em;
    margin: 0 4px;
}
/* /Pages/Domains/RecursiveDomainOption.razor.rz.scp.css */
.domain-result[b-6r8s0o5uf9] {
    display: flex;
    background-color: white;
    cursor: pointer;
    
    .btn-domain-collapse {
        color: grey;
        padding: 0 7px;
        
        &:hover {
            color: black;
        }
    }
}
/* /Pages/Home.razor.rz.scp.css */
#BtnReturnToTop[b-wtld7133bi] {
    position: absolute;
    right: 3vw;
    bottom: -100vh;
    transition: all 0.2s;

    &.visible {
        bottom: 2vh;
    }
}

#HomeGrid[b-wtld7133bi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto 1fr;
    gap: 8px;
    padding: 10px;
    
    height: 100%;
    flex: 1;
    max-width: 600px;
    
    .sw-home-link {
        display: flex;
        align-items: center;
        
        i {
            width: 20px; /* normalize icon widths so labels line up on the left side */
            margin-right: 10px;
        }
    }
    
    .full-width[b-wtld7133bi] {
        grid-column: 1/-1;
    }
}

#BtnClearKeywordSearch[b-wtld7133bi] {
    font-size: 1.2em;
    position: absolute;
    top: 6px;
    right: 55px;
    color: darkgrey;
    cursor: pointer;
}

#PinnedItemsSection[b-wtld7133bi] {
    overflow: hidden;
    border-radius: 5px;

    i, label {
        color: dimgrey
    }

    .sw-pinned-item:hover[b-wtld7133bi] {
        background-color: rgba(0,0,0,0.05);
    }
}

#PinnedItemsLoading[b-wtld7133bi] {
    background-color: rgb(0,0,0,0.1);
}

#NoItemsPinned[b-wtld7133bi] {
    text-align: center; 
    color: darkgrey
}
/* /Pages/Items/ItemButtonsRow.razor.rz.scp.css */
i[b-u5dph8m4ww] {
    width: 30px;
}
/* /Pages/Items/ItemDetails.razor.rz.scp.css */
label[b-7d9e1vzu46] {
    color: var(--bs-secondary);
    font-size: small;
}
/* /Pages/Items/ItemList.razor.rz.scp.css */
#ItemListContainer[b-ep0em0rdbs] {
    position: relative;
    display: flex;
    flex-direction: row;

    /* structural */
    flex: 1 0 0;
    max-height: 100% !important;
    overflow: hidden;
}

#ItemListPanel[b-ep0em0rdbs] {
    display: flex;
    flex-direction: column;
    flex: 3 0 0;
    position: relative;
}

#ItemListContainer #ItemListPanel #ResultsContainer[b-ep0em0rdbs] {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 0 0;
}

#ItemListContainer[b-ep0em0rdbs] {
    flex-direction: column;
    height: 100dvh !important;

    #ResultsContainer {
        width: 100%;
    }
}

#ItemDetailsPanel[b-ep0em0rdbs] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    #ItemDetailsContainer {
        height: 100%;
    }

}

/* small screens */
@media screen and (max-width: 1199px) {
    #ItemDetailsPanel[b-ep0em0rdbs] {
        background-color: var(--dark-transparent);
        
        &:not(:has(.sw-details-card)) {
            display: none;
        }
    }
}

/* large screens */
@media screen and (min-width: 1200px) {
    #ItemListContainer[b-ep0em0rdbs] {
        flex-direction: row;
    }
    
    #ItemDetailsPanel[b-ep0em0rdbs] {
        position: relative;
        display: flex;
        flex-direction: column;
        flex: 2 0 0;
        overflow-y: hidden;
    }
}
/* /Pages/ItemSearches/ItemSearchEditForm.razor.rz.scp.css */
#SearchFormContainer[b-jjs1thr5lc] {
    transition: height 2s;
    
    label {
        margin: 5px 10px 0 0;   
    }
    
    .search_flag_or[b-jjs1thr5lc] {
        color: grey;
        margin: 0 5px;
        
        /* don't display the trailing label */
        &:last-child {
            display: none;
        }
    }
    
    .search_flag_row_or[b-jjs1thr5lc] {
        opacity: 75%;
        padding-top: 2px;
        margin: 0 4px;
        
        /* don't display the leading or trailing label */
        &:first-child,
        &:last-child {
            display: none;
        }
    }
    
    .search_flag_waiting[b-jjs1thr5lc] {    
        font-style: italic;
    }

    .search_flag_row[b-jjs1thr5lc] {
        --bg-color: var(--bs-light);
        --bg-color-hover: rgba(255,255,255,0.2);
        box-shadow: var(--bs-box-shadow);
        
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        
        border: 1px dashed var(--bs-secondary);
        border-radius: 2px;
        padding: 1px 3px;
        margin: 2px 3px;
        position: relative;
        cursor: pointer;
        line-height: 1;

        .search_flag {
            white-space: wrap;
            word-break: break-word;
            padding: 2px;

            &:hover {
                background-color: var(--bg-color-hover);
            }
        }
    
        &:hover:not(:has(.search_flag:hover))[b-jjs1thr5lc] {
            background-color: var(--bg-color-hover);
        }
    }
    
    #LabelFiltering[b-jjs1thr5lc] {
        font-size: 0.9em;
        color: rgb(50, 50, 50);
        margin: 5px 5px 0 1px;
    }
}



.bg-dark-subtle[b-jjs1thr5lc] {
    background-color: #373E44 !important;
}
/* /Pages/ItemTypes/ItemTypeEditDialog.razor.rz.scp.css */
#AttributesTable[b-nouwb4r7hz] {
    text-align: center;

    th {
        vertical-align: middle;
    }
    
    td[b-nouwb4r7hz] {
        cursor: pointer;
    }
    
    tr:hover td[b-nouwb4r7hz] {
        background-color: var(--bs-light);
        text-decoration: underline;
    }
}
/* /Pages/ItemTypes/ItemTypeSelectDialog.razor.rz.scp.css */
#ItemTypeSelectorContainer[b-ds4xltbde8] {
    width: 500px;
    max-width: 95%;

    .item-type-selector-header {
        background-color: #212529;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        
        a {
            color: white;
            font-size: 0.9em;
            margin: 0 4px;
        }
    }
    
    .item-type-header[b-ds4xltbde8] {
        background-color: whitesmoke;
        border: 1px solid lightgrey;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        cursor: pointer;

        i {
            margin: 4px 2px 0 0;
        }
    }

    #ItemTypeResults[b-ds4xltbde8] {
        overflow-y: scroll;
        max-height: 260px;
    }

    .item-type-class-warning[b-ds4xltbde8] {
        padding-right: 10px;
        font-style: italic;
        font-size: 0.8em;
    }
}
/* /Pages/ItemTypes/RecursiveItemTypeOption.razor.rz.scp.css */
.item-type-result[b-91xasainjl] {
    display: flex;
    font-size: 0.9em;
    background-color: white;
    border: 1px solid lightgrey;
    
    &:hover {
        background-color: whitesmoke;
        cursor: pointer;
    }
    
    .btn-item-type-collapse[b-91xasainjl] {
        color: grey;
        padding: 0 7px;
        
        &:hover {
            color: black;
        }
    }
}
