#blazor-error-ui {
    top: 0;
    bottom: auto;
}

.invite-expiration-warning {
    background-color: #fd9137 !important;
}

.invite-expiration-alert {
    background-color: #bb2d3b !important;
}

.invite-expiration-alert * {
    color: #FFF !important;
}

.invite-expired {
    text-decoration: line-through;
}

.breadcrumb-current {
    display: inline-block;
    color: #dee2e6;
}

.sidebar-brand {
    text-align: center;
}

.asset-card {
    flex: 0 1 calc(100% - 24px);
    margin: 12px;
    border-radius: 15px;
    border: 1px solid #dee2e6;
}

.asset-card-menu {
    right: 0.75rem;
    z-index: 100;
}

.component-card-menu {
    right: 0.75rem;
    z-index: 100;
}

svg g[id*='group'] {
    visibility: hidden;
}

svg *[id*='group'] {
    pointer-events: all;
    cursor: pointer;
}

svg *[id*='group'] ~ * > text {
    pointer-events: all;
    cursor: pointer;
}

svg *[id*='group'] ~ text {
    pointer-events: all;
    cursor: pointer;
}

svg *[id*='group'] > *:hover {
    fill: #28304E !important;
    opacity: .8;
    -webkit-transition: .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/*Note: Currently not supported in firefox*/
svg *[id*='group']:has(+g:hover) {
    fill: #28304E !important;
    opacity: .8;
    -webkit-transition: .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/*Note: Currently not supported in firefox*/
svg *[id*='group']:has(~text:hover) {
    fill: #28304E !important;
    opacity: .8;
    -webkit-transition: .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.svg-fill {
    fill: #28304E !important;
    opacity: .8;
    -webkit-transition: .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.asset-card > .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.asset-card > .card-body > h3:hover {
    cursor: pointer;
}

.asset-card-img {
    margin: -0.75rem -1.25rem 0 -1.25rem;
    padding-bottom: 1rem;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    object-fit: cover;
    height: 250px;
    max-width: calc(100% + 2.5rem);
    transition: transform .2s;
}

.asset-card-img:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.additional-nav-items {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.additional-nav-items li {
    display: inline-block;
    margin: 0 5px;
}

.additional-nav-items ul {
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 0;
    margin: 0;
}

.no-background-hover:hover {
    background-color: transparent !important;
}

.no-background-hover:active {
    background-color: transparent !important;
}

.no-background-hover:focus {
    background-color: transparent !important;
}

.btn-contrasting {
    background-color: #FFF;
    border-color: #8695ED;
    color: #28304E;
}

:root {
    --bs-btn-hover-bg: #FFF;
}

.action-button-text {
    display: none;
    font-style: normal;
}

.divider {
    width: 80%;
    margin: 2% auto;
}

/* These are styles that apply to child blazor components, but I could not find updated information on the ::deep css combinator*/
.component-container > .card-body > h3:hover {
    cursor: pointer;
}

.drop-file-zone-hover {
    border: 1px dashed #dee2e6;
}

.asset-search-hidden {
    display: none;
}

.asset-sort-hidden {
    display: none;
}

/* end */

@media only screen and (min-width: 768px) {
    .asset-card {
        flex: 0 1 calc(50% - 24px);
    }

    .additional-nav-items li {
        margin: 0 10px;
    }

    .asset-search, .asset-sort {
        margin: 12px 0;
    }
}

@media only screen and (min-width: 992px) {
    #components-reconnect-modal {
        width: 30%;
    }
    
    .mud-dialog-dynamic {
        max-width: 20vw;
    }
    
    .asset-card {
        flex: 0 1 calc(33% - 24px);
    }

    .action-button-text {
        display: inline-block;
    }

    .action-button-text {
        display: inline-block;
    }
    
    .additional-nav-items li {
        margin: 0 20px;
    }
}

@media only screen and (min-width: 1600px) {
    .asset-search-hidden {
        display: block;
    }

    .asset-sort-hidden {
        display: block;
    }
    
    #components-reconnect-modal {
        width: 20%;
    }
    
    .asset-card {
        flex: 0 1 calc(25% - 24px);
    }
    
    .additional-nav-items li {
        margin: 0 30px;
    }
}
