/*********************************************/
/* WOODANDCHARCOALID.CSS                     */
/* For Wood and Charcoal ID                  */
/* Greg Brown                                */
/* May 18, 2026                              */
/*********************************************/

body {
    color: #000000;
    background-color: #AAA;
    font-family: Calibri;
    text-decoration: none;
}

#bodycontainer {
    display: grid;
    grid-template-areas:
        'head head'
        'aside main'
        'foot foot';
    grid-template-columns: 200px 1fr;
    max-width: 1000px;
    margin-inline: auto;
}

/* *************************************** */
/* Header                                  */
/* *************************************** */
header {
    grid-area: head;
    background-color: #CCC;
}

/* *************************************** */
/* Nav                                     */
/* *************************************** */
nav {
    grid-area: navbar;
    background-color: #CCC;
    font-size: 80%;
    color: black;
    display: none;
}

.navbar .nav > li > a:hover {
    background-color: #ccc;
    color: black;
}

.navbar {
    margin-bottom: 0;
    border-inline: 1px solid #004000;
}

.navbar .nav > li > a {
    text-shadow: none;
    color: black;
}

.navbar .nav > li > a:hover {
    background-color: #ccc;
    color: black;
}

.navbar {
    margin-bottom: 0;
    border-inline: 1px solid #004000;
}

.navbar-nav {
    margin: 0;
}

.navbar {
    margin: 0;
}

.navbar-nav ul {
    display: none;
}

.navbar-nav li:hover ul {
    display: block;
}

/* Navbar container */
.navbar2 {
    overflow: hidden;
    background-color: #333;
    font-family: Arial;
}

/* Links inside the navbar */
.navbar2 a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* *************************************** */
/* Main                                    */
/* *************************************** */

main {
    grid-area: main;
    background-color: #F5E39E;
    font-family: Calibri;
    padding: 2rem 3rem;
    line-height: 1.3;
}

.Content {
}

/* *************************************** */
/* Aside                                   */
/* *************************************** */
aside {
    grid-area: aside;
    background-color: #602E06;
    font-family: Calibri;
    padding: 1rem;
    font-size: 90%;
}

aside ul {
    list-style: none;
    margin-left: 10px;
    margin-block-start: 0;
    margin-block-end: 1em;
    padding-inline-start: 0px;
}

aside li {
    list-style: none;
    margin-left: 10px;
    text-indent: -10px;
}

aside details li {
    margin-left: 20px;
}

.sidebar summary {
    color: white !important;
    margin-left: 16px;
    text-indent: -16px;
}

.sidebar h1 {
    font-size: 120%;
    color: white;
}

.sidebar a {
    color: white !important;
    font-weight: normal;
}

.sidebar h1,
aside hl {
    line-height: 1.2;
}

/* *************************************** */
/* Footer                                  */
/* *************************************** */

footer {
    grid-area: foot;
    background-color: #602E06;
    border-top: 3px solid white;
    color: white;
}

footer {
    padding: 20px;
}

footer a,
footer a:link,
footer a:visited,
footer a:hover,
footer a:active {
    color: white;
}

footer a:hover {
    text-decoration: underline;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 2rem;
    align-content: start;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.logo-container {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1rem;
}

.logo-container img {
    width: 60px;
}

.copyright-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.logo-right p {
    text-align: left;
}

.copyright-container {
    text-align: right;
}

.copyright-container p.copyright {
    text-align: left;
}

/* *************************************** */
/* General                                 */
/* *************************************** */

h1 {
    margin-top:0;
}

h2 {
    font-size: 150%;
    line-height: 1.2;
    margin-block: 1rem;
}

h2 small {
    font-size: 60%;
}

h3 {
    font-size: 125%;
    line-height: 1.2;
}

h4 {
    font-size: 100%;
    line-height: 1.2;
}

td {
    COLOR: #602E06
}

th {
    COLOR: #000000
}

a:link {
    color: #1F382D;
    text-decoration: none;
    font-weight: bold;
}

a:visited {
    color: #1F382D;
    text-decoration: none;
}

a:active {
    color: #1F382D;
    text-decoration: none;
}

a:hover {
    COLOR: #54401F;
    TEXT-DECORATION: underline
}

/* *************************************** */
/* Images                                  */
/* *************************************** */
.img,
.i450right img,
.i300right img,
.i200right img,
.i100right img,
.i400center img,
.i450center img,
.i600center img,
.i900center img,
.media-image img {
    width: 100%;
    border-radius: 1rem;
}

.i100right img {
    float: right;
    margin-left: 2rem;
    width: 100px;
    border-radius: 1rem;
}

.i450right {
    display: block;
    float: none;
    width: min(450px, 100%);
}

.i300right {
    display: block;
    float: none;
    width: min(300px, 100%);
}

.i200right {
    display: block;
    float: none;
    width: min(200px, 100%);
}

.i400center {
    display: block;
    float: none;
    width: 400px;
    margin: auto;
}

.i400center p.caption{
    display: block;
    float: none;
    width: 400px;
}

.i450center {
    display: block;
    float: none;
    width: 450px;
}
.i600center {
    display: block;
    float: none;
    width: 600px;
}

.i900center {
    display: block;
    float: none;
    width: 100%;
}

@media (min-width: 500px) {
    .i450right {
        float: right;
        margin-left: 2rem;
        width: min(450px, 50%);
    }

    .i300right {
        float: right;
        margin-left: 2rem;
        width: min(300px, 50%);
    }

    .i200right {
        float: right;
        margin-left: 2rem;
        width: min(200px, 33%);
    }

    .i400center {
        display: block;
        width: min(400px, 67%);
    }

    .i600center {
        display: block;
        width: min(600px, 67%);
    }

    .i900center {
        display: block;
        width: min(900px, 100%);
    }
}

.caption {
    font-size: 80%;
    font-style: italic;
    display: block;
    width: 100%;
    margin-left: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.caption-full {
    font-size: 80%;
    font-style: italic;
    display: block;
    width: 100%;
    margin-left: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.caption-header {
    font-size: 80%;
    font-weight: bold;
    display: block;
    width: 100%;
    margin-left: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.caption-footer {
    font-size: 80%;
    font-weight: bold;
    display: block;
    width: 100%;
    margin-left: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.photo-container {
    display: flex;
    gap: 1rem 2rem;
    flex-wrap: wrap;
}

.photo-container > * {
    flex: 1;
}

.photo-container img {
    width: 100%;
    width: 300px;
    border-radius: 1rem;
}

.photo-container-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.photo-container-2 figure,
.photo-container-2 p.caption {
    width: 320px;
    width: 300px;
    padding: 0;
    margin: 0;
}

.photo-container-2 img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.photo-container-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.photo-container-3 figure,
.photo-container-3 p.caption {
    width: 240px;
    width: 220px;
    padding: 0;
    margin: 0;
}

.photo-container-3 img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.photo-container-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.photo-container-4 figure {
    width: 160px;
    width: 140px;
    padding: 0;
    margin: 0;
}

.photo-container-4 img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* *************************************** */
/* Tables                                  */
/* *************************************** */

.table-bordered {
    border: 1px solid black;
    margin-bottom: 1rem;
}

.table-bordered th {
    border: 1px solid black;
    padding: 5px 10px;
    font-weight: bold;
    background-color: #ccc;
}

.table-bordered td {
    border: 1px solid black;
    padding: 5px 10px;
}

/* *************************************** */
/* Print settings                          */
/* *************************************** */
@media print {
    .noprint {
        display: none;
    }

    a[href]:after {
        content: none;
    }
}
