html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

#aoc-site-header {
    display: grid;
    grid-template-areas: "logo main"
        "portaltitle main"
        "nav nav";
    background-color: #523964;
    color: white;
    margin-bottom: 1rem;
}

    #aoc-site-header p.logo {
        grid-area: logo;
        margin: 1rem 0 0.5rem 1rem;
    }

    #aoc-site-header p.portalTitle {
        grid-area: portaltitle;
        margin: 0 0 0.5rem 1rem;
    }

    #aoc-site-header p.userIdentity {
        grid-area: main;
        text-align: center;
        align-self: center;
        margin: 0;
        padding: 0;
    }

.displayName {
    font-size: 1.35rem;
}

.userName {
    font-size: 0.75rem;
}

    #aoc-site-header nav {
        grid-area: nav;
        background: #666699;
        padding: 0 1rem;
    }

    #aoc-site-header ul {
        list-style-type: none;
        margin: 0;
        padding: 0.5rem 0;
    }

    #aoc-site-header li {
        display: inline-block;
        border-right: 1px solid white;
        padding-right: 0.3rem;
    }

        #aoc-site-header li a {
            color: white;
        }

        #aoc-site-header li:last-child {
            border-right: initial;
        }

/* Processing overlay */
#progressOverlay {
    display: none;
}

    #progressOverlay.show {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        overflow: hidden;
        z-index: 700;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: opacity 0.2s;
    }

#messageDialog {
    background: white;
    height: 10vh;
    width: 50vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid gray;
    border-radius: 3px;
    padding: 1rem;
}

#messageDialog-close {
    margin-top: 1em;
}

.no-display {
    display: none;
}

/* Override Bootstrap alert defaults */
.alert {
    padding: 0.5rem 0.5rem;
    margin-bottom: 0.5rem;
}

.alert .fa {
    margin-right: 5px;
}

.alert-dismissible button.btn-close {
    font-weight: lighter;
    height: auto;
}

/* Amounts Owed table rendering */
.amounts-owed-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.amounts-owed-table th, .amounts-owed-table td {
    /*text-align: left;*/
    padding: 1px 5px;
    vertical-align: top;
}


.amounts-owed-table th:not(.text-end), .amounts-owed-table td:not(.text-end), {
    text-align: left;
    padding: 1px 5px;
    vertical-align: top;
}

.amounts-owed-table td {
    min-height: 10px;
    overflow: hidden;
    word-wrap: break-word;
}