/* Nav changes */

header#header .container {
    max-width: 1400px;
    margin-left: 25px;
    margin-right: 25px;
}

header#header .container .menu--main ul.level1 {
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
}

header#header .container .menu--main > ul > li {
    font-size: 24px;
    margin-bottom: 0!important;
}

header#header .container .menu--main > ul > li:last-of-type {
    margin-right: 25px;
}

@media (min-width: 1025px) {
    .menu--main li a.donate {
        border: 2px solid #9a0064;
        border-top-right-radius: 12px;
        border-bottom-left-radius: 12px;
        background-color: #9a0064;
        color: #fff;
        padding: 10px 15px;
        margin-bottom: 20px;
    }

    .menu--main li a.donate:hover {
        background-color: transparent;
        color: #9a0064;
        
    }
}

nav .menu--main > ul > li > .wrap {
    display: block;
}

nav .menu--main > ul > li > .wrap .main-menu-submenu.level2 {
    margin: 0!important;
    padding: 25px;
}

/* End of nav changes */

body ul:not(.line-col3) {
    list-style-position: outside!important;
    margin: 30px 0px 30px 20px!important;
}

body ul li {
    margin-bottom: 1rem!important;
}

body .node-article ul li:last-child {
    margin-bottom: 0px!important;
}

.resource-download-table th a {
font-size: 16px;
}

.resource-download-row {
    border-bottom: 2px solid #9a0064;
}

.resource-download-table .views-field.views-field-location {
    text-wrap: wrap;
    width: 60%;
    word-break: break-word;
    padding: 1rem 3rem 1rem 0;
}

.resource-download-table .views-field.views-field-message,
.resource-download-table .views-field.views-field-referer {
    text-wrap: wrap;
    width: 40%;
    padding: 1rem 3rem 1rem 0;
}

.resource-download-table .view-location-table-column {
    overflow-wrap: anywhere;
}

.resource-download-table nav {
    text-align: center;
    margin-top: 2rem;
}

.resource-download-table nav ul {
    display: inline-flex;
}

.resource-download-table nav ul li {
    padding: 0 1rem 1rem 1rem;
    font-size: 24px;
}

body .b-cards ul {
    margin: -10px 0px -10px 0px!important;
}

body .b-cards ul li {
    margin-bottom: 0!important;
}

/* Footer changes */
footer .footer-top {
    display: flex;
    justify-content: space-between;
    /* background-image: url(../images/purple-mosaic.png); */
    background-image: url('../png/grey-mosaic.png');
    background-size: cover;
    max-width: 1900px;
    margin-left: auto;
    margin-right: auto;
}

footer .footer-top .donate {   
    font-size: 24px;     
    border: 2px solid #9a0064;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
    background-color: #9a0064;
    color: #fff;
    padding: 10px 15px;
    margin-bottom: 20px;
}


footer .footer-top .donate:hover {
    background-color: transparent;
    color: #9a0064;
}

footer .footer-top .footer-top-left {
    flex-basis: 60%;
}

footer .footer-top .footer-top-left > div {
    padding: 30px;
}

footer .footer-top .footer-top-right {
    background: linear-gradient(120deg, transparent 50%, #ffcb03 50%);
}

footer .footer-top .footer-top-right > div {
    padding: 30px;
}

footer .footer-top .footer-top-right > div > div{
    flex-basis: 30%;
    background-image: url(../png/testsquare.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    width: 400px;
    color: white;
}

footer .footer-top h2 {
    width: 50%;
}

/* Footer option 2 */
footer .footer-top.two {
    background-size: cover;
}

footer .footer-top.two .footer-top-left {
    flex-basis: 100%;
}

footer .footer-top.two .footer-top-left a {
    margin: auto;
    width: 100%;
    display: block;
    width: fit-content;
}

/* Footer option 3 */
footer .footer-top.three {
    display: flex;
    justify-content: center;
    background-image: url(../png/blue-mosaic.png);
    background-repeat: no-repeat;
    background-size: cover;
}

footer .footer-top.three .footer-top-left {
    color: #fff;
    flex-basis: 60%;
    text-align: center;
}

footer .footer-top.three .footer-top-left a {
    margin: auto;
    width: 100%;
    display: block;
    width: fit-content;
}

footer .footer-top.three .footer-top-left h2 {
    width: 100%;
}

/* Separator */
.separator {
    background-color: white;
    height: 20px;
}


/* Social links */
.footer-right-second .menu ul {
    margin: 0!important;
}

.footer-right-second .menu ul a,
.footer-right-second .menu ul a::before {
    width: 40px;
    height: 40px;
    line-height: 40px;
}

/* Charity seals */
.charity-seals {
    display: flex;
}

.charityone {
    margin-right: 20px;
}

.charitytwo {
}



/* Additional history timeline elements */

.b-timeline.d-20s {
    grid-template-columns: 25% 25% 25% 17% 8%;
    grid-template-rows: 165px repeat(8, auto) 90px;
}

.y-20 {
    grid-column: 2;
}

.y-20-2 {
    grid-column: 3 / 5;
}

.y-21 {
    grid-column: 3 / 5;
}

.y-21-2 {
    grid-column: 2;
}

.y-22 {
    grid-column: 3 / 5;
}

.b-timeline.d-20s .p0 {
    grid-column: 3 / 5;
}

.y-22-1 {
    grid-column: 3;
}

.y-22-2 {
    grid-column: 2;
}

.y-22-3 {
    grid-column: 2;
    grid-row: 6;
    margin-left: auto;
    margin-right: 0;
    padding-top: 25px;
}

.y-24 {
  z-index: 2;
  max-width: 430px;
  margin-left: auto;
  grid-column: 2/4;
  grid-row: 7;
  padding-top: 30px;
  padding-bottom: 60px;
  padding-left: 30px;
}

.y-24 div {
  position: relative;
}

.y-24-1 {
 max-width: 390px;
  margin-left: auto;
  text-align: right;
  grid-column: 1;
  grid-row: 8;
  padding-top: 50px;
  padding-bottom: 30px;
  padding-right: 30px;
}

.b-timeline.d-20s .p1 {
    grid-column: 3;
}

.b-timeline.d-20s .p2 {
    grid-column: 4;
}

.b-timeline.d-20s .p3 {
    grid-row: 5 / 7;
    grid-column: 2 / 4;
}

.b-timeline.d-20s .p3::before {
    display: none;
}

.b-timeline.d-20s .p4 {
    position: relative;
    grid-column: 4;
    grid-row: 7 / 8;
}

.b-timeline.d-20s .p5 {
    position: relative;
    grid-column: 3;
    grid-row: 8 / 11;
    border-top: 2px solid #00b6f1;
    border-radius: 25px 0 0 0;
}

.b-timeline.d-20s .p5::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: -10px;
    display: block;
    width: 18px;
    height: 16px;
    background: url(../png/arrow.png) center no-repeat;
    background-size: contain;
}

.b-timeline.d-20s .tline.bdr {
    display: none;
}

@media only screen and (max-width: 1024px) {
    .b-timeline.d-20s{
        grid-template-columns: 26% 74%;
    }

    .b-timeline.d-20s .tline.bdr {
        display: block;
        grid-column: 1;
        grid-row: 1 / 12;
        border-width: 0px;
        border-right-width: 2px;
    }

    .y-24 {
        grid-row: 10;
    } 
}