
:root {
    --header-height: 46px;
    --footer-height: calc(187px + 81px);
    --page-width: 100vw;
    --side-margin: calc((100vw - var(--page-width)) / -2);
    --primary: #283991;
}

@media (min-width: 768px) {
    :root {
        /* --page-width: 750px; */
    }
}

@media (min-width: 992px) {
    :root {
        --page-width: 970px;
    }
}

@media (min-width: 1201px) {
    :root {
        --page-width: 1170px;
    }
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


/*This changes the box model of everything in the website and can be overwriten per component if needed. To read more about box-sizing and why you'd want to overwrite it see https://css-tricks.com/international-box-sizing-awareness-day/ or https://www.w3schools.com/cssref/css3_pr_box-sizing.asp*/


/*--------------------------------------------------------
    FONT ASSIGNMENTS
--------------------------------------------------------*/

body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    color: #4D4D4D;
}

p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    color: #4D4D4D;
    line-height: 24px;
    margin-bottom: 20px;
}

#subpage-main p:empty {
    display: none;
}


/*^^ Break tags shouldn't be used to space out lines, only to make text within a paragraph break to a new line*/


/*--------------------------------------------------------
    H1 - H6
--------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #000000;
    margin: 0px;
    padding: 0px;
    padding-bottom: 25px;
}

h1 a,
h2 a,
h3 a,
h4,
h5 a {
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size: 32px;
    color: #000000;
}

h2 {
    font-size: 26px;
    font-weight: 600;
    color: #000000;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
}

h4 {
    font-size: 18px;
}

h1.title {
    margin-top: 15px;
}

h1.title:empty {
    display: none;
}


/*^^Hides the extra margin that is added on pages without a title*/

#subpage-main p:not(:empty)+h2,
#subpage-main p:not(:empty)+h3,
#subpage-main p:not(:empty)+h4,
#subpage-main ul+h2,
#subpage-main ul+h3,
#subpage-main ul+h4,
#subpage-main table+h2,
#subpage-main table+h3,
#subpage-main table+h4 {
    margin-top: 1.5em;
}

#subpage-main h2+ul,
#subpage-main h3+ul,
#subpage-main h4+ul {
    margin-top: -.75rem;
    /*Adjusts for the margin-bottom placed on these headings to make the ul's look like they belong to that heading*/
}

ol,
ul {
    margin-top: 20px;
}


/*--------------------------------------------------------
    LINKS
--------------------------------------------------------*/

/* a {
    color: ;
}

a:hover,
a:focus {
    color: ;
} 

a.button {

}*/

a.button:hover,
a.button:focus {
    text-decoration: none;
}

a.button+* {
    padding-top: 1.5em;
}


/*--------------------------------------------------------
    Objects
--------------------------------------------------------*/

#subpage-main img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

figcaption {
    font-style: italic;
    font-size: .9em;
    padding-top: 5px;
}

@media (max-width: 767px) {
    figcaption {
        font-size: 1em;
    }
}

@media (min-width: 767px) {
    /*The following styles are meant to give more space to the label column in contact forms that are too narrow for the entire label to be read normally*/
    .col-md-5 form[action="contact_form_resp.php"] .col-sm-2,
    .col-md-4 form[action="contact_form_resp.php"] .col-sm-2,
    .col-md-3 form[action="contact_form_resp.php"] .col-sm-2,
    .col-md-2 form[action="contact_form_resp.php"] .col-sm-2,
    .col-md-1 form[action="contact_form_resp.php"] .col-sm-2 {
        width: 25%;
        padding-right: 1em;
    }
    .col-md-5 form[action="contact_form_resp.php"] .col-sm-10,
    .col-md-4 form[action="contact_form_resp.php"] .col-sm-10,
    .col-md-3 form[action="contact_form_resp.php"] .col-sm-10,
    .col-md-2 form[action="contact_form_resp.php"] .col-sm-10,
    .col-md-1 form[action="contact_form_resp.php"] .col-sm-10 {
        width: 75%;
        padding-left: 0;
    }
    .col-md-5 form[action="contact_form_resp.php"] .col-sm-offset-2,
    .col-md-4 form[action="contact_form_resp.php"] .col-sm-offset-2,
    .col-md-3 form[action="contact_form_resp.php"] .col-sm-offset-2,
    .col-md-2 form[action="contact_form_resp.php"] .col-sm-offset-2,
    .col-md-1 form[action="contact_form_resp.php"] .col-sm-offset-2 {
        margin-left: 25%;
    }
    /*^^Adjusts the form-group placement of the reCAPTCHA iframe and submit buttom to match the new widths from the styles above*/
}

blockquote {
    font-size: inherit;
}

/* accordion */

h4:has(.accordion-toggle) {
    padding-bottom: 0;
}


/*Styles below are taken from Bootstrap's table style to ensure that tables on content pages are responsive and neat whether Bootstrap classes are added or not*/

#subpage-main table {
    max-width: 100%;
    border-collapse: collapse;
    color: #212529;
    margin-bottom: 1em;
}

#subpage-main table td,
#subpage-main table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    text-align: inherit;
}

#subpage-main table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    border-top: none;
}

#subpage-main table caption {
    padding-top: .75rem;
    padding-bottom: .75rem;
    color: #6c757d;
    text-align: left;
    caption-side: bottom;
}

#subpage-main table tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, .075);
}

.grammarly-btn {
    display: none;
    /*If someone copy/pastes text from Grammarly it will add this invisible button and cause the page to scroll horizontally. This style hides that.*/
}


/*--------------------------------------------------------
                      MAIN HEADER
--------------------------------------------------------*/

#main-header {
    padding: 5px 0px;
}

#logo-wrap {
    display: inline-block;
    margin-bottom: 0px;
    max-width: 100%;
}

svg#main-logo {
    max-width: 100%;
    width: 212px;
    height: 110px;
}

#right-side-wrap {
    text-align: right;
    margin-top: 48px;
}


/* Login */

#login-mobilemenu-wrap {
    float: right;
    display: inline-block;
    vertical-align: middle;
}

#login-wrap {
    display: inline-block;
    vertical-align: middle;
}

#login-wrap a {
    background: #FAB529;
    color: #202742;
    padding: 6px 12px 5px;
    position: relative;
    top: 12px;
    text-decoration: none;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 2px;
}

#login-wrap a:hover,
#login-wrap a:focus {
    background: #FAB529;
}

#login-wrap a span {
    padding-left: 5px;
}


/* Mobile Login */

li.mobile-login a {
    border-bottom: 0px !important;
}

li.mobile-login span {
    margin-left: 5px;
}


/*--------------------------------------------------------
                    Search Bar
--------------------------------------------------------*/

#search-wrap {
    display: inline-block;
    vertical-align: middle;
    color: #3F4444;
    position: relative;
}

.search-main-wrap {
    display: inline-block;
    vertical-align: middle;
    margin-top: 20px;
}

.search-input {
    background: transparent;
    border: 2px solid #fff;
}

#search-wrap ::-webkit-input-placeholder {
    color: #999999;
}

#search-wrap :-moz-placeholder {
    /* Firefox 18- */
    color: #999999;
}

#search-wrap ::-moz-placeholder {
    /* Firefox 19+ */
    color: #999999;
}

#search-wrap :-ms-input-placeholder {
    color: #999999;
}

.icon-search:before {
    content: url("../images/search-icon.png");
}

#search-wrap input {
    box-shadow: none;
    height: 40px;
    color: #999999 !important;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Nunito Sans', sans-serif;
    padding: 0px 13px;
    border: 1px solid #E6E6E6;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

#search-wrap button {
    background: #FAB529;
    box-shadow: none;
    border: 0;
    color: #fff;
    padding: 5px 13px 0px;
    height: 40px;
    border-radius: 0px;
    outline: none;
    border-top: 1px solid #FAB529;
    border-bottom: 1px solid #FAB529;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

.input-group.search-input-wrap {
    border: 0px;
    background: #fff;
    border-radius: 3px;
}


/* Mobile Search Bar */

li.mobile-search-wrap {
    margin-top: 35px;
    margin-bottom: 0px;
    padding-left: 0px;
    width: 260px;
}

li.mobile-search-wrap a {
    padding-left: 0px !important;
    padding-right: 0px !important;
    border-bottom: 0px !important;
}

li.mobile-search-wrap .input-group.search-input-wrap {
    border: 1px solid #bcb2d8;
    background: #fff;
}

li.mobile-search-wrap .icon-search:before {
    content: url(../images/mobile-search-icon.png);
}

.mobile-search-wrap input {
    border: 0px;
    box-shadow: none;
    height: 39px;
    color: #3F4444;
    font-size: 16px;
    font-family: 'Nunito Sans', sans-serif;
    padding: 0px 12px;
    font-weight: normal;
}

.mobile-search-wrap ::-webkit-input-placeholder {
    color: #3F4444;
}

.mobile-search-wrap :-moz-placeholder {
    /* Firefox 18- */
    color: #3F4444;
}

.mobile-search-wrap ::-moz-placeholder {
    /* Firefox 19+ */
    color: #3F4444;
}

.mobile-search-wrap :-ms-input-placeholder {
    color: #3F4444;
}

.mobile-search-wrap button {
    background: transparent;
    box-shadow: none;
    border: 0;
    color: #fff;
    padding: 10px 10px;
    height: 39px;
    border-radius: 0px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

.mobile-search-wrap button:hover,
.mobile-search-wrap button:focus {
    background: transparent;
    color: transparent;
}


/*--------------------------------------------------------
                    Desktop Navigation
--------------------------------------------------------*/

.dropdown-menu li {
    width: 100%;
}

.nav>li>a:hover,
.nav>li>a:focus {
    background-color: transparent;
}


/*--------------------------------------------------------
                    Index / Main Body
--------------------------------------------------------*/

main {
    /* min-height: calc(100vh - 44px - 149px - 48px - 130px); */
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
    /*The minimum height of the main section of the page should be the height of the screen minus the header and footer*/
    position: relative;
}

main#subpage-main {
    padding-top: 20px;
}

#subpage-main #mms-main {
    margin-bottom: 2.5em;
}

@media (max-width: 900px) {
    #subpage-main #mms-main {
        margin-bottom: 2.25em;
    }
}

@media (min-width: 767px) {
    #subpage-main .row {
        margin-bottom: 2em;
    }
}

@media (max-width: 767px) {
    #subpage-main div[class^="col-md"] {
        margin-bottom: 2em;
    }
}

/*^^These two styles can be tweaked if needed, but they are a handy default for spacing rows (and then columns once the screen hits the col-xs breakpoint on subpages*/


/*----------------Slideshow----------*/

.slideshow-wrap {
    margin-bottom: 60px;
    position: relative;
}

@media (min-width: 768px) and (max-width: 990px) {
    .slideshow-wrap {
        margin-bottom: 50px;
    }
}

@media (max-width: 767px) {
    .slideshow-wrap {
        margin-bottom: 40px;
    }
}

.slideshow-wrap .container {
    width: 100%;
}

.slideshow-wrap img {
    width: 100%;
}

.slideshow-wrap .carousel-inner .item img {
    max-height: 500px;
    object-fit: cover;
}

.slideshow-wrap a {
    text-decoration: none;
}

.slideshow-wrap [class*="col-"] {
    padding: 0;
}

.slideshow-wrap .carousel-control {
    display: none;
}

.slideshow-wrap .carousel-caption {
    background: rgba(40, 57, 145, 0.9);
    padding: 10px 0px;
}

#slide-row {
    margin-bottom: 10px;
}

.carousel-control.left,
.carousel-control.right,
.carousel-control:hover {
    background-image: none;
    z-index: 101;
}

.carousel-control {
    margin: auto 0px;
    display: none;
}

.carousel-control.left {
    height: 50px;
    width: 50px;
    color: #fff;
    top: 0px;
    left: auto;
    line-height: normal;
    bottom: 0;
    margin: auto;
    opacity: 1;
    text-shadow: none;
    font-family: 'Nunito Sans', sans-serif;
    background: rgba(77, 77, 77, 0.6);
    vertical-align: middle;
    text-align: center;
    padding-right: 2px;
    border: 0px;
    border-radius: 30px;
    margin-left: 15px;
}

.carousel-control.right {
    height: 50px;
    width: 50px;
    color: #fff;
    top: 0px;
    left: auto;
    right: 0px;
    line-height: normal;
    bottom: 0;
    margin: auto;
    opacity: 1;
    text-shadow: none;
    font-family: 'Nunito Sans', sans-serif;
    background: rgba(77, 77, 77, 0.6);
    vertical-align: middle;
    text-align: center;
    padding-left: 2px;
    border: 0px;
    border-radius: 30px;
    margin-right: 15px;
}

@media (min-width: 768px) and (max-width: 990px) {
    .carousel-control.left,
    .carousel-control.right {
        bottom: 35%;
    }
}

@media (max-width: 767px) {
    .carousel-control.left,
    .carousel-control.right {
        height: 38px;
        width: 38px;
        bottom: 55%;
    }
}

.carousel-control img {
    width: 16px;
    height: 24px;
    margin-top: 13px;
}

@media (max-width: 767px) {
    .carousel-control img {
        margin-top: 7px;
    }
}

.caption-wrapper {
    max-width: 1170px;
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
}

.carousel-caption {
    position: absolute;
    z-index: 100;
    background: transparent;
    left: auto;
    top: auto;
    right: 0px;
    bottom: 0px;
    width: 100%;
    text-align: center;
    text-shadow: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 990px) {
    .carousel-caption {
        background: rgba(19, 46, 113, 1);
        display: block;
        position: static;
        width: 100%;
        height: auto !important;
        min-height: 150px !important;
    }
}

@media (max-width: 460px) {
    .carousel-caption {
        min-height: 180px !important;
    }
}

.caption-inside-wrap {
    background: rgba(19, 46, 113, 0.75);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 15px 0px;
}

p.caption-text {
    font-size: 24px;
    font-weight: 600;
    display: block;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin-bottom: 8px;
    word-wrap: break-word;
    line-height: normal;
}

p.alt-text {
    font-size: 18px;
    font-family: 'Nunito Sans', sans-serif;
    color: #ffffff;
    margin-bottom: 0px;
    text-align: center;
    display: inline-block;
    word-wrap: break-word;
    line-height: 22px;
}

@media (max-width: 767px) {
    p.alt-text {
        font-size: 16px;
    }
}

.carousel-indicators {
    bottom: 0px;
}

.carousel-indicators li {
    width: 13px;
    height: 13px;
    margin-left: 8px !important;
    margin: 0 auto;
    background-color: #CACFE0;
    border: 1px solid #CACFE0;
    border-radius: 15px;
}

.carousel-indicators li.active {
    width: 13px;
    height: 13px;
    margin-left: 8px !important;
    margin: 0 auto;
    background-color: #FAB529;
    border: 1px solid #FAB529;
    border-radius: 15px;
}


/*----------------End Slideshow------*/


/*--------------------------------------------------------
                    News and Events Feeds
--------------------------------------------------------*/


/*--------------------------------------------------------
                    Index / Home Page
--------------------------------------------------------*/


/* Buttons */

.btn-wrap {
    margin-top: 40px;
    margin-bottom: 50px;
}

.btn-wrap a {
    background: var(--primary);
    border-radius: 2px;
    font-family: 'Nunito Sans', sans-serif;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    padding: 6px 14px 7px;
    color: #fff;
}

.btn-wrap a:hover {
    background: #FCA408;
    color: #202742;
}


/* Welcome */

#welcome-events-section-wrap {
    margin-bottom: 25px;
}

#welcome-left-wrap {
    padding-right: 0px;
}

#welcome-left-wrap h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 20px;
    padding-bottom: 3px;
}

#welcome-left-wrap p {
    color: #808080;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

#welcome-right-wrap h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    font-family: 'Poppins', sans-serif;
}

#welcome-section-wrap .btn-wrap {
    margin-top: 30px;
}


/* Upcoming Events */

#events-section-wrap h2 {
    padding-bottom: 25px;
}

.event-item {
    margin-bottom: 25px;
}

.event-date-wrap {
    background: #5670BA;
    width: 100%;
    display: inline-block;
    vertical-align: top;
    max-width: 50px;
    margin-right: 10px;
    padding: 8px 0px 7px;
    border-radius: 2px;
}

.event-details-wrap {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 76px);
    width: -webkit-calc(100% - 76px);
    width: -moz-calc(100% - 76px);
    position: relative;
    top: -2px;
}

.event-month {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Nunito Sans', sans-serif;
    text-align: center;
    text-transform: uppercase;
}

.event-date {
    text-align: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Nunito Sans', sans-serif;
    line-height: 27px;
}

#event-container {
    padding-left: 0px;
    margin-left: -15px;
}

h3.event-title {
    font-weight: normal;
    padding-bottom: 0px;
    margin-bottom: 4px;
    line-height: 20px;
}

a.ev-title-link {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
    text-transform: none;
    word-wrap: break-word;
}

a.ev-title-link:hover {
    color: #20315D;
    text-decoration: underline;
}

.event-blurb {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #4D4D4D;
    line-height: 18px;
    margin-top: 5px;
}


/* News */

.news-section-outside-wrap {
    background: #F9F9F9;
    padding: 60px 0px 35px;
}

#news-section-wrap h2 {
    padding-bottom: 18px;
}

.news-item {
    background: #FFFFFF;
    box-shadow: 0px 2px 8px rgb(0 0 0 / 20%);
    border-radius: 3px;
    min-height: 385px;
    margin-bottom: 25px;
}

.news-details-inside-wrap {
    padding: 15px 15px 20px;
}

@media (min-width: 768px) and (max-width: 990px) {
    .news-details-inside-wrap {
        padding: 15px 10px 20px;
    }
}

.news-image img {
    max-width: 100%;
    width: 100%;
    min-height: 218px;
    /* height: 218px !important; */
    object-fit: cover;
    object-position: center;
    background-position: center;
    background-size: cover;
}

h3.news-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: var(--primary);
    padding-bottom: 10px;
}

a.news-title-link {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
}

a.news-title-link:hover {
    color: #20315D;
}

.news-date {
    margin-bottom: 6px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 15px;
}

.news-date img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.news-date span {
    display: inline-block;
    vertical-align: sub;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #778399;
}

.news-blurb {
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    color: #4D4D4D;
}

#news-section-wrap .btn-wrap {
    margin-top: 15px;
}


/*--------------------------------------------------------
                CSS Styles for Inner Pages
--------------------------------------------------------*/


/*----------Responsive Nivo*/

div[id^=slider-container-FD],
div[id^=slider_FD],
.nivoSlider img {
    max-width: 100% !important;
    height: auto !important;
}


/*----------Nivo Controls*/

.nivo-prevNav,
.nivo-nextNav {
    background-image: none !important;
    width: 25px !important;
    top: 25% !important;
    /*Fallback for browsers that don't support calc*/
    top: calc( 50% - 50px) !important;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 75px;
    font-family: Arial, sans-serif;
    text-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

.nivo-prevNav:hover,
.nivo-nextNav:hover {
    text-decoration: none;
    color: #ae0e0d;
    text-shadow: none;
}

.nivo-prevNav {
    left: 10px !important;
}

.nivo-nextNav {
    right: 10px !important;
}

.nivo-prevNav:after {
    content: "‹";
}

.nivo-nextNav:after {
    content: "›";
}


/*--------------------------------------------------------
                        Footer
--------------------------------------------------------*/

.footer-top-featured-section {
    background: var(--primary);
    padding: 30px 0px 40px;
}

.footer-top-featured-section *,
.footer-top-featured-section p {
    color: #fff !important;
}

#footer-contact-wrap {
    padding-top: 20px;
}

#footer-contact-wrap p {
    margin-bottom: 10px;
}

#footer-contact-wrap a {
    text-decoration: underline;
}

#footer-contact-wrap .contact-btn a {
    background: #FAB529;
    color: #202742 !important;
    padding: 7px 14px 6px;
    position: relative;
    top: 10px;
    text-decoration: none;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 2px;
}

.footer-logo-wrap {
    display: inline-block;
}

.footer-logo-wrap img {
    margin: 0 auto;
}

.search-contact-form {
    display: flex;
    float: right;
    flex-direction: column;
}

footer#main-footer {
    background: #1C2A63;
    padding: 26px 0px 25px;
}

footer#main-footer p {
    color: #FFFFFF;
    font-size: 16px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    margin: 0;
    line-height: 30px;
}

footer#main-footer a {
    color: #fff;
    text-decoration: underline;
}

footer#main-footer a:hover {
    color: #ffffff;
}

footer#main-footer strong {
    color: #fff;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
}

footer#main-footer span.footer-privacy {
    border-left: 1px solid #FFFFFF;
    margin-left: 15px;
    padding-left: 15px;
}

footer#main-footer span.footer-privacy a {
    text-decoration: none;
}

footer#main-footer .text-right a {
    text-decoration: underline;
}

@media (min-width: 768px) and (max-width: 990px) {
    footer#main-footer .text-left,
    footer#main-footer .text-right {
        text-align: center;
    }
}

@media (max-width: 767px) {
    footer#main-footer .text-left,
    footer#main-footer .text-right {
        text-align: center;
    }
    footer#main-footer p {
        margin-bottom: 5px;
        line-height: 24px;
    }
    footer#main-footer span.footer-privacy {
        display: block;
        border-left: 0px;
        padding-left: 0px;
        margin-left: 0px;
    }
    .back-top-wrap {
        padding-top: 0px !important;
        margin-bottom: 15px;
    }
    .search-contact-form {
        float: none;
        margin-top: 20px;
    }
}


/*--------------------------------------------------------
                        Subpage Navigation Menu 
--------------------------------------------------------*/

#onpage-navigation {
    position: sticky;
    /* margin-left: var(--side-margin); */
    max-width: calc((var(--side-margin) * -1));
    height: 0;
    font-family: inherit !important;
    font-size: 48px;
    /* top: 3em; */
    top: 1em;
}

#onpage-navigation .nav {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    padding: 0 2vw;
    font-size: .9rem;
}

#onpage-navigation li:first-of-type {
    margin-top: 15px;
}

#onpage-navigation li {
    position: relative;
}

#onpage-navigation .nav a {
    padding: 0;
    line-height: 1.2em;
    margin-bottom: .5em;
    font-size: 17px;
    /* color: inherit; */
}

#onpage-navigation .nav>li>a:focus, 
#onpage-navigation .nav>li>a:hover {
    background-color: transparent;
    text-decoration: underline;
}

#onpage-navigation li::before {
    /* Set style for active Scroll Spy item  */
    content: none;
    position: absolute;
    left: -1.5em;
    top: .5em;
    width: 0.75em;
    height: 0.75em;
    display: block;
    background: var(--primary);
    border-radius: 50%;
}

#onpage-navigation li.active::before {
    /* Set style for active Scroll Spy item  */
    content: '';
}

@media (min-width: 1560px) {
    #onpage-navigation {
        margin-bottom: calc(var(--gap) * -1);
    }
}

@media (max-width: 1560px) {
    /* Switch nav to the right of the wrapper */
    #subpage-main:has(#onpage-navigation) {
        display: grid;
        grid-template-columns: 1fr 200px;
        grid-template-columns: calc(100% - 200px) 200px;
        /* For some reason using "1fr" instead of explicitily spelling it out with "calc(100% - 200px)" pushes the second column off screen  */
        grid-template-areas: "wrapper nav";
    }

    #onpage-navigation {
        grid-area: nav;
        margin-left: unset;
        max-width: unset;
        font-size: 16px;
        /* top: 120px; */
    }

    #subpage-main:has(#onpage-navigation)>.wrapper {
        grid-area: wrapper;
        width: unset;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    #subpage-main:has(#onpage-navigation) {
        width: 100%;
    }

    #onpage-navigation {
        padding-left: 5px;
    }

    #subpage-main:has(#onpage-navigation)>.wrapper>.container {
        width: auto;
    }
}

@media (max-width: 767px) {
    #subpage-main:has(#onpage-navigation) {
        display: block;
    }

    .unscrolled~main #onpage-navigation {
        transform: translateY(54px);
        transition-delay: unset;
    }

    #onpage-navigation {
        position: fixed;
        background: white;
        z-index: 3;
        height: unset;
        top: unset;
        bottom: 0;
        transform: translateY(0);
        transition: transform .25s ease-in-out .125s;
        box-shadow: 0 -3px 14px -2px rgba(0, 0, 0, 0.15);
        display: none;
    }

    #onpage-navigation .nav {
        /* display: block; */
        width: 100vw;
        padding: 15px;
        /* font-size: 1rem; */
    }

    #onpage-navigation li {
        margin-right: 2ch;
        float: none;
        display: inline-block;
    }

    main:not(#mms-main) #onpage-navigation ul>li+li {
        margin-top: 0;
    }

    #onpage-navigation li::before {
        content: '';
        position: absolute;
        left: 0;
        top: unset;
        right: 100%;
        height: 0.25em;
        display: block;
        background: var(--green);
        opacity: .8;
        border-radius: 0;
        bottom: -.0125em;
        width: unset;
    }

    #onpage-navigation li.active::before {
        /* Set style for active Scroll Spy item  */
        right: 0;
        transition: right .125s ease-in-out;
    }
}

@media (min-width: 500px) {
    #onpage-navigation {
        transition-delay: .25s;
    }
}

@media (max-width: 767px) {
    /* #onpage-navigation .nav {
        display: flex;
        flex-direction: row;
        overflow-x: scroll;
        max-width: 100vw;
    }

    #onpage-navigation .nav a {
        white-space: nowrap;
    } */
}



/*--------------------------------------------------------
                        MMS Styling
--------------------------------------------------------*/

.grid-slideshow-content {
    background: transparent;
    margin-left: 0px;
    padding: 0px 15px;
}

.grid-bottom-featured-wrap {
    background-image: none;
}

.grid-bottom-featured-wrap-h2 {
    color: #527785;
    margin-bottom: 0px;
}

.grid-bottom-featured-wrap-p {
    color: #323233;
}

#mycanvas #news-section-wrap .column,
#mycanvas #get-involved-wrap .column {
    min-height: 415px;
}


/*--------------------------------------------------------------
                      Modal Member Login
--------------------------------------------------------------*/

.modal {
    overflow-y: visible;
}

.modal-dialog {
    max-width: 280px;
    margin: 50px auto;
}

.modal-header {
    text-align: center;
}

.modal-body {
    padding: 15px 23px;
}

.login-form input {
    width: 203px!important;
    height: 30px;
    margin: 0px auto;
    margin-bottom: 10px;
    padding: 0px 15px;
    margin-left: 15px;
    background: #fff;
    font-size: 14px;
    font-family: 'Nunito Sans', sans-serif;
    color: #9B9B9B;
    box-shadow: none !important;
    border: 1px solid #CCCCCC;
    border-radius: 18px;
}

.login-form input[type="submit"] {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: normal;
    border-radius: 3px;
    font-family: 'Nunito Sans', sans-serif;
    margin-left: 10px;
    outline: none;
    text-decoration: none;
    text-align: center;
    padding: 8px 20px;
    height: auto;
}

.login-form input[type="submit"]:hover,
.login-form input[type="submit"]:focus {
    background: #FAB529;
    border: 1px solid #FAB529;
    color: #202742;
    text-decoration: none;
}

.login-form a {
    color: #3A3A3A;
    font-size: 14px;
    font-family: 'Nunito Sans', sans-serif;
    display: block;
    margin-left: 15px;
    padding-bottom: 10px;
    text-decoration: underline;
}

.login-form a:hover,
.login-form a:focus {
    color: var(--primary);
}

.login-form input:last-of-type {
    width: 100px;
    margin: none;
}

h4#myModalLabel {
    color: #000;
    font-size: 22px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 0px;
}


/*--------------------------------------------------------
                        MMS Styling
--------------------------------------------------------*/


/*----------- MEDIA QUERY --------------------*/

@media (max-width: 1200px) {
    .caption-wrapper {
        max-width: 970px;
    }
}

@media (max-width: 991px) {
    .caption-wrapper {
        max-width: 750px;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    .news-item {
        min-height: 460px;
    }
}

@media (max-width: 767px) {
    #right-side-wrap {
        padding-left: 0px;
    }
    #events-section-wrap {
        margin-top: 40px;
    }
    .footer-top-featured-section .text-left,
    .footer-top-featured-section .text-right {
        text-align: center;
    }
    .footer-logo-wrap {
        float: none;
    }
    .footer-logo-wrap img {
        margin: 40px auto auto;
        text-align: center;
    }
}

@media (min-width: 500px) and (max-width: 767px) {
    .news-image {
        width: 45%;
    }
    .news-details {
        width: 55%;
        padding-left: 0px;
    }
    .news-item {
        min-height: auto;
    }
    .news-details-inside-wrap {
        padding-bottom: 10px;
    }
}

/* Safari Browser */

/* @media only screen and (-webkit-min-device-pixel-ratio: 1) {
     ::i-block-chrome,
    .div {}
} */


/* Internet Browser */

/* @media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {} */