@import url('//fonts.googleapis.com/css2?family=Great+Vibes&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
/************ TEMPLATE  ************
REVISION NOTES
- In the title, it should be St. Clare & St. Vincent, or instead of STS, it needs to be Saints.
- Holy Day Masses for St. Clare are 8 AM & 6 PM, (unless noted in the bulletin)

2.14 - UPDATE
Their priest, Fr. Peter D’Ambrosia, will retire on June 29. However, they are still uncertain about the state of the churches and, consequently, do not have a Bishop of Providence. Therefore, they are unaware of when they will have a priest, if at all. They will keep us informed about the current situation regarding our two parishes.

COLORS
Primary: Turquoise 396A72 rgb(57,106,114)
Secondary: Dark blue 062533 rgb(6,37,51)
Tertiary: Gold BA9647 rgb(186,150,71)

FONTS USED
Display: Great Vibes (because we must keep the vibes correct)
Body: Lato
Note: "For Sacramental Emergencies" use Bold Lato for its heading

IMAGES (Opacity | Blur Radius)
- Header: 95% Opacity
************/

.site-1 {
    --primary-color: #396A72;
    --secondary-color: #062533;
    --tertiary-color: #BA9647;

    --primary-rgb: 57,106,114;
    --secondary-rgb: 6,37,51;
    --tertiary-rgb: 186,150,71;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: 'Great Vibes', cursive;
    --body-font-family: 'Lato', 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%;
}

h2 {
    text-transform: none;
    font-variant-caps: normal;
	color: var(--tertiary-color);
}

: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: #396A72;
    --secondary-color: #062533;
    --tertiary-color: #BA9647;

    --primary-rgb: 57,106,114;
    --secondary-rgb: 6,37,51;
    --tertiary-rgb: 186,150,71;

    --default-white: #ffffff;
    --default-black: #000000;
}

.site-1 .ql-fa-toplinks {
    --ql-icon-color: var(--primary-color);
    --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);
}

.modern-alert .g-array-alert-title h1 {
    text-transform: none;
}

.modern-alert .g-array-item :is(h1,h2,h3,h4,h5,h6) {
    text-transform: none;
}

/*************** ALL SITE *****************/
.item-image {display: none;}

.g-container {
    width: 100%;
}

: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) {
    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;
    }
}

/*SUB-PAGE GRIDS TEXT SPACING*/

@media (min-width: 50.99rem) {
    #site-grid.site-1-sub #g-mainbar > .g-grid:has([itemprop="articleBody"]) {
        padding: 2vw 0!important;
    }
    #site-grid.site-1-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.site-1-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 ***************/
@media only screen and (min-width: 50.99rem) {
    .site-1 #g-navigation {
        background: url('/images/template/header.png') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1 #g-navigation > .g-container {
        background: rgba(var(--primary-rgb),.95)
    }
    .site-1 #g-navigation > .g-container > .g-grid:nth-child(2) {
        padding: 1vw 2vw!important;
    }
    .site-1 #g-navigation .g-logo img {
        width: 100%;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-navigation {
        background: url('/images/template/header.png') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1 #g-navigation > .g-container {
        background: rgba(var(--primary-rgb),.95)
    }
}

@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: 2vw;
        align-items: center;
    }
    .site-1 #g-navigation .g-social-items a {
        color: var(--default-white);
        font-size: 1.25vw;
    }
    .site-1 #g-navigation .g-social-items a:hover {
        color: var(--secondary-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 .fullwidth-swiper {
        overflow: hidden;
        border-radius: 1rem;
    }
}

/*************** HEADER *******************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-header > .g-container {
        padding: 0 2vw 2vw 2vw!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-header > .g-container {
        padding: 1rem!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .mass-times-wrapper {
        display: flex;
        flex-direction: row;
        gap: 1vw;
    }
    .site-1-sub .mass-times-wrapper {
        flex-direction: column;
    }
    .mass-times-wrapper .mass-times-block-content {
        flex: 1;
        background: rgba(255,255,255,.1);
        display: flex;
        flex-direction: row;
        gap: .5vw;
        padding: 1.5vw;
        border-radius: 1rem;
        overflow: hidden;
    }
    .site-1-sub .mass-times-wrapper .mass-times-block-content {
        flex-direction: column;
    }
    .mass-times-wrapper .mass-times-title {
        flex: 1;
        max-width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .site-1-sub .mass-times-wrapper .mass-times-title {
        max-width: unset;
        justify-content: flex-start;
    }
    .mass-times-wrapper .mass-times-title h1 {
        color: var(--tertiary-color);
        font-size: 4vw;
    }
    .site-1-sub .mass-times-wrapper .mass-times-title h1 {
        font-size: 3vw;
        text-align: left
    }
    .mass-times-wrapper .mass-times-content {
        flex: 1;
        max-width: 50%;
    }
    .site-1-sub .mass-times-wrapper .mass-times-content {
        max-width: unset;
    }
    .mass-times-wrapper .mass-times-content p {
        color: var(--default-white);
        font-size: 1.25vw;
        line-height: 1.7;
    }
    .site-1-sub .mass-times-wrapper .mass-times-content p {
        color: var(--priamry-color);
    }
}

@media only screen and (max-width: 50.99rem) {
    .mass-times-wrapper {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }
    .mass-times-wrapper .mass-times-block-content {
        flex: 1;
        background: rgba(255,255,255,.1);
        gap: 1rem;
        padding: 1rem;
        border-radius: 1rem;
        overflow: hidden;
    }
    .mass-times-wrapper .mass-times-title {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 40vw
    }
    .mass-times-wrapper .mass-times-title h1 {
        color: var(--tertiary-color);
        font-size: 8vw;
        text-align: center;
    }
    .mass-times-wrapper .mass-times-content {
        flex: 1;
    }
    .mass-times-wrapper .mass-times-content p {
        color: var(--default-white);
        font-size: 4vw;
        line-height: 1.7;
    }
}

/*************** ABOVE ********************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-above > .g-container {
        padding: 2vw!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .ql-img-title-vertical {
        margin: 0;
        padding: 0;
    }
    .ql-img-title-vertical > .g-content {
        margin: 0;
        padding: 0;
    }
    .ql-img-title-vertical > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .ql-img-title-vertical .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-img-title-vertical .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 2vw;
    }
    .ql-img-title-vertical .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        background: var(--secondary-color);
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
        transition: .3s all ease-in-out;
    }
    .ql-img-title-vertical .g-blockcontent-subcontent-block:hover {
        transform: scale(1.05);
        box-shadow: var(--default-box-shadow-hover);
    }
    .ql-img-title-vertical .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        position: relative;
        border-radius: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .ql-img-title-vertical .g-blockcontent-subcontent-img {
        margin: 0;
        padding: 0;
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 0;
        object-position: center;
        object-fit: cover;
    }
    .ql-img-title-vertical .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 1.5vw 1vw;
        height: 100%;
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
        max-height: 7vw;
    }
    .ql-img-title-vertical .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-weight: 700;
        font-family: var(--body-font-family);
        font-size: 1.25vw;
        line-height: 1.3;
    }
    .ql-img-title-vertical .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .ql-img-title-vertical .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
}

/*************** SHOWCASE *****************/
/*************** UTILITY ******************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-utility > .g-container {
        padding: 3vw 5%!important;
        display: flex;
        flex-direction: column;
        gap: 2vw;
    }

    #ph-addpic {
        display: flex;
        flex-direction: column;
        gap: 2vw;
    }

    .site-1-home #g-utility .g-title {
        color: var(--default-white);
        line-height: 1;
        margin: 0;
        padding: 0;
        color: var(--tertiary-color);
        font-size: 5vw;
        font-weight: 400;
        text-transform: none;
        font-variant-caps: normal;
    }

    .site-1-home .news-button .button {
        background: var(--tertiary-color);
        font-size: 1.5vw;
        line-height: 1;
        padding: .75vw 2.5vw;
        color: var(--default-white);
        font-family: var(--body-font-family);
    }
    .site-1-home .news-button .button:hover {
        transform: scale(1.05);
        background: var(--secondary-color);
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-utility > .g-container {
        padding: 2rem 0!important;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    #ph-addpic {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .site-1-home #g-utility .g-title {
        color: var(--default-white);
        line-height: 1;
        margin: 0;
        padding: 0;
        color: var(--tertiary-color);
        font-size: 8vw;
        font-weight: 400;
        text-transform: none;
        font-variant-caps: normal;
    }

    .site-1-home .news-button {
        padding: 1rem;
    }
    .site-1-home .news-button .button {
        background: var(--tertiary-color);
        font-size: 5vw;
        line-height: 1;
        padding: 1rem;
        color: var(--default-white);
        font-family: var(--body-font-family);
    }
    .site-1-home .news-button .button:hover {
        transform: scale(1.05);
        background: var(--secondary-color);
    }
}

/*************** FEATURE ******************/
/*************** MAIN *********************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-container-main {
        border-top: .75rem solid var(--tertiary-color);
    }
    .site-1-home #g-container-main > .g-container {
        padding: 3vw!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-container-main {
        border-top: .75rem solid var(--tertiary-color);
    }
    .site-1-home #g-container-main > .g-container {
        padding: 2rem 1rem!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-container-main > .g-container > .g-grid {
        display: flex;
        flex-direction: row;
        gap: 4vw;
    }
    .site-1-home #g-container-main > .g-container > .g-grid > .g-block:has(#g-sidebar) {
        flex: 1;
        width: unset;
    }
    .site-1-home #g-container-main > .g-container > .g-grid > .g-block:has(#g-mainbar) {
        flex: 1;
        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;
    }

    .flocknote-container {
        background: var(--default-white);
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
        padding: 2vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-container-main > .g-container > .g-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .site-1-home #g-container-main > .g-container > .g-grid > .g-block:has(#g-sidebar) {
        width: 100%;
        order: 2;
    }
    .site-1-home #g-container-main > .g-container > .g-grid > .g-block:has(#g-mainbar) {
        width: 100%;
        order: 3;
    }
    .site-1-home #g-container-main > .g-container > .g-grid > .g-block:has(#g-aside) {
        width: 100%;
        order: 1;
    }

    .flocknote-container {
        background: var(--default-white);
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
        padding: 1rem;
    }
}

@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 *****************/ 
/*************** EXTENSION ****************/
/*************** BOTTOM *******************/
@media only screen and (min-width: 50.99rem) {
    .site-1 #g-bottom {
        padding: 2vw 0!important;
        border-top: .75rem solid var(--tertiary-color);
    }
    .site-1 #g-bottom .admod td {
        padding: 0;
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-bottom {
        padding: 1rem 0!important;
        border-top: .75rem solid var(--tertiary-color);
    }
    .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) {
    #g-footer > .g-container {
        padding: 0 1vw 1vw 1vw!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    #g-footer > .g-container {
        padding: 1rem!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .footer-wrapper {
        background: url('/images/template/logo-icon-footer.svg') 80% 0% no-repeat;
        background-size: contain;
    }
    .footer-wrapper h1 {
        font-size: 3.5vw;
    }
    .footer-wrapper p {
        font-size: 1.25vw;
        line-height: 1.3;
        font-family: var(--body-font-family);
    }
}

@media only screen and (max-width: 50.99rem) {
    .footer-wrapper h1 {
        font-size: 7vw;
    }
    .footer-wrapper p {
        font-size: 4vw;
        line-height: 1.3;
        font-family: var(--body-font-family);
    }
}

/*************** 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 *****************/
.breadcrumb {
	margin: 20px;
}

/*************** 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;
    }
}

@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;
    }
}
}