html {
    line-height: 1.4;
}

noscript iframe {
    display: none;
    visibility: hidden;
}

main.container {
    position: relative;
}

.location-content {
    min-height: 50vh;
}

.content {
    padding-bottom: 5%;
    margin-top: 30px;
    margin-left: 8%;
    margin-right: 8%;
    font-family: 'Open Sans', sans-serif;
}

h1 {
    color: #496b18;
    font-size: 28px;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
}

.Intro p {
    margin-bottom: 15px;
}

.intro-title {
    font-weight: bold;
}

.bold {
    font-weight: bold;
}

#about {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-column-gap: 50px;
    margin-top: 100px;
    justify-content: center;
}

#about img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    height: auto;
}

#about h2 {
    text-align: center;
    color: black;
    font-size: 26px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.location h2 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.location a {
    color: #496b18;
    word-wrap: break-word;
}

.location {
    margin-bottom: 70px;
}

.content-para {
    margin-top: 20px;
}

#about p {
    text-align: center;
}

.button-grid {
    display: grid;
    justify-content: center;
}

.button {
    background-color: #764c29;
    display: block;
    text-decoration: none;
    text-align: center;
    line-height: 2.9;
    color: #ffffff;
    border: 2px solid #764c29;
    padding: 2px 20px;
    white-space: nowrap;
    margin-top: 20px;
}

.button:hover, .button:focus {
    background-color: #ffffff;
    color: #764c29;
    border: 2px solid #764c29;
}

.button:focus:not(:focus-visible) {
    background-color: #764c29;
}

#map {
    margin-top: 150px;
    margin-bottom: 150px;
}

#map img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    width: 65%;
    height: auto;

}

.fsBody {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4em;
    padding-top: 0;
}

.about p {
    margin-bottom: 25px;
}

/*.about h2 {*/
/*    color: #142C57;*/
/*    margin-top: 50px;*/
/*}*/

.about ul li {
    font-weight: bold;
    font-size: 1.2em;
    list-style-type: none;
}

.people {
    display: flex;
    flex-flow: column;
    margin-bottom: 10%;
}

.policy, .Farm-Management,
.crop-marketing, .livestock,
.trade, .specialty-crops,
.agricultural-finance, .agricultural-law {
    display: flex;
    flex-flow: row;
    justify-content: center;
}


.person {
    width: 300px;
    height: 400px;
    padding: 25px 10px 25px 10px;

}

.person img {
    padding-left: 10%;
}

.people img {
    width: 80%;
    height: auto;
}

.people p {
    text-align: center;
    line-height: 1;
}

.people h2 {
    color: #142C57;
    font-size: 1.6em;
    border-bottom: 2px solid #142C57;
    width: 25%;
    text-align: center;
    margin-left: 37.5%;
    padding-bottom: 10px;
}

.people h2:nth-child(n+2) {
    padding-top: 12%;
}

.resource-info h1 {
    margin-bottom: 50px;
}

.resource-info h2 {
    color: #DB9648;
}

.links a {
    color: #000000;
    line-height: 1.5;
}

/* map thing */

#us-map {
    width: 80%;
    height: 100%;
    margin-top: -12%;
}

#g5 path:hover, circle:hover {
    stroke: #ffffff !important;
    stroke-width: 1px;
    stroke-linejoin: round;
    fill: #DCD0C6 !important;
    cursor: pointer;
}

/* Puerto Rico */
#svg10026 {
    width: 25%;
    height: 100%;
}

#g10548 path {
    fill: #142C57;
}

#g10548 path:hover {
    stroke: #ffffff !important;
    stroke-width: 1px;
    stroke-linejoin: round;
    fill: #DCD0C6 !important;
    cursor: pointer;
}

#VGI {
    width: 25%;
    height: 100%;
}

#Virgin-Island path {
    fill: #142C57;
}

#Virgin-Island path:hover {
    stroke: #ffffff !important;
    stroke-width: 1px;
    stroke-linejoin: round;
    fill: #DCD0C6 !important;
    cursor: pointer;
}

.VG {
    margin-top: -4%;
    margin-left: 7%;
    padding-left: 65%;
}

.Puerto {
    padding-left: 65%;
}

/* end of map thing */

#header-image img {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: -1;
}

#map h2 {
    color: #749a3e;
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.awards a {
    font-size: 18px;
    color: #496b18;
}

.awards li {
    font-size: 18px;
}

.awards ul, .awards ol {
    margin-left: 35px;
    margin-top: 15px;
    display: grid;
    grid-row-gap: 6px;
}

.day-schedule li {
    font-size: 18px;
}

.day-schedule ul {
    margin-left: 35px;
    margin-bottom: 20px;
    margin-top: 10px;
    display: grid;
    grid-row-gap: 6px;
}

.upload-link {
    display: block;
    width: fit-content;
    margin-top: 10px;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

/* Laptop Fix */

@media screen and (max-width: 1024px) {
    h2 {
        font-size: 1.2em;
    }

    #about h2 {
        font-size: 1.2em;
    }

    #about p {
        font-size: 1em;
    }

    .people h2 {
        padding-top: 10%;
    }

}

/* Tablet Views */

@media screen and (max-width: 768px) {
    #about {
        display: grid;
        grid-template-columns: 90%;
        grid-row-gap: 75px;
        margin-top: 100px;
        justify-content: center;
    }

    #about img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        height: auto;
    }

    /* map */
    #us-map {
        width: 100%;
        height: 100%;
        margin-top: -14%;
        margin-left: -10%;

    }

    .VG {
        margin-top: -4%;
        margin-left: 7%;
        padding-left: 72%;
    }

    .Puerto {
        padding-left: 72%;
    }

    #VGI {
        width: 33%;
        height: 100%;
    }

    /* Puerto Rico */
    #svg10026 {
        width: 30%;
        height: 100%;
    }

}

@media screen and (max-width: 645px) {

    /* map */
    .VG {
        margin-top: -5%;
        margin-left: 10%;
        padding-left: 72%;
    }

    .Puerto {
        padding-left: 72%;
    }

    #VGI {
        width: 50%;
        height: 100%;
    }

    /* Puerto Rico */
    #svg10026 {
        width: 45%;
        height: 100%;
    }

    #header-image img {
        width: 100%;
        height: auto;
    }

}

/* Mobile Views */

@media screen and (max-width: 550px) {
    .policy, .Farm-Management,
    .crop-marketing, .livestock,
    .trade, .specialty-crops,
    .agricultural-finance, .agricultural-law {
        display: grid;
        grid-template-columns: 1fr;
        grid-row-gap: 45px;
        align-items: center;
        justify-items: center;
    }

    .topic-area {
        text-align: center;
    }

    .people h2 {
        margin-left: 25%;
        width: 50%;
        margin-top: 100px;
    }

    .person {
        margin-bottom: 10%;

    }
}

@media screen and (max-width: 450px) {
    h1 {
        font-size: 24px;
    }

    .people h2 {
        font-size: 1.1em;
    }

    #about p {
        font-size: 0.9em;
    }

    .people img {
        width: 65%;
        margin-left: 8%;
    }

    .resource-info h2 {
        font-size: 1.1em;
    }

    .about ul li {
        font-size: 0.9em;
    }

    /* map */
    .VG {
        margin-top: -5%;
        margin-left: 9%;
        padding-left: 72%;
    }

    .Puerto {
        padding-left: 72%;
    }

    #VGI {
        width: 60%;
        height: 100%;
    }

    /* Puerto Rico */
    #svg10026 {
        width: 45%;
        height: 100%;
    }

}

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}
