﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.scrolls {
    overflow-x: auto;
    overflow-y: auto;
    white-space: nowrap
}

span.mdc-line-ripple {
    z-index: 0;
}

body.mdc-dialog-scroll-lock {
    overflow: inherit;
}

.mdc-dialog .mdc-dialog__surface {
    max-width: 98vw;
    max-height: 98vh;
}

/* Dashed border */
hr.dashed {
    border-top: 3px dashed #bbb;
}

/* Dotted border */
hr.dotted {
    border-top: 3px dotted #bbb;
}

/* Solid border */
hr.solid {
    border-top: 3px solid #bbb;
}

/* Rounded border */
hr.rounded {
    border-top: 8px solid #bbb;
    border-radius: 5px;
}

div.disabled {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    opacity: 0.4;
}

#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;
    }

.form-control {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.datagrid-inline-grid {
    display: inline-grid;
}

/* Place over any dialogs from FluentUI, like a panel */
.mdc-dialog {
    z-index: 1000; 
}

.alt-accent {
    --accent-fill-rest: #dfd5fd;
    --accent-stroke-control-rest: #dfd5fd;
    --accent-fill-hover: #b29efc;
    --accent-stroke-control-hover: #b29efc;
    --accent-fill-active: #8f7af3;
    --accent-stroke-control-active: #8f7af3;
    --foreground-on-accent-rest: rgba(0, 0, 0, 0.87);
    --foreground-on-accent-hover: rgba(0, 0, 0, 0.87);
    --foreground-on-accent-active: rgba(0, 0, 0, 0.87);
}

.alt-accent svg, svg.alt-accent {
    --accent-fill-rest: #974ce2;
}

.stealth-on-surface {
    --neutral-fill-stealth-rest: transparent;
    --neutral-fill-stealth-hover: rgba(0,0,0,0.02);
    --neutral-fill-stealth-active: rgba(0,0,0,0.04);
}

.stop-scrolling {
    height: 100%;
    overflow: hidden;
}
