h1.page-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

a {
    color: rgb(59, 130, 246);
    text-decoration: none;
}

a:active {
    color: #3680c5;
}

a:hover {
    color: #3680c5;
}

ul {
    padding-left: 40px;
}

/*p {
    margin-block: 1rem  0;
}*/

img {
    max-width: 100%;
}



/* General */
[v-cloak] {
    display: none;
}

.hidden {
    display: none!important;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

div.default-container {
    background-color: #fff;
    padding: 2rem;
    margin: 1rem 0;

    border-radius: 0.375rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-md {
    box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.rounded-md {
    border-radius: 0.375rem;
}

.bg-white {
    background-color: #fff;
}

div.notice, div.error, div.success, div.info {
    background-color: #fff;
    padding: 1rem;
    margin: 1rem 0;

    border-radius: 0.375rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);

    border-left: 4px solid gray;
}

div.notice {
    border-color: orange;
}

div.error {
    border-color: red;
}

div.success {
    border-color: green;
}

div.info {
    border-color: #00427f;
}

.inline-form label, .inline-form input, .inline-form select, .inline-form button, .inline-form .btn {
    display: inline-block;
}

@media screen and  (max-width: 1000px) {
    .inline-form label, .inline-form input, .inline-form select, .inline-form button, .inline-form .btn {
        display: block;
        width: 100%;
        margin: 0.75rem 0;
    }
}

.block-form label, .block-form input, .block-form select, .block-form textarea, .block-form button, .block-form .btn {
    display: block;
    width: 100%;
}

.block-form input[type="checkbox"], .block-form input[type="radio"] {
    display: inline-block;
    width: auto;
}

.block-form label {
    margin-top: 0.75rem;
    margin-bottom: 0.1rem;
}

.block-form label:first-child {
    margin-top: 0;
}

@media screen and  (max-width: 1000px) {
    .desktop-only {
        display: none !important;
    }
}

.block-form .form-row {
    display: flex;
    margin-top: 0.75rem;
    margin-bottom: 0.1rem;
}

.block-form .form-row div {
    padding-right: 0.5rem;
    flex-grow: 1;
}

.block-form .form-row div:last-child {
    padding-right: 0;
    padding-left: 0.5rem;
}

@media screen and  (max-width: 1000px) {
    .block-form .form-row {
        flex-direction: column;
    }

    .block-form .form-row div:first-child, .block-form .form-row div:last-child {
        width: 100%;
        padding: 0;
    }

    .block-form .form-row div {
        margin-top: 0.75rem;
        margin-bottom: 0.1rem;
    }
}

/* Input */
.btn {
    display: inline-block;
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
    background-color: #000;
    padding: 0.6rem 1.5rem;
    text-align: center;
    margin: 0.2rem 0;
    cursor: pointer;
    border: 1px solid black;
    border-radius: 0.375rem;
}

.btn.btn-primary {
    color: #fff;
    background-color: #00427f;
    border-color: #00427f;
}

.btn.btn-primary:hover {
    background-color: #3680c5;
    border-color: #3680c5;
}

.btn.btn-secondary {
    color: #fff;
    background-color: #252525;
    border-color: #252525;
}

.btn.btn-secondary:hover {
    background-color: #404040;
    border-color: #404040;
}

.btn.btn-red {
    color: #fff;
    background-color: red;
    border-color: red;
}

.btn.btn-red:hover {
    color: #fff;
    background-color: #ff3737;
    border-color: #ff3737;
}

.btn:disabled, .btn.disabled {
    background-color: #aaa!important;
    border-color: #aaa!important;
    cursor: default;
}

.btn.btn-block {
    width: 100%;
}

input, textarea, select {
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    display: inline-block;
    padding: 0.6rem;
    margin: 0.2rem 0;
    border: 1px solid #ddd;
    border-radius: 0.375rem;
}

textarea {
    resize: none;
}

input:read-only:hover {
    cursor: default;
}

input:read-only:focus {
    outline: none;
}

/* Tables */
div.data-table {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0 #0000,0 0 #0000, 0 1px 3px 0 rgba(0, 0, 0, 0.1),0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin: 1rem 0;
    overflow-x: auto;
}

div.data-table table {
    line-height: 1.5;
    min-width: 100%;
    border-collapse: collapse;
    text-indent: 0;
    border-color: inherit;
    text-align: center;
}

div.data-table table thead tr th {
    background-color: rgb(249,250,251);
    border-color: rgb(229,231,235);
    border-style: solid;
    border-width: 0;
    border-bottom-width: 2px;
    padding: 0.75rem 1.25rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: .75rem;
    line-height: 1rem;
}

div.data-table table tbody tr td {
    padding: 1.25rem;
    font-size: .875rem;
    line-height: 1.25rem;
    background-color: #fff;
    border-style: solid;
    border-color: rgb(229,231,235);
    border-width: 0;
    border-bottom-width: 1px;
}

/* Tags */
span.tag {
    line-height: 1.25;
    font-weight: 600;
    padding: 0.25rem  0.75rem;
    display: inline-block;
    border-radius: 1rem;
    margin: 0.25rem;
}

span.tag.tag-green {
    color: #064e3b;
    background-color: #d3f9e8;
}

span.tag.tag-red {
    color: #a81d1d;
    background-color: #ffe5e5;
}

span.tag.tag-blue {
    color: #1e3a8a;
    background-color: #dfedff;
}

span.tag.tag-yellow {
    color: #78350f;
    background-color: #fef3c5;
}



/* Tabs */
div.tab-bar {
    display: flex;
}

div.tab-bar > div {
    padding: 1rem;
    background-color: #fff;
    cursor: pointer;
    border-bottom: 3px solid #ddd;
}

div.tab-bar > div.active {
    font-weight: bold;
    border-bottom-color: #00427f;
}


/* Appbar */

#app-bar {
    display: none;
}

@media (max-width: 1000px) {
    #app-bar {
        display: flex;
        height: 3rem;
        line-height: 3rem;
        background-color: #00427f;
        color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    #app-bar-left {
        width: 3rem;
        height: 3rem;
        text-align: center;
    }

    #app-bar-left a {
        color: #fff;
    }

    #app-bar-middle {
        padding: 0 1rem;
        flex-grow: 1;
        white-space: nowrap;
        overflow-x: auto;
    }

    #app-bar-right {
        width: 3rem;
        height: 3rem;
        text-align: center;
    }
}

/* Sidebar */

#side-bar {
    width: 16rem;
    background-color: #fff;
    border: 1px solid rgb(229, 231, 235);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;

    padding: 2rem 1rem;

    display: flex;
    flex-direction: column;

    overflow-y: auto;
}

@media (max-width: 1000px) {
    #side-bar {
        display: none;
        top: 3rem;
        left: auto;
        right: 0;
    }

    #side-bar.active {
        display: flex;
    }
}

#side-bar h2 {
    font-weight: 600;
    font-size: 1.875rem;
    line-height: 2.25rem;
    margin: 0;
    text-align: center;
}

#side-bar nav {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
}

#side-bar nav a {
    color: rgb(75,85,99);
    transition-duration: 0.2s;
    transition-property: background-color,border-color,color,fill,stroke;
    transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    margin-top: 1.25rem;
    text-decoration: none;
}

#side-bar nav a span {
    font-weight: bold;
    margin-left: 1rem;
}

#side-bar nav a:hover, #side-bar nav a.active {
    background-color: rgb(229,231,235);
}

#side-bar nav hr {
    border-width: 0;
    border-style: solid;
    border-top-width: 1px;
    border-color: rgb(229, 231, 235);
    height: 0;
    color: inherit;
    margin: 1.5rem 0;
}

/* Markdown */
.markdown > h1 {
    margin: 2rem 0 1rem 0;
}

.markdown > h2, .markdown > h3, .markdown > h4, .markdown > h5, .markdown > h6 {
    margin: 1rem 0 0.5rem 0;
}

.markdown > *:first-child {
    margin-top: 0;
}

.full-width {
    width: 100%;
}

.stack {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.stack > * {
    margin: auto;
}

.stack.row > * {
    margin: auto 0.5rem;
}

.stack.row {
    flex-direction: row;
}

.stack.row > :first-child {
    margin-left: 0;
}

.stack.row > :last-child {
    margin-right: 0;
}

.stack.col {
    flex-direction: column;
}

.stack.col > * {
    margin: 0.5rem auto;
}

.stack.col > :first-child {
    margin-top: 0;
}

.stack.col > :last-child {
    margin-bottom: 0;
}
