:root {
    --ff: verdana, arial, sans-serif;
    /* @link https://utopia.fyi/type/calculator?c=320,10,1.067,1240,14,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
    --fs--2: clamp(0.55rem, calc(0.54rem + 0.02vw), 0.56rem);
    --fs--1: clamp(0.59rem, calc(0.55rem + 0.20vw), 0.70rem);
    --fs-0: clamp(0.63rem, calc(0.54rem + 0.43vw), 0.88rem);
    --fs-1: clamp(0.67rem, calc(0.52rem + 0.74vw), 1.09rem);
    --fs-2: clamp(0.71rem, calc(0.48rem + 1.14vw), 1.37rem);
    --fs-3: clamp(0.76rem, calc(0.43rem + 1.65vw), 1.71rem);
    --fs-4: clamp(0.81rem, calc(0.35rem + 2.31vw), 2.14rem);
    --fs-5: clamp(0.86rem, calc(0.24rem + 3.14vw), 2.67rem);
    --nav-hue: 200deg;
}
html, body {
    margin: 0;
    height: 100%;
}
body {
    padding: 0;
    color: black;
    background-color: white;
    font-family: var(--ff);
    font-size: var(--fs-1);
    line-height: 1.2;
}

/*
 * Title banner
 */
header .banner {
    height: 100px;
    background-color: #2A83D7;
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
}
header .banner .brhs {
    flex-grow: 1;
    text-align: right;
    padding: 0 1em;
}
@media (max-width: 768px) {
    header .banner {
        height: 60px;
    }
}
header .banner img {
    vertical-align: top;
    height: 100%;
    width: auto;
}

/*
 * Breadcrumb bar
 */
header .breadcrumbs {
    color: white;
    background-color: #40C6EC;
    padding: 2pt 4pt 2pt 4pt;
    border-top: white 2px solid;
    border-bottom: white 2px solid;
}

header .breadcrumbs A:link, .breadcrumbs A:visited {
    color: white;
    text-decoration: none;
}

header .breadcrumbs A:hover {
    text-decoration: underline;
}

.body {
    display: grid;
    min-height: 100%;
    grid-template-columns: 11em 1fr;
}
/*
 * Navigation boxes on LHS
 */
.lhsnav {
    font-weight: bold;
    font-size: var(--fs-0);
    color: hsl(var(--nav-hue) 80% 90%);
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lhsnav > div {
    min-height: 150px;
    padding: 0.5em 1em;
    flex: 0 1 auto;
    border-radius: 0 1em 1em 0;
}

.lhsnav > :nth-child(1) {
    background-color: hsl(var(--nav-hue) 85% 60%);
}

.lhsnav > :nth-child(2) {
    background-color: hsl(var(--nav-hue) 85% 50%);
}

.lhsnav > :nth-child(3) {
    background-color: hsl(var(--nav-hue) 85% 40%);
}

.lhsnav > :last-child {
    background-color: hsl(var(--nav-hue) 85% 30%);
    flex: 1 1 auto;
}

.lhsnav h1, .lhsnav h2, .lhsnav h3, .lhsnav h4 {
    font-size: var(--fs-1);
    color: white;
    margin: 0 0 0.5ex 0;
}

.lhsnav A:link, .lhsnav A:visited {
    color: inherit;
    text-decoration: none;
}

.lhsnav A:hover {
    text-decoration: underline;
}

/*
 * Main content box
 */
main {
    color: #182735;
    padding: 0 1em;
    max-width: 54em;
}

main p {
    margin: 0em 0em 0.7em 0em;
}

main table {
    margin: 0.7em 0em 0.7em 0em;
}

main ul {
    padding-left: 30pt;
    margin: 0em 0em 0.7em 0em;
}
main h1, main h2, main h3, main h4, main h5,
    main ::marker {
    color: hsl(var(--nav-hue) 85% 30%);
}

main h4, main h5 {
    margin: 1em 0 0.7em 0;
}

main A:link, main A:visited {
    color: #000099;
    text-decoration: none;
}

main A:hover {
    text-decoration: underline;
}

main TH {
    font-weight: bold;
    color: #182735;
}	

main TD {
    color: #182735;
}	

main pre {
    color: #00008b;
}

/* Style code code examples - use <pre class="example">
 */
main .example {
    font-family: "Courier New", monospace;
    background-color: #eeeeee;
    color: #00008b;
    padding: 0.7em;
    white-space: pre;

    border-width: 2px;
    border-color: black;
    border-style: solid;
    overflow: auto;
}
main .highlight {
    font-family: "Courier New", monospace;
    background-color: #f8f8f8;
    padding: 0.3em;
    margin: 0.6em 0 0.6em 2em;
    white-space: pre;
    border-width: 1px;
    border-color: #cccccc;
    border-style: solid;
    overflow: auto;
}
main .highlight pre {
    margin: 0;
}

/* Style for general inline boxed content. The box width is 80% of the
 * containing box, and should be centered (fingers crossed).
 */
main .box {
    background-color: #eeeeee;
    color: #00008b;
    padding: 0.7em;
    position: relative;
    left: 50%;
    width: 80%;
    margin-left: -40%;

    border-width: 1px;
    border-color: black;
    border-style: solid;
}

/* Tables don't seem to pick up everything we would like them to - force the
 * issue.
 */
main .table {
    background-color: #dddddd;
    border-width: 2px;
    margin-left: 3em;
    margin-right: 3em;
}    

main .table th {
    background-color: #eeeeee;
}    

main .table td {
    background-color: #ffffff;
}    

/* The next two styles are used to format content into two columns. You should
 * put each column's content inside <div class="twocolumn">, and separate them
 * with an empty <div class="gutter">
 */
main .twocolumn {
    width: 49%;
    float: left;
}

main .gutter {
    width: 2%;
    float: left;
}

/* Right align
 */
.right {
    float: right;
}

/* Use "note" for general "notice me" stuff. Use the alert class for content
 * that *must* be noticed.
 */
.note {
    color: red;
    margin: 0em 0em 0.7em 0em;
/*    border-left: red 4px solid;*/
}

.info {
    margin: 1ex 0 1ex -2ex;
    border-left: 1ex solid orange;
    padding: 1ex 1ex;
    color: #444;
    background-color: #eee;
}

.alert {
    margin: 1ex 0 1ex -2ex;
    border-left: 1ex solid red;
    padding: 0.5ex 1ex;
    background-color: #eee;
}

.alert h1, .alert h2, .alert h3 {
    color: red;
    font-size: 120%;
}

/* This style is used by the custom 404 "not found" page
 */
.notfound {
    width: 80%;
    background-color: #ffeedd;
    border-color: #ff9900;
    border-style: solid;
    border-width: 4px;
    text-align: center;
}

/* Content with class "nocss" will only be displayed on a browser that
 * doesn't implement CSS2.
 */
.nocss {
    display: none;
}

