@import url('//fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
/************ TEMPLATE  ************
BUILD NOTES:
Make the Headlines section collapse if there are fewer than 4 articles published

Church Mockup #2_v2 & School Mockup #1_v2 Approved (yes, move forward with the school as well!)

COLORS (Gradients? | Include RGBs)
Primary: Blue 203F72 rgb(32,63,114)
Blue Gradient: 203F72 rgb(32,63,114) to 3569A8 rgb(53,105,168)
Off-white Background Color: FFFAF3 rgb(255,250,243)

FONTS USED (Google)
Display: Cinzel
Body: Open Sans

IMAGES (Opacity | Blur Radius)
Bulletin Section/Footer BG: 94% Opacity. 3px Blur.

ADDITIONAL NOTES

MASS TIMES
Weekend Masses
Saturday: *5:00pm
Sunday 7:30am, *9am, and *11am
*Live Streamed Masses*

Daily Masses
Mon, Tue, Wed, Fri, and Sat - 8:30am*
Thursdays: 8:15am*
*Live Streamed Masses*

Confession
Saturday: 3:30pm

----

SCHOOL CONTACT US
Contact Us
201 W. Maple Ave.
Roselle, IL 60172
P: 630.529.1721
F:  630.529.9290
swsoffice@stwalterschool.com
Parish Phone: 630-894-2461

Office Hours
Monday-Friday
7:30am - 4:00pm

----
************/

.site-1 {
    --primary-color: #203F72;
    --secondary-color: #3569A8;
    --tertiary-color: #FFFAF3;

    --primary-rgb: 32,63,114;
    --secondary-rgb: 53,105,168;
    --tertiary-rgb: 255,250,243;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: 'Cinzel', 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%;

    --mt-fixed-height: 42vw;
    --mt-fixed-height-desktop: 42vw;
    --mt-header-color: var(--primary-color);
    --mt-para-color: var(--primary-color);
    --mt-para-desktop: 1.25vw;

    --grid-img-width: 18vw;
}

.site-1 .ql-fa-toplinks {
    --ql-title-color: var(--primary-color);
}

.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);
}

/*************** ALL SITE *****************/
.item-image {display: none;}

: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-content:not(.g-blockcontent-subcontent-block-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;
}

@media (min-width: 50.99rem) {
  :is(.site-1-home, .site-2-home) #g-top .modern-alert .g-joomla-articles {
      padding: 0 3% !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(--secondary-color);
    }
}

/*************** TOP **********************/ 
/*************** NAVIGATION ***************/
/*
Blue Gradient: 203F72 rgb(32,63,114) to 3569A8 rgb(53,105,168)
*/
.site-1 #g-navigation {
    background: linear-gradient(to left, rgb(32,63,114), rgb(53,105,168));
}

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-navigation .g-logo img {
        width: 100%;
    }
    .site-1 #g-navigation > .g-container > .g-grid:has(.g-social-items):not(:has(.menu-block)) {
        padding: 1vw!important;
        align-items: stretch;
    }
    .site-1 #g-navigation .g-main-nav > .g-toplevel > li:has(.g-social-items) .g-social-items > a:not(a:last-child) {
        display: none!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .g-main-nav .g-toplevel>li>.g-menu-item-container>.g-menu-item-content {
        font-size: 1.25vw;
        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: 1.25vw;
        font-family: var(--body-font-family);
    }

    .site-1 #g-navigation .g-social-items {
        display: flex;
        flex-direction: row;
        gap: 1.5vw;
        align-items: center;
        justify-content: flex-end;
    }
    .site-1 #g-navigation .g-social-items a {
        color: var(--default-white);
        font-size: 1.75vw;
    }
    .site-1 #g-navigation .g-social-items a:hover {
        color: var(--secondary-color); 
    }

    .site-1 #g-navigation .logo-statue {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .site-1 #g-navigation .logo-statue > div {
        width: 100%;
    }
    .site-1 #g-navigation .logo-text {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .site-1 #g-navigation .logo-text > div {
        width: 90%;
    }
    .site-1 #g-navigation .logo-tower {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .site-1 #g-navigation .logo-tower > div {
        width: 100%;
    }
}

@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: 2vw;
    }
    .site-1-home #g-slideshow > .g-container > .g-grid .fullwidth-swiper {
        flex: 66;
        width: unset;
    }
    .site-1-home #g-slideshow > .g-container > .g-grid .mass-times-block {
        flex: 34;
        width: unset;
    }
    .site-1-home .mass-times-block {
        background: none!important;
    }
    .site-1-home .mass-times-block > .g-content {
        background: transparent;
    }

    .site-1-home .fullwidth-swiper {
        position: relative;
    }
    .site-1-home .fullwidth-swiper > .g-content {
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
    }
    .site-1-home .fullwidth-swiper::after {
        content: '';
        position: absolute;
        top: 1.5vw;
        bottom: -1.5vw;
        left: 1.5vw;
        right: -1.5vw;
        width: 100%;
        height: 100%;
        background: rgba(var(--secondary-rgb),.2);
        border-radius: 1rem;
    }

    .site-1-home .mass-times-block :is(h1,h2,h3,h4,h5,h6) {
        font-weight: 700;
    }

    .site-1-home .mass-times-block .mt-buttons-column {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: .5vw;
        padding-top: 1vw;
    }
    .site-1-home .mass-times-block .mt-buttons-column span {
        width: 100%;
    }
    .site-1-home .mass-times-block .mt-buttons-column .button {
        background: transparent;
        color: var(--primary-color)!important;
        font-size: 1.25vw;
        padding: 1vw;
        border: 2px solid var(--primary-color);
        border-radius: 1.5vw / 50%;
        width: 90%;
        line-height: 1;
    }
    .site-1-home .mass-times-block .mt-buttons-column .button:hover {
        background: var(--secondary-color);
        color: var(--default-white);
    }
    .site-1-home .mass-times-block .g-array-item {
        padding: 0 2vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home .mass-times-block {
        background: none!important;
        padding: 2rem 1rem;
    }
    .site-1-home .mass-times-block > .g-content {
        background: transparent;
    }
    .site-1-home .mass-times-block :is(h1,h2,h3,h4,h5,h6) {
        font-weight: 700;
    }

    .site-1-home .mass-times-block .mt-buttons-column {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: .5rem;
        padding-top: 1rem;
    }
    .site-1-home .mass-times-block .mt-buttons-column span {
        width: 100%;
    }
    .site-1-home .mass-times-block .mt-buttons-column .button {
        background: transparent;
        color: var(--primary-color)!important;
        font-size: 4vw;
        padding: 1rem;
        border: 2px solid var(--primary-color);
        border-radius: 7vw / 50%;
        width: 100%;
        line-height: 1;
    }
    .site-1-home .mass-times-block .mt-buttons-column .button:hover {
        background: var(--secondary-color);
        color: var(--default-white);
    }
    .site-1-home .mass-times-block .g-array-item {
        padding: 0 2vw;
    }
}

/*************** HEADER *******************/
/*************** ABOVE ********************/

/*************** SHOWCASE *****************/
/*************** UTILITY ******************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-utility > .g-container {
        padding: 2vw!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-utility > .g-container {
        padding: 1rem!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .ql-border-buttons {
        margin: 0;
        padding: 0;
    }
    .ql-border-buttons > div {
        margin: 0;
        padding: 0;
    }
    .ql-border-buttons .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-border-buttons .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: 1vw;
    }
    .ql-border-buttons .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        background: linear-gradient(to left, rgb(32,63,114), rgb(53,105,168));
        padding: 3px;
        border-radius: 2.5vw / 50%;
        overflow: hidden;
        position: relative;
        box-shadow: 0px 0px 10px rgba(0,0,0,.25);
        border: 2px solid var(--default-white);
        transition: .3s all ease-in-out;
    }
    .ql-border-buttons .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        background: linear-gradient(to left, rgb(32,63,114), rgb(53,105,168));
        border-radius: calc(2vw - 3px) / 50%;
        position: relative;
        transition: .3s all ease-in-out;
    }
    .ql-border-buttons .g-blockcontent-subcontent-block:nth-child(1) .g-blockcontent-subcontent-block-content {
        background: linear-gradient(to left, #30609B, #3568A7);
    }
    .ql-border-buttons .g-blockcontent-subcontent-block:nth-child(2) .g-blockcontent-subcontent-block-content {
        background: linear-gradient(to left, #2C5892, #36649E);
    }
    .ql-border-buttons .g-blockcontent-subcontent-block:nth-child(3) .g-blockcontent-subcontent-block-content {
        background: linear-gradient(to left, #285087, #2E5892);
    }
    .ql-border-buttons .g-blockcontent-subcontent-block:nth-child(4) .g-blockcontent-subcontent-block-content {
        background: linear-gradient(to left, #24487D, #285088);
    }
    .ql-border-buttons .g-blockcontent-subcontent-block:nth-child(5) .g-blockcontent-subcontent-block-content {
        background: linear-gradient(to left, #204073, #24487D);
    }
    .ql-border-buttons .g-blockcontent-subcontent-block:hover {
        transform: scale(1.05);
    }
    .ql-border-buttons .g-blockcontent-subcontent-block-content:hover .g-blockcontent-subcontent-title-text {
        color: var(--default-white)!important;
    }
    .ql-border-buttons .g-blockcontent-subcontent-block-content:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        height: 100%;
        width: 0;
        background: rgba(var(--tertiary-rgb),.15);
        transition: .3s all ease-in-out;
    }
    .ql-border-buttons .g-blockcontent-subcontent-block-content:hover:before {
        width: 100%;
    }
    .ql-border-buttons .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 2;
    }
    .ql-border-buttons .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 1.5vw 0;
        color: var(--default-white);
        font-size: 1.25vw;
    }
    .ql-border-buttons .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: 3;
    }
    .ql-border-buttons .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: 3;
    }
}

@media only screen and (max-width: 50.99rem) {
    .ql-border-buttons {
        margin: 0;
        padding: 0;
    }
    .ql-border-buttons > div {
        margin: 0;
        padding: 0;
    }
    .ql-border-buttons .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-border-buttons .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }
    .ql-border-buttons .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        background: var(--primary-color);
        padding: 3px;
        border-radius: 1.5rem / 50%;
        overflow: hidden;
        position: relative;
        box-shadow: 0px 0px 10px rgba(0,0,0,.25);
        border: 2px solid var(--default-white);
        transition: .3s all ease-in-out;
    }
    .ql-border-buttons .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        background: var(--secondary-color);
        border-radius: calc(1.5rem - 3px) / 50%;
        position: relative;
        transition: .3s all ease-in-out;
    }
    .ql-border-buttons .g-blockcontent-subcontent-block:nth-child(1) .g-blockcontent-subcontent-block-content {
        background: linear-gradient(to top, #30609B, #3568A7);
    }
    .ql-border-buttons .g-blockcontent-subcontent-block:nth-child(2) .g-blockcontent-subcontent-block-content {
        background: linear-gradient(to top, #2C5892, #36649E);
    }
    .ql-border-buttons .g-blockcontent-subcontent-block:nth-child(3) .g-blockcontent-subcontent-block-content {
        background: linear-gradient(to top, #285087, #2E5892);
    }
    .ql-border-buttons .g-blockcontent-subcontent-block:nth-child(4) .g-blockcontent-subcontent-block-content {
        background: linear-gradient(to top, #24487D, #285088);
    }
    .ql-border-buttons .g-blockcontent-subcontent-block:nth-child(5) .g-blockcontent-subcontent-block-content {
        background: linear-gradient(to top, #204073, #24487D);
    }
    .ql-border-buttons .g-blockcontent-subcontent-block-content:hover .g-blockcontent-subcontent-title-text {
        color: var(--secondary-color)!important;
    }
    .ql-border-buttons .g-blockcontent-subcontent-block-content:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        height: 100%;
        width: 0;
        background: rgba(var(--primary-rgb),.85);
        transition: .3s all ease-in-out;
    }
    .ql-border-buttons .g-blockcontent-subcontent-block-content:hover:before {
        width: 100%;
    }
    .ql-border-buttons .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 2;
    }
    .ql-border-buttons .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: .75rem 0;
        color: var(--default-white);
    }
    .ql-border-buttons .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: 3;
    }
    .ql-border-buttons .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: 3;
    }
}

/*************** FEATURE ******************/
/*************** MAIN *********************/
@media only screen and (min-width: 50.99rem) {
    #ph-addpic.grid-articles {
        --grid-items-justify: left;
    }
    #ph-addpic.grid-articles .g-item-title a {
        --grid-title-font-weight: 700;
        --grid-title-font-size: 1.5vw;
    }

    .site-1-home #g-container-main > .g-container {
        padding: 1vw 4vw 4vw 4vw!important;
    }

    .site-1-home #g-container-main #ph-addpic .g-title {
        font-size: 4vw;
        font-weight: 700;
        text-transform: none;
        font-variant-caps: small-caps;
        line-height: 1;
        margin: 0;
        padding: 0;
        margin-bottom: 2vw;
    }

    .site-1-home #g-container-main > .g-container > .g-grid {
        display: flex;
        flex-direction: row;
        gap: 2vw;
    }
    .site-1-home #g-container-main > .g-container > .g-grid > .g-block:has(#ph-addpic) {
        flex: 1;
        width: unset;
    }
    .site-1-home #g-container-main > .g-container > .g-grid > .g-block:has(.adside) {
        flex: unset;
        max-width: 165px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .site-1-home .news-button .button {
        font-size: 1.5vw;
        line-height: 1;
        background: linear-gradient(to left, rgb(32,63,114), rgb(53,105,168));
        border: 2px solid var(--default-white);
        padding: 1vw 5vw;
        border-radius: 2vw / 50%;
        box-shadow: var(--default-box-shadow);
        color: var(--default-white)!important;
        font-family: var(--body-font-family);
    }
    .site-1-home .news-button .button:hover {
        transform: scale(1.05);
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-container-main > .g-container {
        padding: 1rem 0!important;
    }

    .site-1-home #g-container-main #ph-addpic .g-title {
        font-size: 8vw;
        font-weight: 700;
        text-transform: none;
        font-variant-caps: small-caps;
        line-height: 1;
        margin: 0;
        padding: 0;
        margin-bottom: 1rem;
        text-align: center;
    }

    .site-1-home .news-button .button {
        font-size: 4vw;
        line-height: 1;
        background: linear-gradient(to left, rgb(32,63,114), rgb(53,105,168));
        border: 2px solid var(--default-white);
        padding: .75rem;
        border-radius: 7vw / 50%;
        box-shadow: var(--default-box-shadow);
        color: var(--default-white)!important;
        font-family: var(--body-font-family);
    }
    .site-1-home .news-button .button:hover {
        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 {
        background: url('/images/template/bg-widget-church.jpg') 50% 50% no-repeat;
        background-size: cover;
        position: relative;
    }
    .site-1-home #g-expanded:after {
        content: '';
        position: absolute;
        bottom: 1vw;
        left: 0;
        right: 0;
        width: 100%;
        height: 2px;
        border-bottom: 2px solid var(--default-white);
        z-index: 100;
    }
    .site-1-home #g-expanded > .g-container {
        background: rgba(var(--primary-rgb),.94);
        padding: 3vw 7% 1vw 7%!important;
        backdrop-filter: blur(3px);
        --webkit-backdrop-filter: blur(3px);
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-expanded {
        background: url('/images/template/bg-widget-church.jpg') 50% 50% no-repeat;
        background-size: cover;
        position: relative;
    }
    .site-1-home #g-expanded:after {
        content: '';
        position: absolute;
        bottom: 1rem;
        left: 0;
        right: 0;
        width: 100%;
        height: 2px;
        border-bottom: 2px solid var(--default-white);
        z-index: 100;
    }
    .site-1-home #g-expanded > .g-container {
        background: rgba(var(--primary-rgb),.94);
        padding: 2rem 1rem!important;
        backdrop-filter: blur(3px);
        --webkit-backdrop-filter: blur(3px);
    }
}

@media only screen and (min-width: 50.99rem) {
    .digital-media-wrapper {
        display: flex;
        flex-direction: row;
        gap: 10vw;
        padding-bottom: 5vw;
    }
    .digital-media-wrapper .video-media-wrapper {
        flex: 60;
    }
    .digital-media-wrapper .bulletin-wrapper {
        flex: 40;
    }
    .digital-media-wrapper .g-title {
        color: var(--default-white);
        font-size: 3.5vw;
        line-height: 1;
        font-family: var(--title-font-family);
        font-weight: 700;
        margin: 0;
        padding: 0;
        border: none;
        font-variant-caps: small-caps;
        text-transform: none;
        margin-bottom: 1.5vw;
    }
    .digital-media-wrapper .video-media-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2vw;
    }
    .digital-media-wrapper .video-media-wrapper iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        overflow: hidden;
        box-shadow: var(--defualt-box-shadow);
        border-radius: 1rem;
    }

    .digital-media-wrapper .bulletin-picture-list .bulletin-container .bulletin:first-child .bulletin-date-container {
        background: rgba(var(--secondary-rgb),.85);
    }
    .digital-media-wrapper .bulletin-picture-list .bulletin-container .bulletin:first-child p {
        color: var(--default-white);
        font-size: 1.5vw;
        font-family: var(--body-font-family);
        font-weight: 600;
    }
    .digital-media-wrapper .bulletin-picture-list .bulletin-container {
        grid-template-rows: 1fr auto auto;
        gap: 1vw;
        margin-bottom: 1vw;
    }
    .digital-media-wrapper .bulletin-picture-list .bulletin-variables {
        padding: 0!important;
    }
    .digital-media-wrapper .bulletin-picture-list .bulletin-container .bulletin:first-child {
        max-width: unset;
        border-radius: 2vw;
    }
    .digital-media-wrapper .bulletin-picture-list .bulletin-container .bulletin:not(.bulletin:first-child) {
        height: fit-content;
    }
    .digital-media-wrapper .bulletin-picture-list .bulletin-container .bulletin:not(.bulletin:first-child) a {
        max-width: unset; 
        background-color: unset;
        background: rgba(255,255,255,.2);
        color: var(--default-white);
        font-size: 1.5vw;
        font-family: var(--body-font-family);
        border: 1px solid var(--default-white);
        font-weight: 600;
        padding: 1vw;
        height: unset;
        border-radius: 2vw / 50%;
    }
    .digital-media-wrapper .bulletin-archive-button .button {
        max-width: unset; 
        background-color: unset;
        background: rgba(255,255,255,0);
        color: var(--default-white);
        font-size: 1.5vw;
        font-family: var(--body-font-family);
        border: 1px solid var(--default-white);
        font-weight: 600;
        padding: 1vw;
        height: unset;
        border-radius: 2vw / 50%;
        width: 80%;
        margin: auto;
        transition: .3s all ease-in-out;
        display: flex;
        justify-content: center;
    }
    .digital-media-wrapper .bulletin-archive-button .button:hover {
        background: rgba(var(--tertiary-rgb),.5);
    }
}

@media only screen and (max-width: 50.99rem) {
    .digital-media-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding-bottom: 2rem;
    }
    .digital-media-wrapper .video-media-wrapper {
        flex: 60;
    }
    .digital-media-wrapper .bulletin-wrapper {
        flex: 40;
        padding: 0 3rem;
    }
    .digital-media-wrapper .g-title {
        color: var(--default-white);
        font-size: 8vw;
        line-height: 1;
        font-family: var(--title-font-family);
        font-weight: 700;
        margin: 0;
        padding: 0;
        border: none;
        font-variant-caps: small-caps;
        text-transform: none;
        margin-bottom: 1rem;
    }
    .digital-media-wrapper .video-media-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .digital-media-wrapper .video-media-wrapper iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        overflow: hidden;
        box-shadow: var(--defualt-box-shadow);
        border-radius: 1rem;
    }

    .digital-media-wrapper .bulletin-picture-list .bulletin-container .bulletin:first-child .bulletin-date-container {
        background: rgba(var(--secondary-rgb),.85);
    }
    .digital-media-wrapper .bulletin-picture-list .bulletin-container .bulletin:first-child p {
        color: var(--default-white);
        font-size: 5vw;
        font-family: var(--body-font-family);
        font-weight: 600;
    }
    .digital-media-wrapper .bulletin-picture-list .bulletin-container {
        grid-template-rows: 1fr auto auto;
        gap: .5rem;
        margin-bottom: 1rem;
    }
    .digital-media-wrapper .bulletin-picture-list .bulletin-variables {
        padding: 0!important;
    }
    .digital-media-wrapper .bulletin-picture-list .bulletin-container .bulletin:first-child {
        max-width: unset;
        border-radius: 7vw;
    }
    .digital-media-wrapper .bulletin-picture-list .bulletin-container .bulletin:not(.bulletin:first-child) {
        height: fit-content;
    }
    .digital-media-wrapper .bulletin-picture-list .bulletin-container .bulletin:not(.bulletin:first-child) a {
        max-width: unset; 
        background-color: unset;
        background: rgba(255,255,255,.2);
        color: var(--default-white);
        font-size: 5vw;
        font-family: var(--body-font-family);
        border: 1px solid var(--default-white);
        font-weight: 600;
        padding: .75rem;
        height: unset;
        border-radius: 7vw / 50%;
    }
    .digital-media-wrapper .bulletin-archive-button .button {
        max-width: unset; 
        background-color: unset;
        background: rgba(255,255,255,0);
        color: var(--default-white);
        font-size: 5vw;
        font-family: var(--body-font-family);
        border: 1px solid var(--default-white);
        font-weight: 600;
        padding: .75rem;
        height: unset;
        border-radius: 7vw / 50%;
        width: 100%;
        transition: .3s all ease-in-out;
    }
    .digital-media-wrapper .bulletin-archive-button .button:hover {
        background: rgba(var(--tertiary-rgb),.5);
    }
}

/*************** EXTENSION ****************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-extension > .g-container {
        padding: 3vw 5% 1vw 5%!important;
    }

    .social-widgets-wrapper {
        display: flex;
        flex-direction: column;
        gap: 3vw;
    }
    .social-widgets-wrapper .g-title {
        text-align: center;
        font-size: 3.5vw;
        color: var(--primary-color);
        border: none;
        line-height: 1;
        margin-bottom: 1.5vw;
        text-transform: none;
        font-variant-caps: small-caps;
        font-family: var(--title-font-family);
        font-weight: 700;
    }
    .social-widgets-wrapper .facebook-block {
        background: rgba(var(--secondary-rgb),.2);
        padding: 1.5vw;
        border-radius: 1rem;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-extension > .g-container {
        padding: 2rem 1rem!important;
    }

    .social-widgets-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .social-widgets-wrapper .g-title {
        text-align: center;
        font-size: 8vw;
        color: var(--primary-color);
        border: none;
        line-height: 1;
        margin-bottom: 1rem;
        text-transform: none;
        font-variant-caps: small-caps;
        font-family: var(--title-font-family);
        font-weight: 700;
    }
    .social-widgets-wrapper .facebook-block {
        background: rgba(var(--secondary-rgb),.2);
        padding: 1rem;
        border-radius: 1rem;
    }
}

/*************** 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: 1rem 0!important;
    }
}

/*************** 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-container-footer {
        background: url('/images/template/bg-footer-church.jpg') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1 #g-container-footer > .g-container {
        background: rgba(var(--primary-rgb),.94);
        backdrop-filter: blur(3px);
        --webkit-backdrop-filter: blur(3px);
    }
    .site-1 #g-footer {
        position: relative;
    }
    .site-1 #g-footer > .g-container {
        padding: 2vw 5% 4vw 5%!important;
    }
    /*.site-1 #g-footer:after {
        content: '';
        position: absolute;
        bottom: 5vw;
        left: 0;
        right: 0;
        width: 100%;
        height: 2px;
        border-bottom: 2px solid var(--default-white);
        z-index: 100;
    }*/

    .site-1 #g-footer h1 {
        font-weight: 700;
    }
    .site-1 #g-footer p {
        font-size: 1.25vw;
        line-height: 1.5;
        font-family: var(--body-font-family);
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-container-footer {
        background: url('/images/template/bg-footer-church.jpg') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1 #g-container-footer > .g-container {
        background: rgba(var(--primary-rgb),.94);
        backdrop-filter: blur(3px);
        --webkit-backdrop-filter: blur(3px);
    }
    .site-1 #g-footer {
        position: relative;
    }
    .site-1 #g-footer > .g-container {
        padding: 2rem 1rem 3rem 1rem!important;
    }
    /*.site-1 #g-footer:after {
        content: '';
        position: absolute;
        bottom: 1rem;
        left: 0;
        right: 0;
        width: 100%;
        height: 2px;
        border-bottom: 2px solid var(--default-white);
        z-index: 100;
    }*/

    .site-1 #g-footer h1 {
        font-weight: 700;
        text-align: center!important;
    }
    .site-1 #g-footer p {
        font-size: 4vw;
        line-height: 1.5;
        font-family: var(--body-font-family);
        text-align: center!important;
    }
}

/*************** 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"] #g-mainbar.section-padding-5 > .g-grid > .g-block > .g-content {
        margin: 0!important;
        padding: 0!important;
    }
    body[class*="-sub"] #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"] #g-container-main:has(#g-mainbar.section-padding-5, #g-aside) {
        margin: 0!important;
        padding: 0 5%!important;
    }
    body[class*="-sub"] #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"] #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"] #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;
    }
}

@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;
    }
}

@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: 100; box-shadow: var(--default-box-shadow);}
    .g-offcanvas-toggle {position: fixed!important; z-index: 101; 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: 100; 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 (min-width: 50.99rem) {
    .instagram-widget-boxes {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 1vw;
    }
    .instagram-widget-boxes > div {
        flex: 1;
    }
}

@media only screen and (max-width: 50.99rem) {
    .instagram-widget-boxes {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    .instagram-widget-boxes > div {
        flex: 1;
    }
}


.bulletin-picture-list .bulletin-container {
    width: 80%;
}