﻿@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: Roboto;
    font-size: 100%;
    margin: 0;
    padding: 0;
    background: #1a1a1a;
}

#header {
    width: 75em;
    height: 7em;
    background: white;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0.5em 0.5em -0.5em rgba(0, 0, 0, 0.5);
}

    #header h1 {
        font-family: 'Abril Fatface';
        font-size: 3em;
        font-weight: 400;
        padding-top: 0.25em;
        margin: 0;
    }

        #header h1 a {
            color: #256c06;
            float: left;
            display: block;
            padding: 0;
            margin: 0 0.5em;
            line-height: 1.5em;
            border-bottom: 2px solid rgba(37, 108, 6, 0);
        }

            #header h1 a:hover {
                color: #42c10b;
                border-color: #42c10b;
                text-decoration: none;
                transition: all ease 0.5s;
            }

    #header #menu {
        margin: 0;
    }

#menu li {
    float: left;
}

#menu a {
    display: block;
    font-family: 'Roboto Condensed';
    font-weight: 600;
    font-size: 1.25em;
    color: black;
    line-height: 2em;
    padding: 0;
    margin: 1em 0 0 1em;
    border-bottom: 2px solid rgba(0, 0, 0, 0);
}

#menu li.selected a {
    border-color: black;
}

#menu a:hover {
    text-decoration: none;
    color: #42c10b;
    border-color: #42c10b;
    transition: all ease 0.5s;
}

#menu li.selected a:hover {
    border-color: #42c10b;
    transition: all ease 0.5s;
}


#logindisplay {
    font-family: 'Roboto Condensed';
    font-weight: normal;
    position: absolute;
    right: 0.5em;
    top: 0.5em;
}

    #logindisplay a {
        display: block;
        color: black;
        padding: 0.5em;
        text-align: center;
    }

        #logindisplay a:hover {
            text-decoration: none;
            color: #42c10b;
        }

    #logindisplay img {
        width: 3.333em;
        height: 3.333em;
        border-radius: 50%;
        display: block;
        margin: 0 auto 0.25em auto;
    }

#page {
    width: 75em;
    background: white;
    margin: 0 auto 2em auto;
    padding: 2em;
    border-radius: 0 0 1em 1em;
}

.breadcrumbs {
    font-size: 1em;
    font-weight: 400;
    color: #b3b3b3;
    margin-bottom: 3em;
}

    .breadcrumbs a {
        color: #b3b3b3;
    }

        .breadcrumbs a:hover {
            color: #4173cc;
            text-decoration: underline;
        }

    .breadcrumbs .lastitem {
        font-family: 'Roboto Condensed';
        display: block;
        font-weight: 600;
        font-size: 2em;
        color: black;
    }

.pageheader .navigation {
    display: block;
    width: 6.5em;
    height: 3em;
    margin: 0 0.5em 0 0;
    float: left;
    position: relative;
}

    .pageheader .navigation a {
        display: block;
        line-height: 3em;
        width: 3em;
        background: #256c06;
        color: white;
        margin-right: 0.5em;
        text-align: center;
        position: absolute;
        top: 0;
        left: 0;
    }

        .pageheader .navigation a:last-child {
            left: 3.5em;
        }

        .pageheader .navigation a:hover {
            background: #42c10b;
            text-decoration: none;
            transition: all ease 0.5s;
        }

        .pageheader .navigation a .label {
            display: none;
        }

    .pageheader .navigation .fa {
        font-size: 1.25em;
    }

.pageactions {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    column-gap: 1em;
    row-gap: 1em;
    margin-top: 1em;
}

    .pageactions a {
        display: flex;
        background: #256c06;
        color: white;
        padding: 0.375em 0.5em 0.5em 0.5em;
        font-family: 'Roboto Condensed';
        font-size: 0.875em;
        text-align: left;
        min-height: 5em;
        position: relative;
        align-items: flex-end;
    }

        .pageactions a:hover {
            background: #42c10b;
            color: white;
            text-decoration: none;
            transition: all ease 0.5s;
        }

    .pageactions li .fa {
        font-size: 1.5em;
        display: block;
        margin: 0 0 0.25em 0;
        position: absolute;
        top: 0.375em;
        left: 0.25em;
    }

    .pageactions.group {
        display: block;
        margin-top: 1.5em;
    }

        .pageactions.group ul {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            column-gap: 1em;
            row-gap: 1em;
            margin-top: 0.5em;
        }

        .pageactions.group .label {
            font-family: 'Roboto Condensed';
            font-weight: 600;
        }

        .pageactions.group a {
            min-height: auto;
            line-height: 2.5em;
        }

        .pageactions.group li .fa {
            font-size: 1.25em;
            display: initial;
            margin-right: 0.25em;
            position: initial;
        }

ul.calendarmonth {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    column-gap: 1em;
    row-gap: 1em;
}

    ul.calendarmonth li {
        display: block;
        position: relative;
        background: #f2f2f2;
        padding: 0.375em 0.5em 0.5em 0.5em;
        height: 5em;
    }

    ul.calendarmonth.weekdaynames {
        margin: 2em 0 0.125em 0;
    }

        ul.calendarmonth.weekdaynames li {
            font-weight: 600;
            padding: 1em 0.5em 0 0.5em;
            height: auto;
            text-align: center;
            background: none;
        }

    ul.calendarmonth li.outofrange {
        background: none;
    }

        ul.calendarmonth li.outofrange * {
            display: none;
        }

    ul.calendarmonth li.emphasis {
        background: #d9d9d9;
    }

    ul.calendarmonth li span {
        display: block;
    }

    ul.calendarmonth li .special {
        color: #d81616;
    }

    ul.calendarmonth li .name {
        font-family: 'Roboto Condensed';
        font-size: 0.875em;
        font-weight: 600;
    }

    ul.calendarmonth li .sum {
        font-size: 0.75em;
        position: absolute;
        bottom: 2em;
    }

    ul.calendarmonth li .add {
        font-size: 0.75em;
        position: absolute;
        bottom: 0.5em;
    }

    ul.calendarmonth li .expected {
        font-size: 0.86em;
        position: absolute;
        bottom: 2em;
    }

    ul.calendarmonth li a {
        color: #666666;
        text-decoration: none;
    }

        ul.calendarmonth li a:hover {
            color: #4880e3;
            text-decoration: underline;
        }

ul.usercards {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    column-gap: 1em;
    row-gap: 1em;
}

    ul.usercards li {
        background: #f2f2f2;
        position: relative;
        padding: 0.5em;
        grid-column-start: 1;
        grid-column-end: 5;
        height: 3em;
        border-radius: 1.5em;
    }

    ul.usercards img.gravatar {
        width: 2em;
        height: 2em;
        border-radius: 50%;
        margin: 0;
    }

    ul.usercards li .name, ul.usercards li .data {
        position: absolute;
        top: 0em;
    }

    ul.usercards li .name {
        font-family: 'Roboto Condensed';
        font-size: 0.875em;
        font-weight: 600;
        left: 3.429em;
        line-height: 3.429em;
    }

    ul.usercards li .data {
        font-size: 0.75em;
        left: 42em;
        line-height: 4em;
    }

    ul.usercards li a {
        width: 2em;
        height: 2em;
        border-radius: 50%;
        position: absolute;
        right: 0.5em;
        top: 0.5em;
        color: #256c06;
        text-align: center;
        line-height: 2em;
    }

        ul.usercards li a:hover {
            color: #256c06;
            background: #d9d9d9;
            text-decoration: none;
            transition: all ease 0.5s;
        }

    ul.usercards li.action {
        background: yellow;
        height: 3em;
        padding: 0;
    }

        ul.usercards li.action a {
            display: block;
            background: #f2f2f2;
            position: initial;
            width: 100%;
            height: 100%;
            line-height: 3.429em;
            border-radius: 1.714em;
            font-family: 'Roboto Condensed';
            font-size: 0.875em;
            font-weight: 600;
            text-align: left;
            padding-left: 3.429em;
        }

            ul.usercards li.action a:hover {
                color: #256c06;
                background: #d9d9d9;
                text-decoration: none;
                transition: all ease 0.5s;
            }

ul.projectcards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1em;
    row-gap: 1em;
}

    ul.projectcards li {
        background: #f2f2f2;
        position: relative;
        padding: 0em;
    }

    ul.projectcards .location {
        font-size: 0.75em;
        color: #808080;
    }

    ul.projectcards .title {
        font-weight: 600;
    }

    ul.projectcards .option {
        font-size: 0.75em;
        position: absolute;
        display: block;
        bottom: 0.875em;
        padding: 0 0.5em;
        background: #d9d9d9;
        color: #b3b3b3;
        line-height: 1.5em;
        border-radius: 0.75em;
    }

        ul.projectcards .option.capex {
            left: 0.5em;
        }

        ul.projectcards .option.documentation {
            right: 0.5em;
        }

    ul.projectcards a {
        display: block;
        background: #f2f2f2;
        color: black;
        padding: 0.5em;
        width: 100%;
        min-height: 5em;
    }

        ul.projectcards a:hover {
            text-decoration: none;
            background: #d9d9d9;
            color: black;
            transition: all ease 0.5s;
        }

            ul.projectcards a:hover .option {
                background: #256c06;
                color: white;
                transition: all ease 0.5s;
            }

.profileimage {
    margin-top: 1em;
}

    .profileimage img.gravatar {
        width: 7.5em;
        height: 7.5em;
        border-radius: 50%;
    }

#system-message {
    width: 100%;
    background: #e9f0e6;
    padding: 0.5em 5em 0.5em 0.5em;
    margin-bottom: 1em;
    position: relative;
}

    #system-message a {
        position: absolute;
        top: 0.5em;
        right: 0.5em;
    }

a {
    color: #4173cc;
    text-decoration: none;
}

    a:hover {
        color: #7a9ddb;
        text-decoration: underline;
    }

    a img {
        border: none;
    }

ul, ol {
    list-style-type: none;
    padding: 0;
    margin-top: 1em;
}

p {
    margin-top: 1em;
}

h2, h3, h4 {
    margin: 0;
    font-family: 'Roboto Condensed';
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin-top: 2em;
}

h4 {
    font-size: 1.25em;
    font-weight: 600;
    margin-top: 2em;
}

    h4 a {
        color: black;
    }

table {
    border-collapse: collapse;
    margin-top: 2em;
}

th {
    font-weight: 600;
}

th, td {
    text-align: left;
    padding: 0.125em 1.5em 0.125em 0.125em;
}

    th:last-child, td:last-child {
        padding-right: 0.125em;
    }

    th.number, td.number {
        text-align: right;
    }

td {
    border-top: 1px solid #e6e6e6;
}

tr.tabletop td {
    border: none;
}

tr.tablebottom td {
    font-weight: 600;
    text-align: right;
}

tr.inactive, td.inactive {
    opacity: 0.25;
}

    tr.inactive:hover, td.inactive:hover {
        opacity: 1;
    }

.filteredlist {
    margin-top: 2em;
}

    .filteredlist input {
        font-family: Roboto;
    }

.empty {
    font-style: italic;
    color: #c0c0c0;
}

.warning {
    color: #ffc500;
}

.error {
    color: #d81616;
}

.hidden {
    display: none;
}

form {
    margin-top: 1em;
}

fieldset {
    border: none;
    padding: 0;
    margin-top: 1em;
}

    fieldset.fields p {
        margin-top: 1em;
    }

    fieldset.fields label {
        font-weight: 600;
    }

    fieldset.buttons {
        margin-top: 2em;
    }

input[type=text], input[type=password], select {
    font-family: Roboto;
    width: 30em;
}

input[type=submit], input[type=button], input[type=reset] {
    display: inline-flex;
    border: none;
    background: #256c06;
    color: white;
    padding: 0 0.5em;
    margin-right: 1em;
    font-family: 'Roboto Condensed';
    font-size: 0.875em;
    text-align: left;
    min-width: 10em;
    line-height: 3em;
}

    input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover {
        background: #42c10b;
        text-decoration: none;
        transition: all ease 0.5s;
    }

textarea {
    font-family: Roboto;
    width: 30em;
    min-height: 7em;
}

.validation-summary-errors ul {
    background: #ffffd6;
    list-style-type: none;
    padding: 10px;
    border: 2px solid #d8d89b;
}

.input-validation-error {
    background: #ffffd6;
}

.field-validation-error {
    color: #d81616;
}
