body {
    background-color: #ffffff;
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 1rem;

    display: flex;
    flex-direction: column;

    margin: 0;
    padding: 0;
}

hr {
    border-top: 0px;
    border-bottom: 1px solid #565656;
    margin: 40px 100px;
}

p {
    margin: 15px 0px;
}

a {
    /* Glossary word color is controlled in glossary.js */
    text-decoration: none;
    color: #0066cc;
}

a[href="#"] {
    /*
    Placeholder chapters/entries use #.
    This gives them a muted color.
    */
    color: #565656;
}

ol {
    list-style-type: lower-roman;
}

h2,
h3,
h4 {
    margin: auto;
    max-width: 650px;
}

h1 {
    margin: 5px;
}

h3 {
    font-style: italic;
    text-align: center;
}


/* -------------------------
   BACK TO MENU
------------------------- */

.index-supertitle {
    text-align: center;
    margin: 20px 0px 0px 0px;
    font-size: .8rem;
}

.index-supertitle a {
    color: #7b7b7b;
}


/* -------------------------
   WRITING / POEM BODY
------------------------- */

.indent-sidebar {
    padding-left: 20px;
    max-width: 650px;
    margin: auto;
    border-left: 1px #666 solid;
}


/* -------------------------
   PAGE LAYOUT
------------------------- */

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.content {
    flex: 3;
    padding: 20px;
}


/* -------------------------
   PREVIOUS / NEXT SIDEBARS
------------------------- */

.sidebar-left,
.sidebar-right {
    flex: 1;
    text-align: center;
    min-width: 200px;
    margin-top: 40px;
}


/*
If the Previous or Next link still has href="#",
hide its text.
*/

.sidebar-left a[href="#"] {
    font-size: 0px;
}

.sidebar-right a[href="#"] {
    font-size: 0px;
}

.sidebar-left a,
.sidebar-right a {
    display: block;
    padding: 50px 0px 0px 0px;
}


/* -------------------------
   MENU COLUMNS
------------------------- */

.column {
    flex: 1;
    max-width: 33.3333%;
    padding: 10px;
    box-sizing: border-box;
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 768px) {

    .container {
        flex-direction: column;
    }

    .column {
        max-width: 100%;
    }

    .sidebar-left {
        margin-top: 44px;
    }

    .sidebar-right {
        margin-top: 0px;
        margin-bottom: 44px;
    }

    .sidebar-left a {
        display: block;
        padding: 40px 0px 0px 0px;
    }

    .sidebar-right a {
        display: block;
        padding: 3px 0px 0px 0px;
    }
}