﻿@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body, #app {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100vh !important;
    overflow: hidden !important;
}

#app {
    background-color: inherit;
    color: var(--bs-body-color);
}

#notfound{
    background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='20' height='30' patternTransform='scale(2) rotate(45)'><rect x='0' y='0' width='100%' height='100%' fill='hsla(220, 0%, 100%, 1)'/><path d='M0 10h20z'   stroke-width='14' stroke='hsla(220, 14%, 96%, 1)' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>");
    height: 100%;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: white;
    border: 2px solid var(--bs-danger);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 20%;
    right: 20%;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 60%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.splash-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    height: 100vh;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", "-apple-system", BlinkMacSystemFont, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: .88rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.splash-screen .spinner-border {
    border: .2em solid;
    border-color: var(--bs-primary) var(--bs-secondary) var(--bs-tertiary) #bfbfbf;
    width: 120px;
    height: 120px;
}

.splash-screen-caption {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.splash-screen-text {
    color: #a1a1a1;
    margin-top: .5rem;
}

#nav-menu{
    width: 100%;
    height: 100%;
    border-right: 1px solid rgba(34,34,34,.125);
}

#logo {
    height: 3.5rem;
    width: 100%;
    background-image: url("../images/4Planning2.png");
    background-color: black;
    -ms-background-position: center;
    background-position: center;
    -ms-background-size: 4rem;
    background-size: 4rem;
    -ms-background-repeat: no-repeat;
    background-repeat: no-repeat;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(34,34,34,.125);
}

#header {
    -o-flex-grow: 0;
    -webkit-flex-grow: 0;
    flex-grow: 0;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    background-color: inherit;
    -ms-border-radius: 0;
    border-radius: 0;
    height: 3.5rem;
    min-height: 3.5rem;
    -o-justify-content: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    cursor: default;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(34,34,34,.125);
}

#title {
    -o-flex-grow: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    font-size: 1.2rem;
    text-overflow: ellipsis;
    overflow: hidden;
}

#header-controls img{
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    margin: 0 0.5rem 0 0.5rem;
}

.dxbs-menu .dx-menu-item>dxbl-menu-item>a>.dx-menu-item-image{
    color: var(--bs-primary);
}

.table{
    color: var(--bs-body-color);
}

p{
    color: var(--bs-body-color);
}


.card{
    border: none !important;
}

.inspector{
    border-left: 1px solid rgba(34,34,34,.125) !important;
}
/* BUG: placing the next 3 rules into a library doesnt work */

.fi-grid {
    min-height: 100% !important;
    height: 100% !important;
}

.fi-grid tr {
    overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
}

.fi-modal {
    overflow:hidden;
}

