@font-face {
    font-family: 'TrebuchetMS-Italic';
    src: url('/assets/fonts/TrebuchetMS-Italic.eot');
    src: url('/assets/fonts/TrebuchetMS-Italic.eot?#iefix') format('embedded-opentype'),
    url('/assets/fonts/TrebuchetMS-Italic.woff2') format('woff2'),
    url('/assets/fonts/TrebuchetMS-Italic.woff') format('woff'),
    url('/assets/fonts/TrebuchetMS-Italic.ttf') format('truetype'),
    url('/assets/fonts/TrebuchetMS-Italic.svg#TrebuchetMS-Italic') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

main ul li {
    line-height: 1.65;
}

main > article:first-of-type {
    min-width: 200px;
    flex-basis: 60%;
}
main > article#events {
    min-width: 165px;
}

main > article.contentText > p {
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;
}

main article#contentText > div.quoted {
    display: block;
    overflow: auto;
}

main article#contentText > div.quoted > p,
main article.contentText > div.quoted > p {
    color: #3A7C22;
    margin: 2rem 0 0 10%;
    font-style: italic;
    font-weight: bold;
}

div.captionCredit {
    display: block;
    text-align: right;
    margin: 0.5rem 1rem 2rem 0;
    font-size: 0.8rem;
    /*font-family: 'Ubuntu Condensed', sans-serif;*/
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;
}

h4 {
    text-align: left;
    font-family:  "TrebuchetMS-Italic", "Trebuchet MS", "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;
    font-size: 1.25rem;
    font-variant: italic;
    color: var(--nav-button-bg);
    padding: 0.2rem 1rem;
}
h4.hallTitle {
    text-align: center;
    max-width: 80%;
    min-width: 280px;
    margin: auto;
}


main > article.volunteer h3 {
    color:#000;
    text-align: left;
    font-size: 1.65rem;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;
}

main article#events > img {
    display: block;
}

main article:not(.imageCol_1),
main > div#contactsFloater {
    background-color: rgba(255,255,255,0.85);
}
main > article.imageBlock {
    background-color: transparent;
}

main {
    background: linear-gradient(rgba(255,255,255,0), rgba(20,50,20,0.65)),  url('/images/background_orchard_green.jpg');
    background-size: cover;
    background-repeat: repeat-y;
    background-attachment: fixed;
    /*  backdrop-filter: saturate(20%); */
    text-align: center;
}

main article.contentText.wide {
    min-width: 300px;
    max-width: 1280px;
    width: 90%;
}

/***
 * Contact List float RHS on wide screens.
 ***/

main > div#contactsFloater {
    width: 40%;
    max-width: 400px;
    margin:1rem auto;
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;
}
div#contactsFloater > div,
div#contentBox3 > div:nth-of-type(3) > div,
div#contentBox3 > div:nth-of-type(2) > div.contactHead {
    margin-bottom: 0.75rem;
}
div#contactsFloater > div > span,
div#contentBox3 > div:nth-of-type(3) > div > span,
div#contentBox3 > div:nth-of-type(2) > div.contactHead > span {
    font-size: 0.9rem;
    font-weight: bold;
    display: block;
}
div#contactsFloater > div > span,
div#contentBox3 > div:nth-of-type(3) > div > span {
    background-position: left center;
    background-size: 40px;
    /*background-size: contain;*/
    background-repeat: no-repeat;
    padding-left: 40px;
}
div#contactsFloater > div:nth-of-type(1) > span,
div#contentBox3 > div:nth-of-type(3) > div:nth-of-type(1) > span {
    background-image: url('/images/villagehall/committee_icon_1.png');
}
div#contactsFloater > div:nth-of-type(2) > span,
div#contentBox3 > div:nth-of-type(3) > div:nth-of-type(2) >  span {
    background-image: url('/images/villagehall/committee_icon_2.png');
}
div#contactsFloater > div:nth-of-type(3) > span,
div#contentBox3 > div:nth-of-type(3) > div:nth-of-type(3) > span {
    background-image: url('/images/villagehall/committee_icon_3.png');
}
div#contactsFloater > div:nth-of-type(4) > span,
div#contentBox3 > div:nth-of-type(3) > div:nth-of-type(4) > span {
    background-image: url('/images/villagehall/committee_icon_4.png');
}
div#contactsFloater > div:nth-of-type(5) > span,
div#contentBox3 > div:nth-of-type(3) > div:nth-of-type(5) > span {
    background-image: url('/images/villagehall/committee_icon_5.png');
}
div#contactsFloater h2,
div#contactBox3 div h2 {
    color: var(--nav-button-bg);
    margin: 0;
}
div#contactsFloater h3,
div#contentBox3 > div:nth-of-type(3) > div > h3,
div#contentBox3 > div:nth-of-type(2) > div.contactHead > h3 {
    background-color: #0F9ED5;
    border-radius: 2.5rem;
    margin: 0 0 0.15rem;
    color:#fff;
}


div#contentBox3 > div:nth-of-type(2) > div.contactHead > h3 {
    font-weight: normal;
}

@media screen and (min-width:1401px) {
    main > div#contactsFloater {
        position: absolute;
        top: 560px;
        width: 270px;
        left: calc(50vw + 440px);
        background-color: #fff;
    }
}
@media screen and (min-width: 1401px) and (max-width: 1460px) {
    main > div#contactsFloater {
        width: 250px;
    }
}

@media screen and (max-width: 1400px) {
    main > div#contactsFloater {
        padding: 1rem 2.5rem;
    }
    main > div#contactsFloater h2,
    div#contactBox3 div h2 {
        margin: 0.25rem auto 0.5rem;
    }
    div#contactsFloater > div > span {
        background-size: unset;
    }
}
@media screen and (max-width: 880px) {
    main > div#contactsFloater {
        padding: 1rem 1.5rem;
        min-width: 300px;
        width: 55%;
    }
}

/*/////////////////////////////////////////////////////////////////////////////*/
div.outerBoxFlex {
    display: block;
    width:100%;
    margin:1rem auto;
    overflow: auto;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;
    text-align: left;
}
div.outerBoxFlex div.header {
    background-color: #1F832D;
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: left;
    display: block;
    font-size: 1.4rem;
    font-style: italic;
}
div.outerBoxFlex > div.box {
    background-color: #fff;
    color: #000;
    width:20%;
    min-width: 150px;
    display: inline-block;
    text-align: center;
    vertical-align: text-top;
}
div.outerBoxFlex > div.box > h4 {
    background-color: #00B0F0;
    color: #fff;
    display: block;
    padding: 0.5rem 0.35rem;
    margin:0.25rem;
    font-size: 1.2rem;
    min-height: 4rem;
    height: 4rem;
}
div.outerBoxFlex > div.box > a {
    width:90%;
    display: inline-block;
    height: 90px;
    max-height: 70px;
    max-width: 150px;
}
div.outerBoxFlex > div.box > a > img {
    width:100%;
    height:auto;
}
div.outerBoxFlex:nth-of-type(3) > div.box > a {
    max-width: 120px;
}
div.outerBoxFlex:nth-of-type(3) > div.box > h4 {
    text-align: right;
}
/*/////////////////////////////////////////////////////////////////////////////*/

div#outerBox,
div#outerBox2,
div#outerBox3 {
    width: 100%;
    display: block;
    overflow: auto;
    padding: 0.1rem;
}

div#outerBox > div.left,
div#outerBox2 > div.left,
div#outerBox3 > div.left,
div#outerBox > div.right,
div#outerBox2 > div.right,
div#outerBox3 > div.right {
    width:auto;
    max-width: 49.5%;
    display: inline-block;
    min-width: 300px;
    vertical-align: text-top;
    padding: 0.1rem 0.2rem;
}
div#outerBox figure,
div#outerBox2 figure,
div#outerBox3 figure {
    max-width: 100%;
}

div#outerBox figure > img,
div#outerBox2 figure > img,
div#outerBox3 figure > img {
    width: 100%;
    max-width: 100%;
    height: auto;
}
figure > figcaption {
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;
}

main article p.thankyouText {
    margin: 2rem 1rem;
}

.greenText {
    color: var(--text-green);
    /*font-weight: bold;*/
}

ul li {
    text-align: left;
}

div#outerBox > div.right > p.committee {
    display: block;
    border-top:2px solid #000;
    border-bottom:2px solid #000;
}

div#outerBox figcaption,
div#outerBox2 figcaption,
div#outerBox3 figcaption {
    font-weight: bold;
    color: var(--text-green);
}

/***
 *
 ***/
table.rowColour {
    margin: 1rem auto 2rem;
    max-width: 1100px;
    width: 95%;
}
table.rowColour tbody tr td {
    padding: 0.5rem;
}

/***
 * Lightbox styling fix.
 ***/
.lb-data .lb-caption {
    font-size: 0.9rem;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;
}

/***
 * End Supporters
 *
 * Start Tree Types Listing Datatables
 ***/
main article div#treetypes_wrapper {
    margin: 1rem auto;
    font-family: "Trebuchet MS","Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;
    width: 90vw;
    max-width: 800px;
}

p em.indent {
    padding:0 2rem;
    display: inline-block;
}

main article table#treetypes {
    border-collapse: collapse;
}

main article table#treetypes > thead > tr > th,
main article table#treetypes > tbody > tr > td {
    line-height: 1.85;
}
main article table#treetypes thead th {
    color: #953221;
    background-color: #C2E2C4;
    border-bottom: 2px solid #26713B;
    text-align: center;
}
main article table#treetypes tbody tr:nth-of-type(odd) {
    background-color: #F5F0B1;
}
main article table#treetypes tbody tr.smallerText td {
    font-size: 0.9rem;
}
main article table#treetypes tbody.ttt_border tr td:first-of-type{
    border-right: 1px solid #26713B;
}
main article table#treetypes.padded {
    margin: 2rem 1rem;
}
main article table#treetypes.padded tr td {
    padding: 0.25rem;
}

div#outerBox2 > div.left figcaption {
    display: none;
}

main#bg > article.contentText.readingBlock.transparantSupporter {
    background-color: rgba(0,0,0,0);
}

main#bg > article.contentText.readingBlock.transparantSupporter .whiteBox {
    margin: 2rem auto;
}

div#facilitiesBox {
    display: flex;
    width:100%;
    margin:auto;
    overflow: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

div#facilitiesBox > div {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content:space-evenly;
    align-items: stretch;
    display: flex;
}

div#facilitiesBox > div > h3,
div#facilitiesBox > div > img {
    flex-basis: 33%;
    height: auto;
    max-width: 99%;
}

div#facilitiesBox h3{
    color:#fff;
    background-color: #00B0F0;
    margin:0;
    padding: 0.25rem;
}

div#facilitiesBox img {
    width:auto;
    height:auto;
    max-height: 488px;
}


/****
 * Contact Box
 ****/
div#contentBox3 {
    display: flex;
    width:100%;
    margin:auto;
    overflow: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:space-evenly;
    align-items: stretch;
}


div#contentBox3 > div {
    align-self: flex-start;
    width: 33%;
    flex-grow: 0;
    min-width: 265px;
}

div#contentBox3 > div > img {
    width: 628px;
    max-width: 100%;
}
div#contentBox3 > div:nth-of-type(2) p {
    font-size: 1rem;
}


div#contentBox3 > div:nth-of-type(3) > div {
    width: 90%;
    margin: 0 auto 1rem;
}
div#contentBox3 > div > h2,
div#contentBox3 > div > h3 {
    color: var(--nav-button-bg);
    font-size: 1.8rem;
    font-family: 'Aptos', 'Noto Sans', sans-serif;
    line-height: 2rem;
    margin-top: 0.5rem;
    text-align: center;
    text-transform: capitalize;
}

@media screen and (max-width: 750px) {
    div#facilitiesBox {
        display: block;
        margin: 2rem auto;
    }

    div#facilitiesBox > div {
        display: inline-block;
        max-width: 300px;
        margin: 1rem auto;
        vertical-align: text-top;
    }
}


@media screen and (max-width: 680px) {
    div#outerBox2 div.left figcaption {
        display: block;
    }
    div#outerBox figcaption,
    div#outerBox2 figcaption,
    div#outerBox3 figcaption {
        font-size: 0.9rem;
    }
    div#outerBox > div.left,
    div#outerBox > div.right,
    div#outerBox2 > div.left,
    div#outerBox2 > div.right,
    div#outerBox3 > div.left,
    div#outerBox3 > div.right {
        max-width: unset;

    }

    div#outerBox2 {
        display: flex;
        flex-direction: column;
    }
    div#outerBox2 > div.left {
        order:2;
    }
    div#outerBox2 > div.right {
        order:1;
    }
}

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

    #logoList figure {
        flex-basis: 100%;
    }
    main > article.contentText > h1 {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width:767px) {
    #jq {
        top: 170px;
    }
    table.rowColour tbody tr td:not(:first-of-type) {
        border-left:1px solid #26713b;
    }

}
@media screen and (max-width:550px) {
    #jq {
        top: 220px;
    }
    #logoList,
    main#bg > article.contentText.readingBlock.transparantSupporter .whiteBox {
        width: 96%;
    }
    #logoList .individualSponsorText,
    main#bg > article.contentText.readingBlock.transparantSupporter .whiteBox .individualSponsorText {
        display: block;
        margin:1rem auto;
    }
    main article table#treetypes.padded {
        margin: 2rem 0.5rem;
    }
    main article div#treetypes_wrapper {
        width:80vw;
    }
}

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

    #logoList figure a,
    #logoList figure figcaption {
        width: 100%;
        min-height: 3rem;
        display: block;
        margin: auto;
        text-align: center;
        padding-left:0;
        padding-top: 1rem;
    }
    main article table#treetypes.padded {
        margin: 2rem 0;
    }
}
