
html {
    max-width: 1500px;
    margin: auto;
}


/*Body*/

body {
    width: 100%;
    background-color: #3b0908;
    min-height: 100vh;
}

.forum-regular {
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
}


/*Banner Styles*/

/*.banner {
    display: flex;
    justify-content: space-between;
    height: 100px;
    margin: auto;
    align-items: center;
    width: 100%;
    text-align: center;
}

.banner1 {

}

.banner2 {

    overflow: none;
    color: white;
    font-size: 3vw;
}

.banner3 {
    margin-right: 20px;
}*/


/*Donate Page*/

/*
.donatebutton {
   border: 2px solid black;
   border-radius: 20px;
   margin: 0px 5px 10px 5px;
   padding: 10px 25px;
   background-color: white;
   max-width: 120px;
   font-size: 1em;
}

a.donatebutton:hover {
   background-color: #008000;
}
.donatebutton:hover {
   background-color: lightgray;
   color: white;
   text-decoration: none;
}*/


/*Main Section CSS*/
/*General Settings*/


.xl {
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 10rem;
    color: lightgray;
    text-align: center;
}

h1 {
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 6rem;
    color: lightgray;
    margin: auto;
    text-align: center;
}

h2 {
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 5rem;
    color: lightgray;
    text-align: center;
}


h3 {
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 4rem;
    color: lightgray;
    text-align: center;
}


h4 {
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem;
    color: lightgray;
    text-align: center;
}

h5 {
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    color: lightgray;
    text-align: center;
    line-height: .1vmin;
}

h6 {
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: bold;
    font-size: 1.5rem;
    color: lightgray;
    text-align: center;
    margin-top: 5px;
}


p {
    font-family: "Forum", serif;
    font-size: 1.5vh;
    margin: 5px;
    color: #3b0908;
}


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

    .xl {
        font-family: "Forum", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 10rem;
        color: lightgray;
        text-align: center;
    }

    h1 {
        font-family: "Forum", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 3rem;
        color: lightgray;
        margin: auto;
        text-align: center;
    }

    h2 {
        font-family: "Forum", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 2.75rem;
        color: lightgray;
        text-align: center;
    }


    h3 {
        font-family: "Forum", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 2.5rem;
        color: lightgray;
        text-align: center;
    }


    h4 {
        font-family: "Forum", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 2.25rem;
        color: lightgray;
        text-align: center;
    }

    h5 {
        font-family: "Forum", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 2rem;
        color: lightgray;
        text-align: center;
        line-height: .1vmin;
    }

    h6 {
        font-family: "Forum", serif;
        font-weight: 400;
        font-style: bold;
        font-size: 1.75rem;
        color: lightgray;
        text-align: center;
        margin-top: 5px;
    }


    p {
        font-family: "Forum", serif;
        font-size: 1.5vh;
        margin: 5px;
        color: #3b0908;
    }
}


/*About Page FAQ*/

.accordion {
    background-color: lightgray;
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
    color: #444;
    cursor: pointer;
    padding: 18px;
    border: none;
    text-align: left;
    outline: none;
    font-size: 3vw;
    transition: 0.4s;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

.active /*, .accordion:hover*/
{
    background-color: lightgray;
    color: orangered;
}

.accordion:after {
    content: '[\002B]';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "[\2212]";
}

.panel {
    padding: 0 18px;
    background-color: lightgray;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    color: black;
    width: 87.5%;
    margin-left: 5%;
    margin-right: 5%;
}

p.aboutfaq {
    color: black;
    font-size: 2vw;
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
    text-align: left;
}


hr.aboutfaq {
    border: 1px solid black;
    width: 90%;
    opacity: 0.5;

}

.faqframe {
    border: 1px solid lightgray;
    width: 80%;
    margin: auto;
    background-color: lightgray;
    border-radius: 20px;
}

/*Image Gallery*/
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
    grid-column-start: 1;
    grid-row-start: 1;
    grid-row-end: 3;
    align-content: start;
    max-width: 700px;
    margin: 0 auto;
    transition: all 150ms linear;
}

.gallery input[type="radio"] {
    display: none;
}

.gallery label {
    position: relative;
    display: block;
    padding-bottom: 60%;
    margin: 5px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

.gallery label:before {
    border: 1px solid #e3e3e3;
    content: '';
    position: absolute;
    left: -5px;
    right: -5px;
    bottom: -5px;
    top: -5px;
}

.gallery img {
    display: none;
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 2;
    width: 100%;
    transition: all 150ms linear;
}

.gallery input[name="select"]:checked + label + img {
    display: block;
}

.gallery input[name="select"]:checked + label:before {
    border: 1px solid #000;
}


/*Battalion History Page*/


.officersbatthist {
    width: 100%;
    outline: 2px solid #874363;
    margin: 15px;
    padding: 10px;
    line-height: 200%;
    background-color: lightgray;
    border-radius: 15px;
}

.officersbatthist:hover {
    background-color: white;
}

img.officersbatt {
    float: right;
    width: 50%;
    border-radius: 15px;
    margin: 5% 1% 5% 1%;
}

/*Battle of Arnhem*/

.battenclosed {
    width: 45%;
    margin: 15px;
    padding: 0 3px 5px 5px;
    line-height: 200%;
    background-color: lightgray;
    color: #3b0908;;
    border-radius: 15px;
}

.battenclosed:hover {
    background-color: white;
}


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

    .battenclosed {
        width: 100%;
        margin: 15px;
        padding: 0 3px 5px 5px;
        line-height: 200%;
        background-color: lightgray;
        color: #3b0908;;
        border-radius: 15px;
    }

}



/*About Page*/
p.churchill {
    margin: 0 60px 60px 60px;
}

/*Our Mission*/

.mission-text {
    color: #3b0908;
}


.mission-container {
    display: flex;
    justify-content: center;
    padding: .5rem;
    flex-flow: wrap;
    gap: .5rem;
    margin: auto;
}


.mission-enclosed {
    width: 33%;
    margin: 15px;
    padding: 10px 20px 22px 22px;
    line-height: 200%;
    background-color: lightgray;
    color: #3b0908;;
    border-radius: 15px;
}


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

    .mission-enclosed {
        width: 100%;
        margin: 15px;
        padding: 0 3px 5px 5px;
        line-height: 200%;
        background-color: lightgray;
        color: #3b0908;;
        border-radius: 15px;
    }

    .mission-text {
        color: #3b0908;
        font-size: 3vh;
    }
}

ul.mission-enclosed {
    margin-left: -10px;
}


.mission-enclosed:hover {
    background-color: white;
}


/*Contact Page*/


.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    width: 90%;
    margin: auto;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.email {
    grid-area: 1 / 1 / 2 / 2;
    border: 2px solid #874363;
    border-radius: 20px;
    background-color: lightgray;
    padding: 10px;
}

.faq {
    grid-area: 2 / 1 / 3 / 2;
    border: 2px solid #874363;
    color: #3b0908;
    border-radius: 20px;
    background-color: lightgray;
    padding: 10px;
}

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

    .contact {
        display: flex;
        flex-direction: column;
        width: 90%;
        margin: auto;
        color: white;
        font-family: Arial, Helvetica, sans-serif;
    }

}

h6.faqh6 {
    color: #3b0908;
    text-align: left;
}

.contactform {

    grid-area: 1 / 2 / 3 / 3;
    border: 2px solid #874363;
    border-radius: 20px;
    background-color: lightgray;
    padding: 10px;
    font-size: .9em;
    box-shadow: 0 15px 25px rgba(0, 0, 0, .6);
}


hr {
    width: 90%;
    /*border: 1px solid #874363;*/
    margin: auto;
}

label {
    display: block;
    margin: auto;
    padding: 1vh;
    line-height: 2px;
}

input[type="text"], input[type="email"], input[type="number"], input[type="password"] {
    display: block;
    margin: 2% auto;
    width: 85%;
    height: 4vh;
    max-height: 30px;
    border-radius: 5px;
    border: solid 2px #3b0908;
    background-color: white;
}

input[type="submit"] {
    display: block;
    margin: 4% auto;
    width: 30%;
    height: 4vh;
    background-color: white;
    color: #3b0908;
    font-family: "Forum", serif;
    font-size: 2vh;
    border-radius: 10px;
    cursor: pointer;
}

button[type="submit"] {
    display: block;
    margin: 4% auto;
    width: 30%;
    height: 3vh;
    background-color: white;
    color: #3b0908;
    font-family: "Forum", serif;
    font-size: 2vh;
    border-radius: 10px;
    cursor: pointer;
}

button:hover {
    transform: scale(1.05);
}


textarea {
    display: block;
    margin: 2% auto 0;
    width: 85%;
    height: 22vh;
    max-height: 165px;
    border-radius: 5px;
    border: solid 2px #874363;
    background-color: white;
    font-family: "Forum", serif;
    font-size: 1.5vh;
    color: white;
}

input:hover {
    transform: scale(1.05);

}

input {
    color: #3b0908;
}

input::placeholder {
    opacity: 0.5;
    color: #3b0908;
    font-family: "Forum", serif;
    font-size: 1.5vh;
}

textarea::placeholder {
    opacity: 0.5;
    color: #3b0908;
    font-size: 1em;
}

textarea:hover {
    transform: scale(1.05);
}

textarea::input {
    color: #3b0908;
}

/*h2 {
    text-align: center;
}*/

.terms {
    color: #3b0908;
}

a.terms {
    color: #3b0908;
}

.form-label {
    color: #3b0908;
    font-family: "Forum", serif;
    font-size: 1.5vh;
    text-align: left;
}


/*Members Area*/

.formsbox {
    background-color: lightgray;
    border-radius: 15px;
    padding: 5px;
    margin: auto;
    width: 40%;
}

@media screen and (max-width: 800px) {
    .formsbox {
        background-color: lightgray;
        border-radius: 15px;
        padding: 5px;
        margin: auto;
        width: 50%;
    }
}

.notice {
    color: #3b0908;
    background-color: lightgray;
    border-radius: 15px;
    width: 25%;
    margin: auto;
    padding: 10px;
    text-align: center;
    border: 2px solid red;
}

.dashboardnavbar {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0ps;
}

.dashboardnavbar img {
    width: 6vw;
    float: left;
}

.dashboardnavbar1 {
    grid-column-start: 1 / 1 / 4 / 2;
}

.dashboardnavbar2 {
    grid-area: 1 / 2 / 4 / 5;
}


/*Blockquote*/
blockquote {
    font-size: 1.4em;
    height: 18vw;
    margin: 50px auto;
    font-family: Open Sans;
    font-style: italic;
    color: #555555;
    padding: 1.2em 30px 1.2em 75px;
    border-left: 8px solid #78C0A8;
    line-height: 1.6;
    position: relative;
    background: #EDEDED;
    z-index: 0;
}

blockquote::before {
    font-family: Forum, serif;
    content: "\201C";
    color: #78C0A8;
    font-size: 4em;
    position: absolute;
    left: 10px;
    top: -10px;
}

blockquote::after {
    content: '';
}

blockquote span {
    display: block;
    color: #333333;
    font-style: normal;
    font-weight: bold;
    margin-top: 1em;
    z-index: 0;
}


/*Ordered Lists*/
/*Forum Regular Font*/
/*.forum-regular {
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 10vw;
}*/


ol.decimal {
    list-style-type: decimal;
    /*margin-left: 20px;*/
}

ul.circle {
    list-style-type: circle;
    margin-left: 20px;
}


.container {
    display: flex;
    justify-content: center;
    padding: .5rem;
    flex-flow: wrap;
    gap: .5rem;
    margin: auto;
}

.enclosed {
    width: 30%;
    margin: 15px;
    padding: 0 3px 5px 5px;
    line-height: 200%;
    background-color: lightgray;
    color: #3b0908;;
    border-radius: 15px;
}


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

    .enclosed {
        width: 100%;
        margin: 15px;
        padding: 0 3px 5px 5px;
        line-height: 200%;
        background-color: lightgray;
        color: #3b0908;;
        border-radius: 15px;
    }

}

ul.enclosed {
    margin-left: -10px;
}


.enclosed:hover {
    background-color: white;
}

.quotes {
    max-width: 450px;
}

.textOverPictureHome {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bottom-left {
    position: absolute;
    bottom: 24%;
    left: 16px;
    font-size: 3vw;
}


/*XIth Battalion Members Database Listing Page*/


.dots {
    color: white;
}

.centre {
    text-align: center;
}


.pagination {
    list-style-type: none;
    padding: 10px 0;
    display: inline-flex;
    justify-content: space-between;
    box-sizing: border-box;
}

.pagination li {
    box-sizing: border-box;
    padding-right: 10px;
}

.pagination li a {
    box-sizing: border-box;
    background-color: #e2e6e6;
    padding: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    color: #616872;
    border-radius: 4px;
}

.pagination li a:hover {
    background-color: #d4dada;
}

.pagination .next a, .pagination .prev a {
    text-transform: uppercase;
    font-size: 12px;
}

.pagination .currentpage a {
    background-color: #518acb;
    color: #fff;
}

.pagination .currentpage a:hover {
    background-color: #518acb;
}

a:hover {
    font-weight: bold;
}

a {
    color: #3b0908;
    text-decoration: none;
}

.soldiers {
    display: flex;
    color: #3b0908;
    font-size: 1.5vw;
    padding: 20px;
    border-radius: 15px;
    background-color: lightgray;
    max-width: 80%;
    margin: auto;
}


.soldiers h2 {
    font-family: "Forum", serif;
    font-size: 3vh
    color: #3b0908;
}

/*Individual Soldier Listing*/

.returntofulllist {
    border: 1px solid lightgray;
    padding: 10px;
    border-radius: 15px;
}

a.returntofulllist {
    color: lightgray;
}

a.returntofulllist:hover {
    color: white;
}


.postcardparent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 80%;
    margin: auto;
    border-radius: 5px;
    color: black;
    background-color: #fbf1e7;
    padding: 10px;
    aspect-ratio: 5.5 / 3.5;
}

.circle {
    border-radius: 20%;
    max-width: 15vw;
    max-height: 15vh;
    float: left;
}

@media only screen and (max-width: 800px) {
    h4 {
        font-size: 1vh;
    }

    .circle {
        max-height: 5vh;
    }

}

.postcard {
    margin-top: auto;
    margin-bottom: auto;
    border-right: black 2px dashed;
    height: 95%;
    width: 97.5%;
}



