:root {
    box-sizing: border-box;
    font-family: 'Encode Sans', sans-serif;
    margin: 0 auto;
    font-size: 15px;
}

html {
    margin: 0;
}

body{
    overflow-x: hidden;
}

.col-1 {width: 8.33%;}
.col-2, .demi-2 {width: 16.66%;}
.col-3, .demi-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

[class*="col-"], [class*="demi-"] {
    float: left;
    padding: 1rem 0 0 0;
}

.row {
    margin-bottom: 3rem;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

.board {
    width: 90vw;
    row-gap: 10px;
    column-gap: 20px;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.hide {
    display: initial;
}

#quad-spacer {
    margin-top: 7.5vw;
}

section {
    padding: 1rem 0 2rem 0;
    margin-bottom: 3rem;
}

h1 { 
    font-size: 3rem;
    line-height: 1.1em;
}

@media (max-width: 959px) {
    :root {
        font-size: 13px;
    }

    [class*="col-"] {
        width: 100%;
    }

    [class*="demi-"] {
        width: 50%;
        margin-bottom: 3rem;
    }

    .demi-2 {
        text-align: center;
    }

    .board {
        width: 50vw;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }

    .hide {
        display: none;
    }

    #quad-spacer {
        margin-top: 0;
    }

    h1 {
        font-size: 2.4rem;
    }
}

/* reverse column order in wide viewport */
.rev {
    float: right;
}

header, footer {
    width: 100%;
}

footer {
    background-color: #eee;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

footer div.row {
    margin-bottom: 0;
}

p { 
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7rem;
    padding: 0 2vw 0 2vw;
}

p:first-of-type {
    margin-top: 0; 
}

footer p {
    font-size: 0.9rem;
    line-height: 1.2rem;
}

.prehead {
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    font-size: 1.4rem;
    margin: 0 0 20px 2vw;
    padding: 0;
}

a {
    text-underline-offset: 0.15em;
}

a:hover {
    color: #ed1b2e;
}

h1, h2, h3, h4, h5, h6, b {
    font-weight: 700;
    margin-top: 0;
}

h1, h2 {
    margin: 6px 0 15px 2vw;
}

h2 { 
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.2em;
}

table {
    margin: 0 2vw 0 2vw;
    border-spacing: 0;
    width: 95%;
}

td {
    border-top: 1px solid #ccc;
    margin: 0;
    padding: 0.25rem;
    font-size: 1.2rem;
}

td.right {
    text-align: right;
    padding-right: 1vw;
}

td.highlight, th.highlight {
    font-weight: 600;
    border-left: 2px solid gold;
    border-right: 2px solid gold;
}

th {
    padding: 0.25rem;
    font-size: 1.2rem;
}

th.right {
    text-align: right;
    padding-right: 2vw;
}

th.left {
    text-align: left;
}

ul {
    margin-left: 1.5rem;
    padding: 0 2vw 0 2vw;
    list-style-type: none;
}

ul li::before {
    content: "\25A0";
    font-size: 0.5em;
    color: #ed1b2e;
    display: inline-block;
    position: relative;
    top:-0.6em;
    width: 1.5rem;
    margin-left: -1.5rem;
    line-height: 0;
}

li {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7rem;
    margin-bottom: 0.5rem;
}

sup {
    font-weight: 400;
    line-height: 0;
}

img {
    border: 0;
}

hr {
    border-top: 2px solid gold;
    margin: 2px 0 0 2vw;
    box-shadow: none;
}

hr.gray {
    border-top: 1px solid #999;
    margin-bottom: 2px;
    width: 95%;
}

hr.crop-right {
    margin-right: 2vw;
}

.center {
    text-align: center;
}

.grid {
    margin: 2rem auto;
    display: grid;
}

.cell {
    width: 100%;
    height: 100%;
    display: grid;
}

.sidebar {
    background-color: #eee;
    color: #444;
}

.backplane {
    background-repeat: no-repeat; 
    background-size: cover;
}

.widehead {
    text-align: center;
    letter-spacing: 0.6rem;
    text-transform: uppercase;
}

.fineprint { 
    font-weight: 300; 
    font-size: 0.8rem;
    line-height: 0.9rem;
    margin: 0 0 6px 0;
}

.chart_title {
    font-size: 1.4rem;
    margin-bottom: 0;
    text-align: center;
}

.board_pic {
    width: 100%; 
    max-width:400px;
    display: block;
    margin-bottom: 0.5rem;
}

.board_name {
    padding: 0;
    margin: 0;
    font-weight: 600;
    text-align: center;
    line-height: 1.3rem;
    min-height: 4rem;
}

.social_icon {
    width:15%;
    max-width:40px;
    padding-top:8px;
}

.pdf_block {
    background-color: black; 
    padding-top: 1rem; margin: 0;
}

.pdf_button {
    color: white; 
    border: 1px solid #777; 
    margin:0 auto; 
    width: 6rem; 
    border-radius: 8px;
}

.pdf_button:hover {
    background-color: #444;
}