@import url('//fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
/************ TEMPLATE  ************
REVISIONS
- None at the moment

FONTS / ALTERNATIVES / WEIGHTS
Display: PT Serif
Body: Source Sans
Font Colors: Dark blue, dark gray, or white

COLORS (GRADIENTS IF ANY) INCLUDE RGB
Primary: Dark Blue 1A607C rgb(26,96,124)
Secondary: Light Blue C5E0ED rgb(197,224,237)
Tertiary: Yellow FFC24D rgb(255,194,77)
Background Color / Off-white: FFF6F3 rgb(255,246,243)

IMAGES (OPACITY, BLUR RADIUS IN PX, ROTATOR RATIO)
- Footer Image: 84% opacity and 2px radius blur

VECTOR GRAPHICS (IF ANY) [SPECIAL ICONS?]
- Logo: I included just text to use as SVG and then PNG for their logo seal.
- Diocese of Bridgeport: I included the PNG of the seal. Use PT Serif for the words "The Diocese of Bridgeport" rather than the sans-serif I used.

ADDITIONAL NOTES (FX, REQUESTS, HELPFUL TEXT)
- Create some kind of cool effect on the Quicklinks with the yellow color. Maybe have it slide up and turn the text bold black. Also, center the text in the blue area when not in hover.
- Make the hover effect on yellow buttons just turn a dark yellow with white text. Dark enough to have a good contrast with the text. Try BC6F00 rgb(188,111,0)
-- Included a screenshot as an example for hover effects.

(Reminder for Adam) Make image sizes  500 - 600kb or smaller
************/

.site-1 {
    --primary-color: #1A607C;
    --secondary-color: #C5E0ED;
    --tertiary-color: #FFC24D;

    --primary-rgb: 26,96,124;
    --secondary-rgb: 197,224,237;
    --tertiary-rgb: 255,194,77;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: 'PT Serif', serif;
    --body-font-family: 'Source Sans 3', 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);

    --mt-header-color: var(--default-black);
    --mt-para-color: var(--default-black);
	--mt-header-desktop: 2.25vw;

    --ph-big-sq-width: 34vw;
    --ph-background-color: var(--default-white);
    --ph-background-hover: var(--tertiary-color);
}

.site-1 .ql-fa-toplinks {
    --ql-icon-color: var(--primary-color);
    --ql-title-color: var(--primary-color);
}

h6 {color: #FFC24D;}

.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-offcanvas-toggle {
    background: white;
    display: grid;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
  }

/*************** 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 ***************/
.g-main-nav .g-toplevel>li>.g-menu-item-container {
	padding: 0.625rem 0.25rem;
}

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-navigation > .g-container > .g-grid:has(.g-main-nav) {
        border-bottom: .75vw solid var(--tertiary-color);
        box-shadow: var(--default-box-shadow);
        position: relative;
    }
    .site-1 #g-navigation .g-main-nav > .g-toplevel {
        padding-left: 10%;
    }
    .site-1 #g-navigation .g-block.logo-icon {
        margin-bottom: -75px;
        position: relative;
        z-index: 100;
    }
    .site-1 #g-navigation > .g-container > .g-grid:has(.logo-icon, .logo-text) {
        padding: 1vw;
    }
    .site-1 #g-navigation .logo-text .g-logo {
        padding-left: 1vw;
    }
    .site-1 #g-navigation .logo-text .g-logo img {
        width: 95%;
    }

    .ql-fa-toplinks .g-blockcontent-subcontent-block:not(.ql-fa-toplinks .g-blockcontent-subcontent-block:last-child) {
        border: none;
    }

    .ann-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .ann-container .button {
        background: var(--tertiary-color);
        font-size: 1.25vw;
        line-height: 1;
        color: var(--primary-color);
        font-family: var(--title-font-family);
        border: 2px solid var(--primary-color);
        padding: .9vw .75vw;
        font-weight: 700;
    }
    .ann-container .button:hover {
        transform: scale(1.05);
        background: var(--primary-color);
        color: var(--default-white);
    }
}

@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.1vw;
        font-family: var(--body-font-family);
        padding: 0.625rem 0.775rem;
    }
    .g-main-nav .g-sublevel>li>.g-menu-item-container>.g-menu-item-content>.g-menu-item-title {
        font-size: 1.1vw;
        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(--secondary-color);
        font-size: 1.25vw;
    }
    .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;
    }

    .ann-container {
        padding: 1rem!important;
    }
    .ann-container .button {
        background: var(--tertiary-color);
        font-size: 4vw;
        line-height: 1;
        color: var(--primary-color);
        font-family: var(--title-font-family);
        border: 2px solid var(--primary-color);
        padding: 1rem;
        font-weight: 700;
    }
    .ann-container .button:hover {
        transform: scale(1.05);
        background: var(--primary-color);
        color: var(--default-white);
    }
}
/*************** SLIDESHOW ****************/ 
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-slideshow > .g-container {
        padding: 3vw 5% 7vw 5%!important;
    }
    .site-1-home #g-slideshow > .g-container > .g-grid {
        gap: 3vw;
    }
    .site-1-home #g-slideshow > .g-container > .g-grid .mass-times-block {
        flex: 25;
        width: unset;
        max-width: 25%;
    }
    .site-1-home #g-slideshow > .g-container > .g-grid .fullwidth-swiper {
        flex: 75;
        width: unset;
        /*max-width: 75%;*/
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
    }

    .site-1-home .mass-times-block {
        background: none!important;
    }
    .site-1-home .mass-times-block > .g-content {
        background: none!important;
    }

    .mt-big-header {
        font-size: 3vw!important;
        text-align: center;
        font-weight: 700!important;
        color: var(--primary-color)!important;
		margin-bottom: 1vw !important;
    }

    .fullwidth-swiper .g-swiper.swiper-container-horizontal>.swiper-pagination-bullets {
        left: unset;
        right: 1rem;
        bottom: 1vw;
        transform: none;
        /*background: rgba(var(--primary-rgb),.6);*/
        border-radius: 1.5rem / 50%;
        /*backdrop-filter: blur(4px);*/
        flex-direction: row;
        gap: .5rem;
        padding: .5rem;
    }
    .fullwidth-swiper :is(.g-swiper.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .g-swiper.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet) {
        margin: 0;
        border: none;
        height: 40px;
        width: 40px;
    }
    .fullwidth-swiper :is(.g-swiper.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .g-swiper.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet):not(.swiper-pagination-bullet-active) {
        background: rgba(255,255,255,.5);
    }
    .fullwidth-swiper :is(.g-swiper.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet-active::after, .g-swiper.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet-active::after) {
        display: none!important;
    }
    .g-swiper.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet-active::after, .g-swiper.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet-active::after {
        display: none!important;
    }
    .g-swiper.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet::after, .g-swiper.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet::after {
        display: none!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .fullwidth-swiper {
        order: 1;
    }
    .mass-times-block {
        order: 2;
    }

    .site-1-home .mass-times-block > .g-content {
        background: var(--secondary-color)!important;
    }
}

/*************** HEADER *******************/
/*************** ABOVE ********************/
/*************** SHOWCASE *****************/
/*************** UTILITY ******************/

#g-utility .g-blockcontent-subcontent-title-text {
	font-weight: 400;
} 


@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-utility > .g-container {
        padding: 0 5% 2vw 5%!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-utility > .g-container {
        padding: 2rem 0!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1-home .ql-inner-box {
        --ql-background-color: transparent;
        --ql-background-hover: transparent;
        margin-top: -4vw!important;
    }
	.anniversary .ql-inner-box {
		margin-bottom: 4vw;
	}
	
    .ql-inner-box .g-blockcontent-subcontent-title > .g-blockcontent-subcontent-title-text {
        border: none;
        transition: .3s all ease-in-out;
    }
    .ql-inner-box .g-blockcontent-subcontent-block {
        margin: .625rem;
        background: var(--primary-color);
        position: relative;
        border-radius: .5rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
    }
    .ql-inner-box .g-blockcontent-subcontent-block:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1vw;
        background: var(--tertiary-color);
        width: 100%;
        transition: .3s all ease-in-out;
        z-index: 1;
    }
    .ql-inner-box .g-blockcontent-subcontent-block:hover:after {
        height: 100%;
    }
    .ql-inner-box .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title > .g-blockcontent-subcontent-title-text {
        color: var(--primary-color);
    }
    .ql-inner-box .g-blockcontent-subcontent-block-content {
        margin: 0;
        z-index: 10;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home .ql-inner-box {
        --ql-background-color: transparent;
        --ql-background-hover: transparent;
        margin-top: -4vw!important;
    }
    .ql-inner-box .g-blockcontent-subcontent-title > .g-blockcontent-subcontent-title-text {
        transition: .3s all ease-in-out;
    }
    .ql-inner-box .g-blockcontent-subcontent-block {
        /*margin: .625rem;*/
        background: var(--primary-color);
        position: relative;
        border-radius: .5rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
    }
    .ql-inner-box .g-blockcontent-subcontent-block:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1vw;
        background: var(--tertiary-color);
        width: 100%;
        transition: .3s all ease-in-out;
        z-index: 1;
    }
    .ql-inner-box .g-blockcontent-subcontent-block:hover:after {
        height: 100%;
    }
    .ql-inner-box .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title > .g-blockcontent-subcontent-title-text {
        color: var(--primary-color);
    }
    .ql-inner-box .g-blockcontent-subcontent-block-content {
        margin: 0;
        z-index: 10;
    }
}

/*************** FEATURE ******************/
/*************** MAIN *********************/
.parish-home #g-container-main {
    padding: 0 5%;
}

@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-aside .g-title {
        font-size: 2vw!important;
        margin: 0!important;
        padding: 0!important;
    }

    .site-1-home #g-container-main > .g-grid > .g-block:has(#g-aside) {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .ph-sq-5 .g-content-array > .g-grid > .g-block {
        border-radius: .5rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
    }

    .site-1-home #g-container-main .g-title {
        margin-left: .625rem;
        padding: 1.5rem;
        font-size: 4vw;
    }

    .news-button .button {
        background: var(--tertiary-color);
        color: var(--default-black);
        border: 2px solid var(--default-white);
        box-shadow: var(--default-box-shadow);
        padding: 1vw 3vw;
        border-radius: 1.5vw / 50%;
        font-size: 1.5vw;
    }
    .news-button .button:hover {
        background: var(--primary-color);
        color: var(--default-white);
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1-sub #g-mainbar {
        min-height: 30vh;
    }
}

@media only screen and (max-width: 50.99rem) {
    :is(.site-1-sub, .site-2-sub) #g-mainbar > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
}

/*************** EXPANDED *****************/ 
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-expanded > .g-container {
        padding: 2vw 5%!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-expanded > .g-container {
        padding: 2rem!important;
    }
    .site-1-home #g-expanded > .g-container > .g-grid {
        gap: 2rem;
    }
}

@media only screen and (min-width: 50.99rem) {
    .amfc-box .g-array-item-text {
        margin: 0;
        padding: 0;
        padding-right: 4vw;
    }
    .amfc-wrapper {
        display: flex;
        flex-direction: row;
        gap: 2vw;
    }
    .amfc-image {
        width: 70%;
        border: 2px solid var(--default-white);
        border-radius: .5rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow)
    }
    .amfc-image img {
        width: 100%;
        aspect-ratio: 3/4;
        object-position: center;
        object-fit: cover;
    }
    .amfc-content {
        display: flex;
        flex-direction: column;
        gap: 1vw;
    }
    .amfc-content .amfc-title :is(h1,h2,h3,h4,h5,h6) {
        color: var(--default-white);
        font-size: 2.5vw;
    }
    .amfc-content .amfc-article .g-array-item-text {
        color: var(--default-white);
        font-size: 1.25vw;
    }
    .amfc-content .amfc-article .g-array-item-read-more .button {
        background: var(--default-white);
        color: var(--primary-color);
        font-size: 1.5vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .amfc-box .g-array-item-text {
        margin: 0;
        padding: 0;
        /*padding-right: 4vw;*/
    }
    .amfc-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2vw;
        justify-content: center;
        align-items: center;
    }
    .amfc-image {
        width: 70%;
        border: 2px solid var(--default-white);
        border-radius: .5rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow)
    }
    .amfc-image img {
        width: 100%;
        aspect-ratio: 3/4;
        object-position: center;
        object-fit: cover;
    }
    .amfc-content {
        display: flex;
        flex-direction: column;
        gap: 1vw;
    }
    .amfc-content .amfc-title :is(h1,h2,h3,h4,h5,h6) {
        color: var(--default-white);
    }
    .amfc-content .amfc-article .g-array-item-text {
        color: var(--default-white);
        font-size: 1rem;
    }
    .amfc-content .amfc-article .g-array-item-read-more .button {
        background: var(--default-white);
        color: var(--primary-color);
        font-size: 1rem;
    }
}

@media only screen and (min-width: 50.99rem) {
    .badge-button {
        margin: 0;
        padding: 0;
    }
    .badge-button > .g-content {
        margin: 0;
        padding: 0;
    }
    .badge-button > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .badge-button .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .badge-button .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
    }
    .badge-button .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        position: relative;
        background: #FFF6F3;
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
    }
    .badge-button .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 2vw;
        display: flex;
        flex-direction: row;
        gap: 2vw;
    }
    .badge-button .g-blockcontent-subcontent-img {
        margin: 0;
        padding: 0;
        width: 40%;
        height: auto;
    }
    .badge-button .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 3vw;
    }
    .badge-button .g-blockcontent-subcontent-title:after {
        content: 'Visit Website';
        border: 1px solid var(--primary-color);
        padding: 1vw;
        text-align: center;
        color: var(--default-black);
        font-size: 1.75vw;
        border-radius: .5rem;
        transition: .3s all ease-in-out;
        pointer-events: all;
    }
    .badge-button .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title:after {
        background: var(--primary-color);
        color: var(--default-white);
    }
    .badge-button .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        font-size: 2.5vw;
        font-weight: 400;
        font-family: var(--body-font-family);
        text-align: center;
    }
    .badge-button .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .badge-button .g-blockcontent-buttons .button {
        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) {
    .badge-button {
        margin: 0;
        padding: 0;
    }
    .badge-button > .g-content {
        margin: 0;
        padding: 0;
    }
    .badge-button > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .badge-button .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .badge-button .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
    }
    .badge-button .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        position: relative;
        background: #FFF6F3;
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
    }
    .badge-button .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 1rem;
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }
    .badge-button .g-blockcontent-subcontent-img {
        margin: 0;
        padding: 0;
        width: 40%;
        height: auto;
    }
    .badge-button .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    .badge-button .g-blockcontent-subcontent-title:after {
        content: 'Visit Website';
        border: 1px solid var(--primary-color);
        padding: 1rem;
        text-align: center;
        color: var(--default-black);
        font-size: 1rem;
        border-radius: .5rem;
        transition: .3s all ease-in-out;
        pointer-events: all;
    }
    .badge-button .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title:after {
        background: var(--primary-color);
        color: var(--default-white);
    }
    .badge-button .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        font-size: 1rem;
        font-weight: 400;
        font-family: var(--body-font-family);
        text-align: center;
    }
    .badge-button .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .badge-button .g-blockcontent-buttons .button {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
}

/*************** EXTENSION ****************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-extension {
        border-top: 1vw solid var(--tertiary-color);
    }
    .site-1-home #g-extension > .g-container {
        padding: 4vw 5%!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .info-boxes-full {
        --info-box-gap: 3vw;
        --info-box-title-padding: 1vw;
        --info-box-title-text-align: left;
    }

    .info-boxes-full .g-content-array > .g-grid > .g-block > .g-content {
        height: 100%;
    }
    .info-boxes-full .g-array-item {
        height: 100%;
        display: flex;
        flex-direction: column;
        background: var(--default-white);
        box-shadow: var(--default-box-shadow);
        border-radius: 1rem;
        border: 3px solid var(--default-white);
        padding-bottom: 1.5vw;
    }
    /*.info-boxes-full .g-array-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 19.75vw;
        border-radius: 1rem;
        box-shadow: var(--default-box-shadow);
        transition: .3s all ease-in-out;
    }*/
    .info-boxes-full .g-array-item:hover {
        transform: var(--info-box-img-hover-transform);
        background: var(--tertiary-color);
    }
    .info-boxes-full .g-array-item:hover:before {
        box-shadow: var(--default-box-shadow-hover);
    }
    .info-boxes-full .g-array-item-image {
        order: 2;
        padding: 1vw 1vw 0 1vw;
        border-top-right-radius: 1rem;
        border-top-left-radius: 1rem;
        overflow: hidden;
    }
    .info-boxes-full .g-array-item-image img {
        box-shadow: none;
        border-radius: 1rem;
    }
    /*.info-boxes-full.info-box-wide .g-array-item-image img {
        aspect-ratio: 2.39 / 1;
    }*/
    .info-boxes-full .g-array-item:hover .g-array-item-image {
        transform: none;
    }
    .info-boxes-full .g-array-item-title {
        order: 1;
        text-align: center;
    }
    .info-boxes-full .g-item-title {
        text-align: center;
    }
    .info-boxes-full .g-array-item-text {
        order: 3;
        padding: 0 1vw 1vw 1vw;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: var(--info-box-img-transition);
        border-bottom-right-radius: 1rem;
        border-bottom-left-radius: 1rem;
        width: 100%;
        overflow: hidden;
        color: var(--default-black);
    }
    .info-boxes-full .g-array-item:hover .g-array-item-text {
        transform: none;
    }
    .info-boxes-full .g-array-item-text a.button {
        /*padding: .5vw 7vw;*/
        background: var(--tertiary-color);
        font-size: 1.5vw;
        box-shadow: var(--default-box-shadow);
        margin: 0;
        border-radius: 1.5rem / 50%;
        font-family: var(--title-font-family);
        text-transform: none;
        font-weight: 600;
        color: var(--default-black);
    }
    .info-boxes-full .g-array-item-text a.button:hover {
        background: var(--secondary-color);
    }
    .info-boxes-full .info-box-button {
        position: absolute!important;
        z-index: 11;
        bottom: 0;
        left: 15%;
        right: 15%;
        width: 70%;
        transform: translateY(50%);
        border: 3px solid var(--default-white);
    }
    .info-boxes-full .g-item-title a {
        font-weight: 400;
        color: var(--primary-color);
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-extension > .g-container {
        padding: 2rem 1rem!important;
    }

    .info-boxes-full .g-array-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--default-white);
        box-shadow: var(--default-box-shadow);
        border-radius: 1rem;
        border: 3px solid var(--default-white);
        padding: 1rem;
    }
    .info-boxes-full .g-array-item-image {
        display: flex;
        justify-content: center;
        align-items: center;
        order: 2;
    }
    .info-boxes-full .g-array-item-image > a {
        width: 100%;
    }
    .info-boxes-full .g-array-item-image img {
        width: 100%;
    }
    .info-boxes-full .g-array-item-title {
        order: 1;
    }
    .info-boxes-full .g-array-item-title > .g-item-title > a {
        color: var(--primary-color);
    }
    .info-boxes-full .g-array-item-text {
        max-width: 70%;
        color: var(--default-black);
        order: 3;
    }
    .info-boxes-full .g-array-item-text a.button {
        /*padding: .5vw 7vw;*/
        background: var(--secondary-color);
        font-size: 1rem;
        box-shadow: var(--default-box-shadow);
        margin: 0;
        border-radius: .5rem;
        font-family: var(--title-font-family);
        text-transform: uppercase;
        font-weight: 600;
    }
    .info-boxes-full .g-array-item-text a.button:hover {
        background: var(--tertiary-color);
    }
    .info-boxes-full .info-box-button {
        position: absolute!important;
        z-index: 11;
        bottom: 0;
        left: 25%;
        right: 25%;
        width: 50%;
        transform: translateY(50%);
        border: 3px solid var(--default-white);
    }
    .info-boxes-full .g-item-title a {
        font-weight: 400;
        color: var(--primary-color);
    }
}

/*************** BOTTOM *******************/
@media only screen and (min-width: 50.99rem) {
    .site-1 #g-bottom {
        padding: 2vw 0 0 0!important;
    }
    .site-1 #g-bottom .admod td {
        padding: 0;
    }
    .site-1 #g-bottom .admod {
        margin-bottom: -37.5px!important;
        position: relative;
        z-index: 100;
    }
}

/*************** FOOTER *******************/
#g-footer .g-content-array {margin: 0;}
#g-footer a {color: var(--default-white); transition: .3s all ease-in-out;}
#g-footer a:hover {opacity: .5;}

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-container-footer {
        background: url('/images/template/bg-footer.jpg') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1 #g-container-footer > .g-container {
        background: rgba(var(--primary-rgb),.84);
        backdrop-filter: blur(2px);
        border-bottom: 1vw solid var(--tertiary-color);
    }
    .site-1 #g-footer > .g-container {
        padding: 6vw 5% 3vw 5%!important;
    }

    .footer-wrapper {
        display: flex;
        flex-direction: row;
        gap: 2vw;
        justify-content: space-between;
        align-items: center;
    }

    .footer-wrapper .footer-content p {
        font-size: 1.5vw;
        font-family: var(--title-font-family);
    }
    .footer-wrapper .footer-logo {
        max-width: 50%;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-container-footer {
        background: url('/images/template/bg-footer.jpg') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1 #g-container-footer > .g-container {
        background: rgba(var(--primary-rgb),.84);
        backdrop-filter: blur(2px);
        border-bottom: 1vw solid var(--tertiary-color);
    }

    .site-1 #g-footer > .g-container {
        padding: 2rem 2rem 4rem 2rem!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 *******************/ 
/*************** 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;
    }
}

/* .ministries-page #module-contentarray-137-particle > div > div:nth-child(1) > div > div > div > div.g-array-item-title {
    display: none;
} */