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

:root {
    --page-width: 100vw;
    --primary: #101f28;
    --primary-light: hsl(from var(--primary) h s calc(l * 2.85));
    --secondary: #213d4f;
    --secondary-light: #0fb2ae;
    --transparent: rgb(from var(--secondary-light) r g b / 0.7);
    --accent: #ffc300;
    --text: #31393f;
    --gray: rgba(0, 0, 0, .6);
    --light-gray: #f2f2f2;
    --radius: 20px;
    font-size: 16px;
    --side-margin: calc((100vw - var(--page-width)) / -2);
    font-family: "Instrument Sans", sans-serif;
    overflow-x: clip;
    --header-height: 102px;
    --footer-height: 152px;
    --bounce-val: -7px;
    --bounce-val-two: calc(var(--bounce-val) / 2);
}

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

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

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

* {
    /*scroll-margin-top: var(--header-height);*/
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    position: relative;
    max-width: 100%;
    overflow-x: inherit;
}

body,
header,
nav,
footer {
    font-family: inherit !important;
    font-size: inherit !important;
    /*^^ Overwrites mms_styles.css*/
}


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

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    margin-bottom: .5em;
    padding: 0;
    font-weight: 700;
    line-height: 1.2em;
    color: var(--primary);;
    font-family: "Instrument Sans", sans-serif;
}

h1 {
    font-size: 30px;
}

h1.title:empty {
    /*^^Hides the extra margin that is added on pages without a title*/
    display: none;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

p+h1,
p+h2,
p+h3,
p+h4 {
    margin-top: 1.25em;
}
p {
    margin: 0 0 20px;
}
p:last-child {
    margin-bottom: 0px;
}


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

a {
    color: inherit;
    text-decoration: none;
    transition: .125s color ease-in-out;
}

a:is(:hover, :focus) {
    color: var(--secondary);
    /* text-decoration: underline; */
}

.button-link {
    color: #fff;
    border: none;
    text-transform: capitalize;
    font-weight: 600;
    font-size: inherit;
    padding: 0.85em 1.15em;
    display: block;
    width: fit-content;
    margin: 1.25em 0;
    transition: .125s background-color ease-in-out, .125s color ease-in-out;
    line-height: 1;
    text-decoration: none;
    background-color: var(--primary-light);
    border-radius: 5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    text-shadow: none;
}



.button-link:first-child {
    margin-top: 0;
}

.button-link:last-child {
    margin-bottom: 0;
}

.button-link:is(:hover, :focus) {
    background-color: var(--accent);
    color: var(--primary);
    text-decoration: none;
}



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

.offscreen {
    position: absolute;
    left: -200vw;
}

.embed-wrapper {
    /* Essentially remove the div added for Embed Script from the DOM */
    display: contents;
}


/* Wrappers*/

.wrapper {
    /* .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  */
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
    position: relative;
    height: inherit;
    padding-left: 15px;
    padding-right: 15px;
    width: calc(var(--page-width) - 30px);
    width: var(--page-width);
}

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

main:is(#homepage-main, #subpage-main) .full-width>.column {
    padding-left: 0;
    padding-right: 0;
}

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

.background-row {
    position: relative;
    color: #fff;
}

.background-row:not(#mycanvas .background-row)::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: var(--side-margin);
    display: block;
    background: var(--secondary);
    z-index: -1;
}



.background-row:not(#mycanvas .background-row)>.column:not(.column:has(+.column)) {
    /* Since element is extended past where the scrollbar is, extra padding is added to make sure it's content is not hidden under the scrollbar */
    padding-right: calc(15px + var(--scrollbarWidth));
}

#subpage-main:has(.background-row:last-child) {
    /* If .background-row is the last row, don't include a gap between main and footer */
    margin-bottom: 0;
    padding-bottom: 0;
}

#subpage-main>.background-row:last-child {
    /* If .background-row is the last row, don't include a gap between main and footer */
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .background-row:not(#mycanvas .background-row)>.column {
        font-size: inherit;
    }
}

@media (max-width: 992px) {
    .container,
    .wrapper {
        /* Extra wiggle room at a breakpoint that needs it  */
        width: 100%;
    }
    .full-width,
    .background-row {
        /* left: var(--side-margin);
        right: var(--side-margin);
        width: calc(100vw + var(--scrollbarWidth)); */
    }
}

@media (min-width: 992px) and (max-width: 1201px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1201px) {
    .container {
        width: 1170px;
    }
}


/* Lists */

.three-column-grid {
    display: grid;
    gap: 1rem 20px;
    grid-template-columns: repeat(auto-fill, minmax(min(275px, 100%), 1fr));
}

ul.three-column-grid {
    list-style: none;
    padding: 0;
    margin: 0;
}


/* Tables */

#subpage-main table {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 990px) {
    #subpage-main table {
        max-width: 100%;
    }
}

@media (max-width: 550px) {
    #subpage-main table {
        font-size: 16px;
        line-height: 1.25em;
    }
}

#subpage-main *+table {
    margin-top: 2em;
}

#subpage-main table+* {
    margin-top: 3em;
}

#subpage-main table caption {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

#subpage-main table tr {
    border-left: .35em solid white;
    border-right: .35em solid white;
}

#subpage-main table *+strong {
    margin-top: .75em;
}

#subpage-main table tbody>tr:nth-of-type(even) {
    background: #F6F6F6;
    border-left: .35em solid #F6F6F6;
    border-right: .35em solid #F6F6F6;
}


/*Feed items */

[class*="item"] img[src=""] {
    /* Don't display a broken image if no image has been added to a feed item */
    display: none;
}

main [class*="item"] br {
    /* Remove gaps in description text of feed items */
    /* <main> included in selector to prevent the inclusion of ...-items in the footer*/
    display: none;
}


/* Slideshow defaults */

.carousel {
}

.carousel-control.left,
.carousel-control.right {
    display: none;
}

.caption-text {
    font-size: 34px;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
    line-height: 1.3em;
}

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


/*Responsive Nivo Slideshow*/

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


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


/*Misc. Objects */

.script-row:not(#mycanvas .script-row) {
    /* Allows scripts to be added via the Grid Editor without displaying the padding, etc that would be included on the published page */
    display: none;
}

address {
    margin-bottom: unset;
    /*Overwrites Bootstrap style*/
}


/* Modal */

.modal-header {
    /*Applies to any modal on the site*/
    border: none;
}

.close,
.close:hover {
    opacity: 1;
}

svg.menu-trigger {
    vertical-align: unset;
}

.close svg.menu-trigger {
    width: 30px;
    height: 30px;
}

.close svg.menu-trigger line {
    stroke-width: 4px;
}

.close svg.menu-trigger .line-1 {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left;
    transform-origin: left;
}

.close svg.menu-trigger .line-4 {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: right;
    transform-origin: right;
}

.close svg.menu-trigger .line-2 {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: center;
    transform-origin: center;
}

.close svg.menu-trigger .line-3 {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform-origin: center;
    transform-origin: center;
}


/* Header */
header.wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 30px;
    background: #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
    @media (max-width: 1199px) {
        header.wrapper {
            padding-top: 1.5em;
            padding-bottom: 1.5em;
        }
    }

header.wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: var(--side-margin);
    background: #fff;
    z-index: -1;
}
header svg {
    vertical-align: middle;
}
a.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75em;
    text-decoration: none;
    color: var(--secondary);
}
a.logo-link span {
    font-size: 22px;
    font-weight: 700;
}

.search-link {
    color: var(--primary-light);
}



/* Navigation */


#nav_menu {
    padding: 0;
}

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

#nav_menu>ul {
    display: flex;
    justify-content: flex-start;
    gap: 1rem 18px;
    /* Overwrite BS defaults */
    float: none;
    margin: 0;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: -1px;
}

#nav_menu a {
    font-weight: 500;
    text-decoration: none;
    transition: .125s color ease-in-out;
}

#nav_menu>.nav>li>a {
    font-size: inherit;
    padding: 0.65em  0;
    position: relative;
}

#nav_menu a:is(a:hover, a:focus) {
    color: var(--secondary);
}



#nav_menu>.nav>li>a:has(.caret)::before {
    right: -15px;
}

#nav_menu>.nav>li>a:is(a:hover, a:focus)::before {
    opacity: 1;
}

#nav_menu>.nav>li>a:focus,
#nav_menu>.nav>li>a:hover {
    /* Overwrite BS defaults */
    background: unset;
}

#nav_menu .nav .open>a,
#nav_menu .nav .open>a:focus,
#nav_menu .nav .open>a:hover {
    transition: .125s background ease-in-out;
    background-color: transparent;
    border: none;
    color: var(--secondary);
}

#nav_menu .caret {
    margin-left: 5px;
}

#nav_menu .dropdown-submenu .caret {
    bottom: unset;
    top: .8em;
}

#nav_menu .caret::after {
    /* content: url(../images/dropdown-arrow.svg); */
}

#nav_menu li:has(.caret) {
    /* Adjust width for absolutely positioned caret */
}

#nav_menu .dropdown-menu {
    top: auto;
    border: none;
    font-size: 1rem;
    border-radius: 0px;
}
#nav_menu .dropdown-menu.men-level- {
    margin-top: -1px;
}

#nav_menu .dropdown-menu:is(.men-level-1, .men-level-2) {
    top: -7px;
    margin-left: 0;
    border-radius: 0;
}
#nav_menu .dropdown-menu:is(.men-level-1, .men-level-2) a {
    padding: 3px 15px;
}

#nav_menu .dropdown-menu>li {
    position: relative;
}

#nav_menu .dropdown-menu>li>a:focus,
#nav_menu .dropdown-menu>li>a:hover {
    color: var(--secondary);
    background: transparent;
}

@media (max-width:990px) {
    #nav_menu {
        margin-bottom: 30px;
        display: block;
        /* Overwrite .collapse that hides desktop menu on smaller screens */
    }
    #nav_menu>.nav>li>a {
        font-size: 18px;
    }
}

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

@media (max-width:550px) {
    #nav_menu {
        margin-bottom: 18px;
    }
    #nav_menu>.nav>li>a {
        font-size: 16px;
    }
}


#nav_menu>.nav>li .button-link {
    background-color: var(--primary-light);
    color: #fff;
    padding-left: 1rem;
    padding-right: 1rem;
    line-height: normal;
    font-weight: 600;
}
#nav_menu>.nav>li .button-link:is(a:hover, a:focus) {
    background-color: var(--accent);
    color: var(--primary);
}
nav .button-link::before, nav .button-link::after {
    display: none;
}




/* Site originally had no Mobile Navigation per design from outside designers, but this was abandoned by Ilana during Content Population */

#mobileMenuWrapper {
    position: fixed;
    background: white;
    border-right: 2px solid var(--secondary);
    z-index: 100;
    top: 0;
    bottom: 0;
    left: -200vw;
    overflow-y: auto;
    overflow-x: hidden;
    width: 300px;
    transition: .125s left ease-in-out;
    padding: .5rem 2ch;
    box-shadow: 7px 0 5px rgba(0, 0, 0, 0.1);
}

#mobileMenuWrapper.open {
    left: 0;
}

@media (min-width: 1199px) {
    .mobileMenuTrigger {
        display: none;
    }
}

button.mobileMenuTrigger {
    background: none;
    border: none;
    margin-left: auto;
}

.mobileMenuTrigger label {
    position: absolute;
    left: -200vw;
}

#mobile-menu {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    font-size: inherit;
    list-style-type: none;
    padding-inline-start: 0;
    margin-bottom: 0;
}

.triggerClose {
    display: block;
    margin-left: auto;
}

.triggerClose button {
    background: none;
    border: none;
    font-size: 2em;
    line-height: 1;
}

.mDropdown {
    display: none;
    list-style-type: none;
    padding-inline-start: 1em;
    margin-bottom: 0;
}

.mDropdown.open {
    display: block;
}

#mobile-menu a {
    font-weight: 500;
}
#mobile-menu a:is(:hover, :focus) {
    color: var(--secondary);
    text-decoration: none;
}

#mobile-menu .caret {
    border-top-color: var(--primary);
}

.mDropdown a {
    font-size: 16px;
}

#mobile-menu li.login-container {
    margin-top: 1em;
}
#mobile-menu li .button-link {
    background: var(--secondary);
    color: #fff;
    padding: 0.75em 2em;
    text-decoration: none;
    position: relative;
    top: 0.75em;
}
#mobile-menu li .button-link:is(:hover, :focus) {
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
    padding-left: 1rem;
    padding-right: 1rem;
}





@media (max-width: 1200px) {
    body:has(.mobileMenuTrigger) #nav_menu {
        display: none !important;
    }
}


/* Search */

.searchbox {
    position: relative;
    --size: 17.5px;
}

.searchbox .search-input {
    padding: .5em 2ch;
    padding-left: calc(2ch + (var(--size)));
    border: none;
    border-radius: .75em;
    font-size: 1rem;
    width: 507px;
    max-width: 100%;
}

.searchbox .search-button {
    background: url(../images/search-new.svg.php?fc=000);
    background-size: 120%;
    height: var(--size);
    width: var(--size);
    position: absolute;
    right: calc(var(--size) / 1.5);
    top: calc(50% - (var(--size) / 2));
    color: transparent;
    border: none;
    outline: none;
}







/* Main */

main {
    --gap: 60px;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

main>.row:not(main>.row#slideshow-row,.row#cta-row){
    position: relative;
    padding-block: var(--gap);
    /* padding-top: var(--gap); */
}

main:is(#subpage-main, #mms-main)>.row {
    padding-block: calc(var(--gap) / 4);
}

main:is(#subpage-main, #mms-main)>.row:first-child {
    padding-top: var(--gap);
}

main:is(#subpage-main, #mms-main)>.row:last-child {
    padding-bottom: var(--gap);
}

@media (max-width: 990px) {
    main:is(#homepage-main, #subpage-main)>.row>.column:not(:first-child) {
        margin-top: var(--gap);
    }
}

@media (max-width: 767px) {
    main {
        --gap: 45px;
    }
}

@media (max-width: 550px) {
    main {
        --gap: 25px;
    }
}




#subpage-main, #mms-main {
    padding-top: 2rem;
    padding-bottom: 2rem;
}




/* rows and columns margin inside grid+ */
#gm-canvas .row, #gm-canvas .column {
    margin-top: 2em;
    margin-bottom: 2em;
}

.embed-wrapper { display: contents; }







/* Welcome/ Intro Arrow */
.back-to-intro:not(#mycanvas .back-to-intro) {
    position: relative;
    top: -25px;
    font-size: 0;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    z-index: 1000;
    width: 62px;
    height: 42px;
    overflow: hidden;
    white-space: nowrap;
    animation: bounce 2s ease infinite;
    background: var(--secondary);
    padding: 1em;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.back-to-intro:not(#mycanvas .back-to-intro):before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background-image: url(../images/down-btn.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
        40% {transform: translateY(var(--bounce-val));}
        60% {transform: translateY(var(--bounce-val-two));}
    }






/* Home - Slideshow */
#slideshow-row {
    margin-bottom: 2em;
    margin-top: 1px;
}
#slideshow-row:not(#mycanvas #slideshow-row)::before {
    margin-bottom: -2em;
    margin-top: -1px;
    bottom: 2em;
}
#slideshow-row:not(#mycanvas #slideshow-row) .column {
    padding-right: 15px;
}
#slideshow-row:not(#mycanvas #slideshow-row) .item.active {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding: 2.75em 2em 4em;
    justify-content: center;
    border: 1px solid var(--primary-light);
}
#slideshow-row:not(#mycanvas #slideshow-row) .item.active:has(.carousel-caption) img {
    margin: 0 !important;
    padding-left: 15px;
}
    @media (min-width: 768px) and (max-width: 990px) {
        #slideshow-row:not(#mycanvas #slideshow-row) .item.active:has(.carousel-caption) img {
            width: 50%;
        }
    }
    @media (max-width: 767px) {
        #slideshow-row:not(#mycanvas #slideshow-row) .item.active:has(.carousel-caption) img {
            padding-left: 0px;
        }
    }


#slideshow-row .carousel-caption {
    background-color: transparent;
    bottom: 0;
    color: #fff;
    text-align: left;
    right: 0;
    left: 0;
    margin: 0;
    width: 50%;
    padding: 0;
    position: relative;
}

#slideshow-row .carousel-caption * {
    color: #fff;
}
#slideshow-row .carousel-caption .button-link {
    margin-top: 1.5em;
    background-color: var(--accent);
    color: var(--primary);
}
#slideshow-row .carousel-caption .button-link:is(:hover, :focus) {
    background-color: var(--primary);
    color: #fff;
}



#slideshow-row .carousel-indicators {
    text-align: left;
    left: 0;
    margin: 0;
    padding-left: 2em;
}
#slideshow-row .carousel-indicators li {
    width: 12px;
    height: 12px;
    margin: 0 2px auto;
}
#slideshow-row .carousel-indicators li.active {
    width: 12px;
    height: 12px;
}

 
    @media (max-width: 767px) {
        #slideshow-row:not(#mycanvas #slideshow-row) .item.active {
            flex-direction: column;
            padding: 2.5em 1.5em;
        }
        #slideshow-row .carousel-caption {
            width: 100%;
            padding-top: 1.5em;
        }
        #slideshow-row .carousel-indicators {
            padding-left: 25px;
        }
    }   







/* Intro row */

    @media (min-width: 990px) and (max-width: 1199px) {
        #intro-row:not(#gm-canvas #intro-row) .column {
            width: 100%;
        }
    }




/* CTA row */
#cta-row:not(#gm-canvas #cta-row) {
    position: relative;
}
#cta-row:not(#gm-canvas #cta-row) ul {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    list-style: none;
    margin: 0;
    list-style-type: none;
    gap: 1.15em;
    justify-content: flex-end;
    line-height: 1;
    flex-direction: row;
    padding: 0;
}
    @media  (max-width: 1199px) {
        #cta-row:not(#gm-canvas #cta-row) {
            margin-top: 2em;
        }
        #cta-row:not(#gm-canvas #cta-row) ul {
            justify-content: center;
        }
    }


#cta-row:not(#gm-canvas #cta-row) ul li {
    background: var(--secondary);
    text-align: center;
    border-radius: 7px;
    padding: 2.75em 1em;
    min-width: 170px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
#cta-row:not(#gm-canvas #cta-row) ul li:before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    cursor: pointer;
}
#cta-row:not(#gm-canvas #cta-row) ul li:is(:hover, :focus):before {
    bottom: var(--bounce-val-two);
}
#cta-row:not(#gm-canvas #cta-row) ul li:is(:hover, :focus) {
    background: linear-gradient(to top, var(--secondary), var(--primary-light));
    transition: .125s background ease-in-out;
    animation: bounceUpDown 0.8s ease forwards;
}
    @keyframes bounceUpDown {
      0%   { transform: translateY(0); }
      40%  { transform: translateY(var(--bounce-val-two)); }
      70%  { transform: translateY(var(--bounce-val)); }
      100% { transform: translateY(0); }
    }

#cta-row:not(#gm-canvas #cta-row) ul a {
    color: #fff;
    padding-top: 2em;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    align-items: center;
    vertical-align: middle;
    display: block;
}
#cta-row:not(#gm-canvas #cta-row) ul a:before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
#cta-row:not(#gm-canvas #cta-row) ul a:after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 10px;
    background-image: url(../images/after-arrow-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    margin-left: 5px;
    transition: opacity 0.3s ease, margin-left 0.3s ease;
    transition-delay: 0.1s;
}
/* show arrow after bounce */
#cta-row:not(#gm-canvas #cta-row) ul li:is(:hover, :focus) a:after {
  opacity: 1;
  margin-left: 8px;
}

#cta-row:not(#gm-canvas #cta-row) ul li:is(:hover, :focus) svg *:not(svg.contact-us-icon .cls-1) {
    fill: var(--accent);
    animation: resetFill 0s step-end 0.8s forwards; /* reset after 0.6s */
}
#cta-row:not(#gm-canvas #cta-row) ul li:is(:hover, :focus) svg.contact-us-icon .cls-1 {
    stroke: var(--accent);
    animation: resetStroke 0s step-end 0.8s forwards; /* reset after 0.6s */
}



    /* Reset icon back to white after bounce (sync with arrow) */
    @keyframes resetFill {
      to { fill: #fff; }
    }
    @keyframes resetStroke {
      to { stroke: #fff; }
    }






/* Event row */
#events-row:not(#gm-canvas #events-row) {
}
#events-row:not(#gm-canvas #events-row)::before {
    position: absolute;
    height: auto;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: calc(var(--side-margin) - var(--scrollbarWidth));
    display: block;
    box-shadow: inset 0 0 0 1000px var(--transparent);
    z-index: -3;
}
#events-row:not(#gm-canvas #events-row) > .column {
    padding-left: 15px;
    padding-right: 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1rem;
}
    @media (max-width: 767px) {
        #events-row:not(#gm-canvas #events-row) > .column {
            grid-template-columns: repeat(1, 1fr);
        }
    }


#events-row:not(#gm-canvas #events-row) .column > img:first-of-type {
    position: absolute;
    width: 100vw !important;
    height: calc(100% + (var(--gap) * 2)) !important;
    max-width: unset;
    top: calc(var(--gap) * -1);
    bottom: calc(var(--gap) * -1);
    left: var(--side-margin);
    right: calc(var(--side-margin) - var(--scrollbarWidth));
    display: block;
    border-radius: 0;
    z-index: -4;
    object-fit: cover;
    filter: grayscale(100%);
}




#events-row:not(#gm-canvas #events-row) > .column > div {
    display: contents;
}
#events-row:not(#gm-canvas #events-row) .feed-item {
    margin-bottom: 1em;
}


.feed-item {
    position: relative;
    background: var(--secondary);
    color: #fff;
    border-radius: 6px;
    padding: 1.5em;
}
.feed-item:before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    cursor: pointer;
}
.feed-item:is(:hover, :focus) {
    background: linear-gradient(to top, var(--secondary), var(--primary-light));
    transition: .125s background ease-in-out;
    animation: bounceUpDown 0.9s ease forwards;
}
.feed-item:is(:hover, :focus)::before {
    /*Ensure hover region doesn't bounce away from cursor when item animates*/
    bottom: var(--bounce-val-two);
}
.feed-item>div {
    display: flex;
    align-items: center;
    gap: 0.75em;
    border-bottom: 1px solid #3a739b;
    padding-bottom: 1em;
    margin-bottom: 1em;
}
.feed-item h3 {
    font-size: 18px;
    font-weight: 600;
}
a.ev-title-link {
    color: #fff;
}
a.ev-title-link:before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.feed-item:is(:hover, :focus) svg.calendar-icon .cls-1 {
    stroke: var(--accent);
}
.feed-item div p {
    margin-bottom: 0;
    padding-top: 0.5em;
}

#events-row:not(#mycanvas #events-row) h2,
#events-row:not(#mycanvas #events-row) .button-link {
    grid-column: 1 / -1;
    text-align: center;
    margin: 1.5em auto;
}




/* Recent News */
#news-row:not(#gm-canvas #news-row) {
    position: relative;
    padding-top: 2em;
}
#news-row:not(#gm-canvas #news-row) > .column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
}
    @media (max-width: 767px) {
        #news-row:not(#gm-canvas #news-row) > .column {
            grid-template-columns: repeat(1, 1fr);
        }
    }


#news-row:not(#gm-canvas #news-row) > .column > div {
    display: contents;
}
#news-row:not(#mycanvas #news-row) h2,
#news-row:not(#mycanvas #news-row) .button-link {
    grid-column: 1 / -1;
    text-align: center;
    margin: 1.5em auto;
}
.feed-item.news-feed-wrap {
    background: #f6f7f8;
    padding: 0;
    color: var(--text);
    border: 1px solid #f2f2f2;
}
    @media (max-width: 767px) {
        #news-row:not(#gm-canvas #news-row) .feed-item.news-feed-wrap {
            margin-bottom: 1em;
        }
    }


.feed-item.news-feed-wrap>div {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 0px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.feed-item.news-feed-wrap .news-title-date > div {
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding-bottom: 0.5em;
    color: #fff;
}
.feed-item.news-feed-wrap h3 {
    color: #fff;
}
.news-title-date {
    padding: 1.5em;
    background: var(--secondary);
}

.news-title-date:is(:hover, :focus) {
    background: linear-gradient(to top, var(--secondary), var(--primary-light));
    transition: .125s background ease-in-out;
}
a.news-title-link {
    color: #fff;
}
a.news-title-link:before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.feed-item.news-feed-wrap p {
    padding: 1em 20px 1.5em;
}





/* Footer */
footer {
    position: relative;
    background: var(--primary);
    color: #fff;
    padding: 3.75rem 15px 3.5em;
    font-size: inherit;
    font-family: inherit;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 30px;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: var(--side-margin);
    display: block;
    z-index: -1;
    background: var(--primary);
}
footer a {
    text-decoration: underline;
    color: #fff;
}
footer a:is(:hover, :focus) {
    color: var(--accent);
}
footer p {
    margin: 0;
    line-height: 2em;
}
footer span.privacy-policy {
    border-left: 1px solid #ffffff;
    margin-left: 15px;
    padding-left: 15px;
}

/* Footer social list */

.social-list {
    display: flex;
    align-items: center;
    position: relative;
    list-style: none;
    gap: 1em;
    padding: 0;
    margin: 0;
}
.social-list svg {
    width: 20px;
    height: 20px;
}
.social-list svg:hover .cls-1,
.social-list svg:focus .cls-1 {
    fill: var(--accent);
    transition: .125s fill ease-in-out;
}
.social-list svg.fb-icon {
    width: 11px;
}
.social-list svg.x-twitter-icon {
    width: 18px;
    height: 18px;
}
.social-list svg.youtube-icon {
    width: 22px;
    height: 18px;
}




/*--------------------------------------------------------
                        Subpage Styles
--------------------------------------------------------*/


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

#mms-main *[face] {
    font-family: inherit;
    font-size: inherit;
}

#mms-main *[style*="erdana"],
#mms-main *[font-family*="erdana"],

/*^^Targets both elements with Verdana and verdana spec'd*/

#mms-main div,
#mms-main span:not([class^="fa"]),

/*Allows the Font Awesome icons in the Grid Editor to show*/

#mms-main td,
#mms-main tr,
#mms-main table,
#mms-main input,
#mms-main textarea,
#mms-main label
/*^^Styles are meant to overwrite the MMS styles that set everything to Verdana*/

{
    font-family: inherit !important;
}


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

#mycanvas a {
    text-decoration: none;
}

#mycanvas a::before {
    position: initial;
    bottom: initial;
    left: initial;
    right: initial;
    background: initial;
    height: initial;
    transition: initial;
    display: initial;
    z-index: initial;
}