﻿@import url(libs/aspnet-client-validation/aspnet-validation.css);

*, *::before, *::after {
    box-sizing: inherit;
}

* {
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
    font-size: 16px;
    width: 100%;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    width: 100%;
    min-height: 100vh;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
}

button {
    cursor: pointer;
    padding: .5rem .75rem;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

ul, ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

ul { list-style: disc; }
ol { list-style: decimal; }
li { margin: 0.25rem 0; }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

table.table {
    width: auto;
}

table.table td, table.table th {
    padding: .25rem .375rem;
    border: 1px solid #444;
    text-align: left;
}

table.table thead {
    background-color: #222;
    color: #eee;
}

table.table thead {
    position: sticky;
    top: 0;
    z-index: 10000;
}

table.table tbody tr:nth-child(even){
    background-color: #ddd;
}

    table.table tbody td {
        vertical-align: top;
    }

.form-group {
    margin: .75rem 0;
}

.form-group:not(.form-check) label {
    display: block;
}

.form-group input:not([type=checkbox]) {
    display: block;
    width: 100%;
    padding: .375rem .5rem;
}

.form-group button, a.btn {
    display: inline-block;
    padding: .375rem .5rem;
}

body {
    display: flex;
    flex-direction: column;
}

#header {
    grid-area: header;
    background-color: #222;
    color: #fff;
    padding: .75rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#header a {
    color: #fff;
    text-decoration: none;
}

#header a.brand {
    font-size: 1.4rem;
    font-weight: 600;
}

    #header a:hover {
        text-decoration: underline;
    }

#navigation {
    grid-area: navigation;
}

#body {
    grid-area: body;
    padding: 1rem;
}

#footer {
    grid-area: footer;
}

dl {
    display: grid;
    grid-template-columns: auto 1fr;
}

dt {
    font-weight: 600;
    text-align: right;
    padding-right: .5rem;
}

dt::after {
    content: ': ';
}

@media (min-width: 768px){
    body {
        display: grid;
        grid-template-rows: auto 1fr auto;
        grid-template-columns: 200px 1fr;
        grid-template-areas: 'header header' 'navigation body' 'footer footer';
    }
}