@charset "UTF-8";

/* CSS Document */

body {
    color: black;
    background-color: #d8caa8;
    margin: 0;
}


/***** tags *****/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lato', sans-serif;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0.2em;
}

h1 {
    font-size: 230%;
    margin-bottom: 0.6em;
}

h2 {
    font-size: 150%;
}

figure+h1,
figure+h2,
figure+h3,
figure+h4,
figure+h5,
figure+h6 {
    margin-top: 1em;
}


/***** /tags *****/


/***** classes *****/

figure {
    padding: 0;
    margin: 0;
}

figure img {
    border: solid 1px #363942;
}

figure figcaption {
    text-align: center;
    font-style: italic;
    font-size: 80%;
    opacity: 0.8;
}


/***** /classes *****/


/***** container *****/

#container {
    display: grid;
    grid-template-columns: fit-content(100%) auto;
    /* Make the menu background fill the whole page, even if the page content is shorter than the menu. */
    /* vh is a unit equal to 1% of the viewport height. */
    /* Thanks to https://twitter.com/andre_dw/status/1306694851375886336 for the suggestion. */
    min-height: 100vh;
}


/***** /container *****/


/***** sidebar *****/

#nav {
    /* Menu fits its content's width */
    display: inline-block;
    padding-top: 8px;
    background-color: #333540;
    box-shadow: 2px 0px 8px 0px rgba(0, 0, 0, 0.34);
}

#nav .menu-button,
#nav .menu-icon {
    display: none;
}

#logo {
    background-image: url(../images/global/logo.png?cache=buster);
    background-repeat: no-repeat;
    width: 120px;
    height: 53px;
    background-size: 120px 53px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
}

#menu {
    padding-left: 0px;
}


/* Inset left nav for safe area when showing desktop layout on large phones in landscape */

@supports(padding: max(0px)) {
    #menu {
        padding-left: max(0px, env(safe-area-inset-left));
    }
}

#menu ul,
#menu li {
    list-style: none;
}

#menu>li {
    font-size: 1.2em;
    margin: 0px;
    line-height: 1.5em;
}

#interesting {
    color: #ecf2e6;
    padding: 3px 8px 3px 25px;
}

#menu a {
    color: #ecf2e6;
    padding: 3px 3px 3px 25px;
    text-decoration: none;
}

#menu li ul li {
    position: relative;
    left: -25px;
}

#menu a:hover {
    background: url(../images/global/nav_arrow.svg) no-repeat left 50%;
    text-decoration: underline;
}

#menu a#current-page {
    color: #d7b407;
}

#menu li ul a {
    padding: 3px 8px 3px 25px;
}

#menu li ul a:hover {
    background: url(../images/global/nav_arrow.svg) no-repeat left 50%;
}

#menu hr {
    border: none;
    height: 1px;
    background-color: #ecf2e6;
    margin-right: 25px;
    margin-left: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
}


/***** /sidebar *****/


/***** content *****/

#content {
    margin-left: 18px;
    /* 0px right margin so image on home page will bleed to edge. Text content is inset via padding. */
    margin-right: 0px;
    margin-top: 8px;
    margin-bottom: 8px;
    max-width: 686px;
}

#content ol li,
#content ul li {
    margin-bottom: 0.5em;
}

@supports(padding: max(0px)) {
    #content {
        padding-right: max(18px, env(safe-area-inset-right));
        padding-bottom: max(18px, env(safe-area-inset-bottom));
    }
}

.line-through {
    text-decoration: line-through;
}

.sub-section {
    font-style: normal;
    font-weight: normal;
}


/****** /content ******/
