@import url('//fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
/************ TEMPLATE  ************
Mockup #1 Approved
-Found devotions and Mass Times on their old site.
- Mission is in notes

Font: PT Serif
https://fonts.google.com/specimen/PT+Serif?query=pt+serif
- Light brown or tan Spanish text is just the same color but at 40% opacity.

Primary Logo Font: P22 Avocet Light Pro (adobe)

Colors:
Dark Brown / Text: #4C231C rgba(76,35,28,1)
Light Brown / QLs: #6D4531 rgba(109,69,49,1)
Menu hover: #F3BE7A rgba(243,190,122,1)
Red / Mass Times / Button / News Hover / Links Title: #903729 rgba(144,55,41,1)
Light Tan / Text: #EFD3A4 rgba(239,211,164,1)

Rotator: 1200 px x 675 px
************/

.site-1 {
    --primary-color: #4C231C;
    --secondary-color: #EFD3A4;
    --tertiary-color: #903729;
    --light-brown-color: #6D4531;

    --primary-rgb: 76,35,28;
    --secondary-rgb: 239,211,164;
    --tertiary-rgb: 144,55,41;
    --light-brown-rgb: 109,69,49;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: 'PT Serif', serif;
    --body-font-family: 'PT Serif', 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(--secondary-color);
    --ql-border-radius: .75rem;    
    --ql-background-color: #6D4531;

    --mt-background-color: var(--tertiary-color);

    --ph-title-color: var(--secondary-color);
    --ph-title-font-size-desktop: 2.125vw;
    --ph-title-weight: 700;
    --ph-text-font-size-desktop: 1.75vw;

    --mt-header-color: var(--secondary-color);
    --mt-header-desktop: 2vw;
    --mt-para-desktop: 1vw;

    --hero-img-height: 12vw;
}

a {color: #ce8e24;}

.site-1 .ql-fa-toplinks {
    --ql-title-color: var(--primary-color);
}

.readon, .button, .btn, p.readmore .btn, .sprocket-lists-portrait-container > li .sprocket-lists-portrait-item > a span, .listentobutton.moduletable a {
    background: var(--tertiary-color);
    color: var(--secondary-color);
    font-family: var(--body-font-family);
    padding: .75rem 3rem;
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: 700;
} 

@media only screen and (min-width: 50.99rem) {
    .button > span {
        opacity: .5;
    }
}

/*************** ALL SITE *****************/
.item-image {display: none;}

/*************** HOMELAYOUT ***************/ 
/*************** OFFCANVAS ****************/
.g-offcanvas-toggle {color: var(--default-white);} 
.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-background.png') 50% 50% no-repeat;
        background-size: cover;
        padding-bottom: 2vw!important;
    }
    .site-1 #g-navigation .g-logo img {
        width: 90%;
    }
    .site-1 #g-navigation > .g-container > .g-grid:nth-child(3) {
        border-top: 5px solid var(--tertiary-color);
        border-bottom: 5px solid var(--tertiary-color);
    }
    .site-1 #g-navigation .g-toplevel > li:hover {
        background: #F3BE7A;
    }

    .site-1-sub #g-navigation .g-logo {
        padding: 1vw;
    }

    .site-1-sub #g-navigation .g-logo img {
        width: 45%;
    }

    .site-1-sub #g-navigation > .g-container > .g-grid:nth-child(2) > .g-block {
        text-align: left!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-navigation {
        background: url('/images/template/header-background.png') 50% 50% no-repeat;
        background-size: cover;
    }
}

@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);
        font-weight: 700;
        text-align: center;
    }
    .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);
        font-weight: 700;
    }

    .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;
    }
}
/*************** SLIDESHOW ****************/ 
@media only screen and (min-width: 50.99rem) {
    .mass-times-block {
        background: none;
    }

    .mass-times-block .g-array-item-text {
        margin: 0;
        padding: 0;
    }

    .mass-times-block :is(h1,h2,h3,h4,h5,h6) {
        margin-bottom: .5vw;
    }

    .mass-times-block p {
        margin-bottom: .75vw;
    }

    .mass-times-block .mt-title {
        font-size: 1.5vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .mass-times-block {
        background: none;
    }
}

/*************** HEADER *******************/
/*************** ABOVE ********************/
/*************** SHOWCASE *****************/
/*************** UTILITY ******************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-utility {
        background: url('/images/template/mission-background.png') 50% 100% no-repeat;
        background-size: cover;
    }

    .ql-inner-box .g-blockcontent-subcontent-title {
        top: 0%;
        bottom: 55%;
        height: 55%;
        width: 100%;
        font-size: 1.5vw;
        align-items: flex-end;
        padding: 1vw 1vw 0 1vw;
    }

    .ql-inner-box .g-blockcontent-subcontent-block-content:hover .g-blockcontent-subcontent-title {
        padding: 1vw 1vw 0 1vw;
    }

    .ql-inner-box .g-blockcontent-subcontent-block-content:hover:after {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .ql-inner-box .g-blockcontent-subcontent-block-content:hover {
        --ql-background-color: var(--primary-color);
        --ql-background-hover: var(--primary-color);
    }

    .ql-inner-box .g-blockcontent-subcontent-block-content:after {
        position: absolute;
        content: "";
        top: .5vw;
        bottom: .5vw;
        left: .5vw;
        right: .5vw;
        border: 1px solid var(--secondary-color);
        border-radius: var(--ql-border-radius);
        transition: .3s all ease-in-out;
    }

    .ql-inner-box .g-blockcontent-subcontent-subtitle {
        position: absolute;
        top: 55%;
        bottom: 0%;
        left: 0%;
        right: 0%;
        height: 45%;
        width: 100%;
        background: var(--ql-background-color);
        font-family: var(--ql-font-family);
        color: #8D6952;
        transition: all .2s ease-in-out;
        margin: 0;
        padding: 0;
        border-radius: 0;
        font-size: 1.25vw;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: .25vw 1vw 1vw 1vw;
    }

    .ql-inner-box .g-blockcontent-buttons {
        z-index: 1;
    }

    .ql-inner-box .g-blockcontent-subcontent-title > .g-blockcontent-subcontent-title-text {
        border: none;
        align-items: flex-end;
        font-size: 1.5vw;
        line-height: 1.5vw;
    }

    .site-1-home #g-utility .mission-container p {
        font-size: 1.75vw;
        font-weight: 400;
        font-style: italic;
        letter-spacing: 1px;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-utility {
        background: url('/images/template/mission-background.png') 50% 100% no-repeat;
        background-size: cover;
    }

    .ql-inner-box .g-blockcontent-subcontent-title {
        top: 0%;
        bottom: 55%;
        height: 55%;
        width: 100%;
        font-size: 5.5vw;
        align-items: flex-end;
        padding: 1vw 1vw 0 1vw;
        border-radius: 0;
    }

    .ql-dm .g-blockcontent-subcontent-block-content {
        overflow: hidden;
    }

    .ql-dm .g-blockcontent-subcontent-title {
        transition: .3s all ease-in-out;
    }

    .ql-inner-box .g-blockcontent-subcontent-block-content:hover .g-blockcontent-subcontent-title {
        padding: 1vw 1vw 0 1vw;
    }

    .ql-inner-box .g-blockcontent-subcontent-block-content:hover:after {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .ql-inner-box .g-blockcontent-subcontent-block-content:hover {
        --ql-background-color: var(--primary-color);
        --ql-background-hover: var(--primary-color);
    }

    .ql-inner-box .g-blockcontent-subcontent-block-content:after {
        position: absolute;
        content: "";
        top: 1vw;
        bottom: 1vw;
        left: 1vw;
        right: 1vw;
        border: 1px solid var(--secondary-color);
        border-radius: var(--ql-border-radius);
        transition: .3s all ease-in-out;
    }

    .ql-inner-box .g-blockcontent-subcontent-block-content:hover .g-blockcontent-subcontent-subtitle {
        background: var(--ql-background-hover);
    }

    .ql-inner-box .g-blockcontent-subcontent-subtitle {
        position: absolute;
        top: 55%;
        bottom: 0%;
        left: 0%;
        right: 0%;
        height: 45%;
        width: 100%;
        background: var(--ql-background-color);
        font-family: var(--ql-font-family);
        color: #8D6952;
        transition: all .3s ease-in-out;
        margin: 0;
        padding: 0;
        border-radius: 0;
        font-size: 5.25vw;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: .25vw 1vw 1vw 1vw;
    }

    .ql-inner-box .g-blockcontent-buttons {
        z-index: 1;
    }

    .ql-inner-box .g-blockcontent-subcontent-title > .g-blockcontent-subcontent-title-text {
        border: none;
        align-items: flex-end;
        font-size: 5.5vw;
        line-height: 5.5vw;
    }

    .site-1-home #g-utility .mission-container p {
        font-size: 4.75vw;
        font-weight: 400;
        font-style: italic;
        letter-spacing: 1px;
    }
}

/*************** FEATURE ******************/
/*************** MAIN *********************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-mainbar > .g-grid:last-child > .g-block > .g-content {
        margin: .625rem 0;
        padding: .375rem 0;
    }
    .ph-title-box > .g-content {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-container-main {
        padding: 4vw 5% 2vw 7.5%;
    }
    .site-1-home #g-container-main .g-title {
        font-family: var(--title-font-family);
        font-weight: 900;
        color: var(--secondary-color);
    }
    .site-1-home #g-container-main .g-title .g-es-title {
        font-size: 1.5vw;
        margin-left: 2vw;
        opacity: .5;
    }
    .site-1-home #g-container-main > .g-grid > .g-block:last-child {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .site-1-home .ph-sidepics-3 {
        padding: 1rem 0 1rem 0;
    }

    .site-1 .ph-sidepics-3.ph-underline .g-content-array > .g-grid {
        border-bottom: 1px solid var(--secondary-color);
    }
    .site-1 .ph-sidepics-3.ph-square .g-array-item-image {
        border-radius: 50%;
        overflow: hidden;
    }
    .site-1-home .ph-sidepics-3.ph-square .g-array-item {
        grid-template-columns: 12vw calc(100% - 12vw - 4rem)!important;
        grid-template-rows: 40% 60% 0%;
    }
    .site-1-home .ph-sidepics-3 .g-array-item {
        column-gap: 4rem;
    }
    .site-1-home .ph-sidepics-3 .g-array-item-title {
        line-height: 2.125vw;
    }
    .ph-sidepics-3.ph-underline .g-content-array > .g-grid > .g-block {
        margin: 0 0 0 -2vw!important;
        padding: 1vw 0 1vw 2vw!important;
        border-radius: 1rem;
        background: transparent;
        transition: .3s all ease-in-out
    }
    .ph-sidepics-3.ph-underline .g-content-array > .g-grid:hover > .g-block {
        transform: none;
        background: var(--tertiary-color);
    }
    .ph-sidepics-3 .g-array-item-read-more {
        opacity: 0;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-container-main .g-title {
        font-family: var(--title-font-family);
        font-weight: 900;
        color: var(--secondary-color);
        text-align: center;
    }
    .site-1-home #g-container-main .g-title .g-es-title {
        font-size: 1.75rem;
        margin-left: 2vw;
        opacity: .5;
    }
    .ph-sidebyside-mobile {
        --ph-title-color: var(--primary-color);
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1-sub #g-mainbar {
        min-height: 30vh;
    }
}

@media only screen and (max-width: 50.99rem) {
    :is(.site-1-sub, .site-2-sub) #g-mainbar > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
}

/*************** EXPANDED *****************/ 
/*************** EXTENSION ****************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-extension {
        background: url('/images/template/widget-background.png') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1-home #g-extension .g-title {
        margin: 0;
        padding: 0;
        color: var(--tertiary-color);
        border-bottom: 1px solid var(--tertiary-color);
        padding-bottom: .5rem!important;
        margin-bottom: 2vw;
        line-height: 1.5;
        font-variant-caps: normal;
        text-transform: none;
        font-size: 3vw;
    }
    .site-1-home #g-extension > .g-container {
        padding: 3vw 5% 3vw 5%!important;
    }
    .site-1-home #g-extension iframe {
        box-shadow: 0px 0px 5px rgba(0,0,0,.5);
    }
    .site-1-home #g-extension :is(.eapps-facebook-feed-inner, .eapps-facebook-feed-header) {
        border-radius: 0;
    }
    .site-1-home #g-extension > .g-container > .g-grid:first-child {
        gap: 3vw;
    }
    .site-1-home #g-extension > .g-container > .g-grid:last-child {
        margin: 0 -5%!important;
        padding: 3vw 0 0 0!important;
    }
    .site-1-home #g-extension > .g-container > .g-grid:first-child > .g-block {
        flex: 30%;
        max-width: 33.33333%;
    }
    .site-1-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block:nth-child(1) .g-content-array {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block:nth-child(2) .g-content-array {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block:nth-child(1) p {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block:nth-child(2) p {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block:nth-child(1) .g-content-array > .g-grid {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block:nth-child(2) .g-content-array > .g-grid {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block:nth-child(1) .g-content-array > .g-grid > .g-block {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block:nth-child(2) .g-content-array > .g-grid > .g-block {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block:nth-child(1) .g-content-array > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block:nth-child(2) .g-content-array > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block:nth-child(1) .g-array-item-text {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block:nth-child(2) .g-array-item-text {
        margin: 0;
        padding: 0;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-extension {
        background: url('/images/template/widget-background.png') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1-home #g-extension .g-title {
        margin: 0;
        padding: 0;
        color: var(--tertiary-color);
        border-bottom: 1px solid var(--tertiary-color);
        padding-bottom: .5rem!important;
        margin-bottom: 2vw;
        line-height: 1.5;
        font-variant-caps: normal;
        text-transform: none;
        text-align: center;
    }
    .site-1-home #g-extension > .g-container {
        padding: 2rem 1rem 2rem 1rem!important;
    }
    .site-1-home #g-extension > .g-container > .g-grid:nth-child(1) {
        gap: 2rem;
    }
    .site-1-home #g-extension iframe {
        box-shadow: 0px 0px 5px rgba(0,0,0,.5);
    }
    .site-1-home #g-extension :is(.eapps-facebook-feed-inner, .eapps-facebook-feed-header) {
        border-radius: 0;
    }

    .site-1-home .sfa-calendar-wrapper .g-array-item-text > div {
        height: 500px!important;
    }
    .site-1-home .sfa-happening-wrapper .g-array-item-text > div {
        height: 500px!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .sfa-devotion-wrapper {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper > .g-content {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper .g-title {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper .g-content-array {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid > .g-block {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 1vw 0;
        border-bottom: 1px solid var(--tertiary-color);
    }
    .sfa-devotion-wrapper .g-array-item {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper .g-array-item-title {
        margin: 0;
        padding: 0;
        position: relative;
    }
    .sfa-devotion-wrapper .g-array-item-title:after {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        content: "\f067";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 1.25vw;
        color: var(--tertiary-color);
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid.active .g-array-item-title:after {
        content: "\f068";
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid.active .g-array-item-title {
        padding-bottom: 1vw;
        border-bottom: 1px solid var(--tertiary-color);
        transition: all .3s ease-in-out;
    }
    .sfa-devotion-wrapper .g-array-item-title:hover {
        cursor: pointer;
    }
    .sfa-devotion-wrapper .g-item-title {
        margin: 0;
        padding: 0;
        border: none;
        line-height: 1;
        font-size: 1.25vw;
    }
    .sfa-devotion-wrapper .g-item-title a {
        margin: 0;
        padding: 0;
        pointer-events: none;
        font-size: 1.25vw;
        color: var(--tertiary-color);
        font-weight: 700;
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid .g-array-item-text {
        color: var(--tertiary-color);
        font-size: 1.25vw;
        font-weight: 700;
    }
    .sfa-devotion-wrapper .g-array-item-text {
        margin: 0;
        padding: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease-in, visibility .3s ease-in, padding .3s ease-in;
        color: var(--tertiary-color);
        font-size: 1.25vw;
        font-weight: 700;
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid.active .g-array-item-text {
        max-height: 10vw;
        visibility: visible;
        display: flex;
        align-items: center;
        padding: 2vw 0;
        font-size: 1.25vw;
        color: var(--tertiary-color);
        font-weight: 700;
    }
}

@media only screen and (max-width: 50.99rem) {
    .sfa-devotion-wrapper {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper > .g-content {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper .g-title {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper .g-content-array {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid > .g-block {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--tertiary-color);
    }
    .sfa-devotion-wrapper .g-array-item {
        margin: 0;
        padding: 0;
    }
    .sfa-devotion-wrapper .g-array-item-title {
        margin: 0;
        padding: 0;
        position: relative;
    }
    .sfa-devotion-wrapper .g-array-item-title:after {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        content: "\f067";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 4.25vw;
        color: var(--tertiary-color);
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid.active .g-array-item-title:after {
        content: "\f068";
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid.active .g-array-item-title {
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--tertiary-color);
        transition: all .3s ease-in-out;
    }
    .sfa-devotion-wrapper .g-array-item-title:hover {
        cursor: pointer;
    }
    .sfa-devotion-wrapper .g-item-title {
        margin: 0;
        padding: 0;
        border: none;
        line-height: 1;
    }
    .sfa-devotion-wrapper .g-item-title a {
        margin: 0;
        padding: 0;
        pointer-events: none;
        font-size: 4.25vw;
        color: var(--tertiary-color);
        font-weight: 700;
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid .g-array-item-text {
        color: var(--tertiary-color);
        font-size: 4.25vw;
        font-weight: 700;
    }
    .sfa-devotion-wrapper .g-array-item-text {
        margin: 0;
        padding: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease-in, visibility .3s ease-in, padding .3s ease-in;
        color: var(--tertiary-color);
        font-size: 4.25vw;
        font-weight: 700;
    }
    .sfa-devotion-wrapper .g-content-array > .g-grid.active .g-array-item-text {
        max-height: 25vw;
        visibility: visible;
        display: flex;
        align-items: center;
        padding: 2rem 0;
        font-size: 4.25vw;
        color: var(--tertiary-color);
        font-weight: 700;
    }
}

/*************** BOTTOM *******************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-extension .admod td {
        padding: 0;
    }
    .site-1 #g-bottom {
        padding: 2vw 0!important;
    }
    .site-1 #g-bottom .admod td {
        padding: 0;
    }
    .site-1-sub #g-bottom {
        background: url('/images/template/widget-background.png') 50% 50% no-repeat, var(--secondary-color);
        background-size: cover;
    }
}

/*************** FOOTER *******************/
#g-footer .g-content-array {margin: 0;}
#g-footer a {color: var(--default-white);} 

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-footer {
        padding: 0 5% 4vw 5%!important;
    }
    .footer-wrapper {
        display: flex;
        flex-direction: column;
    }
    .footer-wrapper .footer-titles {
        display: flex;
        flex-direction: row;
        border-bottom: 1px solid var(--secondary-color);
    }
    .footer-wrapper .footer-titles :is(h1,h2,h3,h4,h5,h6) {
        color: var(--tertiary-color);
        font-size: 2.5vw;
        font-weight: 700;
        margin: .25vw 0;
    }
    .footer-wrapper .footer-titles > div:nth-child(1) {
        flex: 1.5;
    }
    .footer-wrapper .footer-titles > div:nth-child(2) {
        flex: 2;
    }
    .footer-wrapper .footer-titles > div:nth-child(3) {
        flex: 1;
    }
    .footer-wrapper .footer-boxes {
        display: flex;
        flex-direction: row;
        padding-top: 1vw;
    }
    .footer-wrapper .footer-boxes > div:nth-child(1) {
        flex: 1.5;
    }
    .footer-wrapper .footer-boxes > div:nth-child(2) {
        flex: 2;
    }
    .footer-wrapper .footer-boxes > div:nth-child(3) {
        flex: 1;
    }
    .footer-wrapper .footer-boxes .contact-info {
        display: flex;
        flex-direction: column;
        gap: .5vw; 
    }
    .footer-wrapper .footer-boxes .contact-info > div {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .footer-wrapper .footer-boxes .contact-info > div > div:nth-child(1) {
        width: 3vw;
        font-size: 1.25vw;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--secondary-color);
    }
    .footer-wrapper .footer-boxes .contact-info > div > div:nth-child(2) {
        font-size: 1.25vw;
        color: var(--secondary-color);
    }
    .footer-wrapper .footer-boxes .contact-info > div > a {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .footer-wrapper .footer-boxes .contact-info > div > a:hover {
        opacity: .5;
    }
    .footer-wrapper .footer-boxes .contact-info > div > a > div:nth-child(1) {
        width: 3vw;
        font-size: 1.25vw;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--secondary-color);
    }
    .footer-wrapper .footer-boxes .contact-info > div > a > div:nth-child(2) {
        font-size: 1.25vw;
        color: var(--secondary-color);
    }
    .footer-wrapper .footer-boxes .contact-info > div > a > div:nth-child(2) p {
        font-size: 1.25vw;
        color: var(--secondary-color);
    }
    .footer-wrapper .footer-boxes .contact-info > div > a > div:nth-child(2) a {
        font-size: 1.25vw;
        color: var(--secondary-color)!important;
    }
    .footer-wrapper .footer-boxes .contact-info p {
        margin: 0;
        padding: 0;
        font-size: 1.25vw;
    }

    .footer-wrapper .footer-boxes > div:nth-child(2) .weblinks {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: .5vw 1vw;
    }
    .footer-wrapper .footer-boxes > div:nth-child(2) .weblinks > li {
        flex: 45%;
        list-style-type: "\f0da";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 1.5vw;
        line-height: 1.5vw;
        color: var(--secondary-color);
        vertical-align: middle;
    }
    .footer-wrapper .footer-boxes > div:nth-child(2) .weblinks > li a {
        color: var(--secondary-color)!important;
        font-weight: 400;
        font-size: 1.5vw;
        display: flex;
        align-items: center;
        padding-left: .5vw;
        line-height: 1.5vw;
    }
    .footer-wrapper .footer-boxes > div:nth-child(2) .weblinks > li a:hover {
        opacity: .5;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-footer {
        padding: 0 5% 4vw 5%!important;
    }
    .footer-wrapper {
        display: flex;
        flex-direction: column;
    }
    .footer-wrapper .footer-titles {
        display: flex;
        flex-direction: row;
        border-bottom: 1px solid var(--secondary-color);
        display: none!important;
    }
    .footer-wrapper .footer-titles :is(h1,h2,h3,h4,h5,h6) {
        color: var(--tertiary-color);
        font-size: 2.5vw;
        font-weight: 700;
        margin: .25vw 0;
    }
    .footer-wrapper .footer-titles > div:nth-child(1) {
        flex: 1.5;
    }
    .footer-wrapper .footer-titles > div:nth-child(2) {
        flex: 2;
    }
    .footer-wrapper .footer-titles > div:nth-child(3) {
        flex: 1;
    }
    .footer-wrapper .footer-boxes {
        display: flex;
        flex-direction: column;
        padding-top: 1vw;
        gap: 2rem;
    }
    .footer-wrapper .footer-boxes > div:nth-child(1) {
        width: 100%;
        order: 2;
    }
    .footer-wrapper .footer-boxes > div:nth-child(2) {
        width: 100%;
        order: 3;
    }
    .footer-wrapper .footer-boxes > div:nth-child(3) {
        width: 100%;
        order: 1;
    }
    .footer-wrapper .footer-boxes .contact-info {
        display: flex;
        flex-direction: column;
        gap: 1rem; 
    }
    .footer-wrapper .footer-boxes .contact-info > div {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .footer-wrapper .footer-boxes .contact-info > div > div:nth-child(1) {
        width: 3rem;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--secondary-color);
    }
    .footer-wrapper .footer-boxes .contact-info > div > div:nth-child(2) {
        font-size: 1rem;
        color: var(--secondary-color);
    }
    .footer-wrapper .footer-boxes .contact-info > div > a {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .footer-wrapper .footer-boxes .contact-info > div > a:hover {
        opacity: .5;
    }
    .footer-wrapper .footer-boxes .contact-info > div > a > div:nth-child(1) {
        width: 3rem;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--secondary-color);
    }
    .footer-wrapper .footer-boxes .contact-info > div > a > div:nth-child(2) {
        font-size: 1rem;
        color: var(--secondary-color);
    }
    .footer-wrapper .footer-boxes .contact-info > div > a > div:nth-child(2) p {
        font-size: 1rem;
        color: var(--secondary-color);
    }
    .footer-wrapper .footer-boxes .contact-info > div > a > div:nth-child(2) a {
        font-size: 1rem;
        color: var(--secondary-color)!important;
    }
    .footer-wrapper .footer-boxes .contact-info p {
        margin: 0;
        padding: 0;
        font-size: 1rem;
    }

    .footer-wrapper .footer-boxes > div:nth-child(2) .weblinks {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: .5rem 1rem;
    }
    .footer-wrapper .footer-boxes > div:nth-child(2) .weblinks > li {
        flex: 45%;
        list-style-type: "\f0da";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 4vw;
        line-height: 4vw;
        color: var(--secondary-color);
        vertical-align: middle;
    }
    .footer-wrapper .footer-boxes > div:nth-child(2) .weblinks > li a {
        color: var(--secondary-color)!important;
        font-weight: 400;
        font-size: 4vw;
        display: flex;
        align-items: center;
        padding-left: .5rem;
        line-height: 4vw;
    }
    .footer-wrapper .footer-boxes > div:nth-child(2) .weblinks > li a:hover {
        opacity: .5;
    }
}

/*************** 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 *******************/ 
@media only screen and (max-width: 50.99rem) {
    .grid-tiles .g-array-item-image {
        border-right: 1px solid var(--primary-color);
    }
}

/*************** 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;
    }
}

.grid.grid-staff .g-array-item-image a {
    pointer-events: none;
}

.gallerycontainer.quick-gallery-table {display: none!important;}

@media only screen and (min-width: 50.99rem) {
    #calHome {
        max-height: 700px;
    }
}