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


/*
--------------------------------------------------------------------------
 Typography 
--------------------------------------------------------------------------
 */

 :root {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Onest', sans-serif;
    color: var(--text);
}

body {
    color: var(--text);
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
}

p+p {
    margin-top: .25em;
}

p:empty {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: .5em;
    padding: 0;
    font-weight: 700;
    font-family: 'Onest', sans-serif;
    color: #0d2b3d;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 22px;
}

h6 {
    font-size: 20px;
}


/*  Links -------------------

 */

a {
    color: var(--secondary);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

a.button-link,
input[type="submit"]:not(#mms-main input),
.mobile-login button {
    /* :not exception needed to avoid messing with all sorts of different buttons in the MMS  */
    background: var(--accent);
    font-size: inherit;
    padding: .8em 4ch;
    display: inline-block;
    color: white;
    border-radius: 2px;
    margin-right: 2ch;
    position: relative;
    left: -.25em;
    /*^^ Optically adjust for rounded left edge */
    border: none;
    text-align: center;
}

.button-link:not(:last-child) {
    margin-bottom: .5em;
}

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

a.button-link+*:not(.button-link) {
    padding-top: 1.5em;
}

*+.button-link {
    margin-top: 1em;
}

li:not(:last-child) .button-link {
    margin-bottom: .75rem;
}


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


/*  Wrappers
    *.wrapper acts as a more symantic stand in for <container><row><col-md-12></col-md-12></row></container> in sections of this build that don't require stacking columns 
 */

.wrapper {
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
    position: relative;
    height: inherit;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width:768px) {
    body {
        --side-margin: calc((100vw - 750px) / 2);
    }
    .wrapper {
        width: 750px;
    }
}

@media (min-width:992px) {
    body {
        --side-margin: calc((100vw - 987px) / 2);
    }
    .wrapper {
        width: 970px;
    }
}

@media (min-width:1200px) {
    body {
        --side-margin: calc((100vw - 1170px) / 2);
    }
    .wrapper {
        width: 1170px;
    }
}

@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;
    border-left-color: var(--secondary);
}

blockquote p {
    font-size: 1.05em;
}


/*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. :not added to prevent styling Google Custom Search tables*/

#subpage-main table {
    max-width: 100%;
    border-collapse: collapse;
    color: #212529;
    margin-bottom: 1em;
    font-size: 16px;
    border-bottom: 1px solid #dee2e6;
    margin-top: 2em;
}

#subpage-main thead {
    font-weight: bold;
}

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

#subpage-main thead th {
    vertical-align: bottom;
    border-top: none;
}

#subpage-main table caption {
    color: currentColor;
    text-align: left;
    font-size: 1.375em;
    font-weight: bold;
    padding: 0;
}

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

@media (max-width: 767px) {
    #subpage-main table {
        font-size: 14px;
    }
    #subpage-main td:first-child,
    #subpage-main th:first-child {
        padding-left: 5px;
    }
    #subpage-main td:last-child,
    #subpage-main th:last-child {
        padding-right: 5px;
    }
}

@media (max-width: 500px) {
    #subpage-main td,
    #subpage-main th {
        padding: 5px 2px;
    }
}

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.*/
}

.ui-widget {
    /* Part of some pages in the MMS, this style tells it not to overwrite the font with Verdana */
    font-family: revert;
}


/* Feed items */

.feed-item {
    padding: .25rem 20px;
    border-radius: 5px;
}

.feed-item h3 {
    font-size: 1.1rem;
}

.feed-item *:not(:last-child) {
    margin-bottom: .5rem;
}


/* Slideshow defaults */

.carousel-caption {
    position: absolute;
    z-index: 100;
    background-color: #002857;
    background: rgba(0, 0, 0, .6);
    padding: 10px 15px;
    left: inherit;
    bottom: 0px;
    right: 0px;
    top: inherit;
    width: 100%;
    text-align: left;
    text-shadow: none;
}

@media (max-width: 600px) {
    .carousel-caption {
        padding: 0px 10px;
    }
}

.caption-text {
    font-size: 28px;
    font-weight: 600;
    line-height: 33px;
    display: block;
    color: initial;
    margin-bottom: 10px;
}

.alt-text {
    font-size: 16px;
    color: initial;
    margin-bottom: 10px;
}


/*--end slideshow-defaults---------*/


/*----------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: "›";
}


/*  Modals ---------------------------------
    ----------------------------------------
 */

.modal-open .modal {
    display: flex;
}

.modal-dialog {
    max-width: 260px;
    font-size: 16px;
    margin: auto;
}

.modal-header,
.modal-body {
    padding: .5rem 1rem;
}

.modal-header .close {
    opacity: 1;
    z-index: 1;
    position: relative;
}

.modal h2 {
    font-size: 20px;
    opacity: .9;
}

.modal a {
    display: block;
    margin-bottom: .5em;
}


/*  Login Forms ----------------------------
----------------------------------------
*/

.modal input[name="Username"],
.modal input[name="Password"] {
    width: 100%;
    padding-left: .25em;
    padding-right: .25em;
    margin-bottom: 0.5em;
    height: 2em;
    border: 1px solid rgba(68, 68, 68, .5);
}


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

header#header-outer-wrap {
    background: #004f94;
    color: #fff;
    border-bottom: 1px solid #fff;
}

header#header-outer-wrap * {
    color: #fff;
}

@media (min-width: 1300px) {
    #main-header .container {
        width: 1250px;
    }
}

#main-header {
    padding: 15px 0px 0px;
    font-family: 'Onest', sans-serif;
}

@media (max-width: 1200px) {
    #main-header {
        padding: 15px 0px;
    }
}

svg#main-logo {
    width: 183px;
    height: 150px;
    max-width: 100%;
}

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

@media (min-width: 768px) and (max-width: 990px) {
    #right-side-wrap {
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    #right-side-wrap {
        margin-top: 0px;
    }
}


/* Social Media Icons */

.social-media-outside-wrap ul {
    padding: 0;
}

.social-media-outside-wrap ul li:first-child {
    margin-left: 0px;
}

.social-media-wrap {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-top: 5px;
    margin-left: 12px;
}

@media (min-width: 1200px) {
    .social-media-wrap {
        display: inline-block !important;
    }
}

.social-media-wrap ul {
    float: left;
    margin: 0;
    text-align: right;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.social-media-wrap ul>li {
    float: left;
    position: relative;
    display: block;
    margin-right: 8px;
}

.social-media-wrap ul>li:last-child {
    margin-right: 0px;
}

.social-media-wrap svg {
    width: 36px;
    height: 36px;
}


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

header#header-outer-wrap #search-input * {
    color: #808080;
}

#search-input {
    display: inline-block;
    vertical-align: middle;
    color: #808080;
    position: relative;
}

.searchbox {
    width: 250px;
    max-width: 45vw;
    display: inline-block;
    vertical-align: middle;
    color: #808080;
    position: relative;
    padding: 5px 1.5ch;
    height: 36px;
    background: #fff;
    border: 1px solid #E6E6E6;
    transition: .125s border ease-in-out;
    border-radius: 3px;
}

@media (min-width: 990px) and (max-width: 1199px) {
    .searchbox {
        max-width: 230px;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    .searchbox {
        max-width: 220px;
    }
}

@media (max-width: 420px) {
    .searchbox {
        max-width: 100%;
    }
}

.searchbox ::-webkit-input-placeholder {
    color: #808080;
}

.searchbox :-moz-placeholder {
    /* Firefox 18- */
    color: #808080;
}

.searchbox ::-moz-placeholder {
    /* Firefox 19+ */
    color: #808080;
}

.searchbox :-ms-input-placeholder {
    color: #808080;
}

.search-input {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: none;
    width: 100%;
    padding: inherit;
    background: #fff;
    padding: 2px 12px 0px;
    outline: none;
    color: #808080;
}

#search-input input[type="submit"]:not(#mms-main input),
.mobile-search-wrap input[type="submit"]:not(#mms-main input) {
    color: transparent;
    background: #fff;
    border: none;
    background-image: url(../images/search-new.svg.php?fc=333333);
    position: absolute;
    right: 0;
    top: 0px;
    bottom: 0;
    width: 36px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    border-left: 0px;
    transition: .25s all ease-in-out;
    padding: 0;
    display: block;
    left: auto;
    margin: 0;
    text-align: left;
    font-size: 16px;
    font-family: 'Onest', sans-serif;
}

.search-button:hover {
    background-color: var(--accent);
    border-left: 2px solid var(--accent);
}

@media (max-width: 767px) {
    .search-button {
        top: 0px;
    }
}


/* Login - Donate */

.login-search-wrap {
    margin-bottom: 8px;
    display: inline-block;
}

.login-wrap {
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
}

.donate-wrap {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.login-wrap a,
.donate-wrap a {
    background: var(--accent);
    color: #fff;
    padding: 7px 15px 8px;
    position: relative;
    text-decoration: none;
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    border-radius: 2px;
}

.login-wrap a:hover,
.login-wrap a:focus,
.donate-wrap a:hover,
.donate-wrap a:focus {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
}


/* Mobile Login */

li.mobile-login {
    border-bottom: 0px !important;
    margin-top: 35px;
}

li.mobile-donate {
    border-bottom: 0px !important;
    margin-top: 15px;
}

li.mobile-login a,
li.mobile-donate a {
    background: var(--accent) !important;
    color: #fff;
    padding: 8px 15px 7px !important;
    position: relative;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-align: center;
    border-radius: 5px !important;
    width: 150px !important;
}


/*  Desktop Menu ---------------------------
    ----------------------------------------
 */

#nav_menu .navbar-nav {
    width: 100%;
    padding: 0;
    margin: 0;
}

#nav_menu .navbar-nav>li a {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Onest', sans-serif;
    padding: 5px 18px 13px;
    transition: color .3s;
    border-bottom: 4px solid transparent;
}

@media (min-width: 990px) and (max-width: 1199px) {
    #nav_menu .navbar-nav>li a {}
}

#nav_menu .navbar-nav>li:first-child a {
    padding-left: 0px;
}

#nav_menu .navbar-nav>li:last-child a {
    padding-right: 0px;
}

#nav_menu .navbar-nav>li>a:hover,
#nav_menu .navbar-nav>li>a:focus {
    background: transparent;
    color: var(--dark-text);
}

#nav_menu .navbar-nav>li>a:hover {
    border-bottom: 4px solid #2c96e5;
}

#nav_menu>ul>li>ul {
    /* 1st tier submenus */
}

#nav_menu>ul>li:last-child>ul {
    /* Submenu of the last top-level menu item */
    left: -100%;
}

#nav_menu>ul::before,
#nav_menu>ul::after {
    content: none;
}

#nav_menu .caret {
    /* Convert Bootstrap style into em's so carets scale with type */
    border-top: .2em dashed;
    border-right: .2em solid transparent;
    border-left: .2em solid transparent;
    display: none;
}

#nav_menu .dropdown-menu {
    font-size: inherit;
}

#nav_menu .dropdown-menu>li>a {
    font-size: inherit;
    padding: .5rem 1rem;
}

#nav_menu .dropdown-menu li a {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Onest', sans-serif;
    color: #fff;
    padding-top: 0px;
    padding-bottom: 0px;
    border: 0;
    font-weight: normal;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 5px 18px;
}

#nav_menu .nav .open>a,
#nav_menu .nav .open>a:focus,
#nav_menu .nav .open>a:hover,
#nav_menu .nav>li>a:focus,
#nav_menu .nav>li>a:hover {
    /* Overwriting BS defaults */
    background-color: transparent;
    color: #fff;
    transition: color .125s ease-in;
    background: transparent;
}

#nav_menu .nav .open>a:hover,
#nav_menu .dropdown-menu>li>a:focus,
#nav_menu .dropdown-menu>li>a:hover {
    color: #b9dbed;
    background-color: transparent;
}

#nav_menu li.greyed a {
    opacity: .75;
}


/*  Mobile Header Nav ----------------------
    ----------------------------------------
 */

@media (max-width: 990px) {
    #nav_menu {
        display: none !important;
    }
}

.mobileMenuTrigger label {
    display: none;
}

.menu-trigger {
    cursor: pointer;
    margin: 0;
    width: 30px;
    height: 30px;
    padding: 5px;
}

.menu-trigger:hover,
.menu-trigger:focus {
    color: var(--secondary);
}


/*  Mobile Menu-----------------------------
    ----------------------------------------
 */

#mobileMenuWrapper {
    box-shadow: 7px 0 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 200;
    overflow-y: auto;
    overflow-x: hidden;
    left: -120%;
    width: 300px;
    background-color: white;
    transition: left 300ms cubic-bezier(1.000, 0.010, 0.0, 1.000);
    color: #444;
}

#mobileMenuWrapper.open {
    left: 0;
}

#mobile-menu {
    list-style: none;
    overflow-y: auto;
    overflow-x: visible;
    padding: 1em 1.5em;
}

.triggerClose {
    text-align: right;
}

#mobile-menu button {
    border: none;
}

.triggerClose button {
    background: none;
    font-weight: bold;
}

#mobileMenuWrapper #mobile-menu a {
    display: inline-block;
    width: 100%;
    margin-bottom: .75em;
}

#mobileMenuWrapper .mDropdown {
    display: none;
    list-style: none;
    padding: 0;
    background: none;
    padding-top: 0px !important;
    margin-bottom: 0px;
}

#mobileMenuWrapper .mDropdown.open {
    display: block;
}

.mDropdown>li>a {
    padding: 0;
}

.mDropdown-parent {
    color: var(--primary);
}

#mobile-menu b.caret {
    float: right;
    position: relative;
    top: 10px;
}


/*
--------------------------------------------------------------------------
 Main
--------------------------------------------------------------------------
 */

main {
    min-height: calc(100vh - 118px - 143px);
    position: relative;
}


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

#banner-row .carousel-control.left,
#banner-row .carousel-control.right {
    /* Remove carousel controls from homepage slideshow */
    display: none;
}

#banner-row img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

#banner-row .carousel-caption {
    position: absolute;
    z-index: 100;
    background: transparent;
    left: 0;
    bottom: 10vh;
    right: 0;
    top: unset;
    width: 100%;
    text-align: left;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 4px black;
}

#banner-row .caption-wrapper {
    padding-left: 15px;
    padding-right: 15px;
}

#banner-row .caption-text {
    font-size: 58px;
    font-weight: bold;
    line-height: .9;
    display: block;
    color: white;
    margin-bottom: 10px;
}

#banner-row .alt-text {
    font-size: 26px;
    line-height: 1.2;
    color: white;
}

@media (max-width: 990px) {
    #banner-row .caption-text {
        font-size: 38px;
    }
    #banner-row .alt-text {
        font-size: 20px;
    }
}

#slideshow-events-wrap {
    margin-top: 50px;
}

.slideshow-wrap {
    position: relative;
}

.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 {
    margin: auto 0px;
    display: block;
    text-indent: -9999px;
    line-height: 0;
    transition: .25s all ease-in;
}

.slideshow-wrap .carousel-control.left:after {
    content: url(../images/prev-btn.png);
    width: 15px;
    height: 22px;
    display: block;
    text-indent: 0;
    position: relative;
    top: -15px;
    left: 12px;
}

.slideshow-wrap .carousel-control.right:after {
    content: url(../images/next-btn.png);
    width: 15px;
    height: 22px;
    display: block;
    text-indent: 0;
    position: relative;
    top: -15px;
    left: 12px;
}

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

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

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

.carousel-control.left {
    height: 40px;
    width: 40px;
    color: #fff;
    top: 0px;
    left: auto;
    line-height: normal;
    bottom: 0;
    margin: auto;
    opacity: 1;
    text-shadow: none;
    font-family: 'Onest', sans-serif;
    background: rgba(25, 35, 51, 0.6);
    vertical-align: middle;
    text-align: center;
    padding-right: 2px;
    border: 0px;
    margin-left: 0px;
}

.carousel-control.right {
    height: 40px;
    width: 40px;
    color: #fff;
    top: 0px;
    left: auto;
    right: 0px;
    line-height: normal;
    bottom: 0;
    margin: auto;
    opacity: 1;
    text-shadow: none;
    font-family: 'Onest', sans-serif;
    background: rgba(25, 35, 51, 0.6);
    vertical-align: middle;
    text-align: center;
    padding-left: 2px;
    border: 0px;
    margin-right: 0px;
}

.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: 767px) {
    .carousel-caption {
        background: #0664ab;
        display: block;
        position: static;
        width: 100%;
        height: auto !important;
    }
    .caption-slide-inside {
        background: transparent !important;
    }
}

@media (max-width: 460px) {
    .carousel-caption {}
}

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

.caption-slide-inside {
    background: rgba(6, 100, 171, 0.9);
    padding: 12px 0px 13px;
}

p.caption-text {
    font-size: 20px;
    font-weight: 700;
    display: block;
    color: #ffffff !important;
    font-family: 'Onest', sans-serif;
    text-align: center;
    margin-bottom: 0px !important;
    word-wrap: break-word;
    line-height: normal;
}

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

@media (min-width: 768px) and (max-width: 990px) {
    p.alt-text {
        width: 100%;
    }
}

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

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

.carousel-indicators {
    bottom: 0px;
    margin-bottom: 7px;
}

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

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


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


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


/* Buttons */

.btn-wrap:not(#gm-canvas .btn-wrap) {
    margin-top: 30px;
}

.btn-wrap:not(#gm-canvas .btn-wrap) a {
    font-family: 'Onest', sans-serif;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    background: var(--primary);
    color: #fff;
    padding: 10px 21px 10px;
    text-align: center;
    text-transform: capitalize;
    border-radius: 3px;
    display: inline-block;
}

.btn-wrap:not(#gm-canvas .btn-wrap) a:hover {
    color: #fff;
    background: var(--primary);
    text-decoration: none;
}


/* Box Featured */

#boxfeatured-wrap:not(#gm-canvas #boxfeatured-wrap) {
    position: relative;
    padding: 0;
    text-align: center;
    top: -40px;
}

#boxfeatured-wrap:not(#gm-canvas #boxfeatured-wrap):before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -666vw;
    right: -666vw;
    display: block;
    background-color: transparent;
    z-index: -1;
}

#boxfeatured-wrap .col-content-wrap {
    background: #0664ab;
    text-align: center;
    padding: 20px 25px;
    border-left: 1px solid #2d77ad;
    min-height: 225px;
    transition: 0.8s background;
}

#boxfeatured-wrap .col-content-wrap:hover {
    cursor: pointer;
    background: #2d77ad;
}

#boxfeatured-wrap .col-content-wrap * {
    color: #fff;
}

#boxfeatured-wrap .col-content-wrap h3 {
    padding-top: 20px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}

#boxfeatured-wrap .col-content-wrap p {
    font-size: 16px;
    line-height: 23px;
}

#boxfeatured-wrap .col-content-wrap a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
}

#boxfeatured-wrap .col-content-wrap img {
    margin: 0 auto;
}

#boxfeatured-wrap .col-content-wrap .box-link-wrap {
    margin-top: 10px;
}

@media (min-width: 768px) and (max-width: 990px) {
    #boxfeatured-wrap {
        padding-bottom: 10px;
    }
    #boxfeatured-wrap .col-content-wrap {
        margin-bottom: 35px;
        min-height: 270px;
    }
}

@media (max-width: 767px) {
    #boxfeatured-wrap:not(#gm-canvas #boxfeatured-wrap) {
        top: 20px;
    }
    #boxfeatured-wrap {
        padding-bottom: 12px;
    }
    #boxfeatured-wrap .col-content-wrap {
        min-height: 270px;
        margin-bottom: 0px;
    }
    #boxfeatured-wrap:not(#gm-canvas #boxfeatured-wrap) .column:nth-child(2) {
        padding-right: 15px !important;
    }
    #boxfeatured-wrap:not(#gm-canvas #boxfeatured-wrap) .column:nth-child(3) {
        padding-left: 15px !important;
    }
}

#boxfeatured-wrap:not(#gm-canvas #boxfeatured-wrap) .column:nth-child(1) {
    padding-right: 0;
}

#boxfeatured-wrap:not(#gm-canvas #boxfeatured-wrap) .column:nth-child(2),
#boxfeatured-wrap:not(#gm-canvas #boxfeatured-wrap) .column:nth-child(3) {
    padding: 0;
}

#boxfeatured-wrap:not(#gm-canvas #boxfeatured-wrap) .column:nth-child(4) {
    padding-left: 0;
}

#boxfeatured-wrap:not(#gm-canvas #boxfeatured-wrap) .column:nth-child(1) .col-content-wrap {
    border-left: 0px;
}


/* Welcome */

#welcome-events-wrap {
    padding: 30px 0px;
}

@media (max-width: 767px) {
    #welcome-events-wrap {
        margin-top: 50px;
    }
}


/* ACCP Leadership */

#accp-leadership-wrap {
    position: relative;
    padding: 70px 0px 75px;
    text-align: center;
    margin-top: 50px;
}

#accp-leadership-wrap:not(#gm-canvas #accp-leadership-wrap):before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -666vw;
    right: -666vw;
    display: block;
    background-color: #dde7ed;
    z-index: -1;
}

#accp-leadership-wrap h3 {
    padding-bottom: 10px;
}

#accp-leadership-wrap ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 1rem 20px;
}

@media (min-width: 768px) and (max-width: 990px) {
    #accp-leadership-wrap ul {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

#accp-leadership-wrap ul li img {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 20px;
}

#accp-leadership-wrap .btn-wrap {
    margin-top: 28px !important;
}

#accp-leadership-wrap .btn-wrap a {
    text-transform: none !important;
}


/* Upcoming Events */

#upcoming-events-wrap {
    margin-bottom: 35px;
    position: relative;
    padding: 80px 0px;
}

@media (max-width: 767px) {
    .events-wrap-item {
        margin-bottom: 20px;
    }
}

#upcoming-events-wrap:not(#gm-canvas #upcoming-events-wrap):before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -666vw;
    right: -666vw;
    display: block;
    background-color: transparent;
    z-index: -1;
    border-bottom: 2px solid #eaf0f4;
}

#upcoming-events-wrap:not(#mycanvas #upcoming-events-wrap)>.column {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem 30px;
}

@media (min-width: 768px) and (max-width: 990px) {
    #upcoming-events-wrap:not(#mycanvas #upcoming-events-wrap)>.column {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 2rem 30px;
    }
}

#upcoming-events-wrap>.column:first-child>*:not(.events-wrap-item) {
    grid-column: 1 / -1;
    max-width: fit-content;
    justify-self: center;
    margin-bottom: 0px;
}

.events-wrap-item {
    margin-bottom: 20px;
}

.events-wrap-item h3 {
    margin-bottom: 0.35em !important;
    color: var(--accent);
    margin-top: 8px;
}

.events-wrap-item a.ev-title-link {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    font-family: 'Onest', sans-serif;
    line-height: 20px;
    margin-top: 15px;
}

.events-wrap-item a.ev-title-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

#upcoming-events-wrap .btn-link-wrap {
    margin-top: 50px;
}

.event-date {
    color: #666666;
}

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

.event-date span {
    font-size: 15px;
}

.events-image img {
    width: 360px;
    max-width: 100%;
    height: auto;
}

#upcoming-events-wrap .btn-wrap {
    margin-top: 5px !important;
}


/* Recent News */

.news-feed-item {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 9px 15px 12px;
    margin-bottom: 20px;
}

.news-feed-item h3 {
    font-size: 18px;
    font-family: 'Onest', sans-serif;
    margin-bottom: 6px;
}

a.news-title-link {
    font-size: 16px;
    font-family: 'Onest', sans-serif;
    color: #333333;
    font-weight: 600;
    line-height: 22px;
}

a.news-title-link:hover {
    color: #004f94;
    text-decoration: underline;
}

#news-section-wrap .btn-wrap:not(#gm-canvas #news-section-wrap .btn-wrap) {
    margin-top: 48px;
}

.news-feed-date img {
    display: inline-block;
}

.news-feed-date span {
    margin-left: 10px;
    font-size: 15px;
}

@media (min-width: 768px) and (max-width: 990px) {
    #news-section-wrap {}
}

@media (max-width: 767px) {
    #news-section-wrap {
        margin-top: 65px;
    }
}


/* MMS news feed  */

.news-item {
    display: flex;
    gap: 1rem 30px;
}


/* Sponsors */

#sponsors-section-wrap .carousel-control {
    display: none;
}

#sponsors-section-wrap {
    margin-top: 30px;
    margin-bottom: 80px;
}

#sponsors-section-wrap h2 {
    padding-bottom: 10px;
    text-align: center;
}

#sponsors-section-wrap .carousel .item {
    margin: 0 auto;
    text-align: center;
}

#sponsors-section-wrap .caption-wrapper {
    max-width: 165px;
    padding-right: 15px;
    padding-left: 15px;
}

#sponsors-section-wrap .carousel-indicators {
    display: block;
    bottom: -70%;
    text-align: center;
}

@media (min-width: 768px) and (max-width: 990px) {
    #sponsors-section-wrap .carousel-indicators {
        bottom: -100%;
    }
}

@media (max-width: 767px) {
    #sponsors-section-wrap .carousel-indicators {
        bottom: -75%;
    }
}

#sponsors-section-wrap .carousel-indicators li {
    width: 13px;
    height: 13px;
    background: #cccccc;
    border: 1px solid #cccccc;
    border-radius: 10px;
    margin: 0 auto;
    margin-left: 6px;
}

#sponsors-section-wrap .carousel-indicators .active {
    width: 13px;
    height: 13px;
    margin-left: 6px;
    background: #135d9c;
    border: 1px solid #135d9c;
    border-radius: 10px;
}

#sponsors-section-wrap .carousel img {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #e6e6e6;
}

#sponsors-section-wrap .carousel-caption {
    top: 10px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 990px) and (max-width: 1199px) {
    #sponsors-section-wrap .carousel-caption {
        position: absolute;
        padding-left: 12px;
        padding-right: 12px;
        top: 9px;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    #sponsors-section-wrap .carousel-caption {
        position: absolute;
        padding-left: 5px;
        padding-right: 5px;
        top: 4px;
    }
}

@media (max-width: 767px) {
    #sponsors-section-wrap .carousel-caption {
        position: absolute;
        padding-left: 15px;
        padding-right: 15px;
    }
}

#sponsors-section-wrap p.caption-text {
    font-size: 15px;
    color: #fff;
    line-height: normal;
    margin-bottom: 0px;
}

@media (min-width: 990px) and (max-width: 1199px) {
    #sponsors-section-wrap p.caption-text {
        font-size: 13px;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    #sponsors-section-wrap p.caption-text {
        font-size: 10px;
    }
}

#sponsors-section-wrap .caption-text h3 {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

@media (min-width: 990px) and (max-width: 1199px) {
    #sponsors-section-wrap .caption-text h3 {
        font-size: 15px;
        padding-bottom: 0px;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    #sponsors-section-wrap .caption-text h3 {
        font-size: 12px;
        padding-bottom: 0px;
    }
}

#sponsors-section-wrap .alt-text {
    display: none;
}


/*  Subpages -------------------------------
    ----------------------------------------
 */


/*  Grid Page Editor workarounds -----------
----------------------------------------
 */


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

html {
    --primary: #003DA8;
    --secondary: #0d1f28;
    --accent: #c3262d;
    --lighthover: #2d915a;
    --darkhover: #084e7a;
    --background: #f4f7f9;
    --text: #4d4d4d;
    --dark-text: #12191e;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Onest', sans-serif;
    color: var(--dark-text);
    --side-margin: 1px;
}

@media (min-width:768px) {
     :root {
        --side-margin: calc((100vw - 750px) / 2);
    }
}

@media (min-width:991px) {
     :root {
        --side-margin: calc((100vw - 987px) / 2);
    }
    .wrapper {
        width: 970px;
    }
}

@media (min-width:1201px) {
     :root {
        --side-margin: calc((100vw - 1170px) / 2);
    }
    .wrapper {
        width: 1170px;
    }
}

body {
    color: inherit;
    overflow: inherit;
}

body,
header,
footer,
main,
header nav {
    font-family: inherit !important;
    font-size: inherit !important;
    /* Prevent MMS pages with hard-coded fonts from overwriting this  */
}

p {
    margin: 0;
    font-size: 16px;
    color: var(--text);
    line-height: 24px;
}

p:not(:last-child) {
    margin-bottom: 1.6em;
    color: inherit;
}


/*--------------------------------------------------------
    Headings
--------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.8em;
    padding: 0;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1;
}


/*--------------------------------------------------------
    Links
--------------------------------------------------------*/

a {
    text-decoration: none;
    color: var(--primary);
    transition: .125s color ease-in-out;
}

a:hover,
a:focus {
    color: var(--accent);
    text-decoration: underline;
}

.button-link {
    text-transform: capitalize;
    display: block;
    width: fit-content;
    color: white;
    background-color: var(--primary);
    text-align: center;
    padding: 0.6em 2ch;
    text-decoration: none;
    line-height: 1;
    transition: background .125s ease-in-out;
    text-shadow: none;
    border-radius: 5px;
    border: none;
}

.button-link:hover,
.button-link:focus {
    background-color: var(--secondary);
    text-decoration: none;
    outline: none;
    color: white;
}

.button-link:not(:first-child) {
    margin-top: 1.5em;
}

.button-link:not(:last-child) {
    margin-bottom: 2em;
}

#mms-main a {
    text-decoration: none;
}


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

.offscreen {
    /* This class allows an element to be read by a screenreader without appearing in the viewport  */
    position: absolute;
    left: -666vw;
}


/*  Wrappers
    *.wrapper acts as a more symantic stand in for <container><row><col-md-12></col-md-12></row></container> in sections of this build that don't require stacking columns 
 */

.wrapper {
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
    position: relative;
    height: inherit;
    padding-left: 15px;
    padding-right: 15px;
}

.full-width {
    /* Make an element span the width of the viewport */
    position: relative;
    left: var(--side-margin);
    right: var(--side-margin);
    width: calc(100vw + 13px);
}

.img-responsive.full-width:not(#mycanvas img) {
    /* Make sure that when the system automatically adds the class .img-responsive that it doesn't break .full-width. This is not applied to images viewed on the Grid Editor page. */
    max-width: unset;
}

#gm-canvas .full-width {
    left: unset;
    right: unset;
    width: unset;
}

.row-background:not(#mycanvas .row-background) {
    position: relative;
    padding-left: 15px;
}

.row-background:not(#mycanvas .row-background)::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -666vw;
    right: -666vw;
    display: block;
    background-color: var(--background);
}

@media (min-width: 992px) {
    .row-background:not(#mycanvas .row-background)>.col-md-9 {
        width: calc(75% - 15px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-8 {
        width: calc(66.7% - 15px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-7 {
        width: calc(58.3% - 15px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-6 {
        width: calc(50% - 15px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-5 {
        width: calc(41.7% - 15px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-4 {
        width: calc(33.3% - 20px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-3 {
        width: calc(25% - 20px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-2 {
        width: calc(20% - 20px);
    }
}

@media (max-width: 990px) {
    .container,
    .wrapper {
        /* Extra wiggle room at a breakpoint that needs it  */
        width: 100%;
    }
    .full-width {
        --side-margin: -15px;
        left: var(--side-margin);
        right: var(--side-margin);
        width: calc(100vw + 30px);
    }
    .row-background:not(#mycanvas .row-background) {
        padding-right: 15px;
    }
    .row-background::before {
        left: 0;
        right: 0;
    }
}

@media (max-width: 767px) {
    .row-background {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}


/* Events/News items */

.feed-item {
    display: flex;
    gap: 1em 1ch;
    line-height: 1.2;
}

.feed-item:not(:last-child) {
    margin-bottom: .75rem;
}

.feed-item time {
    background: var(--secondary);
    border-radius: 5px;
    color: white;
    text-align: center;
    min-width: 50px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-item time span {
    display: block;
}

.feed-item .day {
    font-size: 1.4em;
    line-height: 1;
}

#homepage-main .feed-item h3 {
    font-size: 1.1rem;
    margin: 0 0 5px;
    line-height: 1;
}

@media (min-width: 768px) {
    .feed-item time {
        font-size: 14px;
    }
}


/* Slideshows defaults */

.carousel {
    font-size: 20px;
}


/* Mobile menu trigger  */

svg#burger-menu {
    width: 30px;
    height: 20px;
}

svg#burger-menu .cls-1 {
    fill: #fff !important;
}


/* Login modal */

.modal-open .modal {
    display: flex;
}

.modal-dialog {
    max-width: 100%;
    font-size: 16px;
    margin: auto;
    width: 300px;
}

.modal-content {
    margin-top: 20px;
    border-radius: 0;
}

.modal-header,
.modal-body {
    padding: .5rem 1rem;
}

.modal-header .close {
    opacity: 1;
    z-index: 1;
    position: relative;
}

.modal h2 {
    font-size: 24px;
    margin-top: 0;
}

.modal-header,
.modal-body {
    padding: 1em 2ch;
}

.modal input[name="Username"],
.modal input[name="Password"] {
    width: 100%;
    padding-left: .25em;
    padding-right: .25em;
    margin-bottom: 0.5em;
    height: 2em;
    border: 1px solid rgba(68, 68, 68, .5);
}

.modal a {
    display: block;
    margin-bottom: .5em;
}

@media (max-width: 990px) {
    .header-links li:not(:last-child) {
        display: none;
    }
}


/*--------------------------------------------------------
    Mobile navigation
--------------------------------------------------------*/

#mobileMenuWrapper {
    position: fixed;
    background: var(--primary);
    border-right: 3px solid #135d9c;
    top: 0;
    bottom: 0;
    z-index: 102;
    overflow-y: auto;
    overflow-x: hidden;
    left: -120%;
    width: 300px;
    box-shadow: 0 3px 14px -2px rgba(0, 0, 0, 0.4);
    transition: left .125s ease-in-out;
}

#mobileMenuWrapper.open {
    left: 0;
}

#mobileMenuWrapper ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#mobileMenuWrapper .mobile-search-close {
    display: flex;
    justify-content: space-between;
}

#mobileMenuWrapper a {
    background-color: transparent;
    text-decoration: none;
}

#mobileMenuWrapper .mDropdown {
    display: none;
    padding-top: .7rem;
}

#mobileMenuWrapper .mDropdown.open {
    display: block;
}

.triggerClose {
    text-align: right;
}

.triggerClose button {
    background: none;
    border: none;
    font-size: 1.5rem;
    padding: 0;
    line-height: 1;
}


/*--------------------------------------------------------
    MOBILE MENU
--------------------------------------------------------*/

#mobileMenuWrapper.open {
    left: 0px;
    bottom: 0px;
}

#mobileMenuWrapper #mobile-menu {
    overflow: auto;
    padding: 15px 20px;
}

#mobileMenuWrapper ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

#mobileMenuWrapper #mobile-menu li.mobile-search-wrap a {
    border: 0px;
}

#mobileMenuWrapper #mobile-menu a.home-link {
    border-top: 0px;
}

#mobileMenuWrapper #mobile-menu a {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Onest', sans-serif;
    background: transparent;
    padding: 10px 0px;
    text-decoration: none;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
    border-bottom: 0px;
    border-radius: 0px;
}

#mobileMenuWrapper #mobile-menu a:hover,
#mobileMenuWrapper #mobile-menu a:focus {
    background: transparent;
    color: #fff;
}

#mobileMenuWrapper ul.mDropdown {
    display: none;
}

#mobileMenuWrapper .mDropdown.open {
    display: block;
}

#mobile-menu a {}

#mobile-toggle {
    border: none;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

.mobile-menu-wrap {
    display: inline-block;
    vertical-align: middle;
}

@media (min-width: 768px) and (max-width: 990px) {
    .mobile-menu-wrap {
        display: inline-block !important;
        vertical-align: middle;
    }
}

#mobile-menu-col {
    top: 5px;
    padding: 0px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    float: right;
    margin-left: 12px;
}

@media (max-width: 767px) {
    #mobile-menu-col {
        top: 40px;
    }
}

#mobileMenuWrapper #mobile-menu li.mobile-advertise-wrap {
    margin-top: 45px;
}

#mobileMenuWrapper #mobile-menu li.mobile-advertise-wrap a {
    font-family: 'Onest', sans-serif;
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    color: #ffffff;
    background: var(--accent);
    border-radius: 10px;
    padding: 6px 16px;
    transition: background 0.5s ease;
    width: 145px;
    border: 0;
}

#mobileMenuWrapper #mobile-menu li.mobile-donate-wrap {
    margin-top: 20px;
}

#mobileMenuWrapper #mobile-menu li.mobile-donate-wrap a {
    font-family: 'Onest', sans-serif;
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    color: #ffffff;
    background: var(--secondary);
    border-radius: 10px;
    padding: 6px 16px;
    transition: background 0.5s ease;
    width: 145px;
    border: 0;
}

li.mobile-sm-wrap {
    display: inline-block !important;
    vertical-align: middle;
    margin-top: 10px;
    margin-right: 15px;
}

li.mobile-sm-wrap svg {
    width: 45px;
    height: 45px;
}

li.mobile-sm-wrap a {
    border: 0 !important;
}

li.mobile-sm-wrap svg path.cls-4 {
    fill: #fff !important;
}


/*-----------------toggle--------------------*/

button#mobile-toggle {
    width: 37px;
    height: 37px;
    display: none;
    position: absolute;
    right: 15px;
    bottom: 30px;
    border: 2px solid #002857;
    border-radius: 4px;
    padding: 8px 5px;
    background-color: white;
    box-shadow: 0px 1.5px 1px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

@media (max-width: 990px) {
    button#mobile-toggle {
        display: inline-block;
    }
}

button#mobile-toggle svg * {
    fill: #002857;
}


/*-----------end--toggle---------------------*/

#mobile-menu>li#triggerClose {
    color: #FFFFFF;
    float: right;
    display: inline;
    font-size: 40px;
    cursor: pointer;
    transform: rotate(45deg);
    border-bottom: 0px !important;
    padding-right: 0px !important;
    border-top: 0px !important;
    padding-bottom: 0px !important;
    font-family: auto;
    line-height: 30px;
}

#mobile-menu>li>a {
    width: 174px;
    min-height: 32px;
    margin-bottom: 6px;
    border-radius: 3px;
    background-color: transparent;
    padding-left: 8px;
    padding-top: 10px;
    padding-right: 5px;
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    color: #5485A3;
    -webkit-transition: color .25s;
    transition: color .25s;
    text-decoration: none;
}


/*--------------------------------------------------------
    Main
--------------------------------------------------------*/

#subpage-main,
#mms-main {
    padding-top: 3rem;
    min-height: calc(100vh - 54px - 167px - 4rem);
}


/* Banner row  */

#banner-row {
    position: relative;
}

#banner-row img {
    max-height: 90vh;
    object-fit: cover;
    object-position: top;
}

#banner-row:not(#mycanvas #banner-row) figcaption {
    position: absolute;
    bottom: 100px;
    color: white;
    font-size: 24px;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgb(0 0 0 / 70%);
    max-width: calc(100% - 30px);
}

#banner-row:not(#mycanvas #banner-row) h1 {
    color: white;
    font-size: 55px;
    padding-bottom: 0;
    border-bottom: 3px solid;
    width: fit-content;
}

@media (max-width: 990px) {
    #banner-row:not(#mycanvas #banner-row) figcaption {
        bottom: 2rem;
        font-size: 1.1rem;
    }
    #banner-row:not(#mycanvas #banner-row) h1 {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    #banner-row:not(#mycanvas #banner-row) figcaption {
        position: relative;
        background: var(--primary);
        top: 0;
        bottom: 0;
        margin-left: -15px;
        margin-right: -15px;
        max-width: unset;
        padding: 1rem;
    }
}


/* Events and News rows */

#events-row .column:not(#mycanvas .column),
#news-row .column:not(#mycanvas .column) {
    /* max-height: 50vh;
    overflow-y: visible; */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    grid-gap: 1rem 30px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    height: 100%;
}

#events-row img:not(#mycanvas img),
#news-row img:not(#mycanvas img) {
    height: 100% !important;
    object-fit: cover;
    object-position: top;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1;
    opacity: .25;
}

#events-row h2,
#news-row h2,
#events-row .button-link,
#news-row .button-link {
    grid-column: 1 / -1;
}

#news-row time {
    display: none;
}

[src="https://media.istockphoto.com/photos/baseball-batter-preparing-to-hit-ball-picture-id536311505?s=2048x2048"] {
    /* Specific to the placeholder images of this template */
    object-position: 0 -200px !important;
}

[src="https://media.istockphoto.com/photos/two-plastic-balls-picture-id503626553?s=2048x2048"] {
    /* Specific to the placeholder images of this template */
    object-position: 0 -380px !important;
}

@media (max-width: 990px) {
    #events-row:not(#mycanvas .row),
    #news-row:not(#mycanvas .row) {
        overflow: hidden;
    }
    #events-row img:not(#mycanvas img),
    #news-row img:not(#mycanvas img) {
        height: 200% !important;
    }
}


/* Sponsors Row */

.sponsors-list li {
    justify-self: center;
}


/* #mycanvas .sponsors-list {
    display: block;
} */

.sponsors-list {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    margin-top: 2rem;
}

.sponsors-list img {
    border: 1px solid #e6e9f4;
    border-radius: 5px;
    object-fit: cover;
    object-position: center;
}


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

section.footer-top-wrap {
    background: #004f94;
    margin-top: 35px;
    padding: 60px 0px 30px;
    color: #fff;
}

section.footer-top-wrap * {
    color: #fff;
    font-size: 18px;
}

section.footer-top-wrap a {
    text-decoration: underline;
}

section.footer-top-wrap h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 24px;
}

.footer-contact-info {
    line-height: 36px;
    font-family: 'Onest', sans-serif;
}

.footer-important-links h4 {
    margin-bottom: 24px !important;
}

.footer-important-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-important-links ul li {
    padding-bottom: 6px;
}

.footer-important-links ul li a {
    text-decoration: underline;
    font-size: 18px !important;
    line-height: 30px !important;
}

.footer-important-links ul li a:hover {
    color: #bedbed !important;
}

footer#main-footer {
    background: #192c3a;
    padding: 28px 0px 26px;
    font-size: 16px !important;
    font-family: 'Syne', sans-serif !important;
    color: #ffffff;
    line-height: 24px;
}

footer#main-footer p {
    color: #ffffff;
    font-size: 16px;
    font-family: 'Onest', sans-serif;
    margin: 0;
    line-height: 28px;
    font-weight: 400;
    padding-top: 0px;
    padding-bottom: 0px;
}

.footer-credit-section .text-left p:nth-child(2) {
    margin-top: 12px !important;
}

footer#main-footer a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 400;
}

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

footer#main-footer strong {
    color: #ffffff;
    font-family: 'Onest', sans-serif;
    font-weight: 700;
}

footer#main-footer span.footer-credit,
footer#main-footer span.footer-privacy {
    border-left: 1px solid #ffffff;
    margin-left: 12px;
    padding-left: 12px;
}

@media (min-width: 768px) and (max-width: 990px) {
    footer#main-footer .text-left,
    footer#main-footer .text-right {}
    footer#main-footer .footer-newsletter-wrap {
        margin-top: 22px;
    }
    .footer-important-links {
        margin-top: 40px;
    }
    footer#main-footer .text-right {
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .footer-important-links {
        margin-top: 40px;
    }
    footer#main-footer .text-left,
    footer#main-footer .text-right {
        text-align: left;
    }
    footer#main-footer .text-right {
        margin-top: 15px;
    }
    footer#main-footer p {
        margin-bottom: 5px;
    }
    footer#main-footer span.footer-credit,
    footer#main-footer span.footer-privacy {
        display: block;
        border-left: 0px;
        padding-left: 0px;
        margin-left: 0px;
    }
    .footer-nav-wrap {
        margin-top: 20px;
    }
    .footer-menu-links-wrap,
    .footer-info-wrap {
        margin-top: 25px;
    }
}

.footer-org-info h2 {
    font-size: 25px;
    line-height: 38px;
}

.footer-social-wrap {
    margin-bottom: 15px;
    margin-top: 70px;
}

.footer-social-wrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social-wrap ul li {
    list-style: none;
    display: inline-block;
    vertical-align: middle;
    margin-left: 25px;
}

.footer-social-wrap ul li:first-child {
    margin-left: 0px;
}

.footer-social-wrap svg {
    width: 34px;
    height: 34px;
}

.footer-social-wrap a:hover svg rect.cls-2 {
    fill: #99ccff !important;
}

footer#main-footer .footer-newsletter-wrap {
    margin-bottom: 22px;
}

footer#main-footer .footer-newsletter-wrap a {
    text-decoration: none;
    color: #fff;
    background: #b61d33;
    padding: 7px 19px;
    border-radius: 17px;
}

@media (max-width: 767px) {
    footer#main-footer .footer-newsletter-wrap {
        margin-top: 22px;
    }
}

.footer-menu-wrap {}

.footer-menu #nav_menu .navbar-nav {
    display: inline-block;
    columns: 3;
    padding: 10px 0px 0px;
}

.footer-menu #nav_menu .navbar-nav .caret {
    display: none;
}

.footer-menu #nav_menu .navbar-nav>li a {
    border-left: 0px;
    padding: 0px 10px 6px 0px;
    text-align: left;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border: 0px;
}

.footer-menu #nav_menu .navbar-nav>li a:hover,
.footer-menu #nav_menu .navbar-nav>li a:focus {
    background: transparent;
    color: #FFFFFF;
    text-decoration: underline;
    border: 0px;
}

.footer-menu #nav_menu .navbar-nav>li:last-child a {
    border-right: 0px;
}

.footer-menu #nav_menu .navbar-nav .dropdown-menu,
.footer-menu #nav_menu .navbar-nav .dropdown:hover .men-level-0,
.footer-menu #nav_menu .navbar-nav .dropdown:hover .men-level-,
.footer-menu #nav_menu .navbar-nav .dropdown:hover .men-level-1,
.footer-menu #nav_menu .navbar-nav .dropdown:hover .men-level-2 {
    display: block;
    width: 100%;
    position: relative;
    float: none;
    margin: 0;
    min-width: 100%;
    background: transparent;
    box-shadow: none;
    display: block !important;
}

.footer-menu #nav_menu ul.navbar-nav .dropdown,
.footer-menu #nav_menu ul.navbar-nav:first-child>li,
.footer-menu #nav_menu>ul.navbar-nav>li {
    border-bottom: 0px;
    padding-bottom: 10px;
    margin-bottom: 50px;
    width: 100%;
    float: none;
    display: inline-block;
    page-break-inside: avoid;
    padding-right: 15px;
}

.footer-menu #nav_menu ul.navbar-nav:first-child li:last-child {
    border-bottom: 0px;
}

.footer-menu #nav_menu .dropdown-menu {
    left: 0;
    padding-top: 8px;
    border: 0px;
}

.footer-menu #nav_menu .dropdown-menu li {
    padding-left: 0px;
    float: none;
    display: inline-block;
    border: 0px !important;
    padding-bottom: 0px !important;
    margin-bottom: 8px !important;
}

.footer-menu #nav_menu .dropdown-menu li a {
    padding: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 400;
    white-space: normal;
    line-height: 24px;
}

.footer-menu #nav_menu .dropdown-menu li a:before {
    display: none;
}

@media (max-width: 991px) {
    .footer-menu #nav_menu {
        display: block !important;
        border: 0px !important;
        box-shadow: none !important;
    }
}

@media (max-width: 580px) {
    .footer-menu #nav_menu .navbar-nav {
        columns: 2;
        margin-top: 50px;
    }
    .footer-menu-wrap {
        border-right: 0px;
    }
}


/*--------------------------------------------------------
    MMS Styles
--------------------------------------------------------*/


/* MMS Member Menu icons */

@media (min-width: 1200px) {
    .nav-tabs li.dropdown {
        width: 190px;
    }
}

@media (min-width: 990px) and (max-width: 1200px) {
    .nav-tabs li.dropdown {
        width: 155px;
    }
}

@media (min-width: 767px) and (max-width: 990px) {
    .nav-tabs li.dropdown {
        width: 120px;
    }
}