@import url('//fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
/************ TEMPLATE  ************
REVISIONS (Outside of Mockup)
They're thinking about some drone footage rather than a Rotator.

COLORS (Gradients? | Include RGBs)
Primary: Blue 193E75 rgb(25,62,117)
Secondary: Light Blue 82D8F9 rgb(130,216,249)
Tertiary: Hover blue 2F9CD3 rgb(47,156,211)
Site Background color: EEF6FF rgb(238,246,255)

FONTS USED (Google)
Open Sans

IMAGES
- Background/bottom link Images: 90% Opacity with 4px blur
- Transparent white in widget section: 30% Opacity.

---------

************/

.site-1 {
    --primary-color: #193E75;
    --secondary-color: #82D8F9;
    --tertiary-color: #2F9CD3;

    --primary-rgb: 25,62,117;
    --secondary-rgb: 130,216,249;
    --tertiary-rgb: 47,156,211;

    --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%;

    --mt-fixed-height: 42vw;

    --mt-header-color: var(--default-white);
    --mt-para-color: var(--default-white);
    --mt-background-color: var(--primary-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: #192e72;
    --secondary-color: #c9b8a0;
    --tertiary-color: #f7d000;

    --primary-rgb: 25,46,114;
    --secondary-rgb: 201,184,160;
    --tertiary-rgb: 247, 208, 0;

    --default-white: #ffffff;
    --default-black: #000000;
}

h6 {
    color: #2F9CD3;
}

.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);
}

/*************** 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(--secondary-color);
    }
    .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;
        position: relative;
        z-index: 100;
        box-shadow: var(--default-box-shadow);
    }
    .site-1 #g-navigation > .g-container {
        background: rgba(var(--primary-rgb),.9);
        backdrop-filter: blur(4px);
        --webkit-backdrop-filter: blur(4px);
    }

    .site-1 #g-navigation > .g-container > .g-grid:has(.nav-social-container) {
        padding: 2vw!important;
    }
    .site-1 #g-navigation > .g-container > .g-grid:has(.nav-social-container) > .g-block.nav-social-container {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        justify-content: flex-end;
    }
    .site-1 #g-navigation > .g-container > .g-grid:has(.nav-social-container) > .g-block.nav-social-container > .g-content {
        background: #EEF6FF;
        padding: .75vw 1.5vw;
        border-bottom-left-radius: 1rem;
    }

    .site-1 #g-navigation .g-main-nav .g-toplevel {
        padding: .5vw 0;
    }
    .site-1 #g-navigation .g-main-nav .g-toplevel>li>.g-menu-item-container {
        border-radius: .5rem;
    }
    .site-1 #g-navigation .g-main-nav .g-toplevel>li:hover>.g-menu-item-container {
        background: var(--tertiary-color);
    }
    .site-1 #g-navigation .g-main-nav .g-toplevel>li.active>.g-menu-item-container {
        background: var(--tertiary-color);
    }
    .site-1 #g-navigation .g-main-nav .g-toplevel>li:has(.g-social-items) {
        display: none!important;
    }
}

@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;
        position: relative;
        z-index: 100;
        box-shadow: var(--default-box-shadow);
    }
    .site-1 #g-navigation > .g-container {
        background: rgba(var(--primary-rgb),.9);
        backdrop-filter: blur(4px);
        --webkit-backdrop-filter: blur(4px);
    }
    .site-1 #g-navigation > .g-container > .g-grid:has(.nav-social-container) {
        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: 2vw;
        align-items: center;
    }
    .site-1 #g-navigation .g-social-items a {
        color: var(--primary-color);
        font-size: 1.75vw;
    }
    .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 > .g-block.mass-times-block {
        flex: 30;
        width: unset;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
    }
    .site-1-home #g-slideshow > .g-container > .g-grid > .g-block.fullwidth-swiper {
        flex: 70;
        width: unset;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
        pointer-events: none;
    }
    .mass-times-block :is(h1,h2,h3,h4,h5,h6) {
        font-size: 1.75vw;
        font-weight: 700;
    }
    .mass-times-block :is(h1,h2,h3,h4,h5,h6).mt-big-title {
        font-size: 2.85vw;
        text-transform: uppercase;
        border-bottom: 2px solid var(--default-white);
        margin-bottom: .5vw;
    }
    .mass-times-block p {
        line-height: 1.5;
        font-size: 1.25vw;
    }

    .background-video .g-videolocal-play {
        display: none!important;
    }
    .background-video > .g-content {
        height: 100%;
    }
    .background-video > .g-content > .g-video-container {
        height: 100%;
    }
    .background-video > .g-content > .g-video-container > .g-video-inner {
        height: 100%;
    }
    .background-video > .g-content > .g-video-container > .g-video-inner > .g-video {
        height: 100%;
    }
    .background-video > .g-content > .g-video-container > .g-video-inner > .g-video video {
        object-fit: cover;
        object-position: center;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-slideshow .fullwidth-swiper {
        order: 1;
        pointer-events: none!important;
    }
    .site-1-home #g-slideshow .mass-times-block {
        order: 2;
    }
    .background-video > .g-content > .g-video-container > .g-video-inner > .g-video {
        box-shadow: none;
    }

    .mass-times-block :is(h1,h2,h3,h4,h5,h6) {
        font-size: 6vw;
        font-weight: 700;
    }
    .mass-times-block :is(h1,h2,h3,h4,h5,h6).mt-big-title {
        font-size: 10vw;
        text-transform: uppercase;
        border-bottom: 2px solid var(--default-white);
        margin-bottom: .5rem;
    }
    .mass-times-block p {
        line-height: 1.5;
        font-size: 4vw;
    }
}

@media only screen and (min-width: 50.99rem) {
    .mass-times-block > .g-content {
        height: 100%;
    }
}

/*************** HEADER *******************/
/*************** ABOVE ********************/
/*************** SHOWCASE *****************/
/*************** UTILITY ******************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-utility {
        background: url('/images/template/bg-qls.png') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1-home #g-utility > .g-container {
        background: rgba(var(--primary-rgb),.9);
        backdrop-filter: blur(4px);
        --webkit-backdrop-filter: blur(4px);
        padding: 3vw 5%!important;
        display: flex;
        flex-direction: column;
        gap: 3vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-utility {
        background: url('/images/template/bg-qls.png') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1-home #g-utility > .g-container {
        background: rgba(var(--primary-rgb),.9);
        backdrop-filter: blur(4px);
        --webkit-backdrop-filter: blur(4px);
        padding: 2rem 1rem!important;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

@media only screen and (min-width: 50.99rem) {
    .ql-intro-container .g-array-item-text {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .ql-intro-container .ql-intro-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1vw;
    }
    .ql-intro-container .ql-intro-wrapper h1 {
        color: var(--default-white);
        text-align: center;
        display: flex;
        flex-direction: row;
        gap: 1vw;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        font-variant-caps: normal;
        font-weight: 700;
        margin: 0;
        padding: 0;
        line-height: 1;
    }
    .ql-intro-container .ql-intro-wrapper h1:before {
        content: '';
        border-bottom: 2px solid var(--default-white);
        line-height: 0;
        height: 2px;
        width: 5vw;
    }
    .ql-intro-container .ql-intro-wrapper h1:after {
        content: '';
        border-bottom: 2px solid var(--default-white);
        line-height: 0;
        height: 2px;
        width: 5vw;
    }
    .ql-intro-container .ql-intro-wrapper p {
        color: var(--default-white);
        text-align: center;
        font-size: 1.5vw;
        font-style: italic;
        letter-spacing: 2px;
        max-width: 60%;
        margin: 0;
        padding: 0;
        line-height: 1.5;
    }
}

@media only screen and (max-width: 50.99rem) {
    .ql-intro-container .g-array-item-text {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .ql-intro-container .ql-intro-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    .ql-intro-container .ql-intro-wrapper h1 {
        color: var(--default-white);
        text-align: center;
        display: flex;
        flex-direction: row;
        gap: .5rem;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        font-variant-caps: normal;
        font-weight: 700;
        margin: 0;
        padding: 0;
        line-height: 1;
        font-size: 8vw;
    }
    .ql-intro-container .ql-intro-wrapper h1:before {
        content: '';
        border-bottom: 2px solid var(--default-white);
        line-height: 0;
        height: 2px;
        flex: 1;
    }
    .ql-intro-container .ql-intro-wrapper h1:after {
        content: '';
        border-bottom: 2px solid var(--default-white);
        line-height: 0;
        height: 2px;
        flex: 1;
    }
    .ql-intro-container .ql-intro-wrapper p {
        color: var(--default-white);
        text-align: center;
        font-size: 4vw;
        font-style: italic;
        letter-spacing: 2px;
        margin: 0;
        padding: 0;
        line-height: 1.5;
    }
}

@media only screen and (min-width: 50.99rem) {
    .ql-side-icon-title {
        margin: 0;
        padding: 0;
        position: relative;
        /*z-index: 100;*/
    }
    .ql-side-icon-title > .g-content {
        margin: 0;
        padding: 0;
    }
    .ql-side-icon-title > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .ql-side-icon-title .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-side-icon-title .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: 1vw;
    }
    .ql-side-icon-title .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        position: relative;
        box-shadow: var(--default-box-shadow);
        overflow: hidden;
        padding: 7px;
        background: transparent;
        border: 2px solid var(--default-white);
        transition: .3s all ease-in-out;
        aspect-ratio: 1/1;
        border-radius: 50%;
    }
    /*.ql-side-icon-title .g-blockcontent-subcontent-block:hover {
        transform: scale(1.05);
    }*/
    .ql-side-icon-title .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-block-content {
        background: rgba(var(--tertiary-rgb),.7);
    }
    .ql-side-icon-title .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        gap: 1vw;
        background: rgba(255,255,255,.3);
        padding: 1vw 1.5vw!important;
        height: 100%;
        width: 100%;
        border-radius: 50%;
    }
    .ql-side-icon-title .g-blockcontent-subcontent-title-icon {
        margin: 0;
        padding: 0;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 3vw;
        color: var(--default-white); 
        transition: .3s all ease-in-out;
    }
    .ql-side-icon-title .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 0;
        flex: 3;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        transition: .3s all ease-in-out;
    }
    .ql-side-icon-title .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        font-family: var(--title-font-family);
        font-size: 1.45vw;
        line-height: 1.1;
        font-weight: 700;
        display: flex;
        color: var(--default-white); 
        transition: .3s all ease-in-out;
    }
    .ql-side-icon-title .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .ql-side-icon-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;
    }
}

@media only screen and (max-width: 50.99rem) {
    .ql-side-icon-title {
        margin: 0;
        padding: 0;
        padding: 1rem!important;
        position: relative;
        z-index: 100;
    }
    .ql-side-icon-title > .g-content {
        margin: 0;
        padding: 0;
    }
    .ql-side-icon-title > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .ql-side-icon-title .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-side-icon-title .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .ql-side-icon-title .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        position: relative;
        box-shadow: var(--default-box-shadow);
        border-radius: 1rem;
        overflow: hidden;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 3vw 3vw;
        background: var(--secondary-color);
        transition: .3s all ease-in-out;
    }
    .ql-side-icon-title .g-blockcontent-subcontent-block:hover {
        transform: scale(1.05);
    }
    .ql-side-icon-title .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: 2vw;
        width: 100%
    }
    .ql-side-icon-title .g-blockcontent-subcontent-title-icon {
        margin: 0;
        padding: 0;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 10vw;
        color: var(--primary-color); 
        transition: .3s all ease-in-out;
    }
    .ql-side-icon-title .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 0;
        flex: 2;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        transition: .3s all ease-in-out;
    }
    .ql-side-icon-title .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        font-family: var(--title-font-family);
        font-size: 5vw;
        line-height: 5vw;
        font-weight: 400;
        display: flex;
        color: var(--primary-color); 
        transition: .3s all ease-in-out;
    }
    .ql-side-icon-title .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .ql-side-icon-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;
    }
}

/*************** FEATURE ******************/
/*************** MAIN *********************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-container-main > .g-container {
        padding: 3vw 5%!important;
    }
    .site-1-home #g-container-main > .g-container > .g-grid {
        display: flex;
        flex-direction: row;
        gap: 3vw;
    }
    .site-1-home #g-container-main > .g-container > .g-grid > .g-block:has(#g-mainbar) {
        flex: 80;
        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-container-main .g-title {
        text-transform: uppercase;
        font-variant-caps: normal;
        font-weight: 800;
        margin: 0;
        padding: 0;
        line-height: 1;
        font-size: 3vw;
    }

    .site-1-home #g-mainbar {
        display: flex;
        flex-direction: column;
        gap: 2vw;
    }

    .site-1-home #g-container-main .news-button .button {
        background: var(--secondary-color);
        color: var(--primary-color);
        font-size: 1.5vw;
        font-weight: 700;
        line-height: 1;
        padding: 1vw 4vw;
        border-radius: .5rem;
        box-shadow: var(--default-box-shadow);
    }
    .site-1-home #g-container-main .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: 2rem 0!important;
    }
    .site-1-home #g-mainbar {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .site-1-home #g-container-main .g-title {
        text-transform: uppercase;
        font-variant-caps: normal;
        font-weight: 800;
        margin: 0;
        padding: 0;
        line-height: 1;
        font-size: 10vw;
        text-align: center;
    }
    .site-1-home #g-container-main .news-button .button {
        background: var(--secondary-color);
        color: var(--primary-color);
        font-size: 5vw;
        font-weight: 700;
        line-height: 1;
        padding: 1rem;
        border-radius: .5rem;
        box-shadow: var(--default-box-shadow);
    }
    .site-1-home #g-container-main .news-button .button:hover {
        transform: scale(1.05);
    }
}

@media only screen and (min-width: 50.99rem) {
    .ph-rectangle-grid {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 2vw;
    }
    .ph-rectangle-grid > .g-content {
        margin: 0;
        padding: 0;
    }
    .ph-rectangle-grid .g-content-array {
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2vw 2vw;
    }
    .ph-rectangle-grid .g-content-array > .g-grid {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ph-rectangle-grid .g-content-array > .g-grid > .g-block {
        margin: 0;
        padding: 0;
        position: relative;
        overflow: hidden;
        border-radius: 1rem;
        box-shadow: var(--default-box-shadow);
        transition: .3s all ease-in-out;
    }
    .ph-rectangle-grid .g-content-array > .g-grid > .g-block:hover {
        transform: scale(.975);
    }
    .ph-rectangle-grid .g-content-array > .g-grid > .g-block:hover .g-array-item-image img {
        transform: scale(1.05);
    }
    .ph-rectangle-grid .g-content-array > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ph-rectangle-grid .g-array-item {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ph-rectangle-grid .g-array-item-image {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ph-rectangle-grid .g-array-item-image a {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ph-rectangle-grid .g-array-item-image img {
        margin: 0;
        padding: 0;
        aspect-ratio: 16/9;
        transform: scale(1.1);
        width: 100%;
        height: auto;
        object-position: center;
        object-fit: cover;
        transition: .3s all ease-in-out;
    }
    .ph-rectangle-grid .g-array-item-title {
        margin: 0;
        padding: 0;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(var(--primary-rgb),.9);
        width: 100%;
        height: 33%;
        padding: .75vw 1vw;
        transition: .3s all ease-in-out;
    }
    .ph-rectangle-grid .g-item-title {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 1.5vw;
        font-family: var(--title-font-family);
        line-height: 1.2;
        text-transform: none;
        font-variant-caps: normal;
        font-weight: 500;
        text-decoration: none;
        text-align: left;
        border: none;
        border-radius: 0;
        background: transparent;
        transition: .3s all ease-in-out;
    }
    .ph-rectangle-grid .g-item-title a {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 1.5vw;
        font-family: var(--title-font-family);
        line-height: 1.2;
        text-transform: none;
        font-variant-caps: normal;
        font-weight: 500;
        text-decoration: none;
        text-align: left;
        border: none;
        border-radius: 0;
        background: transparent;
        transition: .3s all ease-in-out;
    }
    .ph-rectangle-grid .g-array-item-read-more {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        z-index: 10;
    }
    .ph-rectangle-grid .g-array-item-read-more 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 (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-widgets.png') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1-home #g-expanded > .g-container {
        padding: 3vw 5%!important;
        background: rgba(var(--primary-rgb),.9);
        backdrop-filter: blur(4px);
        --webkit-backdrop-filter: blur(4px);
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-expanded {
        background: url('/images/template/bg-widgets.png') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1-home #g-expanded > .g-container {
        padding: 2rem 1rem!important;
        background: rgba(var(--primary-rgb),.9);
        backdrop-filter: blur(4px);
        --webkit-backdrop-filter: blur(4px);
    }
}

@media only screen and (min-width: 50.99rem) {
    .hp-widgets-wrapper {
        display: flex;
        flex-direction: row;
        gap: 5vw;
    }
    .hp-widgets-wrapper .hp-widgets-fb-wrapper {
        flex: 40;
        background: #0D2A54;
        padding: 1.5vw;
        border-radius: 1.5rem
    }
    .hp-widgets-wrapper .hp-widgets-fb-feed {
        height: 100%;
    }
    .hp-widgets-wrapper .hp-widgets-hdi-video-wrapper {
        flex: 60;
        display: flex;
        flex-direction: column;
        gap: 3vw;
    }
    .hp-widgets-wrapper .hp-widgets-hdi-video-wrapper > div {
        flex: 1;
        background: rgba(255,255,255,.3);
        border-radius: 1.5rem;
    }
    .hp-widgets-wrapper .hp-widgets-video-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1vw;
    }
    .hp-widgets-wrapper .hp-widgets-video-frame {
        width: 100%;
    }
    .hp-widgets-wrapper .hp-widgets-video-wrapper iframe {
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
        aspect-ratio: 16/9;
        width: 100%;
        height: auto;
    }
    .hp-widgets-wrapper .hp-widgets-hdi-wrapper {
        padding: 3vw;
        height: fit-content;
    }
    .hp-widgets-wrapper .hp-widgets-hdi-box {
        min-height: 15vw;
        width: 100%;
        border: 2px solid var(--default-white);
        border-radius: .75rem;
        position: relative;
        border-top: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hp-widgets-wrapper .hdi-title {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        gap: 3vw;
        transform: translateY(-50%);
        line-height: 1;
        font-size: 3vw;
        color: var(--default-white);
        font-weight: 700;
    }
    .hp-widgets-wrapper .hdi-title:before {
        content: '';
        border-top: 2px solid var(--default-white);
        border-left: 2px solid var(--default-white);
        border-top-left-radius: .75rem;
        line-height: 0;
        height: 1.5vw;
        flex: 1;
        margin-left: -2px!important;
    }
    .hp-widgets-wrapper .hdi-title:after {
        content: '';
        border-top: 2px solid var(--default-white);
        border-right: 2px solid var(--default-white);
        border-top-right-radius: .75rem;
        line-height: 0;
        height: 1.5vw;
        flex: 1;
        margin-right: -2px!important;
    }
}

.hp-widgets-wrapper .hp-widgets-hdi-box a {
	color: var(--default-white);
}

@media only screen and (max-width: 50.99rem) {
    .hp-widgets-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .hp-widgets-wrapper .hp-widgets-fb-wrapper {
        flex: 40;
        background: #0D2A54;
        padding: 1rem;
        border-radius: 1.5rem
    }
    .hp-widgets-wrapper .hp-widgets-fb-feed {
        height: 100%;
    }
    .hp-widgets-wrapper .hp-widgets-hdi-video-wrapper {
        flex: 60;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .hp-widgets-wrapper .hp-widgets-hdi-video-wrapper > div {
        flex: 1;
        background: rgba(255,255,255,.3);
        border-radius: 1.5rem;
    }
    .hp-widgets-wrapper .hp-widgets-video-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }
    .hp-widgets-wrapper .hp-widgets-video-frame {
        width: 100%;
    }
    .hp-widgets-wrapper .hp-widgets-video-wrapper iframe {
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
        aspect-ratio: 16/9;
        width: 100%;
        height: auto;
    }
    .hp-widgets-wrapper .hp-widgets-hdi-wrapper {
        padding: 2rem;
        height: fit-content;
    }
    .hp-widgets-wrapper .hp-widgets-hdi-box {
        min-height: 40vw;
        width: 100%;
        border: 2px solid var(--default-white);
        border-radius: .75rem;
        position: relative;
        border-top: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hp-widgets-wrapper .hdi-title {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        gap: 1rem;
        transform: translateY(-50%);
        line-height: 1;
        font-size: 8vw;
        color: var(--default-white);
        font-weight: 700;
    }
    .hp-widgets-wrapper .hdi-title:before {
        content: '';
        border-top: 2px solid var(--default-white);
        border-left: 2px solid var(--default-white);
        border-top-left-radius: .75rem;
        line-height: 0;
        height: 4vw;
        flex: 1;
        margin-left: -2px!important;
    }
    .hp-widgets-wrapper .hdi-title:after {
        content: '';
        border-top: 2px solid var(--default-white);
        border-right: 2px solid var(--default-white);
        border-top-right-radius: .75rem;
        line-height: 0;
        height: 4vw;
        flex: 1;
        margin-right: -2px!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .facebook-container > .g-content {
        height: 100%;
    }
    .facebook-container > .g-content > .g-content-array {
        height: 100%;
    }
    .facebook-container > .g-content > .g-content-array > .g-grid {
        height: 100%;
    }
    .facebook-container > .g-content > .g-content-array > .g-grid > .g-block {
        height: 100%;
    }
    .facebook-container > .g-content > .g-content-array > .g-grid > .g-block > .g-content {
        height: 100%;
    }
    .facebook-container > .g-content > .g-content-array > .g-grid > .g-block > .g-content > .g-array-item {
        height: 100%;
    }
    .facebook-container > .g-content > .g-content-array > .g-grid > .g-block > .g-content > .g-array-item > .g-array-item-text {
        height: 100%;
    }
    .facebook-container .eapps-widget {
        height: 100%;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
    }
    .facebook-container .eapps-widget > .eapps-widget {
        height: 100%;
    }
    .facebook-container .eapps-widget > .eapps-widget > .eapps-facebook-feed-container {
        height: 100%;
    }
    .facebook-container .eapps-widget > .eapps-widget > .eapps-facebook-feed-container > .eapps-facebook-feed-inner {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .facebook-container .eapps-widget > .eapps-widget > .eapps-facebook-feed-container > .eapps-facebook-feed-inner > .eapps-facebook-feed-content-container {
        /*height: unset!important;*/
        flex: 1 1 auto;
    }
}

@media only screen and (min-width: 50.99rem) {
    .search-dropdwn {
        width: 75%; 
        display: flex; 
        align-items: center; 
        justify-content: center;
    }

    #dropdwn-outer-box {
        /*height: 357px; 
        width: 488px; */
        width: 100%;
        position: relative; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        flex-direction: column;
    }

    #dropdwn-menu {
        overflow-x: hidden!important; 
        position: absolute; 
        left: 0; 
        right: 0; 
        top: 100%; 
        min-height: 3.25vw;
        max-height: 30vw; 
        background: rgba(var(--primary-rgb),1); 
        border-right: 2px solid #ffffff; 
        overflow: scroll; 
        border-left: 2px solid #ffffff; 
        border-bottom: 2px solid #ffffff; 
        border-bottom-left-radius: 7px; 
        border-bottom-right-radius: 7px; 
        width: 100%;
    }
    #dropdwn-menu::-webkit-scrollbar {
        width: 5px;
        background: transparent;
        overflow-x: hidden;
    }
    #dropdwn-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    #dropdwn-menu::-webkit-scrollbar-thumb {
        background: #ffffff;
    }
    #dropdwn-menu::-webkit-scrollbar-thumb:hover {
        background: #ffffff;
    }
    #dropdwn-menu::-webkit-scrollbar-corner {
        background: transparent;
        display: none;
    }

    #dropdwn-menu .weblinks a {
        color: #ffffff;
    }
    #dropdwn-menu .weblinks a:hover {
        background: rgba(255,255,255,.4);
    }
    #dropdwn-menu .weblinks li {
        list-style: none; 
        height: fit-content; 
        display: flex; 
        position: relative; 
        align-items: center; 
        margin: 0;
    }
    #dropdwn-menu .weblinks li a {
        /*position: absolute; */
        top: 0; 
        bottom: 0; 
        left: 0; 
        right: 0; 
        font-size: 1.25vw;
        display: flex; 
        align-items: center; 
        padding: 1vw;
        width: 100%;
        line-height: 1;
    }
    #dropdwn-menu .weblinks li p {
        margin: 0;
    }
    #dropdwn-menu .weblinks {
        margin: 0; 
        padding: 0;
        height: fit-content;
    }

    .hidden-dropdwn {
        display: none;
    }
    .hidden-radius {
        border-bottom-left-radius: 0px!important; 
        border-bottom-right-radius: 0px!important;
    }
    .dropdwn-button-background {
        background: rgb(var(--primary-rgb));
    }

    .dropdwn-button {
        height: fit-content;
        width: 100%; 
        border: 2px solid #ffffff; 
        display: flex; 
        justify-content: space-between;
        align-items: center; 
        border-radius: 7px; 
        position: relative;
        padding: 1vw;
    }
    .dropdwn-button:after {
        content: '\f0d7';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        line-height: 1;
        margin: 0;
        padding: 0;
        font-size: 1.5vw;
        color: var(--default-white);
    }
    .dropdwn-button:hover {
        cursor: pointer; 
        background: rgba(42,71,107,.9);
    }
    .dropdwn-button p {
        color: #ffffff; 
        margin: 0;
        padding: 0;
        font-size: 1.25vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .search-dropdwn {
        width: 75%; 
        display: flex; 
        align-items: center; 
        justify-content: center;
    }

    #dropdwn-outer-box {
        /*height: 357px; 
        width: 488px; */
        width: 100%;
        position: relative; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        flex-direction: column;
    }

    #dropdwn-menu {
        overflow-x: hidden!important; 
        position: absolute; 
        left: 0; 
        right: 0; 
        top: 100%; 
        min-height: 3.25vw;
        max-height: 30vw; 
        background: rgba(var(--primary-rgb),1); 
        border-right: 2px solid #ffffff; 
        overflow: scroll; 
        border-left: 2px solid #ffffff; 
        border-bottom: 2px solid #ffffff; 
        border-bottom-left-radius: 7px; 
        border-bottom-right-radius: 7px; 
        width: 100%;
    }
    #dropdwn-menu::-webkit-scrollbar {
        width: 5px;
        background: transparent;
        overflow-x: hidden;
    }
    #dropdwn-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    #dropdwn-menu::-webkit-scrollbar-thumb {
        background: #ffffff;
    }
    #dropdwn-menu::-webkit-scrollbar-thumb:hover {
        background: #ffffff;
    }
    #dropdwn-menu::-webkit-scrollbar-corner {
        background: transparent;
        display: none;
    }

    #dropdwn-menu .weblinks a {
        color: #ffffff;
    }
    #dropdwn-menu .weblinks a:hover {
        background: rgba(255,255,255,.4);
    }
    #dropdwn-menu .weblinks li {
        list-style: none; 
        height: fit-content; 
        display: flex; 
        position: relative; 
        align-items: center; 
        margin: 0;
    }
    #dropdwn-menu .weblinks li a {
        /*position: absolute; */
        top: 0; 
        bottom: 0; 
        left: 0; 
        right: 0; 
        font-size: 5vw;
        display: flex; 
        align-items: center; 
        padding: .75rem;
        width: 100%;
        line-height: 1;
    }
    #dropdwn-menu .weblinks li p {
        margin: 0;
    }
    #dropdwn-menu .weblinks {
        margin: 0; 
        padding: 0;
        height: fit-content;
    }

    .hidden-dropdwn {
        display: none;
    }
    .hidden-radius {
        border-bottom-left-radius: 0px!important; 
        border-bottom-right-radius: 0px!important;
    }
    .dropdwn-button-background {
        background: rgb(var(--primary-rgb));
    }

    .dropdwn-button {
        height: fit-content;
        width: 100%; 
        border: 2px solid #ffffff; 
        display: flex; 
        justify-content: space-between;
        align-items: center; 
        border-radius: 7px; 
        position: relative;
        padding: 1rem;
    }
    .dropdwn-button:after {
        content: '\f0d7';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        line-height: 1;
        margin: 0;
        padding: 0;
        font-size: 6vw;
        color: var(--default-white);
    }
    .dropdwn-button:hover {
        cursor: pointer; 
        background: rgba(42,71,107,.9);
    }
    .dropdwn-button p {
        color: #ffffff; 
        margin: 0;
        padding: 0;
        font-size: 5vw;
    }
}

/*************** 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;
    }
}

.site-1 .ql-icon-bg {
    --ql-num-cols: 3;
    --ql-gap: 4vw;
    --ql-num-cols-gaps: calc(var(--ql-num-cols) - 1);
    --ql-num-cols-gaps-total: calc(var(--ql-num-cols-gaps) * var(--ql-gap));
    --ql-num-cols-gaps-quotient: calc(var(--ql-num-cols-gaps-total) / var(--ql-num-cols));
    --ql-flex: calc(100% / var(--ql-num-cols));
    --ql-flex-gap-total: calc(var(--ql-flex) - var(--ql-num-cols-gaps-quotient));
    --ql-font-size-mobile: 4vw;
}

@media only screen and (max-width: 50.99rem) {
    .site-1 .ql-icon-bg-mobile {
        --ql-num-cols: 2;
        --ql-gap: 5vw;
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1 .ql-icon-bg {
        /*--ql-flex-gap: 2vw;*/
        --ql-font-size-desktop: 1.6vw;
    }

    .site-2 .ql-icon-bg {
        --ql-flex-gap: 2vw;
        --ql-font-size-desktop: 2.5vw;
    }

    .ql-icon-bg .g-blockcontent-subcontent {
        flex-wrap: wrap;
        gap: 4vw var(--ql-gap);
    }
    .ql-icon-bg .g-blockcontent-subcontent-block {
        /*min-width: 27%;*/
        max-width: var(--ql-flex-gap-total);
        flex: var(--ql-flex-gap-total);
        border-radius: 1.5rem;
        /*overflow: hidden;*/
        width: unset;
        height: unset;
        aspect-ratio: 16 / 9;
        box-shadow: 0px 0px 15px rgba(0,0,0,.5);
        transition: .3s all ease-in-out;
    }
    .ql-icon-bg .g-blockcontent-subcontent-block:hover {
        transform: scale(1.10);
    }
    .ql-icon-bg .g-blockcontent-subcontent-img {
        width: 100%;
        height: unset;
        aspect-ratio: 16 / 9;
        position: unset;
        border-radius: 1.5rem;
    }
    .ql-icon-bg .g-blockcontent-subcontent-block-content:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
        background: rgba(var(--primary-rgb),.9);
        border-radius: .75rem;
        backdrop-filter: blur(4px);
        --webkit-backdrop-filter: blur(4px);
    }
    .ql-icon-bg .g-blockcontent-subcontent-desc {
        position: absolute;
        top: 0;
        bottom: 40%;
        left: 0;
        right: 0;
        width: 100%;
        height: 60%;
        z-index: 5;
        color: var(--ql-title-color);
        font-size: var(--ql-icon-size-desktop);
        display: flex;
        justify-content: center;
        align-items: flex-end;
        transition: var(--default-transition);
    }
    .ql-icon-bg .g-blockcontent-subcontent-title-text {
        font-weight: 300;
    }
    .ql-icon-bg .g-blockcontent-subcontent-desc img {
        height: 5vw;
        width: 5vw;
        margin-bottom: .25vw!important;
    }
    .ql-icon-bg .g-blockcontent-subcontent-title-icon {
        bottom: 50%;
        height: 50%;
        text-shadow: 2px 2px 15px rgba(0,0,0,.5);
    }
    .ql-icon-bg .g-blockcontent-subcontent-title {
        top: 50%;
        bottom: 1.25vw;
        height: calc(40% - 1.25vw);
        padding: 1vw 2vw;
        font-weight: 300;
    }
    .ql-icon-bg .g-blockcontent-subcontent-title {
        text-shadow: 2px 2px 15px rgba(0,0,0,.5);
    }
    .ql-icon-bg .g-blockcontent-subcontent-subtitle {
        margin: 0;
        padding: 0;
        position: absolute;
        bottom: -1.25vw;
        left: 7.5%;
        right: 7.5%;
        width: 85%;
        height: fit-content;
        text-align: center;
        font-size: 1.25vw;
        font-weight: 700;
        font-family: var(--body-font-family);
        color: var(--primary-color);
        background: var(--secondary-color);
        padding: .5vw;
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
        border-radius: .75rem;
        z-index: 1;
        overflow: hidden;
    }
    .ql-icon-bg .g-blockcontent-subcontent-subtitle:before {
        position: absolute;
        content: '';
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 0%;
        height: 6vw;
        z-index: -1;
        border-radius: .75rem;
        transition: .3s all ease-in-out;

        background: radial-gradient(circle, var(--primary-color), var(--tertiary-color));
        background-color: var(--secondary-color);
        background-size: 300% 300%;

        -webkit-animation: moveGradient 35s linear infinite;
        -moz-animation: moveGradient 35s linear infinite;
        animation: moveGradient 35s linear infinite;
    }
    .ql-icon-bg .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-subtitle:before {
        width: 100%;
    }
    .ql-icon-bg .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-subtitle {
        color: var(--default-white);
    }
    .ql-icon-bg .g-blockcontent-subcontent-subtitle>* {
        z-index: 1;
        position: relative;
    }
}

@media only screen and (max-width: 50.99rem) {
    .ql-icon-bg-mobile .g-blockcontent-subcontent {
        flex-wrap: wrap;
        gap: 5vw var(--ql-gap);
    }
    .ql-icon-bg-mobile .g-blockcontent-subcontent-block {
        /*min-width: 27%;*/
        max-width: var(--ql-flex-gap-total);
        flex: var(--ql-flex-gap-total);
        border-radius: .75rem;
        /*overflow: hidden;*/
        width: unset;
        height: unset;
        aspect-ratio: 4 / 3;
        box-shadow: 0px 0px 15px rgba(0,0,0,.5);
        transition: .3s all ease-in-out;
    }
    /*.ql-icon-bg-mobile .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-img {
        transform: scale(1.10);
    }*/
    .ql-icon-bg-mobile .g-blockcontent-subcontent-img {
        width: 100%;
        height: unset;
        aspect-ratio: 4 / 3;
        position: unset;
        border-radius: .75rem;
        transition: .3s all ease-in-out;
    }
    .ql-icon-bg-mobile .g-blockcontent-subcontent-block-content:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
        background: rgba(var(--primary-rgb),.5);
        border-radius: .75rem;
    }
    .ql-icon-bg-mobile .g-blockcontent-subcontent-desc {
        position: absolute;
        top: 0;
        bottom: 40%;
        left: 0;
        right: 0;
        width: 100%;
        height: 60%;
        z-index: 5;
        color: var(--ql-title-color);
        font-size: var(--ql-icon-size-desktop);
        display: flex;
        justify-content: center;
        align-items: flex-end;
        transition: var(--default-transition);
        display: none!important;
    }
    .ql-icon-bg-mobile .g-blockcontent-subcontent-desc img {
        height: 5vw;
        width: 5vw;
        margin-bottom: .25vw!important;
    }
    .ql-icon-bg-mobile .g-blockcontent-subcontent-title-icon {
        bottom: 40%;
        height: 60%;
        text-shadow: 2px 2px 15px rgba(0,0,0,.5);
        display: none!important;
    }
    .ql-icon-bg-mobile .g-blockcontent-subcontent-title {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        padding: 1vw 2vw;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .ql-icon-bg-mobile .g-blockcontent-subcontent-title {
        text-shadow: 2px 2px 15px rgba(0,0,0,.5);
    }
    .ql-icon-bg-mobile .g-blockcontent-subcontent-subtitle {
        margin: 0;
        padding: 0;
        position: absolute;
        bottom: -2.25vw;
        left: 7.5%;
        right: 7.5%;
        width: 85%;
        height: fit-content;
        text-align: center;
        font-size: 3vw;
        font-weight: 700;
        font-family: var(--body-font-family);
        color: var(--primary-color);
        background: var(--secondary-color);
        padding: 1vw;
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
        border-radius: .75rem;
        z-index: 1;
        overflow: hidden;
    }
    .ql-icon-bg-mobile .g-blockcontent-subcontent-subtitle:before {
        position: absolute;
        content: '';
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 0%;
        height: 6vw;
        z-index: -1;
        border-radius: .75rem;
        transition: .3s all ease-in-out;

        background: radial-gradient(circle, var(--primary-color), var(--tertiary-color));
        background-color: var(--secondary-color);
        background-size: 300% 300%;

        -webkit-animation: moveGradient 35s linear infinite;
        -moz-animation: moveGradient 35s linear infinite;
        animation: moveGradient 35s linear infinite;
    }
    .ql-icon-bg-mobile .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-subtitle:before {
        width: 100%;
    }
    .ql-icon-bg-mobile .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-subtitle {
        color: var(--default-white);
    }
    .ql-icon-bg-mobile .g-blockcontent-subcontent-subtitle>* {
        z-index: 1;
        position: relative;
    }
}

@media only screen and (max-width: 50.99rem) {
    .ql-icon-bg.ql-dm .g-blockcontent-subcontent-subtitle {
        display: none!important;
    }
}

/*************** 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;
    }
}

/*************** 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;}

.link-line {
    text-decoration: underline;
}

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-footer > .g-container {
        padding: 5vw 5%!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-footer > .g-container {
        padding: 2rem 1rem!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .footer-wrapper {
        display: flex;
        flex-direction: row;
        gap: 5vw;
        justify-content: space-between;
    }
    .footer-wrapper .footer-content-wrapper {
        flex: 72;
        display: flex;
        flex-direction: row;
        gap: 5vw;
        justify-content: space-between;
    }
    .footer-wrapper .footer-content-wrapper .footer-content-column {
        flex: 1;
    }
    .footer-wrapper .footer-content-wrapper :is(h1,h2,h3,h4,h5,h6) {
        color: var(--default-white);
        font-size: 2vw;
        font-weight: 700;
        margin: 0;
        padding: 0;
        text-transform: uppercase;
        font-variant-caps: normal;
        line-height: 1;
        letter-spacing: 2px;
        margin-bottom: 1vw;
    }
    .footer-wrapper .footer-content-wrapper p {
        font-size: 1.5vw;
        line-height: 2;
        font-weight: 500;
    }
    .footer-wrapper .footer-buttons-wrapper {
        flex: 28;
        display: flex;
        flex-direction: column;
        gap: .75vw;
    }
    .footer-buttons-row {
        width: 100%;
    }
    .footer-buttons-row .button {
        width: 100%;
        padding: .75vw 1vw;
        font-size: 1.25vw;
        background: rgba(255,255,255,.3);
        border-radius: 1rem;
        line-height: 1;
        font-weight: 600;
    }
    .footer-buttons-row .button:hover {
        background: var(--secondary-color)!important;
        color: var(--primary-color)!important;
        opacity: 1!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .footer-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        justify-content: space-between;
    }
    .footer-wrapper .footer-content-wrapper {
        flex: 72;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        justify-content: space-between;
    }
    .footer-wrapper .footer-content-wrapper .footer-content-column {
        flex: 1;
    }
    .footer-wrapper .footer-content-wrapper :is(h1,h2,h3,h4,h5,h6) {
        color: var(--default-white);
        font-size: 8vw;
        font-weight: 700;
        margin: 0;
        padding: 0;
        text-transform: uppercase;
        font-variant-caps: normal;
        line-height: 1;
        letter-spacing: 2px;
        margin-bottom: .5rem;
    }
    .footer-wrapper .footer-content-wrapper p {
        font-size: 5vw;
        line-height: 2;
        font-weight: 500;
    }
    .footer-wrapper .footer-buttons-wrapper {
        flex: 28;
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }
    .footer-buttons-row {
        width: 100%;
    }
    .footer-buttons-row .button {
        width: 100%;
        padding: .75rem;
        font-size: 5vw;
        background: rgba(255,255,255,.3);
        border-radius: 1rem;
        line-height: 1;
        font-weight: 600;
    }
    .footer-buttons-row .button:hover {
        background: var(--secondary-color)!important;
        color: var(--primary-color)!important;
        opacity: 1!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(--primary-color); 
    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;
    }
}

@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;
    }
}
}