/* instructions - make sure to change the image size of news items to at least 990px in config > news manager */

/* There are default images that will appear if they don't have an image for the two feeds. This uses the favicon so that needs to be set up but you could change the width and height of the element and use a small transparent logo which would look better */

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

:root {
    --page-width: 100vw;
    --primary: #3a6731;
    --secondary: #4daa01; /* lighter version of primary for footer links and menu item underline */
    --accent: #c64f01;
    --dark-color: #002f44;
    --text: #1d1d1d;
    --gray: #dbdbdb;
    --light-gray: #F4F4F4;
    --radius: 20px;
    font-size: 16px;
    --side-margin: calc((100vw - var(--page-width)) / -2);
    font-family: "Aleo", serif;
    overflow-x: clip;
    --header-height: 89px;
    --footer-height: 113px;
}

@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-gray);
    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: 600;
    line-height: 1.3em;
    text-transform: capitalize;
    color: var(--text);
    font-family: "Aleo", serif;
}

h1 {
    font-size: 36px;
}

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

h2 {
    font-size: 32px;
}

h3 {
    font-size: 29px;
}

h4 {
    font-size: 26px;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 22px;
}

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


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

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

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

.button-link {
    font-family: "Montserrat", sans-serif;
    color: white;
    border: none;
    text-transform: capitalize;
    font-weight: 600;
    padding: .75em 2ch;
    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);
    border-radius: .3rem;
    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(--accent);
    color: white;
    text-decoration: none;
}

.arrow-link {
    font-weight: 900;
}

.arrow-link::after {
    content: '→';
    margin-left: 8px;
    transition: margin .125s ease-in-out;
}

.arrow-link:is(:hover, :focus)::after {
    margin-left: 13px;
}

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

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


/* 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: calc(15px + var(--scrollbarWidth));
    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:not(#image-row .column:last-of-type) {
    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(--gray);
}

.background-row:not(#mycanvas .background-row)>.column:not(#cta-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;
}

.background-row:not(#mycanvas .background-row)>.column:not(#sub-heading-row .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: 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: "Aleo", 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 {
    position: fixed;
    z-index: 1;
    width: 100vw;
    padding-block: 10px;
    background-color: white;
}

header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo-img {
    max-width: 100%;
    height: auto;
}

/* Navigation */

header>nav {
    display: flex;
}

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

#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 50px;
    /* Overwrite BS defaults */
    float: none;
    margin: 0;
    align-items: flex-start;
}

#nav_menu a {
    font-weight: 400;
    text-decoration: none;
    transition: .125s color ease-in-out;
    font-family: "Aleo", serif;
}

#nav_menu>.nav>li>a {
    font-size: 18px;
    padding: 0;
    position: relative;
    line-height: 1;
    color: var(--text);
}

@media (min-width: 991px) and (max-width: 1201px) {
    #nav_menu>ul {
        gap: 1rem 35px;
    }
    #nav_menu>.nav>li>a {
        font-size: 16px;
    }
}


#nav_menu a:is(a:hover, a:focus) {
    color: #212121;
    ;
}

#nav_menu>.nav>li>a::before {
    --size: 3px;
    content: '';
    position: absolute;
    bottom: calc(var(--size) * -2);
    left: 0;
    /* right: 0; */
    width: 100%;
    height: var(--size);
    background-color: var(--secondary);
    /* opacity: 0; */
    transition: .125s opacity ease-in-out;
    border-radius: 2px;
    z-index: -1;

    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .3s;
    transition-property: transform, scale;
    scale: 0% 1;
    transform-origin: 100% 100%;

}

#nav_menu>.nav>li>a:is(a:hover, a:focus)::before {
    opacity: 1;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .3s;
    transition-property: transform, scale;
    scale: 100% 1; 
    transform-origin: 0 100%;  
}

#nav_menu>.nav>li>a:is(a:hover, a:focus):has(.caret)::before {
    width: calc(100% + 15px);
    opacity: 1;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .3s;
    transition-property: transform, scale;
    scale: 100% 1; 
    transform-origin: 0 100%;  
}

#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-color ease-in-out;
    background-color: transparent;
    border: none;
}

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

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

#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 .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(--accent);
    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;
    margin-top: 8px;
    color: var(--primary);
}

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

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

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

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

.mDropdown {
    display: none;
}

.mDropdown.open {
    display: block;
    list-style-type: none;
    padding-inline-start: 15px;
    margin-bottom: 0
}

#mobile-menu>li>a {
    font-weight: 400;
    color: var(--text);
}

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

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

#mobile-menu a:is(:hover, :focus) .caret, .mDropdown a:is(:hover, :focus) .caret, #nav_menu .dropdown-submenu a:is(:hover, :focus) .caret {
    border-top-color: var(--accent);
}

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

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

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

#mobile-menu .mobile-login {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#mobile-menu .mobile-login a {
    color: white;
}

/* 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;
    left: calc(var(--size) / 1.5);
    top: calc(50% - (var(--size) / 2));
    color: transparent;
    border: none;
    outline: none;
}


/* Main */

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

main>.row {
    position: relative;
    padding-block: 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, #cta-row .column, #image-row .column) {
        margin-top: var(--gap);
    }
}

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

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


/* Footer */

footer {
    background-color: var(--dark-color);
    color: white;
}

footer .wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-block: 40px;
}

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

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

footer .footer-middle {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer a:is(:hover, :focus) {
    color: var(--secondary);
    text-decoration: none;
}

footer .footer-middle ul {
    padding-inline-start: 0;
    list-style-type: none;
    margin-bottom: 0;
}

footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

footer .footer-bottom .footer-left {
    display: flex;
    gap: 5px;
}

@media (max-width: 810px) {
    footer .footer-bottom .footer-left {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 767px) {
    footer .footer-middle {
        flex-direction: column;
    }
    footer .footer-bottom {
        flex-direction: column;
        gap: 30px;
    }
    footer .footer-bottom p:last-of-type {
        margin-bottom: 0;
    }
    footer .social-list {
        justify-content: flex-start;
    }
}


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

/* slide-row */

#slide-row {
    padding: 0;
}

#slide-row .carousel-inner {
    position: relative;
}

#slide-row .carousel-inner .item {
    height: calc(100vw * .38);
}

#slide-row .carousel-inner img {
    width: 50%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
}

#slide-row .carousel-inner img.button-link {
    background-color: unset;
    padding: 0;
    border-radius: 0;
}

#slide-row .carousel-caption {
    top: 0;
    right: 50%;
    left: 0;
    bottom: 0;
    background-color: white;
}

@media (min-width: 1131px) {
    #slide-row .caption-wrapper {
        padding: 30px 60px !important;
    }
    #slide-row .carousel-caption::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: white;
        z-index: -1;
        transform: skew(-10deg) translateX(65px);
    }
}

#slide-row .caption-wrapper {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

#slide-row .carousel-caption .caption-text {
    font-size: 48px;
    color: var(--text);
    text-shadow: none;
    text-align: left;
    margin-bottom: 0;
    transition: .125s all ease-in-out;
    line-height: 1.1em;
}

@media (min-width: 1130px) and (max-width: 1201px) {
    #slide-row .carousel-caption .caption-text {
            font-size: 36px;
    }
}

#slide-row .carousel-caption .alt-text {
    font-size: 18px;
    color: var(--text);
    text-shadow: none;
    text-align: left;
    margin-bottom: 0;
    transition: .125s all ease-in-out;
}

#slide-row .carousel-caption .button-link {
    margin-top: 30px;
}

#slide-row .carousel-indicators {
    left: 0;
    width: 50%;
    margin-left: 0;
}

#slide-row .carousel-indicators .active {
    background-color: var(--primary);
}

#slide-row .carousel-indicators li {
    border: 1px solid var(--primary);
}

#slide-row  .carousel-control {
    display: none;
}

@media (max-width: 1130px) {
    #slide-row .carousel-inner .item {
        height: fit-content;
    }
    /* #slide-row .item::before {
        content: '';
        position: absolute;
        width: 200px;
        height: 100%;
        top: 0;
        left: 0;
        background-color: white;
        z-index: 1;
        transform: skew(-10deg) translateX(-180px);
    }
    #slide-row .item::after {
        content: '';
        position: absolute;
        width: 200px;
        height: 100%;
        top: 0;
        right: 0;
        background-color: white;
        z-index: 1;
        transform: skew(-10deg) translateX(125px);
    } */
    #slide-row .carousel-inner img {
        width: 100%;
        height: 100%; /* calc(100vw * .38) */
        position: unset;
        object-fit: cover;
    }
    #slide-row .carousel-caption {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: var(--primary);
        width: 100%;
        height: fit-content;
        z-index: 2;
    }
    #slide-row .carousel-caption .caption-text {
        color: white;
    }
    #slide-row .carousel-caption .alt-text {
        color: white;
    }
    #slide-row .carousel-caption .button-link {
        background-color: var(--primary);
    }
    #slide-row .carousel-caption .button-link:is(:hover, :focus) {
        background-color: var(--accent);
    }
    #slide-row .caption-wrapper {
        padding: 30px calc(30px + var(--scrollbarWidth)) 30px 30px;
    }
    #slide-row .carousel-indicators {
        bottom: 5px;
        left: 50%;
        width: 60%;
        margin-left: -30%;
    }
    #slide-row .carousel-indicators .active {
        background-color: #fff;
    }

    #slide-row .carousel-indicators li {
        border: 1px solid #fff;
    }
}

@media (max-width: 767px) {
    #slide-row .carousel-caption .caption-text {
        font-size: 36px;
    }
}


/* attention-row */

#attention-row .column {
    padding-inline: 45px;
}

#attention-row p:first-of-type {
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

#attention-row :is(p, h1, h2, h3, h4, h5, h6){
    text-align: center;
    /* max-width: 800px; */
    margin-inline: auto;
}

#attention-row p {
    font-size: 18px;
}

@media (max-width: 767px) {
    #attention-row :is(p, h1, h2, h3, h4, h5, h6){
    text-align: left;
    margin-inline: unset;
}
}


/* sub-heading-row */

#sub-heading-row  {
    padding-block: var(--gap) calc(var(--gap) / 2);
}

#sub-heading-row .column {
    padding-left: 45px;
    padding-right: 45px;
}

#sub-heading-row.background-row .column {
    padding-left: 45px;
    padding-right: 45px;
}

#sub-heading-row p:first-of-type {
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

#sub-heading-row h2 {
    margin-block: 1.25em .5em;
}

#sub-heading-row p {
    font-size: 18px;
}

#sub-heading-row .button-link {
    margin-top: 5px;
    margin-inline: auto 0;
}

#sub-heading-row + #cta-row {
    padding-block: 0 var(--gap);
}



/* cta-row */

#cta-row:not(#mycanvas #cta-row)  {
    display: flex;
    justify-content: space-between;
    gap: 35px;
}

@media (max-width: 991px) {
    #cta-row {
        flex-direction: column;
        padding-inline: 15px;
        gap: 15px;
    }
}

#cta-row::before, #cta-row::after {
    display: none;
}

#cta-row .column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    background-color: white;
    padding: 25px;
    border-radius: var(--radius);
}

#cta-row .column svg {
    color: var(--primary);
    width: 40px;
    height: 40px;
    /* margin-bottom: 15px; */
}

#cta-row .column h2 {
    min-height: 2.6em;
    margin-bottom: 0;
}

#cta-row .column p {
    margin-bottom: 0;
}

#cta-row .button-link {
    padding-block: 1em;
    margin-left: auto;
}

#cta-row .button-link::after {
    content: '→';
    transition: margin .125s ease-in-out;
    margin-right: 3px;
}

/* event-row */

#event-row {
    padding-block: 0;
}

#event-row .column:has(.feed-item) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

#event-row .column .feed-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

#event-row .column .feed-item .feed-left {
    background-color: var(--gray);
    padding: 25px;
    border-radius: var(--radius);
    max-width: 50%;
}

#event-row .ev-title-link {
    font-size: 24px;
    line-height: 1.5;
}

#event-row .column .feed-item time {
    display: block;
    margin-bottom: 5px;
    color: #5e5e5e;
}

#event-row .column .feed-item img {
    border-radius: var(--radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 767px) and (max-width: 991px) {
    #event-row .column:has(.feed-item) {
        grid-template-columns: repeat(1, 1fr);
    }

    #event-row .column .feed-item .feed-left {
        max-width: 65%;
    }
}

@media (max-width: 767px) {
    #event-row .column:has(.feed-item) {
        grid-template-columns: repeat(1, 1fr);
    }
    #event-row .column .feed-item {
        flex-direction: column;
    }
    #event-row .column .feed-item .feed-left {
        max-width: 100%;
    }
    #event-row .column .feed-item img {
        max-height: 250px;
    }
}

/* if there is no event image */

#event-row .feed-item:not(:has(img)) div:not(div.feed-left) {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    background-color: var(--gray);
}

#event-row .feed-item:not(:has(img)) div:not(div.feed-left)::after {
    content: url('../images/favicon.svg');
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    transform: translateY(-50%) translateX(-50%);
}

@media (min-width: 767px) and (max-width: 991px) {
    #event-row .feed-item:not(:has(img)) div:not(div.feed-left) {
        max-width: calc(35% - 15px);
    }
}

@media (max-width: 767px) {
    #event-row .feed-item:not(:has(img)) div:not(div.feed-left) {
        max-height: 250px;
        aspect-ratio: 991/1167;
    }
}

/* timeline-row */

#timeline-row .column {
    padding-inline: 45px;
}

#timeline-row p:first-of-type:not(.carousel p) {
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

#timeline-row h2 {
    margin-block: 1.25em;
}

/* timeline-row - slideshow timeline */

#timeline-row .carousel {
    margin-top: 110px;
    margin-inline: -30px;
}

#timeline-row .carousel-inner {
    overflow: hidden;
}

#timeline-row .item {
    position: relative;
}

#timeline-row .item.next,
#timeline-row .item.prev {
    display: none;
    opacity: 0;
}

#timeline-row .item.active {
    opacity: 1;
    animation: appear 1s;
}

#timeline-row .item.left {
    opacity: 0;
    animation: disappear 1s;
}

@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes disappear {
    from {
        display: block;
        opacity: 1;
    }
    to {
        display: none;
        opacity: 0;
    }
}

#timeline-row img {
    border-radius: var(--radius);
    margin: 70px auto 0 0 !important;
}

#timeline-row .carousel-indicators {
    bottom: unset;
    top: -60px;
    left: calc(10% + 20px) ;
    width: calc(80% - 50px);
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-left: 0;
    transition: all .125s ease-in-out;
}

@media (min-width: 767px) and (max-width: 991px) {
    #timeline-row .carousel-indicators {
        gap: 75px;
    }
}
@media (min-width: 567px) and (max-width: 767px) {
    #timeline-row .carousel-indicators {
        gap: 50px;
    }
}
@media (max-width: 567px) {
    #timeline-row .carousel-indicators {
        gap: 25px;
    }
}

#timeline-row .carousel-indicators::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    z-index: -1;
    transition: all .125s ease-in-out;
}

#timeline-row .carousel-indicators li {
    border: 2px solid var(--primary);
    background-color: #fff;
    margin: 0;
    width: 12px;
    height: 12px;
        transition: all .125s ease-in-out;
}

#timeline-row .carousel-indicators li.active {
    /* border: 1px solid var(--primary); */
    background-color: var(--primary);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-top: -6px;
    transform: translateX(6px);
}

#timeline-row .carousel-caption {
    margin-top: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 265px;
    padding-block: 0;
}

#timeline-row .caption-text {
    text-shadow: none;
    color: var(--text);
}

#timeline-row .caption-text b {
    position: absolute;
    top: -75px;
    right: 0;
    left: -265px;
    text-align: center;
    font-size: 18px;
    color: var(--primary);
}

#timeline-row .alt-text {
    text-shadow: none;
    color: var(--text);
}

#timeline-row .carousel-control {
    top: -67px;
    width: 25px;
    height: 25px;
    background-image: none;
    color: var(--primary);
    opacity: 1;
    text-shadow: none;
    border: 2px solid var(--primary);
    border-radius: 50%;
    bottom: unset;
    line-height: 1;
    font-weight: 900;
}

#timeline-row .carousel-control.left, #timeline-row.carousel-control.right {
    display: block;
}

.carousel-control.right {
    right: 10%;
    left: auto;
}

.carousel-control.left {
    left: 10%;
    right: auto;
}

#timeline-row .carousel-control:focus, #timeline-row.carousel-control:hover {
    opacity: 1;
}

@media (max-width: 567px) {
    #timeline-row img {
        margin: 60px auto 0 !important;
    }

    #timeline-row .carousel-caption {
        margin-top: 25px;
        position: relative;
        left: 0;
    }
    #timeline-row .caption-text b {
        top: -350px;
        left: 0;
    }
}

/* image-row */

#image-row:not(#mycanvas #image-row) {
    display: flex;
    padding-block: 0;
}

#image-row .column:first-of-type img {
    object-fit: cover;
    width: 100% !important;
    height: 100% !important;
}

#image-row .column:first-of-type br {
    display: none;
}

#image-row .column:last-of-type {
    padding: var(--gap) 100px;
    background-color: var(--primary);
    color: white;
}

#image-row:not(#mycanvas #image-row) .column p:first-of-type {
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    color: white;
    font-weight: 600;
}

#image-row:not(#mycanvas #image-row) :is(h1, h2, h3, h4, h5, h6) {
    color: white;
    margin-bottom: 1.25em;
}

#image-row p {
    font-size: 18px;
}

#image-row:not(#mycanvas #image-row) a {
    color: white;
}

#image-row a:is(:hover, :focus) {
    text-decoration: none;
}

#image-row .column p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    #image-row {
        flex-direction: column;
    }
    #image-row .column:last-of-type {
        padding: var(--gap) calc(30px + var(--scrollbarWidth)) var(--gap) 30px;
    }
}

#sub-heading-row + #news-row {
    padding-top: 0;
}

/* news-row */

#news-row .column:has(.feed-item) {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

#news-row .feed-item img {
    border-radius: var(--radius);
    height: auto;
    width: 100%;
    aspect-ratio: 990/1165;
    object-fit: cover;
    margin-bottom: 15px;
}

#news-row .feed-item h3 {
    font-size: 18px;
}

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

/* if there is no event image */

#news-row .feed-item:not(:has(img)) div {
    display: inline-block;
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    background-color: var(--gray);
    aspect-ratio: 990/1165;
}

#news-row .feed-item:not(:has(img)) div::after {
    content: url('../images/favicon.svg');
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    transform: translateY(-50%) translateX(-50%);
}

/* Animations */

/* slide in from left animation */

.slide-in-left:not(#mycanvas .slide-in-left) {
    /* opacity: 0; */
    transition: .8s all ease;
    transform: translate3d(-100%, 0, 0);
}
.slide-in-left:not(#mycanvas .slide-in-left)::before {
    right: calc(var(--side-margin) - 100vw) !important;
}
.slide-in-left.active:not(#mycanvas .slide-in-left.active) {
    /* opacity: 1; */
    transform: none;
}

/* fade-in animation */

.fade-in:not(#mycanvas .fade-in) .column, .fade-in:not(#mycanvas .fade-in) .feed-item {
    opacity: .5;
    transition: .8s all ease-in-out;
}

.fade-in:not(#mycanvas .fade-in)::before {
    opacity: 1;
}

.fade-in.active:not(#mycanvas .fade-in.active) .column, .fade-in.active:not(#mycanvas .fade-in.active) .feed-item {
    opacity: 1;
}


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