html, body, div, h1, h2, h3, p, img {
    margin: 0; padding: 0;
}
body {
    font: 16px sans-serif;
    background: #e7e7e7;
}
h1 { color: #004687; font-size: 32px; }
h2 { color: #004687; font-size: 24px; }
h3 { color: #272D32; font-size: 20px; }

p { margin-bottom:1.25em; }
img { border:none; display:block; }
a { color: #004687; }
a:hover { color: #002667; }
.clear { clear:both; }

#wrapper {
    position: relative;
    padding: 1em 15px 3em 15px;
    width: clamp(330px, 80%, 1170px);
    margin: 0 auto;
    background: #fff;
    box-shadow: 0px 0px 20px #666;
}

header { margin-bottom: 1em; }
header > img { width: clamp(100%, 100%, 800px); margin: 0 auto; }

#page_content {
    display: block;
    padding: 1em 0 38px 0;
}
    #page_content img { max-width:100%; }

#meeting_times {
    padding: 1em 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1em 2em;
    justify-content: center;
}
    #meeting_times .day {
        padding: 0.5em 1em 1em 1em;
        font-size: 1.25em;
        line-height: 1.25em;
        box-shadow: 0px 2px 6px #666;
    }
    #meeting_times .day h3 {
        display: block;
        text-align: center;
        border-bottom: 1px solid #333;
        margin-bottom: 0.25em;
    }
.address {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 1.5em;
}

.contact_section {
    display: flex;
    position: relative;
    gap: 0.5em 1.5em;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5em;
}
    .contact_section > h3 {
        text-align: center;
        width: 100%;
    }
    .contact_section .contact {
        padding: 0.5em 1em;
        box-shadow: 0px 2px 8px #666;
        text-align: center;
    }
        .contact_section .contact strong { display:block; }

.form-group {
    padding: 0.25em 0.5em 0.5em 0.5em;
}
    .form-group > label {
        display: block;
        padding-bottom: 0.2em;
    }
    .form-group > input[type=text], .form-group > input[type=email] {
        font-family: inherit;
        font-size: inherit;
        width: calc(100% - 1em);
        max-width: 350px;
        padding: 0.5em 0.5em;
    }
    .form-group > textarea {
        font-family: inherit;
        font-size: inherit;
        width: calc(100% - 1em);
        height: 5.6em;
        padding: 0.5em 0.5em;
    }
form button {
    padding: 0.5em 1em;
    border: 0;
    background: #ccc;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}
form button[type=submit] {
    background: #004687;
    color: #fff;

}


footer {
    position: fixed;
    left: 0; bottom: 0;
    width: 100%;
    padding: 0.6rem 0;
    background: #272D32;
    color: #ccc;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 0.3rem 1.6rem;
    flex-wrap: wrap;
}
    footer a { color:#f0f0f0; text-decoration:none; }
    footer a:hover { text-decoration:underline; }

@media (max-width: 579px) {
    #wrapper { padding-top:2em; }
}


#menu-dt #menu, #menu-dt #menu div, #menu-dt #menuOpen {
    background: #004687;
    color: #fff;
    -webkit-user-select:none;
    user-select:none;
}
#menu-dt a {
    padding: 0.5em 1em;
    color: #fff;
    text-decoration: none;
    text-wrap: nowrap;
}
#menu-dt a:hover { background-color:#002667; }

#menu-dt.desktop #menuOpen, #menu-dt.desktop #menuClose { display:none; }
#menu-dt.desktop #menu {
    display: flex;
    justify-content: space-between;
}
#menu-dt.desktop #menu > div {
    position: relative;
    display: flex;
    flex-grow: 1;
}
#menu-dt.desktop #menu a {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
#menu-dt.desktop .subnav-expander {
    padding:0.6rem 0.3rem 0 0.3rem;
    font-size: 20px;
    cursor: pointer;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
#menu-dt.desktop .subnav-expander::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" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.90588 4.53682C6.50592 4.2998 6 4.58808 6 5.05299V18.947C6 19.4119 6.50592 19.7002 6.90588 19.4632L18.629 12.5162C19.0211 12.2838 19.0211 11.7162 18.629 11.4838L6.90588 4.53682Z" fill="currentColor" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    -webkit-mask-image:url('data:image/svg+xml;charset=utf-8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.90588 4.53682C6.50592 4.2998 6 4.58808 6 5.05299V18.947C6 19.4119 6.50592 19.7002 6.90588 19.4632L18.629 12.5162C19.0211 12.2838 19.0211 11.7162 18.629 11.4838L6.90588 4.53682Z" fill="currentColor" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    transition: transform 0.5s;
}
#menu-dt.desktop #menu > div:hover .subnav-expander::before,
#menu-dt.desktop .active .subnav-expander::before {
    transform: rotate(90deg);
}
#menu-dt.desktop .subnav {
    position: absolute;
    z-index: 1;
    left: 5%; width:95%;
    top: 2.3rem;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.5s;
    transition-timing-function: ease-in;
}
#menu-dt.desktop #menu > div:hover .subnav,
#menu-dt.desktop .active .subnav {
    transition-timing-function: ease-out;
}


#menu-dt.mobile {
    position: absolute;
    left:0; top:0;
}
#menu-dt.mobile #menuOpen {
    display:flex;
    padding: 0.6rem 0.6rem 0.3rem 0.6rem;
    border: 1px solid #fff;
    border-radius: 0.6rem;
    flex-direction: column;
    position: relative;
    top: 5px;
    left: 5px;
    z-index: 1;
    cursor: pointer;
}
#menu-dt.mobile #menuOpen span {
    display: flex;
    width: 29px;
    height: 2px;
    margin-bottom: 5px;
    position: relative;
    background: #fff;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 5px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        opacity 0.55s ease;
    cursor: pointer;
}
#menu-dt.mobile #menuOpen span:first-child { transform-origin:0% 0%; }
#menu-dt.mobile #menuOpen span:nth-last-child(2) { transform-origin:0% 100%; }

#menu-dt.mobile #menuClose {
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    padding: 0.6rem 0.6rem 0.3rem 0.6rem;
    width: 29px;
    height: 29px;
    cursor: pointer;
}
#menu-dt.mobile #menuClose span {
    position: absolute;
    top:23px;
    width:29px;
    height: 2px;
    background: #fff;
    border-radius: 3px;
    transform: rotate(-45deg);
}
#menu-dt.mobile #menuClose span:first-child { transform: rotate(45deg); }

#menu-dt.mobile #menu {
    position: fixed;
    z-index: 2;
    top: 0px;
    left: -100%;
    padding: 1rem;
    width: calc(70% - 2rem);
    height: 100vh;
    box-shadow: 0 0 10px #85888C;
    transition: left 0.5s ease;
    font-size: 1.4rem;
}
#menu-dt.mobile #menu.open { left: 0px; }
#menu-dt.mobile a {
    display:block;
    padding: 0.5rem 1rem;
}
#menu-dt.mobile .subnav {
    padding-left: 2.5rem;
}