@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

section.html {
    padding: 1rem 5%;
    margin-bottom: 1.5rem;
}
section.html:not(:has(div.sys_content)) { max-width:76ch; margin-right:auto; margin-left:auto; }
body.onePage section.html { padding:0; max-width:none; }
section.hero {
    position: relative;
    width: 100%;
    padding: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
section.hero .hero_content {
    position: relative;
    z-index: 1;
    padding: 1rem 0;
    width: 80%;
    margin: 0 auto;
}
section.hero .hero_bg {
    position:absolute;
    left:0; top:0;
    width:100%;
    height:100%;
    object-fit: cover;
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
}
section.split {
    display:grid;
    grid-template-columns: 1fr 1fr;
    padding:1rem 5%;
    align-items:center;
    margin-bottom:1rem;
    gap: 2rem;
}
section.split.flip *:first-child { order:2; }
section.split .split_content { padding:0.5rem 0; }
@media (max-width: 767px) {
    section.split { grid-template-columns: 1fr; }
}

section.grid {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem 5%;
    margin-bottom: 1rem;
    width: 90%;
    justify-content: space-evenly;
}
section.grid.gap_n { gap:0rem; }
section.grid.gap_s { gap:1rem; }
section.grid.gap_m { gap:3rem; }
section.grid.gap_l { gap:5rem; }

/* Trying to reach 90% width, not 100%. */
section.grid.col4.gap_n > .grid_cell { width: 22.5%; min-width: 200px; }
section.grid.col4.gap_s > .grid_cell { width: calc(22.5% - 0.75rem); min-width: 200px; }
section.grid.col4.gap_m > .grid_cell { width: calc(22.5% - 2.25rem); min-width: 200px; }
section.grid.col4.gap_l > .grid_cell { width: calc(22.5% - 3.75rem); min-width: 200px; }

section.grid.col3.gap_n > .grid_cell { width: 30%; min-width: 200px; }
section.grid.col3.gap_s > .grid_cell { width: calc(30% - 0.67rem); min-width: 200px; }
section.grid.col3.gap_m > .grid_cell { width: calc(30% - 2rem); min-width: 200px; }
section.grid.col3.gap_l > .grid_cell { width: calc(30% - 3.34rem); min-width: 200px; }

section.grid.col2.gap_n > .grid_cell { width: 45%; min-width: 200px; }
section.grid.col2.gap_s > .grid_cell { width: calc(45% - 0.5rem); min-width: 200px; }
section.grid.col2.gap_m > .grid_cell { width: calc(45% - 3rem); min-width: 200px; }
section.grid.col2.gap_l > .grid_cell { width: calc(45% - 2.5rem); min-width: 200px; }

@media (max-width:  949px) { section.grid.col4.gap_s > .grid_cell { width: calc(45% - 0.5rem); } }
@media (max-width: 1069px) { section.grid.col4.gap_m > .grid_cell { width: calc(45% - 3rem); } }
@media (max-width: 1189px) { section.grid.col4.gap_l > .grid_cell { width: calc(45% - 2.5rem); } }
@media (max-width:  569px) { section.grid.col4.gap_l > .grid_cell { width:80%; } }

@media (max-width:  709px) { section.grid.col3.gap_s > .grid_cell { width:80%; } }
@media (max-width:  799px) { section.grid.col3.gap_m > .grid_cell { width:80%; } }
@media (max-width:  889px) { section.grid.col3.gap_l > .grid_cell { width:80%; } }

@media (max-width:  709px) { section.grid.col2.gap_s > .grid_cell { width:80%; } }
@media (max-width:  699px) { section.grid.col2.gap_m > .grid_cell { width:80%; } }
@media (max-width:  767px) { section.grid.col2.gap_l > .grid_cell { width:80%; } }


section.image { width:100%; margin-bottom:1rem; }
section.video { width:90%; padding:0 5%; margin-bottom:1rem; }
section.iframe { padding:0 5%; margin-bottom:1rem; }
section.iframe iframe { background:#fff; border:1px solid #676767; margin-bottom:1rem; }

html, body {
    background: #231917;
    font: 18px "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.7;
    color: #2c2c2c;
}
page {
    display: block;
    margin: 0 auto;
    background: #e9f3f7;
    max-width: 1800px;
    min-height: 75vh;
    overflow-x: hidden;
}
page > header {
    padding: 1rem;
    height: 90px;
    display: grid;
    grid-template-columns: calc(90px * 8 / 2) auto 160px;
    gap: 1rem;
    background: #fff;
}
page > header #mobile_nav_expand { display:none; }
page > header a#logo {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 800 / 200;
}
page > header a#logo img { display:block; max-height:100%; max-width:100%; }
page > header a.button { margin-top:1rem; }

page > main {
    position: relative;
}
page > main > section:last-child { margin-bottom:0; }

footer {
    max-width: 1800px;
    margin: 0 auto;
}
@media screen and (min-width: 1800px) {
    page { border-radius:1rem; }
    page > header { border-radius:1rem 1rem 0 0; }
}
@media screen and (max-width:1024px) {
    page > header { grid-template-columns: 90px calc(90px * 8 / 2) auto; }
    page > header > div:last-child { text-align:right; }
    page > header #mobile_nav_expand { display:block; }
    page > header #mobile_nav_expand input { display:none; }
    page > header > #menu_holder {
        position: fixed;
        z-index: 10;
        padding: 2rem 1rem;
        left:0px; top:0px;
        width:380px;
        height:calc(100% - 4rem);
        overflow-x: hidden;
        overflow-y: auto;
        color: #fff;
        background: #231917;
        border-right: 1px solid #aaa;
        transition: left 0.25s ease;
    }
    page > header #mobile_nav_expand > label {
        display: block;
        width:90px; height:90px;
        background-repeat: no-repeat;
        background-size: 60px 60px;
        background-position: center;
        background-image: url('data:image/svg+xml;charset=utf-8,<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3 5H21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 12H21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 19H11" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    }
    page > header:has(#member_nav_open:not(:checked)) #menu_holder {
        left: -460px;
    }
}
@media screen and (max-width:768px) {
    page > header {
        padding: 0.5rem 0.5rem 1rem 0.5rem;
        grid-template-columns: 90px auto;
        gap: 0.25rem;
        height: auto;
    }
    page > header > div:has(a#logo) {
        grid-column: 1 / 3;
        grid-row: 2;
    }
    page > header #mobile_nav_expand > label {
        width:40px;
        height:40px;
        background-size:40px;
    }
    page > header a.button {
        padding:0.4rem 0.5rem 0.4rem 0.5rem;
        margin:0;
        border-radius: 0.3rem;
    }
}

footer > #links {
    padding: 3rem;
    display: flex;
    gap: 2rem;
    justify-content: space-evenly;
    color: #fff;
}
    footer > #links h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        color: #fff;
    }
    footer #links .short_code_service_times { font-size: 0.9rem; }
        footer #links .short_code_service_times .t { color:#d1d5db; }

    footer #links .short_code_church_address { font-size: 0.9rem; color: #d1d5db; }
        footer #links .short_code_church_address strong { color:#fff; }

    footer #links #quick-links .links {
        padding-left: 1rem;
    }
    footer #quick-links a {
        display: block;
        color: #fff;
        text-decoration: none;
        margin-bottom: 0.5rem;
    }
    footer #quick-links a:hover { color:#d1d5db; }

    footer #social-links .links {
        display: flex;
        flex-wrap: wrap;
    }
    footer #social-links .links a {
        margin: 0 0.5rem 0.5rem 0;
        padding: 0.3rem 0.35rem;
        background: #4d3e3a;
        border-radius: 2rem;
    }
    footer #social-links .links a div {
        width: 30px;
        height: 30px;
        background-repeat: no-repeat;
        background-size: cover;
        filter: brightness(0) invert(1);
    }
        footer #social-links .links a.Facebook div { background-image:url(/_img/icons/facebook-fill.svg?1); }
        footer #social-links .links a.Instagram div { background-image:url(/_img/icons/instagram-fill.svg?1); }
        footer #social-links .links a.Spotify div { background-image:url(/_img/icons/spotify-fill.svg?1); }

footer #copyright {
    padding: 2rem;
    color: #9ca3af;
    text-align: center;
    border-top: 1px solid #606067;
    font-size: 0.9rem;
    line-height: 1.25rem;
}
    footer #copyright a { color:#9ca3af; text-decoration:none; }
    footer #copyright a:hover { color:#d1d5db; }

@media screen and (max-width:740px) {
    footer > #links { padding:1rem; justify-content:space-between; }
}
@media screen and (max-width:660px) {
    footer > #links { display: block; }
    footer > #links > div {
        width: calc(100% - 2rem);
        margin: 0 auto 1.5rem auto;
    }
}


h1, h2, h3 {
    color:#3f7828;
    font-weight: 600;
    letter-spacing: -0.02em;
}
a { color:#2f7d32; }
a:hover { color:#1b5e20; }

button, a.button {
    border: 2px solid #fff;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    color: #fff;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
}
button.primary, button[type=submit], a.button.primary {
    color: #fff;
    background: #70a83d;
    border:none;
}


.short_code_service_times .service_times {
    position: relative;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}
.short_code_service_times .service_times::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    left: 0;
    background-color: currentColor;
    mask: url('/_theme/clock_icon.svg') center / contain no-repeat;
    -webkit-mask: url('/_theme/clock_icon.svg') center / contain no-repeat;
}
.short_code_service_times .p { font-weight: bold; }
.short_code_service_times .t { margin-bottom:0.25rem; }

.short_code_church_address {
    position: relative;
    padding-left: 2rem;
}
.short_code_church_address::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    left: 0;
    background-color: currentColor;
    mask: url('/_theme/map_pin.svg') center / contain no-repeat;
    -webkit-mask: url('/_theme/map_pin.svg') center / contain no-repeat;
}
    .short_code_church_address strong { display:block; margin-bottom:0.25rem; }



/******* MENU ***********/
nav#dt-menu1 {
    position:relative;
    z-index:2;
    line-height:1.4rem;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:1rem;
}
nav#dt-menu1 .close-btn { display:none; }
nav#dt-menu1 .menu-links {
    display:flex;
    width:100%;
    padding:0;
    margin:0;
    gap:0.5rem;
    justify-content: center;
}
nav#dt-menu1 li { list-style: none; }
nav#dt-menu1 li a {
    display:block;
    color:#000;
    text-decoration:none;
    font-size:1rem;
    font-weight:bold;
    padding:1rem 0.75rem;
    border-radius:5px;
    transition:all 0.3s ease;
}
nav#dt-menu1 li a:hover { background: #e9f3f7; }

nav#dt-menu1 .drop-menu {
    display:flex;
    flex-direction:column;
    position: absolute;
    top: 60px;
    padding: 0;
    /*width: 180px;*/
    background: #fff;
    line-height: 45px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 6px 10px rgba(0,0,0,0.5);
}
nav#dt-menu1 li:hover .drop-menu {
    transition: all 0.3s ease;
    top: 50px;
    opacity: 1;
    visibility: visible;
}
nav#dt-menu1 .drop-menu li a {
    padding: 0.5rem 1rem;
    border-radius: 0px;
}
nav#dt-menu1 .drop-menu li a:hover { background:#e9f3f7; }

@media screen and (max-width:1024px) {
    nav#dt-menu1 {
        position:static;
    }
    nav#dt-menu1 .close-btn {
        display:block;
        position:absolute;
        right:20px;
        top:10px;
        line-height:1em;
        color:#fff;
        font-size:2rem;
        cursor:pointer;
    }
    nav#dt-menu1 .close-btn::before {
        content:' ';
        display:block;
        background:currentColor;
        mask-size:cover; -webkit-mask-size:cover;
        width:1em;
        height:1em;
        mask-image:url('data:image/svg+xml;charset=utf-8,<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.75827 17.2426L12.0009 12M17.2435 6.75736L12.0009 12M12.0009 12L6.75827 6.75736M12.0009 12L17.2435 17.2426" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>');
        -webkit-mask-image:url('data:image/svg+xml;charset=utf-8,<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.75827 17.2426L12.0009 12M17.2435 6.75736L12.0009 12M12.0009 12L6.75827 6.75736M12.0009 12L17.2435 17.2426" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    }
    nav#dt-menu1 .menu-links { display:block; }
    nav#dt-menu1 li a { color:#fff; font-size:1.1rem; }
    nav#dt-menu1 li label { display:none; }
    nav#dt-menu1 .drop-menu {
        position:relative;
        background:transparent;
        padding-left:15px;
        width:auto;
        line-height:normal;
        top:auto;
        opacity:1;
        visibility:visible;
        box-shadow:none;
    }
    nav#dt-menu1 li:hover .drop-menu { top:auto; }
    nav#dt-menu1 .drop-menu li a { }
    nav#dt-menu1 .drop-menu li a:hover { background:transparent; }
}

.visitorTrackingPermission a[for=accept] { background:#70a83d; }