:root {
    --dark-background-color: #444;
    --light-gray: #CCC;
    --oregon-blue: rgb(51, 122, 183);
    --county-background-color: #90E5FF;
    --link-color: rgb(0,102,204);
    --white: #FFF;
}

a {
    color: var(--link-color)
}

html,
body {
    font-family: 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    height: 100%;
}

footer {
    /*
    background-color: var(--dark-background-color);
    color: var(--white);
    height: 25px;
    */
    padding: 3px 10px 3px 3px;
    text-align: right;
    font-size: 14px;
    color: var(--dark-background-color);
}

div.centered-link {
    display: flex;
}

    div.centered-link a {
        display: block;
        font-size: 20px;
        margin-left: auto;
        margin-right: auto;
    }

.county {
    border-radius: 10px;
    border-width: 1px 1px 1px 12px;
    border-color: var(--light-gray) var(--light-gray) var(--light-gray) var(--oregon-blue);
    border-style: solid;
    padding: 10px;
}

    .county .county-header {
        display: grid;
        grid-template-columns: auto 120px;
        align-items: center;
    }

        .county .county-header a {
            text-decoration-color: var(--link-color);
        }

            .county .county-header a:visited {
                color: var(--link-color);
            }

    .county .county-header a,
    .county a.county-link {
        text-decoration: none;
    }

    .county a.county-link {
        margin: 5px 3px 20px 30px;
    }

    .county a.county-link:hover {
        text-decoration: underline
    }


.county-grid {
    display: grid;
    grid-auto-columns: auto;
    gap: 30px;
    max-width: 475px;
    margin-left: auto;
    margin-right: auto;
}

@media(min-width: 850px) {
    .county-grid {
        grid-auto-columns: auto auto;
        max-width: initial;
    }

        .county-grid .county:nth-child(2n) {
            grid-column: 2;
        }

    #faqs-wrapper {
        display: grid;
        grid-template-columns: 1fr 3fr 1fr;
    }

    #faqs-link {
        grid-column: 2;
    }
}

#faqs-link {
    grid-column: 2;
    height: 45px;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #faqs-link a {
        height: 100%;
        text-align: center;
        text-decoration: none;
    }

    #faqs-link a:hover {
        text-decoration: underline;
    }

.content-container {
    margin-top: 30px;
}

@media(min-width: 1200px) {
    footer,
    .content-container {
        max-width: 1200px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    footer {
        margin-top: 15px;
    }
}

h2 {
    margin: 0;
}


/* The "home" scalable vector graphic and CSS class are created by Open Iconic under the MIT License: https://github.com/iconic/open-iconic/blob/master/ICON-LICENSE */
.home {
    display: inline-block;
    width: 25px;
    height: 25px;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000' d='M4 0L0 3h1v4h2V5h2v2h2V2.97L8 3z'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}


main {
    padding: 0 15px 30px 15px;
    background-color: var(--white);
}

@media(min-width: 1350px) {
    #main-instructions {
        border: 1px solid #d2cfd0;
        box-shadow: 0 5px 5px #9D9D9D;
        border-radius: 2px;
    }
}

section {
    margin-bottom: 50px;
}

    section .section-header {
        background-color: var(--oregon-blue);
        color: var(--white);
        padding: 10px;
    }

a.contact-info {
    font-size: 12pt;
    display: flex;
    gap: 5px;
    align-items: center;
}

.i-icon {
    background-color: white;
    border: 1px solid var(--oregon-blue);
    font-size: 14pt;
    border-radius: 30px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media(max-width: 449px) {
    .application-links .county-link {
        display: block;
    }
}

@media(max-width: 430px){
    .county .county-header {
        display: initial;
    }

        .county .county-header .contact-info {
            display: block;
            margin-top: 10px;
            margin-left: 30px;
        }

        .county .county-header .i-icon {
            display: none;
        }
}