html {
    background-color: #eee;
    font-family: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

:is(a, area, button, [tabindex="-1"], [tabindex="0"]):focus-visible {
    /* focus-visible: styles chosen for accessibility */
    overflow: visible; /* Ensure that the focus outline does not get cut off */
    outline: 0.375rem double #000 !important;
    outline-offset: initial !important;
    box-shadow: 0 0 0 0.25rem #fff !important;
}

:is(input, select, textarea):focus-visible {
    /* focus-visible: styles chosen for accessibility */
    overflow: visible; /* Ensure that the focus outline does not get cut off */
    outline: 0.1rem solid #000 !important;
    outline-offset: 0.0625rem !important;
    box-shadow: 0 0 0 0.0625rem #fff !important;
}

.visually-hidden {
    /*
    visually-hidden: used for elements that need to be present for screen readers or other
    accessibility tools, but don't need to be rendered normally
    */
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    inline-size: 0.0625rem;
    block-size: 0.0625rem;
    white-space: nowrap;
}

.subdued-text {
    color: #6E6E6E;
}

p.skip-link > a {
    /* skip-link is an accessibility feature */
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: -100vw;
    z-index: 99999;
    margin: 0.5rem;
    padding-block: 0.5rem;
    padding-inline: 1rem;
    display: block;
    background-color: #fff;
    color: #000;
}

p.skip-link > a:focus-visible {
    inset-inline-start: 0;
}

a {
    color: #0172ad;
}

a:hover {
    color: #0a2a64;
}

.container {
    margin: 0 auto;
    max-width: 1200px;
}

.login .container {
    max-width: 500px;
}

.primary-container {
    box-shadow: 0 0 25px rgba(85, 85, 85, 0.28);
    padding-top: 0.5rem;
}

header {
    padding: 0 1.5rem;
}

.ipeer-logo {
    font-size: 2rem;
    background-image: url("../img/ipeer_logo.9b095630d0a1.svg");
    background-repeat: no-repeat;
    background-size: auto 80%;
    background-position: left center;
    padding-left: 2rem;
    margin: 0.3em 0;
}

.ipeer-logo a {
    text-decoration: none;
    color: #000;
}

.ipeer-logo a:hover {
    text-decoration: underline;
}

.navigation-wrapper {
    position: relative;
    z-index: 100;
    padding: 0 .5rem;
    margin-bottom: -1.5rem;
    border: solid 1px #ccc;
    box-shadow: 0 0 25px rgba(85, 85, 85, 0.28);
    background: #fff;
}

.navigation-wrapper::after {
  content: "";
  display: table;
  clear: both;
}

nav.left-nav {
    float: left;
}

nav.right-nav {
    float: right;
}

nav ul {
    margin-block-start: 0;
    margin-block-end: 0;
    padding-left: 0;
}

nav li {
    display: inline-block;
    margin: 0;
    line-height: 1.2;
}

nav a {
    display: inline-block;
    color: #0a2a64;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0;
    padding: 0.5em;
}

nav a:hover, nav a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 gold;
    text-decoration: none;
}

.impersonation-banner {
    position: relative;
    background: #ffcc00;
    border-bottom: 1px solid #ff9966;
    padding: 0.5em 0;
    text-align: center;
    z-index: 200;
}

main {
    background-color: #fff;
    padding: 3rem 2rem 2rem;
}

#main-content {
    margin-top: 0;
}

footer {
    text-align: center;
    padding: 1em 0;
}

footer small {
    display: block;
}

.button {
    display: inline-block;
    padding: 0.6em 0.9em;
    background: #0172ad;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    border: 0;
    cursor: pointer;
}

.button:hover {
    background-color: #01557e;
    color: #fff;
}

.button.btn-secondary {
    background: #6c757d;
}

.button.btn-secondary:hover {
    background: #40434a;
}

.button-group .button:not(:last-child) {
    margin: 0 0.5em 0.5em 0;
}

.django-form-p p {
    margin-bottom: 1rem;
}

.django-form-p label {
    font-weight: 600;
}

.django-form-p input,
.django-form-p select,
.django-form-p textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0.4rem 0.6rem;
    margin: 0.2rem 0;
}

.django-form-p textarea {
    min-height: 6rem;
    resize: vertical;
}

.django-form-p .helptext {
    font-size: 0.9rem;
}

.django-form-p .errorlist {
    padding-left: 0;
    list-style: none;
    font-size: 0.9rem;
}

.action-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.action-table caption {
    text-align: left;
    margin-bottom: 0.75rem;
}

.action-table thead th {
    font-size: 1.1rem;
    border-bottom: 2px solid #777;
}

.action-table th,
.action-table td {
    padding: 0.6rem 0.875rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.action-table tbody tr:nth-child(odd) {
    background-color: #f2f6fb;
}

.action-table tbody tr:hover {
    background-color: #e6eef7;
}
