@import url('//fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&family=Arimo:ital,wght@0,400..700;1,400..700&family=Titillium+Web:ital,wght@0,400;0,700;1,400;1,700&family=Great+Vibes&display=swap');
/************ TEMPLATE  ************

school font: 

"TitilliumText22LMedium", Helvetica, Arial, sans-serif;

Blue #5c88c6  rgba(92, 136, 198, 1)
Gray: #8b8d91 rgba(139, 141, 145, 1)
************/

.site-1, .site-1-sub {
    --primary-color: #5c88c6;
    --secondary-color: #8b8d91;

    --primary-rgb: 92, 136, 198;
    --secondary-rgb: 139, 141, 145;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: 'Titillium Web', sans-serif;
    --body-font-family: 'Arimo', 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-background-color: rgba(var(--secondary-rgb),.8);

    --site-border-radius: 0.5rem;

    --ql-font-size-desktop: 2.3vw;
}

body {
	font-family: var(--body-font-family);
	padding: 0 3vw;
	}

.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;}*/

@media (min-width: 50.99rem) {
    :is(.site-1-home, .site-2-home, .site-3-home) #g-top .modern-alert .g-joomla-articles {
        padding: 0 3% !important;
    }
   }

:is(.site-1-home, .site-2-home) #g-page-surround .g-content-array .g-content {
    padding: 0;
}

:is(.site-1, .site-2) #g-page-surround .g-content-array {
    margin: 0;
}

:is(.site-1-home, .site-2-home) #g-page-surround .g-content {
    padding: 0;
}
:is(.site-1-home, .site-2-home) #g-page-surround .g-array-item-text {
    margin: 0;
}

.admod td {
    padding: 0 !important;
}

.admod table, .admod tr {
    gap: 0.5rem;
}

a.button:not(.g-blockcontent-buttons a) {
    text-align: center;
    display: block;
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--site-border-radius);
    font-size: 1.1rem;
    transition: all 200ms ease-in;
    border: 3px solid var(--secondary-color);
}

a.button:hover {
    transition: all 200ms ease-out;
    background-color: transparent;
    color: white;
	background-color: var(--secondary-color);
}

a.secondary-button {
    text-align: center;
    display: inline-block;
    background-color: transparent;
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: var(--site-border-radius);
    font-size: 1.1rem;
    transition: all 200ms ease-in;
}

a.secondary-button:hover {
    transition: all 200ms ease-out;
    background-color: var(--primary-color);
    color: var(--default-black);
}

a.header-button {
	background: rgba(0, 0, 0, 0.2);
	padding: .5rem 2rem;
}

/***********Custom Scrollbar****************/

/* Hide the default scrollbar */

::-webkit-scrollbar {
    width: .75rem;
}

::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {

background-color: #ccc;
    border-radius: 5px;
}

/* Style the scrollbar on hover */

::-webkit-scrollbar-thumb:hover {
    background-color: #bbbbbb;
}

/* Style the scrollbar when it's being dragged */

::-webkit-scrollbar-thumb:active {
    background-color: #8c8c8c;
}

@-moz-document url-prefix() {
    * {
    scrollbar-width: thin;
         scrollbar-color: #ccc #f5f5f5;
    }
}

/*************** 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) {
    :is(.site-1, .site-2) #g-offcanvas .g-social-items {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        align-items: center;
        justify-content: center;
    }
    :is(.site-1, .site-2) #g-offcanvas .g-social-items a {
        color: var(--secondary-color);
    }

    .site-2 #g-offcanvas .g-social-items a {
        color: white;
    }

    :is(.site-1, .site-2) #g-offcanvas .g-social-items a:hover {
        color: var(--tertiary-color);
    }
}

/*************** TOP **********************/ 
/*************** NAVIGATION ***************/

#g-navigation .g-content {
	padding: 0.25rem;
	margin: 0;
}

#g-navigation .g-grid:nth-child(2) {
	border-top: 1px solid #919090;
    border-bottom: 6px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 -3px 5px rgba(0, 0, 0, 0.3);
	margin-top: 10px;
}
#g-navigation .g-grid:nth-child(2) .g-content {
	padding: 0;
}

@media only screen and (min-width: 50.99rem) {
	.moveintocontainerbelow {
		margin-bottom: -5vw;
		z-index: 2;
	}
}
@media only screen and (max-width: 50.99rem){
	.moveintocontainerbelow {
		margin-bottom: 0;
		margin-left: 25%;
	}
}

.g-main-nav .g-toplevel>li>.g-menu-item-container>.g-menu-item-content {
	text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}
.g-main-nav .g-toplevel > li {
	box-shadow: 0 4px 10px -2px #7b7b7b;
}

@media (min-width: 50.99rem) {
    .header-contact {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .header-contact .box > a:hover i {
        color: var(--secondary-color);
        transition: all 300ms ease-in-out;
    }

    .header-contact .box i {
        font-size: 2vw;
        color: var(--primary-color);
        transition: all 400ms ease-in-out;
    }

    .header-contact .box > div:nth-child(1) {
        aspect-ratio: 1/1;
        height: 2vw;
        display: grid;
        align-items: center;
        justify-content: center;
    } 
}

@media (max-width: 50.99rem) {
    .header-contact {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 1rem 5%;
    }

    .header-contact .box i {
        font-size: 2rem;
        color: var(--primary-color);
    }

    .header-contact .box {
        display: grid;
        align-items: center;
        justify-content: center;
    }

    .site-3 #g-navigation {
        border-bottom: 3px solid var(--secondary-color);
    }
}

.header-contact .box > a {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.header-contact p {
    margin: 0;
    line-height: 1.35;
}

/*************** SLIDESHOW ****************
/*************** HEADER *******************/
/*************** ABOVE ********************/
/*************** SHOWCASE *****************/


@media (min-width: 50.99rem) {
#g-slideshow .overlaywords { position: relative;  z-index: 10; /*top: 0;*/ text-align: center;  font-size: 2.5rem; line-height: 4rem; font-family: 'Great Vibes', cursive; text-shadow: 2px 2px 5px rgba(0,0,0,.5); color: white;  margin: 0 0 -10vw 0;  display: block; width: 100%;}
}
@media (max-width: 50.99rem) {
#g-slideshow .overlaywords{ text-align: center;  font-size: 2.25rem; line-height: 1.25em; font-family: 'Great Vibes', cursive; text-shadow: 2px 2px 5px rgba(0,0,0,.5); color: #405F8B;  margin: 5px 0 0 0;  display: block; width: 100%;}

#g-slideshow .overlaywords p {margin-top: 10px; }
}


.layout-showcase .sprocket-features-img-container img {
    margin-right: 0px;
    width: 100%;
    height: 27vw;
    object-fit: cover;
    object-position: center;
}
.layout-slideshow .sprocket-features-img-container {
	height: 29vw;
}

/*#g-showcase .layout-slideshow .sprocket-bottom-gradient {
    height: 75px;
}*/
#bottom-gradient {
    position: relative;
    left: 0;
    height: 10px;
    z-index: 2;
	margin-top: -6vw;
}
/*.sprocket-bottom-gradient {
    /*background: linear-gradient(bottom, rgba(233, 234, 236, 1) 0%, rgba(233, 234, 236, 0) 100%);
    background: -webkit-linear-gradient(bottom, rgba(233, 234, 236, 1) 0%, rgba(233, 234, 236, 0) 100%);
}*/

/************ BIGGER ARROWS ON SLIDESHOW ************/
.sprocket-features.layout-slideshow.arrows-active.arrows-onhover .sprocket-features-arrows .arrow { 	background: none; box-shadow: none; color: white;}
.layout-slideshow .sprocket-features-arrows .arrow { 	background: none; box-shadow: none; color: white;}
.sprocket-features.layout-slideshow.arrows-active.arrows-onhover .sprocket-features-arrows .arrow { font-size: 5rem; }
.layout-slideshow .sprocket-features-arrows .arrow{ font-size: 5rem; }
.arrows-active .sprocket-features-list {margin: 0px; }
.arrows-onhover .sprocket-features-arrows .arrow.prev { margin-left: 0;}
.arrows-onhover .sprocket-features-arrows .arrow.next { margin-right: 0;}

@media only screen and (max-width: 767px) {
.sprocket-features-pagination, .sprocket-features-arrows { display: none;}
}


/*************** UTILITY ******************/

#g-utility .g-content {
	padding: 1rem 0;
}

/*quick link boxes */
.ql-school img {
	border: 3px solid #fff;
	border-radius: 3px;
	background-color: #fff;
	max-width: 100%;
	margin: 3px;
	box-shadow: 1px 1px 7px #000000;
}

.ql-school img:hover{
	border: 3px solid var(--secondary-color);
	background-color: white;
}

.ql-school .module-content img{
	padding:2px;
} 

.ql-school .rt-block {
	padding-top:0;
	padding-bottom:0;
	margin-top:0;
	margin-bottom:0;
}

.ql-school .rt-block .module-surround {
	padding: 0;
}

#g-utility .box1 {
	border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
	background-image: url(images/boxbackground.png); 
}
.title2 .module-surround .module-border {
	background-color: var(--primary-color);
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.5) inset;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(225, 225, 225, 0.4);
    border-right: 1px solid rgba(225, 225, 225, 0.2);
}
.title2 .g-title {
	text-shadow: 0px 2px 0px rgba(0, 0, 0, 0.1);
}
.box1 .g-title {
	font-size: var(--h4-size);
}


.box1.moduletable:before, .box1.widget:before, .box1.g-outer-box:before, .box1>.g-content:before {
	display: none;
}
.box1.moduletable:after, .box1.widget:after, .box1.g-outer-box:after, .box1>.g-content:after {
	display: none;
}

.moduletable[class*="box"], .widget[class*="box"] {
	padding: 0.5rem; 
	margin: 0.25rem;
}
.box1 h2.contentheading {
	font-size: var(--h6-size);
	font-weight: 600;}
	
#g-utility .sprocket-lists-item {
	font-family: var(--body-font-family);
}


@media (min-width: 50.99rem) {
    .site-1 .ql-inner-box .g-blockcontent-subcontent-title > .g-blockcontent-subcontent-title-text {
        border: 1px solid var(--secondary-color) !important;
    }
  
    .ql-inner-box .g-block.g-blockcontent-subcontent-block {
        aspect-ratio: 1.3/1;
    }

    .g-blockcontent-subcontent-title-text {
        font-weight: normal;
    }
}

@media (max-width: 50.99rem) {
    .ql-inner-box .g-block.g-blockcontent-subcontent-block {
        aspect-ratio: 1.5/1;
    }
    #blockcontent-8844-particle > div > div > div > div:last-child {
        aspect-ratio: 2/1;
    }

    .ql-dm {
        padding: 5% !important;
    }

    .mass-times-block .g-array-item {
        padding: 5% !important;
    }
	
	.ql-school div{
		width: 130px;
		height: 70px;
		display:  inline-block;
		margin: 0 8px;
	}
}

.ql-inner-box .g-content .g-blockcontent-subcontent-block-content {
    height: 100%;
    width: 100%;
}

/* stanislaus */

@media (min-width: 50.99rem) {
    .site-2 .ql-inner-box .g-blockcontent-subcontent-title > .g-blockcontent-subcontent-title-text {
        border: 1px solid var(--tertiary-color) !important;
    }
}

/*************** FEATURE ******************/
/*************** MAIN *********************/
.homepage-articles .g-array-item {
	margin: 20px 4px;
	border-radius: 10px;
	border: 6px solid rgba(0, 0, 0, 0.1);
	background-color: #f9f9f9;
	min-height: 50vw;
	padding: 1rem;
}
#g-container-main .g-content {
	padding: 0.5rem;
	border: 3px solid #e0e0e0;
}

#g-container-main .g-content-array .g-grid {
	margin-bottom: 1rem;
}

#g-aside {
	background: #e0e0e0;
}
#g-container-main .blog img {
	background-color: #ffffff;
    border: 3px solid #ffffff;
	border-radius: 3px;
	box-shadow: 1px 1px 7px #000000;
    margin: 10px;
}


@media (min-width: 50.99rem) {
    :is(.site-1-sub, .site-2-sub) #g-container-main {
        padding: 5% 3%;
    }
}

.parish-home #g-container-main {
    padding: 0 5%;
}

:is(.site-1-home, .site-2-home) #g-container-main {
    padding: 5%;
}


:is(.site-1-home, .site-2-home) #g-sidebar {
    padding: 5%;
    background-color: #e8d4bb;
	box-shadow: 0 4px 10px -2px #ababab;
}

:is(.site-1-home, .site-2-home) #g-mainbar > div:nth-child(2) {
    padding: 5% 0;
}

:is(.site-1-home, .site-2-home) #g-container-main > div > div > div.g-block.size-14 {
    display: grid;
    align-items: center;
}

@media only screen and (min-width: 50.99rem) {
    :is(.site-1-sub, .site-2-sub, .site-3-sub) #g-mainbar {
        min-height: 30vh;
    }
}

@media only screen and (max-width: 50.99rem) {
    :is(.site-1-sub, .site-2-sub, .site-3-sub) #g-mainbar > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
}

@media (min-width: 50.99rem){
:is(.site-1-sub, .site-2-sub) #g-container-main {
    padding: 2% 1%;
}}

/*************** EXPANDED *****************/

/*************** EXTENSION ****************/

/*************** BOTTOM *******************/

@media (max-width: 50.99rem) {
    .site-2 #g-bottom {
        margin-bottom: 1rem !important;
    }
}

@media only screen and (min-width: 50.99rem) {
    :is(.site-1, .site-2) #g-bottom {
        padding: 2vw 0!important;
    }
    :is(.site-1, .site-2) #g-bottom .admod td {
        padding: 0;
    }
}

.site-3 #g-bottom {
    margin: 1rem 0 !important;
}

/*************** FOOTER *******************/
#g-footer .g-content-array {margin: 0;}
#g-footer a {color: var(--default-white);} 

.site-1 #g-container-footer {
    background-image: url("/images/template/header.jpg");
	background-size: 98%;
	box-shadow: 0 -4px 10px -2px #ababab;
}

:is(.site-1, .site-2, .site-3) #g-footer p {
    margin-bottom: 0;
    line-height: 1.5;
    text-shadow: var(--default-box-shadow);
    font-size: clamp(1rem, 1.3vw, 1.75rem);
}

:is(.site-1, .site-2, .site-3) #g-footer {
    padding: 3vw 0 !important;
}

:is(.site-1, .site-2, .site-3) #g-footer h1 {
    text-shadow: var(--default-box-shadow);
    font-size: clamp(2.2rem, 3.6vw, 5rem);
    margin-top: 0;
    color: white;
}

/* stanislaus */

.site-2 #g-container-footer {
    background: url("/images/template/stan-pattern-50.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 50.99rem) {
    :is(.site-1, .site-2) #g-footer > div > div > div.g-block.size-20 {
        padding: 5% 35%;
    }
}

/*************** 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
    }
}

:is(.site-1-home, .site-2-home) #g-copyright .web-policy p {
    margin-bottom: 0;
}

/*************** MODULES ******************/
.moduletable .nav.menu, .moduletable .unstyled {background: var(--secondary-color) !important;} 
.moduletable .nav.menu li.current.active a, .moduletable .nav.menu li a:hover {    
    color: var(--default-white) !important; 
    background: var(--primary-color) !important;
} 
/*************** SECTIONS *****************/
/*************** MOBILE *******************/ 

.g-offcanvas-toggle {
    background: var(--default-white);
    display: grid;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
  }

  .g-offcanvas-toggle  .fa-fw {
    text-shadow: initial !important;
  }
  
/*************** ADS **********************/

.site-3-sub #g-container-main {
    padding-top: 2%;
}

.site-3-sub .admod {
    margin-top: 1rem;
}

@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-ads {
    margin-top: 1rem;
}

.titillium-web-regular {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.titillium-web-regular-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.titillium-web-bold {
  font-family: "Titillium Web", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.titillium-web-bold-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 700;
  font-style: italic;
}