/* change the config > news manager thumbnail size to 990 */

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

:root {
    --page-width: 100vw;
    --primary: #016ca4;
    --secondary: #1b486d;
    --accent: #0dbbc5;
    --text: #171916;
    --light-gray: #e8f0fa;
    --radius: 6px;
    --radius-small: 4px;
    font-size: 16px;
    --side-margin: calc((100vw - var(--page-width)) / -2);
    font-family: "Newsreader", serif;
    overflow-x: clip;
    --header-height: 80px;
    --footer-height: 83px;
}

@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);
}

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: .75em;
    padding: 0;
    font-weight: 800;
    line-height: 1em;
    text-transform: capitalize;
    color: var(--text);
    font-family: "Newsreader", serif;
}

h1 {
    font-size: 38px;
}

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

h2 {
    font-size: 30px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 26px;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 22px;
}

p+h1,
p+h2,
p+h3,
p+h4 {
    margin-top: 1.25em;
}

p {
    margin: 0 0 20px;
}


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

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

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

.button-link {
    color: white;
    border: none;
    text-transform: capitalize;
    font-weight: 700;
    padding: .75em 2ch;
    display: block;
    width: fit-content;
    margin: 1.5em 0;
    transition: .125s background-color ease-in-out, .125s color ease-in-out;
    line-height: 1;
    text-decoration: none;
    background-color: var(--primary);
    border-radius: 20px;
    white-space: nowrap;
}

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

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

.button-link:is(:hover, :focus) {
    background-color: var(--secondary);
    color: white;
    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;
}

.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(--light-gray);
    background-image: url('../images/grid.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: overlay;
}

.background-row:not(#mycanvas .background-row)>.column {
    background: transparent !important;
    font-size: 16px;
    /* color: white; */
    /* text-align: center;
    font-weight: bold; */
    max-width: 1200px;
    margin: auto;
    line-height: 1.3;
}

#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: 16px;
    }
}

@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 {
    font-size: 20px;
}

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

.caption-text {
    font-size: 28px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.alt-text {
    font-size: 16px;
    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: "Newsreader", 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;
}

.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 {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

header .logo-link :is(img, svg) {
    max-width: 100%;
    height: auto;
}

/* Navigation */

header>nav {
    display: flex;
}

#nav_menu {
    padding: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

#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;
    align-items: center;
    gap: 1rem 20px;
    /* Overwrite BS defaults */
    float: none;
    margin: 0;
}

#nav_menu a {
    font-weight: 500;
    text-decoration: none;
    color: var(--secondary);
    transition: .125s color ease-in-out;
    font-family: "Newsreader", serif;
}

#nav_menu>.nav>li>a {
    font-size: 16px;
    padding: 0;
    position: relative;
    line-height: 1;
}

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

/* #nav_menu>.nav>li>a::before {
    --size: 9px;
    content: '';
    position: absolute;
    bottom: calc(var(--size) * -1);
    left: 0;
    right: 0;
    height: var(--size);
    background: var(--primary);
    opacity: 0;
    transition: .125s opacity ease-in-out;
    z-index: -1;
}

#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;
}

#nav_menu .caret {
    position: absolute;
    color: var(--secondary);
    bottom: .4em; 
    margin-left: 5px;
}

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

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

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

#nav_menu li:has(.caret) {
    /* Adjust width for absolutely positioned caret */
    padding-right: 15px;
}

#nav_menu>.nav>li>a.button-link {
    color: white;
    padding: .75em 2ch;
}

#nav_menu>.nav>li>a:is(:hover, :focus).button-link {
    background-color: var(--secondary);
}

#nav_menu .dropdown-menu {
    top: calc(100% + 9px);
    border: none;
    font-size: 1rem;
}

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

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

#nav_menu .dropdown-menu>li>a:focus,
#nav_menu .dropdown-menu>li>a:hover {
    color: var(--primary);
    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: 16px;
    }
}

@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;
    }
}


/* 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;
    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: 992px) {
    .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: 20px;
    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>li>a {
    font-size: 18px;
    font-weight: 500;
    color: var(--secondary);
}

#mobile-menu>li>a:is(:hover, :focus) {
    color: var(--primary);
    text-decoration: none;
}

#mobile-menu .caret {
    border-top-color: var(--secondary);
    margin-left: 5px;
}

#mobile-menu a:is(:hover, :focus) .caret {
    border-top-color: var(--primary);
}

.mDropdown a {
    font-size: 18px;
    color: var(--secondary)
}

.mDropdown a:is(:hover, :focus) {
    color: var(--primary);
    text-decoration: none;    
}

#mobile-menu .mobile-login {
    margin-top: 10px;
}

#mobile-menu .mobile-login .button-link {
    padding: .55em 2ch;
    color: white;
}

#mobile-menu .mobile-login a:is(:hover, :focus) {
    color: white;
}

@media (max-width: 991px) {
    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: 80px;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

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

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

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: 35px;
    }
}

/*--------------------------------------------------------
						Homepage Styles
--------------------------------------------------------*/

/* slide-row */

#slide-row {
    padding: 0;
}

#slide-row .carousel img {
    width: 100%;
}

#slide-row .carousel-caption {
    left: calc((var(--side-margin) * -1) + 15px);
    right: 50%;
    padding-inline: 15px;
    padding-bottom: 15px;
    border-radius: var(--radius-small);
    background-color: hsla(from black h s l / 0.85); ;
}

#slide-row .caption-text {
    font-size: 24px;
    font-weight: 500;
    text-shadow: none;
    text-align: left;
}

#slide-row .alt-text {
    color: white;
    font-size: 16px;
    font-weight: 400;
    text-shadow: none;
    text-align: left;
}

#slide-row .carousel-indicators {
    width: fit-content;
    top: 15px;
    right: calc((var(--side-margin) * -1) + 15px);
    bottom: unset;
    left: unset;
    display: flex;
    gap: 5px;
}

#slide-row .carousel-indicators li {
    width: 12px;
    height: 12px;
    border: 0;
    margin: 0;
    background-color: var(--secondary);

}

#slide-row .carousel-indicators .active {
    width: 12px;
    height: 12px;
    border: 0;
    margin: 0;
    background-color: var(--accent);
}

@media (max-width: 991px) {
    #slide-row .carousel-caption {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        padding-inline: 15px calc(var(--scrollbarWidth) + 15px);
        background-color: var(--primary);
    }

    #slide-row .carousel-indicators {
        right: calc(var(--scrollbarWidth) + 15px);
    }
}

/* event-row */

#event-row p:has(.button-link) {
    margin-bottom: 0;
}

#event-row .button-link {
    margin-bottom: 0;
}

#event-row .panel-group {
    margin-bottom: 30px;
}

#event-row .panel-group .panel {
    border: 0;
}

#event-row .panel-group .feed-item.panel+.feed-item.panel {
    margin-top: 0;
}

/* event-row - panel-heading */
#event-row .panel-group .feed-item:first-of-type .panel-heading {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

#event-row .feed-item .panel-heading {
    position: relative;
    background-color: var(--primary);
    transition: .125s border ease-in-out, .125s border-radius ease-in-out;
}

#event-row .panel-group .feed-item:not(:first-of-type) .panel-heading {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#event-row .panel-group .feed-item:not(:first-of-type, .feed-item:has([aria-expanded="true"])+.feed-item) .panel-heading {
    border-top: 2px solid hsl(from var(--primary) h s calc(l* 1.15));;
}

#event-row .panel-group .feed-item:last-of-type:not(:has([aria-expanded="true"])) .panel-heading {
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

/* event-row - inside panel-heading */
#event-row .feed-item h3 {
    padding-right: 35px;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 500;
}

#event-row .feed-item .ev-title-link {
    color: white;
}

#event-row .feed-item .ev-title-link:is(:hover, :focus) {
    color: white;
    text-decoration: none;
}

#event-row .feed-item .ev-title-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#event-row .feed-item .ev-title-link[aria-expanded="false"]::after {
    content: url('../images/plus-icon.svg');
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    left: auto;
    width: 14px;
    height: 14px;
}

#event-row .feed-item .ev-title-link[aria-expanded="true"]::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    left: auto;
    width: 14px;
    height: 1px;
    background-image: url('../images/minus-icon.svg');
}

/* event-row - panel-body */
#event-row .feed-item .panel-body {
    border: 2px solid var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    transition: .125s border ease-in-out, .125s border-radius ease-in-out;
}

#event-row .feed-item .panel-body::before,
#event-row .feed-item .panel-body::after {
    display: none;
}

#event-row .feed-item:last-of-type .panel-body {
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

/* event-row - inside panel-body */
#event-row .feed-item time::before {
    content: url('../images/calendar-icon.svg');
    margin-right: 5px;
}
#event-row .feed-item p {
    margin-bottom: 0;
}

#event-row .feed-item .ev-more-info-link {
    display: block;
    margin-top: 15px;
}

#event-row .feed-item .ev-more-info-link:is(:hover, :focus) {
    text-decoration: none;
}

#event-row .feed-item .ev-more-info-link::after {
    content: url('../images/arrow-icon.svg');
    margin-left: 5px;
    transition: .125s margin ease-in-out;
}

#event-row .feed-item .ev-more-info-link:is(:hover, :focus)::after {
    content: url('../images/arrow-icon.svg');
    margin-left: 10px;    
}

/* news-row */

#news-row:not(#mycanvas #news-row) .column {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

#news-row h2 {
    margin-bottom: .25em;
    grid-column: 1/-1;
}

#news-row .feed-item {
    position: relative;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
}

#news-row .feed-item img {
    width: 100%;
    aspect-ratio: 263/187;
    object-fit: cover;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

#news-row .feed-item h3 {
    margin-bottom: 0;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    padding: 10px 15px;
    background-color: var(--primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    transition: .125s background-color ease-in-out;
}

#news-row .feed-item h3:is(:hover, :focus) {
    background-color: var(--secondary);  
}

#news-row .feed-item .news-title-link {
    color: white;
}

#news-row .feed-item .news-title-link:is(:hover, :focus) {
    color: white;
    text-decoration: none;
}

#news-row .feed-item .news-title-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#news-row .button-link {
    margin-top: 0;
    grid-column: 1/-1;    
}

@media (min-width: 767px) and (max-width: 991px) {
    #news-row:not(#mycanvas #news-row) .column {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    #news-row:not(#mycanvas #news-row) .column {
        grid-template-columns: repeat(1, 1fr);
    }
}

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

footer {
    position: relative;
    padding-block: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px 30px;
    color: white;
}

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

footer :is(p, a, h1, h2, h3, h4, h5, h6) {
    color: white;
}

footer p {
    margin-bottom: 0;
}

footer a:is(:hover, :focus) {
    color: white;
}

footer .social-list {
    list-style-type: none;
    padding-inline: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: fit-content;
}

footer .social-list svg rect {
    display: none;
}

@media (max-width: 991px) {
    footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

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