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

:root {
    font-size: 16px;
    --page-width: 100vw;
    --header-height: 50px;
    --primary: #0bb4d5;
    --secondary: #f59d39;
    --accent: #f5656e;
    --dark-gray: #262728;
    --light-gray: #515151;
    --text-gray: #4d4d4d;
    --side-margin: calc((100vw - var(--page-width)) / -2);
    font-family: 'Lato', sans-serif;
    overflow-x: clip;
}

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

@media (max-width: 767px) {
     :root {
        --header-height: 40.73px;
    }
}


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

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    margin-bottom: .5em;
    padding: 0;
    font-weight: bold;
    line-height: 1em;
    text-transform: uppercase;
    color: var(--primary);
}

h1 {
    font-size: 2.2em;
}

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

h2 {
    font-size: 1.9em;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size: 1.4em;
}

h5 {
    font-size: 1.3em;
}

h6 {
    font-size: 1.1em;
}

.heading-wrapper {
    margin-bottom: 22px;
    display: flex;
    justify-content: space-between;
    gap: 1rem 30px;
    flex-wrap: wrap;
    align-items: center;
}

.heading-wrapper :is(h1, h2, h3) {
    margin-bottom: 0;
}

.tagline {
    display: block;
    font-size: 16px;
    line-height: 1.3em;
}

.background-row h1,
.background-row h2,
.background-row h3,
.background-row h4 {
    color: var(--secondary);
}

#homepage-main h1,
#homepage-main h2 {
    font-size: 2.2em;
    font-weight: 900;
}

#subpage-main h1,
#subpage-main h2,
#subpage-main h3,
#subpage-main h4 {
    text-transform: none;
}

@media(max-width: 800px) {
    h1 {
        font-size: calc(2.2em - 3px);
    }
    h2 {
        font-size: calc(2em - 3px);
    }
    h3 {
        font-size: calc(1.8em - 3px);
    }
    h4 {
        font-size: calc(1.5em - 3px);
    }
    h5 {
        font-size: calc(1.3em - 3px);
    }
    h6 {
        font-size: calc(1.1em - 3px);
    }
    #homepage-main h1,
    #homepage-main h2 {
        font-size: 2em;
        margin-bottom: .5em;
    }
}

@media(max-width: 400px) {
    h1 {
        font-size: calc(2.2em - 5px);
    }
    h2 {
        font-size: calc(2em - 5px);
    }
    h3 {
        font-size: calc(1.8em - 5px);
    }
    h4 {
        font-size: calc(1.5em - 5px);
    }
}

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


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

a {
    color: var(--primary);
    text-decoration: underline;
    transition: .1s ease-in color, .125s ease-in background-size;
    position: relative;
    background-size: 0 100%;
    background-repeat: no-repeat;
}

a:empty {
    display: none;
}

a:not(header a):not(.button-link):hover,
a:not(header a):not(.button-link):focus {
    color: var(--primary);
    /* position: relative; */
    text-decoration: none;
}

.block-link {
    display: block;
    max-width: fit-content;
    margin-bottom: 1.25em;
}

.button-link,
#login-modal input[type="submit"] {
    color: var(--primary);
    border: 3px solid currentColor;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1em;
    padding: 0.5em 1.5em;
    display: block;
    margin: 2em auto;
    transition: .25s ease-in-out color, .25s ease-in-out border-color;
    line-height: 1em;
    text-decoration: none;
    width: fit-content;
    background-color: transparent;
}

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

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

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

.button-link:hover,
.button-link:focus,
#login-modal input[type="submit"]:hover,
#login-modal input[type="submit"]:hover {
    color: var(--secondary);
    border-color: var(--secondary);
    text-decoration: none;
    background-image: none;
}

.button-link:before {
    content: none;
}

.button-wrapper {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 1rem 30px;
    margin: 2rem 0;
}

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


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


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

.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) {
    padding: 1rem 15px;
    position: relative;
    left: var(--side-margin);
    right: var(--side-margin);
    display: flex;
    width: calc(100vw + var(--scrollbarWidth));
}

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


/* Feed items */

.event-item {
    display: flex;
    gap: 10px;
}

.event-item time {
    --padding: .25em;
    font-family: monospace;
    overflow: hidden;
    display: block;
    height: calc(1em + var(--padding));
    width: calc(1em + var(--padding));
    background: var(--accent);
    line-height: 1;
    color: white;
    padding-block: calc(var(--padding) / 2);
    padding-left: calc(var(--padding) * 1.5);
    position: relative;
}

.event-item time:is([data-time^="10"], [data-time^="11"], [data-time^="12"]) {
    /* Adjust left padding to center time */
    padding-left: calc(var(--padding) / 2);
}

.event-item time:not([data-time^="10"], [data-time^="11"], [data-time^="12"])::before {
    /* Use background to cover :00 in time */
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 6px;
    display: block;
    background: var(--accent);
}

.event-item time:is([data-time$="AM"]) {
    --accent: var(--secondary);
}

.event-item h3 {
    font-size: 1.5rem;
    text-transform: unset;
}


/*----------------------Lists--------------------------*/

nav ul,
#home-main ul,
footer ul {
    -webkit-padding-start: 0px;
    -moz-padding-start: 0px;
    -ms-padding-start: 0px;
    list-style: none;
}

#subpage-main ul {
    padding-left: 1em;
    padding-bottom: 1em;
}

#subpage-main li {
    padding-bottom: .25em;
}

@media (max-width: 500px) {
    #subpage-main li {
        padding-bottom: .5em;
    }
}

#subpage-main ul.no-dots {
    list-style: none;
    padding-left: 0;
}

@media (min-width: 1200px) {
    /*#subpage-main .two-ordered-columns {
		columns: 2;
	}*/
}

#subpage-main .three-ordered-columns li {
    padding-top: .5em;
}

#subpage-main ol.three-ordered-columns li strong {
    text-transform: capitalize;
}

#subpage-main ol.three-ordered-columns li::before,
#subpage-main ol.three-ordered-columns li strong {
    display: inline;
}

.three-ordered-columns cite {
    font-style: normal;
    display: block;
}

#subpage-main ul.four-column-list {
    column-count: 4;
    gap: 4em;
    margin-bottom: 2em;
}

#subpage-main .four-column-list li {
    padding-bottom: .75em;
    line-height: 1.25;
}

@media (max-width: 1140px) {
    #subpage-main ul.four-column-list {
        column-count: 3;
        column-gap: 4em;
    }
}

@media (max-width: 700px) {
    #subpage-main ul.four-column-list {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 4em;
        -moz-column-gap: 4em;
        column-gap: 4em;
    }
}

@media (max-width: 500px) {
    #subpage-main ul.four-column-list {
        column-count: inherit;
        margin-bottom: 1em;
    }
}


/*----------------------Tables--------------------------*/

#subpage-main table {
    font-family: 'Roboto', sans-serif;
    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;
}

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


/* Mobile trigger  */

#mobile-toggle {
    color: white;
    position: relative;
    z-index: 1;
    background: none;
    padding: 10px 0 5px;
    border: none;
    display: none;
}

@media (max-width: 767px) {
    #main-navigation {
        display: flex;
        justify-content: flex-end;
    }
    #mobile-toggle {
        display: block;
    }
    #nav_menu {
        display: none;
    }
}


/* Desktop navigation */

#main-navigation {
    position: sticky;
    top: 0;
    z-index: 10;
}

#main-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: var(--side-margin);
    background: var(--dark-gray);
}

#nav_menu>ul {
    display: flex;
    justify-content: space-between;
    /* margin-top: -3em; */
    float: none;
}

#nav_menu a {
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: .125s background ease-in-out;
}

#nav_menu .nav>li>a:hover,
#nav_menu .nav>li>a:focus {
    background-color: var(--primary);
}

#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 .dropdown-menu {
    background: var(--dark-gray);
}

#nav_menu .dropdown-menu>li>a:focus,
#nav_menu .dropdown-menu>li>a:hover {
    color: white;
    background-color: var(--primary);
}


/* Mobile navigation */

#mobileMenuWrapper {
    position: fixed;
    background: var(--dark-gray);
    top: 0;
    bottom: 0;
    z-index: 50;
    overflow-y: auto;
    overflow-x: hidden;
    left: -120%;
    width: 300px;
    box-shadow: 0 3px 14px -2px rgba(0, 0, 0, 0.4);
    transition: left .125s ease-in-out;
}

#mobileMenuWrapper.open {
    left: 0;
}

#mobileMenuWrapper ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#mobileMenuWrapper li {
    display: block;
    margin-bottom: .7rem;
}

#mobileMenuWrapper a {
    background-color: transparent;
    text-decoration: none;
    color: white;
}

#mobileMenuWrapper a:hover,
#mobileMenuWrapper a:focus {
    color: white;
}

#mobileMenuWrapper .mDropdown {
    display: none;
    padding-top: .7rem;
}

#mobileMenuWrapper .mDropdown.open {
    display: block;
}

#triggerClose {
    font-size: 22px;
    cursor: pointer;
    text-align: right;
    color: white;
}

#mobileMenuWrapper #mobile-menu {
    overflow: auto;
    padding: 1rem;
}


/* dropdown only */


/*--------------------------------------------------------
				Homepage/Subpage/MMS Main
--------------------------------------------------------*/

main {
    font-size: 20px;
    --gap: 3.5rem;
    min-height: calc(101vh - 126px - 64px - 2em);
}

#subpage-main,
#mms-main {
    margin-top: 2em;
}

main>.row {
    position: relative;
}

main>.row:not(#banner-row):not(#announcement-row):not(.background-row)>.column {
    padding-top: var(--gap);
}

main>.background-row>.column {
    padding-top: calc(var(--gap) * .25);
    padding-bottom: calc(var(--gap) * .25);
}

:not(.background-row)+.background-row {
    margin-top: var(--gap);
}

#mms-main a:before {
    content: unset;
}

#homepage-main .background-row,
#subpage-main .background-row {
    color: white;
}

#homepage-main .background-row:before,
#homepage-main .background-row:after,
#subpage-main .background-row:before,
#subpage-main .background-row:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: var(--side-margin);
    display: block;
}

#homepage-main .background-row:before,
#subpage-main .background-row:before {
    background-image: url(../images/circles-background.svg);
    background-size: 60%;
    /* background-position-y: -200px; */
    background-position-x: -430px;
    z-index: -1;
    opacity: 0.1;
}

#homepage-main .background-row:after,
#subpage-main .background-row:after {
    background-color: var(--light-gray);
    z-index: -2;
}

@media (max-width: 1000px) {
    main {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    main {
        font-size: 16px;
        --gap: 2rem;
    }
}


/* Banner row */

#homepage-main #banner-row::before,
#homepage-main #banner-row::after {
    content: none;
}

#homepage-main #banner-row {
    display: flex;
    /* align-items: center; */
    gap: 1rem 30px;
}

#homepage-main #banner-row>.column {
    position: relative;
}

#homepage-main #banner-row>.column:first-child {
    padding-left: calc(var(--side-margin) * -1);
}

#banner-row .image-mask {
    background: linear-gradient(-45deg, var(--primary), var(--accent));
    border-bottom-left-radius: 10vw;
    overflow: hidden;
}

#banner-row .image-mask img {
    filter: grayscale(1);
    mix-blend-mode: luminosity;
    width: 100%;
}

@media (min-width: 1001px) {
    #homepage-main #banner-row>.column:first-child {
        padding-top: 2em;
    }
}

@media (max-width: 1000px) {
    #homepage-main #banner-row {
        flex-wrap: wrap-reverse;
    }
    #homepage-main #banner-row>.column:first-child {
        padding-inline: 30px;
    }
}


/* Speaker row */

#speakers-row {
    padding: 0 30px;
}

.speakers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 1rem 30px;
    padding: 0;
    list-style: none;
}

.speakers-list li {
    position: relative;
}

.speakers-list img {
    object-fit: cover;
    aspect-ratio: 1/1;
}

.speakers-list p {
    position: absolute;
    left: .5rem;
    bottom: .5rem;
    color: white;
    text-shadow: 2px 2px 2px #000000;
    line-height: 1;
}


/* Schedule row */

#schedule-row>.col-md-4 {
    --gap: 0;
    /* Overwrite style to add padding top to all columns */
}

.key {
    display: flex;
    gap: 15px;
}

.key span::before {
    content: '';
    height: 1em;
    width: 1em;
    display: inline-block;
    margin-right: .25ch;
    margin-bottom: -.125em;
    background: var(--accent);
}

.key span:first-child::before {
    background: var(--secondary);
}


/* Testimonial row */

#testimonial-row {
    overflow: hidden;
    align-items: center;
}

#testimonial-row>.column:last-child {
    margin-left: var(--side-margin);
}

#testimonial-row blockquote {
    padding: 0;
    border: 0;
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
}

#testimonial-row img {
    transform: rotate(-3deg);
}

@media (max-width: 990px) {
    .background-row:not(#mycanvas .background-row) {
        flex-wrap: wrap;
    }
    .background-row:not(#mycanvas .background-row)>.column {
        padding-inline: calc(15px + var(--scrollbarWidth));
    }
    #testimonial-row>.column:last-child {
        margin-inline: unset;
    }
}


/*--------------------------------------------------------
					Homepage: Why Attend
--------------------------------------------------------*/

#home-why-attend h1,
#home-why-attend h2,
#home-why-attend h3,
#home-why-attend h4 {
    color: var(--primary);
}

#home-why-attend .three-column-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
}

#home-why-attend a.button {
    margin-top: 0px;
    margin-bottom: 0px;
}

#home-why-attend .three-column-grid>*:nth-child(1n+4) {
    /*Anything after the first three columns will span the entire row*/
    grid-column: span 3;
}

@media (max-width: 990px) {
    #home-why-attend .three-column-grid {
        display: block;
    }
    #home-why-attend a.button {
        margin: 2em auto;
    }
}


/*--------------------------------------------------------
					Homepage: Summit Speakers
--------------------------------------------------------*/

.speaker-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    justify-items: center;
    gap: 1rem 30px;
    margin: 30px auto;
    list-style: none;
    padding: 0;
    font-size: 18px;
}

.speaker-photo-grid img {
    display: block;
    border: 3px solid var(--secondary);
    border-radius: 50%;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    margin: 0 auto;
}

.speaker-photo-grid p {
    display: block;
    margin-top: .75em;
}

.speaker-photo-grid p::first-line {
    font-size: 1.2em;
}

#home-summit-speakers a.button {
    margin: 0;
}

@media (max-width: 1200px) {
    .speaker-photo-grid img {
        width: 80%;
    }
}

@media (max-width: 600px) {
    .speaker-photo-grid img {
        width: 75%;
    }
}


/* Individual photo adjustments for placeholder images */

.speaker-photo-grid img[src*="12272023112253.JPG"],
.speaker-photo-grid img[src*="12272023112044.JPG"] {
    /* Center image inside circle */
    object-position: right;
}

.speaker-photo-grid img[src*="12272023112206.JPG"] {
    /* Center image inside circle */
    object-position: left;
}

.speaker-photo-grid img[src*="12272023111944.JPG"] {
    /* Center image inside circle */
    object-position: top;
}

.speaker-photo-grid img[src*="12272023112044.JPG"] {
    /* Move photo down within crop and fill in background */
    padding-top: 20px;
    background-image: linear-gradient(to right, #00928F, #008481);
}


/*--------------------------------------------------------
					Homepage: Who's Attending
--------------------------------------------------------*/

#home-whos-attending:not(#mycanvas #home-whos-attending)>.column {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(365px, 1fr));
    gap: 1rem 30px;
    align-items: center;
}

.attending-text {
    grid-column: 1/-1;
}

#attending-sponsors-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
    padding: 0;
    gap: 1rem 15px;
}

#attending-sponsors-list li:first-child {
    /* Sponsors text */
    grid-column: 1/-1;
}

#attending-sponsors-list li:last-child:nth-child(even) {
    /* If there are an even number of list-items, make the last one centered */
    grid-column: 1/-1;
}

@media (max-width: 1100px) {
    #attending-sponsors-list {
        margin: 2em auto;
    }
}

@media (max-width: 650px) {
    #home-whos-attending #attending-sponsors-list {
        grid-template-columns: repeat(2, 33vw);
        margin-left: auto;
        margin-right: auto;
    }
}


/*--------------------------------------------------------
					Homepage: What Attenees are Saying
--------------------------------------------------------*/

#home-testimonials {}

#home-testimonials h3 {
    margin-top: .75em;
    margin-bottom: .75em;
}

#testimonial-list:not(#mycanvas #testimonial-list) {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 50px;
    flex-direction: column;
}

#testimonial-list>li {
    display: flex;
    gap: 1rem 30px;
    flex-direction: column;
    text-align: left;
    align-items: center;
}

@media (min-width: 901px) {
    #testimonial-list>li {
        flex-direction: row;
    }
    #testimonial-list>li:nth-of-type(even) {
        flex-direction: row-reverse;
        text-align: right;
    }
}

#testimonial-list img {
    width: 250px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--secondary);
}

#testimonial-list blockquote {
    font-size: 1.1em;
    padding: 0;
    border-left: none;
    margin: unset;
    font-weight: bold;
}

#testimonial-list cite {
    font-size: .9em;
    padding: 0;
    border-left: none;
    margin: unset;
    font-weight: normal;
    font-style: normal;
    display: block;
    position: relative;
    color: var(--primary);
}

#testimonial-list cite:before {
    content: "\2014";
}

@media (min-width: 901px) {
    /* Adjust positioning so text following the dash lines up on larger screens*/
    #testimonial-list li:nth-of-type(odd) cite:before {
        margin-left: -1.4ch;
    }
}

.testimonial-item img {
    display: block;
    max-width: 100%;
    height: auto !important;
    border: 6px solid var(--secondary);
    border-radius: 50%;
}

.testimonial-item:nth-of-type(even) .testimonial,
.testimonial-item:nth-of-type(even) .testimonial-author {
    text-align: right;
}

@media (max-width: 1200px) {
    .testimonial-item {
        grid-column-gap: 50px;
    }
    #testimonial-list blockquote {
        font-size: 1em;
    }
    #testimonial-list img {
        width: 200px;
    }
}

@media (max-width: 900px) {
    .testimonial-item {
        grid-column-gap: 1.5em;
        -ms-grid-columns: minmax(100px, 150px) 1fr;
        grid-template-columns: minmax(100px, 150px) 1fr;
        margin: 1.5em 0;
    }
    .testimonial-item:nth-of-type(even) {
        -ms-grid-columns: 1fr minmax(100px, 150px);
        grid-template-columns: 1fr minmax(100px, 150px);
        left: unset;
    }
    .testimonial {
        text-transform: none;
    }
}

@media (max-width: 750px) {
    #home-testimonials {
        padding-left: 1em;
        padding-right: 1em;
    }
    .testimonial {
        font-size: 1.1em;
    }
    .testimonial-author {
        font-size: 1em;
        margin-top: .5em;
    }
}


/*--------------------------------------------------------
					Homepage: Thank You to Our Sponsors
--------------------------------------------------------*/

.sponsors-grid {
    --gap: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    gap: var(--gap) 30px;
    padding: 0;
    place-items: center;
    margin: var(--gap) 0;
}

.sponsors-grid>li {
    display: flex;
    place-items: center;
}

@media (max-width: 767px) {
    .sponsors-grid {
        --gap: 3rem;
    }
}

@media (max-width: 500px) {
    .sponsors-grid {
        --gap: 2rem;
    }
}


/*--------------------------------------------------------
					Homepage: Photogrid
--------------------------------------------------------*/

#home-photo-grid {
    min-height: calc( 100vw / ( ( 394 * 5) / ( 190 * 3)));
    /*Because of the absolute positioning on the #home-photo-grid>figure, this calculation is needed to add back the height of the grid*/
    display: flex;
}

#home-photo-grid figure {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[5];
    grid-template-columns: repeat(5, 1fr);
}

#home-photo-grid figure img {
    place-self: stretch;
    max-width: 100%;
    display: block;
}

@media (max-width: 1200px) {
    #home-photo-grid {
        min-height: calc( 100vw / ( ( 394 * 4) / ( 190 * 3)));
        /*4 columns, 3 rows */
    }
    #home-photo-grid figure {
        -ms-grid-columns: (1fr)[4];
        grid-template-columns: repeat(4, 1fr);
    }
    #home-photo-grid figure img:nth-of-type(1n+13) {
        /*Any photo after the 12th (the last of the third row in this query) will be hidden*/
        display: none;
    }
}

@media (max-width: 950px) {
    #home-photo-grid {
        min-height: calc( 100vw / ( ( 394 * 3) / ( 190 * 3)));
        /*3 columns, 3 rows */
    }
    #home-photo-grid figure {
        -ms-grid-columns: (1fr)[3];
        grid-template-columns: repeat(3, 1fr);
    }
    #home-photo-grid figure img:nth-of-type(1n+10) {
        /*Any photo after the 9th (the last of the third row in this query) will be hidden*/
        display: none;
    }
}

@media (max-width: 475px) {
    #home-photo-grid {
        min-height: calc( 100vw / ( ( 394 * 2) / ( 190 * 3)));
        /*2 columns, 3 rows */
    }
    #home-photo-grid figure {
        -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
    }
    #home-photo-grid figure img:nth-of-type(1n+7) {
        /*Any photo after the 6th (the last of the third row in this query) will be hidden*/
        display: none;
    }
}

#home-photo-grid figcaption {
    margin: auto;
    z-index: 2;
    font-size: calc( 100vw / ( 2000 / 116));
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

@media (max-width: 750px) {
    #home-photo-grid figcaption {
        font-size: 45px;
    }
}

@media (max-width: 430px) {
    #home-photo-grid figcaption {
        font-size: calc( 100vw / ( 430 / 40));
    }
}


/*--------------------------------------------------------
				CSS Styles for Inner Pages
--------------------------------------------------------*/


/*----------Responsive Nivo*/

div[id^=slider-container-FD],
div[id^=slider_FD],
.nivoSlider img {
    max-width: 100% !important;
    height: auto !important;
}


/*----------Nivo 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: "›";
}


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

footer {
    color: white;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 30px;
    padding-top: 2rem;
    padding-bottom: 3rem;
    font-weight: bold;
    margin-top: 4em;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: var(--side-margin);
    background: var(--light-gray);
    z-index: -1;
}

footer p {
    margin-bottom: 0;
}

#footer-social-links {
    display: flex;
    padding: 0;
    list-style: none;
    gap: .5rem 10px;
    align-items: center;
}

#footer-social-links svg {
    border-radius: 50%;
    background: var(--primary);
    padding: 5px;
    transition: .5s background;
}

#footer-social-links svg:hover {
    background: var(--secondary);
}

#footer-social-links rect {
    fill: transparent;
}

#footer-social-links svg:hover path {
    fill: white;
    transition: .5s fill;
}

#footer-social-links svg:hover path {
    fill: var(--text-gray);
}


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

#subpage-main section {
    position: relative;
    padding-bottom: 20px;
}

#subpage-main section>h1:first-child,
#subpage-main section>h2:first-child {
    padding-top: 25px;
}


/*These 3 styles above give a bit a breathing space above the sections so if sections are linked to by their IDs then clicking on the link doesn't put its heading at the very top of the viewport*/

@media (max-width: 850px) {
    /*Switch buttons to regular links on smaller screens */
    #membership-renewals a.button,
    #membership-page .embed-responsive~a {
        border: none;
        font-size: inherit;
        text-transform: none;
        font-weight: normal;
        max-width: 200vw;
        display: block;
        text-align: left;
        padding: 0;
        margin: 1.5em 0;
        text-decoration: underline;
    }
}

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

#mms-main a {
    text-decoration: none;
}

#mms-main a::before {
    content: none;
}

#mms-main a:hover {
    color: var(--primary);
    text-decoration: underline;
}


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


/*-----------Grid Page Editor-------------*/

@media (min-width: 1100px) {
    #home-whos-attending {
        display: block;
    }
    #home-main #home-whos-attending>.row {
        display: flex;
    }
    #home-main #home-whos-attending>.row>.col-md-6 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

@media (max-width: 1100px) {
    #home-whos-attending .col-md-6 {
        width: 100%;
    }
}

#attending-sponsors-list {
    list-style: none;
}