﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
html, body, app, .k-drawer-container, .k-drawer-content, .main {
    width: 100%;
    height: 100%;
    max-height: 100%;
}

app {
    display: flex;
    flex-direction: column;
}

/* vertical scroll should happen in the main portion of the content - where the Body is
    This keeps the header sticky at the top
    */
.main {
    overflow-y: auto;
    height: 100%;
}

.drawer-expand-height {
    height: calc(100vh - 78px);
}

/* horizontal scroll happens in the drawer content to keep the drawer on the left side of the screen */
.k-drawer-content {
    flex:1;
    overflow-x: auto;
    margin: 10px;
}



/* RIGHT ALIGN GRID COLUMN HEADERS */

/* non-sortable headers */
.k-grid th.align-right {
    text-align: right;
}

/* sortable headers */
th.align-right .k-cell-inner > .k-link {
    justify-content: right;
}

/* unbound and non-filterable columns */
.k-grid-header th.align-right.right-padding {
    padding-right: 12px;
}

    /* filterable grid, sortable non-filterable columns */
    .k-grid-header th.align-right.right-padding > .k-cell-inner {
        margin-right: 0;
    }

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* for centered content */
.large-notification-center .k-notification,
/* for top content */
.large-notification-top .k-notification-content {
    width: 300px;
    height: 100px;
}

.fs-svg-i-activity {
    background-image: url(/icons/Activity.svg);
    background-repeat: no-repeat;
    background-position: center, center; 
}

.fs-svg-i-cube-dimensions {
    background-image: url(/icons/CubeDimension.svg);
    background-repeat: no-repeat;
    background-position: center, center;
    flex-shrink: 0;
}

.fs-svg-i-execute-ddl {
    background-image: url(/icons/ExecuteDDL.svg);
    background-repeat: no-repeat;
    background-position: center, center;
    flex-shrink: 0;
}

.fs-svg-i-bi {
    background-image: url(/icons/BI.svg);
    background-repeat: no-repeat;
    background-position: center, center;
    flex-shrink: 0;
}

.fs-svg-i-browse-data {
    background-image: url(/icons/BrowseData.svg);
    background-repeat: no-repeat;
    background-position: center, center;
    flex-shrink: 0;
}
