:root {
    --primary: #0D9B39;
    /* Variables related to admin features we're reusing */
    --border-color: #ccc;
    --body-quiet-color: #666;
    --darkened-bg: #f8f8f8;
    --body-bg: #fff;
    --button-fg: #fff;
    --header-bg: #097129;
    --text-gray: #8e8e8e;
}

html {
    height: 100%;
}

body {
    font-family: Helvetica, sans-serif;
    background-color: #F7F7F7;
    margin: 0;
    height: 100%;
}

h1 {
    font-size: 160%;
}

h2 {
    color: var(--primary);
    font-size: 120%;
}

label {
    margin-right: 10px;
    display: inline-block;
    font-size: 90%;
    font-style: italic;
}

input, select, textarea {
    margin-right: 5px;
    font-family: Verdana, sans-serif;
    padding: 2px;
}

textarea {
    font-size: 80%;
    border-radius: 8px;
    width: 30em;
    height: 5em;
    border-style: solid;
    padding: 4px;
}

.breadcrumb ul {
    list-style-type: none;
    padding: 0;
}

.breadcrumb li {
    display: inline;
}

#logout-form {
    display: inline;
}

#logout-form button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#top-bar {
    height: 70px;
    padding: 5px;
    display: flex;
    justify-content: space-between;
}

#logo {
    height: 70px;
}

#home-link {
    z-index: 1;
}

#branding {
    font-weight: bold;
    font-size: 120%;
    color: var(--primary);
    height: 70px;
    line-height: 70px;
    position: absolute;
    width: calc(100% - 10px);
    text-align: center;
}

#user-links {
    margin: 28px 5px;
    z-index: 1;
}

#user-links a, #user-links a:visited, #logout-form button {
    font-size: 80%;
    color: #898989;
    text-decoration: none;
}

#user-links a:hover, #logout-form button:hover {
    color: #606060;
    text-decoration: underline;
}

#user-links .separator {
    color: #B2B2B2;
}

#body {
    margin: 5px 20px;
}

#headline-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb {
    font-size: 80%;
}

.breadcrumb a, .breadcrumb a:visited {
    color: #2196F3;
}

.messages p {
    border: 1px solid;
    padding: 8px;
    margin: 8px 0;
    border-radius: 5px;
    font-size: 90%;
}

.messages p.error {
    background-color: #F1BEBE;
    color: #C44;
}

.messages p.success {
    background-color: #D7F9D9;
    color: #1C8A25;
}

.messages p.warning {
    background-color: #F1F1BE;
    color: #8F8B04;
}

.errorlist {
    color: #C44;
    font-weight: bold;
    margin: 0;
}

.row {
    min-height: 300px;
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.pane, #top-bar {
    background-color: #FFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pane {
    padding: 10px;
}

.pane.half {
    width: 48%;
}

.pane.third {
    width: 30%;
}

.pane.third h2 {
    text-align: center;
    font-size: 100%;
}

.pane ul {
    padding: 0;
    font-size: 85%;
    list-style-type: none;
}

.pane li {
    margin-bottom: 5px;
}

.pane li a:not(.emphasis) {
    text-decoration: none;
}

.pane li a:not(.emphasis), .pane li a:not(.emphasis):visited {
    color: var(--text-gray);
}

.pane li a:not(.emphasis):hover {
    color: #3E3E3E;
    text-decoration: underline;
}

.assignments, .item-list li {
    font-family: Verdana, sans-serif;
}

.item-list li {
    font-family: Verdana, sans-serif;
    background-color: #F7F7F7;
    border: 1px solid #DEDEDE;
    padding: 10px;
}

.item {
    font-size: 120%;
    font-weight: bold;
    color: #656565;
}

.item:visited {
    color: #656565;
}

.collapse {
    display: none;
}

.assignment-requests p {
    font-family: Verdana, sans-serif;
    color: var(--text-gray);
    font-size: 80%;
}

#engagement label {
    text-align: center;
    width: 100%;
}

#engagement div {
    margin-bottom: 10px;
    text-align: center;
}

.button {
    font-family: Helvetica, sans-serif !important;
    color: #F7F7F7;
    background-color: var(--primary);
    padding: 10px 15px !important;
    border-style: solid;
    border-width: 2px;
    border-color: #097129;
    border-radius: 5px;
    font-size: 90%;
    display: inline-block;
}

.button:hover {
    background-color: #097129;
}

.button-secondary {
    background-color: #9e9e9e;
    border-color: #686868;
}

.button-secondary:hover {
    background-color: #686868;
}

a.button {
    text-decoration: none;
}

p.requested-by, p.due-date {
    font-size: 90%;
}

a.emphasis {
    font-size: 85%;
    font-style: italic;
    color: #2196F3;
}

a.emphasis:visited {
    color: #2196F3;
}

.calendar {
    --accent: #abeec0;
}

/* Recreating some admin style rules here */
.calendar caption {
    padding: 8px;
}

.calendarbox a, .calendarbox a:visited {
    text-decoration: none;
}

.calendar-shortcuts a, .calendar-shortcuts a:visited {
    color: #447e9b;
}

.calendar-shortcuts a:hover {
    color: #036;
}