@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html {
    --grid-top-margin: 280px;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.content {
    padding-top: 1.1rem;
    height: calc(100% - 3.5rem);
}

.table .bg-primary {
    background-color: #4e6d9c !important;
}

.dx-data-grid {
    display: flex;
    flex-direction: column;
    height: calc(100% - 5rem);
}

.dx-data-grid > .card {
    display: flex;
    height: 100%;
}

.dx-data-grid > .card > .dxbs-grid-vsd {
    flex: 1 1 auto;
    height: 100%;
}

.dx-data-grid > .card > div:not(.dxbs-grid-vsd) {
    flex: 1 0 auto;
}


.dx-data-grid .dxgvCSD {
    height: calc(100vh - var(--grid-top-margin)) !important;
}

.dx-data-grid thead {
    background-color: #2f415e;
    color: whitesmoke;
}

.dx-data-grid thead a {
    font-weight: normal;
}

.dxbl-checkbox {
    color: #4e6d9c;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }

input::-ms-reveal,
input::-ms-clear {
    display: none;
}

.toast-bottom-right-custom {
    bottom: 20px;
    right: 20px
}

.toaster-wide {
    width: 380px !important;
}

.tooltip-inner {
    white-space: pre-line;
}