﻿@import url('./loader.css');
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

.mud-tab {
    font-weight: 800;
}

html, body {
    min-height: 100dvh; /* Look, it's not fixed anymore! */

    display: flex;
    flex-direction: column;
}

body {
    flex-grow: 1;
}

#app {
    flex-grow: 1;
}

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

.flex-newline {
    flex-basis: 100%;
    height: 0px;
}

.small-checkbox-text .mud-typography {
    font-size: small !important;
}

.mud-table-root .mud-table-head .mud-table-cell {
    font-weight: 600;
    font-size: initial;
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.scroll-table-content .mud-table .mud-table-container {
    max-height: calc(100dvh - 16rem - 5px);
    overflow-y: auto;
}

.no-link-style:link {
    background-color: transparent;
    text-decoration: none;
    color: unset;
}

.no-link-style:visited {
    background-color: transparent;
    text-decoration: none;
    color: unset;
}

.no-link-style:hover {
    background-color: transparent;
    text-decoration: underline;
    color: unset;
}

.no-link-style:active {
    background-color: transparent;
    text-decoration: underline;
    color: unset;
}

.trivo-maincontent {
    min-height: calc(100dvh - 70px);
}

.trivo-footer {
    background-color: #ffffff;
    color: #656565;
    height: 60px;
}

.trivo-mud-app-bar {
    background-color: #ffffff;
    color: #656565;
}

.mainlayout-header-logo span {
    font-weight: 600;
    font-size: 1.5rem;
}

@media print {
    @page {
        margin: 0;
        margin-right: 0;
        margin-bottom: 0;
    }

    .mud-main-content {
        padding-top: 0;
    }

    .no-media-print {
        display: none !important;
    }
}
