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

:root {
    --page-width: 100vw;
    --primary: #685D75;
    --primary-transparent: #685d75d0;
    --secondary: #9B6D84; /* change the color in the url for the background of .searchbox .search-button to this color too */
    --accent: #F2777D;
    --icon-color: #CEA4B7;
    --link-text: #8C6076;
    --text: #292929;
    --gray: rgba(0, 0, 0, .6);
    --light-gray: #EEEDF0;
    --radius: 15px;
    font-size: 16px;
    --side-margin: calc((100vw - var(--page-width)) / -2);
    font-family: "Lexend Deca", sans-serif;
    overflow-x: clip;
    --header-height: 131px;
    --footer-height: 213px;
}

@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: 400;
    line-height: 1em;
    /* text-transform: uppercase; */
    color: var(--primary);
    font-family: "Yeseva One", serif;
    /* letter-spacing: .1rem; */
}

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(--link-text);
    text-decoration: none;
    transition: .125s color ease-in-out;
}

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

.button-link,
#login-modal input[type="submit"],
.addl-text {
    color: white;
    border: none;
    text-transform: capitalize;
    font-weight: 700;
    padding: .75em 2ch;
    display: block;
    width: fit-content;
    margin: 1.25em 0;
    transition: .125s background ease-in-out, .125s color ease-in-out;
    line-height: 1;
    text-decoration: none;
    background-color: var(--secondary);
    border-radius: 19px;
    white-space: nowrap;
}

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

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

#login-modal input[type="submit"] {
    margin: 0;
}

.button-link:is(:hover, :focus),
#login-modal input[type="submit"]:is(:hover, :focus) {
    background: var(--accent);
    color: white;
    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: calc(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(#gm-canvas .background-row) :is(p, h1,h2,h3,h4,h5,h6) {
    color: white;
}

.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: 25px; */
    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;
}

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

@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(275px, 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: 15px;
        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:not(#slideshow-row .carousel-control.left),
.carousel-control.right:not(#slideshow-row .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: "Lexend Deca", 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*/
}


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

#login-modal .modal-dialog {
    max-width: 260px;
    font-size: 16px;
}

#login-modal h2 {
    font-size: 1.4em;
    text-transform: capitalize;
    letter-spacing: -0.4px;
}

#login-modal label {
    position: absolute;
    left: -200vw;
}

#login-modal input[name="Username"],
#login-modal input[name="Password"] {
    width: 100%;
    padding-left: .25em;
    padding-right: .25em;
    margin-bottom: 0.5em;
    height: 2em;
}

#login-modal a {
    display: block;
    margin-bottom: .5em;
}


/* Header */

header .header-top-section {
    list-style-type: none;
    padding-inline-start: 0;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

header .logo-wrap {
    padding: 20px;
}
header .logo-wrap :is(img, svg) {
    max-width: 100%;
    height: auto;
    display: block;
}

header .header-top-right-list {
    list-style-type: none;
    padding-inline-start: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

@media (max-width: 433px) {
    header .login-item {
        display: none;
    }
}


/* Navigation */

header>nav {
    display: flex;
    justify-content: center;
    background-color: var(--primary);
}

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

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

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

#nav_menu a {
    font-weight: 500;
    text-decoration: none;
    transition: .125s color ease-in-out;
    font-family: "Lexend Deca", sans-serif;
    color: white;
}

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

#nav_menu a:is(a:hover, a:focus) {
    color: white;
    /* box-shadow: 0 4px 0 0 var(--accent);; */
}

#nav_menu li a:not(.dropdown-menu a, .mobile-login a)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;

    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 li:is(:hover, :focus) a:not(.dropdown-menu a, .mobile-login a)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;

    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 li:is(:hover, :focus) a:not(.dropdown-menu a, .mobile-login a):has(.caret)::after  {
    width: calc(100% + 15px);

    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::before {
    --size: 9px;
    content: '';
    position: absolute;
    bottom: calc(var(--size) * -1);
    left: 0;
    right: 0;
    height: var(--size);
    background: var(--red);
    opacity: 0;
    transition: .125s opacity ease-in-out;
    z-index: -1;
}

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

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

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

#nav_menu .caret {
    position: absolute;
    color: white;
    bottom: .5em;
    margin-left: 5px;
}

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

#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;
    background-color: var(--primary);
}

#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 {
    color: white;
}

#nav_menu .dropdown-menu>li>a:focus,
#nav_menu .dropdown-menu>li>a:hover {
    color: white;
    background: transparent;
}

#nav_menu .dropdown-menu>li:is(:hover, :focus) a:not(.dropdown-menu .dropdown-menu a)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

#nav_menu .dropdown-menu .dropdown-menu>li:is(:hover, :focus) a::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

@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: 22px; */
    }
}

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

.mobile-login {
    margin-top: 20px;
}

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

#mobileMenuWrapper {
    position: fixed;
    background: var(--primary);
    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: 768px) {
    .mobileMenuTrigger {
        display: none;
    }
}

button.mobileMenuTrigger {
    background: none;
    border: none;
    margin-left: auto;
    color: white;
    padding: 12px 20px 8px;
}

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

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

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

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

.mDropdown {
    display: none;
    list-style-type: none;
    padding-inline-start: 15px;
}

.mDropdown.open {
    display: block;
    margin-top: 10px;
}

#mobile-menu>li {
    position: relative;
}

#mobile-menu>li>a {
    font-size: 18px;
    font-weight: 500;
    color: white;
}

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

#mobile-menu>li:not(li:has(.mDropdown.open))>a:is(:hover, :focus):not(.mobile-login a)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

#mobile-menu .caret {
    border-top-color: white;
    margin-left: 10px;
}

.mDropdown li {
    margin-bottom: 10px;
}

.mDropdown .mDropdown li {
    margin-bottom: 10px;
}

.mDropdown a {
    font-size: 16px;
    color: white;
    position: relative;
}

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

.mDropdown a:is(:hover, :focus)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

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


/* Search */

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

.searchbox .search-input {
    padding: .5em 2ch;
    /* padding-left: calc(2ch + (var(--size))); */
    border: 2px solid #E6E6E6;
    border-radius: 19px;
    font-size: 1rem;
    width: 245px;
    max-width: 100%;
}

.searchbox .search-button {
    background: url(../images/search-new.svg.php?fc=9B6D84);
    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;
}

@media (max-width: 700px) {
    header .search-item {
        display: none;
    }
}


/* Main */

main {
    --gap: 40px;
    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: var(--gap);
    }
}


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

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


/* Home-page Styling */


/* slideshow-row */

#slideshow-row {
    padding-top: 30px;
    padding-bottom: 0;
}


#slideshow-row .carousel {
    max-width: 1300px;
    margin: 0 auto;
    /* padding-right: var(--scrollbarWidth); */
}

#slideshow-row .carousel img {
    border-radius: var(--radius);
}

#slideshow-row .carousel-indicators {
    display: none;
}

#slideshow-row .carousel-control {
    display: block;
    text-indent: -9999px;
}

#slideshow-row .carousel-control.left,
#slideshow-row .carousel-control.right {
    display: unset;
    background-image: none;
}

#slideshow-row .carousel-control.left {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    margin: auto;
    vertical-align: middle;
    text-align: center;
    padding-right: 5px;
    width: 40px;
    height: 40px;
}

#slideshow-row .carousel-control.right {
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    margin: auto;
    vertical-align: middle;
    text-align: center;
    padding-left: 5px;
    width: 40px;
    height: 40px;
}

#slideshow-row .carousel-control.left:after {
    content: url(../images/left-arrow.svg);
    width: 40px;
    height: 40px;
    display: block;
    position: relative;
    top: -29px;
    left: 25px;
    text-indent: 0;
}

#slideshow-row .carousel-control.right:after {
    content: url(../images/right-arrow.svg);
    width: 40px;
    height: 40px;
    display: block;
    position: relative;
    top: -29px;
    right: 30px;
    text-indent: 0;
}

#slideshow-row .carousel-caption {
    background-color: var(--primary-transparent);
    padding: 20px 20px 40px;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    right: 7%;
    bottom: 0;
    left: 7%;
}

#slideshow-row .alt-text {
    color: white;
}

@media (max-width: 1285px) {
    #slideshow-row {
        padding-top: 0;
    }
    #slideshow-row .carousel {
        padding-right: 0;
    }
    #slideshow-row .carousel img {
        border-radius: 0;
    }
}

@media (max-width: 1285px) {
    #slideshow-row .carousel-caption {
        position: relative; 
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: var(--primary);
        padding: 20px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

}

@media (max-width: 1285px) {
    #slideshow-row .carousel-control.left {
        top: calc(.5 * (100vw / 2.5)); /* the aspect ratio of the image is 2.5/1 */
        bottom: unset;
        transform: translateY(-50%);
    }
    #slideshow-row .carousel-control.right {
        top: calc(.5 * (100vw / 2.5)); /* the aspect ratio of the image is 2.5/1 */
        bottom: unset;
        transform: translateY(-50%);
    }
}

@media (max-width: 991px) {
    #slideshow-row .carousel-control.right {
        right: var(--scrollbarWidth);
    }
    #slideshow-row .carousel-caption {
        padding: 20px calc(20px + var(--scrollbarWidth)) 20px 20px;
    }
}




/* #cta-row */

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

@media (max-width: 991px) {
    #cta-row:not(#gm-canvas #cta-row) {
        flex-direction: column;
        padding: 0 50px;
        gap: 50px;
    }

}

#cta-row .column {
    margin-top: 35px;
    background-color: var(--light-gray);
    border-radius: var(--radius);
    padding: 10px 20px;
}

#cta-row .column>div:has(img) {
    position: relative;
    margin-top: -30px;
    margin-bottom: 50px;
}

#cta-row:not(#gm-canvas #cta-row) .column>div:has(img)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 85px;
    height: 85px;
    background-color: var(--icon-color);
    border-radius: 50px;
    z-index: 1;
}

#cta-row img {
    margin: 0 auto;
    position: relative;
    z-index: 2
}

#cta-row :is(h1, h2, p ) {
    text-align: center;
}

#cta-row :is(h1, h2) {
    font-size: 32px;
}

#cta-row .button-link {
    margin: 1.25em auto;
}


/* Animations */


/* CONTAINER SLIDE IN FROM LEFT */

.slide-in-left:not(#mycanvas .slide-in-left, #gm-canvas .slide-in-left) {
    opacity: 0;
    transition: .8s all ease;
    transform: translate3d(-100%, 0, 0);
}

.slide-in-left.active:not(#mycanvas .slide-in-left.active,  #gm-canvas .slide-in-left.active) {
    opacity: 1;
    transform: none;
}

/* #image-row */

#image-row:not(#gm-canvas #image-row) {
    display: flex;
    align-items: center;
    justify-content: center;
}

#image-row h2 {
    line-height: 2.5rem;
    font-size: 36px;
}

#image-row p {
    line-height: 1.5rem;
}

#image-row  .column:last-of-type div:has(img:nth-child(2)) {
    display: inline-block;
    position: relative;
    height: 460px;
}

#image-row img {
    border-radius: var(--radius);
}

#image-row:not(#gm-canvas #image-row)  .column:last-of-type div:has(img:nth-child(2)) img:first-of-type {
    width: 255px;
    height: 193px;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 4px solid white;
}

#image-row:not(#gm-canvas #image-row)  .column:last-of-type div:has(img:nth-child(2)) img:last-of-type {
    width: 400px;
    height: 340px;
    object-fit: cover;
    position: absolute;
    z-index: 0;
    top: 25%;
    left: 50%;
    border: 6px solid white;
    max-width: unset;
}

@media (min-width: 991px) and (max-width: 1201px) {
    #image-row  .column:last-of-type div:has(img:nth-child(2)) {
        height: 430px;
    }
    #image-row:not(#gm-canvas #image-row)  .column:last-of-type div:has(img:nth-child(2)) img:first-of-type {
        transform: scale(.9);
    }
    #image-row:not(#gm-canvas #image-row)  .column:last-of-type div:has(img:nth-child(2)) img:last-of-type {
        transform: scale(.8);
        top: 25%;
        left: 30%;
    }
}
@media (min-width: 585px) and (max-width: 991px) {
    #image-row {
        flex-direction: column;
    }
    #image-row  .column:last-of-type div:has(img:nth-child(2)) {
        display: block;
        margin: 0 auto;
        width: 535px;
        height: 470px;
    }
    #image-row:not(#gm-canvas #image-row)  .column:last-of-type div:has(img:nth-child(2)) img:first-of-type {
        transform: scale(1);
        left: 0%;
    }
    #image-row:not(#gm-canvas #image-row)  .column:last-of-type div:has(img:nth-child(2)) img:last-of-type {
        transform: scale(1);
        top: 20%;
        left: 25%;
    }
}
@media (min-width: 420px) and (max-width: 585px) {
    #image-row {
        flex-direction: column;
    }
    #image-row  .column:last-of-type div:has(img:nth-child(2)) {
        display: block;
        margin: 0 auto;
        width: 375px;
        height: 370px;
    }
    #image-row:not(#gm-canvas #image-row)  .column:last-of-type div:has(img:nth-child(2)) img:first-of-type {
        max-width: 200px;
        left: 0%;
    }
    #image-row:not(#gm-canvas #image-row)  .column:last-of-type div:has(img:nth-child(2)) img:last-of-type {
        transform: scale(.7);
        top: 15%;
        left: 10%;
    }
}
@media (min-width: 338px) and (max-width: 420px) {
    #image-row {
        flex-direction: column;
    }
    #image-row  .column:last-of-type div:has(img:nth-child(2)) {
        display: block;
        margin: 0 auto;
        width: 290px;
        height: 300px;
    }
    #image-row:not(#gm-canvas #image-row)  .column:last-of-type div:has(img:nth-child(2)) img:first-of-type {
        max-width: 150px;
        left: 0%;
    }
    #image-row:not(#gm-canvas #image-row)  .column:last-of-type div:has(img:nth-child(2)) img:last-of-type {
        transform: scale(.6);
        top: 0%;
        left: -10%;
    }
}
@media (max-width: 338px) {
    #image-row {
        flex-direction: column;
    }
    #image-row  .column:last-of-type div:has(img:nth-child(2)) {
        display: block;
        margin: 0 auto;
        width: 100%;
        height: unset;
    }
    #image-row:not(#gm-canvas #image-row)  .column:last-of-type div:has(img:nth-child(2)) img:first-of-type {
        max-width: unset;
        left: 0%;
        width: 100%;
    }
    #image-row:not(#gm-canvas #image-row)  .column:last-of-type div:has(img:nth-child(2)) img:last-of-type {
        position: static;
        transform: scale(1);
        width: 100%;
        margin-top: 20px;
        border: 4px solid white;
    }
}




/* event row */

#event-row:not(#gm-canvas #event-row) .column>div:not(#v_hidden_detail-2) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#event-row .column {
    float: unset;
}

@media (max-width: 991px) {
    #event-row:not(#gm-canvas #event-row) .column>div:not(#v_hidden_detail-2) {
        grid-template-columns: repeat(1, 1fr);
    }
}

#event-row #v_hidden_detail-2 {
    display: none;
}

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

#event-row h2 {
    grid-column: 1/-1;
}

#event-row .feed-item {
    position: relative;
    border: solid 2px var(--icon-color);
    border-radius: var(--radius);
    padding: 30px 20px;
    opacity: 0;
    transition: .8s all ease;
    transform: translate3d(-100%, 0, 0);
}

#event-row .feed-item.active:not(#mycanvas #event-row .feed-item.active, #gm-canvas #event-row .feed-item.active) {
    opacity: 1;
    transform: none;
}

#event-row .feed-item:is(:hover, :focus) {
    background-color: var(--primary);
    border: solid 2px var(--primary);
}
#event-row .feed-item h3 {
    font-size: 18px;
    line-height: 1.5em;
    min-height: 50px;
}

#event-row:not(#gm-canvas #event-row) .feed-item h3::before {
    content: url(../images/calendar-icon.svg);
    position: absolute;
    display: block;
    width: 50px;
    height: 50px;
    top: -25px;
    background-color: var(--icon-color);
    border-radius: 50px;
    border: solid 1px white;
    text-align: center;
    padding-top: 12px;
}

#event-row:not(#gm-canvas #event-row) .feed-item h3:is(:hover, :focus) a {
    color: white;
}

#event-row:not(#gm-canvas #event-row) .feed-item h3 a::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#event-row .feed-item hr {
    border-top: 2px solid var(--icon-color);
    display: inline-block;
    width: 30px;
    border-radius: 2px;
}

#event-row .feed-item time {
    display: block;
    color: var(--text);
}

#event-row:not(#gm-canvas #event-row) .feed-item:is(:hover, :focus) time {
    color: white;
}

#event-row .button-link {
    grid-column: 1/-1;
}

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


/* news row */


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

#news-row .column {
    float: unset;
}

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

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

#news-row h2 {
    grid-column: 1/-1;
}

#news-row .feed-item {
    position: relative;
    border: solid 2px var(--icon-color);
    border-radius: var(--radius);
    padding: 30px 20px;
    opacity: 0;
    transition: .8s all ease;
    transform: translate3d(-100%, 0, 0);
}

#news-row .feed-item.active:not(#mycanvas #news-row .feed-item.active, #gm-canvas #news-row .feed-item.active) {
    opacity: 1;
    transform: none;
}

#news-row .feed-item:is(:hover, :focus) {
    background-color: var(--primary);
    border: solid 2px var(--primary);
}
#news-row .feed-item h3 {
    font-size: 18px;
    line-height: 1.5em;
    min-height: 50px;
}

#news-row:not(#gm-canvas #news-row) .feed-item h3::before {
    content: url(../images/calendar-icon.svg);
    position: absolute;
    display: block;
    width: 50px;
    height: 50px;
    top: -25px;
    background-color: var(--icon-color);
    border-radius: 50px;
    border: solid 1px white;
    text-align: center;
    padding-top: 12px;
}

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

#news-row:not(#gm-canvas #news-row) .feed-item h3 a::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#news-row .feed-item hr {
    border-top: 2px solid var(--icon-color);
    display: inline-block;
    width: 30px;
    border-radius: 2px;
}

#news-row .feed-item time {
    display: block;
    color: var(--text);
}

#news-row:not(#gm-canvas #news-row) .feed-item:is(:hover, :focus) time {
    color: white;
}

#news-row .feed-item p {
    color: var(--text);
}

#news-row:not(#gm-canvas #news-row) .feed-item:is(:hover, :focus) p {
    color: white;
}

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

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




/* Footer */

footer {
    /* position: relative; */
    background-color: var(--light-gray);
    padding: 40px 0 100px;
}

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

footer .social-media {
    display: flex;
    gap: 20px;
    list-style-type: none;
    padding-inline-start: 0;
    color: var(--link-text);
}

footer .social-media:is(:hover, :focus) {
    color: var(--accent);
}

footer .social-media rect {
    display: none;

}

@media (max-width: 800px) {
    footer .wrapper{
        flex-direction: column;
        gap: 30px;
    }
}





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