/* instructions - make sure to set the news manager thumb size to 990 */
/* the news feed uses the logo if no image is used - test with their logo */

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

:root {
    --page-width: 100vw;
    --primary: #18536d; /* background-row and footer social media icons use a lighter color of this */
    --secondary: hsl(66, 60%, 63%); /* background-row uses a lighter color of this */
    --accent: hsl(from var(--secondary) h s calc(l* .7)); /* a darker color of secondary used for button-link*/
    --radius: 8px;
    --large-radius: 32px;
    --text: #4c4c4c;
    font-size: 18px;
    --side-margin: calc((100vw - var(--page-width)) / -2);
    font-family: "Quattrocento", serif;
    overflow-x: clip;
    --header-height: 123px;
    --footer-height: 206px;
}

@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: 1.2em;
    text-transform: capitalize;
    color: var(--text);
    font-family: "Plus Jakarta Sans", sans-serif;
}

h1 {
    font-size: 44px;
}

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

h2 {
    font-size: 36px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 26px;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 20px;
}

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 {
    color: #1a1a1a;
    border: none;
    text-transform: capitalize;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    padding: .75em 2ch;
    display: block;
    width: fit-content;
    margin: 1.25em 0;
    transition: .125s background-color ease-in-out, .125s color ease-in-out, .125s border-radius ease-in-out;
    line-height: 1;
    text-decoration: none;
    background-color: var(--secondary);
    white-space: nowrap;
    animation: .5s ease-in-out leaf; 
    animation-delay: 0;
}

/* leaf animation */
@keyframes leaf {
    0% {
        border-top-left-radius: var(--radius);
        border-bottom-right-radius: var(--radius);
    }
    100% {
        border-top-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

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

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

.button-link:is(:hover, :focus) {
    border-top-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    background-color: var(--accent);
    color: #1a1a1a;
    text-decoration: none;
}



/*--------------------------------------------------------
	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: 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: hsl(from var(--primary) h s calc(l* 3.5));
}

.background-row.secondary:not(#mycanvas .background-row.secondary)::before {
    background: hsl(from var(--secondary) h s calc(l* 1.5));
}

.background-row:not(#mycanvas .background-row)>.column {
    background: transparent !important;
    font-size: 18px;
    /* 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(#cta-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;
    }
}


/* images */

:is(#homepage-main, #subpage-main) .column img:not(#slide-row img, #news-row img) {
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    transition: .75s border-radius ease-in-out;
    /* animation: .5s ease-in-out leafy; 
    animation-delay: 0; */
}

:is(#homepage-main, #subpage-main) .column img:not(#slide-row img, #news-row img).active {
    border-top-left-radius: var(--large-radius);
    border-bottom-right-radius: var(--large-radius);
}

/* leafy animation */
@keyframes leafy {
    0% {
        border-top-left-radius: 0;
        border-bottom-right-radius: 0;        
    }
    100% {
        border-top-left-radius: var(--large-radius);
        border-bottom-right-radius: var(--large-radius);
    }
}

/* p */

p {
    margin: 0 0 30px;
}

/* 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: 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, #gm-canvas .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-block: 20px;
}

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

header :is(img, svg) {
    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 25px;
    /* Overwrite BS defaults */
    float: none;
    margin: 0;
    align-items: center;
}

#nav_menu a:not(.button-link) {
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
    transition: .125s color ease-in-out;
    font-family: "Plus Jakarta Sans", sans-serif;
}

#nav_menu>.nav>li>a:not(.button-link) {
    font-size: 16px;
    font-weight: 500;
    padding: 0;
    position: relative;
    line-height: 1;
}

#nav_menu a:not(.button-link):is(a:hover, a:focus) {
    color: var(--text);
}

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

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

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

#nav_menu>.nav>li>a:not(.button-link):focus,
#nav_menu>.nav>li>a:not(.button-link):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: white;
    border: none;
}

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

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

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


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

/* Login Link */

header .mobile-login a {
    padding: .75em 2ch;
    line-height: 1;
    font-weight: 600;
}

header .mobile-login a:is(:hover, :focus) {
    background-color: var(--accent);
    text-decoration: 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;
    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: 1046px) {
    .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-weight: 700;
}

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

#mobile-menu .caret {
    border-top-color: var(--primary);
    transition: .125s border-top-color ease-in-out;
}

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

.mDropdown a {
    font-size: 18px;
    font-weight: 700;
}

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

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

header #mobileMenuWrapper .mobile-login {
    margin-top: 15px;
}

/* 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: 90px;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

main>.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: calc(var(--gap) / 2);
    }
}

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

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

/*--------------------------------------------------------
	Home Page Content
--------------------------------------------------------*/

main:is(#homepage-main) h1 {
    font-size: 36px;
}

/* slide-row */

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

#slide-row img {
    margin-inline: auto 0 !important;
}

#slide-row .item:not(:has(.carousel-caption)) {
    background-color: var(--primary); /* if they have no caption */
}

#slide-row .carousel-caption {
    top: 0;
    right: unset;
    bottom: 0;
    left: 0;
    width: calc(100vw - 700px);
    background: linear-gradient(90deg,rgba(24, 83, 109, 1) 0%, rgba(46, 121, 153, 1) 97%);;
    border-bottom-right-radius: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 100px;
}

#slide-row .caption-text {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
}

#slide-row .alt-text {
    color: white;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
}

#slide-row .alt-text .button-link {
    margin-top: 50px;
    text-shadow: none;
}


#slide-row .carousel-indicators {
    right: 100px;
    left: unset;
    margin-left: unset;
    width: fit-content;

}

@media (min-width: 1500px) {
    #slide-row .caption-text {
        font-size: 48px;
    }
}

@media (min-width: 1201px) and (max-width: 1500px) {
    #slide-row .carousel-caption {
        width: calc(100vw - 600px);        
    }
}

@media (min-width: 991px) and (max-width: 1201px) {
    #slide-row .carousel-caption {
        width: calc(100vw - 500px);    
        padding: 30px 60px;    
    }
}

@media (min-width: 815px) and (max-width: 991px) {
    #slide-row .carousel-caption {
        width: calc(100vw - 450px);        
        padding: 30px 40px;
    }

    #slide-row .alt-text .button-link {
        margin-top: 20px;
    }
}

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

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

    #slide-row .caption-text {
        font-size: 28px;
    }
}


/* cta-row */

#cta-row:not(#gm-canvas #cta-row) {
    display: flex;
    gap: 0; 
}

#cta-row h2 {
    font-size: 24px;
    /* min-height: 2.4em; */
}

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

@media (min-width:900px) {
    main:is(#homepage-main, #subpage-main)>.row>.column:not(:first-child) {
        margin-top: 0;
    }
}

@media (min-width: 650px) and (max-width: 900px) {
    #cta-row {
        flex-direction: column;
    }

    #cta-row .column img {
        float: left;
        margin-right: 30px;
    }

    #cta-row br {
        display: none;
    }

    #cta-row h3 {
        min-height: unset;
    }
}

@media (max-width: 650px) {
    #cta-row:not(#gm-canvas #cta-row) {
        display: block;
    }

    #cta-row h3 {
        min-height: unset;
    }

    main:is(#homepage-main, #subpage-main) #cta-row >.column:not(:first-child) {
        margin-top: var(--gap);
    }
}

/* event-row */

#event-row h2 {
    font-size: 34px;
}

#event-row .feed-item {
    margin-bottom: 5px;
}

#event-row .event-title-header {
    position: relative;
    padding-inline: 15px 30px;
    padding-block: 10px;
    background-color: var(--primary);
    border-top-right-radius: var(--radius);
    border-top-left-radius: var(--radius);
}

#event-row .feed-item:not(:has(.in, .collapsing)) .event-title-header {
    border-bottom-right-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
}

#event-row .event-title-header h3 {
    margin-bottom: 0;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

#event-row .event-title-header h3 a {
    color: white;
}

#event-row .event-title-header h3 a::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#event-row .event-title-header h3 a:is(:hover, :focus) {
    text-decoration: none;
}

#event-row .event-title-header h3::after {
    content: url('../images/arrow-right-icon.svg');
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

#event-row .event-title-header:has(.collapsed) h3::after, #event-row #headingOne.event-title-header h3:not(:has([aria-expanded="true"]))::after {
    content: url('../images/arrow-down-icon.svg');
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

#event-row .event-title-body {
    margin-left: 2px;
    margin-right: 2px;
    border-bottom-right-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
    box-shadow: 0 0 0 2px var(--primary);
}

#event-row .event-title-body>div {
    padding: 30px; 
    border-bottom-right-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
}


#event-row time {
    display: inline;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

#event-row .event-title-body p {
    display: inline;
    margin-bottom: 0;
}

#event-row .button-link {
    margin-inline: auto;
}

/* news-row */

#news-row:not(#gm-canvas #news-row) .column>div:not(#v_hidden_detail-3, :has(.button-link)) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

#news-row #v_hidden_detail-3 {
    display: none;
}

#news-row h2 {
    grid-column: 1/-1;
    font-size: 34px;
}

#news-row .feed-item {
    position: relative;
    border-radius: var(--radius);
    min-height: 275px;
}

#news-row .feed-item img {
    border-radius: var(--radius);
    max-width: 100%;
    width: 100%;
    max-height: 335px;
    height: 100%;
    object-fit: cover;
}

#news-row .feed-item .news-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc-size(auto, size);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px 20px;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    background-color: hsla(from var(--primary) h s calc(1 * 38) / 0.8);
    transition-property: display, opacity, border-radius, background-color, height;
    transition-duration: .75s;
    /* transition-delay: .25s; */
}

#news-row .feed-item .news-body h3 {
    color: white;
    margin-bottom: 0;
    transition: .125s margin-bottom ease-in-out;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

#news-row .feed-item .news-body a {
    color: white;
}

#news-row .feed-item:is(:hover, :focus) .news-body a {
    color: white;
}

#news-row .feed-item .news-body p {
    height: 0;
    overflow: hidden;
    transition: .5s height ease-in-out;
    color: white;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

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

@media (min-width: 767px) {
    #news-row .feed-item:is(:hover, :focus) .news-body {
        height: 100%;
        border-radius: var(--radius);
        background-color: hsla(from var(--primary) h s l / 0.8);
    }

    #news-row .feed-item:is(:hover, :focus) p {
        height: calc-size(auto, size);
    }

    #news-row .feed-item:is(:hover, :focus) .news-body h3 {
        margin-bottom: .75em;
    }
}

@media (max-width: 767px) {
    #news-row:not(#gm-canvas #news-row) .column>div:not(#v_hidden_detail-3, :has(.button-link)) {
        grid-template-columns: repeat(1, 1fr);
    }

    #news-row .feed-item img {
        max-height: unset;
    }
}

/* news - if there is no image */

#news-row .feed-item:not(:has(img)) {
    background-color: white;
}

#news-row .feed-item:not(:has(img))::before {
    content: url('../images/logo.svg');
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    max-width: 300px;
}

@media (min-width: 991px) and (max-width: 1201px) {
    #news-row .feed-item:not(:has(img))::before {
        max-width: 250px;
    }
}

@media (max-width: 991px) {
    #news-row .feed-item:not(:has(img))::before {
        max-width: 900px;
    }
}

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


footer {
    background-color: var(--primary);
    color: white;
    padding-block: 20px 100px;
}

footer .wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

footer .wrapper div {
    padding-top: 10px;
}

footer p {
    margin-bottom: 15px;
    line-height: 1.3;
}

footer p:first-child {
    margin-bottom: 5px;
}

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

footer a:is(:hover, :focus) {
    color: hsl(from var(--secondary) h s calc(l* 1.4));
}

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 {
    color: hsl(from var(--primary) h s calc(l* 1.3));
    background-color: white;
    transition: .125s color ease-in-out, .125s background-color ease-in-out, .5s border-radius ease-in-out;
    border-top-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius)
}
footer .wrapper .social-list svg:is(:hover, :focus) {
    color: white;
    background-color: var(--secondary);
    border-top-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

footer .social-list svg.active {

    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
}


/* leaf animation */
@keyframes leaf {
    0% {
        border-top-left-radius: var(--radius);
        border-bottom-right-radius: var(--radius);
    }
    100% {
        border-top-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

footer .social-list svg rect {
    display: none;
    color: white;
    transition: .125s color ease-in-out;
}
footer .social-list svg:is(:hover, :focus) rect {
    color: var(--accent);
}

@media (max-width: 767px) {
    footer {
        padding-block: 20px 75px;
    }

    footer .wrapper {
        flex-direction: column;
    }

    footer .wrapper>div p:last-child {
        margin-bottom: 0;
    }
}


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