/*
// VALUE:COLOR_2:#f2e535
// VALUE:COLOR_1:#12e045
*/



/*--------------------------------------------------------
	FONT ASSIGNMENTS
--------------------------------------------------------*/

:root {
    --primary: #010583;
    --secondary: #5869a5;
    --accent: #e2957e;
    --accent-light: #eaad9b;
    --black: #231412;
    --dark-blue: #373e49;
    --gray: #eeeeee;
    --radius: 2px;
    --gap: 3rem;
    --header-height: 190px;
    --footer-height: 348px;
    --side-margin: calc((100vw - var(--page-width)) / -2);
    --page-width: 100vw;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #363e47;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #363e47;
}

.container {}

.body-wrapper {
    padding-top: 15px;
    padding-bottom: 15px;
}


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

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

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

/*--------------------------------------------------------
	CALENDAR PAGE
--------------------------------------------------------*/
#mheader_5_wrapper .fc-event {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}
#mheader_5_wrapper .fc-event .fc-event-title {
    color: #Fff;
    padding: 6px 10px;
    display: inline-block;
}


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

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Crimson Text', serif;
    font-weight: 400;
    color: #292728;
    margin: 0px;
    padding: 0px;
    padding-bottom: 10px;
}

h1 a,
h2 a,
h3 a,
h4,
h5 a {
    font-family: 'Crimson Text', serif;
}

h1 {
    font-size: 44px;
    color: #292728;
}

h2 {
    font-size: 24px;
    color: #292728;
}

h3 {
    font-size: 22px;
    color: #292728;
}

h4 {
    font-size: 20px;
}

h1.title {
    font-size: 44px;
    margin-top: 15px;
    text-align: left;
}

h3.title {
    font-size: 32px;
    text-align: left;
    margin-bottom: 15px;
}

h1.title:empty,
h3.title:empty {
    display: none;
}


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

a {
    color: var(--secondary);
    font-family: 'Poppins', sans-serif;
    transition: .25s all ease-in;
}

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


/* button-link - dark blue */

.button-link, #contact-form input[type="submit"] {
    color: white;
    border: none;
    text-transform: capitalize;
    font-weight: 500;
    padding: .9em 4ch;
    display: block;
    width: fit-content;
    margin: 1.25em 0;
    transition: .125s background ease-in-out;
    line-height: 1;
    text-decoration: none;
    background-color: var(--primary);
    border-radius: var(--radius);
    white-space: nowrap;
}

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

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

.button-link:is(:hover, :focus),  #contact-form input[type="submit"]:is(:hover, :focus) {
    background: var(--secondary);
    color: white;
    text-decoration: none;
}

/* pink button */

.button-link.red {
    color: var(--primary);
    background-color: var(--accent);
}

.button-link.red:is(:hover, :focus) {
    background: var(--accent-light);
}

/* centered */

.button-link.centered {
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------
	IMAGES, Objects
--------------------------------------------------------*/

img {
    border: 0px;
}



.full-width:not(#gm-canvas .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));
}

main:is(#homepage-main, #subpage-main) .full-width>.column {
    padding-left: 0;
    padding-right: 0;
}

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

.background-row::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: var(--side-margin);
    display: block;
    background: var(--gray);
}

#subpage-main:has(.background-row:last-child) {
    /* If .background-row is the last row, don't include a gap between main and footer */
    margin-bottom: 0;
    padding-bottom: 0;
}

#subpage-main>.background-row:last-child {
    /* If .background-row is the last row, don't include a gap between main and footer */
    margin-bottom: 0;
}

/*--------------------------------------------------------
						HEADER
--------------------------------------------------------*/

header#main-header {
    background: #fff;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    border-bottom: 2px solid var(--secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* height: 183px; */
}

header #top-main-menu {
   padding-right: 0;
   padding-left: 15px;  
   transition: padding .125s ease-in-out;
}

@media (min-width: 999px) and (max-width: 1201px) {
    header #top-main-menu {
        padding-right: 8px;
        padding-left: 15px;  
     }
     
}

@media (max-width: 346px) {
    header #top-main-menu {
        padding-right: 0;
        padding-left: 0;  
     }
     
}


header .container-fluid {
    margin-left: 30px;
    margin-right: 30px;
    padding-left: 0;
    padding-right: 0;
    transition: margin .125s ease-in-out;
}

@media (max-width: 390px) {
   #top-main-menu .col-xs-10 {
        padding-right: 0 !important;
        padding-left: 0 !important;
    } 

    header .container-fluid {
        margin-left: 15px;
        margin-right: 15px;
    }

}


/*Target just IE*/

@media screen and (min-width:0\0) {
    header#main-header {
        position: fixed;
        width: 100%;
    }
    main {
        margin-top: 183px;
    }
    .slideshow-wrap {
        margin-top: 170px;
    }
}


#top-header-wrap {
    background: #fff;
    display: block;
    max-width: 100%;
    position: relative;
    z-index: 1;
    width: 100%;
    /* height: 135px; */
    padding: 25px 0px;
}

@media (min-width: 768px) and (max-width: 990px) {
    #top-header-wrap {
        height: auto;
    }
}

@media (max-width: 767px) {
    #top-header-wrap {
        height: auto;
    }
}

header .header-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

@media (min-width: 992px) and (max-width: 1073px) {
    header .header-container {
        width: 100%;
    }
}

header .main-header .container-fluid>.row {
    display: flex;
    justify-content: space-between;
}

header .main-header .container-fluid>.row::before, header .main-header .container-fluid>.row::after {
    display: none;
}

@media (max-width: 992px) {
    #logo-wrap {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
}

#logo-wrap svg {
    width: 288px;
    height: 77px;
    vertical-align: middle;
    max-width: 100%;
}

#right-side-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    text-align: right;
    /* margin: 23px 0px; */
    opacity: 1;
    animation: appear 1s;
}

@media (max-width: 600px) {
    #right-side-wrap {
        display: none;
        opacity: 0;
        animation: disappear .2s;
    }
}

/* Mobile SVG burger menu */

svg#burger-menu {
    width: 30px;
    height: 22px;
}

.mobile-menu-wrap {
    display: inline-block;
    vertical-align: middle;
    opacity: 1;
    animation: appear 1s;
}

@media (min-width: 991px) {
    .mobile-menu-wrap {
        display: none;
        opacity: 0;
        animation: disappear .2s;
    }
}


/* Search Bar */

#search-input {
    margin-top: -1px;
    max-width: 260px;
    display: inline-block;
    vertical-align: middle;
    opacity: 1;
    animation: appear 1s;
}

#search-input form.searchbox {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1201px) {
   #search-input {
        display: none;
        opacity: 0;
        animation: disappear .2s;
   }
}

@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes disappear {
    from {
        display: block;
        opacity: 1;
    }
    to {
        display: none;
        opacity: 0;
    }
}


@media (min-width: 990px) and (max-width: 1199px) {
    #search-input {
        max-width: 240px;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    #search-input {
        max-width: 200px;
    }
}

/* .search-main-wrap {
    display: inline-block;
    vertical-align: middle;
    margin-top: 20px;
} */

#search-input ::-webkit-input-placeholder {
    color: #515151;
}

#search-input :-moz-placeholder {
    /* Firefox 18- */
    color: #515151;
}

#search-input ::-moz-placeholder {
    /* Firefox 19+ */
    color: #515151;
}

#search-input :-ms-input-placeholder {
    color: #515151;
}

/* #search-input .search-button:before {
    content: url("../images/search-icon.png");
} */

#search-input .search-input {
    border: 0px;
    box-shadow: none;
    height: 40px;
    color: #515151;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    padding: 0px 10px;
    background: #fff;
    border-radius: 16px;
    margin: 0 !important;
    border: 1px solid #bacace;
    background: #fff;
    border-radius: 2px;
}

#search-input .search-button {
    width: 50px;
    background: var(--primary);
    background-image: url("../images/search-icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1rem;
    text-indent: -9999px;
    border: 1px solid var(--primary);
    box-shadow: none;
    border: 0;
    color: #fff;
    padding: 5px 10px 0px;
    height: 40px;
    border-radius: 0px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    font-size: 15px;
    font-weight: 500;
    vertical-align: middle;
}

/* #search-input .input-group.search-input-wrap {
    border: 1px solid #bacace;
    background: #fff;
    border-radius: 2px;
    display: table;
} */


/* Mobile Search Bar */

li.mobile-search-wrap {
    margin-top: 25px;
    margin-bottom: 5px;
    padding-left: 0px;
    width: 250px;
    border-bottom: 0px !important;
}

li.mobile-search-wrap form{
    display: flex;
    justify-content: flex-start;
}

.mobile-search-wrap .search-input {
    width: 200px;
    border: 0px;
    box-shadow: none;
    height: 33px;
    color: #222e3f;
    font-size: 15px;
    font-family: 'Lato', sans-serif;
    padding: 0px 15px;
    background: #fff;
    border-radius: 0px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.mobile-search-wrap .search-button {
    width: 50px;
    background: var(--primary);
    background-image: url("../images/search-icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.5rem;
    text-indent: -9999px;
    /* border: 1px solid #b6d6db !important; */
    box-shadow: none;
    border: 0;
    color: #fff;
    padding: 5px 10px 0px;
    height: 33px;
    border-radius: 0px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.mobile-search-wrap button:hover {
    /* background: transparent !important; */
}

.mobile-search-wrap .input-group.search-input-wrap {
    border: transparent;
}


/* Join and Donate */

.join-wrap,
.donate-wrap {
    display: inline-block;
    vertical-align: middle;
    /* margin-left: 7px; */
}


.join-wrap a,
.donate-wrap a {
    background: var(--primary) !important;
    border: 1px solid var(--primary);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 9px 23px 9px;
    border-radius: 2px;
    text-decoration: none;
}

.join-wrap a:hover,
.join-wrap a:focus,
.donate-wrap a:hover,
.donate-wrap a:focus {
    background: var(--secondary) !important;
    border: 1px solid var(--secondary);
}

/* Mobile Join and Donate */

li.mobile-join-wrap,
li.mobile-donate-wrap {
    display: inline-block;
    vertical-align: middle;
    margin-top: 10px;
    margin-right: 7px;
    border-bottom: 0px !important;
}

@media (max-width: 767px) {
    li.mobile-join-wrap,
    li.mobile-donate-wrap {
        display: inline-block !important;
    }
}

li.mobile-join-wrap a,
li.mobile-donate-wrap a {
    background: var(--primary);
    /* border: 1px solid #fff; */
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 9px 23px 9px !important;
    border-radius: 2px;
    text-decoration: none;
}

li.mobile-join-wrap a:hover,
li.mobile-donate-wrap a:hover {
    background: #0309a0 !important;
    color: #fff !important;
}


/* Member Login */

.signin-wrap {
    display: inline-block;
    vertical-align: middle;
    /* margin-left: 15px; */
    opacity: 1;
    animation: appear 1s; /* animations are shared with the search field */
}
@media (max-width: 850px) {
    .signin-wrap {
        display: none;
        opacity: 0;
        animation: disappear .2s;
    }
} 



.signin-wrap a {
    background: var(--accent) !important;
    border: 1px solid var(--accent-light);
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 9px 31px 9px 25px;
    border-radius: 2px;
    text-decoration: none;
}

.signin-wrap a:hover,
.signin-wrap a:focus {
    background: var(--accent-light) !important;
    border: 1px solid var(--accent-light);
    color: var(--primary);
    text-decoration: none;
}

.signin-wrap a:after {
    content: url(../images/member-icon.png);
    width: 15px;
    height: 15px;
    display: inline-block;
    padding-left: 10px;
    position: relative;
    top: 3px;
}


/* Mobile Member Log In */

li.mobile-login {
    border-bottom: 0px !important;
    margin-top: 25px;
    white-space: nowrap;
}

li.mobile-login a {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 9px 31px 9px 25px !important;
    border-radius: 2px;
    text-decoration: none;
    max-width: 175px;
}

li.mobile-login a:hover,
li.mobile-login a:focus {
    background: #0309a0;
    border: 1px solid var(--primary);
    color: #fff !important;
    text-decoration: none;
}

li.mobile-login a:after {
    content: url(../images/member-icon.png);
    width: 15px;
    height: 15px;
    display: inline-block;
    padding-left: 10px;
    position: relative;
    top: 3px;
}


/*--------------------------------------------------------
					Desktop Navigation
--------------------------------------------------------*/


/*--------------------------------------------------------
                    Mobile Navigation
--------------------------------------------------------*/


/*--------------------------------------------------------
	INDEX / MAIN BODY
--------------------------------------------------------*/

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

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

main>.body-wrapper>.row>div>.row, main>.row[data-gjs-type="x_row"] {
    position: relative;
    padding-block: var(--gap);
}

div.col[data-gjs-type="x_col"] {
    padding-left: 30px;
    padding-right: 30px;
}

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

.slideshow-wrap .container {
    width: 100%;
}

.slideshow-wrap img {
    width: 100%;
}

.slideshow-wrap [class*="col-"] {
    padding: 0;
}

.slideshow-wrap a {
    text-decoration: none;
}

@keyframes echoBorder {
    0% {
        transform: scale(0.7);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.carousel-control {
    margin: auto 0px;
}

.carousel-control.left:hover,
.carousel-control.right:hover {
    background: rgba(98, 144, 155, 1);
}

.carousel-control.left {
    height: 35px;
    width: 35px;
    color: #fff;
    top: 0px;
    left: auto;
    line-height: normal;
    bottom: 0;
    margin: auto;
    opacity: 1;
    text-shadow: none;
    font-family: 'Poppins', sans-serif;
    background: rgba(98, 144, 155, .5);
    vertical-align: middle;
    text-align: center;
    padding-right: 2px;
    border: 0px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    margin-left: 0px;
}

.carousel-control.right {
    height: 35px;
    width: 35px;
    color: #fff;
    top: 0px;
    left: auto;
    right: 0px;
    line-height: normal;
    bottom: 0;
    margin: auto;
    opacity: 1;
    text-shadow: none;
    font-family: 'Poppins', sans-serif;
    background: rgba(98, 144, 155, .5);
    vertical-align: middle;
    text-align: center;
    padding-left: 2px;
    border: 0px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    margin-right: 0px;
}

@media (min-width: 990px) and (max-width: 1199px) {
    .carousel-control.left,
    .carousel-control.right {
        bottom: 25%;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    .carousel-control.left,
    .carousel-control.right {
        bottom: 30%;
    }
}

@media (max-width: 767px) {
    .carousel-control.left {
        top: 20px;
        left: 20px;
        right: 20%;
        bottom: auto;
    }
    .carousel-control.right {
        margin-right: 15px;
        bottom: auto;
        top: 20px;
    }
}

.carousel-control img {
    width: 8px;
    height: 16px;
    margin-top: 2px;
}

@media (max-width: 767px) {
    .carousel-control img {
        width: 5px;
        height: 11px;
        margin-top: -3px;
    }
}

.carousel-caption {
    position: absolute;
    z-index: 100;
    background: rgba(54, 62, 71, .7);
    left: auto;
    top: auto;
    right: 0px;
    bottom: 0px;
    width: 100%;
    text-align: left;
    text-shadow: none;
    padding-top: 25px;
    padding-bottom: 25px;
    min-height: 100px;
}

@media (min-width: 768px) and (max-width: 990px) {
    .carousel-caption {
        display: block;
        position: static;
        width: 100%;
        height: auto !important;
        min-height: 200px !important;
        border: none;
    }
}

@media (max-width: 767px) {
    .carousel-caption {
        display: block;
        position: static;
        width: 100%;
        height: auto !important;
        min-height: 225px !important;
        border: none;
    }
}

@media (max-width: 640px) {
    .carousel-caption {
        min-height: 250px !important;
    }
}

@media (max-width: 510px) {
    .carousel-caption {
        min-height: 270px !important;
    }
}

@media (max-width: 480px) {
    .carousel-caption {
        min-height: 350px !important;
    }
}

.caption-wrapper {
    max-width: 1170px;
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
    --timing-increment: .125s;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.carousel-indicators {
    bottom: 15px;
    text-align: left;
    z-index: 102;
    width: 100%;
    max-width: 1170px;
    margin: auto;
    left: 0;
    right: 0;
    padding-left: 7px;
    display: none;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 20px;
    margin: 0 auto;
    margin-left: 8px;
}

.carousel-indicators .active {
    background: transparent;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    background: #ff9999;
    border: 1px solid #fff;
    border-radius: 20px;
}

.carousel-indicators .active::before {
    content: '';
    position: absolute;
    top: -3px;
    bottom: -3px;
    left: -3px;
    right: -3px;
    border-radius: 50%;
    border: 0.5px solid white;
    z-index: -1;
    animation-name: echoBorder;
    animation-duration: 1s;
    animation-iteration-count: 2;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@media (min-width: 990px) and (max-width: 1199px) {
    .carousel-caption {}
}

@media (max-width: 990px) {
    .carousel-caption {}
    #slide-row .col-md-12 {}
}

.caption-text,
.alt-text {
    transform: translateX(-110%);
}

.caption-text {
    font-size: 20px;
    font-weight: 500;
    display: block;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    margin-bottom: 3px;
    word-wrap: break-word;
    line-height: normal;
    transition: transform calc(var(--timing-increment)*3) ease-in-out;
    transition-delay: calc(var(--timing-increment)*.5);
}

.caption-text strong {
    font-size: 20px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.alt-text {
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 2.5em;
    line-height: 22px;
    display: none;
    transition: transform calc(var(--timing-increment)*3) ease-in-out;
    transition-delay: calc(var(--timing-increment)*1.5);
}

.carousel-caption a:hover {
    color: #fff;
    text-decoration: none;
}

.caption-text-wrap {
    display: inline-block;
    vertical-align: middle;
    width: 74%;
}

.caption-btn-wrap {
    display: inline-block;
    vertical-align: middle;
    width: 25%;
    float: right;
    text-align: right;
    /*margin-top: 15px;*/
}

@media (min-width: 768px) and (max-width: 990px) {
    .caption-text-wrap {
        width: 64%;
    }
    .caption-btn-wrap {
        width: 35%;
    }
}

.caption-btn-wrap a {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    padding: 20px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px 30px;
    transform: translateX(215px);
    transition: transform calc(var(--timing-increment)*3) ease-in-out;
    transition-delay: calc(var(--timing-increment)*5);
    position: absolute;
    right: 0;
    align-self: flex-start;
}

.active .caption-text,
.active .alt-text,
.active .caption-wrapper a {
    transform: translateX(0);
}


/* Force first slide to animate */

[data-slide-number="0"].active .caption-text,
[data-slide-number="0"].active .alt-text,
[data-slide-number="0"].active .caption-btn-wrap a {
    animation-duration: calc(var(--timing-increment)*3);
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-play-state: running;
}

[data-slide-number="0"].active .caption-text,
[data-slide-number="0"].active .alt-text {
    animation-name: slide110;
}

[data-slide-number="0"].active .caption-text {
    animation-delay: calc(var(--timing-increment)*.5);
}

[data-slide-number="0"].active .caption-alt {
    animation-delay: calc(var(--timing-increment)*1.5);
}

[data-slide-number="0"].active .caption-btn-wrap a {
    animation-name: slide215;
    animation-delay: calc(var(--timing-increment)*5);
    transform: translateX(215px)
}

@keyframes slide110 {
    from {
        transform: translateX(-110%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slide215 {
    from {
        transform: translateX(215px);
    }
    to {
        transform: translateX(0);
    }
}

@media (min-width: 768px) {
    .caption-text,
    .alt-text {
        transform: translateX(-110%);
        /*max-width: calc(100% - 150px);*/
    }
}

@media (max-width: 767px) {
    .caption-wrapper a {
        /* position: relative; */
        top: unset;
        transform: translateX(400px);
        right: 25%;
    }
}


/*----------------End Slideshow------*/


/*---------- news_feed_pages function ----*/

div#news-button-container {
    margin: 10px 0px 0px 0px;
    text-align: right;
}

div#news-button-verbiage {
    margin-right: 10px;
    display: inline-block;
    color: #5DB2D7;
}

div#news-button-container:active {
    margin: 9px 0px 0px -1px;
    /* keeps buttons from jumping around when pressed*/
}

div.news-button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #5DB2D7;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    margin: 0px;
}

div.nb-number:hover {
    opacity: 0.7;
    /*buttons move toward backgound color when hovered over*/
    cursor: pointer;
}

div.nb-number:active {
    /* make buttons look like they are being pressed when clicked*/
    opacity: 0.6;
    border-width: 2px 0px 0px 2px;
}

div.nb-selected {
    /* style the selected button */
    opacity: 0.5;
}

div#nb-ellipsis-left,
div#nb-ellipsis-right {
    background-color: transparent;
    color: #5DB2D7;
    border: 0px;
    margin: 0px;
    padding: 5px;
    font-weight: bold;
}


/*---------- END: news_feed_pages ----*/


/*----------------------------------Primary-Content*/


/*--------------------------------------------------------
	CSS STYLE FOR HOME PAGE CONTENT
--------------------------------------------------------*/


.btn-wrap {
    text-align: center;
    margin-top: 25px;
}

.btn-wrap a {
    background: var(--primary);
    color: #fff;
    border-radius: 1px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 14px 42px;
    text-decoration: none;
    text-align: center;
    border: 1px solid var(--primary);
}

.btn-wrap a:hover,
.btn-wrap a:focus {
    background: var(--primary);
    border: 1px solid var(--primary);
}


/* Upcoming Events */

#events-section-wrap .events-wrapper:not(#mycanvas .events-wrapper){
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.3rem 30px;
    margin-top: 0px;
    margin-bottom: 1rem;
}
#events-section-wrap::before, #events-section-wrap::after {
    display: none;
}

@media (max-width: 767px) {
    #events-section-wrap .events-wrapper:not(#mycanvas .events-wrapper) {
        display: block;
        margin-bottom: 6rem;
    }
}

#events-section-wrap .events-wrapper:not(#mycanvas .events-wrapper) * {
    color: #333;
}
.event-content-wrap:hover * {
    color: #fff !important;
}
.event-content-wrap {
    background: var(--accent-light);
    border: 1px solid #c7cfd3;
    border-radius: 3px;
    padding: 25px;
    margin-bottom: 20px;
    transition: background 0.25s ease, color 0.25s ease;
}
.event-content-wrap:hover,
.event-content-wrap:focus {
    background: var(--secondary);
    cursor: pointer;
}
/*.event-content-wrap:hover *,
.event-content-wrap:focus * {
    color: #fff !important;
}*/

.event-outside-wrap {
    padding-top: 50px;
    padding-bottom: 65px;
    position: relative;
    border-bottom: 2px solid var(--secondary);
}

@media (max-width: 767px) {
    .event-outside-wrap {
        background-size: auto;
        background-repeat: repeat;
    }
}

#events-section-wrap {
    margin-bottom: 50px;
}

.event-out-wrap, #events-section-wrap>div:first-of-type {
    margin-bottom: 45px;
}

#events-section-wrap h2 {
    font-size: 44px;
    color: #292728;
    text-align: center;
    margin-bottom: 25px;
}

@media (max-width: 767px) {
    #events-section-wrap h2 {
        font-size: 38px;
    }
}

@media (max-width: 400px) {
    #events-section-wrap h2 {
        font-size: 28px;
    }
}

#events-section-wrap h2:before {
    content: " ";
    border: 1px solid var(--primary);
    margin-bottom: 15px;
    display: inline-block;
    width: 33.333%;
    margin-right: 35px;
}

#events-section-wrap h2:after {
    content: " ";
    border: 1px solid var(--primary);
    margin-bottom: 15px;
    display: inline-block;
    width: 33.333%;
    margin-left: 35px;
}

@media (min-width: 990px) and (max-width: 1199px) {
    #events-section-wrap h2:before {
        width: 28.333%;
    }
    #events-section-wrap h2:after {
        width: 28.333%;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    #events-section-wrap h2:before {
        width: 23.333%;
        margin-right: 20px;
    }
    #events-section-wrap h2:after {
        width: 23.333%;
        margin-left: 20px;
    }
}

@media (max-width: 767px) {
    #events-section-wrap h2:before {
        width: 20.333%;
        margin-right: 20px;
    }
    #events-section-wrap h2:after {
        width: 20.333%;
        margin-left: 20px;
    }
}

@media (max-width: 580px) {
    #events-section-wrap h2:before {
        width: 15.333%;
        margin-right: 15px;
    }
    #events-section-wrap h2:after {
        width: 15.333%;
        margin-left: 15px;
    }
}

@media (max-width: 480px) {
    #events-section-wrap h2:before {
        margin-bottom: 5px;
        width: 10.333%;
        margin-right: 5px;
    }
    #events-section-wrap h2:after {
        margin-bottom: 5px;
        width: 10.333%;
        margin-left: 5px;
    }
}



#events-section-wrap .event-date {
    color: #fff;
    margin-bottom: 12px;
}

#events-section-wrap .event-date img,
#events-section-wrap .event-date svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    width: 17px;
    height: 18px;
}
.event-content-wrap:hover .event-date svg#calendar-icon .cls-1 {
    fill: #fff;
}


#events-section-wrap .event-date span {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: bold;
    vertical-align: middle;
}

#events-section-wrap .event-date span:after {
    content: " ";
    border: 0.1px solid rgba(199, 207, 211, 0.3);
    display: inline-block;
    width: 100%;
    margin-left: 0px;
}

#events-section-wrap a.ev-title-link {
    color: #ffffff;
    font-size: 24px;
    font-weight: normal;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    text-transform: none;
    line-height: 27px;
    display: inline-block;
    transition: none;
}

#events-section-wrap a.ev-title-link:hover {
    text-decoration: underline;
    color: #fff;
}

#events-section-wrap p.event-blurb {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 21px;
    margin-bottom: 0px;
}


#events-section-wrap img {
    border-radius: var(--radius);
    margin-bottom: 20px;
    width: 100%;
    height: 110px;
    object-fit: cover;
}



/* variation with date block */
#events-section-wrap:has(.event-date-large) .event-content-wrap{
    /* background-color: var(--accent); */
}

#events-section-wrap .event-top {
    display: flex;
    gap: 15px;
}

#events-section-wrap .event-date-large {
    display: inline-block;
    margin-bottom: 12px;
    /* background-color: var(--accent); */
    padding: 15px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid black;
}

#events-section-wrap .event-content-wrap:is(:hover, :focus) .event-date-large {
    background-color: var(--primary) !important;
    border: 1px solid white;
}

#events-section-wrap .event-date-large img,
#events-section-wrap .event-date-large svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    width: 34px;
    height: 36px;
}
.event-content-wrap:hover .event-date-large svg#calendar-icon .cls-1 {
    fill: #fff;
}

#events-section-wrap .event-date-large span {
    /* color: white !important; */
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: bold;
    vertical-align: middle;
}

#events-section-wrap .event-date-large span:last-of-type {
    display: block;
    font-size: 38px;
}

/* #events-section-wrap .event-date-large::after {
    content: " ";
    border: 0.1px solid rgba(199, 207, 211, 0.3);
    display: inline-block;
    width: 100%;
    margin-left: 0px;
} */

#events-section-wrap:has(.event-date-large) .event-title {
    display: inline-block;
}


/* Recent News */

#news-section-wrap {
    padding-bottom: 35px;
    padding-top: 50px;
}

#news-section-wrap h2 {
    font-size: 44px;
    color: #292728;
    text-align: center;
    margin-bottom: 35px;
}

@media (max-width: 767px) {
    #news-section-wrap h2 {
        font-size: 38px;
    }
}

@media (max-width: 400px) {
    #news-section-wrap h2 {
        font-size: 28px;
    }
}

#news-section-wrap h2:before {
    content: " ";
    border: 1px solid var(--primary);
    margin-bottom: 15px;
    display: inline-block;
    width: 33.333%;
    margin-right: 35px;
}

#news-section-wrap h2:after {
    content: " ";
    border: 1px solid var(--primary);
    margin-bottom: 15px;
    display: inline-block;
    width: 33.333%;
    margin-left: 35px;
}

@media (min-width: 768px) and (max-width: 990px) {
    #news-section-wrap h2:before {
        width: 23.333%;
        margin-right: 20px;
    }
    #news-section-wrap h2:after {
        width: 23.333%;
        margin-left: 20px;
    }
}

@media (max-width: 767px) {
    #news-section-wrap h2:before {
        width: 20.333%;
        margin-right: 20px;
    }
    #news-section-wrap h2:after {
        width: 20.333%;
        margin-left: 20px;
    }
}

@media (max-width: 580px) {
    #news-section-wrap h2:before {
        width: 15.333%;
        margin-right: 15px;
    }
    #news-section-wrap h2:after {
        width: 15.333%;
        margin-left: 15px;
    }
}

@media (max-width: 480px) {
    #news-section-wrap h2:before {
        margin-bottom: 5px;
        width: 10.333%;
        margin-right: 5px;
    }
    #news-section-wrap h2:after {
        margin-bottom: 5px;
        width: 10.333%;
        margin-left: 5px;
    }
}

.news-title {
    color: #212c38;
    font-size: 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    text-decoration: none;
}

.news-title-link {
    color: var(--secondary);
    font-size: 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    text-decoration: none;
}

.news-title-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.news-date {
    color: var(--secondary);
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 1px;
    width: 185px;
    text-align: center;
    padding: 4px 4px 3px;
    margin-top: 5px;
    margin-bottom: 20px;
}

.news-btn {
    margin-top: 20px;
}

.news-btn a {
    text-decoration: none;
    color: var(--primary);
    font-size: 15px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

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

.news-btn a:after {
    content: url(../images/read-more-icon.png);
    width: 33px;
    height: 16px;
    display: inline-block;
    padding-left: 10px;
    position: relative;
    top: 4px;
}

.news-btn a:hover:after,
.news-btn a:focus:after {
    content: url(../images/read-more-icon-hover.png);
}

.news-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #c7cfd3;
    padding-bottom: 25px;
}

#news-section-wrap .news-item:nth-child(5) {
    border-bottom: none;
}

.news-img-wrap img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    /* height: auto; */
    max-width: 100%;
    border: 1px solid #c7cfd3;
    border-radius: 3px;
}

/* newstemplate2 */

#news-section-wrap .news2 {
    padding-inline: 25px;
}

#news-section-wrap .news2 .news-details {
    width: 100%;
}

#news-section-wrap .news2 .button-link a {
    color: white;
}

#news-section-wrap .news2 .button-link a:is(:hover, :focus) {
    text-decoration: none;
}

/* newstemplate3 */

#news-section-wrap .news3 {
    padding-inline: 25px;
}

#news-section-wrap .news3 .news-details {
    display: flex;
    gap: 30px;
}

#news-section-wrap .news3 .news-details {
    width: 100%;
}

#news-section-wrap .news3 .news-date {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 2px solid var(--secondary);
    border-radius: var(--radius);
}

#news-section-wrap .news3 .news-date {
    font-size: 50px;
}

#news-section-wrap .news3 .news-date .news-month {
    font-size: 30px;
}

#news-section-wrap .news3 .button-link {
    background-color: var(--secondary);
}

#news-section-wrap .news3 .button-link a {
    color: white;

}

#news-section-wrap .news3 .button-link:is(:hover, :focus) {
    background-color: var(--accent);
}

#news-section-wrap .news3 .button-link a:is(:hover, :focus) {
    text-decoration: none;
}


/*--------------------------------------------------------
	CSS STYLE FOR INNER PAGES
--------------------------------------------------------*/

#subpage {
    /* min-height: calc(100vh - 335px);*/
    padding-top: 30px;
    padding-bottom: 30px;
}

#subpage-main {
    min-height: calc(100vh - 475px);
    font-size: 16px;
}

#subpage-main h3.title {
    text-align: left;
    font-size: 32px !important;
}

#subpage-main p {
    font-size: 16px;
}

#subpage-main .event-details-wrap {
    min-height: 195px;
}


/* What is a Pastry Chef, I mean, what really is it? */ 

#pastrychef-row img {
    width: 360px !important;
    height: 400px !important;
    object-fit: cover;
    object-position: center;
}

#pastrychef-row div.pastrycaption {
    background-color: var(--dark-blue);
    padding: 15px 20px;
}

@media (max-width: 991px) {
    #pastrychef-row div.pastrycaption {
        width: 360px;
        margin: 0 auto;
    }
}

#pastrychef-row div.pastrycaption p {
    color: white;
}

#pastrychef-row div.pastrycaption p:first-of-type {
    font-size: 18px;
    font-weight: 600;
}

#pastrychef-row div.pastrycaption p:last-of-type {
    margin-bottom: 0;
}

#pastrychef-row div.pastrycaption .button-link {
    width: 100%;
    text-align: center;
}

#pastry-header-row p{
    font-size: 24px;
    font-weight: 500;
}

#pastry-header-row h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 600;   
}

/* what is a pastry chef? -  accordion row */

@media (max-width: 991px) {
    #pastry-accor-row {
        display: flex;
        flex-direction: column;
    }   
    #pastry-accor-row .column:has(img) {
        order: 1;
        margin-bottom: var(--gap);
    }
    #pastry-accor-row .column:first-of-type {
        order: 2;
    }
}


#pastry-accor-row .panel {
    box-shadow: none;
}

#pastry-accor-row .panel-default {
    background-color: #EFF4F5;
    border: 2px solid #BACACE;
    border-radius: 0;
    margin-top: -2px;
}

#pastry-accor-row .panel-default>.panel-heading {
    background-color: #EFF4F5;
}

#pastry-accor-row .panel-title {
    padding: 5px 0;
}
#pastry-accor-row .panel-title a {
   font-size: 16px;
   font-family: 'Poppins', sans-serif;   
}

#pastry-accor-row .panel-collapse>.panel-body {
    background-color: #ffffff;
    border-top: 2px solid #BACACE;
    font-size: 16px;
    font-weight: 500;
}

#pastry-accor-row .panel-body p{
    margin-bottom: 0;
}


/* what is a pastry chef? - accordion image change */
#pastry-accor-row img:not(img:first-of-type) {
    display: none;
}

#pastry-accor-row:has(#collapseOne.collapse.in, #collapseOne.collapsing) img:first-of-type {
    display: block;
} 
#pastry-accor-row:has(#collapseOne.collapse.in, #collapseOne.collapsing) :is(img:nth-child(2), img:nth-child(3), img:nth-child(4)) {
    display: none;
}

#pastry-accor-row:has(#collapseTwo.collapse.in, #collapseTwo.collapsing) img:nth-child(2) {
    display: block;
} 
#pastry-accor-row:has(#collapseTwo.collapse.in, #collapseTwo.collapsing) :is(img:first-of-type, img:nth-child(3), img:nth-child(4)) {
    display: none;
}

#pastry-accor-row:has(#collapseThree.collapse.in, #collapseThree.collapsing) img:nth-child(3) {
    display: block;
} 
#pastry-accor-row:has(#collapseThree.collapse.in, #collapseThree.collapsing) :is(img:first-of-type, img:nth-child(2), img:nth-child(4)) {
    display: none;
}

#pastry-accor-row:has(#collapseFour.collapse.in, #collapseFour.collapsing) img:nth-child(4) {
    display: block;
} 
#pastry-accor-row:has(#collapseFour.collapse.in, #collapseFour.collapsing) :is(img:first-of-type, img:nth-child(2), img:nth-child(3)) {
    display: none;
}



/* Board of Directors Page */

#board-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1205px) {
    #board-row {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }
}

@media (max-width: 586px) {
    #board-row {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 30px;
    }
}

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

#board-row .column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0 !important;
}

#board-row img {
    max-width: 262px;
    width: 262px !important;
    height: 224px !important;
    object-fit: cover;
    object-position: center;
}

#board-row div.board-info {
    width: 262px;
    min-height: 180px;
    background-color: var(--dark-blue);
    padding: 15px;

}

#board-row div.board-info p {
    color: white;
    font-weight: 500;
}

#board-row div.board-info p:first-child {
    text-transform: capitalize; 
}

#board-row div.board-info hr {
    border: 1px solid #59677a;
}

#board-row div.board-info p:nth-child(2) {
    font-weight: 700;
    font-size: 18px;
}

#board-row div.board-info p:last-child {
    font-size: 14px;
}


/* Contact Us Content Page */


#contact-row form label {
    width: 100%;
    text-align: left;
    margin-bottom: 5px;
    font-weight: 300;
}

#contact-row form #contact_form_required_div div:first-of-type {
    display: none;
}

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

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


@media (min-width: 991px) and (max-width: 1201px) {
    #contact-row .form-group textarea {
        height: 4em;
    }
}

@media (max-width: 991px) {
    #contact-row img {
        margin-top: 0;
    }    
}


#contact-row form div>div:has(.g-recaptcha) {
    margin-left: 0;
}

#contact-row form div:has(.btn) {
    margin-left: 0;
    padding-left: 0;
}

#contact-row form .btn {
    background-color: var(--secondary);
}

#contact-row form .btn:is(:hover, :focus) {
    background-color: var(--secondary-light);
}

#contact-row img {
    margin-top: 35px;
}    






/* event portal */

#portal-row {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


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

#portal-row .column {
    width: 360px;
    position: relative;
    margin: 0 15px;
    border: 2px solid #ccdadb;
    padding: 20px;
}

#portal-row .column .portal-icon {
    margin-top: -85px;
    margin-bottom: 25px;
}

#portal-row .column p:last-of-type {
    margin-bottom: 70px;
}

#portal-row .column .button-link {
    position: absolute;
    bottom: 20px;
    margin: 0 auto;
    left: 25px;
    right: 25px;
}

#portal-sponsor-row h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
}

@media (max-width: 1201px) {
    #portal-row {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 30px;
    }

    #portal-row .column {
        width: calc(100% - var(--scrollbarWidth)) !important;
    }

    #portal-row .column:not(.column:last-of-type) {
        margin-bottom: 70px !important;
    }

    #portal-sponsor-row img{
        margin-bottom: 45px;
    }
}


/* history */


#history-row {
    background-color: #eff4f5;
    border: 2px solid #bacace;
    padding: 50px;
}

#history-row h3 {
    font-size: 24px;
}

/* spacing fix */
#collage-column>.row>.column:is(.column:last-of-type) {
    padding-left: 11px
}

@media (min-width: 490px) and (max-width: 820px) {
    #history-row {
        margin-right: 25px;
        margin-left: 25px;
    }
}

@media (max-width: 991px) {
    #collage-column {
        width: 100%;
    } 

    #collage-column .row {
        margin-left: 0;
        margin-right: 0;
    }    

    #collage-column>.row>.column {
        padding: 0; 
        width: 50%
    }
   
    #collage-column>.row>.column>.row {
        width: 100%;
    } 

    #collage-column>.row>.column>.row>.column{
        margin-right: 0;
        margin-left: auto;
        padding: 0;
        float: none;
    }

    /*spacing fix */
    #collage-column>.row>.column:is(.column:last-of-type) {
        padding-left: 0;
    }

}
@media (min-width: 402px) and (max-width: 991px) {
    #collage-column>.row>.column>.row>.column>img{
        margin-right: 10px;
        margin-left: auto;
    }
    #collage-column>.row>.column>img{
        margin-right: auto;
        margin-left: 8px;
        padding-right: 2px; /* spacing fix */
    }
}


@media (max-width: 402px) {
    #collage-column>.row>.column>.row>.column>img{
        margin-right: 10px;
        margin-left: -10px;
        padding-left: 10px;
    }
    #collage-column>.row>.column>img{
        margin-right: 0;
        margin-left: 5px;
        padding-right: 5px
    }
}




/* blog-row */

#blog-row .event-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 45px
}

#blog-row .event-item h3 {
    padding-bottom: 0;
}

/* Animations */

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

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


/*--------------------------------------------------------
    MMS GRID PAGE
--------------------------------------------------------*/

#mheader_5_wrapper #mycanvas span.fa {
    font-family: FontAwesome;
    color: inherit;
    font-size: 14px;
}

#mheader_5_wrapper h1 {
    font-size: 44px;
}

#mheader_5_wrapper body,
#mheader_5_wrapper table,
#mheader_5_wrapper td,
#mheader_5_wrapper th,
#mheader_5_wrapper input,
#mheader_5_wrapper div,
#mheader_5_wrapper font,
#mheader_5_wrapper ul li,
#mheader_5_wrapper ul li a,
#mheader_5_wrapper small {
    font-size: 16px !important;
    font-family: 'Poppins', sans-serif;
}

#mheader_5_wrapper a font,
#mheader_5_wrapper a span {
    color: var(--accent);
    font-family: 'Poppins', sans-serif;
}

#mheader_5_wrapper #form-wrapper a {
    color: var(--secondary);
    font-family: 'Poppins', sans-serif;
}


/*#mheader_5_wrapper .container {
    width: auto !important;
}*/

#mheader_5_wrapper .members-event-item .event-details-wrap {
    min-height: auto;
}

#mheader_5_wrapper h1,
#mheader_5_wrapper h2,
#mheader_5_wrapper h3,
#mheader_5_wrapper h4 {
    text-align: left;
}


/*#mheader_5_wrapper h3.title {
    padding-left: 15px;
}*/

#mheader_5_wrapper #results-container .pt-name h3 {
    font-size: 22px;
}

#mheader_5_wrapper #results-container .info-label a {
    font-weight: normal;
}

#mheader_5_wrapper h3.event-title {
    font-size: 20px;
}

#mheader_5_wrapper .event-date-wrap {
    background: #fff;
    border: 2px solid var(--primary);
    text-align: center;
}

#mheader_5_wrapper ul.jqueryFileTree {
    margin-top: 10px;
}

#mheader_5_wrapper UL.jqueryFileTree a {
    font-size: 16px;
    padding: 3px 2px;
}

#mheader_5_wrapper #booth_editor h3 {
    font-size: 24px;
}

#mheader_5_wrapper table td font {
    font-size: 18px;
}

#mheader_5_wrapper table ul li a {
    font-size: 16px;
}

#mheader_5_wrapper #mediaplayer ul li span.title {
    font-size: 17px !important;
    height: auto !important;
}

#mheader_5_wrapper #mediaplayer ul li span.description {
    font-size: 13px;
}

#mheader_5_wrapper table blockquote small {
    font-size: 16px;
}

#mheader_5_wrapper #form-wrapper .panel .panel-body p a {
    font-size: 18px;
}


#mheader_5_wrapper table#detail_box b {
    color: var(--primary);
}



/*--------------------------------------------------------------
                        Modal Log In
--------------------------------------------------------------*/

.modal {
    overflow-y: visible;
}

.modal-dialog {
    max-width: 280px;
    margin: 50px auto;
}

.modal-header {
    text-align: center;
}

.modal-body {
    padding: 15px 23px;
}

.login-form input {
    width: 203px!important;
    height: 30px;
    margin: 0px auto;
    margin-bottom: 10px;
    padding: 0px 15px;
    margin-left: 15px;
    background: #fff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #9B9B9B;
    box-shadow: none !important;
    border: 1px solid #CCCCCC;
    border-radius: 18px;
}

.login-form input[type="submit"] {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: normal;
    border-radius: 2px;
    font-family: 'Poppins', sans-serif;
    margin-left: 10px;
    outline: none;
    text-decoration: none;
    text-align: center;
    padding: 8px 20px;
    height: auto;
}

.login-form input[type="submit"]:hover,
.login-form input[type="submit"]:focus {
    background: var(--primary);
    border: 1px solid var(--primary);
    text-decoration: none;
}

.login-form a {
    color: var(--primary);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    display: block;
    margin-left: 15px;
    padding-bottom: 10px;
    text-decoration: underline;
}

.login-form a:hover,
.login-form a:focus {
    color: var(--secondary);
}

.login-form input:last-of-type {
    width: 100px;
    margin: none;
}

h6.modal-title {
    color: #222e3f;
    font-size: 24px;
    font-weight: 400;
    font-family: 'Lora', cursive;
}

h4#myModalLabel {
    color: #292728;
    font-size: 24px;
    padding-bottom: 0px;
}


/*--------------------------------------------------------
	FOOTER
--------------------------------------------------------*/

footer#main-footer {
    background: #373e49;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 28px;
    padding: 32px 0px 19px;
}

footer#main-footer p {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

footer#main-footer a {
    text-decoration: underline;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

footer#main-footer .footer-credit-wrap {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

footer#main-footer .footer-credit-wrap,
footer#main-footer .footer-credit-wrap p {
    color: #bacace;
}

footer#main-footer .footer-credit-wrap p {
    padding-top: 10px;
}

footer#main-footer .footer-credit-wrap span {
    border-right: 2px solid #4c5360;
    padding-right: 25px;
    margin-right: 25px;
}

footer#main-footer .footer-credit-wrap span.span-credit2 {
    border-right: 0px !important;
    padding-right: 0px !important;
    margin-right: 0px !important;
}

@media (max-width: 950px) {
    footer#main-footer .footer-credit-wrap span {
        border-right: 0px;
        padding-right: 0px;
        margin-right: 0px;
    }
    footer#main-footer .footer-credit-wrap span.span-credit1,
    footer#main-footer .footer-credit-wrap span.span-credit2 {
        display: block;
    }
}

footer#main-footer .text-left span,
.text-left a {
    color: #fff;
}

footer#main-footer .text-left h3 {
    color: #fff;
    font-family: 'Crimson Text', serif;
    font-weight: bold;
    padding-bottom: 20px;
}

.footer-text-wrap p,
.footer-text-wrap span {
    font-size: 16px !important;
    font-family: 'Poppins', sans-serif;
    line-height: 24px;
}

.footer-video-img-wrap img {
    max-width: 100%;
    height: auto;
}


/*.footer-video-inside-wrap {
    width: 460px;
    float: right;
}
.footer-video-inside-wrap video#videoID {
    width: 460px;
    height: 140px;
}*/


@media (max-width: 991px) {
    .footer-video-inside-wrap {
        display: flex;
        justify-content: center;
    }
}


#footer-video-fade {
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 1001;
    -moz-opacity: 0.8;
    opacity: .80;
    filter: alpha(opacity=80);
}

#footer-video-light {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 600px;
    max-height: 360px;
    border: 2px solid #FFF;
    background: #FFF;
    z-index: 1002;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0 auto;
    margin-top: 150px;
}

#boxclose {
    float: right;
    cursor: pointer;
    color: #fff;
    border: 1px solid #AEAEAE;
    border-radius: 3px;
    background: #222222;
    font-size: 31px;
    font-weight: bold;
    display: inline-block;
    line-height: 0px;
    padding: 11px 3px;
    position: absolute;
    right: 2px;
    top: 2px;
    z-index: 1002;
    opacity: 0.9;
}

.boxclose:before {
    content: "×";
}

#fade:hover~#boxclose {
    display: none;
}

.footer-border-wrap {
    margin-top: 10px;
}

.footer-border-wrap hr {
    border-top: 1px solid #59677a;
}


/* Footer Social - Mobile Menu Wrap */

.social-menu-inside-wrap {
    top: 8px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
}

.social-menu-inside-wrap ul {
    float: left;
    margin: 0;
    text-align: right;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.social-menu-inside-wrap ul>li {
    float: left;
    position: relative;
    display: block;
}

.social-menu-inside-wrap svg {
    width: 33px;
    height: 33px;
    margin-left: 8px;
}

@media (min-width: 768px) and (max-width: 990px) {
    .social-menu-inside-wrap svg {
        width: 30px;
        height: 30px;
    }
}


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


/*-------------------------------End-Footer Menu*/


/*--------------------------------------------------------
	UTILITIES
--------------------------------------------------------*/


/*----------- MEDIA QUERY --------------------*/

@media (min-width: 1332px) and (max-width: 1365px) {
    #top-header-wrap {
        height: auto;
        /* padding-bottom: 15px; */
    }
}

@media (max-width: 1200px) {}

@media (min-width: 1000px) {
    .container {}
    .mobile-menu-wrap {
        display: none;
        opacity: 0;
        animation: disappear .2s;
    }
}

@media (min-width: 990px) and (max-width: 1199px) {
    .container {}
    .footer-video-img-wrap img {
        max-width: 100%;
    }
}

@media (max-width: 991px) {}

@media (min-width: 768px) and (max-width: 990px) {
    .container {}
    .main-header {
        /* padding: 15px 0px; */
    }
    .org-logo-wrap img {
        width: 120px;
    }
    #welcome-section-wrap {
        margin-bottom: 0px;
    }
    #right-index-wrap {
        margin-top: 50px;
    }
    #quicklinks-wrap {
        margin-top: 0px;
    }
    .footer-video-img-wrap img {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .caption-text-wrap,
    .caption-btn-wrap {
        width: 100%;
        text-align: center;
    }
    p.caption-text {
        text-align: center;
    }
    .caption-btn-wrap {
        margin-top: 40px;
        margin-bottom: 60px;
    }
    .event-item {
        margin-bottom: 20px;
    }
    .news-img-wrap img {
        margin-bottom: 20px;
    }
    .footer-details-wrap,
    .footer-content-wrapper p {
        text-align: left;
    }
    .footer-video-img-wrap img {
        max-width: 100%;
        margin-top: 20px;
    }
    .footer-credit-wrap,
    .footer-social-wrap {
        /* text-align: center; */
    }
    .footer-video-wrap {
        text-align: center;
    }
}

@media (min-width: 580px) and (max-width: 767px) {
    .news-image {
        width: 50%;
    }
    .news-details {
        width: 50%;
    }
}

/* Safari Browser */

@media only screen and (-webkit-min-device-pixel-ratio: 1) {
     ::i-block-chrome,
    .div {}
}


/* Internet Browser */

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {}

/* calendar6c_responsive.php */


#mheader_5_wrapper div .cal-event-title  {
	font-size:21px !important;
	font-weight:500;
	padding-bottom:7px;
}

/*--------------------------------------------------------
    Lisa's changes
--------------------------------------------------------*/


/*Per ticket #113657:
(Start quote)
When I choose Appy (please change to Apply) my donation to the following campaign/fund on desktop, the donation details section on the top of the right column automatically adds the description for this campaign; however, I can't see if because this dropdown is below the fold. On the app the description is at the very bottom before the Donate button. Maybe tightening up the line spacing between the Donations header and Enter Gift Amount will help display this detail on desktop (the extra spacing is unnecessary anyway) or maybe just moving the description field to right below the Apply field would make more sense?
(/End quote)

Rather than changing the style of the donations page as it appears for every org to adjust for a minor inconvience for anyone viewing the page on a monitor that is the exact same dimensions as Lisa's, we change the style for PSTY*/

#donations-page>article section {
    margin-bottom: 1em;
}

#donations-page aside {
    /*Move the aside below the sticky header*/
    top: calc(135px + 48px + 1em);
}


/* Adjust online store category spacing to account for PSTY's font size. */

a.cat_link {
    line-height: 1.65 !important;
}

/** TESTS **/
.members-only {
    display: none;
}

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


/* MMS admin menu */

.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background-color: #495992;
}


/* MMS Members menu / custom members area */

#member_menu_wrap_5 .navbar-default {
    background-color: var(--secondary);
}

#member_menu_wrap_5 .navbar-default .navbar-nav>li>a {
    color: white;
}

#member_menu_wrap_5 .navbar-default .navbar-nav>li>a:hover {
    color: white;    
}

#member_menu_wrap_5 .navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
    background-color: #495992;
}

#member_custom_menu_wrap_5 .row {
    padding-block: var(--gap);
}

@media (max-width: 767px) {
    .main-admin-navbar .dropdown-menu>li>a {
        color: white;
    }

    .main-admin-navbar .dropdown-menu>li>a:is(:hover, :focus) {
        background-color: var(--primary);
    }

    #member_menu_wrap_5 .dropdown-menu>li>a {
        color: white;
    }

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

/* custom members area / custom admin area */

#member_custom_menu_wrap_5 .panel-info {
    border-color: var(--secondary);
}
#member_custom_menu_wrap_5 .panel-info .panel-heading {
    color: white;
    background-color: var(--secondary);
    border-color: var(--secondary);
}

#member_custom_menu_wrap_5 .panel-warning {
    border-color: var(--primary);
}
#member_custom_menu_wrap_5 .panel-warning .panel-heading {
    color: white;
    background-color: var(--primary);
    border-color: var(--primary);
}

#member_custom_menu_wrap_5 .panel-success {
    border-color: var(--accent);
}
#member_custom_menu_wrap_5 .panel-success .panel-heading {
    color: white;
    background-color: var(--accent);
    border-color: var(--accent);
}

#member_custom_menu_wrap_5 .panel-heading a {
    color: white;
}
#member_custom_menu_wrap_5 .panel-heading a:is(:hover, :focus) {
    text-decoration: underline;
}
