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

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

.mdc-dialog .mdc-dialog__surface {
    max-width: none !important;
}

.logs {
    font-family: "Fira Code", monospace;
}

/* report markdown */
.report table, .report th, .report td {
    border: 1px solid #ddd;
    border-collapse: collapse;
    padding: 5px 10px 5px 10px;
}
.report tr:nth-child(even) {
    background-color: #fafafa;
}
.report thead tr {
    background-color: #ddd;
}
.report code {
    color: #000000;
    font-family: "Fira Code", monospace;
    font-size: 0.8em;
}

/* report html */
/* https://codepen.io/ogxd/pen/vYzxZgm?editors=1100 */
.report > details details {
    margin-left: 15px;
    position: relative;
}
.report > details details::after {
    content: "";
    position: absolute;
    top: -5px;
    left: -10px;
    width: 1px;
    height: calc(28px + 10px);
    background-color: #c7d3df;
}
.report > details details:last-child::after {
    height: calc(28px / 2 + 5px);
}
.report > details details::before {
    content: "";
    position: absolute;
    top: calc(28px / 2);
    left: -10px;
    width: 10px;
    height: 1px;
    background-color: #c7d3df;
}
.report > details details[open]:not(:last-child)::after {
    height: calc(100% + 5px);
}
.report summary {
    margin: 5px 0px 0px 0px;
    padding: 5px 5px 5px 12px;
    background-color: #ece9f7;
    border: 0px solid #c7d3df;
    border-radius: 3px;
    color: #545f69;
    position: relative;
}
.report ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.report div {
    float: right;
}
.report li {
    list-style-type: none;
    margin: 5px 0;
    padding: 5px 5px 5px 25px;
    background-color: #f4f2fb;
    border: 0px solid #c7d3df;
    border-radius: 3px;
    color: #545f69;
    position: relative;
}
.report details > ul > li {
    margin: 5px 0;
    padding: 5px 5px 5px 25px;
    background-color: #f4f2fb;
    border: 0px solid #c7d3df;
    border-radius: 3px;
    color: #545f69;
    position: relative;
    margin-left: 15px;
    position: relative;
}
.report details > ul > li::after {
    content: "";
    position: absolute;
    top: -5px;
    left: -10px;
    width: 1px;
    height: calc(28px + 10px);
    background-color: #c7d3df;
}
.report details > ul > li:last-child::after {
    height: calc(28px / 2 + 5px);
}
.report details > ul > li::before {
    content: "";
    position: absolute;
    top: calc(28px / 2);
    left: -10px;
    width: 10px;
    height: 1px;
    background-color: #c7d3df;
}
.report details > ul > li[open]:not(:last-child)::after {
    height: calc(100% + 5px);
}
.report .chip > * {
    margin-right: 4px;
    color: #757373;
    vertical-align: middle;
}
.report .chip {
    /*transition: all 0.3s ease-in-out;*/
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #d3d2d2;
    align-items: end;
    /*min-width: 100px;*/
    padding: 2px 0px 2px 6px;
    margin-right: 2px;
    font-family: "Fira Code", monospace;
    font-size: 0.8em;
}

.report .material-icons {
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.report h1, h2, h3, h4, h5, h6 {
    line-height: 2;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row ::deep a, .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
}

.top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
