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

:root {
    --page-width: 100vw;
    --light-blue-green: #BEE9E3;
    --blue-green: #62B6CB;
    --dark-blue-green: #012D3A;
    --light-blue: #CAE9FF;
    --blue: #5FA8D3;
    --dark-blue: #1B4965;
    --text-accent: #3D95AA;
    --gray: #EFF2F4;    
    /* below are defaults to change -check for removed colors too*/
    --text-gray: #161616;
    --radius: 6px;
    font-size: 16px;
    --side-margin: calc((100vw - var(--page-width)) / -2);
    font-family: "Roboto", serif;
    overflow-x: clip;
    --header-height: 160px;
    --footer-height: 247px;
}

/* @media (min-width: 768px) {
    :root {
        --page-width: 750px;
    }
} */

@media (min-width: 992px) {
    :root {
        --page-width: 970px;
    }
}

@media (min-width: 1201px) {
    :root {
        --page-width: 1170px;
    }
}

* {
    scroll-margin-top: var(--header-height);
}

body {
    color: var(--text-gray);
    position: relative;
    max-width: 100%;
    overflow-x: inherit;
}

body,
header,
nav,
footer {
    font-family: inherit !important;
    font-size: inherit !important;
    /*^^ Overwrites mms_styles.css*/
}


/*--------------------------------------------------------
	H1 - H6
--------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    margin-bottom: .5em;
    padding: 0;
    font-weight: 600;
    line-height: 1em;
    /* text-transform: uppercase; */
    color: var(--primary);
    font-family: "Montserrat", sans-serif;
}

h1 {
    font-size: 36px;
}

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

h2 {
    font-size: 30px;
}

h3 {
    font-size: 28px;
}

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

a:is(:hover, :focus) {
    color: var(--text-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(--blue);
    border-radius: .3rem;
    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(--text-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: var(--side-margin);
    /* width: calc(100vw + var(--scrollbarWidth)); */
    width: 100vw;
}

.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:not(#mycanvas .background-row)::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: var(--side-margin);
    display: block;
    background: var(--gray);
}

#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: 991px) {
    .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));
    }
}


/* 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,
.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) {
    /* 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 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

header .logo-link {
    margin: 20px 0px 20px 100px;
}

@media (max-width: 1048px) {
    header .logo-link {
        margin: 20px 0px 20px 40px;
    }
}

header .header-right {
    margin: 35px 100px 35px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
}

@media (min-width: 888px) and (max-width: 1048px) {
    header .header-right {
        margin: 35px 35px;
    }
}

@media (min-width: 351px) and (max-width: 887px) {
    header .header-right {
        margin: 35px 35px;
    }
}

@media (max-width: 350px) {
    header .header-right {
        margin: 35px 35px;
    }
}

header .header-right .top-link-list{
    margin: 20px 0px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style-type: none;
    gap: 20px;
}

@media (max-width: 876px) {
    header .header-right .top-link-list {
        display: none;
    }
} 

header .header-right .top-link-list a {
    text-decoration: none;
    font-size: 16px;
    color: #666666;
    white-space: nowrap;
}

header .header-right .top-link-list a:is(:hover, :focus) {
    text-decoration: underline;
    color: #666666;
}

header .header-right nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (min-width: 767px) and (max-width: 876px) {
    header .login-link {
        display: none;
    }
} 

header .login-link a {
    background-color: var(--blue);
    border-radius: var(--radius);
    padding: 10px 20px;
    color: white;
    /* background-color: var(--blue); */
}

header .login-link a:is(:hover, :focus) {
    /* background-color: var(--blue-green); */
    background-color: var(--blue-green);
    text-decoration: none;
}

.mobile-login-link {
    display: none;
    background-color: var(--blue);
    border-radius: var(--radius);
    padding: 10px 20px;
    /* margin-right: 20px; */
}

.mobile-login-link a {
    color: white;
    text-decoration: none;
}

.mobile-login-link:is(:hover, :focus) {
    background-color: var(--blue-green);
}

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

@media (min-width: 407px) and (max-width: 876px) {
    .mobile-login-link {
        display: inline;
    }
}

/* Navigation */

header>nav {
    display: flex;
}

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

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

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

#nav_menu a {
    font-weight: 400;
    text-decoration: none;
    transition: .125s color ease-in-out;
    font-family: inherit;
    white-space: nowrap;
}

#nav_menu>.nav>li>a:not(.login-link a) {
    font-size: 16px;
    padding: 0;
    position: relative;
    /* line-height: 1; */
    height: 21px;
}

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

#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:is(:hover, :focus):not(.login-link a) {
    /* Overwrite BS defaults */
    background: unset;
    text-decoration: underline;
}

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

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

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

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

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

#nav_menu .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(--red);
    background: transparent;
}

@media (min-width: 1301px) and (max-width: 1601px) {
    #nav_menu>ul {
        gap: 1rem 30px;
    }
}

@media (max-width: 1301px) {
    #nav_menu>ul {
        gap: 1rem 20px;
    }
}

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




/* 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(--dark-blue);
    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: 1201px) {
    .mobileMenuTrigger {
        display: none;
    }
}

button.mobileMenuTrigger {
    background: none;
    border: none;
    margin-left: auto;
    margin-top: 8px;
}

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

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

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

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

.mDropdown.open {
    display: block;
}

#mobile-menu>li:not(.mobileMenuTrigger) {
    border-bottom: solid 3px #245770;
}

#mobile-menu>li>a {
    padding: 5px;
    font-size: 16px;
    font-weight: 400;
    color: white;
    text-decoration: none;
}

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

#mobile-menu>li:has(+.mobile-bottom) {
    border-bottom: none !important;
}

#mobile-menu>li.mobile-bottom {
    padding-top: 25px;
    border-top: 2px solid var(--blue-green) !important;
    margin-top: 25px;
}

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

.mDropdown a {
    font-size: 16px;
    color: white;
    text-decoration: none;
}

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


/* Search */


@media (max-width: 1500px) {
    .search-item {
        display: none !important;
    }
}

.searchbox {
    position: relative;
    --size: 17.5px;
    border: 1px solid #CCCCCC;
    border-radius: var(--radius);
}

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

.searchbox .search-button {
    background: url(../images/search-icon.svg);
    background-color: var(--blue);
    background-size: 1rem;
    background-repeat: no-repeat;
    background-position: center;
    /* height: var(--size); */
    width: 2.5rem;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    color: transparent;
    border: none;
    outline: none;
}


.mobile-search-item {
    display: none;
}

@media (min-width: 707px) and (max-width: 876px) {
    .mobile-search-item {
        display: inline-block;
    }
}

.mobile-search {
    margin-bottom: 25px;
}

.mobile-search .searchbox .search-input {
    width: 100%
}

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

main:is(#subpage-main, #mms-main)>.row:first-child {
    padding-top: var(--gap);
}

main:is(#subpage-main, #mms-main)>.row:last-child {
    padding-bottom: var(--gap);
}


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

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

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




/*--------------------------------------------------------
						Subpage Styles
--------------------------------------------------------*/


/* Home page */

/* slideshow-row */

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

#slide-row:not(#gm-canvas #slide-row) .column {
    display: flex;
    justify-content: center;
}

#slide-row .carousel {
    max-width: 1252px;
}

#slide-row .carousel-caption {
    bottom: 0;
    background-color: #000000bb;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    padding-bottom: 20px;
}

@media (max-width: 1100px) {
    #slide-row .carousel-caption {
        position: relative;
        top:0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: #4d4d4d;
    }
}

#slide-row .caption-wrapper {
    padding: 0 20px;
}

#slide-row .carousel-caption .caption-text {
    color: white;
    font-size: 20px;
}

#slide-row .carousel-caption .alt-text {
    color: white;
    font-size: 16px;
}

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


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

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

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

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

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

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

@media (min-width: 795px) and (max-width: 1099px) {
    #slide-row .carousel-control.left {
        bottom: 25%;
    }
    #slide-row .carousel-control.right {
        bottom: 25%;
    }
}

@media (min-width: 590px)  and (max-width: 795px) {
    #slide-row .carousel-control.left {
        bottom: 35%;
    }
    #slide-row .carousel-control.right {
        bottom: 35%;
    }
}

@media (min-width: 438px) and (max-width: 590px) {
    #slide-row .carousel-control.left {
        bottom: 45%;
        transform: scale(.7);
    }
    #slide-row .carousel-control.left:after {
        transform: scale(.7);
    }
    #slide-row .carousel-control.right {
        bottom: 45%;
        transform: scale(.7);
    }
    #slide-row .carousel-control.right:after {
        transform: scale(.7);      
    }
}

@media (max-width: 438px) {
    #slide-row .carousel-control.left:after {
        display: none;
    }
    #slide-row .carousel-control.right:after {
        display: none;
    }
}


@media (min-width: 1352px) {
    #slide-row .carousel-inner>.item>a>img, .carousel-inner>.item>img {
        border-radius: var(--radius);
    }
}


/* cta-row */

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

#cta-row:not(#gm-canvas #cta-row) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

#cta-row:not(#gm-canvas #cta-row) .column {
    margin-top: 0;
    width: 262px;
    height: 154px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: var(--blue);
    border-radius: var(--radius);
    padding: 20px 30px;
    color: white;
    text-align: center;
    font-family: "Roboto Condensed", serif;
    font-size: 20px;
    font-weight: 600;
    position: relative;
}

#cta-row:not(#gm-canvas #cta-row) .column:is(:hover, :focus) {
    background-color: var(--blue-green);
}

#cta-row a::before {
    content: '';
    position: absolute;
    top:0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* event-row */

#gm-canvas #event-row {
    left: unset;
    right: unset;
    width: unset;
}

#event-row:not(#mycanvas #event-row)::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: var(--side-margin);
    display: block;
    background: var(--dark-blue);
}

#subpage-main:has(#event-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>#event-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) {
    #event-row:not(#mycanvas #event-row)>.column {
        font-size: 20px;
    }
}

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

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

#event-row:not(#gm-canvas #event-row) .column h2, #event-row .column a:last-of-type {
    grid-column: 1/-1; 
}

#event-row:not(#gm-canvas #event-row) .column h2 {
    color: white;
}

#event-row .feed-item {
    background-color: white;
    padding: 25px;
    border-radius: var(--radius);

}

#event-row .feed-item time {
    color: #666666;
}

#event-row .feed-item time:before {
    content: url(../images/calendar-icon.svg);
    margin-right: 15px;
}

#event-row:not(#gm-canvas #event-row) .feed-item a {
    color: var(--dark-blue);
    font-size: 16px; 
    font-weight: 600;  
    text-transform: none;
    line-height: 1;
    text-decoration: none;
}

#event-row:not(#gm-canvas #event-row) .feed-item a:is(:hover, :focus) {
    text-decoration: underline;
    color: var(--text-accent);
}

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




/* home-slide-row */

@media (min-width: 367px) and (max-width: 767px) {
    #home-slide-row {
        padding-bottom: 45px;
    }
}

@media (max-width: 367px) {
    #home-slide-row {
        padding-bottom: 24px;
    }
}

#home-slide-row img {
    border-radius: var(--radius) var(--radius) 0 0;
}

#home-slide-row .carousel-indicators {
    bottom: -125px;
    display: none;
}

#home-slide-row .caption-wrapper {
    padding: 0 10px;
}

#home-slide-row  .carousel-caption {
    position: relative;
    top: 100%;  
    right: 0;
    bottom: unset;
    left: 0;
    background-color: var(--dark-blue);
    border-radius: 0 0 var(--radius) var(--radius);
}

#home-slide-row  .caption-text {
    color: white;
    font-family: "Roboto Condensed", serif;
    font-size: 22px;
    font-weight: 600px;
}

#home-slide-row  .alt-text {
    color: white;
    font-size: 16px;
}



/* sponsor-row */

#sponsor-row {
    padding-bottom: 0px;
}

#sponsor-row>.column>.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

@media (max-width: 991px) {
    #sponsor-row>.column>.row {
        justify-content: center;
    }
}

#sponsor-row>.column>.row>.column:not(#sponsor-slideshow-row .column) {
    width: 265px;
}


#sponsor-row h2 {
    margin-bottom: 3rem;
}

#sponsor-row img {
    /* border: 1px solid #E6E6E6; */
    border-radius: var(--radius);
    margin-bottom: 25px;
}

#sponsor-row>.column>.row:not(.row#sponsor-slideshow-row) {
    padding-bottom: 10px;
    /* border-bottom: solid 2px rgb(223, 223, 223); */ 
    margin-bottom: 45px;
}

/* sponsor-slideshow-row */

#sponsor-slideshow-row {
    margin-bottom: 60px;
}

@media (max-width: 767px) {
    #sponsor-slideshow-row {
        margin-bottom: 10px;
    }

}

#sponsor-slideshow-row .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#sponsor-slideshow-row .row div {
    margin-bottom: 15px;
    width: 195px;
    height: auto;
}

@media (max-width: 1199px) {
    #sponsor-slideshow-row .row div {
        width: 265px;
        height: auto;
    }
    #sponsor-slideshow-row .row img {
        width: 265px;
        height: auto;
    }
}


#sponsor-slideshow-row .carousel-indicators {
    bottom: -60px;
}
@media (min-width: 550px) and (max-width: 767px) {
    #sponsor-slideshow-row .carousel-indicators {
        bottom: -40px;
    }
}
@media (max-width: 550px) {
    #sponsor-slideshow-row .carousel-indicators {
        bottom: -30px;
    }
}

#sponsor-slideshow-row .carousel-indicators li {
    background-color: #666666;
    border: 1px solid #666666;
    margin: 1px 5px 1px 1px;
    width: 12px;
    height: 12px;
}

#sponsor-slideshow-row .carousel-indicators li.active {
    background-color: var(--blue);
    border: 1px solid var(--blue);
    margin: 1px 5px 1px 1px;
    width: 12px;
    height: 12px;
}



/* contact-row */

#contact-row {
    padding: 35px 24px;
}

#contact-row h2 {
    margin-bottom: 40px;
}

#contact-row form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 25px;
}

@media (max-width: 940px) {
    #contact-row form {
        display: block;
    }

    #contact-row .form-group div{
        width: 100%;
    }

    #contact-row div input[name="contact_form_phone"] {
        margin-top: 0 !important;
    }
}

#contact-row .form-group div{
    padding-right: 0;
    padding-left: 0;
}

/* first name */
#contact-row form div:nth-child(4) {
    order: 1;
}

/* last name */
#contact-row form div:nth-child(5) {
    order: 4;
}

/* phone */
#contact-row form div:nth-child(6) {
    order: 7;
}

/* email */
#contact-row form div:nth-child(7) {
    order: 2;
}

/* comments */
#contact-row form div:nth-child(8) {
    order: 5;
}

/*? */
#contact-row form div:nth-child(9) {
    order: 8;
}

/*required*/
#contact-row form div:nth-child(10) {
    order: 6;
    margin-top: 50px;
    margin-left: -90px;
}

/*enter letters captcha*/
#contact-row form div:nth-child(11) {
    order: 3;
}

/*submit button*/
#contact-row form div:nth-child(12) {
    order: 12;
    text-align: center;
}
#contact-row form div:nth-child(12) div {
    order: 12;
    margin-left: 0;
}

/* captcha image */
#contact-row form .form-group:has(label[for="contactCaptcha"]) {
    position: relative;
}
#contact-row form .form-group label[for="contactCaptcha"] {
    position: absolute;
    left: -15px;
    top: 115%;
}

@media (max-width: 960px) {
    #contact-row form div:nth-child(10) {
        margin-top: 0px;
        margin-left: 0px;
    }
    #contact-row form div:nth-child(12) {
        margin-top: 80px;
    }
    #contact-row form .form-group label[for="contactCaptcha"] {
        margin-top: 15px;
    }
}


#contact-row label:not(label[for="contactCaptcha"]) {
    display: none;
}

#contact-row .form-control {
    width: 100%;
}

#contact-row textarea.form-control {
    height: 85px;
}

#contact-row div input[name="contact_form_phone"] {
    margin-top: -50px;
}

#contact-row .btn {
    background-color: var(--blue);
    color: white;
    padding: .75em 2ch;
    font-weight: 700;
    border: none;
}

#contact-row .btn:is(:hover, :focus) {
    background-color: var(--blue-green);
}



/* Footer */

footer {
    width: calc(100vw - var(--scrollbarWidth));
    background-color: var(--dark-blue-green);
    padding: 40px 0;
    color: white;
}

footer .footer-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 25px;
    list-style-type: none;
    padding: 0;
}

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

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

footer .social-media {
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style-type: none;
    padding: 0;
}

footer .social-media .facebook-icon .fb-cls-2:is(:hover, :focus),
footer .social-media .x-icon .x-cls-2:is(:hover, :focus),
footer .social-media .instagram-icon .instagram-cls-2:is(:hover, :focus),
footer .social-media .linkedin-icon .linkedin-cls-2:is(:hover, :focus) {
    fill: #62b5ca !important; 
}

footer p {
    text-align: center;
}



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