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


/*
--------------------------------------------------------------------------
 Typography 
--------------------------------------------------------------------------
 */

 :root {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    --header-height: 132px;
    --footer-height: 90px;
}

body {
    color: #333;
    font-size: inherit !important;
    font-family: inherit !important;
}

p+p {
    margin-top: .25em;
}

p:empty {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: .5em;
    padding: 0;
    font-weight: bold;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 32px;
}

#homepage-main h2 {
    font-size: 27px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 28px;
}

h5 {
    font-size: 25px;
}

h6 {
    font-size: 20px;
}


/*  Links -------------------

 */

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

a:hover,
a:focus {
    text-decoration: underline;
}

a.button-link,
.cal-evr-btn,
input[type="submit"]:not(#mms-main input):not(.search-button),
.mobile-login button {
    /* :not exception needed to avoid messing with all sorts of different buttons in the MMS  */
    background: var(--primary);
    font-size: inherit;
    padding: .8em 4ch;
    display: inline-block;
    color: white;
    margin-right: 2ch;
    border-radius: 0px;
    /*position: relative;
    left: -.25em;
    ^^ Optically adjust for rounded left edge */
    border: none;
    text-align: center;
    white-space: nowrap;
}

a.evr-submit {
    background: var(--primary);
    font-size: inherit;
    padding: .8em 4ch;
    display: inline-block;
    color: white;
    margin-right: 2ch;
    border-radius: 0px;
    border: none;
    text-align: center;
}

.button-link:not(:last-child) {
    margin-bottom: .5em;
}

a.button-link:hover,
a.button-link:focus {
    text-decoration: none;
}

a.button-link+*:not(.button-link) {
    padding-top: 1.5em;
}

*+.button-link {
    margin-top: 1em;
}

li:not(:last-child) .button-link {
    margin-bottom: .75rem;
}

#homepage-main .quick-links a {
    display: block;
    color: black;
    background: var(--accent);
    padding: 5px 0;
    transition: background .125s ease-in-out;
    font-weight: 600;
}

#homepage-main .quick-links :hover,
#homepage-main .quick-links:focus {
    background: var(--secondary);
    color: var(--yellow);
    text-decoration: none;
}

.panel-title>a {
    color: var(--primary);
}


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

#homepage-main .marquee::before {
    content: "";
    background: var(--accent);
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: calc(var(--side-margin) * -1);
    right: calc(var(--side-margin) * -1);
}

#homepage-main .marquee {
    height: 80px;
    padding: 1.5em;
}

#homepage-main .marquee p {
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
    white-space: nowrap;
}

.marquee a {
    color: black;
}

.marquee a:hover,
.marquee a:focus {
    color: var(--secondary);
    text-decoration: none;
}

.marquee:hover div {
    animation-play-state: paused;
}

#homepage-main .marquee div {
    display: block;
    width: max-content;
    height: auto;
    position: absolute;
    overflow: hidden;
    /*animation: marquee 10s linear infinite;*/
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -moz-animation: scroll-left 20s linear infinite;
    -webkit-animation: scroll-left 20s linear infinite;
    animation: scroll-left 20s linear infinite;
}


/*@keyframes marquee {
  0% { left: 0; }
  100% { left: -100%; }
}*/

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

@-moz-keyframes scroll-left {
    0% {
        -moz-transform: translateX(100%);
    }
    100% {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes scroll-left {
    0% {
        -webkit-transform: translateX(100%);
    }
    100% {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes scroll-left {
    0% {
        -moz-transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    100% {
        -moz-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

@media (max-width:990px) {
    #homepage-main .marquee {
        height: auto;
        padding-bottom: 2.5rem !important;
    }
    #homepage-main .marquee p {
        font-size: 18px;
    }
}

@media (max-width:700px) {
    #homepage-main .marquee div {
        width: 250%;
    }
}

.accent-row::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -666vw;
    right: -666vw;
    display: block;
    background-color: var(--accent);
    max-height: 5px;
}

#homepage-main .accent-text {
    display: none;
}

#homepage-main .color-wrap::before,
#subpage-main .color-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -666vw;
    right: -666vw;
    display: block;
    background-color: var(--primary);
}

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


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

.wrapper {
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
    position: relative;
    height: inherit;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width:768px) {
    body {
        --side-margin: calc((100vw - 750px) / 2);
    }
    .wrapper {
        width: 750px;
    }
}

@media (min-width:992px) {
    body {
        --side-margin: calc((100vw - 987px) / 2);
    }
    .wrapper {
        width: 970px;
    }
}

@media (min-width:1200px) {
    body {
        --side-margin: calc((100vw - 1170px) / 2);
    }
    .wrapper {
        width: 1170px;
    }
}

@media (min-width: 767px) {
    /*The following styles are meant to give more space to the label column in contact forms that are too narrow for the entire label to be read normally*/
    .col-md-5 form[action="contact_form_resp.php"] .col-sm-2,
    .col-md-4 form[action="contact_form_resp.php"] .col-sm-2,
    .col-md-3 form[action="contact_form_resp.php"] .col-sm-2,
    .col-md-2 form[action="contact_form_resp.php"] .col-sm-2,
    .col-md-1 form[action="contact_form_resp.php"] .col-sm-2 {
        width: 25%;
        padding-right: 1em;
    }
    .col-md-5 form[action="contact_form_resp.php"] .col-sm-10,
    .col-md-4 form[action="contact_form_resp.php"] .col-sm-10,
    .col-md-3 form[action="contact_form_resp.php"] .col-sm-10,
    .col-md-2 form[action="contact_form_resp.php"] .col-sm-10,
    .col-md-1 form[action="contact_form_resp.php"] .col-sm-10 {
        width: 75%;
        padding-left: 0;
    }
    .col-md-5 form[action="contact_form_resp.php"] .col-sm-offset-2,
    .col-md-4 form[action="contact_form_resp.php"] .col-sm-offset-2,
    .col-md-3 form[action="contact_form_resp.php"] .col-sm-offset-2,
    .col-md-2 form[action="contact_form_resp.php"] .col-sm-offset-2,
    .col-md-1 form[action="contact_form_resp.php"] .col-sm-offset-2 {
        margin-left: 25%;
    }
    /*^^Adjusts the form-group placement of the reCAPTCHA iframe and submit buttom to match the new widths from the styles above*/
}

blockquote {
    font-size: inherit;
    border-left-color: var(--secondary);
}

blockquote p {
    font-size: 1.05em;
}


/* contact wrap */


/* 
#homepage-main .contact-wrap::before,
#subpage-main .contact-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -666vw;
    right: -666vw;
    display: block;
    background-color: var(--secondary);
}

#homepage-main .contact-wrap h2,
#subpage-main .contact-wrap h2 {
    color: white;
}

#homepage-main .contact-wrap,
#subpage-main .contact-wrap {
    color: white;
}

@media (min-width: 767px) {
    .contact-wrap {
        margin-bottom: 0;
    }
}

@media (min-width: 767px) {
    #homepage-main .contact-form:nth-of-type(1),
    #homepage-main .contact-form:nth-of-type(2),
    #homepage-main .contact-form:nth-of-type(3),
    #homepage-main .contact-form:nth-of-type(4) {
        width: calc(50% + 15px);
        margin-left: 8%;
    }
}

@media (min-width: 767px) {
    #homepage-main .contact-form:nth-of-type(5) {
        width: 50%;
        position: absolute;
        right: 0;
        top: 0;
    }
}

#homepage-main .contact-form:nth-of-type(6) {
    display: none;
}

@media (min-width: 1200px) {
    #homepage-main .contact-form:nth-of-type(7) {
        position: absolute;
        right: 0;
        bottom: 162px;
        width: 50%;
    }
}

@media (min-width: 767px) and (max-width: 1200px) {
    #homepage-main .contact-form:nth-of-type(7) {
        position: absolute;
        right: 0;
        bottom: 162px;
        width: calc(50%);
    }
}

@media (min-width: 767px) and (max-width: 1201px)  {
    #homepage-main .contact-form:nth-of-type(8) {
        position: absolute;
        right: 60px;
        bottom: 150px;
        margin-bottom: 0;
    }
}

@media (min-width: 767px) and (max-width: 991px)  {
    #homepage-main .contact-form:nth-of-type(8) {
        opacity: 0;
    }
}

@media (min-width: 1201px) {
    #homepage-main .contact-form:nth-of-type(8) {
        position: absolute;
        right: 160px;
        bottom: 150px;
        margin-bottom: 0;
    }
}


#homepage-main .contact-form:nth-of-type(9) {
    position: relative;
    right: 0;
    bottom: 110px;
}

@media (max-width: 767px) {
    #homepage-main .contact-form:nth-of-type(9) {
        position: unset;
    }
}

@media (min-width: 767px) and (max-width: 991px){
    #homepage-main .contact-form:nth-of-type(9) {
        position: absolute;
        right: 70px;
        bottom: 70px;
        width: 50%;
    }
    #homepage-main .contact-form .g-recaptcha div{
        width: 50% !important;
    }
}


@media (min-width: 991px) and (max-width: 1201px){
    #homepage-main .contact-form:nth-of-type(9) {
        position: absolute;
        right: 206px;
        bottom: 70px;
    }
}

@media (min-width: 1201px) {
    #homepage-main .contact-form:nth-of-type(9) {
        position: absolute;
        right: 95px;
        bottom: 70px;
        width: 50%;
    }
}

#homepage-main .contact-form:nth-of-type(10) {
    position: relative;
    left: calc(50% - 60px);
    bottom: 0px;
} 

@media (max-width: 767px) {
    #homepage-main .contact-form:nth-of-type(10) {
        position: unset;
    }
}

@media (min-width: 768px) {
    #homepage-main .contact-form:nth-of-type(10) .col-sm-offset-2{
        margin-left: 0 !important;
    }
}

@media (min-width: 767px) and (max-width: 1201px){
    #homepage-main .contact-form:nth-of-type(10) {
        position: relative;
        left: calc(50% - 60px);
        bottom: 0px;
    } 
}




#homepage-main .control-label {
    display: none;
}

#homepage-main textarea.contact-text {
    height: 35px;
} */


/* new contact-row */

#homepage-main #contact-row::before,
#subpage-main #contact-row::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -666vw;
    right: -666vw;
    display: block;
    background-color: var(--secondary);
}

#contact-row {
    margin-bottom: 0;
}

#contact-row:not(#gmcanvas #contact-row) :is(h2, h3) {
    color: white;
}

#contact-row form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

#contact-row form .contact-form {
    margin-bottom: 0;
}

#contact-row form label {
    display: none;
}

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

#contact-row form .contact-form textarea {
    height: 8em;
}

#contact-row form .contact-form:nth-child(11) {
    order: 9;
    color: white;
    margin-top: -40px;
    display: none;
}

#contact-row form .contact-form:nth-child(12) div {
    margin-left: 0;
}

#contact-row form .contact-form:last-of-type {
    margin-left: 0;
    grid-column: 1/-1;
}

#contact-row form .contact-form:last-of-type div {
    margin-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact-row h3 {
    margin-bottom: 30px;
}

@media (max-width: 1060px) {
    #contact-row form {
        padding: 0 30px;
    }
}

@media (max-width: 850px) {
    #contact-row form {
        grid-template-columns: repeat(1, 1fr);
    }
}


/*Styles below are taken from Bootstrap's table style to ensure that tables on content pages are responsive and neat whether Bootstrap classes are added or not. :not added to prevent styling Google Custom Search tables*/

#subpage-main table {
    max-width: 100%;
    border-collapse: collapse;
    color: #212529;
    margin-bottom: 1em;
    font-size: 16px;
    border-bottom: 1px solid #dee2e6;
    margin-top: 2em;
}

#subpage-main thead {
    font-weight: bold;
}

#subpage-main td,
#subpage-main th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    text-align: inherit;
}

#subpage-main thead th {
    vertical-align: bottom;
    border-top: none;
}

#subpage-main table caption {
    color: currentColor;
    text-align: left;
    font-size: 1.375em;
    font-weight: bold;
    padding: 0;
}

#subpage-main tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, .075);
}

@media (max-width: 767px) {
    #subpage-main table {
        font-size: 14px;
    }
    #subpage-main td:first-child,
    #subpage-main th:first-child {
        padding-left: 5px;
    }
    #subpage-main td:last-child,
    #subpage-main th:last-child {
        padding-right: 5px;
    }
}

@media (max-width: 500px) {
    #subpage-main td,
    #subpage-main th {
        padding: 5px 2px;
    }
}

grammarly-btn {
    display: none;
    /*If someone copy/pastes text from Grammarly it will add this invisible button and cause the page to scroll horizontally. This style hides that.*/
}

.ui-widget {
    /* Part of some pages in the MMS, this style tells it not to overwrite the font with Verdana */
    font-family: revert;
}


/* Feed items */

.feed-item {
    /*padding: .25rem 20px;*/
    border-radius: 5px;
}

.feed-item h3 {
    font-size: 1.1rem;
}

.feed-item *:not(:last-child) {
    margin-bottom: .5rem;
}


/* Slideshow defaults */


/*.carousel-caption {
    position: absolute;
    z-index: 100;
    background-color: #002857;
    background: rgba(0, 0, 0, .6);
    padding: 10px 15px;
    left: inherit;
    bottom: 0px;
    right: 0px;
    top: inherit;
    width: 100%;
    text-align: left;
    text-shadow: none;
}

@media (max-width: 600px) {
    .carousel-caption {
        padding: 0px 10px;
    }
}*/

.carousel-caption {
    top: 0
}

.caption-text {
    font-size: 28px;
    font-weight: 600;
    line-height: 33px;
    display: block;
    color: initial;
    margin-bottom: 10px;
}

.alt-text {
    font-size: 16px;
    color: initial;
    margin-bottom: 10px;
    color: white;
}

.slide-row .carousel-control {
    display: none;
}

.testimonial-slideshow img {
    margin-bottom: 1em;
    position: relative;
}

.testimonial-slideshow .carousel-caption {
    background: none;
    text-align: center;
    padding-bottom: 2em;
    top: 0;
}

.testimonial-slideshow .alt-text {
    color: black;
    font-weight: 300;
}

.carousel-inner img {
    /*	max-height: 350px;*/
}

@media (max-width: 1000px) {
    .caption-text {
        padding: 0 1em;
    }
}

@media (min-width: 600px) and (max-width: 999px) {
    .caption-text {
        padding: 0 2em;
    }
}

@media (min-width: 1000px) and (max-width: 1600px) {
    .caption-text {
        font-size: 16px;
        line-height: 20px;
    }
}

.slide-link {
    position: absolute;
    z-index: 10;
    right: 15%;
    bottom: 20px;
    left: 15%;
    text-align: center;
    color: var(--primary);
}

.slide-link:hover,
.slide-link:focus {
    color: var(--secondary);
    text-decoration: none;
}

@media (min-width: 1000px) and (max-width: 1200px) {
    .slide-link {
        position: unset;
    }
}


/*--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: 'Poppins', sans-serif;
    text-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

.nivo-prevNav:hover,
.nivo-nextNav:hover {
    text-decoration: none;
    color: #ae0e0d;
    text-shadow: none;
}

.nivo-prevNav {
    left: 10px !important;
}

.nivo-nextNav {
    right: 10px !important;
}

.nivo-prevNav:after {
    content: "‹";
}

.nivo-nextNav:after {
    content: "›";
}


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


/*  Desktop Menu ---------------------------
    ----------------------------------------
 */

#nav_menu>ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    height: 65px;
    height: 45px;
    list-style: none;
    padding-left: 0;
    position: relative;
    margin: 0;
    padding-bottom: 0;
    transition: .125s height ease-in;
}

#nav_menu>ul>li>ul {
    /* 1st tier submenus */
}

#nav_menu>ul>li:last-child>ul {
    /* Submenu of the last top-level menu item */
    left: -100%;
}

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

#nav_menu .navbar-nav>li>a {
    padding: 0;
    font-size: 16px;
    white-space: nowrap;
}

.caret {
    /* Convert Bootstrap style into em's so carets scale with type */
    border-top: .2em dashed;
    border-right: .2em solid transparent;
    border-left: .2em solid transparent;
}

.dropdown-menu {
    font-size: inherit;
}

.dropdown-menu>li>a {
    font-size: inherit;
    padding: .5rem 1rem;
}

.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover,
.nav>li>a:focus,
.nav>li>a:hover {
    /* Overwriting BS defaults */
    background-color: transparent;
    color: inherit;
    transition: color .125s ease-in;
}

.nav .open>a:hover,
.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
    color: var(--secondary);
    background-color: transparent;
}

#nav_menu li.greyed a {
    opacity: .75;
}


/*  Mobile Header Nav ----------------------
    ----------------------------------------
 */

@media (max-width: 990px) {
    #nav_menu {
        display: none !important;
    }
}

.mobileMenuTrigger label {
    display: none;
}

.menu-trigger {
    cursor: pointer;
    margin: 0;
    width: 30px;
    height: 30px;
    padding: 5px;
}

.menu-trigger:hover,
.menu-trigger:focus {
    color: var(--secondary);
}


/*  Mobile Menu-----------------------------
    ----------------------------------------
 */

#mobileMenuWrapper {
    box-shadow: 7px 0 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 200;
    overflow-y: auto;
    overflow-x: hidden;
    left: -120%;
    width: 300px;
    background-color: white;
    transition: left 300ms cubic-bezier(1.000, 0.010, 0.0, 1.000);
    color: #444;
}

#mobileMenuWrapper.open {
    left: 0;
}

#mobile-menu {
    list-style: none;
    overflow-y: auto;
    overflow-x: visible;
    padding: 1em 1.5em;
}

.triggerClose {
    text-align: right;
}

#mobile-menu button {
    border: none;
    color: white;
}

.triggerClose button {
    background: none;
}

#mobileMenuWrapper #mobile-menu a {
    display: inline-block;
    width: 100%;
    margin-bottom: .75em;
}

#mobileMenuWrapper .mDropdown {
    display: none;
    list-style: none;
    padding: 0;
    background: none;
    border-top: 1px solid var(--secondary);
    border-bottom: 1px solid var(--secondary);
    padding-top: .75em;
    margin-bottom: .75em;
}

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

.mDropdown>li>a {
    padding: 0;
}

.mDropdown-parent {
    color: var(--primary);
}


/*
--------------------------------------------------------------------------
 Main
--------------------------------------------------------------------------
 */

main {
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
    position: relative;
}

@media (min-width: 767px) {
    #subpage-main .row,
    #homepage-main .row:not(.marquee):not(.contact-wrap):not(.accent-row):not(.social-row):not(#contact-row) {
        /*These two styles can be tweaked if needed, but they are a handy default for spacing rows (and then columns once the screen hits the col-xs breakpoint on subpages*/
        margin-bottom: .5em;
    }
    div[class^="col"]+.col-md-12:not(.social-row):not(.marqueetwo):not(.marqueethree):not(.marqueefour) {
        margin-top: 2em;
    }
}

@media(max-width: 1200px) {
    #homepage-main article>section,
    #subpage-main {
        padding: 3.5em 0;
    }
}

@media(max-width: 990px) {
    #homepage-main article>section,
    #subpage-main {
        padding: 2.5em 0;
    }
    .col-md-6.col-sm-12+.col-sm-12 {
        margin-top: 30px;
    }
}

@media (max-width: 900px) {
    #subpage-main:not(.full-background),
    #mms-main {
        margin-bottom: 2em;
    }
    main div[id^="section-"] {
        padding: 3.5em 0;
    }
}

@media (max-width: 767px) {
    #homepage-main article>section,
    #subpage-main {
        padding: 1.5em 0;
    }
    #subpage-main [class*="col-md"]+[class*="col-md"] {
        margin-top: 1rem;
    }
    #subpage-main div[class^="col-md"],
    #homepage-main div[class^="col-md"] {
        margin-bottom: 1em;
    }
    #homepage-main article>section {
        padding: 3em 0;
    }
}

@media (max-width: 450px) {
    #homepage-main article>section {
        padding: 2em 0;
    }
}


/*  Home Slideshow  ------------------------
    ----------------------------------------
 */

#banner-row .carousel-control.left,
#banner-row .carousel-control.right {
    /* Remove carousel controls from homepage slideshow */
    /*display: none;*/
}

.carousel-indicators {
    display: none;
}

#banner-row img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

#banner-row .carousel-caption {
    position: absolute;
    z-index: 100;
    background: transparent;
    left: 0;
    bottom: 10vh;
    right: 0;
    top: unset;
    width: 100%;
    text-align: left;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 4px black;
}

#banner-row .caption-wrapper {
    padding-left: 15px;
    padding-right: 15px;
}

#banner-row .caption-text {
    font-size: 58px;
    font-weight: bold;
    line-height: .9;
    display: block;
    color: white;
    margin-bottom: 10px;
}

#banner-row .alt-text {
    font-size: 26px;
    line-height: 1.2;
    color: white;
}

@media (max-width: 990px) {
    #banner-row .caption-text {
        font-size: 38px;
    }
    #banner-row .alt-text {
        font-size: 20px;
    }
}


/*  Subpages -------------------------------
    ----------------------------------------
 */


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


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

html {
    --primary: #ED3237;
    --secondary: #3E4095;
    --accent: #91D8F6;
    --yellow: #FFF112;
    --background: #f4f7f9;
    --text: #333333;
    overflow-x: hidden;
    font-size: 19px;
    font-family: 'Poppins', sans-serif;
    color: #263138;
    --side-margin: 1px;
}

@media (min-width:768px) {
     :root {
        --side-margin: calc((100vw - 750px) / 2);
    }
}

@media (min-width:991px) {
     :root {
        --side-margin: calc((100vw - 987px) / 2);
    }
    .wrapper {
        width: 970px;
    }
}

@media (min-width:1201px) {
     :root {
        --side-margin: calc((100vw - 1170px) / 2);
    }
    .wrapper {
        width: 1170px;
    }
}

body {
    color: inherit;
    overflow: inherit;
}

body,
header,
footer,
main,
header nav {
    font-family: inherit !important;
    font-size: inherit !important;
    /* Prevent MMS pages with hard-coded fonts from overwriting this  */
}

p {
    margin: 0;
    font-weight: 300;
}

p:not(:last-child) {
    margin-bottom: .75em;
    color: inherit;
}


/*--------------------------------------------------------
    Headings
--------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 .3em;
    padding: 0;
    font-weight: bold;
    text-transform: capitalize;
    line-height: 1;
}

h1:not(:first-child),
h2:not(:first-child),
h3:not(:first-child),
h4:not(:first-child),
h5:not(:first-child),
h6:not(:first-child) {
    margin-top: 1em;
}


/*--------------------------------------------------------
    Links
--------------------------------------------------------*/

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

.button-link {
    text-transform: capitalize;
    display: block;
    width: fit-content;
    color: white;
    background-color: var(--primary);
    text-align: center;
    padding: 0.6em 2ch;
    text-decoration: none;
    line-height: 1;
    transition: background .125s ease-in-out;
    text-shadow: none;
    border: none;
}

.button-link:hover,
.button-link:focus,
.cal-evr-btn:hover,
.cal-evr-btn:focus,
.evr-submit:hover,
.evr-submit:focus {
    background-color: var(--secondary);
    text-decoration: none;
    outline: none;
    color: var(--yellow);
}

.button-link:not(:first-child) {
    margin-top: 1.5em;
}

.button-link:not(:last-child) {
    margin-bottom: 2em;
}

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


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

.offscreen {
    /* This class allows an element to be read by a screenreader without appearing in the viewport  */
    position: absolute;
    left: -666vw;
}


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

.wrapper {
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
    position: relative;
    height: inherit;
    padding-left: 15px;
    padding-right: 15px;
}


/*.full-width {
     Make an element span the width of the viewport 
    position: relative;
    left: var(--side-margin);
    right: var(--side-margin);
    width: calc(100vw + 13px);
}*/

.full-width {
    position: relative;
    /* left: var(--side-margin); */
    right: var(--side-margin);
    width: calc(100vw + 13px);
    padding-left: 0;
}

.img-responsive.full-width:not(#mycanvas img) {
    /* Make sure that when the system automatically adds the class .img-responsive that it doesn't break .full-width. This is not applied to images viewed on the Grid Editor page. */
    max-width: unset;
}

#gm-canvas .full-width {
    left: unset;
    right: unset;
    width: unset;
}

.row-background:not(#mycanvas .row-background) {
    position: relative;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 15px;
}

.row-background:not(#mycanvas .row-background)::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -666vw;
    right: -666vw;
    display: block;
    background-color: var(--background);
}

@media (min-width: 992px) {
    .row-background:not(#mycanvas .row-background)>.col-md-9 {
        width: calc(75% - 15px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-8 {
        width: calc(66.7% - 15px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-7 {
        width: calc(58.3% - 15px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-6 {
        width: calc(50% - 15px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-5 {
        width: calc(41.7% - 15px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-4 {
        width: calc(33.3% - 20px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-3 {
        width: calc(25% - 20px);
    }
    .row-background:not(#mycanvas .row-background)>.col-md-2 {
        width: calc(20% - 20px);
    }
}

@media (max-width: 990px) {
    .container,
    .wrapper {
        /* Extra wiggle room at a breakpoint that needs it  */
        width: 100%;
    }
    .full-width {
        --side-margin: -15px;
        left: var(--side-margin);
        right: var(--side-margin);
        width: calc(100vw + 30px);
    }
    .row-background:not(#mycanvas .row-background) {
        padding-right: 15px;
    }
    .row-background::before {
        left: 0;
        right: 0;
    }
}

@media (max-width: 767px) {
    .row-background {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}


/* Events/News items */

#homepage-main .events-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}

@media (max-width: 767px) {
    .events-row {
        justify-content: center;
    }
}

.event-feed-item {
    max-width: 360px;
    background: var(--secondary);
    border-radius: 10px;
    color: white;
    padding: 15px;
    width: 100%;
}

.event-feed-item img {
    padding-bottom: 3px
}

.event-feed-item h3 {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.25;
    margin-top: 0.5em;
}

.event-feed-item a {
    color: white;
}

.event-feed-item a:hover,
.event-feed-item a:focus {
    color: var(--yellow);
}

#calendar-icon {
    width: 15px;
    fill: var(--accent);
}

#calendar-icon rect {
    stroke: none !important;
}

#homepage-main .news-wrap::before,
#subpage-main .news-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -666vw;
    right: -666vw;
    display: block;
    background-color: var(--accent);
}

#homepage-main .news-row {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}

@media (max-width: 943px) {
    .news-row {
        flex-direction: column;
        align-items: center;
    }
}

.news-feed-item {
    max-width: 350px;
    background: white;
    border-radius: 10px;
    padding: 15px;
}

.news-feed-item a:hover,
.news-feed-item a:focus {
    color: var(--secondary);
}

.news-feed-item h3 {
    font-size: 1em;
    font-weight: 400;
    margin-bottom: 1em;
}

.news-title-link {
    color: black;
    line-height: 1.5;
}

.news-feed-item img {
    padding-bottom: 5px;
}

.feed-item {
    display: flex;
    gap: 1em 1ch;
    line-height: 1.2;
}

.feed-item:not(:last-child) {
    margin-bottom: .75rem;
}

.feed-item time {
    background: var(--secondary);
    border-radius: 5px;
    color: white;
    text-align: center;
    min-width: 50px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-item time span {
    display: block;
}

.feed-item .day {
    font-size: 1.4em;
    line-height: 1;
}

#homepage-main .feed-item h3 {
    font-size: 1.1rem;
    margin: 0 0 5px;
    line-height: 1;
}

@media (min-width: 768px) {
    .feed-item time {
        font-size: 14px;
    }
}


/* Slideshows defaults */

@media (min-width: 990px) {
    .slideshow-row.full-width {
        left: calc(var(--side-margin) * -1)
    }
}

.slide-wrap {
    padding-left: 0;
}

.carousel {
    font-size: 20px;
}

.carousel-control.left,
.carousel-control.right {
    /*display: none;*/
    height: 50px;
    width: 50px;
    color: #fff;
    top: 0px;
    left: auto;
    line-height: normal;
    bottom: 0;
    margin: auto;
    opacity: 1;
    text-shadow: none;
    font-family: 'Mulish', sans-serif;
    background: rgba(25, 35, 51, 0.6);
    vertical-align: middle;
    text-align: center;
    padding-right: 2px;
    border: 0px;
    font-size: 40px;
}

.slideshow-row img {
    width: 100%;
    /* max-height: 585px; */
}


/*--------------------------------------------------------
    Header
--------------------------------------------------------*/

header {
    padding-top: .5rem;
    padding-bottom: .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#homepage-header {
    position: absolute;
    top: 0;
    z-index: 1;
    left: calc(var(--side-margin) * -1);
}

.search-list {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem 15px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.search-list .button-link {
    margin-top: 0;
}

.login-button {
    height: 42px;
    top: 15px;
}


/* Search */

.searchbox {
    width: 230px;
    max-width: 100%;
    position: relative;
    padding: 5px 1ch;
    height: 42px;
    outline: 1px solid #e6e6e6;
    transition: .125s outline ease-in-out;
    overflow: hidden;
    top: 15px;
}

.searchbox:hover,
.searchbox:focus,
.searchbox:focus-within {
    outline: 1px solid var(--primary);
}

.search-input {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: none;
    width: 100%;
    padding: inherit;
}

.search-input:focus {
    outline: none;
}

.search-button {
    color: transparent;
    border: none;
    background-image: url(../images/search-new.svg.php?fc=f15b5f);
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px;
    transition: .125s background-image ease-in-out;
    top: 0;
    bottom: 0;
    width: 40px;
    right: 0;
    background-color: white;
}

.search-button:hover,
.search-button:focus {
    background-image: url(../images/search-new.svg.php?fc=f15b5f);
    outline: none;
}

.search-button svg {
    fill: var(--primary);
}


/* Desktop menu  */

header nav {
    width: 630px;
    max-width: 100%;
}

#nav_menu {
    /*padding: 1em 0;*/
    position: relative;
    z-index: 1;
}

#nav_menu>ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
}

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

#nav_menu li {
    position: relative;
}

#nav_menu>ul>li>a {
    transition: background .125s ease-in-out;
    position: relative;
    padding: 5px;
    text-transform: capitalize;
    color: white;
}

#homepage-header #nav_menu>ul>li>a {
    color: white;
}

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

#nav_menu a:hover,
#nav_menu a:focus,
#nav_menu .nav .open>a,
#nav_menu .nav .open>a:focus,
#nav_menu .nav .open>a:hover {
    background: transparent;
    color: var(--yellow);
}

#nav_menu .caret {
    margin-left: .5ch;
}

#nav_menu .dropdown-menu {
    /* Dropdown menu  */
    font-size: inherit;
    padding: 0;
    border: none;
    border-radius: 0;
    top: calc(100% - .5rem);
}

#nav_menu .dropdown-menu a {
    text-decoration: none;
    background: transparent;
    transition: .125s background ease-in-out, .125s color ease-in-out;
    padding: .5em 1ch;
}

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

#nav_menu .dropdown-menu:not(.men-level-):not(.men-level-0) {
    top: 0;
}

.nav-wrap {
    background: var(--secondary);
    max-height: 45px;
}

.search-icon {
    width: 1rem;
    position: relative;
    top: -.125rem;
}

@media (max-width: 1200px) {
    #nav_menu>ul {
        display: flex;
        justify-content: space-between;
    }
    #nav_menu>ul>li>a,
    #nav_menu .dropdown-menu a {
        padding: .5em 1ch;
    }
}

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


/* Mobile menu trigger  */

.mobileMenuTrigger:not(.triggerClose) {
    border: none;
    padding: 10px 5px;
    color: var(--secondary);
    transition: color .125s ease-in-out;
    display: inline-flex;
    border-radius: 5px;
    background: transparent;
}

.mobileMenuTrigger:not(.triggerClose):hover,
.mobileMenuTrigger:not(.triggerClose):focus {
    color: var(--secondary);
    outline: none;
}

.menu-trigger {
    width: 30px;
}

@media (min-width: 991px) {
    .mobileMenuTrigger:not(.triggerClose) {
        display: none;
    }
}


/* Login modal */

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

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

.modal-content {
    margin-top: 20px;
    border-radius: 0;
}

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

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

.modal h2 {
    font-size: 24px;
    margin-top: 0;
}

.modal-header,
.modal-body {
    padding: 1em 2ch;
}

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

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

@media (max-width: 990px) {
    .header-links li:not(:last-child) {
        display: none;
    }
}


/*--------------------------------------------------------
    Mobile navigation
--------------------------------------------------------*/

#mobileMenuWrapper {
    position: fixed;
    background: var(--secondary);
    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 .mobile-search-close {
    display: flex;
    justify-content: space-between;
}

#mobileMenuWrapper a {
    background-color: transparent;
    text-decoration: none;
    color: white;
    border-bottom: 2px solid #1D2360;
    padding-bottom: 10px;
}

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

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

.triggerClose {
    text-align: right;
}

main#subpage-main,
#mms-main .triggerClose button {
    background: none;
    border: none;
    font-size: 1.5rem;
    padding: 0;
    line-height: 1;
}

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

.home-link {
    margin-top: 2em;
}


/*--------------------------------------------------------
    Main
--------------------------------------------------------*/

#subpage-main,
#mms-main {
    padding-top: 1rem;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

main:not(#mms-main) .row:not(.slideshow-row):not(.social-row) {
    position: relative;
}

main:not(#mms-main) .row:not(.slideshow-row):not(.social-row):not(.marquee):not(.sponsor-row) {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#homepage-main .accent-row .row:last-child {
    padding-bottom: 0 !important;
    margin-bottom: 0;
}

@media (max-width: 990px) {
    main:not(#mms-main) .row:not(.slideshow-row) {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }
    main:not(#mms-main) .column+.column {
        margin-top: 1rem;
    }
}


/* @media (max-width: 767px) {
    #homepage-main {
        overflow-x: hidden;
    }
} */


/* Banner row  */

#banner-row {
    position: relative;
}

#banner-row img {
    max-height: 90vh;
    object-fit: cover;
    object-position: top;
}

#banner-row:not(#mycanvas #banner-row) figcaption {
    position: absolute;
    bottom: 100px;
    color: white;
    font-size: 24px;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgb(0 0 0 / 70%);
    max-width: calc(100% - 30px);
}

#banner-row:not(#mycanvas #banner-row) h1 {
    color: white;
    font-size: 55px;
    padding-bottom: 0;
    border-bottom: 3px solid;
    width: fit-content;
}

@media (max-width: 990px) {
    #banner-row:not(#mycanvas #banner-row) figcaption {
        bottom: 2rem;
        font-size: 1.1rem;
    }
    #banner-row:not(#mycanvas #banner-row) h1 {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    #banner-row:not(#mycanvas #banner-row) figcaption {
        position: relative;
        background: var(--primary);
        top: 0;
        bottom: 0;
        margin-left: -15px;
        margin-right: -15px;
        max-width: unset;
        padding: 1rem;
    }
}


/* Events and News rows */

#events-row .column:not(#mycanvas .column),
#news-row .column:not(#mycanvas .column) {
    /* max-height: 50vh;
    overflow-y: visible; */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    grid-gap: 1rem 30px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    height: 100%;
}

#events-row img:not(#mycanvas img),
#news-row img:not(#mycanvas img) {
    height: 100% !important;
    object-fit: cover;
    object-position: top;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1;
    opacity: .25;
}

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

#news-row time {
    display: none;
}

[src="https://media.istockphoto.com/photos/baseball-batter-preparing-to-hit-ball-picture-id536311505?s=2048x2048"] {
    /* Specific to the placeholder images of this template */
    object-position: 0 -200px !important;
}

[src="https://media.istockphoto.com/photos/two-plastic-balls-picture-id503626553?s=2048x2048"] {
    /* Specific to the placeholder images of this template */
    object-position: 0 -380px !important;
}

@media (max-width: 990px) {
    #events-row:not(#mycanvas .row),
    #news-row:not(#mycanvas .row) {
        overflow: hidden;
    }
    #events-row img:not(#mycanvas img),
    #news-row img:not(#mycanvas img) {
        height: 200% !important;
    }
}


/* We Are Row */

#we-are-row h2,
#we-are-row .button-link,
#sponsors-row h2 {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.we-are-grid,
.sponsors-list {
    /* margin-top: 2rem; */
    padding: 0;
    list-style: none;
    display: grid;
    gap: 50px 30px;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
}

.we-are-grid li {
    background: white;
    border-radius: 5px;
    box-shadow: 0px 3px 5px rgb(102 102 102 / 30%);
    /* border: 1px solid #ddd; */
    overflow: hidden;
}

.we-are-grid img {
    height: 240px !important;
    height: unset !important;
    /* Overwrite inline style automatically added to any uploaded image */
    width: 100%;
    /* object-fit: cover; */
}

.we-are-grid section {
    padding: 1em;
}

.we-are-grid h3 {
    font-size: 20px;
    /* color: var(--secondary); */
}

@media (max-width: 1200px) {
    .we-are-grid,
    .sponsors-list {
        gap: 2rem 30px;
    }
}

@media (max-width: 767px) {
    .we-are-grid,
    .sponsors-list {
        gap: 1.5rem 30px;
    }
}


/* Sponsors Row */

.sponsors-list li {
    justify-self: center;
}


/* #mycanvas .sponsors-list {
    display: block;
} */

.sponsors-list {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    margin-top: 2rem;
}

.sponsors-list img {
    border: 1px solid #e6e9f4;
    border-radius: 5px;
    object-fit: cover;
    object-position: center;
}


/* new .sponsors-row */

.sponsor-row:not(#mycanvas *) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.sponsor-row:not(#mycanvas *) .column {
    width: unset !important;
}


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


/*footer:not(#homepage-main+footer) {
    margin-top: 3rem;
}*/

footer>section {
    position: relative;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    gap: 30px 1em;
    flex-wrap: wrap;
}

footer>section:last-child {
    padding: 2rem 0;
}

footer>section::before {
    content: '';
    top: 0;
    bottom: 0;
    left: -666vw;
    right: -666vw;
    background: var(--background);
    position: absolute;
    z-index: -1;
}

footer {
    height: 90px;
    background: #1D2360;
    color: white;
    font-weight: 200;
}

footer h2 {
    font-size: 24px;
}

@media (max-width: 990px) {
    footer div {
        text-align: center;
    }
    .footer-left {
        padding-top: 10px;
    }
}

.footer-left {
    padding-left: 0;
}

@media (min-width: 990px) {
    .footer-right {
        text-align: right;
        padding-right: 0;
        padding-top: 35px;
    }
    .footer-left {
        padding-top: 35px;
    }
}

footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer>section:first-child p {
    max-width: 767px;
}

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

footer a:hover,
footer a:focus {
    color: var(--yellow);
}

footer .social-list {
    align-self: flex-start;
}

.social-list {
    /* color: white; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    list-style: none;
    gap: 10px;
    padding-top: 5px;
    margin-top: 0;
    margin-bottom: 0;
    padding-inline-start: 0;
}

.social-list svg {
    padding: 3px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: var(--accent);
    transition: .125s background ease-in-out .125s border-color ease-in-out;
    color: white;
}

.social-list svg:hover,
.social-list svg:focus {
    /* color: white; */
    background: var(--primary);
    border-color: var(--primary);
}

.social-list path {
    fill: var(--primary);
}

.social-list rect {
    display: none;
}

@media (max-width: 900px) {
    footer {
        grid-template-columns: repeat(3, 1fr);
    }
    footer .social-list {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    footer,
    footer section {
        display: block;
    }
    footer ul {
        margin-bottom: 1rem;
    }
}


/* this is for a 1x1 img that is added though an embed on the homepage for ads */

img[src="https://secure.adnxs.com/seg?add=32947446&t=2"] {
    position: absolute;
    left: -666vw;
}


/*--------------------------------------------------------
    MMS Styles
--------------------------------------------------------*/


/* MMS Member Menu icons */

@media (min-width: 1200px) {
    .nav-tabs li.dropdown {
        width: 190px;
    }
}

@media (min-width: 990px) and (max-width: 1200px) {
    .nav-tabs li.dropdown {
        width: 155px;
    }
}

@media (min-width: 767px) and (max-width: 990px) {
    .nav-tabs li.dropdown {
        width: 120px;
    }
}