/*****
CSS Style Sheet by Bailey McWhorter
2015-2022
for the Gordon Elwood Foundation
Medford, Oregon
******/

/****************** Global style *****************/
* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 20px;
    vertical-align: baseline;
    background: transparent;
}

html {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    font-family: "Roboto", "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(179, 179, 179, 0.3);
}

#content {
    padding-top: 1em;
    padding-left: 20%;
    padding-right: 20%;
    line-height: 1.4em;
    padding-bottom: 5%;
    overflow-wrap: break-word;
}

a {
    color: #ce8206;
    text-decoration: underline;
    font-weight: 700;
}

a:hover {
    color: #870b3a;
}

p {
    line-height: 1.6;
    padding-bottom: 10px;
}

p.paragraphHeading {
    font-weight: 900;
    line-height: 1.6;
    padding-bottom: 0;
}

p.paragraphCenter {
    padding-top: 10px;
    text-align: center;
}

p.paragraphItalic {
    padding-top: 10px;
    font-style: italic;
}

p.redText {
    font-size: 1.4rem;
    color: #97586c;
    font-weight: bold;
    margin-top: 15px;
    padding: 0;
    line-height: normal;
}

p.yellowText {
    font-size: 1.2rem;
    padding-top: 10px;
    margin: 0;
    color: #ce8206;
    font-weight: bold;
    text-decoration: none;
    text-decoration-color: #97586c;
}

ul,
li {
    list-style: none;
    line-height: 1.6;
}

ul.listText {
    font-size: 1.3rem;
}

ul#grant-list-decimal li {
    list-style: decimal;
}

ul#grant-list-circle li {
    list-style: circle;
}

li.list-no-deco {
    list-style: none !important;
}

li.indentList {
    padding-left: 35px;
}

figcaption {
    font-size: 1rem;
    text-align: center;
    color: #3e3e3e;
    padding-bottom: 20px;
    padding-top: 5px;
}

figure img {
    margin: auto;
    display: block;
    padding-top: 20px;
    padding-bottom: 5px;
}

#quote {
    width: 50%;
    margin: auto;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #daded4;
}

/************ Header ************/
header {
    clear: right;
}

#logo {
    width: 250px;
    padding-bottom: 1em;
    padding-top: 3em;
    z-index: 3;
    display: block;
    margin: auto;
}

#divider {
    display: block;
    margin: auto;
    width: 600px;
}

/************ Search Box ************/
.gsc-control-cse {
    float: right;
    background-color: transparent !important;
    width: 300px !important;
    z-index: 10;
}

/************ header styles ************/
h1 {
    font-size: 2.5rem;
    text-align: center;
    color: #464f38;
    font-weight: 700;
    text-shadow: 2px 2px #b9bfba;
    margin-bottom: 0.8em;
    text-transform: uppercase;
    line-height: 1em;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #464f38;
    font-weight: 700;
    text-shadow: 2px 2px #b9bfba;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    text-transform: uppercase;
    line-height: 1em;
}

h2.sub {
    font-size: 2rem;
    text-align: left;
    color: #464f38;
    font-weight: 700;
    text-shadow: 2px 2px #b9bfba;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    text-transform: uppercase;
    line-height: 1em;
}

h3 {
    font-size: 1.3rem;
    color: #97586c;
    font-weight: bolder;
    margin: 0;
    margin-top: 10px;
    margin-bottom: 6px;
    padding: 0;
}

h4 {
    font-size: 1.2rem;
    color: #404e30;
    font-weight: 900;
    margin: 0;
    padding-bottom: 8px;
}

/****************** Footer style *****************/
#footer-block {
    width: 100%;
    height: 100%;
    background-color: #828c73;
    left: 0;
    bottom: 0;
    margin: 0;
    overflow: hidden;
}

#footer-text {
    padding-top: 30px;
    padding-bottom: 30px;
    color: white;
    text-align: center;
}

#footer-link-list {
    text-align: center;
    padding-top: 15px;
    padding-bottom: 30px;
}

#footer-link-list li {
    display: inline;
    padding-right: 40px;
    font-weight: 600;
}

#footer-link-list a {
    color: white;
}

#footer-link-list a:hover {
    text-decoration: underline;
}

/****************** index style *****************/
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    text-align: center;
}

.grid-text {
    align-content: center;
}

.index-img {
    max-width: 100%;
    height: 100%;
    animation: fadeIn 2s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

div#gordonQuote {
    display: block;
    margin: auto;
    width: 900px;
    height: 340px;
    padding: 50px 50px 50px 50px;
}

img#gordonImg {
    width: 269px;
    margin: 0;
    padding-top: 10px;
    float: left;
}

p#quoteHeader {
    background-color: #828c73;
    width: 860px;
    color: white;
    font-size: 2rem;
    padding: 5px 20px 5px 20px;
    font-family: "Times New Roman", Times, serif;
    font-weight: 600;
}

p#quoteBody {
    position: absolute;
    width: 598px;
    padding-left: 275px;
    z-index: 3;
    color: black;
    /* font-size: 1.9rem; **/
    font-size: 1.5rem !important;
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    font-style: oblique;
}
/************ Trustee & Staff page ************/
#StaffContent {
    padding-top: 0.5em;
    padding-left: 30px;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    display: inline-block;
}

.bio {
    display: inline-block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
}

.boardPicture {
    float: right;
    width: 190px;
    padding-left: 1em;
    padding-bottom: 0.5em;
    display: block;
}

.date {
    color: #ce8206;
}

#TrusteeContent {
    width: 20%;
    display: inline-block;
    font-size: 1rem;
    vertical-align: top;
}

.asideList li {
    padding-left: 10px;
    border-bottom: 0.5px solid #ffd186;
    margin: 5px;
}

.asideHeading {
    font-weight: 700;
    color: white;
    background-color: #464f38;
    padding: 2px;
    margin-top: 10px;
    text-align: left;
    padding-left: 10px;
}

/************ Stories from the Region ************/
.flexContainer {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
}

.item {
    margin-left: 100px;
    margin-right: 100px;
    margin-bottom: 10px;
    width: 360px;
    height: 230px;
}

.item:hover {
    box-shadow: 0 0 14px #ccc;
}

.sorsimg {
    width: 150px;
    margin: 10px;
}

.sorsimg:hover {
    box-shadow: 0 0 14px #ccc;
}

#newstoriesFormatting {
    line-height: 2em;
    text-align: left;
}

a.email {
    color: #ce8206;
}

/************ Grants Award History ************/
tr:hover {
    background-color: #daded4;
}

td.sub {
    padding-left: 10%;
}

/************ Grants Award History by Catagory ************/
.grantchart {
    width: 50%;
    padding: 1em;
}

/************ Formatting for Direct Charitable Activities ************/
.collaborationEfforts {
    margin: 1.5em;
    padding: 30px;
    background-color: #daded4;
    width: 90%;
}

/************ Disaster Resources ************/
#disaster-resources-list li {
    padding-bottom: 20px;
}

/************ Grants ************/
#grantFocus {
    width: 75%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: center;
    background-color: #f3f4f1;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.2);
}

#thumbnailLetter:hover {
    transform: scale(1.1);
}

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

@media only screen and (max-width: 600px) {
    .gsc-control-cse {
        display: none;
    }

    ul.listText,
    p,
    p.redText {
        font-size: 0.8rem;
    }

    h1,
    h2 {
        font-size: 2rem;
        margin-bottom: 5px;
    }

    #content {
        padding-top: 1em;
        padding-left: 5%;
        padding-right: 5%;
    }

    .grid-container {
        display: contents;
        justify-content: center;
        text-align: center;
    }

    .grid-text {
        padding: 5px;
    }

    .index-img {
        width: 100%;
        height: auto;
    }

    .photoHide {
        display: none;
    }

    div#gordonQuote {
        margin: 0;
        width: 98%;
        height: 280px;
        padding: 5px;
    }

    img#gordonImg {
        width: 148px;
    }

    p#quoteHeader {
        width: 95%;
        font-size: 1.1rem;
        padding: 0;
    }

    p#quoteBody {
        width: 50%;
        padding-left: 161px;
        font-size: 1rem;
        text-align: center;
    }

    #divider {
        width: 100%;
    }

    #footer-text {
        padding-top: 15px;
        padding-bottom: 5px;
    }

    #footer-link-list {
        padding-top: 5px;
        padding-left: 8px;
        padding-bottom: 5px;
    }

    #footer-link-list li {
        display: flex;
        padding-right: 0;
        padding-bottom: 5px;
    }

    #quote {
        width: 80%;
    }

    #TrusteeContent {
        width: 100%;
        display: inline-block;
        text-align: center;
    }
    .asideHeading {
        text-align: center;
    }

    #StaffContent {
        padding-left: 0;
        width: 100%;
    }

    .mobile-photo {
        width: 100%;
    }

    #mobile-iframe {
        display: none;
    }

    .item {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
        height: 100%;
    }

    .collaborationEfforts {
        margin: 0;
        padding: 15px;
        width: 95%;
    }
}