
.navbar-app-page .breadcrumb-wrapper.admin-breadcrumb-wrapper {
    overflow: visible;
}


// Adds a min height to the application wrapper so the 'About Claromentis' text is always at the bottom of the page
.admin-application-wrapper {
    min-height: 375px;
}


// Admin applications permissions info button
.btn-admin-info {
    &:focus {
        box-shadow: none;
    }
}

// Admin applications search
.admin-applications-search {
    position: relative;
}

// Admin applications search input styling
.admin-applications-search-input {
    background: $gray-200;
    color: $gray-800;
    padding-left: 35px;
    border: none;
    border-radius: 10rem;

    &:focus {
        background: $gray-200;
        box-shadow: none;
    }
}

// shared styling between search icon and reset button
.admin-applications-search-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: 0;
    line-height: 1;
    color: $gray-800;
    padding: 7px 9px;
    font-size: 18px;
    left: 0;
}
//Admin applications grid at various breakpoints
.admin-applications {
    display: grid;
    grid-template-columns: repeat(7, minmax(100px, 1fr));
    gap: 5px;

    @include media-breakpoint-only(md) {
        grid-template-columns: repeat(5, minmax(100px, 1fr));
    }

    @include media-breakpoint-only(sm) {
        grid-template-columns: repeat(4, minmax(100px, 1fr));
    }

    @include media-breakpoint-only(xs) {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
    }
}

// Admin application styling and structure
.admin-application {
    display: block;
    white-space: nowrap;
    text-align: center;
    position: relative;
    border-radius: $application-icon-border-radius;
}

.admin-application {
    // Admin application styling - link
    .app-icon-link {
        display: block;
        padding: 18px 0;
        text-decoration: none;

        // Admin application styling - icon
        .app-icon-svg, .app-icon-glyphicon {
            color: var(--theme-app-color);
            font-size: 2.4rem;
            line-height: 1;
            vertical-align: top;
        }

        // Admin application styling - text
        .app-icon-title {
            font-size: 15px;
            margin: .8rem 0 0;
            text-overflow: ellipsis;
            overflow: hidden;
            display: block;
            color: $gray-800;
        }
    }
}


// Admin application permissions dialogue dropdown placement
.admin-application .admin-application-users-dropdown {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;

    // Admin application permissions icon styling
    .admin-application-users-toggle {
        background: #fff;
        border-radius: 10rem;
        font-size: 1.4rem;
        padding: 5px;
        margin: 5px;
        display: inline-block;
        color: $gray-800;
        line-height: 0;
    }
}


// Admin application permissions dialogue dropdown placement
.admin-application:hover {
    background: $gray-100;
    .admin-application-users-dropdown {
        opacity: 1;
        visibility: visible;
    }
}



// Admin application colours when permissions are denied
.admin-application.admin-application-denied {

    // Makes all icons the equivelent of $gray-500 when permission denied
    --theme-app-color: #909fb2;

    // Admin application styling - icon
    .app-icon-svg, .app-icon-glyphicon  {
        color: $gray-400 !important;
    }

    // Admin application styling - text
    .app-icon-title {
        color: $gray-400 !important;
    }
}
