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

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

:root {
    --page-width: 100vw;
    --primary: #013347;
    --primary-transparent: hsla(from var(--primary) h s l / 0.85);
    --secondary: #03586b;
    --tertiary: #187989;
    --accent: #f99f28;
    --text: #333832;
    --light-gray: #F4F4F4;
    --radius: 4px;
    font-size: 16px;
    --side-margin: calc((100vw - var(--page-width)) / -2);
    font-family: "Poppins", sans-serif;
    overflow-x: clip;
    --header-height: 187px;
    --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);
    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: 800;
    line-height: 1em;
    text-transform: capitalize;
    color: var(--primary);
    font-family: "Domine", serif;
}

h1 {
    font-size: 40px;
}

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


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

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

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

.button-link {
    color: white;
    border: 1px solid white;
    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, .125s border 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: white;
    color: var(--primary);
    text-decoration: none;
    border: 1px solid var(--primary);
}

/* inverse button colors for background-row */
.background-row .button-link, #news-row .button-link {
    color: var(--primary);
    border: 1px solid var(--primary);
    background-color: white;
}

.background-row .button-link:is(:hover, :focus), #news-row .button-link:is(:hover, :focus) {
    background-color: var(--primary);  
    color: white;
    border: 1px solid white;
}

/* yellow button */

.button-link.accent {
    background-color: var(--accent);
    color: var(--text);
    border: 0;
}

.button-link.accent:is(:hover, :focus) {
    background-color: hsl(from var(--accent) h s calc(l* 1.2));
    color: var(--text);
    border: 0;
}

/*--------------------------------------------------------
	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:not(#image-row .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(--primary);
}

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

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

.background-row:not(#mycanvas .background-row) :is(h1, h2, h3, h4, h5, h6, a):not(a.button-link) {
    color: white;
}

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

:is(#homepage-main, #subpage-main) .column img:not(#slide-row img, #image-row img, #news-row img) {
    border-radius: var(--radius);
}

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

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

body:has(#subpage-main, #mms-main) header {
    border-bottom: solid 2px var(--primary);
}

header .top-section {
    background-color: var(--primary)
}

header .top-section .wrapper {
    text-align: center;
    padding-block: 13px;
}

header .top-section p {
    color: white;
    margin-bottom: 0;
}

header .top-section a {
    color: white;
}

header .bottom-section {
    padding-block: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

header .bottom-section :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 30px;
    /* 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: "Poppins", sans-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: #212121;
    ;
}

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

#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-color ease-in-out;
    background-color: transparent;
    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 .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>li>a:is(:hover, :focus) .caret {
    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(--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: 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: 991px) {
    .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: 400;
}

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

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

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

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

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

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

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

main:is(#mms-main) {
    padding-top: 20px;
}

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

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

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

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

/* slideshow-row */

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

#slide-row>.column .item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to right, var(--primary) calc(100% - 980px), var(--primary-transparent) calc(110% - 980px), transparent);
    z-index: 1;
}

#slide-row>.column .item img {
    margin-inline: auto 0 !important;
}

#slide-row>.column .item.active a:is(:hover, :focus) {
    text-decoration: none;
}

#slide-row>.column .item.active a::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

#slide-row .carousel-caption {
    top: 10%;
    right: unset;
    left: 100px;
    width: 50%;
}

#slide-row .caption-text {
    font-family: "Domine", serif;
    text-align: left;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: white;
}

#slide-row .alt-text {
    color: white;
    font-size: 18px;
    text-align: left;
}

#slide-row .button-link {
    margin-top: 2em;
    text-shadow: none;
}

#slide-row .carousel-indicators {
    left: 115px;
    bottom: 30px;
}

#slide-row .carousel-indicators li {
    background-color: white;
    border: 1px solid white;
    width: 12px;
    height: 12px;
    margin: 0 5px 0 0;
}

#slide-row .carousel-indicators .active {
    background-color: var(--accent);
    border: 1px solid var(--accent);
}

@media (min-width: 1160px) and (max-width: 1300px) {
    #slide-row .carousel-caption {
        top: 5%;
        left: 70px;
    }

    #slide-row .carousel-indicators {
        left: 85px;
    }
}

@media (max-width: 1160px) {
    #slide-row .carousel-caption {
        top: 5%;
        left: 50px;
    }
    
    #slide-row .carousel-indicators {
        left: 65px;
    }
}

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

    #slide-row .carousel-caption {
        padding-bottom: 50px;
    }

    #slide-row .carousel-caption:has(a) {
        padding-bottom: 150px;
    }

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

    #slide-row .item a .alt-text::after {
        margin: 1.25em 0 2em;
    }

    #slide-row .carousel-indicators {
        bottom: 5px;
        left: 40px;
    }

    #slide-row>.column .item::before {
        background-image: linear-gradient(to right, var(--primary) 50%, tranparent);
    }

    #slide-row .caption-text a {
        left: 25px;
    }
}

@media (max-width: 400px) {
    #slide-row .carousel-caption {
        padding-left: 15px;
        padding-right: calc(15px + var(--scrollbarWidth));
    }
}


/* image-row */

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

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

#image-row:not(#mycanvas #image-row) .column {
    float: unset;
}

#image-row .column:first-of-type {
    padding-left: 0;
    padding-right: 0;
}

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

#image-row .column:last-of-type {
    padding-block: 50px;
    padding-inline: 50px calc(50px + var(--scrollbarWidth));
    background-color: var(--text);
    color: white;
}

#image-row .column:last-of-type :is(h1, h2, h3, h4, h5, h6, a):not(a.button-link) {
    color: white;
}

@media (max-width: 991px) {
    #image-row:not(#mycanvas #image-row) {
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    #image-row:not(#mycanvas #image-row) .column:last-of-type {
        padding: 50px calc(15px + var(--scrollbarWidth)) 50px 15px;
    }
}

/* cta-row */

#cta-row:not(#mycanvas #cta-row) {
    display: flex;
}

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

#cta-row img {
    aspect-ratio: 18/11;
    object-fit: cover;
}

@media (min-width: 660px) and (max-width: 991px) {
    #cta-row .column:not(:last-of-type) {
        padding-right: 0;
    }
}

@media (max-width: 660px) {
    #cta-row:not(#mycanvas #cta-row) {
        flex-direction: column;
        gap: 45px;
    }
    #cta-row .column {
        max-width: 500px;
        margin-inline: auto;
        float: unset;
    }
}

/* event-row */

#event-row :is(h2, p:not(.feed-item p)) {
    text-align: center;
}

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

#event-row .feed-item {
    border: 0;
    background-color: unset;
    box-shadow: none;
}

#event-row .panel-heading {
    margin-top: 0;
    padding-right: 40px;
    border: 1px solid var(--secondary);
    border-radius: 0;
    position: relative;
    background-color: var(--secondary);
    border: 1px solid var(--tertiary);
    border-radius: 0;
}

#event-row .feed-item .panel-heading::after {
    position: absolute;
    content: url('../images/white-right-arrow-icon.svg') !important;
    z-index: 0;
    top: 10px;
    right: 15px;
    transform: rotate(0deg);
    transition: .125s transform ease-in-out;
}

#event-row .feed-item:has(.in, .collapsing) .panel-heading::after {
    position: absolute;
    content: url('../images/white-right-arrow-icon.svg') !important;
    /* content: url('../images/white-down-arrow-icon.svg') !important; */
    z-index: 0;
    top: 10px;
    right: 15px;
    transform: rotate(90deg);
}

#event-row .feed-item h3 {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
}

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

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

#event-row .panel-group .panel-heading+.panel-collapse>.panel-body {
    border-top: 0;
}

#event-row .event-title-body {
    background-color: var(--primary);
    border: 1px solid var(--tertiary);
    border-radius: 0;
}

#event-row .panel-body :is(time, p) {
    display: inline;
}

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


/* news-row */

#news-row {
    padding-block: 5px;
}

#news-row:not(#gm-canvas #news-row) .column {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    color: white;
    padding-top: 2px;
    padding-bottom: 2px;
    position: relative;
    padding: 0;
    width: 100%;
}

#news-row:not(#gm-canvas #news-row)  .column::before, #news-row:not(#gm-canvas #news-row)  .column::after {
    display: none;
}

#news-row .feed-item {
    position: relative;
    /* min-height: 350px; */
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    height: 100%;
    aspect-ratio: 69/71;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

#news-row .feed-item::after {
    content: 'NEWS';
    position: absolute;
    top: 0;
    left: 15px;
    background-color: var(--secondary);
    padding: 2px 10px;
    border-bottom-right-radius: var(--radius);
    border-bottom-left-radius: var(--radius);    
    z-index: 5;
}

#news-row:not(#gm-canvas #news-row) img {
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    aspect-ratio: 69/71;
    object-fit: cover;
}

#news-row:not(#gm-canvas #news-row) .news-content {
    height: 7em;
    padding: 20px 20px 0;
    background-color: var(--primary-transparent);
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition:  max-height .75s ease-in-out, height .75s ease-in-out, border-radius .75s ease-in-out, border .75s ease-in-out;
}

#news-row:not(#gm-canvas #news-row) .feed-item h3 {
    z-index: 0;
    margin-bottom: 3.5em;
    transform: translateY(50%);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: white;
    transition: .25s margin ease-in-out, .25s transform ease-in-out;
    transition-delay: 0s;
}

#news-row .news-detail {
    max-height: 0;
    padding: 0 20px;
    background-color: var(--primary-transparent);
    transition: .75s max-height ease-in-out, .75s height ease-in-out;
}

#news-row:not(#gm-canvas #news-row) h3 a {
    color: white;
}

#news-row .news-detail .news-more-info-link {
    color: var(--primary);
    border: 1px solid white;
    text-transform: capitalize;
    font-weight: 700;
    padding: .75em 2ch;
    display: block;
    width: fit-content;
    transition: .125s background-color ease-in-out, .125s color ease-in-out;
    line-height: 1;
    text-decoration: none;
    background-color: white;
    border-radius: .3rem;
    white-space: nowrap;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 0 0 1px white;
    transition: .125s border ease-in-out;
}

#news-row:not(#gm-canvas #news-row) br {
    display: none;
}

/* news-row - on hover */

#news-row:not(#gm-canvas #news-row) .feed-item:is(:hover, :focus) .news-content {
    height: 100%;
    z-index: 3;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

#news-row .feed-item:is(:hover, :focus) .news-detail {
    /* height: calc-size(auto, size); */
    max-height: 100%;
}

#news-row .feed-item .news-more-info-link:is(:hover, :focus) {
    color: white;
    background-color: var(--primary);
    text-decoration: none;
}

#news-row:not(#gm-canvas #news-row) .feed-item:is(:hover, :focus) h3 {
    margin-bottom: 20px;
    transform: translateY(0);
    transition-delay: .25s;
}

/* news-row - mqs */

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

    #news-row .news-content {
        padding: 40px 40px 0;
    }
}

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

    #news-row .column .feed-item {
        margin-top: 0;
    }

    #news-row:not(#gm-canvas #news-row) .news-content {
        padding: 20px calc(15px + var(--scrollbarWidth)) 0 15px;
    }
}


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


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

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

footer a {
    color: white;
}

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

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

footer .social-list svg {
    color: white;
}

footer .social-list svg rect {
    color: var(--secondary);
    rx: var(--radius);
}

footer .social-list svg:is(:hover, :focus) rect {
    color: var(--tertiary);
}

@media (max-width: 1201px) {
    footer .org-name::after {
        content: '\A';
        white-space: pre;
    }
}

@media (max-width: 767px) {
    footer .wrapper {
        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;
}