@import url('//fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
/************ TEMPLATE  ************
ADDITIONAL NOTES
- Change "Catholic Cemetery" to "Catholic Cemeteries."
- Bottom links were not decided during the Mockup process.

-------------
STUDIUS TEMPLATE
- Header: Ole Faithful
- Rotator: Floatator
- Quicklinks: Bifocal
- News: N/A
- Widgets: N/A
- Footer: N/A

-------------
COLORS
--primary-color-rgb: 53,96,47; /*green*
--secondary-color-rgb: 71,169,66; /*light green*
--tertiary-color-rgb: 186,161,56; /*yellow*
- Note: Tertiary makes a cover hover color.

FONTS (Google)
--title-font-family: 'Open_Sans', sans-serif;
--body-font-family: 'Open_Sans', sans-serif;
- Note: The font used in the logo/footer is "EB Garamond"

-------------
DESIGN NOTES (image/effect settings, icons, color use)
- Rotator BG: 10% Opacity. No Blur.
- Quicklink green transparency: 75% Opacity.
- News statue BG: 15% Opacity.

-------------
************/

.site-1 {
    --primary-color: #35602f;
    --secondary-color: #47a942;
    --tertiary-color: #baa138;

    --primary-rgb: 53,96,47;
    --secondary-rgb: 71,169,66;
    --tertiary-rgb: 186,161,56;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: 'Open Sans', sans-serif;
    --body-font-family: 'Open Sans', sans-serif;

    --heading-color: var(--primary-color);
    --heading-font-family: var(--title-font-family);

    --title-border-bottom: 1px solid var(--secondary-color);

    --home-title-font: var(--title-font-family);

    --transparent: rgba(255,255,255,0);

    --default-box-shadow: 0px 0px 10px rgba(0,0,0,.5);

    --swiper-box-shadow: var(--default-box-shadow);

    --ql-title-color: var(--default-white);

    --hero-title-left-position: 5%;
}

:is(.site-1, .site-2, .site-3, .site-4, .site-5, .site-6, .site-7, .site-8, .site-9, .site-10).sponsorshippage .buy-page {
    --primary-color: #35602f;
    --secondary-color: #47a942;
    --tertiary-color: #baa138;

    --primary-rgb: 53,96,47;
    --secondary-rgb: 71,169,66;
    --tertiary-rgb: 186,161,56;

    --default-white: #ffffff;
    --default-black: #000000;
}

.site-1 .ql-fa-toplinks {
    --ql-icon-color: var(--secondary-color);
    --ql-icon-hover: var(--default-white);
    --ql-title-color: var(--primary-color);
    --ql-title-hover: var(--default-white);
}

.readon, .button, .btn, p.readmore .btn, .sprocket-lists-portrait-container > li .sprocket-lists-portrait-item > a span, .listentobutton.moduletable a {
    background: var(--primary-color);
    font-family: var(--body-font-family);
}

a {
    color: var(--secondary-color);
}
a:hover {
    color: var(--default-black);
}

/*************** ALL SITE *****************/
.item-image {display: none;}

.g-container {
    width: 100%;
}

#g-mainbar .moduletable {
    margin: 0;
}

:is(.site-1-home, .site-2-home, .site-3-home) #g-page-surround .g-content {
    padding: 0;
}

:is(.site-1-home, .site-2-home, .site-3-home) #g-page-surround .g-array-item-text {
    margin: 0;
}

:is(.site-1-sub, .site-2-sub, .site-3-sub) section:not(#g-navigation, #g-container-footer, #g-copyright, #g-bottom) .g-content:not(.g-blockcontent-subcontent-block-content, .g-content-array > .g-grid > .g-block > .g-content) {
    margin: 0.625rem !important;
    padding: 1.5rem !important;
}

:is(.site-1-sub, .site-2-sub, .site-3-sub) section:not(#g-navigation, #g-container-footer, #g-copyright) #grid-addpic .g-content {
    padding: 0 !important;
    margin: 0 !important;
}

:is(.site-1-sub, .site-2-sub, .site-3-sub) section#g-container-main #g-aside .g-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

:is(.site-1-sub, .site-2-sub, .site-3-sub) section#g-container-main #g-aside .grid-staff .g-content {
    padding: 0 !important;
    margin: 0 !important;
  }

@media (min-width: 50.99rem) {
    :is(.site-1-home, .site-2-home, .site-3-home) #g-top .modern-alert .g-joomla-articles {
        padding: 0 3% !important;
    }
}

/*SUB-PAGE GRIDS TEXT SPACING*/

@media (min-width: 50.99rem) {
    #site-grid:is(.site-1-sub, .site-2-sub, .site-3-sub) #g-mainbar > .g-grid:has([itemprop="articleBody"]) {
        padding: 2vw 0!important;
    }
    #site-grid:is(.site-1-sub, .site-2-sub, .site-3-sub) #g-mainbar > .g-grid:has([itemprop="articleBody"]) p {
        font-size: 1.25vw;
        font-family: var(--body-font-family);
    }
}

@media only screen and (max-width: 50.99rem) {
    #site-grid:is(.site-1-sub, .site-2-sub, .site-3-sub) #g-mainbar > .g-grid:has([itemprop="articleBody"]) {
        padding: 2rem 0!important;
    }
}

/*****************************/

/*************** HOMELAYOUT ***************/ 
/*************** OFFCANVAS ****************/

.g-offcanvas-toggle {color: var(--primary-color);} 
.g-offcanvas-toggle .fa-fw {text-shadow: none;}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-offcanvas .g-social-items {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        align-items: center;
        justify-content: center;
    }
    .site-1 #g-offcanvas .g-social-items a {
        color: var(--default-white);
    }
    .site-1 #g-offcanvas .g-social-items a:hover {
        color: var(--tertiary-color);
    }
}

/*************** TOP **********************/ 
/*************** NAVIGATION ***************/
.ql-fa-toplinks .g-blockcontent-subcontent-title-text {
    font-weight: 700;
}
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-navigation {
        background: url('/images/template/bg-rotator.png') 50% 104% no-repeat;
        background-size: auto 114%;
    }
    .site-1-home #g-navigation > .g-container {
        background: rgba(255,255,255,.9);
        padding-bottom: 59vw!important;
        margin-bottom: -59vw!important;
    }

    .site-1-sub #g-navigation {
        background: url('/images/template/bg-rotator.png') 50% 16% no-repeat;
        background-size: 176% auto;
    }
    .site-1-sub #g-navigation > .g-container {
        background: rgba(255,255,255,.9);
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-navigation {
        background: url('/images/template/bg-rotator.png') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1-home #g-navigation > .g-container {
        background: rgba(255,255,255,.9);
    }

    .site-1-sub #g-navigation {
        background: url('/images/template/bg-rotator.png') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1-sub #g-navigation > .g-container {
        background: rgba(255,255,255,.9);
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-navigation > .g-container > .g-grid:has(.ql-fa-toplinks) {
        padding: 2vw!important;
    }
    .site-1 #g-navigation .g-logo img {
        width: 100%;
    }
    .site-1 #g-navigation .ql-fa-toplinks .g-blockcontent-subcontent-block:not(.ql-fa-toplinks .g-blockcontent-subcontent-block:last-child) {
        border: none!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-navigation .ql-fa-toplinks .g-blockcontent-subcontent-block:not(.ql-fa-toplinks .g-blockcontent-subcontent-block:last-child) {
        border: none!important;
    }
    .site-1 #g-navigation > .g-container > .g-grid:has(.ql-fa-toplinks) {
        padding: 1rem!important;
    }
    .site-1 #g-navigation .ql-fa-toplinks .g-blockcontent-subcontent-block-content > .g-blockcontent-subcontent-title {
        display: flex;
    }
}

@media only screen and (min-width: 50.99rem) {
    .g-main-nav .g-toplevel>li>.g-menu-item-container>.g-menu-item-content {
        font-size: clamp(1.25rem, 1.25vw, 2rem);
        font-family: var(--body-font-family);
    }
    .g-main-nav .g-sublevel>li>.g-menu-item-container>.g-menu-item-content>.g-menu-item-title {
        font-size: clamp(1.25rem, 1.25vw, 2rem);
        font-family: var(--body-font-family);
    }

    .site-1 #g-navigation .g-social-items {
        display: flex;
        flex-direction: row;
        gap: 2vw;
        align-items: center;
    }
    .site-1 #g-navigation .g-social-items a {
        color: var(--default-white);
        font-size: clamp(1.25rem, 1.25vw, 2rem);
    }
    .site-1 #g-navigation .g-social-items a:hover {
        color: var(--tertiary-color); 
    }
}

@media only screen and (max-width: 50.99rem) {
    #g-navigation .g-logo {
        max-width: 65%;
        margin: 2rem auto;
    }
}

/*************** SLIDESHOW ****************/ 
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-slideshow > .g-container {
        padding: 2vw!important;
    }
    .site-1-home #g-slideshow > .g-container > .g-grid {
        display: flex;
        flex-direction: row;
        gap: 1.5vw;
    }
    .site-1-home #g-slideshow > .g-container > .g-grid .fullwidth-swiper {
        flex: 66;
        width: unset;
        max-width: unset;
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
    }
    .site-1-home #g-slideshow > .g-container > .g-grid .mass-times-block {
        flex: 34;
        width: unset;
        max-width: unset;
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
        background: var(--primary-color);
        --mt-para-color: var(--default-white);
    }
    .site-1-home #g-slideshow > .g-container > .g-grid .mass-times-block > .g-content {
        background: transparent;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-slideshow > .g-container > .g-grid .mass-times-block {
        background: var(--primary-color);
        --mt-para-color: var(--default-white);
    }
    .site-1-home #g-slideshow > .g-container > .g-grid .mass-times-block > .g-content {
        background: transparent;
    }
}

/*************** HEADER *******************/
/*************** ABOVE ********************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-above > .g-container {
        padding: 3vw 2vw!important;
    }
}
@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-above > .g-container {
        padding: 2rem 1rem!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .ql-circle-overlay-title {
        margin: 0;
        padding: 0;
    }
    .ql-circle-overlay-title > .g-content {
        margin: 0;
        padding: 0;
    }
    .ql-circle-overlay-title > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .ql-circle-overlay-title .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: 1vw;
        flex-wrap: nowrap;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        position: relative;
        flex: 1;
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
        transition: .3s all ease-in-out;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid var(--default-white);
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-block:hover {
        transform: scale(1.05);
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-img {
        margin: 0;
        padding: 0;
        width: 100%;
        aspect-ratio: 1/1;
        object-position: center;
        object-fit: cover;
        border-radius: 0;
        transition: .3s all ease-in-out;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 1vw;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        transition: .3s all ease-in-out;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title:before {
        top: 0;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-title:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 50%;
        background: rgba(var(--primary-rgb),.8);
        transition: .3s all ease-in-out;
        z-index: 1;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: .5vw 2vw;
        transition: .3s all ease-in-out;
        color: var(--default-white);
        font-size: 1.5vw;
        font-family: var(--body-font-family);
        font-weight: 400;
        line-height: 1.1;
        position: absolute;
        bottom: 1.5vw;
        left: 0;
        right: 0;
        top: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2;
        text-align: center;
    }
    .ql-circle-overlay-title .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        z-index: 10;
    }
    .ql-circle-overlay-title .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        z-index: 10;
    }
}

@media only screen and (max-width: 50.99rem) {
    .ql-circle-overlay-title {
        margin: 0;
        padding: 0;
    }
    .ql-circle-overlay-title > .g-content {
        margin: 0;
        padding: 0;
    }
    .ql-circle-overlay-title > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .ql-circle-overlay-title .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        position: relative;
        flex: 1;
        min-width: calc(50% - .5rem);
        width: calc(50% - .5rem);
        max-width: calc(50% - .5rem);
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
        transition: .3s all ease-in-out;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid var(--default-white);
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-block:hover {
        transform: scale(1.05);
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-img {
        margin: 0;
        padding: 0;
        width: 100%;
        aspect-ratio: 1/1;
        object-position: center;
        object-fit: cover;
        border-radius: 0;
        transition: .3s all ease-in-out;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 1rem;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        transition: .3s all ease-in-out;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title:before {
        top: 0;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-title:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 50%;
        background: rgba(var(--primary-rgb),.8);
        transition: .3s all ease-in-out;
        z-index: 1;
    }
    .ql-circle-overlay-title .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: .5rem 1rem;
        transition: .3s all ease-in-out;
        color: var(--default-white);
        font-size: 4vw;
        font-family: var(--body-font-family);
        font-weight: 400;
        line-height: 1.1;
        position: absolute;
        bottom: 1rem;
        left: 0;
        right: 0;
        top: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2;
        text-align: center;
    }
    .ql-circle-overlay-title .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        z-index: 10;
    }
    .ql-circle-overlay-title .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        z-index: 10;
    }
}

/*************** SHOWCASE *****************/
/*************** UTILITY ******************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-utility > .g-container {
        padding: 3vw 10%!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-utility > .g-container {
        padding: 2rem 1rem!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .welcome-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1.5vw;
        justify-content: center;
        align-items: center;
    }
    .welcome-wrapper .welcome-title {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 2.5vw;
        justify-content: center;
        align-items: center;
    }
    .welcome-wrapper .welcome-title:before {
        content: '';
        flex: 1;
        height: 2px;
        border-bottom: 2px solid var(--secondary-color);
    }
    .welcome-wrapper .welcome-title:after {
        content: '';
        flex: 1;
        height: 2px;
        border-bottom: 2px solid var(--secondary-color);
    }
    .welcome-wrapper .welcome-title .g-title {
        color: var(--default-white);
        margin: 0;
        padding: 0;
        font-size: 2.25vw;
        line-height: 1;
        font-family: var(--title-font-family);
        font-weight: 500;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
        text-align: center;
    }
    .welcome-wrapper .welcome-content p {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 1.5vw;
        line-height: 1.5;
        font-family: var(--body-font-family);
        text-align: center;
        font-style: italic;
    }
}

@media only screen and (max-width: 50.99rem) {
    .welcome-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        align-items: center;
    }
    .welcome-wrapper .welcome-title {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        align-items: center;
    }
    .welcome-wrapper .welcome-title:before {
        content: '';
        flex: 1;
        height: 2px;
        border-bottom: 2px solid var(--secondary-color);
    }
    .welcome-wrapper .welcome-title:after {
        content: '';
        flex: 1;
        height: 2px;
        border-bottom: 2px solid var(--secondary-color);
    }
    .welcome-wrapper .welcome-title .g-title {
        color: var(--default-white);
        margin: 0;
        padding: 0;
        font-size: 6vw;
        line-height: 1;
        font-family: var(--title-font-family);
        font-weight: 500;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
        text-align: center;
    }
    .welcome-wrapper .welcome-content p {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 4vw;
        line-height: 1.5;
        font-family: var(--body-font-family);
        text-align: center;
        font-style: italic;
    }
}

/*************** FEATURE ******************/
/*************** MAIN *********************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-container-main {
        background: url('/images/template/bg-statue-news.png') 100% 0% no-repeat;
        background-size: 40%;
    }
    .site-1-home #g-container-main > .g-container {
        padding: 4vw 5%!important;
        background: rgba(255,255,255,.8);
    }
    .site-1-home #g-container-main > .g-container > .g-grid {
        display: flex;
        flex-direction: row;
        gap: 6vw;
        align-items: center;
    }
    .site-1-home #g-container-main > .g-container > .g-grid > .g-block:has(#g-mainbar) {
        flex: 1;
        max-width: unset;
        width: unset;
    }
    .site-1-home #g-container-main > .g-container > .g-grid > .g-block:has(#g-aside) {
        flex: unset;
        max-width: 165px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .site-1-home #g-aside {
        background: transparent;
    }
    .site-1-home #g-mainbar {
        display: flex;
        flex-direction: column;
        gap: 2vw;
        justify-content: center;
    }
    .site-1-home #g-mainbar .grid-articles .g-item-title {
        --grid-title-font-size: 1.5vw;
    }

    .news-button-title-wrapper {
        display: flex;
        flex-direction: row;
        gap: 2vw;
        align-items: center;
        justify-content: space-between;
    }
    .news-button-title-wrapper .news-title .g-title {
        margin: 0;
        padding: 0;
        font-size: 2.25vw;
        line-height: 1;
        color: var(--default-black);
        font-family: var(--title-font-family);
        font-weight: 500;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
    }
    .news-button-title-wrapper .news-button .button {
        margin: 0;
        padding: .75vw 2vw;
        font-size: 1.25vw;
        font-family: var(--body-font-family);
        font-weight: 400;
        text-align: center;
        color: var(--default-black);
        background: transparent;
        border: 2px solid var(--default-black);
        border-radius: 0;
    }
    .news-button-title-wrapper .news-button .button:hover {
        background: var(--secondary-color);
        transform: scale(1.05);
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-container-main > .g-container {
        padding-bottom: 2rem!important;
    }
    .site-1-home #g-container-main > .g-container > .g-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .site-1-home #g-container-main > .g-container > .g-grid > .g-block {
        width: 100%;
    }

    .site-1-home #g-container-main #g-mainbar {
        margin: 0;
        padding: 0;
    }

    .news-button-title-wrapper {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: space-between;
        padding: 2rem 1rem 1rem 1rem;
    }
    .news-button-title-wrapper .news-title .g-title {
        margin: 0;
        padding: 0;
        font-size: 6vw;
        line-height: 1;
        color: var(--default-black);
        font-family: var(--title-font-family);
        font-weight: 500;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
    }
    .news-button-title-wrapper .news-button .button {
        margin: 0;
        padding: 1rem;
        font-size: 4vw;
        font-family: var(--body-font-family);
        font-weight: 400;
        text-align: center;
        color: var(--default-black);
        background: transparent;
        border: 2px solid var(--default-black);
        border-radius: 0;
    }
    .news-button-title-wrapper .news-button .button:hover {
        background: var(--secondary-color);
        transform: scale(1.05);
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1-sub #g-mainbar {
        min-height: 30vh;
    }
}

@media only screen and (max-width: 50.99rem) {
    :is(.site-1-sub, .site-2-sub) #g-mainbar > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
}

/*************** EXPANDED *****************/ 
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-expanded > .g-container {
        padding: 3vw 5%!important;
    }
    .site-1-home #g-expanded > .g-container > .g-grid {
        display: flex;
        flex-direction: row;
        gap: 6vw;
    }
    .site-1-home #g-expanded > .g-container > .g-grid > .g-block {
        flex: 1;
        max-width: unset;
        width: unset;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-expanded > .g-container {
        padding: 2rem!important;
    }
    .site-1-home #g-expanded > .g-container > .g-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .site-1-home #g-expanded > .g-container > .g-grid > .g-block {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
}

@media only screen and (min-width: 50.99rem) {
    .widget-container > .g-content {
        display: flex;
        flex-direction: column;
        gap: 1vw;
        height: 100%;
    }
    .widget-container .g-title {
        font-size: 2.25vw;
        line-height: 1;
        margin: 0;
        padding: 0;
        color: var(--default-white);
        text-transform: none;
        font-variant-caps: normal;
        font-weight: 500;
    }
    .widget-container .g-content-array {
        flex: 1;
    }
    .widget-container .g-content-array > .g-grid {
        height: 100%;
    }
    .widget-container .g-content-array > .g-grid > .g-block {
        height: 100%;
    }
    .widget-container .g-content-array > .g-grid > .g-block > .g-content {
        height: 100%;
    }
    .widget-container .g-array-item {
        height: 100%;
    }
    .widget-container .g-array-item-text {
        height: 100%;
    }

    .widget-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1vw;
        height: 100%;
    }
    .widget-wrapper .widget-feed {
        flex: 1;
    }
    .widget-wrapper .widget-feed iframe {
        height: 100%;
        width: 100%;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
    }
    .widget-wrapper .widget-button .button {
        width: 100%;
        padding: 1vw;
        font-size: 1.25vw;
        font-family: var(--body-font-family);
        font-weight: 400;
        text-align: center;
        color: var(--default-white);
        background: transparent;
        border: 2px solid var(--default-white);
        border-radius: 0;
    }
    .widget-wrapper .widget-button .button:hover {
        background: var(--secondary-color);
        transform: scale(1.05);
    }
    .widget-wrapper .widget-image {
        text-align: center;
    }
    .widget-wrapper .widget-image img {
        width: 100%;
        aspect-ratio: 3/4;
        object-position: center;
        object-fit: cover;
        max-width: 76%;
    }
    .bulletin-feed .mod_docman--documents {
        width: 100%;
        display: flex!important;
        justify-content: unset!important;
    }
    .bulletin-feed .mod_docman_icons {
        width: 100%!important;
        margin: 0!important;
        padding: 0!important;
        display: flex!important;
        flex-direction: column;
        gap: 1vw;
    }
    .bulletin-feed .module_document {
        background: var(--default-white);
        margin: 0!important;
        padding: 1vw;
        transition: .3s all ease-in-out;
    }
    .bulletin-feed .module_document:hover {
        transform: scale(1.05);
    }
    .bulletin-feed .koowa_header {
        margin: 0!important;
        padding: 0!important;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 1vw;
    }
    .bulletin-feed .koowa_header .koowa_header__item--image_container {
        margin: 0!important;
        padding: 0!important;
        font-size: 2vw!important;
    }
    .bulletin-feed .koowa_header .koowa_header__item--image_container .koowa_header__image_link .k-icon-document-pdf {
        font-size: 2vw!important;
    }
    .bulletin-feed .koowa_header .koowa_header__item > .koowa_wrapped_content > .whitespace-preserver {
        font-size: 1.5vw!important;
    }
    .bulletin-feed .koowa_header .koowa_header__item > .koowa_wrapped_content > .whitespace-preserver .koowa_header__title_link {
        font-size: 1.5vw!important;
    }
    .bulletin-container .g-content-array .g-array-item .g-array-item-text {
        font-size: 1.25vw!important;
    }

    .facebook-wrapper .facebook-feed > .eapps-widget {
        height: 100%;
    }
    .facebook-wrapper .facebook-feed .eapps-facebook-feed.eapps-widget {
        height: 100%;
    }
    .facebook-wrapper .facebook-feed .eapps-facebook-feed-container {
        height: 100%;
    }
    .facebook-wrapper .facebook-feed .eapps-facebook-feed-inner {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .facebook-wrapper .facebook-feed .eapps-facebook-feed-inner > .eapps-facebook-feed-content-container {
        flex: 1 1 auto;
    }
}

@media only screen and (max-width: 50.99rem) {
    .widget-container > .g-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        height: 100%;
    }
    .widget-container .g-title {
        font-size: 6vw;
        line-height: 1;
        margin: 0;
        padding: 0;
        color: var(--default-white);
        text-transform: none;
        font-variant-caps: normal;
        font-weight: 500;
    }
    /*.widget-container .g-content-array {
        flex: 1;
    }
    .widget-container .g-content-array > .g-grid {
        height: 100%;
    }
    .widget-container .g-content-array > .g-grid > .g-block {
        height: 100%;
    }
    .widget-container .g-content-array > .g-grid > .g-block > .g-content {
        height: 100%;
    }
    .widget-container .g-array-item {
        height: 100%;
    }
    .widget-container .g-array-item-text {
        height: 100%;
    }*/

    .widget-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        height: 100%;
    }
    .widget-wrapper .widget-feed {
        flex: 1;
    }
    .widget-wrapper .widget-feed iframe {
        height: 100%;
        width: 100%;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
        height: 150vw;
    }
    .widget-wrapper .widget-button .button {
        width: 100%;
        padding: 1rem;
        font-size: 4vw;
        font-family: var(--body-font-family);
        font-weight: 400;
        text-align: center;
        color: var(--default-white);
        background: transparent;
        border: 2px solid var(--default-white);
        border-radius: 0;
    }
    .widget-wrapper .widget-button .button:hover {
        background: var(--secondary-color);
        transform: scale(1.05);
    }
    .widget-wrapper .widget-image img {
        width: 100%;
        aspect-ratio: 3/4;
        object-position: center;
        object-fit: cover;
    }
    .bulletin-feed .mod_docman--documents {
        width: 100%;
        display: flex!important;
        justify-content: unset!important;
    }
    .bulletin-feed .mod_docman_icons {
        width: 100%!important;
        margin: 0!important;
        padding: 0!important;
        display: flex!important;
        flex-direction: column;
        gap: 1rem;
    }
    .bulletin-feed .module_document {
        background: var(--default-white);
        margin: 0!important;
        padding: 1rem;
        transition: .3s all ease-in-out;
    }
    .bulletin-feed .module_document:hover {
        transform: scale(1.05);
    }
    .bulletin-feed .koowa_header {
        margin: 0!important;
        padding: 0!important;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
    }
    .bulletin-feed .koowa_header .koowa_header__item--image_container {
        margin: 0!important;
        padding: 0!important;
        font-size: 5vw!important;
    }
    .bulletin-feed .koowa_header .koowa_header__item--image_container .koowa_header__image_link .k-icon-document-pdf {
        font-size: 5vw!important;
    }
    .bulletin-feed .koowa_header .koowa_header__item > .koowa_wrapped_content > .whitespace-preserver {
        font-size: 4vw!important;
    }
    .bulletin-feed .koowa_header .koowa_header__item > .koowa_wrapped_content > .whitespace-preserver .koowa_header__title_link {
        font-size: 4vw!important;
    }
    .bulletin-container .g-content-array .g-array-item .g-array-item-text {
        font-size: 4vw!important;
    }

    .facebook-wrapper .facebook-feed > .eapps-widget {
        height: 100%;
    }
    .facebook-wrapper .facebook-feed .eapps-facebook-feed.eapps-widget {
        height: 100%;
    }
    .facebook-wrapper .facebook-feed .eapps-facebook-feed-container {
        height: 100%;
    }
    .facebook-wrapper .facebook-feed .eapps-facebook-feed-inner {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .facebook-wrapper .facebook-feed .eapps-facebook-feed-inner > .eapps-facebook-feed-content-container {
        flex: 1 1 auto;
    }
}

/*************** EXTENSION ****************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-extension > .g-container {
        padding: 2vw 5%!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-extension > .g-container {
        padding: 2rem 1rem!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .ql-lower-boxes {
        margin: 0;
        padding: 0;
    }
    .ql-lower-boxes > .g-content {
        margin: 0;
        padding: 0;
    }
    .ql-lower-boxes > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .ql-lower-boxes .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-lower-boxes .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: 2vw 2vw;
        flex-wrap: wrap;
    }
    .ql-lower-boxes .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        position: relative;
        flex: 1;
        min-width: calc(25% - 2vw);
        width: calc(25% - 2vw);
        max-width: calc(25% - 2vvw);
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
        transition: .3s all ease-in-out;
    }
    .ql-lower-boxes .g-blockcontent-subcontent-block:hover {
        transform: scale(1.05);
    }
    .ql-lower-boxes .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ql-lower-boxes .g-blockcontent-subcontent-img {
        margin: 0;
        padding: 0;
        width: 100%;
        aspect-ratio: 4/3;
        object-position: center;
        object-fit: cover;
        border-radius: 0;
        transition: .3s all ease-in-out;
    }
    .ql-lower-boxes .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 1vw;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
        transition: .3s all ease-in-out;
    }
    .ql-lower-boxes .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
        color: var(--default-white);
        font-size: 1.5vw;
        font-family: var(--body-font-family);
        font-weight: 400;
        line-height: 1.3;
        max-width: 55%;
    }
    .ql-lower-boxes .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        z-index: 10;
    }
    .ql-lower-boxes .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        z-index: 10;
    }
}

@media only screen and (max-width: 50.99rem) {
    .ql-lower-boxes {
        margin: 0;
        padding: 0;
    }
    .ql-lower-boxes > .g-content {
        margin: 0;
        padding: 0;
    }
    .ql-lower-boxes > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .ql-lower-boxes .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-lower-boxes .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: 1rem 1rem;
        flex-wrap: wrap;
    }
    .ql-lower-boxes .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        position: relative;
        flex: 1;
        min-width: calc(50% - .5rem);
        width: calc(50% - .5rem);
        max-width: calc(50% - .5rem);
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
        transition: .3s all ease-in-out;
    }
    .ql-lower-boxes .g-blockcontent-subcontent-block:hover {
        transform: scale(1.05);
    }
    .ql-lower-boxes .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ql-lower-boxes .g-blockcontent-subcontent-img {
        margin: 0;
        padding: 0;
        width: 100%;
        aspect-ratio: 4/3;
        object-position: center;
        object-fit: cover;
        border-radius: 0;
        transition: .3s all ease-in-out;
    }
    .ql-lower-boxes .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 1rem;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
        transition: .3s all ease-in-out;
    }
    .ql-lower-boxes .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
        color: var(--default-white);
        font-size: 4vw;
        font-family: var(--body-font-family);
        font-weight: 400;
        line-height: 1.3;
    }
    .ql-lower-boxes .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        z-index: 10;
    }
    .ql-lower-boxes .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        z-index: 10;
    }
}

/*************** BOTTOM *******************/
@media only screen and (min-width: 50.99rem) {
    .site-1 #g-bottom {
        padding: 2vw 0!important;
    }
    .site-1 #g-bottom .admod td {
        padding: 0;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-bottom {
        padding: 2rem 0!important;
    }
    .site-1 #g-bottom .admod td {
        padding: 0;
    }
}

/*************** FOOTER *******************/
#g-footer .g-content-array {margin: 0;}
#g-footer a {color: var(--default-white); transition: .3s all ease-in-out;} 
#g-footer a:hover {opacity: .5;}

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-footer > .g-container {
        padding: 2vw 5%!important;
    }
    .site-1 #g-footer .g-array-item-text {
        margin: 0;
        padding: 0;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-footer > .g-container {
        padding: 2rem 1rem!important;
    }
    .site-1 #g-footer .g-array-item-text {
        margin: 0;
        padding: 0;
    }
}

@media only screen and (min-width: 50.99rem) {
    .footer-wrapper {
        display: flex;
        flex-direction: row;
        gap: 3vw;
    }
    .footer-wrapper:before {
        content: '';
        order: 2;
        border-left: 2px solid var(--default-white);
        max-width: 2px;
    }
    .footer-wrapper:after {
        content: '';
        order: 4;
        border-left: 2px solid var(--default-white);
        max-width: 2px;
    }
    .footer-wrapper .footer-logo {
        order: 1;
        flex: 20;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .footer-wrapper .footer-logo img {
        max-width: 60%;
        width: 60%;
    }
    .footer-wrapper .footer-content {
        order: 3;
        flex: 60;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .footer-wrapper .footer-content h1 {
        text-align: center;
        font-size: 2.25vw;
        line-height: 1;
        margin: 0;
        padding: 0;
        color: var(--default-white);
        text-transform: none;
        font-variant-caps: normal;
        font-weight: 400;
        margin-bottom: 1vw;
    }
    .footer-wrapper .footer-content p {
        text-align: center;
        font-size: 1.25vw;
        line-height: 1.5;
        margin: 0;
        padding: 0;
        color: var(--defualt-white);
        font-weight: 400;
    }
    .footer-wrapper .footer-links-wrapper {
        order: 5;
        flex: 20;
    }
    .footer-wrapper .footer-links {
        display: flex;
        flex-direction: column;
    }
    .footer-wrapper .footer-links a {
        font-size: 1.25vw;
        line-height: 2;
    }
}

@media only screen and (max-width: 50.99rem) {
    .footer-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .footer-wrapper:before {
        content: '';
        order: 2;
        border-bottom: 2px solid var(--default-white);
        max-height: 2px;
    }
    .footer-wrapper:after {
        content: '';
        order: 4;
        border-bottom: 2px solid var(--default-white);
        max-height: 2px;
    }
    .footer-wrapper .footer-logo {
        order: 1;
        flex: 20;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .footer-wrapper .footer-logo img {
        max-width: 60%;
        width: 60%;
    }
    .footer-wrapper .footer-content {
        order: 3;
        flex: 60;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .footer-wrapper .footer-content h1 {
        text-align: center;
        font-size: 6vw;
        line-height: 1;
        margin: 0;
        padding: 0;
        color: var(--default-white);
        text-transform: none;
        font-variant-caps: normal;
        font-weight: 400;
        margin-bottom: 1rem;
    }
    .footer-wrapper .footer-content p {
        text-align: center;
        font-size: 4vw;
        line-height: 1.5;
        margin: 0;
        padding: 0;
        color: var(--defualt-white);
        font-weight: 400;
    }
    .footer-wrapper .footer-links-wrapper {
        order: 5;
        flex: 20;
    }
    .footer-wrapper .footer-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .footer-wrapper .footer-links a {
        font-size: 5vw;
        line-height: 2;
        text-align: center;
    }
}

/*************** COPYRIGHT ****************/ 

@media only screen and (max-width: 50.99rem) {
    .web-policy {
        justify-content: flex-end;
        padding-right: 10px;
    }
    .site-1 .adminfootericon {
        bottom: 40px
    }

    .site-2 .adminfootericon {
        bottom: 40px
    }
}

/*************** MODULES ******************/

.moduletable .nav.menu, .moduletable .unstyled {background: var(--primary-color);} 
.moduletable .nav.menu li.current.active a, .moduletable .nav.menu li a:hover {    
    color: var(--default-white); 
    background: var(--secondary-color);
} 
/*************** SECTIONS *****************/
/*************** MOBILE *******************/

.g-offcanvas-toggle {
  background: var(--default-white);
  display: grid;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: var(--default-box-shadow);
}

/*************** ADS **********************/

@media only screen and (min-width: 50.99rem) {
    #site-grid #g-container-main {
        padding-bottom: 3vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .grid.ph-sidebyside-mobile .g-array-item-read-more {
        opacity: 0;
    }
    .grid.ph-sidebyside-mobile .g-array-item-title {
        padding: 1rem;
    }
}

@media only screen and (min-width: 50.99rem) {
    .search-page button.btn {
        background: var(--primary-color)!important;
    }
    .search-page button.btn:hover {
        background: var(--secondary-color)!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .search-page button.btn {
        background: var(--primary-color)!important;
    }
    .search-page button.btn:hover {
        background: var(--secondary-color)!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .ph-sidebyside-mobile .g-array-item-read-more {
        opacity: 0;
    }
    .ph-sidebyside-mobile .g-array-item-title {
        padding: 1rem;
    }
}

@media only screen and (min-width: 50.99rem) {
    .bilingual {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 2vw;
    }
    .bilingual .englishtext {
        flex: 1;
    }
    .bilingual .spanishtext {
        flex: 1;
        font-style: italic;
    }
}

@media only screen and (max-width: 50.99rem) {
    .bilingual {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .bilingual .englishtext {
        flex: 1;
    }
    .bilingual .spanishtext {
        flex: 1;
        font-style: italic;
    }
}

@media only screen and (min-width: 50.99rem) {
    .bulletin-page #g-mainbar > .g-grid:nth-child(1) {
        display: none!important;
    }
    .bulletin-page .docman_category {
        display: none!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .bulletin-page #g-mainbar > .g-grid:nth-child(1) {
        display: none!important;
    }
    .bulletin-page .docman_category {
        display: none!important;
    }
}

/* Image Paths for Particle Template */
/* All images used in the particle template need to be updated here */

.style-1303 #g-footer:has([class*="-1303"]) {background-image: url('/images/template/parallax1.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat;}

@media (min-width: 50.99rem) {
  .style-201 .g-container:has([class*="-201"]) {background-image: url('/images/template/header-church-transparent-background.png'); background-position: center; background-size: cover; background-repeat: no-repeat;}
  .style-202 .g-container:has([class*="-202"]) {background-image: url("/images/template/header-church-transparent-background.png"); background-position: center; background-size: cover; background-repeat: no-repeat;}
  .style-301 .mass-times-301 {background: url('/images/template/masstimes.jpg') 0% no-repeat; background-size: cover; background-position: center;}
  .style-303 .mass-times-303 {background: url('/images/template/masstimes.jpg') 0% no-repeat; background-size: cover; background-position: center;}
  .style-304 .mass-times-304 {background: url('/images/template/masstimes.jpg') 0% no-repeat; background-size: cover; background-position: center;}
  .style-305 .mass-times-305 {background: url('/images/template/masstimes.jpg') 0% no-repeat; background-size: cover; background-position: center;}
  .style-1001 :is(#g-navigation, #g-slideshow, #g-header, #g-above, #g-feature, #g-showcase, #g-utility, #g-container-main, #g-expanded, #g-extension, #g-bottom, #g-footer, #g-copyright):has([class*="-1001"]) {background: url('/images/template/parallax1.jpg') 50% 50% no-repeat;}
  .mockup-ads.particle-template .g-block:has(div.adside) .adside {background-image: url("/images/template/side-ads.png");}
  .mockup-ads.particle-template .adhorizontal {background-image: url("/images/template/horizontal-ads.png");}
}

@media (max-width: 50.99rem) {
   .mockup-ads.particle-template .g-block:has(div.adside) .adside {background-image: url("/images/template/side-ads.png");}
   .mockup-ads.particle-template .adhorizontal {background-image: url("/images/template/horizontal-ads-mobile.png");}
}

@media only screen and (min-width: 50.99rem) {
    body[class*="-sub"]:not(.sponsorshippage) #g-mainbar.section-padding-5 > .g-grid > .g-block > .g-content {
        margin: 0!important;
        padding: 0!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-mainbar.section-padding-5:has(.page-header) > .g-grid > .g-block > .g-content {
        margin: .625rem 0!important;
        padding: 1.5rem 0!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-container-main:has(#g-mainbar.section-padding-5, #g-aside) {
        margin: 0!important;
        padding: 0 5%!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-container-main:has(#g-mainbar.section-padding-5, #g-aside) #g-mainbar.section-padding-5 {
        margin: 0!important;
        padding: 0!important
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-container-main:has(#g-mainbar.section-padding-5, #g-aside) #g-mainbar.section-padding-5 > .g-grid > .g-block > .g-content {
        margin: 0!important;
        padding: 0 5% 0 0!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-container-main:has(#g-mainbar.section-padding-5, #g-aside) #g-mainbar.section-padding-5:has(.page-header) > .g-grid > .g-block > .g-content {
        margin: .625rem 0!important;
        padding: 1.5rem 5% 1.5rem 0!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-page-surround #g-container-main:has(.bulletin-page) #g-mainbar {
        padding-top: 2rem !important;
    }
}

@media only screen and (max-width: 50.99rem) {
    body[class*="-sub"] #g-mainbar.section-padding-5 > .g-grid > .g-block > .g-content {
        margin: 0!important;
        padding: 0!important;
    }
}

/*  */

@media only screen and (min-width: 50.99rem) {
    #g-top-nav {
        display: none!important;
    }
    #g-mobile-fixed-nav {
        display: none!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-page-surround #g-container-main:has(.k-ui-namespace.com_docman) {
        padding-top: 3% !important;
      }
}

@media only screen and (max-width: 50.99rem) {
    #g-top-nav {
        display: none!important;
    }
    #g-mobile-fixed-nav {
        display: none!important;
    }
}

body {background-color: var(--primary-color);}
@media only screen and (max-width: 50.99rem) {
@media (display-mode: standalone) {
    #g-top-nav {
        display: flex!important;
    }
    #g-mobile-fixed-nav {
        display: flex!important;
    }
    #g-top.modern-alert-padding {
        padding: 2rem 5%!important;
    }
    body {background-color: var(--primary-color);}
    #g-offcanvas {height: calc(100% - 120pt); top: 40pt; bottom: 80pt;}
    #g-top {margin-top: 40pt!important;}
    #g-navigation .g-logo {display: none;}
    #g-top-nav .g-particle:has(.g-logo) {width: 100%;}
    #g-top-nav .g-logo {text-align: center; display: flex; align-items: center; justify-content: center; width: 100%; height: 40pt;}
    #g-top-nav .g-logo img {height: 80%; width: auto;}
    #g-page-surround .g-offcanvas-toggle {display: none;}
    #g-page-surround {background: var(--primary-color);}
    #g-top-nav {display: flex; position: fixed; top: 0; left: 0; right: 0; width: 100%; height: 40pt; background: var(--primary-color); z-index: 1000; box-shadow: var(--default-box-shadow);}
    .g-offcanvas-toggle {position: fixed!important; z-index: 1001; top: 0; left: 10pt; height: 40pt; font-size: 23pt; display: flex; justify-content: center; align-items: center; background: none!important; border-radius: unset; box-shadow: unset;}
    .g-offcanvas-toggle {color: var(--default-white);} 
    .g-offcanvas-toggle .fa-fw {text-shadow: none;}
    #g-container-footer {padding-bottom: 80pt!important;}
    #g-mobile-fixed-nav {display: flex; height: 80pt; background: var(--primary-color); color: var(--default-white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 1000; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; box-shadow: var(--default-box-shadow)}
    .mobile-nav-link {color: var(--default-white); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; height: 60pt;}
    .mobile-nav-link:hover {color: var(--secondary-color);}
    .mobile-fixed-nav {width: 100%; height: 60pt;}

    .mobile-fixed-nav {
        margin: 0;
        padding: 0;
        display: flex;
        width: 100%;
        align-items: center;
        overflow: hidden;
    }
    .mobile-fixed-nav .g-particle {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .mobile-fixed-nav .g-particle > div {
        margin: 0;
        padding: 0;
    }
    .mobile-fixed-nav .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 1pt;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        flex: 1;
        position: relative;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-title-icon {
        margin: 0;
        padding: 0;
        order: 1;
        color: var(--default-white);
        font-size: 5vw;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 0;
        order: 2;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 4vw;
        font-family: var(--body-font-family);
    }
    .mobile-fixed-nav .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .mobile-fixed-nav .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
}
}

@media only screen and (max-width: 50.99rem) {
    .bulletin-page .koowa_media {
        display: flex;
        flex-direction: row;
        gap: 1rem 1rem;
        flex-wrap: wrap;
    }
    .bulletin-page .koowa_media > .koowa_media__item {
        flex: 1;
        min-width: calc(50% - .5rem);
        width: calc(50% - .5rem);
        max-width: calc(50% - .5rem);
        margin: 0;
        padding: 0;
    }
}