@import url('//fonts.googleapis.com/css2?family=Caudex:ital,wght@0,400;0,700;1,400;1,700&family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap');
/************ TEMPLATE  ************

************/

.site-1 {
    --primary-color: #152844;
    --secondary-color: #ae8c5a;

    --primary-rgb: 21,40,68;
    --secondary-rgb: 174,140,90;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: 'EB Garamond', serif;
    --body-font-family: 'Lato', sans-serif;

    --heading-color: var(--primary-color);
    --heading-font-family: var(--title-font-family);

    --title-border-bottom: 1px solid var(--secondary-color);

    --home-title-font: var(--title-font-family);

    --transparent: rgba(255,255,255,0);

    --default-box-shadow: 0px 0px 10px rgba(0,0,0,.5);

    --swiper-box-shadow: var(--default-box-shadow);

    --ql-title-color: var(--default-white);

    --mt-para-color: var(--default-white);

    --grid-vertical-gap: 2vw;
}

.site-1 .ql-fa-toplinks {
    --ql-title-color: var(--primary-color);
}

.readon, .button, .btn, p.readmore .btn, .sprocket-lists-portrait-container > li .sprocket-lists-portrait-item > a span, .listentobutton.moduletable a {
    background: var(--primary-color);
    font-family: var(--body-font-family);
} 

/*************** ALL SITE *****************/
.item-image {display: none;}

/*************** 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/stjoe-cauburn-background.png') 50% 0% no-repeat, #f1f2f2;
        background-size: cover;
        padding-bottom: 55vw!important;
        margin-bottom: -55vw!important;
    }

    .site-1 #g-navigation .g-logo img {
        width: 50%;
    }
}

@media only screen and (min-width: 50.99rem) {
    .g-main-nav .g-toplevel>li>.g-menu-item-container>.g-menu-item-content {
        font-size: 1.25vw;
        font-family: var(--body-font-family);
    }
    .g-main-nav .g-sublevel>li>.g-menu-item-container>.g-menu-item-content>.g-menu-item-title {
        font-size: 1.25vw;
        font-family: var(--body-font-family);
    }

    .site-1 #g-navigation .g-social-items {
        display: flex;
        flex-direction: row;
        gap: 2vw;
        align-items: center;
    }
    .site-1 #g-navigation .g-social-items a {
        color: var(--default-white);
        font-size: 1.25vw;
    }
    .site-1 #g-navigation .g-social-items a:hover {
        color: var(--secondary-color);
    }
}
@media only screen and (max-width: 50.99rem) {
    #g-navigation {
        background: #f1f2f2;
    }
    #g-navigation .g-logo {
        max-width: 65%;
        margin: 2rem auto;
    }
}
/*************** SLIDESHOW ****************/ 

.mass-times-block .g-array-item {
	padding: 1vw 2vw;
}
.mass-times-block table, .mass-times-block td {
	border: 1px transparent solid;
}
.mass-times-block td {
    font-size: var(--mt-para-desktop);
    color: var(--mt-para-color);
}
@media only screen and (max-width: 50.99rem) {
    .mass-times-block td {
        font-size: var(--mt-para-mobile);
    }
}

@media only screen and (min-width: 50.99rem) {
    .mass-times-block {
        background: url('/images/stories/template/masstimes.jpg') 50% 50% no-repeat;
        background-size: cover;
    }

    .homelayout.swiper-box #g-slideshow > .g-container {
        padding: 2vw 5% 0 5%!important;
    }

    .site-1-home #g-slideshow .slide {
        position: relative;
    }
    
    .site-1-home #g-slideshow .slide-content-wrapper {
        display: flex;
        align-items: flex-end !important;
        height: fit-content !important;
        justify-content: flex-start !important;
        bottom: 0;
        position: absolute;
        width: 100%;
        /*padding: 2% 5% 2.5% 5%;*/
        background: linear-gradient(to right, rgba(var(--primary-rgb), 1), rgba(var(--primary-rgb), 0.5));
        max-height: 12vw;
    }
    
    .site-1-home #g-slideshow .slide-content-wrapper .g-swiper-title {
        margin: 0 !important;
        line-height: 1.5 !important;
        text-align: left !important;
        font-size: 3vw !important;
        margin-bottom: 1rem;
    }
    
    .site-1-home #g-slideshow .slide-content-wrapper .g-swiper-text {
        margin: 0 !important;
        text-align: left !important;
    }

    .site-1-home #g-slideshow .slide-content-wrapper .g-swiper-text :is(h1,h2,h3,h4,h5,h6) {
        color: var(--default-white);
        font-size: 3vw;
        font-weight: 400;
        font-family: var(--body-font-family);
        padding: 1vw 2vw;
        margin: 0;
        border: none;
        text-transform: none;
        font-variant-caps: normal;
        background: none;
    }

    .site-1-home #g-slideshow .slide-content-wrapper .g-swiper-text p {
        color: var(--default-white);
        font-size: 1.25vw;
        font-weight: 400;
        font-family: var(--body-font-family);
        padding: 1vw 2vw;
        margin: 0;
        border: none;
        text-transform: none;
        font-variant-caps: normal;
        background: none;
    }
}

@media only screen and (max-width: 50.99rem) {
    .fullwidth-swiper {
        order: 1;
    }
    .mass-times-block {
        background: url('/images/stories/template/masstimes.jpg') 50% 50% no-repeat;
        background-size: cover;
        order: 2;
    }

    .site-1-home #g-slideshow .slide {
        position: relative;
    }
    
    .site-1-home #g-slideshow .slide-content-wrapper {
        display: flex;
        align-items: flex-end !important;
        height: fit-content !important;
        justify-content: flex-start !important;
        bottom: 0;
        position: absolute;
        width: 100%;
        /*padding: 2% 5% 2.5% 5%;*/
        background: linear-gradient(to right, rgba(var(--primary-rgb), 1), rgba(var(--primary-rgb), 0.5));
        max-height: 12vw;
    }
    
    .site-1-home #g-slideshow .slide-content-wrapper .g-swiper-title {
        margin: 0 !important;
        line-height: 1.5 !important;
        text-align: left !important;
        font-size: 3vw !important;
        margin-bottom: 1rem;
    }
    
    .site-1-home #g-slideshow .slide-content-wrapper .g-swiper-text {
        margin: 0 !important;
        text-align: left !important;
    }

    .site-1-home #g-slideshow .slide-content-wrapper .g-swiper-text :is(h1,h2,h3,h4,h5,h6) {
        color: var(--default-white);
        font-size: 6vw;
        font-weight: 400;
        font-family: var(--body-font-family);
        padding: 1vw 2vw;
        margin: 0;
        border: none;
        text-transform: none;
        font-variant-caps: normal;
        background: none;
    }

    .site-1-home #g-slideshow .slide-content-wrapper .g-swiper-text p {
        color: var(--default-white);
        font-size: 3vw;
        font-weight: 400;
        font-family: var(--body-font-family);
        padding: 1vw 2vw;
        margin: 0;
        border: none;
        text-transform: none;
        font-variant-caps: normal;
        background: none;
    }
}

/*************** HEADER *******************/
/*************** ABOVE ********************/
/*************** SHOWCASE *****************/
/*************** UTILITY ******************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-utility {
        padding: 2vw 5%!important;
    }

    .site-1-home .ql-inner-box .g-blockcontent-subcontent {
        gap: 1.5vw;
    }
}

/*************** FEATURE ******************/
/*************** MAIN *********************/
.parish-home #g-container-main {
    padding: 0 5%;
}

@media only screen and (min-width: 50.99rem) {
    .ph-lower-title .g-content-array {
        padding: 1vw 5%!important;
        justify-content: center;
    }

    .ph-lower-title .g-content-array > .g-grid {
        max-width: 25vw;
    }
}

@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 {
        padding: 0 5% 2vw 5%!important;
    }

    .site-1-home #g-expanded > .g-container > .g-grid > .g-block:nth-child(1) {
        padding-right: 1vw;
    }
    .site-1-home #g-expanded > .g-container > .g-grid > .g-block:nth-child(2) {
        padding-right: 1vw;
        padding-left: 1vw;
    }
    .site-1-home #g-expanded > .g-container > .g-grid > .g-block:nth-child(3) {
        padding-left: 1vw;
    }

    .lower-white-wrapper > .g-content {
        height: 100%;
        background: var(--default-white);
        padding: 1vw 2vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-expanded {
        padding: 0 1rem 1rem 1rem!important;
    }

    .site-1-home #g-expanded > .g-container > .g-grid {
        gap: 2rem;
    }

    /*.site-1-home #g-expanded > .g-container > .g-grid > .g-block:nth-child(1) {
        padding-right: 1vw;
    }
    .site-1-home #g-expanded > .g-container > .g-grid > .g-block:nth-child(2) {
        padding-right: 1vw;
        padding-left: 1vw;
    }
    .site-1-home #g-expanded > .g-container > .g-grid > .g-block:nth-child(3) {
        padding-left: 1vw;
    }*/

    .lower-white-wrapper > .g-content {
        height: 100%;
        background: var(--default-white);
        padding: 1rem 2rem;
    }
}

/*************** EXTENSION ****************/
/*************** 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);} 

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-footer {
        padding: 1vw 0!important;
    }

    .site-1 #g-footer .g-array-item-text {
        margin: 0;
        padding: 0;
    }
    .site-1 .footer-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .site-1 .footer-wrapper-img {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .site-1 .footer-wrapper-img > div {
        width: 70%;
    }
    .site-1 .footer-wrapper-img img {
        width: 100%;
        height: auto;
    }

    .site-1 .footer-wrapper-links {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .site-1 .footer-wrapper-links > div {
        width: 70%;
    }
    .site-1 .footer-wrapper-links .weblinks {
        margin: 0;
        padding: 0;
        list-style-type: none;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0 2vw;
    }
    .site-1 .footer-wrapper-links .weblinks > li {
        max-width: 50%;
        width: calc(50% - 1vw);
    }
    .site-1 .footer-wrapper-links .weblinks > li > a {
        font-size: 1vw;
        font-family: var(--body-font-family);
        font-weight: 600;
        letter-spacing: normal;
        transition: .3s all ease-in-out;
    }
    .site-1 .footer-wrapper-links .weblinks > li > a:hover {
        opacity: .5;
    }

}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-footer {
        padding: 1rem!important;
    }

    .site-1 #g-footer .g-array-item-text {
        margin: 0;
        padding: 0;
    }
    .site-1 .footer-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .site-1 .footer-wrapper-img {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .site-1 .footer-wrapper-img > div {
        width: 70%;
    }
    .site-1 .footer-wrapper-img img {
        width: 100%;
        height: auto;
    }

    .site-1 .footer-wrapper-links {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .site-1 .footer-wrapper-links > div {
        width: 90%;
    }
    .site-1 .footer-wrapper-links .weblinks {
        margin: 0;
        padding: 0;
        list-style-type: none;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0 2rem;
    }
    .site-1 .footer-wrapper-links .weblinks > li {
        max-width: 50%;
        width: calc(50% - 1rem);
    }
    .site-1 .footer-wrapper-links .weblinks > li > a {
        font-size: 3.25vw;
        font-family: var(--body-font-family);
        font-weight: 600;
        letter-spacing: normal;
        transition: .3s all ease-in-out;
    }
    .site-1 .footer-wrapper-links .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(--default-white); 
    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;
    }
}