@import url('//fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
/************ TEMPLATE  ************
R2V1 Winner!
--Bulletin between Home & I'm New in Menu
--Box below Mass times on rotator will rotate between this weeks celebrant, names of recently deceased, and please remember in your prayers

-- the box below mass times is built using the swiper particle and displaying full article text, title, and read more

--primary-color: #861C0E;
--secondary-color: #E1C432;
--primary-rgb: 134, 28, 14;
--secondary-rgb: 225, 196, 50;
--title-font-family: 'Cinzel', serif;
--body-font-family: 'Lato', sans-serif;

code for the swiper text thing: This code is sloppy and may not work properly, the mass times use the standard mass times overlay and don't rotate, like st. Jude

.g-swiper .g-swiper-slider .swiper-slide .slide .slide-content-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
}

.g-swiper .g-swiper-slider .swiper-slide .slide .slide-content-wrapper .slide-content {
    margin-bottom: 1vw;
    width: 476px;
    padding: 2vw 0;
    margin-right: 1vw;
    background: rgba(var(--primary-rgb),0.8);
    margin-left: 79px;
    box-shadow: var(--default-box-shadow);
}

.g-swiper .g-swiper-slider .swiper-slide .slide .slide-content-wrapper .slide-content .g-swiper-title {
font-family: 'Cinzel';
}

.g-swiper .g-swiper-slider .swiper-slide .slide .slide-content-wrapper .slide-content .button {
    background: transparent;
    border: 1px solid white;
}

************/

.site-1 {
    --primary-color: #861C0E;
    --secondary-color: #E1C432;
	--hover-color: #6b1406;

    --primary-rgb: 134,28,14;
    --secondary-rgb: 225,196,50;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: 'Cinzel', 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);
    --swiper-height: 42vw;
    
    --mt-border-radius: 0;

    --ql-title-color: var(--default-white);

    --ph-big-sq-width: 36vw;
    --ph-background-color: var(--default-white);
    --ph-read-more-color: transparent;

    --rok-mini-text: var(--default-white);
	--rok-mini-numbers: black;
    --rok-mini-timeline: var(--secondary-color);

    --info-title-size: 2vw;
	
	--side-menu-bg-hover: var(--hover-color);
}

@media only screen and (max-width: 50.99rem) {
    .site-1 {
        --grid-title-color: var(--primary-color);
    }
}

.site-1-home .info-boxes .button, .site-1-home #g-expanded .button {
	color: black;
}

.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: 'Lato', sans-serif;
} 

/*************** ALL SITE *****************/
.item-image {display: none;}

/*************** HOMELAYOUT ***************/ 
/*************** OFFCANVAS ****************/
.g-offcanvas-toggle {color: var(--primary-color);} 
.g-offcanvas-toggle .fa-fw {text-shadow: none;}

/*************** TOP **********************/ 
/*************** NAVIGATION ***************/

.g-main-nav .g-toplevel>li>.g-menu-item-container>.g-menu-item-content {
    letter-spacing: 0rem;
}

@media only screen and (max-width: 50.99rem) {
	#g-navigation {
		border-bottom: 2px solid var(--primary-color);
	}
}

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-navigation {
        background: url('/images/template/header-bg-left.jpg') 0% 0% no-repeat, url('/images/template/header-bg-right.jpg') 100% 0% no-repeat, #ffffff;
		background-size: 50%;
	}
    .site-1 #g-navigation .g-logo img {
        width: 40vw;
    }

	.site-1-home #g-navigation {
		padding-bottom: 2rem!important;
	}

    .ql-fa-toplinks {
		--ql-title-color: var(--primary-color);
		--ql-font-title-color: var(--primary-color);
	}
}
	
/*************** SLIDESHOW ****************/ 

.mass-times-block {
	background: none;
}

.site-1-home #g-slideshow a {
    z-index: -1;
}

@media only screen and (min-width: 50.99rem) {
    .swiper-masstimes-overlay .mass-times-overlay {
        top: 0;
        height: fit-content;
        max-height: calc(var(--swiper-height) - 12vw);
    }

    .g-swiper .g-swiper-slider .swiper-slide .slide .slide-content-wrapper {
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        height: 100%;
    }
    
    .g-swiper .g-swiper-slider .swiper-slide .slide .slide-content-wrapper .slide-content {
        margin-bottom: 1vw;
        width: 33%;
        max-height: 10vw;
        overflow: hidden;
        padding: 2vw 0;
        margin-right: 1vw;
        background: rgba(var(--primary-rgb),0.8);
        margin-left: 4vw;
        box-shadow: var(--default-box-shadow);
    }
    
    .g-swiper .g-swiper-slider .swiper-slide .slide .slide-content-wrapper .slide-content .g-swiper-title {
        font-family: 'Cinzel';
    }
    
    .g-swiper .g-swiper-slider .swiper-slide .slide .slide-content-wrapper .slide-content .button {
        background: transparent;
        border: 1px solid white;
    }
}

@media only screen and (max-width: 50.99rem) {
    .swiper-masstimes-overlay .mass-times-overlay {
        background: var(--primary-color);
    }
    .g-swiper .g-swiper-slider .swiper-slide .slide .slide-content-wrapper .slide-content {
        background: rgba(var(--primary-rgb),0.85);
        padding: 1vw;
        position: absolute;
        bottom: 0;
		bottom: 12vw;
    }
    .g-swiper .g-swiper-slider .swiper-slide .slide .slide-content-wrapper .slide-content .button {
		background: transparent;
        border: 1px solid white;
    }
}

/*************** HEADER *******************/
/*************** ABOVE ********************/
/*************** SHOWCASE *****************/
/*************** UTILITY ******************/

.ql-inner-box .g-blockcontent-subcontent-title-text {
	font-weight: 400;
}

/*************** FEATURE ******************/
/*************** MAIN *********************/

@media only screen and (min-width: 50.99rem) {
    .ph-sq-5 .g-content-array > .g-grid .g-array-item {
        border-radius: 1rem;
    }
    .ph-sq-5 .g-content-array > .g-grid > .g-block > .g-content {
        border-radius: 1rem;
    }

    .site-1-home #g-container-main > .g-grid > .g-block:nth-child(2) {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .site-1-home #g-container-main .g-title {
        font-size: 3vw;
    }
}

@media (max-width: 50.99rem) {
    .ph-sidebyside-mobile.ph-wide .g-item-title {
        font-size: var(--ph-title-font-size-mobile);
    }
}

.parish-home #g-container-main {
    padding: 0 5%;
}

/*************** EXPANDED *****************/ 
.site-1-home #g-expanded .button {
    background: var(--secondary-color);
}
.site-1-home #g-expanded .button:hover {
    background: #777777;
}

.site-1-home #g-expanded .g-title {
    border: none;
    color: black;
    background: rgba(var(--secondary-rgb),.8);
}

.site-1-home #g-expanded .g-array-item-text :is(h1,h2,h3,h4,h5,h6,p) {
    color: var(--default-white);
}

.site-1-home #g-expanded {
    background: url('/images/template/thomas-paralax.jpg') 0% 0% no-repeat;
    background-size: cover;
	background-attachment: fixed;
	background-position: center;
}

.site-1-home #g-expanded > .g-container {
    background: rgba(var(--primary-rgb),.6);
    padding: 5vw 5% 12vw 5%!important;
	width: 100%;
}
.site-1-home .social-feed {padding: 0 2vw;}


@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-expanded {
        background: url('/images/template/thomas-paralax.jpg') 0% 0% no-repeat;
        background-size: cover;
        background-attachment: initial;
        background-position: center;
    }
    .site-1-home #g-expanded > .g-container {
        padding: 5vw 0!important;
    }
}

/*************** EXTENSION ****************/
.site-1-home #g-extension .info-boxes .button {
    background: var(--secondary-color);
}
.site-1-home #g-extension .info-boxes .button:hover {
    background: #777777;
}

@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-extension {
        background: url('/images/template/Swish3.png') 0% 00% no-repeat, transparent;
        background-size: cover;
        margin-top: -33vw;
        padding-top: 32vw;
    }

    .info-boxes .g-content-array {
        display: flex;
        flex-direction: row;
        margin: 0;
        justify-content: center;
    }
    .info-boxes .g-content-array > .g-grid {
        flex: 1;
        margin: 0;
        min-width: 0px;
        max-width: 600px;
    }
    .info-boxes .info-box-buttons {
        margin: 0;
        padding: 0;
        text-align: center;
    }
    .info-boxes .newsfeed {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }
    .info-boxes .newsfeed .feed-link > a {
        font-weight: 700;
    }
    .info-boxes img {
        border-radius: 1rem;
        box-shadow: var(--default-box-shadow);
    }
    .info-boxes .info-box-image {
        height: 13vw;
        max-height: 450px;
        max-width: 600px;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
        border-radius: 1rem;
    }
    .info-boxes .info-box-image img {
        width: 100%;
        height: 100%;
        object-position: center;
        object-fit: cover;
        border-radius: 1rem;
    }
    .info-boxes .info-box-outer {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .info-boxes .info-box-inner {
        max-width: 600px;
    }
    .info-boxes .info-box-title :is(h1,h2,h3,h4,h5,h6) {
        font-size: var(--info-title-size);
        color: var(--default-white);
    }
    .info-boxes :is(h1,h2,h3,h4,h5,h6) {
        font-size: var(--info-title-size);
        color: var(--default-white);
    }
    .info-boxes p {
        color: var(--default-white);
    }
    .info-boxes .info-box-title {
        padding: 0 1rem;
    }
    .info-boxes .info-box-desc {
        padding: 0 1rem;
        font-size: var(--info-text-size);
    }
    .info-boxes .info-box-desc p {
        padding: 0 1rem;
        font-size: var(--info-text-size);
    }
}

@media only screen and (min-width: 50.99rem) and (max-width: 3150px) {
    .info-boxes .info-box-image {
        height: 21vw;
    }
}

@media only screen and (min-width: 120rem) {
    .info-boxes .info-box-title :is(h1,h2,h3,h4,h5,h6) {
        font-size: var(--info-title-max-size);
    }
    .info-boxes .info-box-desc {
        font-size: var(--info-text-max-size);
    }
    .info-boxes .info-box-desc p {
        font-size: var(--info-text-max-size);
    }
}

@media only screen and (max-width: 50.99rem) {
    .info-boxes {
        --info-title-size: 6vw;
    }
    .info-boxes .info-box-outer {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .info-boxes .info-box-inner {
        max-width: 600px;
    }
    .info-boxes :is(h1,h2,h3,h4,h5,h6) {
        font-size: var(--info-title-size);
        color: var(--default-white);
    }
    .info-boxes p {
        color: var(--default-white);
    }
}

/*************** BOTTOM *******************/
/*************** FOOTER *******************/
#g-footer .g-content-array {margin: 0;}
#g-footer a {color: var(--default-white);} 

/*************** COPYRIGHT ****************/ 
/*************** MODULES ******************/
.moduletable .nav.menu, .moduletable .unstyled {background: var(--primary-color);} 
.moduletable .nav.menu li.current.active a, .moduletable .nav.menu li a:hover {    
    color: white; 
    background: var(--hover-color);
} 
/*************** SECTIONS *****************/
/*************** MOBILE *******************/ 
/*************** ADS **********************/

/****** top button class*****/

.top-button >div:nth-child(1) {
	padding-bottom: 0;
	margin-bottom: 0;
}

.top-button a {
    width: 100%;
    display: block;
    padding: 10px 20px;
    color: white;
    background: var(--primary-color);
	margin-bottom: -2.125rem;
	border-bottom: 1px solid var(--secondary-color);
	z-index: 99;
	position: relative
}

.top-button a:hover {
	background: var(--hover-color);
}

/* new headlines */


/* add hover effect to the featured article read more text */

.overlap-headline .g-array-item-read-more a {
    font-size: clamp(1rem, 1.2vw, 3rem);
    position: relative;
    transition: all 300ms ease-in-out;
    overflow: hidden;
    padding-bottom: 5px !important;
}

.overlap-headline .g-array-item-read-more a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 300ms ease-in-out;
}

@media (min-width: 50.99rem) {
.overlap-headline .g-array-item-read-more a:hover::after {
    width: 100%;
}

.overlap-headline .g-array-item-read-more a:hover {
    transition: all 400ms ease-in-out;
    transform: scale(1.05);
}
}

.overlap-headline .g-title {
    text-align: center;
    font-weight: normal;
    font-size: clamp(3rem, 5vw, 6rem);
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.overlap-headline .g-array-item {
    display: grid;
    grid-template-areas: 
    "image ."
    "image title"
    "image text"
    "image read-more"
    "image .";
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 4vw auto auto auto 4vw;
}

.overlap-headline > .g-content {
    padding: 5%;
    margin: 0;
}

.overlap-headline .g-array-item-image {
    grid-area: image;
    margin: 0;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: var(--default-box-shadow);
}

.overlap-headline .g-array-item-image img {
    position: relative;
    top: 50%;
    transform: translate(0,-50%);
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlap-headline .g-array-item-image a {
    width: 100%;
    height: 100%;
    display: block;
}

.overlap-headline .g-array-item-text {
    grid-area: text;
    margin: 0 0 0 -6vw;
    background-color: white;
    padding: 0 7% calc(2rem - 1.3rem) 7%;
    z-index: 2;
}

.overlap-headline .g-array-item-text h1 {
    font-size: clamp(2rem, 2.5vw, 3.5rem);
}

.overlap-headline .g-array-item-title {
    grid-area: title;
    margin: 0 0 0 -6vw;
    position: relative;
    padding: 7% 7% 0 7%;
    z-index: 2;
    background-color: white;
}

.overlap-headline .g-item-title {
    color: var(--heading-color);
    font-size: clamp(1.5rem, 2.2vw, 3rem);
    font-weight: var(--h4-font-weight);
    font-variant-caps: var(--h4-font-variant-caps);
    text-transform: var(--h4-text-transform);
    line-height: var(--h4-line-height);
    margin: var(--h4-margin);
    padding: var(--h4-padding);
    border-bottom: var(--none);
    border-radius: var(--h4-border-radius);
    background: var(--h4-background);
}

.overlap-headline .g-array-item-title a {
    pointer-events: none;
    color: var(--heading-color);
}

.overlap-headline p {
    margin-bottom: 0;
    line-height: 1.5;
}

.overlap-headline .g-array-item-text p:last-child {
    margin-bottom: 0;
}

.overlap-headline .g-array-item-read-more {
    grid-area: read-more;
    margin: 0 0 0 -6vw;
    background-color: white;
    padding: 0 7% 7% 7%;
    z-index: 2;
}

.overlap-headline .g-array-item-read-more .button {
    background-color: transparent;
    color: var(--secondary-color);
    padding: 0;
}

.overlap-headline .g-joomla-articles .g-content {
    padding: 0;
}

.overlap-headline .g-title {
    line-height: 1;
}

@media (max-width: 50.99rem) {

    .overlap-headline .g-array-item {
        display: grid;
        grid-template-areas: 
        ". image ."
        ". title ."
        ". text ."
        ". read-more ."
        ". . .";
        grid-template-columns: 0fr 1fr 0fr;
        grid-template-rows: minmax(1rem, auto) auto auto auto minmax(1rem, auto);
    }

    .g-array-item-image {
        max-height: initial !important;
    }

    .overlap-headline .g-array-item-text, .overlap-headline .g-array-item-read-more  {
        margin: 0;
    }

    .overlap-headline .g-array-item-read-more a {
        text-align: left;
    }

    .overlap-headline .g-array-item-title {
        margin: 0;
    }

}

/*  new ph headlines */

.ph-rec-row-hover-mobile {
    --ph-border-radius: 1rem;
}

.ph-rec-row-hover {
    --ph-title-font-size-mobile: 3.5vw;
    --ph-border-radius: 1rem;
    --ph-img-overlay-opacity: 0.5;
}

.ph-rec-row-hover .g-content.g-particle {
    padding: 0;
    margin: 0;
}

.ph-rec-row-hover-mobile .g-content.g-particle {
    padding: 0;
    margin: 0;
}

@media (min-width: 50.99rem) {
    .ph-rec-row-hover.ph-super-wide .g-array-item-image img {
        height: 100%;
        aspect-ratio: 1600/669;
    }
    
    .ph-rec-row-hover.ph-wide .g-array-item-image img {
        height: 100%;
        aspect-ratio: 16/9;
    }
    
    .ph-rec-row-hover.ph-standard .g-array-item-image img {
        height: 100%;
        aspect-ratio: 16/12;
    }
    
    .ph-rec-row-hover .g-array-item:hover {
        background-color: rgb(240, 240, 240);
        transition: all 400ms ease-in-out !important;
    }
    
    .ph-rec-row-hover .g-array-item {
        transition: all 300ms ease-in-out !important;
        border-radius: var(--ph-border-radius);
        border: initial;
    }
    
    .ph-rec-row-hover .g-array-item:hover .g-array-item-image img {
        opacity: 1;
        transform: scale(1.07);
        transition: all 400ms ease-in-out;
    }
    
    .ph-rec-row-hover .g-array-item .g-array-item-image img {
        transition: all 300ms ease-in-out;
    }
    
    .ph-rec-row-hover .g-array-item-title {
        background-color: var(--default-white);
        position: relative;
        z-index: 99;
        transition: all 300ms ease-in-out;
        pointer-events: none;
    }
    
    .ph-rec-row-hover .g-array-item:hover .g-array-item-title {
        background-color: rgb(240, 240, 240);
        transition: all 400ms ease-in-out !important;
    }
    
    .ph-rec-row-hover .g-content-array.g-joomla-articles {
        justify-content: space-between;
        row-gap: 2.5vw;
    }
    
    .ph-rec-row-hover .g-array-item-text p {
        font-size: clamp(1rem, 1.3vw, 2rem);
    }

    .ph-rec-row-hover .g-array-item-image::before {
        content: "";
        height: 100%;
        width: 100%;
        position: absolute;
        z-index: 5;
        background-color: rgba(var(--primary-rgb),var(--ph-img-overlay-opacity));
        transition: all 300ms ease-in-out;
    }

    .ph-rec-row-hover .g-array-item:hover .g-array-item-image::before {
        transition: all 500ms ease-in-out;
        opacity: 0;
    }

    .ph-rec-row-hover .g-array-item-image {
        position: relative;
    }

    .ph-rec-row-hover .g-array-item-read-more {
        z-index: 10;
    }

    .ph-rec-row-hover .g-content-array > .g-grid {
        padding: 0;
        width: 32% !important;
    }
}

@media (max-width: 1050px) and (min-width: 50.99rem) {
    .ph-rec-row-hover .g-content-array > .g-grid {
        width: 48% !important;
    }
}

@media (max-width: 50.99rem) {

    .ph-rec-row-hover-mobile .g-array-item {
        position: relative;
        background-color: var(--default-white);
        box-shadow: var(--default-box-shadow);
        border-radius: var(--ph-border-radius);
        transition: all 300ms ease-in-out;
    }
    
    .ph-rec-row-hover-mobile .g-content-array .g-content {
        padding: 0;
    }

    .ph-rec-row-hover-mobile .g-array-item-read-more {
        margin: 0;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
    }

    .ph-rec-row-hover-mobile .g-array-item-text {
        padding: 0 5% 5% 5%;
        margin-top: 0;
    }

    .ph-rec-row-hover-mobile .g-array-item-title {
        padding: 5%;
    }

    .ph-rec-row-hover-mobile .g-item-title {
        font-variant-caps: initial;
        border: none;
    }

    .ph-rec-row-hover-mobile .g-item-title a {
        color: var(--ph-title-color);
    }

    .ph-rec-row-hover-mobile .g-array-item-read-more a {
        background-color: transparent;
        color: transparent;
        height: 100%;
        width: 100%;
    }

    .ph-rec-row-hover-mobile.ph-super-wide .g-array-item-image {
        margin: 0;
        aspect-ratio: 1600/669;
    }

    .ph-rec-row-hover-mobile.ph-wide .g-array-item-image {
        margin: 0;
        aspect-ratio: 1600/900;
    }

    .ph-rec-row-hover-mobile.ph-standard .g-array-item-image {
        margin: 0;
        aspect-ratio: 1600/1200;
    }

    .ph-rec-row-hover-mobile img {
        border-radius: var(--ph-border-radius) var(--ph-border-radius) 0 0;
    }

    .ph-rec-row-hover-mobile .g-array-item:is(:hover, :focus) {
        transform: scale(0.98);
        transition: all 500ms ease-in-out;
    }

    .ph-rec-row-hover-mobile .g-array-item:active {
        transform: scale(0.98);
        transition: all 50ms ease-in-out;
    }
}

.site-home-2 #g-mainbar {
    padding: 0 5%;
}

.mass-times-overlay .button {
    background: transparent;
    border: 1px solid white;
    color: white;
    margin-top: 1rem;
}