/************ TEMPLATE  ************
************/

.shippori-mincho-regular {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.site-1 {
    --primary-color: #1f425d;
    --secondary-color: #ceaf6a;
    --tertiary-color: #f7d000;

    --primary-rgb: 31, 66, 93;
    --secondary-rgb: 206, 175, 106;
    --tertiary-rgb: 247, 208, 0;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: "Shippori Mincho", serif;
    --body-font-family: 'Asap', 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%;

    --ql-background-hover: transparent;

    --rok-mini-date-size-desktop: 1.3vw;

    --rok-mini-text: black;
    --rok-mini-weight: 600;
    --rok-mini-badge: var(--primary-color);

    --hero-title-color: white;
    --hero-title-text-shadow: 3px 3px 3px rgba(0,0,0,.35);

}

: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: white;
    --ql-title-color: 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;}

.g-container {
    width: 100%;
}

:is(.site-1-home, .site-2-home, .site-3-home) #g-page-surround .g-content {
    padding: 0;
    margin: 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;
}

@media (min-width: 50.99rem) {
    :is(.site-1-home, .site-2-home) #g-top .modern-alert .g-joomla-articles {
        padding: 0 3% !important;
    }

    body[class*="-sub"]:not(.sponsorshippage) #g-page-surround #g-container-main:has(.k-ui-namespace.com_docman) {
      padding-top: 3% !important;
    }
}

@media (max-width: 50.99rem) {

  :is(.site-1-sub, .site-2-sub, .site-3-sub) section#g-container-main #g-aside .g-content {
    padding: 5% !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 ***************/

.site-1 #g-navigation {
  background-image: url('/images/template/header.jpg');
  background-size: 123%;
  position: relative;
  background-position: left;
  background-repeat: no-repeat;
}

.site-1 #g-navigation::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--primary-rgb),.9);
}
.site-1 #g-navigation .g-grid:has(.top-links-201) {
  backdrop-filter: blur(6.5px);
}

.site-1 #g-navigation .g-grid {
  position: relative;
  z-index: 10;
}

.style-201 .g-container > .g-grid:has([class*="standard-desktop-logo-201"]) {
  padding: 0;
}

@media (min-width: 50.99rem) {

  .site-1 #g-navigation .g-logo img {
    width: 72%;
    margin: 2rem auto;
    max-width: 1000px;
  }

  .site-1 #g-navigation .g-grid:has(.top-links-201) {
    border-bottom: 1px solid var(--secondary-color);
  }

  .site-1 .top-links-201 {
    border-left: 1px solid var(--secondary-color);
  }

  .site-1 .g-toplevel {
    padding: 5px 0;
  }

}

@media (max-width: 50.99rem) {

  .site-1 #g-navigation {
    position: relative;
  }

  .site-1 #g-navigation .top-links-201 {
    position: absolute;
    top: 0;
    right: 0;
    width: fit-content;
    z-index: 10;
  }

  .site-1 #g-navigation > .g-container > .g-grid:has(.top-links-201) {
    position: initial;
  }

}

@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, 2rem);
        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, 2rem);
        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, 2rem);
    }
    .site-1 #g-navigation .g-social-items a:hover {
        opacity: 0.75; 
    }
}

@media only screen and (max-width: 50.99rem) {
    #g-navigation .g-logo {
        max-width: 55%;
        margin: 2rem auto;
    }
}

/*************** SLIDESHOW ****************/ 

.site-1-home #g-slideshow {
  position: relative;
}

.style-504 .quicklinks-504 .g-blockcontent-subcontent-title-text {
  color: var(--primary-color);
  font-family: var(--body-font-family);
}

.style-504 .quicklinks-504 .g-blockcontent-subcontent-title-icon {
  color: var(--secondary-color);
}


.style-504 .quicklinks-504 .g-blockcontent-subcontent-block {
  background: rgb(204, 204, 204); /* Fallback for older browsers */
  background: linear-gradient(0deg, rgb(204, 204, 204), white);
  border: 1px solid white;
}

@media (min-width: 50.99rem) {

  .site-1-home #g-slideshow .g-grid:has(.quicklinks-504) {
    position: relative;
    z-index: 10;
    padding: 0 5%;
    height: 0;
  }

  .quicklinks-504 {
    transform: translate(0, -50%);
  }

  .style-504 .quicklinks-504 .g-blockcontent-subcontent-title-icon {
    font-size: 3vw;
  }

  .style-504 .quicklinks-504 .g-blockcontent-subcontent-title-text {
    font-size: 1.5vw;
  }

  .style-504 .quicklinks-504 .g-blockcontent-subcontent-block {
    padding: 1rem 2rem;
  }

  .site-1-home .g-grid:has(> .play-icon-block) {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    transform: translate(-50%, -100%);
  }
}

@media (max-width: 50.99rem) {

  .play-icon-block > div {
    display: flex;
    justify-content: center;
    margin: 1rem 0 !important;
  }

  .play-icon-block {
    background-color: var(--primary-color);
  }

  .play-button {
    width: 50px !important;
    height: 50px !important;
    background-color: rgba(0,0,0,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid white;
  }

  .play-icon {
    border-width: 10px 0 10px 20px !important;
  }

}

/* Play button */

.play-button {
  width: 80px;
  height: 80px;
  background-color: rgba(0,0,0,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid white;
}

.play-button:hover {
  transform: scale(1.1);
  background-color: black;
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 0 20px 30px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 8px;
}

  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Cover the entire viewport width */
    height: 100vh; /* Cover the entire viewport height */
    background-color: transparent;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

.popup-content {
  width: 80vw;
  position: relative;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.close-button {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.close-button:hover {
  opacity: 0.8;
}

/*  */

/*************** HEADER *******************/

@media (min-width: 50.99rem) {

  .site-1-home #g-header {
    padding: 5% 5% !important;
    padding-top: 6% !important;
  }

  .site-1-home #g-header > .g-container {
    display: flex;
    flex-direction: column;
    gap: 3vw;
  }

  .mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mission-vision-container p {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.5rem;
    font-style: italic;
    color: #313435;
  }

  .mission-vision-container h2 {
    margin-top: 0;
    font-size: 3.75rem;
    font-weight: bold;
  }

  .mission-vision-container > div:nth-child(1) {
    padding-right: 3rem;
    border-right: 1px solid var(--primary-color);
  }

  .mission-vision-container > div:nth-child(2) {
    padding-left: 3rem;
    border-left: 1px solid var(--primary-color);
  }

}

@media (max-width: 50.99rem) {

  .site-1-home #g-header {
    padding: 5% 5% !important;
  }

  .mission {
    border-bottom: 1px solid var(--secondary-color);
  }

  .mission-vision-container p {
    margin-bottom: 0;
  }

  .mission-vision-container .mission {
    padding-bottom: 5%;
  }

}

/*************** ABOVE ********************/
/*************** SHOWCASE *****************/
/*************** UTILITY ******************/
/*************** FEATURE ******************/
/*************** MAIN *********************/

.site-1-home .all-news-901 a.button {
  background-color: var(--secondary-color);
  margin-top: 2rem;
  color: black;
  box-shadow: var(--default-box-shadow);
  font-size: 1.2rem;
  padding: 0.75rem 1.75rem;
}

.site-1-home #g-container-main :is(h1,h2,h3,h4,h5,h6,a,p) {
  color: white;
}

.site-1-home #g-container-main .g-item-title {
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: clamp(1.3rem, 1.75vw, 2.25rem);
}

.site-1-home #g-container-main .headlines-title h1 {
  margin: 0;
  margin-bottom: 2rem;
}

.site-1-home .calendar-block #g-mainbar {
  background-color: white;
  border-radius: var(--site-border-radius);
}

.site-1-home #g-mainbar {
  padding: 10% !important;
  padding-top: 0 !important;
}

.calendar-block h1 {
  margin: 1rem 0;
  color: var(--primary-color) !important;
}

.calendar-block {
  display: grid;
  align-items: center;
}

.calendar-button {
  margin-top: 2rem;
}

#g-mainbar .moduletable {
  margin: 0 !important;
}

.site-1-home .rme-badge {
  flex-direction: column-reverse;
}

.rok-mini-verticle .rme-month {
  padding: 1vw 2vw 0vw 2vw !important;
}

.rok-mini-verticle .rme-day {
  padding: 0.25vw 2vw 1vw 2vw !important;
}

.rme-details {
  display: none;
}

.rme-description {
  flex-direction: column-reverse !important;
}

.calendar-button .button,
.all-news-901 a.button {
  border: 1px solid var(--primary-color);
  background: linear-gradient(0deg, rgb(204, 204, 204), white);
  color: var(--primary-color) !important;
  font-weight: bold;
}

.calendar-button .button {
  width: 100%;
}

.site-1-home #g-sidebar {
  position: relative;
}

.g-content-array-pagination button:hover {
  background: transparent;
}

.site-1-home #g-sidebar .g-content-array-pagination {
  position: absolute;
  bottom: 13px;
  right: 10%;
  gap: 1rem;
  display: flex;
}

@media (min-width: 50.99rem) {

  .ph-lower-title .g-array-item:hover a {
      opacity: 1;
  }

  .site-1-home #g-container-main {
      padding: 2vw !important;
  }

  .site-1-home .ph-lower-title .g-joomla-articles {
      display: grid;
      grid-template-columns: 1fr 1fr;
  }

  .site-1-home .ph-lower-title .g-array-item-image img {
      height: initial;
      max-height: none;
      aspect-ratio: 16/9;
  }

  .ph-lower-title .g-array-item:hover .g-array-item-image img {
      transform: none;
  }

  .ph-lower-title .g-array-item-read-more a {
      width: 100%;
      height: auto;
      aspect-ratio: 16/9;
      transform: scale(1) !important;
      opacity: 0;
      display: grid;
      align-items: center;
      font-size: 1.65vw;
      color: black;
      background: rgba(var(--secondary-rgb), 0.7) !important;
      border-radius: var(--site-border-radius);
      color: white;
  }

  .ph-lower-title .g-array-item-read-more a:hover {
      background: rgba(var(--secondary-rgb), 0.7) !important;
      transform: scale(1) !important;
  }

  .ph-lower-title .g-array-item-read-more a::after {
      content: '';
      width: 95%;
      height: 95%;
      position: absolute;
      z-index: 5;
      border-radius: var(--site-border-radius);
      top: 2.5%;
      left: 2.5%;
      color: white;
  }

  .ph-lower-title .g-array-item-image {
      border-radius: var(--site-border-radius);
      overflow: hidden;
      box-shadow: var(--default-box-shadow);
  }

  .ph-lower-title .g-item-title {
      border: none;
      font-size: 2vw;
  }

  .ph-lower-title .g-item-title a:hover {
    text-decoration: none;
  }

  .ph-lower-title .g-array-item-image img {
    border-bottom: none;
  }

  .site-1-home #g-sidebar {
    padding-right: 10%;
  }

  /* Hide the original button text and set dimensions */
  .pagination-button-prev,
  .pagination-button-next {
      color: transparent;  /* Make original text invisible */
      font-size: 0;        /* Prevent the text from occupying space */
      position: relative;  /* Ensure pseudo-elements align correctly */
  }

  /* Add custom single chevron arrows using pseudo-elements */
  .pagination-button-prev::before {
      content: "‹"; /* Unicode for left chevron ‹ */
      font-size: 5rem;  /* Set larger font size for the chevron */
      color: white;      /* Set color for the chevron */
      position: absolute;
      left: 50%;        /* Center horizontally within the button */
      top: 50%;         /* Center vertically within the button */
      transform: translate(-50%, -50%); /* Adjust centering */
  }

  .pagination-button-next::before {
      content: "›"; /* Unicode for right chevron › */
      font-size: 5rem;  /* Set larger font size for the chevron */
      color: white;      /* Set color for the chevron */
      position: absolute;
      left: 50%;        /* Center horizontally within the button */
      top: 50%;         /* Center vertically within the button */
      transform: translate(-50%, -50%); /* Adjust centering */
  }

  /* Style disabled buttons */
  .pagination-button-prev[disabled]::before,
  .pagination-button-next[disabled]::before {
      color: white; /* Gray out chevrons for disabled state */
      cursor: not-allowed;
  }

  /* Add hover styles */
  .pagination-button-prev:hover::before,
  .pagination-button-next:hover::before {
      color: var(--secondary-color); /* Example hover color */
  }

  .site-1-home #g-mainbar {
    background-image: url('/images/template/calendar.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
    border-radius: 5px !important;
    overflow: hidden;
  }

  .site-1-home #g-mainbar > .g-grid {
    z-index: 3;
    position: relative;
  }

  .site-1-home #g-mainbar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9); /* Adjust the color and opacity as needed */
    backdrop-filter: blur(5px); /* Adjust the blur strength as needed */
    -webkit-backdrop-filter: blur(5px); /* For Safari support */
    z-index: 1; /* Ensure it appears above the background but below other content */
    pointer-events: none; /* Allow clicks to pass through */
  }

}

@media (max-width: 50.99rem) {

  #custom-3903-particle > h1 {
    padding: 0 5%;
  }

  .site-1-home #g-sidebar .g-content-array-pagination {
    display: none;
  }

  .site-1-home #g-sidebar .g-array-item-read-more a {
    color: transparent;
  }

  .site-1-home #g-sidebar .g-array-item-text {
    color: var(--primary-color);
  }

  .site-1-home #g-sidebar .g-array-item-title h3 a {
    color: var(--primary-color);
  }

  .ph-rec-row-hover-mobile .g-array-item-title {
    padding-bottom: 0;
  }

  .site-1-home .all-news-901 a.button {
    margin: 0;
  }

  #custom-1540-particle {
    padding: 5% !important;
  }

  .calendar-block {
    padding: 5%;
  }

}


/*  */

@media only screen and (min-width: 50.99rem) {
  .rok-mini-verticle {
      padding: 0;
  }
  .rok-mini-verticle .rokminievents3 {
      justify-content: flex-start;
  }
  .rok-mini-verticle .rme-badge {
      border: 2px solid var(--default-white);
      border-radius: 5px;
      overflow: hidden;
      flex: 20;
  }
  .rok-mini-verticle .rme-description {
      flex: 80;
  }
  .rok-mini-verticle .rme-day {
      padding: 1vw 2vw 0 2vw;
  }
  .rok-mini-verticle .rme-month {
      padding: 0vw 2vw 1vw 2vw;
  }
  .rok-mini-verticle .rme-items li {
      overflow: visible;
      width: 100%;
      max-width: unset;
  }
  .rok-mini-verticle .rme-items {
      overflow: visible;
      gap: 2rem;
      width: 100%;
      max-width: unset;
  }
}

@media only screen and (max-width: 50.99rem) {

  .rok-mini-verticle .g-title {
      color: var(--default-black);
      border-bottom: 2px solid var(--default-black);
      font-size: 2rem;
  }
  .rok-mini-verticle .rme-badge {
      border-radius: .5rem;
  }
}

/*  */

@media only screen and (min-width: 50.99rem) {
    .site-1-sub #g-mainbar {
        min-height: 30vh;
    }
}

@media only screen and (max-width: 50.99rem) {
    :is(.site-1-sub, .site-2-sub) #g-mainbar > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
}

/*************** EXPANDED *****************/

.site-1-home #g-expanded .g-social-items {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.site-1-home .insta-social a {
  font-size: 2.65rem;
}

.site-1-home #g-expanded .g-social-items a span {
  color: var(--primary-color);
}

.site-1-home #g-expanded {
  padding: 2% 0 5% 0 !important;
}

.insta-social {
  margin-bottom: 1rem;
}

/*************** 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 {
  padding: 2.5% 5% !important;
}

.site-1 #g-footer h2,
.site-1 #g-footer p {
  margin: 0;
}

.site-1 #g-footer hr {
  border-bottom: 1px solid var(--secondary-color);
}

.site-1 #g-container-footer .g-array-item {
  width: fit-content;
}

.site-1 #g-container-footer .g-content {
  display: flex;
  justify-content: end;
}

.site-1 #g-footer h2 {
  font-size: clamp(1.5rem, 2.75vw, 3.25rem);
}



@media (min-width: 50.99rem) {
  #g-copyright {
	padding-bottom: 6vw;
}
  
  .web-policy {
    /*left: 10px;*/
  }

  .adminfootericon {
   /* left: 30px;
    right: initial;
    text-align: left;*/
  }

}

@media (max-width: 50.99rem) {
#g-copyright {
	padding-bottom: 15vw;
	margin-top: 0;
}

  /*.web-policy p {
    margin-bottom: 5px;
  }*/

  .site-1 #g-footer {
    padding: 5% 5% !important;
  }

  .site-1 .adminfootericon {
   /* bottom: 0;
    left: 5px;
    width: fit-content;
    text-align: left;*/
  }

}

/*  */

#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;
    }
}

/*************** 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;
    }
}

@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;
    }
}
}

:is(.site-1-sub, .site-2-sub, .site-3-sub) section#g-container-main #g-aside .grid-staff .g-content {
  padding: 0 !important;
  margin: 0 !important;
}