@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:wght@300;400;600;700:300,400,600,700");
@import url("https://fonts.googleapis.com/css2?family=Merriweather");

@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded");
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --font-family: Source Sans Pro, "Helvetica Neue", sans-serif;
    --primary-color: #b6e6fc;
    --secondary-color: #ffd500;
    --primary-500: #1276d3;
    --gray-200: #f8f8f8;
    --gray-400: #bdbdbd;
    --surface-100: #f0f0f2;
    --blue-label-text: #022ef7
}

/* minor CSS reset */
body, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

html, body, #app {
    height: 100%;
}

/* Typography */
h1 {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 6rem;
    font-style: normal;
    letter-spacing: -0.09375rem;
    text-transform: none;
    line-height: 7rem;
}

h2 {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 3.75rem;
    font-style: normal;
    letter-spacing: -0.03125rem;
    text-transform: none;
    line-height: 4.4375rem;
}

h3 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 3rem;
    font-style: normal;
    letter-spacing: 0;
    text-transform: none;
    line-height: 3.5625rem;
}

h4 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 2.125rem;
    font-style: normal;
    letter-spacing: 0.015625rem;
    text-transform: none;
    line-height: 2.5rem;
}

h5 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.5rem;
    font-style: normal;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.75rem;
}

h6 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1.25rem;
    font-style: normal;
    letter-spacing: 0.009375rem;
    text-transform: none;
    line-height: 1.5rem;
}

.typography__body-1 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1rem;
    font-style: normal;
    letter-spacing: 0.03125rem;
    text-transform: none;
    line-height: 1.75rem;
}

.typography__body-2 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 0.875rem;
    font-style: normal;
    letter-spacing: 0.015625rem;
    text-transform: none;
    line-height: 1.25rem;
}

.typography__subtitle-1 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1rem;
    font-style: normal;
    letter-spacing: 0.009375rem;
    text-transform: none;
    line-height: 1.5rem;
}

.typography__subtitle-2 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.875rem;
    font-style: normal;
    letter-spacing: 0.00625rem;
    text-transform: none;
    line-height: 1.5rem;
}

.typography__caption {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 0.75rem;
    font-style: normal;
    letter-spacing: 0.025rem;
    text-transform: none;
    line-height: 1rem;
}

.typography__overline {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 0.625rem;
    font-style: normal;
    letter-spacing: 0.09375rem;
    text-transform: uppercase;
    line-height: 1rem;
}

/* align icons in their containers */
.material-icons, .material-symbols-outlined {
    vertical-align: middle;
}

/* customize modal form */
.my-custom-modal-class {
    padding: 0 !important;
}

#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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIg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jAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.blazored-toast {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 50%;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

/* Shared pages common styles goes here */
.row-layout {
    display: flex;
}

.column-layout {
    display: flex;
    flex-direction: column;
}

.pageview-container {
    justify-content: flex-start;
    align-items: stretch;
    align-content: flex-start;
}

    .pageview-container .tool-bar {
        background-color: var(--primary-color);
        justify-content: flex-start;
        align-items: center;
        align-content: flex-start;
        position: relative;
        min-height: 50px;
        flex-shrink: 0;
    }

        .pageview-container .tool-bar .h5 {
            margin: 8px;          
            min-width: min-content;
        }

        .pageview-container .tool-bar .tool-bar-right {
            flex-wrap: wrap;
            justify-content: flex-end;
            align-items: center;
            align-content: flex-start;
            position: relative;
            min-height: 50px;
            flex-grow: 1;
            flex-basis: 0;
        }

        .pageview-container .tool-bar .tool-bar-right-buttons {
            flex-wrap: wrap;
            justify-content: flex-start;
            align-items: center;
            align-content: stretch;
            gap: 8px;
            position: relative;
            margin: 0 8px;
            padding: 4px 0;
            min-width: 50px;
            min-height: 50px;
        }

    .pageview-container .row-layout-search {
        justify-content: flex-start;
        align-items: stretch;
        align-content: flex-start;
        position: relative;
        margin: 8px;
        min-width: 50px;
        min-height: 50px;
    }

    .pageview-container .grid-content {
        justify-content: flex-start;
        align-items: stretch;
        align-content: flex-start;
        position: relative;
        padding: 0 8px 8px;
        flex-grow: 1;
        flex-basis: 0;
        min-width: 1033px;
    }

        .pageview-container .grid-content .grid-toolbar {
            background-color: var(--gray-200);
            border-color: var(--gray-400);
            border-width: 1px;
            border-style: solid;
            border-radius: 0.25rem 0.25rem 0 0;
            justify-content: flex-start;
            align-items: center;
            align-content: flex-start;
            position: relative;
            min-width: 50px;
            min-height: 50px;
            flex-shrink: 0;
        }

        /* set predefined grid height */
        .pageview-container .grid-content .grid-row-layout {
            justify-content: flex-start;
            align-items: stretch;
            align-content: flex-start;
            position: relative;
            flex-grow: 1;
            flex-basis: 0;
            border-color: rgba(0, 0, 0, 0.08) !important;
            border-width: 0 1px 1px 1px;
            border-style: solid;
            height: calc(100vh - 254px);
        }

        .pageview-container .grid-content .grid-toolbar-right {
            justify-content: flex-start;
            align-items: stretch;
            align-content: flex-start;
            position: relative;
            min-width: 50px;
            min-height: 50px;
            flex-shrink: 0;
        }

        .pageview-container .grid-content .grid-toolbar-left {
            justify-content: flex-end;
            align-items: center;
            align-content: flex-start;
            position: relative;
            min-width: 50px;
            min-height: 50px;
            flex-grow: 1;
            flex-basis: 0;
        }

        .pageview-container .grid-content .grid-toolbar-right-headercontent {
            margin: 8px;
            height: max-content;
            min-width: min-content;
        }

        .pageview-container .grid-content .grid-toolbar-left-actions {
            justify-content: flex-end;
            align-items: center;
            align-content: flex-start;
            gap: 8px;
            position: relative;
            padding: 0 16px;
            min-width: 50px;
            min-height: 50px;
        }

        .pageview-container .grid-content .grid-row-layout-grid {
            min-width: 500px;
            min-height: 400px;
            flex-grow: 1;
            flex-basis: 0;
        }

/* set dialog window button same width */
.dialog-button {
    width: 100px;
}

/* set label text */
.label-text {
    color: var(--blue-label-text);
}

/* header avatar and button settings */
.signout-button {
    flex-grow: 1;
    justify-content: flex-start;
}

    .signout-button .k-button-text {
        color: darkred;
    }

.help-button {
    padding: 6px;
}

.k-avatar-text, .k-avatar-initials {
    font-size: 16px;
}

/* hamburger menu on header */
.k-button.btn-menu {
    margin-right: 8px;
}

/* Add following styles to match with blazored modal window */
/* hide dialog header*/
.k-custom-dialog .k-window-titlebar {
    display: none;
}

/* add padding to dialog content */
.k-custom-dialog .k-dialog-content {
    padding-bottom: 16px;
}

/* remove border and add spaces to dialog action element */
.k-custom-dialog .k-dialog-actions {
    border: 0;
    padding: 16px 8px;
}

.alert-danger {
    background-color: #bb6a7b;
    border-color: #bb6a7b;
    color: white;
    padding: .5rem 1.5rem;
}
.sticky-right{
    right:0;
    transform:none;
}