
@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: #0d225e;
    --secondary-color: #8c0f05;
    --tertiary-color: #E1EAFF;

    --primary-rgb: 13, 34, 94;
    --secondary-rgb: 140, 15, 5;
    --tertiary-rgb: 225, 234, 255;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: 'Merriweather', serif;
    --body-font-family: 'Open Sans', 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);

    --hero-title-left-position: 5%;
}

:is(.site-1, .site-2, .site-3, .site-4, .site-5, .site-6, .site-7, .site-8, .site-9, .site-10).sponsorshippage .buy-page {
    --primary-color: #192e72;
    --secondary-color: #c9b8a0;
    --tertiary-color: #f7d000;

    --primary-rgb: 25,46,114;
    --secondary-rgb: 201,184,160;
    --tertiary-rgb: 247, 208, 0;

    --default-white: #ffffff;
    --default-black: #000000;
}

.site-1 .ql-fa-toplinks {
    --ql-icon-color: var(--primary-color);
    --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;}

.site-1-home a:is(.button, .patient-button, .j-button):hover {
    transform: scale(1.03);
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
    opacity: 0.9;
}

.site-1-home a.button,
.banner-button a {
    padding: 1rem 1.75rem !important;
    border: none;
}

.site-1-home a.button:hover {
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.g-container {
    width: 100%;
}

:is(.site-1-home, .site-2-home, .site-3-home) #g-page-surround .g-content {
    padding: 0;
}

:is(.site-1-home, .site-2-home, .site-3-home) #g-page-surround .g-array-item-text {
    margin: 0;
}

:is(.site-1-sub, .site-2-sub, .site-3-sub) section:not(#g-navigation, #g-container-footer, #g-copyright) .g-content:not(.g-blockcontent-subcontent-block-content) {
    margin: 0.625rem !important;
    padding: 1.5rem !important;
}

:is(.site-1-sub, .site-2-sub, .site-3-sub) section:not(#g-navigation, #g-container-footer, #g-copyright) #grid-addpic .g-content {
    padding: 0 !important;
    margin: 0 !important;
}

:is(.site-1-sub, .site-2-sub, .site-3-sub) section#g-container-main #g-aside .g-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/***********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;
    }
}

@media (min-width: 50.99rem) {
    :is(.site-1-home, .site-2-home) #g-top .modern-alert .g-joomla-articles {
        padding: 0 3% !important;
    }
}

/*SUB-PAGE GRIDS TEXT SPACING*/

@media (min-width: 50.99rem) {
    #site-grid.site-1-sub #g-mainbar > .g-grid:has([itemprop="articleBody"]) {
        padding: 2vw 0!important;
    }
    #site-grid.site-1-sub #g-mainbar > .g-grid:has([itemprop="articleBody"]) p {
        font-size: 1.25vw;
        font-family: var(--body-font-family);
    }
}

@media only screen and (max-width: 50.99rem) {
    #site-grid.site-1-sub #g-mainbar > .g-grid:has([itemprop="articleBody"]) {
        padding: 2rem 0!important;
    }
}

/*****************************/

/*************** 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 ***************/

.button-container p {
  margin-bottom: 0;
  color: var(--primary-color);
}

#g-navigation a:not(.button,a img):hover {
    color: #f1f1f1;
}

.translate a {
    font-size: clamp(1.25rem, 1.25vw, 1.75rem);
}

.button-container > div:nth-child(2) a,
.button-container > div:nth-child(2) {
  color: var(--primary-color) !important;
}

.button-container div {
  margin: auto;
}

.button-container > div:nth-child(1) a {
  display: flex;
  gap: 1rem;
  flex-direction: row;
}

.button-container > div:nth-child(2) {
  display: flex;
  gap: 1rem;
  flex-direction: row;
  width: fit-content;
}

.patient-button {
  padding: 1rem 1.75rem;
  width: fit-content;
  background-color: var(--primary-color);
  border-radius: 2px;
  align-items: center;
  line-height: 1;
}

.patient-button a {
  color: white;
}

@media (min-width: 50.99rem) {

  .button-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .site-1 #g-navigation img {
    margin: 1rem;
  }

  .site-1 #g-navigation > .g-container > .g-grid:nth-child(1) {
    background-color: var(--primary-color);
  }
  
  .site-1 .translate a {
    margin-left: 1rem;
    text-decoration: underline;
  }

}

.site-1-sub #g-navigation {
    box-shadow: var(--default-box-shadow);
    position: relative;
    border-bottom: 3px solid var(--primary-color);
  }

@media (max-width: 50.99rem) {

    .button-container {
        display: grid;
        justify-content: center;
        grid-template-columns: 1fr 1fr;
        margin-bottom: 1rem;
    }

    .translate {
        position: absolute;
        right: 0px;
        top: 10px;
    }

    .translate a {
        color: var(--primary-color) !important;
    }

}

@media only screen and (min-width: 50.99rem) {
    .g-main-nav .g-toplevel>li>.g-menu-item-container>.g-menu-item-content {
        font-size: clamp(1.25rem, 1.25vw, 1.75rem);
        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: clamp(1.25rem, 1.25vw, 1.75rem);
        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: white;
        font-size: clamp(1.25rem, 1.25vw, 1.75rem);
    }
    .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 ****************/

  .mission-statement :is(h1,h2,h3,h4,h5,h6) {
    color: white;
  }

  .site-1-home #g-slideshow {
    position: relative;
  }

  .mission-statement h1 {
    font-size: clamp(2.5rem, 2.5vw, 5rem);
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .mission-statement p {
      line-height: 1.5;
      margin-bottom: 2rem;
      font-size: clamp(1.2rem, 1.2vw, 2rem);
  }

  .mission-statement h6 {
    font-weight: bold;
  }

  .mission-statement .button {
    border-radius: 0;
    border: 1px solid white;
    padding: 0.5rem 2rem;
  }

  @media (min-width: 50.99rem) {

    .site-1-home #g-slideshow {
      padding: 3% !important;
    }

    .mission-statement {
      padding-right: 2rem;
    }

    .mission-statement > .g-content {
        display: flex;
        flex-direction: column;
        gap: 1vw;
    }

    .mission-statement > .g-content:before {
        content: 'Authentic & True Catholic Healthcare';
        font-size: 2.25vw;
        line-height: 1.25;
        color: var(--default-white);
        font-weight: 400;
        border-bottom: 2px solid var(--default-white);
        text-align: center;
        padding-bottom: .5vw;
        margin-bottom: .5vw;
        text-transform: none;
        font-variant-caps: normal;
        font-family: var(--title-font-family);
    }

  }

  @media (max-width: 50.99rem) {

    .site-1-home #g-slideshow {
      padding: 5% !important;
    }

    .mission-statement h1 {
        margin-top: 0;
    }

    .mission-statement > .g-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .mission-statement > .g-content:before {
        content: 'Current News & Events';
        font-size: 6vw;
        line-height: 1;
        color: var(--default-white);
        font-weight: 400;
        border-bottom: 2px solid var(--default-white);
        text-align: center;
        padding-bottom: .5rem;
        margin-bottom: 1rem;
        text-transform: none;
        font-variant-caps: normal;
        font-family: var(--title-font-family);
    }

  }

/*************** HEADER *******************/

@media (min-width: 50.99rem) {

  .site-1-home #g-header {
    padding: 3% 3% !important;
  }

  .site-1-home #g-header .vision-box {
    display: grid;
    justify-content: center;
    align-items: center;
  }

  .site-1-home #g-header .vision-box h1 {
    margin: 0;
    margin-bottom: 1rem;
    color: var(--secondary-color);
  }

  .site-1-home #g-header .vision-box p {
    line-height: 1.7;
  }

}

@media (max-width: 50.99rem) {

    .site-1-home #g-header {
        padding: 5% 5% !important;
    }

    .site-1-home .vision-box h1 {
        margin-top: 0;
    }

    .site-1-home .vision-box p {
        margin-bottom: 0;
    }

    .site-1-home .vision-box {
        margin-top: 5%;
    }

}

/*************** ABOVE ********************/
/*************** SHOWCASE *****************/

.banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 2% 6%;
    gap: 2rem;
}

.banner-text {
    flex: 2;
    min-width: 300px;
    display: grid;
    justify-content: center;
    font-size: clamp(1.2rem, 1.5vw, 1.75rem);
}

.banner-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-text p {
    margin: 0;
    color: white;
    line-height: 1.7;
    font-size: clamp(1rem, 1vw, 1.5rem);
    text-align: center;
}

.banner-button a {
    background-color: white;
    padding: 1rem 1.75rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-size: 1.2rem;
}

.site-1-home .banner-button a:hover {
    transform: scale(1.03);
    transition: all 0.3s ease-in-out;
    opacity: 0.9;
}

.banner-button a {
    color: black;
    border-radius: 0;
}

#custom-6265-particle > div > div.banner-button > a:hover {
    background-color: white;
    color: black;
}

@media (max-width: 768px) {
    .banner {
        flex-direction: column;
    }
}

/*************** UTILITY ******************/

.site-1-home #g-utility {
    position: relative;
    overflow: hidden;
}

.j-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.j-heading {
    color: #1a237e;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.j-subtitle {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.j-button-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.j-button {
    background-color: #1a237e;
    color: white;
    padding: 1rem 1.75rem;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease-in-out;

}

.j-button:hover {
    background-color: #0d1757;
    color: white;
}

.j-image-container {
    position: absolute;
    right: 10%;
    top: 30px;
}

.j-religious-image {
    width: 150px;
    height: auto;
}

.j-image-container {
    position: absolute;
    width: 35%;
    height: 150%;
    right: 0;
    background-image: url('/images/template/holy-family.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 50.99rem) {

    .j-image-container {
        opacity: 0.1;
        z-index: 1;
    }

    .j-heading,
    .j-subtitle,
    .j-button-container {
        z-index: 3;
        position: relative;
    }


 
}

/*************** FEATURE ******************/

.site-1-home #g-feature .title-block :is(h1,h2,h3,h4,h5,h6,p,a) {
    color: white;
}

@media (min-width: 50.99rem) {

    .site-1-home #g-feature {
      padding: 3% 5% !important;
    }

    .site-1-home .title-block {
        margin-bottom: 2rem;
    }

    .icon-description-links .g-blockcontent-subcontent {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
        width: fit-content;
        margin: auto;
    }

    .icon-description-links .g-blockcontent-subcontent > div {
        background-color: white;
        position: relative;
        max-width: 700px;
    }

    .icon-description-links .g-blockcontent-subcontent > div:hover {
        transform: scale(1.02);
        transition: .3s all ease-in-out;
    }

    .icon-description-links .g-blockcontent-subcontent > div {
        transition: .3s all ease-in-out;
    }

    .icon-description-links .g-blockcontent-buttons {
        margin: 0;
    }

    .icon-description-links .g-blockcontent-buttons a {
        position: absolute;
        width: 100%;
        height: 100%;
        background: transparent;
        color: transparent;
        z-index: 10;
        top: 0;
        left: 0;
    }

    .icon-description-links a.button:hover {
        background-color: initial;
        opacity: 1;
    }

    .icon-description-links i {
        color: var(--primary-color);
    }

    .icon-description-links .g-blockcontent-subcontent-title {
        color: black;
    }

    .icon-description-links .g-blockcontent-subcontent-block-content {
        margin: 3rem 2rem;
    }

}

@media (max-width: 50.98rem) {

    .site-1-home #g-feature {
      padding: 5% 5% !important;
    }

    .icon-description-links .g-blockcontent-subcontent {
        display: flex;
        width: 100%;
        flex-direction: column;
        margin: auto;
        gap: 1rem;
    }

    .icon-description-links .g-blockcontent-subcontent > div {
        max-width: 100%;
        margin-bottom: 1rem;
        background-color: white;
        position: relative;
    }

    .icon-description-links .g-blockcontent-buttons {
        margin: 1rem 0;
    }

    .icon-description-links .g-blockcontent-subcontent-block-content {
        margin: 1rem;
    }

    .icon-description-links i {
        color: var(--primary-color);
    }

    .icon-description-links .g-blockcontent-subcontent-title {
        color: black;
    }

}

/*************** MAIN *********************/

@media only screen and (min-width: 50.99rem) {
    .site-1-sub #g-mainbar {
        min-height: 45vh;
    }
}

@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 *****************/ 

.site-1-home #g-expanded {
    padding: 3% !important;
}

.site-1-home #g-expanded a {
    color: black;
    transition: color 0.3s ease; /* Smooth transition for the hover effect */
}

.site-1-home #g-expanded a:hover {
    color: var(--primary-color); /* Change to primary color on hover */
}

.site-1-home #g-expanded .title {
    color: var(--secondary-color);
    border-bottom: 1px solid black;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

#custom-5806-particle > h1 {
    margin-bottom: 2rem;
    margin-top: 0;
    color: white;
}

#custom-5806-particle {
    margin: 0 !important;
}

.site-1-home #g-expanded .g-container > .g-grid:nth-child(2) > .g-block {
    background-color: white;
    flex: initial;
    max-width: initial;
}

.site-1-home #g-expanded .g-container > .g-grid:nth-child(2) {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
}

.site-1-home #g-expanded .g-container > .g-grid:nth-child(2) .g-block > div {
    padding: 3%;
    margin: 0;
}

@media (min-width: 50.99rem) {

    .site-1-home #g-expanded .g-container > .g-grid:nth-child(2) > .g-block {
        width: 31.5%;
    }

}

@media (max-width: 50.99rem) {

    .site-1-home #g-expanded .g-container > .g-grid:nth-child(2) {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        justify-content: space-between;
    }

    .site-1-home #g-expanded .g-container > .g-grid:nth-child(2) > .g-block {
        width: 100%;
    }

    .site-1-home #g-expanded {
        padding: 5% !important;
    }

}

/*************** 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 *******************/

.site-1 #g-footer p {
    line-height: 1.7;
}

.site-1 #g-footer .g-array-item-text p:last-child {
    margin-bottom: 0;
}

.site-1-home #g-footer :is(.logo-block, .footer-text) {
    display: grid;
    justify-content: center;
    align-items: center;
}

#g-footer {
    position: relative;
}

/*  */

@media (min-width: 50.99rem) {

    .site-1 #g-footer {
        padding: 3% 3% !important;
    }

    #g-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 6%;
        width: 70%;
        height: 100%;
        background-image: url('/images/template/stethescope-footer.png');
        opacity: 0.06;
        z-index: 1;  /* Places the background behind the content */
        background-repeat: no-repeat;  /* Prevents image from repeating */
        background-position: center;   /* Centers the image */
        background-size: cover;       /* Makes image cover the entire container */
    }

}

@media (max-width: 50.99rem) {

    .site-1 #g-footer > .g-container {
        padding: 5% 5% !important;
    }

    #g-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/images/template/stethescope-footer.png');
        opacity: 0.05;
        z-index: 1;  /* Places the background behind the content */
        background-repeat: no-repeat;  /* Prevents image from repeating */
        background-position: center;   /* Centers the image */
        background-size: cover;       /* Makes image cover the entire container */
    }

    .site-1 #g-footer img {
        margin-top: 2rem;
    }

}


#g-footer .g-content-array {margin: 0;}
#g-footer a {color: var(--default-white); transition: .3s all ease-in-out;} 
#g-footer 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 *******************/

.g-offcanvas-toggle {
  background: var(--default-white);
  display: grid;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: var(--default-box-shadow);
}

/*************** 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;
    }
}

@media only screen and (min-width: 50.99rem) {
    .bulletin-page #g-mainbar > .g-grid:nth-child(1) {
        display: none!important;
    }
    .bulletin-page .docman_category {
        display: none!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .bulletin-page #g-mainbar > .g-grid:nth-child(1) {
        display: none!important;
    }
    .bulletin-page .docman_category {
        display: none!important;
    }
}

/* Image Paths for Particle Template */
/* All images used in the particle template need to be updated here */

.style-1303 #g-footer:has([class*="-1303"]) {background-image: url('/images/template/parallax1.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat;}

@media (min-width: 50.99rem) {
  .style-201 .g-container:has([class*="-201"]) {background-image: url('/images/template/header-church-transparent-background.png'); background-position: center; background-size: cover; background-repeat: no-repeat;}
  .style-202 .g-container:has([class*="-202"]) {background-image: url("/images/template/header-church-transparent-background.png"); background-position: center; background-size: cover; background-repeat: no-repeat;}
  .style-301 .mass-times-301 {background: url('/images/template/masstimes.jpg') 0% no-repeat; background-size: cover; background-position: center;}
  .style-303 .mass-times-303 {background: url('/images/template/masstimes.jpg') 0% no-repeat; background-size: cover; background-position: center;}
  .style-304 .mass-times-304 {background: url('/images/template/masstimes.jpg') 0% no-repeat; background-size: cover; background-position: center;}
  .style-305 .mass-times-305 {background: url('/images/template/masstimes.jpg') 0% no-repeat; background-size: cover; background-position: center;}
  .style-1001 :is(#g-navigation, #g-slideshow, #g-header, #g-above, #g-feature, #g-showcase, #g-utility, #g-container-main, #g-expanded, #g-extension, #g-bottom, #g-footer, #g-copyright):has([class*="-1001"]) {background: url('/images/template/parallax1.jpg') 50% 50% no-repeat;}
  .mockup-ads.particle-template .g-block:has(div.adside) .adside {background-image: url("/images/template/side-ads.png");}
  .mockup-ads.particle-template .adhorizontal {background-image: url("/images/template/horizontal-ads.png");}
}

@media (max-width: 50.99rem) {
   .mockup-ads.particle-template .g-block:has(div.adside) .adside {background-image: url("/images/template/side-ads.png");}
   .mockup-ads.particle-template .adhorizontal {background-image: url("/images/template/horizontal-ads-mobile.png");}
}

@media only screen and (min-width: 50.99rem) {
    body[class*="-sub"]:not(.sponsorshippage) #g-mainbar.section-padding-5 > .g-grid > .g-block > .g-content {
        margin: 0!important;
        padding: 0!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-mainbar.section-padding-5:has(.page-header) > .g-grid > .g-block > .g-content {
        margin: .625rem 0!important;
        padding: 1.5rem 0!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-container-main:has(#g-mainbar.section-padding-5, #g-aside) {
        margin: 0!important;
        padding: 0 5%!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-container-main:has(#g-mainbar.section-padding-5, #g-aside) #g-mainbar.section-padding-5 {
        margin: 0!important;
        padding: 0!important
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-container-main:has(#g-mainbar.section-padding-5, #g-aside) #g-mainbar.section-padding-5 > .g-grid > .g-block > .g-content {
        margin: 0!important;
        padding: 0 5% 0 0!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-container-main:has(#g-mainbar.section-padding-5, #g-aside) #g-mainbar.section-padding-5:has(.page-header) > .g-grid > .g-block > .g-content {
        margin: .625rem 0!important;
        padding: 1.5rem 5% 1.5rem 0!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-page-surround #g-container-main:has(.bulletin-page) #g-mainbar {
        padding-top: 2rem !important;
    }

    body.site-1-sub:has(.com_docman) #g-container-main #g-mainbar > .g-grid:nth-child(1) {
        padding-top: 2.5% !important;
    }
}

@media only screen and (max-width: 50.99rem) {
    body[class*="-sub"] #g-mainbar.section-padding-5 > .g-grid > .g-block > .g-content {
        margin: 0!important;
        padding: 0!important;
    }
}

/*  */

@media only screen and (min-width: 50.99rem) {
    #g-top-nav {
        display: none!important;
    }
    #g-mobile-fixed-nav {
        display: none!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    #g-top-nav {
        display: none!important;
    }
    #g-mobile-fixed-nav {
        display: none!important;
    }
}

body {background-color: var(--primary-color);}
@media only screen and (max-width: 50.99rem) {
@media (display-mode: standalone) {
    #g-top-nav {
        display: flex!important;
    }
    #g-mobile-fixed-nav {
        display: flex!important;
    }
    #g-top.modern-alert-padding {
        padding: 2rem 5%!important;
    }
    body {background-color: var(--primary-color);}
    #g-offcanvas {height: calc(100% - 120pt); top: 40pt; bottom: 80pt;}
    #g-top {margin-top: 40pt!important;}
    #g-navigation .g-logo {display: none;}
    #g-top-nav .g-particle:has(.g-logo) {width: 100%;}
    #g-top-nav .g-logo {text-align: center; display: flex; align-items: center; justify-content: center; width: 100%; height: 40pt;}
    #g-top-nav .g-logo img {height: 80%; width: auto;}
    #g-page-surround .g-offcanvas-toggle {display: none;}
    #g-page-surround {background: var(--primary-color);}
    #g-top-nav {display: flex; position: fixed; top: 0; left: 0; right: 0; width: 100%; height: 40pt; background: var(--primary-color); z-index: 100; box-shadow: var(--default-box-shadow);}
    .g-offcanvas-toggle {position: fixed!important; z-index: 101; top: 0; left: 10pt; height: 40pt; font-size: 23pt; display: flex; justify-content: center; align-items: center; background: none!important; border-radius: unset; box-shadow: unset;}
    .g-offcanvas-toggle {color: var(--default-white);} 
    .g-offcanvas-toggle .fa-fw {text-shadow: none;}
    #g-container-footer {padding-bottom: 80pt!important;}
    #g-mobile-fixed-nav {display: flex; height: 80pt; background: var(--primary-color); color: var(--default-white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 100; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; box-shadow: var(--default-box-shadow)}
    .mobile-nav-link {color: var(--default-white); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; height: 60pt;}
    .mobile-nav-link:hover {color: var(--secondary-color);}
    .mobile-fixed-nav {width: 100%; height: 60pt;}

    .mobile-fixed-nav {
        margin: 0;
        padding: 0;
        display: flex;
        width: 100%;
        align-items: center;
        overflow: hidden;
    }
    .mobile-fixed-nav .g-particle {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .mobile-fixed-nav .g-particle > div {
        margin: 0;
        padding: 0;
    }
    .mobile-fixed-nav .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 1pt;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        flex: 1;
        position: relative;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-title-icon {
        margin: 0;
        padding: 0;
        order: 1;
        color: var(--default-white);
        font-size: 5vw;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 0;
        order: 2;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 4vw;
        font-family: var(--body-font-family);
    }
    .mobile-fixed-nav .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .mobile-fixed-nav .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
}
}

/*  */

.site-1-sub .grid .g-item-title {
    pointer-events: none;
}

@media (max-width: 50.99rem) {
    .site-1-home .mission-statement .g-joomla-articles {
        display: flex;
        gap: 2rem;
        padding-bottom: 1.5rem;
    }

    .site-1-home .mission-statement .g-joomla-articles .g-content-array-pagination {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .links-page #g-mainbar > div > div > div > div > div > div > div:nth-child(3) {
        overflow: auto;
    }
}

#module-logo-1051-particle img {
    max-height: 100%;
}

@media only screen and (max-width: 50.99rem) {
  @media (display-mode: standalone) {
    #g-top-nav {
        display: flex;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 40pt;
        background: rgba(13, 34, 94);
        z-index: 1000;
        box-shadow: var(--default-box-shadow);
        /* padding: 1rem 0; */
    }

    .mobile-fixed-nav {
        height: 100% !important;
        background-color: white;
    }

    .mobile-fixed-nav .g-blockcontent-subcontent-title {
        text-align: center;
    }
  }
}