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

:root {
    --page-width: 100vw;
    --green: #093D3E;
    --light-green: #D0DFBE;
    --yellow: #EA9628;
    --dark-yellow: #DD7800;
    --light-gray: #F5F7F2;
    --dark-gray: #333;
    font-size: 16px;
    --side-margin: calc((100vw - var(--page-width)) / -2);
    font-family: 'Inter', 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;
    }
}

body {
    color: #4D4D4D;
    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;
    color: var(--green);
}

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

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


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

a {
    color: var(--green);
    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(.button-link):hover,
a:not(.button-link):focus {
    color: var(--dark-yellow);
}

a:is(h1>a, h2>a, h3>a, h4>a, h5>a, h6>a) {
    color: inherit;
    text-decoration: none;
}

a.button-link,
.button-link,
#login-modal input[type="submit"] {
    --background: var(--green);
    --color: white;
    color: var(--color);
    background: var(--background);
    border: none;
    font-weight: 500;
    padding: .75em 1.5ch;
    display: block;
    text-align: center;
    margin: 2em 0;
    transition: .125s color ease-in-out, .125s background ease-in-out;
    line-height: 1em;
    text-decoration: none;
    width: fit-content;
}

.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(--yellow);
    --color: var(--dark-gray);
    text-decoration: none;
}

.yellow.button-link {
    --background: var(--yellow);
    --color: var(--dark-gray);
}

.light.button-link {
    --background: var(--light-green);
    --color: var(--dark-gray);
}

:is(.yellow.button-link, .light.button-link):is(:hover, :focus) {
    --background: var(--green);
    --color: white;
}


/* Objects */

.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) {
    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 {
    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: 990px) {
    .container,
    .wrapper {
        /* Extra wiggle room at a breakpoint that needs it  */
        width: 100%;
    }
    .full-width,
    .background-row {
        left: 0;
        right: 0;
        width: calc(100vw + var(--scrollbarWidth));
        width: 100vw;
    }
}


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


/* Misc. Objects*/

address {
    margin-bottom: unset;
    /*Overwrites Bootstrap style*/
}


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


/*--end slideshow-defaults---------*/


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


/*  Modals ---------------------------------
    ----------------------------------------
 */

.modal-open .modal {
    display: flex;
}

.modal-dialog {
    max-width: 260px;
    font-size: 16px;
    margin: auto;
}

.modal-header,
.modal-body {
    padding: .5rem 1rem;
}

.modal-header .close {
    opacity: 1;
    z-index: 1;
    position: relative;
}

.modal h2 {
    font-size: 20px;
    opacity: .9;
}

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


/*  Login Forms 
*/

.modal input[name="Username"],
.modal input[name="Password"] {
    width: 100%;
    padding-left: .25em;
    padding-right: .25em;
    margin-bottom: 0.5em;
    height: 2em;
    border: 1px solid rgba(68, 68, 68, .5);
}


/* Header */

header {
    padding-block: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 30px;
    /* flex-wrap: wrap; */
}

.logo {
    display: block;
    max-width: 100%;
}

.header-list {
    display: flex;
    align-items: center;
    gap: .5rem 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}


/* Search */

.searchbox {
    width: 240px;
    max-width: 100%;
    height: 38px;
    position: relative;
    outline: 1px solid var(--light-green);
}

.searchbox .search-input {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: none;
    padding-left: 2ch;
    padding-right: calc(40px + 2ch);
}

.searchbox .search-button {
    position: absolute;
    top: 0;
    bottom: 0;
    left: unset;
    right: 0;
    width: 40px;
    background-image: url('../images/search-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--light-green);
    color: transparent;
    border: none;
}

@media (max-width: 990px) {
    header .searchbox {
        width: 180px;
    }
    .header-list li:has(.yellow) {
        display: none;
    }
}

@media (max-width: 820px) {
     :is(.search-item,
    .login-item) {
        display: none;
    }
}


/* Desktop Navigation */

header+nav {
    position: relative;
    display: flex;
    justify-content: center;
}

header+nav::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: var(--side-margin);
    background: var(--green);
    z-index: -1;
}

#nav_menu ::before {
    content: none;
}

#nav_menu>ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#nav_menu li {
    position: relative;
}

#nav_menu .dropdown-menu {
    background: var(--green);
    font-size: 1rem;
    padding: 0;
    border: none;
}

#nav_menu .dropdown-menu:is(.men-level-1,
.men-level-2,
.men-level-3) {
    top: 0;
}

#nav_menu a {
    color: white;
    padding: calc(1rem - 3px) 1ch;
    text-decoration: none;
    border: 3px solid transparent;
    border-left: none;
    border-right: none;
    transition: .125s border ease-in-out, .125s background ease-in-out, .125s color ease-in-out;
}

#nav_menu>ul>li>a:is(:hover,
 :focus),
#nav_menu .nav .open>a,
#nav_menu .nav .open>a:focus,
#nav_menu .nav .open>a:hover {
    /* .nav selectors to cancel out BS default */
    background: var(--green);
    border-top: 3px solid var(--light-green);
}

#nav_menu .dropdown-menu a:is(:hover,
 :focus) {
    background: var(--light-green);
    color: var(--green);
}

@media (max-width: 990px) {
    header+nav {
        display: none;
    }
}


/* Mobile trigger */

@media (min-width: 991px) {
    .mobile-trigger-item {
        display: none;
    }
}

button.mobileMenuTrigger {
    background: var(--green);
    border: none;
    height: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .125s background ease-in-out, .125s color ease-in-out;
}

button.mobileMenuTrigger:is(:hover,
 :focus) {
    background: var(--yellow);
    color: #333;
}

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


/* Mobile navigation */

#mobileMenuWrapper {
    position: fixed;
    background: white;
    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;
    padding: 1rem;
}

#mobileMenuWrapper.open {
    left: 0;
}

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

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

#mobileMenuWrapper a {
    text-decoration: none;
}

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

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

.triggerClose {
    font-size: 22px;
    cursor: pointer;
    text-align: right;
}

.triggerClose button {
    background: none;
    border: none;
}

.mobile-buttons-list {
    display: flex;
    gap: 0 1ch;
    flex-wrap: wrap;
}


/* dropdown only */


/* #mobileMenuWrapper .mDropdown a {
    padding: 8px;
    margin-bottom: 10px;
}
#mobile-menu>li>ul {
    background-color: rgba(0, 0, 0, .04);
} */


/* Homepage/Subpage/MMS Main */

main {
    --gap: 3.5rem;
}

#subpage-main,
#mms-main {
    margin-block: 2rem;
}

main>.row {
    position: relative;
}

main>.row>.column {
    padding-block: var(--gap);
}

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

#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: var(--green);
    z-index: -1;
}

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


/* Slideshow row */

#slideshow-row {
    --gap: 0;
}

#slideshow-row .carousel {
    display: flex;
}

#slideshow-row img {
    width: 100%;
}

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

#slideshow-row .carousel-control:is(.left,
.right) {
    display: block;
    text-shadow: none;
    text-decoration: none;
    background: var(--green);
    width: 44px;
    height: 44px;
    font-size: 60px;
    border-radius: 50%;
    margin-inline: 30px;
    padding: 0 5px;
    line-height: 1;
    border: 1px solid white;
    padding-bottom: 15px;
    color: transparent;
    margin-block: auto;
}

#slideshow-row .carousel-control::before {
    content: '';
    border: 3px solid white;
    width: 15px;
    height: 15px;
    display: block;
    transform: rotate(45deg);
    top: 14px;
    position: absolute;
}

#slideshow-row .left::before {
    border-top: none;
    border-right: none;
    left: 16px;
}

#slideshow-row .right::before {
    border-bottom: none;
    border-left: none;
    left: 10px;
}

#slideshow-row .carousel-caption {
    bottom: 2rem;
    text-shadow: none;
    color: white;
    left: 0;
    right: 0;
}

#slideshow-row p {
    padding: .5rem 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    width: fit-content;
    margin-inline: auto;
}

@media (max-width: 990px) {
    #slideshow-row .carousel-caption {
        position: relative;
        top: unset;
        bottom: unset;
        padding: 10px;
        background: rgba(0, 0, 0, 0.8);
    }
    #slideshow-row p {
        background: none;
        padding: 0;
    }
}


/* CTA row */

#cta-row {
    --gap: 1rem;
}

.cta-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 991px) {
    #cta-row {
        --gap: 0;
    }
    .cta-list {
        margin-top: -2rem;
    }
}

.cta-list li {
    background: var(--green);
    transition: .125s background ease-in-out;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.cta-list li:not(:last-child) {
    border-right: 2px solid #227270;
}

.cta-list li:is(:hover,
 :focus,
 :focus-within) {
    background: var(--dark-yellow);
}

.cta-list a,
.cta-list a:is(:hover,
:focus) {
    color: white;
    text-decoration: none;
    text-align: center;
    position: unset;
}

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

@media (max-width: 820px) {
    .cta-list {
        grid-template-columns: repeat(auto-fill, minmax(365px, 1fr));
    }
    .cta-list li {
        border: 1px solid #227270;
    }
}


/* Welcome row */

.event-item {
    display: flex;
    border: 2px solid var(--light-green);
    margin-bottom: 1rem;
}


/* News row */

#news-row::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: var(--side-margin);
    background: #F6F7F2;
    display: block;
    z-index: -1;
}

.event-item time {
    background: var(--light-green);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 60px;
    text-transform: uppercase;
    font-weight: 600;
    color: #333;
    line-height: 1;
    padding: 1rem 0;
}

.event-item .day {
    font-size: 28px;
}

.event-item h3 {
    font-size: 18px;
    margin: 0;
    padding: 1rem;
}

#homepage-main #news-row>.column {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 1rem 30px;
}

#homepage-main #news-row :is(h2,
.button-link) {
    grid-column: 1/-1;
    margin: 0;
}

.news-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.news-item img {
    width: 100%;
}

.news-item img:not([src*="http"]) {
    /* If no image is added to the news item, hide the broke image icon */
    display: none;
}

.news-item h3 {
    font-size: 20px;
    margin: 0;
}

.news-item a {
    position: unset;
}

.news-item a::before {
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
}


/* Executive Board page */

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

.board-list li {
    position: relative;
}

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

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

#subpage-main .board-members>.column {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 1rem 30px;
}

.board-members>.column>*:not(.board-member-details) {
    grid-column: 1/-1;
}

.board-member-details {
    list-style: none;
    padding: 0;
}


/* Conferences page */

#subpage-main:has(#conference-banner-row) {
    margin-block: 0;
}

#conference-banner-row {
    --gap: 0;
}

#subpage-main #conference-banner-row>.column {
    position: relative;
    display: flex;
    place-content: center;
}

#subpage-main #conference-banner-row>.column::before {
    content: '';
    position: absolute;
    background: var(--light-green);
    opacity: .5;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#subpage-main #conference-banner-row h1 {
    position: absolute;
    top: calc(50% - 2em);
    text-align: center;
    max-width: var(--page-width);
    z-index: 2;
}

#conference-presentors-row::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: var(--side-margin);
    z-index: -1;
    background: #F6F7F2;
    display: block;
}

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

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

.hightlights-list li {
    background: #F6F7F2;
    padding: 1em 2ch;
}

.hightlights-list h3 {
    font-size: 24px;
    margin-bottom: 0;
}

.hightlights-list .time {
    font-style: italic;
}

#testimonial-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem 30px;
    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;
}

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

@media (max-width: 1200px) {
    #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) {
    .testimonial {
        font-size: 1.1em;
    }
    .testimonial-author {
        font-size: 1em;
        margin-top: .5em;
    }
}


/* Footer */

footer {
    color: white;
    position: relative;
    padding-top: 2rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

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

footer p {
    margin-bottom: 0;
}

footer p a {
    color: inherit;
    text-decoration: underline;
}

footer .social-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 15px;
}


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