body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif
}

hr {
    clear: both;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 20px 0
}

.w3-xxlarge-vw {
    font-size: 3.2vw;
}

body,
html {
    height: 100%;
    font-size: 1rem;
    --header-large-font-size: 2rem;
    --nav-height: calc(3.6rem*1.5 + 4vw);
}

.page-headers {
    color: black;
}

.page-header .logo {
    height: 120px;
    margin-top: -20px;
    margin-left: -40px;
    margin-right: 10px
}


/* #bfb1c4; thistle */
/* #C3ACB1; rose quartz */
.spiritual {
    --highlight-color: #D1B3C2; /* alt thistle */

    --highlight-dark: #472836; /* eggplant */;
}

/* teal #82BAB1 */
/* YlMn Blue #485696 */
/* space cadet #283053 */

/* slate grey #7286A*/
/* deep navy #3d4756 */
.meeting {
    --highlight-color: #82BAB1; /* teal */
    --highlight-medium: #485696; /* YlMn Blue */
    --highlight-dark: #283053; /* space cadet */
}

/* blush #F4E3DA */
/* rose quartz #C3ACB1 */
.booklet {
    --highlight-color: #F4E3DA; /* blush */
    --highlight-medium: #C3ACB1; /* rose quartz */
    --highlight-dark: #472836; /* eggplant */
    --booklet-header-height: 100px; /* approximate rendered height of .booklet-header */
}



/* pale green # C0DFC4*/
/* pale blue E3ECE4*/
.spot {
    --highlight-color: #E3ECE4;  
    --highlight-medium: #7286A2;
        /* slate grey */
    --highlight-dark: #3d4756;
    /* deep navy */
}



a {
    color: var(--highlight-dark);
}

footer {
    position: relative;
    height: 200px;
}
footer p {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    position: absolute;
    bottom: 0px;
    margin: 0px;
    text-align: center;
    width: 100%
}

footer a {
    color: #eaeaea;
}

a:hover {
    font-weight: 500;
    text-decoration: none; 
}

.section-content {
    max-width: 700px;
    margin: auto;
}

nav.section a {
    text-decoration: none;
    color: #eaeaea;
}

nav.section {
    position:fixed;
    background-color: var(--highlight-medium);
    left:0;
    top:var(--nav-height);
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    width: 200px;
}

@media screen and (max-width: 900px) {
    .section-content {
        padding-left: 180px !important;
        margin: 0px;
    }
}


nav.section a.w3-bar-item[active] {
    background-color: var(--highlight-dark);
}

.nav-menu {
    flex-grow: 1;
    margin: auto;
    display: flex; /* Establishes a flex container */
    flex-wrap: wrap; /* Allows items to wrap onto new lines */

}

.author {
    margin: auto;
    width: fit-content;
}

.section-highlight {
    padding: 64px 16px;
}

.spot .section-highlight {
    background-color: var(--highlight-color);
}

.spiritual .section-highlight {
    background-color: var(--highlight-color);
}

.meeting .section-highlight {
    background-color: var(--highlight-color);
}

.booklet .section-highlight {
    background-color: var(--highlight-color);
}

.section-dark {
    background-color: black;
    color: var(--highlight-color);
    padding: 64px 16px;
}

.section-light {
    background-color: white;
    color: black;
    padding: 64px 16px;
}

.section-light h2 {
    font-size: 24px;
    color: var(--highlight-dark);
}
.section-light h3 {
    color: var(--highlight-dark);
}
.section-light h4 {
    color: var(--highlight-dark);
    font-weight: 700;
}

.section-light .highlight {
    /* border-radius: 0px 0px 1rem 1rem; */
    /* border-bottom: solid 2px; */
    border-color: var(--highlight-color);
}

.section-light .highlight .top {
    border-radius: 1rem 1rem 0px 0px;
    background-color: var(--highlight-color);
    overflow: hidden;
    padding: 0px 1.5rem;
}

.section-light .highlight .bottom {
    padding: 1rem 1.5rem 1rem 1.5rem;
}


.w3-bar .w3-button {
    padding: 16px;
}

#myNavbar {
    background-color: #fffd;
    padding: 2vw 4vw;
    height: var(--nav-height);
}

.page-header .title {
    font-size: 2rem;
    font-style: normal;
    font-weight: 500;
    text-decoration-line: none;
}

strong {
    font-weight: 500;
}
.page-header .subtitle {
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    text-decoration-line: none;
}


.topspacer {
    width: 100%;
    height: var(--nav-height);
}

/* Full height image header */
.image-background-overlay {
    background-color: #fff5;
    position: absolute;
    x: 0;
    y: 0;
    z-index: 1;
    width: 100%;
    height: 100%
}

.image-overlay-text {
    padding-left: 48px;
    padding-right: 48px;   
    padding-top: var(--nav-height);
    color: white;
}
@media screen and (max-width: 400px) {
    .image-overlay-text {
            padding-left: 48px;
            padding-right: 48px;
            padding-top: calc(1.5rem + var(--nav-height));
            color: white;
        }
}

.topspacer.highlight-color {
    background-color: var(--highlight-color);
}

.header-menu-item {
    font-size: 1.2rem;
    overflow-wrap: break-word;
    text-decoration-line: none;
    font-weight: 300;
    padding: 0vw 1vw;
}
/* custom sizes for small screens */
@media screen and (max-width: 860px) {
    body, html {
        --nav-height: calc(3rem*1.5 + 4vw);
    }
    .page-header .subtitle {
        font-size: 1rem;
    }
    .page-header .logo {
        height: 80px;
        margin-top: -10px;
        margin-left: -0px;
        /* margin-right: 10px */
    }
    .topspacer {
        width: 100%;
        height: var(--nav-height);
    }
    .header-menu-item {
        font-size: 1rem;
    }
}


.content {
    max-width: 700px;
    margin: auto;
}

.events-container {
    max-width: 900px;
    margin: auto;
}

.event h1 {
    font-weight: 500;
    font-size: 1.2rem;
    text-align: center;
}

.event .description {
    margin: 4vw;
}

.event .date {
    text-align: center;
}
/* custom sizes for medium screens 
@media screen and (min-width: 601px) and (max-width: 860px) {
    .event h1 {
        font-size: 1.6rem;
    }
}
        */

/* custom sizes for small screens */
@media screen and (max-width: 600px) {
    .event h1 {
        font-size: 1.4rem;
        text-align: center;
    }
    .event .description {
        margin: 3vw;
     }
}

.reference h1 {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 500;
}


.ref {
    padding: 10px 40px;
}

.profile {
    margin: 0px;
    top: 100px;
    width: 100%;
}

.profile .maintext {
    width: 50vw;
    padding: 5vw;
}

.profile img {
    width: 50vw;
    float: right;
    object-fit: cover;
}

@media screen and (max-width: 640px) {
    .profile img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        object-position:0px -70px;
        float: none;
    }
    .profile .maintext {
        width: 100%;
        padding: 5vw;
    }
}

/* Booklet layout: multi-page reference booklets with prev/next paging */
.booklet-header {
    background-color: var(--highlight-color);
    padding: 16px 24px;
    min-height: var(--booklet-header-height);
    box-sizing: border-box;
}

.booklet-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.booklet-toc-link {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--highlight-dark);
    opacity: 0.75;
    font-size: 12px;
    text-decoration: none;
}

.booklet-toc-link i {
    font-size: 13px;
    flex-shrink: 0;
}

.booklet-toc-link:hover {
    opacity: 1;
}

.booklet-position {
    flex-shrink: 0;
    margin-left: 10px;
    color: var(--highlight-dark);
    opacity: 0.75;
    font-size: 12px;
}

.booklet-section {
    margin-bottom: 3px;
    color: var(--highlight-dark);
    opacity: 0.65;
    font-size: 13px;
}

.booklet-title {
    margin: 0;
    color: var(--highlight-dark);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
}

.booklet-arrow {
    position: fixed;
    top: calc(var(--nav-height) + var(--booklet-header-height) + (100vh - var(--nav-height) - var(--booklet-header-height)) * 0.33);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 64px;
}

.booklet-arrow-prev {
    left: 0;
}

.booklet-arrow-next {
    right: 0;
}

.booklet-arrow svg polygon {
    fill: var(--highlight-medium);
}

.booklet-arrow:hover svg polygon {
    fill: var(--highlight-dark);
}

@media screen and (max-width: 900px) {
    .booklet-body {
        padding-left: 48px;
        padding-right: 48px;
    }
}