﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.navbar {
    padding: 12px;
}

.fixed-header-padding {
    margin-top: 76px;
}

main {
    margin-bottom: 12px;
}

.card {
    margin-bottom: 12px;
    background-color: #f8f9fa;
}

    .card .form-group:last-child {
        margin-bottom: 0;
    }

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.8rem;
}

.k-grid table {
    table-layout: fixed;
}

/* Kendo Grid Button */
.k-grid a {
    color: var(--bs-btn-color);
}

/* Kendo Filter Icon weiter rechts */
.k-grid .k-cell-inner .k-grid-filter {
    padding-left: 0;
    padding-right: 0;
    margin-right: 0;
    margin-left: 0;
    opacity: 0.3;
}

/* Disabled Kendo Control */
.k-input-inner.disabled {
    background-color: #e9ecef;
}

.validation-summary-errors ul {
    list-style-type: none;
    padding: 0;
}

input.input-validation-error {
    border-color: var(--bs-danger) !important;
}

    input.input-validation-error:focus {
        border-color: var(--bs-danger) !important;
        box-shadow: 0 0 0 0.2rem rgba(220,53,69,0.25) !important;
    }

.table th {
    font-size: 1rem;
    font-weight: normal;
    padding: 8px;
    background: #f8f9fa;
    vertical-align: middle;
}

.table td {
    padding: 8px;
    width: auto;
    vertical-align: middle;
}

    .table td.min, .table th.min {
        width: 1%;
        white-space: nowrap;
    }

.form-group {
    margin-bottom: 12px;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}

[data-bs-toggle='collapse'][aria-expanded='true']::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0d8";
    margin-right: 12px;
}

[data-bs-toggle='collapse'][aria-expanded='false']::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0d7";
    margin-right: 12px;
}

.btn[aria-expanded='true'] {
    border-width: 2px;
}

/* make overlay scrolling resistent */
.k-loading-mask {
    position: fixed !important;
}