body {
    margin: 0;
    background-color: #f4f7f5;
    color: darkslateblue;
    line-height: 1.5;
}

header {
    background-color: skyblue;
    padding: 22px;
}

.headercontent {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.headerlogo {
    width: 115px;
    height: auto;
}

.headertext {
    flex: 1;
}

h1 {
    margin: 0 0 6px;
    color: navy;
    font-size: 32px;
}

h2, h3 {
    color: navy;
}

.subtitle {
    margin: 0;
    font-size: 17px;
}

nav {
    background-color: navy;
}

nav ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav a {
    display: block;
    padding: 13px 22px;
    color: white;
    text-decoration: none;
}

nav a.active {
    background-color: skyblue;
    color: navy;
}

main {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
}

section {
    margin-bottom: 28px;
    padding: 22px;
    background-color: white;
    border-radius: 7px;
}

.takeaways {
    display: flex;
    gap: 16px;
}

.takeaway {
    flex: 1;
    padding: 14px;
    background-color: #eef6fa;
}

.takeaway h3 {
    margin-top: 0;
}

.buttonlink {
    display: inline-block;
    padding: 9px 14px;
    background-color: navy;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}


figure {
    margin: 0;
}

.tablecontainer {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

caption {
    margin-bottom: 10px;
    color: navy;
    font-size: 19px;
    font-weight: bold;
    text-align: left;
}

th {
    position: relative;
    padding: 11px 8px;
    background-color: steelblue;
    color: white;
    border: 1px solid darkgray;
    text-align: center;
}

td {
    padding: 9px 8px;
    border: 1px solid darkgray;
    text-align: center;
}

figcaption {
    margin-top: 9px;
    font-size: 14px;
    font-style: italic;
}

.corecolumn {
    background-color: #fff4ad;
    color: #554700;
}

.state {
    color: navy;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.term {
    cursor: pointer;
    text-decoration: underline;
}

.definition {
    position: absolute;
    z-index: 5;
    top: 50px;
    left: 4px;
    width: 205px;
    padding: 9px;
    background-color: navy;
    color: white;
    border-radius: 4px;
    font-size: 13px;
    font-weight: normal;
    text-align: left;
}

.rowhighlight td {
    background-color: #d9edf7;
}

.rowhighlight td.corecolumn {
    background-color: gold;
    color: black;
}

#messagebox {
    min-height: 45px;
    margin: 18px 0;
    padding: 15px;
    background-color: #eef6fa;
    color: navy;
}

.comparison {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.comparisondata,
.comparisontext {
    flex: 1;
}

.comparisondata {
    padding: 15px;
    background-color: #eef6fa;
}

.walkthrough {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #eef6fa;
    cursor: pointer;
}

.walkhighlight td {
    background-color: #c8e6c9;
}

.walkhighlight td.corecolumn {
    background-color: #7fcf83;
}

#reset {
    display: inline-block;
    padding: 8px 13px;
    background-color: navy;
    color: white;
    cursor: pointer;
}

dt {
    margin-top: 14px;
    color: navy;
    font-weight: bold;
    cursor: pointer;
}

dd {
    margin: 5px 0 12px 20px;
    padding: 8px;
    background-color: #eef6fa;
}

.resourcelist li {
    margin-bottom: 15px;
}

.resourcelist a {
    color: navy;
}

footer {
    margin-top: 35px;
    padding: 20px;
    background-color: skyblue;
    color: navy;
    text-align: center;
}

footer p {
    margin: 4px;
    font-size: 14px;
}

footer a {
    color: navy;
}


