@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: #633e23;
    --secondary-color: #de993a;

    --primary-rgb: 99, 62, 35;
    --secondary-rgb: 222, 153, 58;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: 'Spectral', serif;
    --body-font-family: 'Montserrat', 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: 5rem;

    --ql-font-size-desktop: 2.3vw;
}

.site-2 {
    --primary-color: #144a2b;
    --secondary-color: #1d6190;
    --tertiary-color: #cbc2b1;

    --primary-rgb: 20, 74, 43;
    --secondary-rgb: 29, 97, 144;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: 'Marcellus', serif;
    --body-font-family: 'Montserrat', 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: 5rem;

    --mt-header-desktop: 2.75vw;
    --mt-background-image: url("/images/template/masstimes2.jpg");

    --ql-font-size-desktop: 2.3vw;


}

.site-3 {
    --primary-color: #253b6d;
    --secondary-color: #8c2131;

    --primary-rgb: 37, 59, 109;
    --secondary-rgb: 140, 33, 49;

    --default-white: #ffffff;
    --default-black: #000000;

    --ql-title-color: var(--default-white);
}

.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: inline-block;
    background-color: var(--secondary-color);
    padding: 1rem 2rem;
    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 150ms ease-out;
    transform: scale(1.05);
}

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);
}

/***********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 ***************/

.header-logo img {
    width: 70%;
    padding: 3vw 0 1vw 0;
}

:is(.site-2-home, .site-1-home) .rounded-menu .g-toplevel > .g-menu-item:last-child:hover {
    background-color: initial !important;
}

.site-1-home .mass-times-block {
    background: var(--mt-background-image) 0% 0% no-repeat;
    background-position: center;
    background-size: cover;
}

.site-1-home #g-slideshow a {
    color: white;
    text-shadow: var(--default-box-shadow);
}

.site-1-home #g-slideshow h1 {
    color: var(--primary-color);
    margin-bottom: 0.75vw;
    font-weight: bold;
}

.site-1-home #g-slideshow p {
    color: white;
    text-shadow: var(--default-box-shadow);
}

.site-1 #g-navigation {
    background-image: url("/images/template/header.jpg");
	background-size: 95%;
    margin-bottom: 1vw !important;
}

.site-1 #g-navigation > div.g-container {
    background: rgb(253 240 214 / 90%);
    padding-bottom: 2vw !important;
	box-shadow: 0 4px 10px -2px #ababab;

}

:is(.site-1, .site-2) #g-navigation > .g-container > .g-grid:nth-child(2) {
    padding: 0 5%;
}

.site-1 #g-navigation .g-main-nav {
    padding: 0.75vw;
    border-radius: 5rem;
}

@media only screen and (min-width: 50.99rem) {
    .g-main-nav .g-toplevel>li>.g-menu-item-container>.g-menu-item-content {
        font-size: 1vw;
        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: 1vw;
        font-family: var(--body-font-family);
    }

    :is(.site-1, .site-2) #g-navigation .g-social-items {
        display: flex;
        flex-direction: row;
        gap: 2vw;
        align-items: center;
    }
    :is(.site-1) #g-navigation .g-social-items a {
        color: var(--secondary-color);
        font-size: 1.25vw;
    }
    :is(.site-1, .site-2) #g-navigation .g-social-items a:hover {
        opacity: 0.75;
    }
}
@media only screen and (max-width: 50.99rem) {
    #g-navigation .g-logo {
        max-width: 65%;
        margin: 2rem auto;
    }
}

/* stanislaus */

.site-2 #g-navigation {
    background-image: url("/images/template/stan-pattern-header.jpg");
	background-size: 140%;
}

.site-2 #g-navigation > div.g-container {
    background: rgb(253 240 214 / 90%);
    padding-bottom: 2vw !important;
}

.site-2 .header-logo img {
    width: 50%;
    padding: 2vw 0;
}

.site-2 #g-navigation .g-main-nav {
    border-radius: 5rem;
}

@media (min-width: 50.99rem) {
    .site-2 #g-navigation .g-social-items a {
        color: var(--default-white);
        font-size: 1.25vw;
    }
}

/* school */

.site-3 .g-main-nav {
    border-bottom: 2px solid var(--secondary-color);
}

.site-3 .rounded-menu .g-toplevel > li:last-child ul.g-dropdown {
    border-radius: 1.25rem 0rem 1.25rem 1.25rem !important;
    overflow: hidden;
}

.site-3 .rounded-menu .g-toplevel > li:last-child ul.g-dropdown .g-sublevel > li:nth-child(2) {
    border-radius: 0 !important;
}

@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 ****************/

.site-1 #g-slideshow {
	margin-bottom: 1vw !important;
    box-shadow: 0 4px 10px -2px #ababab;
}

@media (max-width: 50.99rem) {
    :is(.site-1-home, .site-2-home) #g-slideshow > div > div {
        flex-flow: row wrap-reverse;
    }
}

/* stanislaus */

.site-2-home .mass-times-block .g-array-item {
    padding: 15%;
}

.site-2-home .mass-times-block :is(h1,h2,h3,h4,h5,h6) {
    color: white;
    text-shadow: var(--default-box-shadow);
    margin-bottom: 0.85rem;
    /* font-family: var(--body-font-family); */
}
.site-2-home .mass-times-block {
    overflow: hidden;
    background: var(--mt-background-image) 0% 0% no-repeat;
    background-size: cover;
    background-position: center;
}

.site-2-home .mass-times-block p {
    line-height: 1.3;
    font-size: 1.25rem;
}

.site-2-home .mass-times-block p {
    color: var(--tertiary-color);
    text-shadow: var(--default-box-shadow);
}

.site-2-home .mass-times-block .button {
    background-color:  var(--tertiary-color);
    color: var(--primary-color) !important;
    box-shadow: var(--default-box-shadow);
    border: none;
    margin-top: 0.85rem;
    font-weight: bold;
}

.site-2-home .mass-times-block .button:hover {
    transition: all 400ms ease-in-out;
    box-shadow: none;
    transform: scale(0.98);
    font-weight: bold;
}

.site-2-home .mass-times-block a {
    color: white !important;
}

/*************** HEADER *******************/
/*************** ABOVE ********************/
/*************** SHOWCASE *****************/
/*************** UTILITY ******************/

@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-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 *********************/

@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%;
}

.site-2-home #g-sidebar img {
    width: 60%;
    display: grid;
    margin: auto;
    border-radius: 5px;
    box-shadow: var(--default-box-shadow);
}

@media (max-width: 50.99rem) {
    .site-2-home #g-sidebar {
        margin-bottom: 5%;
    }
}

:is(.site-1-home, .site-2-home) #g-container-main {
    padding: 5%;
}

.chats-with-father {
    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;
    }
}

/* stanislaus */

.site-2-home #g-container-main {
    background: url("/images/template/stan-pattern-50.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 110%;
}

.site-2-home #g-aside {
    background: transparent;
}

/*************** EXPANDED *****************/

.site-1-home .side-by-side-bulletin .bulletin-container {
    --bulletin-text-background-color: linear-gradient(180deg, rgba(222,153,58,0) 0%, rgba(222,153,58,1) 100%);;
    --small-bulletin-font-size: var(--big-bulletin-font-size);
    --bulletin-title-color: white;
    --bulletin-border-radius: 0;
    --bulletin-gaps: 2.5rem;
}

.site-2-home .side-by-side-bulletin .bulletin-container {
    --bulletin-text-background-color: linear-gradient(180deg, rgba(222,153,58,0) 0%, rgba(var(--secondary-rgb),1) 100%);;
    --small-bulletin-font-size: var(--big-bulletin-font-size);
    --bulletin-title-color: white;
    --bulletin-border-radius: 0;
    --bulletin-gaps: 2.5rem;
}

.side-by-side-bulletin .bulletin-container > .bulletin:first-child {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.side-by-side-bulletin .bulletin-container > .bulletin {
    height: 90% !important;
    width: var(--big-bulletin-size);
}

.side-by-side-bulletin .bulletin-date-container {
    height: 100% !important;
    width: 100%;
}

.side-by-side-bulletin .bulletin-date-container {
    align-items: flex-end !important;
    transition: all 400ms ease-in-out;
}

.side-by-side-bulletin .bulletin-container {
    align-items: center;
}

.side-by-side-bulletin .bulletin:hover .bulletin-date-container {
    height: 100% !important;
    transition: all 400ms ease-in-out !important;
}

.side-by-side-bulletin .bulletin:hover .bulletin-img-container {
    background-size: 115% !important;
}

.side-by-side-bulletin .bulletin-img-container {
    background-position: center 20% !important;
}

.side-by-side-bulletin .bulletin p {
    margin-bottom: 10% !important;
    text-shadow: var(--default-box-shadow);
}
/*  */

:is(.site-1-home) #g-expanded > div > div:nth-child(2) {
    padding: 5%;
}

:is(.site-1-home, .site-2-home) #g-expanded > div > div:nth-child(2) > div.g-block {
    display: grid;
    align-items: center;
}

:is(.site-1-home) #g-expanded :is(p, a, h1, h2 , h3, h4,h5,h6) {
    color: white;
}

:is(.site-1-home) .welcome {
    padding-top: 5%;
}

.welcome h1 {
    font-size: clamp(3rem, 6vw, 7rem);
    margin-bottom: 1rem;
}

:is(.site-1-home, .site-2-home) #g-expanded p {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.35rem;
    text-shadow: var(--default-box-shadow);
}

:is(.site-1-home, .site-2-home) #g-expanded h1 {
    margin-bottom: 1.5rem;
    text-shadow: var(--default-box-shadow);
}

:is(.site-1-home, .site-2-home) #contentarray-7971-particle > div > div > div > div > div > div > p {
    font-style: italic;
}

:is(.site-1-home, .site-2-home) #custom-2743-particle > div {
    margin-top: 1.5rem;
}

:is(.site-1-home, .site-2-home) #custom-2743-particle > h1 {
    font-family: var(--body-font-family);
    font-variant: all-small-caps;
}

:is(.site-1-home) #g-expanded {
    background: url('/images/template/paralax2.jpg') 50% 50% no-repeat;
    background-size: 110% auto;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
}

:is(.site-1-home).tablet-screen #g-expanded {
    background: url('/images/template/paralax2.jpg') 50% 50% no-repeat;
    background-size: cover;
    background-attachment: unset !important;
}

:is(.site-1-home) #g-expanded > div.g-container {
    background: rgba(var(--primary-rgb),.7); /* You can change the color here */
    padding: 5% 5% 0 5% !important; /* adjust the padding here */
}

@media (max-width: 50.99rem) {
    :is(.site-1-home) #g-expanded {
      background: url('/images/template/paralax2.jpg') 50% 50% no-repeat;
      background-size: cover;
  }
}

/* stanislaus */

#custom-7686-particle > h1 {
    color: white;
}

.site-2-home #g-expanded .stan-bulletin .koowa_header__item a {
    text-shadow: var(--default-box-shadow);
    font-size: 1.2rem;
}

:is(.site-2-home) #g-expanded {
    background: url('/images/template/parallax3.jpg') 50% 50% no-repeat;
    background-size: 110% auto;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
}

:is(.site-2-home).tablet-screen #g-expanded {
    background: url('/images/template/parallax3.jpg') 50% 50% no-repeat;
    background-size: cover;
    background-attachment: unset !important;
}

:is(.site-2-home) #g-expanded > div.g-container {
    background: rgba(var(--primary-rgb),.8); /* You can change the color here */
    padding: 5% 0% 5% 0% !important; /* adjust the padding here */
}

.site-2-home #g-expanded > div > div:nth-child(2) a.button:not(.g-blockcontent-buttons a) {
    background-color: transparent;
    border: none;
}

.news-page a.button:not(.g-blockcontent-buttons a) {
    position: absolute;
    align-items:  flex-end;
    bottom: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    background-color: transparent;
    border-radius: initial;
    border: none;
}

.site-2-home #g-expanded > div > div:nth-child(3) {
    padding: 0 5%;
}

.site-2-home #g-expanded {
    display: none;
}

.site-2-home #g-expanded:has(.g-joomla-articles > .g-grid) {
    display: block;
}

@media (min-width: 50.99rem) {

    :is(.site-2-home) #g-expanded > div.g-container {
        padding: 5% !important;
    }

    .ph-rec-row-hover .g-content-array.g-joomla-articles {
        justify-content: center !important;
        gap: 5%;
        padding-bottom: 2.5%;
    }

}

@media (max-width: 50.99rem) {
    :is(.site-2-home) #g-expanded {
      background: url('/images/template/parallax3.jpg') 50% 50% no-repeat;
      background-size: cover;
  }
}

/*************** EXTENSION ****************/

.site-1-home #g-extension {
    padding: 1% 5% !important;
}

.site-1-home #g-extension > .g-container > .g-grid > div {
    padding: 5%;
}

.site-1-home #custom-9572-particle {
    background: #e8d4bb;
	box-shadow: 0 4px 10px -2px #ababab;
}

.site-1-home #custom-9572-particle > div:nth-child(1) {
    display: grid;
    justify-content: center;
}

.site-1-home #custom-9572-particle > div:nth-child(1) > ul {
    width: fit-content;
}

.site-1-home #custom-9572-particle {
    padding: 5% !important;
    display: grid;
    align-items: center;
    height: 100%;
}

:is(.site-1-home, .site-2-home) .flocknote button {
    text-align: center;
    display: inline-block;
    background-color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: var(--site-border-radius);
    font-size: 1.1rem;
    transition: all 200ms ease-in;
    border: 3px solid var(--secondary-color);
    color: white;
    display: grid;
    margin: auto;
}

:is(.site-1-home, .site-2-home) .flocknote button:hover {
    transition: all 150ms ease-out;
    transform: scale(0.98);
}

/* stanislaus */

.site-2-home #g-extension > .g-container {
    padding: 5% !important;
    background-color: var(--tertiary-color);
}

.site-2-home #g-extension {
    padding: 3% 5% 0% 5% !important;
}

@media (min-width: 50.99rem) {
    .site-2-home .stan-flocknotes {
        padding-right: 2.5%;
    }
    
    .site-2-home .stan-signup {
        padding-left: 2.5%;
    }
}

/*************** 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: cover;
    background-position: top center;
	box-shadow: 0 -4px 10px -2px #ababab;
    background-repeat: no-repeat;
}

: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%;
    }
	.site-2 #g-container-footer {
        background-size: 250%;
	}
}

/*************** 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(--primary-color) !important;} 
.moduletable .nav.menu li.current.active a, .moduletable .nav.menu li a:hover {    
    color: var(--default-white) !important; 
    background: var(--secondary-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;
}

.site-1-sub a:not(a.button, a.readon) {
    color: var(--secondary-color);
}

.site-2-sub a:not(a.button, a.readon) {
    color: var(--secondary-color);
}