*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-md);
}

body {
  font-family: var(--font-family-body);
  letter-sacing: var(--letter-spacing);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  margin: 0;
  /*padding: 0 1rem;*/
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-header);
}

body h1 {
  font-size: var(--h1);
}

body h2 {
  font-size: var(--h2);
}

body h3 {
  font-size: var(--h3);
}

body h4 {
  font-size: var(--h4);
}

body h5 {
  font-size: var(--h5);
}

p {
  font-weight: var(--font-weight-normal);
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.body-wrapper {
  width: 100%;
  margin: 0 0.5rem;
}

.col-md-auto {
  flex: 0 0 auto;
  width: auto;
}

.logo-image {
  max-width: 481px;
  width: 100%;
  height: auto;
  margin-top: 0.5rem;
}

.container-fluid {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.content-content a {
  text-decoration: underline;
}

.content-content a:hover {
  text-decoration: none;
  color: var(--color-red);
}

/* Page blur when active */
body.search-open main,
body.search-open header,
body.search-open footer,
body.search-open section {
  filter: blur(4px);
  transition: filter 0.2s ease;
}

/* Fullscreen overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1080; /* above navbar */
  display: none;
}
.search-overlay.active {
  display: flex;
  align-items: start;
  justify-content: center;
  padding-top: 10vh;
}


.search-box {
  max-width: 900px;
  width: 100%;
  background: #fff;
  padding: 3rem;
  box-shadow: 0 0.25rem 1.125rem 0 rgba(47, 43, 61, 0.40);
  border-radius: 1rem;
  position: relative;
    border-top: 3px solid var(--color-red);
}
.suggest-box {
  max-height: 60vh;
  overflow-y: auto;
}
.suggest-box .list-group-item {
  cursor: pointer;
}
#closeSearch {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #000;
  cursor: pointer;
}

.page-link.active,
.active > .page-link {
  z-index: 3;
  color: var(--bs-pagination-active-color);
  background-color: var(--color-red);
  border-color: var(--bs-pagination-active-color);
}

.page-link {
  color: var(--color-red);
}

.page-link:hover {
  z-index: 2;
  color: var(--color-white);
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.bg-light {
  --bs-bg-opacity: 1;
  background-color: rgb(255 248 241) !important;
  font-weight: 400;
}

.list-group-item-action:hover,
.list-group-item-action:focus {
  z-index: 1;
  color: #000000;
  text-decoration: none;
  background-color: #682f6636;
}
#suggestBox .list-group-item span {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#searchInput {
  border: 2px solid #6e6e6e;
}

.text-bg-success {
    color: #fff !important;
    background-color: #682F66 !important;
}


/* alerts/text*/

.text-danger {
  color: var(--color-red) !important;
}

.alert-image {
  width: 100%;
}

/* NAVIGATION*/

/* Smooth Slide Down Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar {
  font-family: var(--font-family-header);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-dark);
  letter-spacing: 0;
  padding: 0;
}

.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  animation: slideDown 0.4s ease-in-out;
  box-shadow: 0 17px 19px rgba(0, 0, 0, 0.1);
}

.dropdown-menu {
  width: auto;
  border: 0;
  padding: 0.5rem;
  background: var(--color-white);
  font-size: var(--bs-nav-link-font-size);
}

.dropdown-menu li a {
  padding: 0.6rem 0.3rem 0.5rem 0.5rem;
  color: var(--color-primary-dark);
  animation: slideFade 1.5s ease-out forwards;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: var(--color-red);
  color: var(--color-white);
  border-radius: var(--border-radius-lg);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-primary-dark);
}

.navbar .container-fluid {
  margin-right: 0;
  padding-right: 0;
}

.nav-link {
  color: var(--color-primary-dark);
}

.navbar-nav .nav-item {
  margin-right: 1.5rem;
}

.get-involved {
  padding: 1rem 2.1rem;
}

.offcanvas.showing,
.offcanvas.hiding,
.offcanvas.show {
  background: #fff8f0;
}

.navbar-toggler {
  color: var(--bs-navbar-color);
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Sticky */
header.header {
  position: sticky;
  top: 0;
  z-index: 1030;
  /* higher than navbar default */
  background-color: var(--color-primary-light);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  box-shadow: none;
  padding: 0.5rem 0.5rem 1rem 0.5rem;
}

header.header.sticky {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: var(--color-white);
  top: 0.5rem;
  border-radius: 1rem;
  border: 1px solid #dfdad4;
}

header.header .logo img {
  transition: all 0.2s ease;
  max-height: 80px;
}

header.header.sticky .logo img {
  max-height: 50px;
}

/* CONTAINER*/

.bg-primary {
  background-color: var(--color-red) !important;
}

.container-custom {
  max-width: 1670px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.wd-locator {
  overflow-x: hidden;
}

.container100-dark {
  background: var(--color-primary-dark);
  color: var(--color-primary-light);
}

.container-quote {
  background: var(--color-white);
  color: var(--color-primary-dark);
  box-shadow: var(--box-shadow-primary);
  transition: all 0.2s ease-in-out;
  transform: translateY(0);
  border-radius: var(--border-radius-2xl);
  padding: 1rem;
  font-size: 1.875rem;
}

.container-light {
  background: var(--color-primary-light);
}

.rounded-1 {
  border-radius: var(--border-radius-2xl);
}

.news-latest {
  font-weight: var(--font-weight-semibold);
}

.news-desc img {
  width: 100% !important;
}

/* BUTTONS */

.btn {
  font-family: var(--font-family-body);
  border-radius: var(--border-radius-2xl);
  border: none;
  font-weight: var(--font-weight-semibold);
  box-shadow: 0 -4px 4px 0 #00000012 inset;
  transition: 0.3s;
  padding: var(--btn-padding-x) var(--btn-padding-y);
}

.btn-check:checked + .btn,
:not(.btn-check) + .btn:active,
.btn:first-child:active,
.btn.active,
.btn.show {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-sm,
.btn-group-sm > .btn {
  font-size: 1.125rem;
  padding: 0.7rem 1rem;
}

.btn-primary {
  background-color: var(--color-red);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
}

.btn-secondary {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.btn-secondary:hover {
  background-color: var(--color-red);
  color: var(--color-white);
}

.btn-purchase {
  padding: 0.5rem 2rem;
  font-size: 1.15rem;
}

.btn-xl {
  font-size: 1.5rem;
  padding: 1.5rem 3.5rem;
}

.bg-primary-wd {
  background: #1e1e1e !important;
}

.btn-sm-overlay {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.7rem;
  border-radius: 1.219rem;
  padding: 0.438rem 3.125rem;
}

.btn-lang {
  padding: 0.2rem 0.2rem 0.2rem 0.4rem;
  width: 3.5rem;
  box-shadow: none;
  margin-top: 0.5rem;
  font-family: var(--font-family-header);
  font-size: var(--bs-nav-link-font-size);
  margin-right: 0.5rem;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.dropdown-language {
  padding: 0.2rem 0.2rem 0.2rem 0.4rem;
  width: 3.5rem;
  background: #fff;
  border-radius: var(--border-radius-2xl);
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  margin-top: -2px !important;
}

.dropdown-language {
  --bs-dropdown-min-width: 3rem;
}

.dropdown-language li a {
  padding: 0.2rem;
}

.btn-lang:hover {
  background: #fff !important;
}

.btn-lang:active {
  background: #fff !important;
}

.btn-lang.show {
  background: #fff !important;
}

.dropdown-item-language:hover {
  background: #efefef;
}

/* Header */

header {
  margin-bottom: 1.25rem;
}

/* Alert Message */

.icon-container {
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-alert-message {
  background: var(--color-white);
  border-radius: 6px;
  padding: 1rem;
  text-align: left;
  position: relative;
  margin-bottom: 1.25rem;
  box-shadow: var(--box-shadow-primary);
}

.header-alert-message i {
  margin-top: 1px;
  color: #000;
  font-size: 1.4rem;
}

.header-alert-message p {
  padding: 0 2.2rem;
}

.header-alert-link {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--color-red);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Breadcrumbs */

.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.breadcrumb-item a {
  color: var(--color-red);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #555;
}

/* Loading */

#container-loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#container-loading-overlay.show {
  display: flex;
}

.dot-loader div {
  width: 25px;
  height: 25px;
  background-color: var(--color-red);
  border-radius: 50%;
  animation: dotPulse 0.9s infinite ease-in-out;
}

.dot-loader div:nth-child(2) {
  animation-delay: 0.15s;
}

.dot-loader div:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}

#loading_videos {
  min-height: 80px;
  transition: opacity 0.3s ease;
}

#loading_videos.d-none {
  display: block !important;
  opacity: 0;
  pointer-events: none;
}

/* Modal */

.modal-backdrop.show {
  background-color: rgba(0, 0, 0, 0.8) !important;
}

.modal-80 {
  width: 70%;
  max-width: 70%;
  height: auto;
}

.modal-80 .modal-content {
  height: auto;
}

.modal-80 .ratio {
  height: auto;
}

/* Text */
.text-primary {
  color: var(--color-red) !important;
}

/* Image */

.img-rdd {
  border-radius: 1rem;
}

/* Map */
#map {
  width: 100%;
  height: 500px;
}

.locator-title {
  font-weight: bold;
  margin-left: 1rem;
  font-size: 1.875rem;
}

.locator-icon {
  padding: 0.6rem 1.4rem !important;
  font-size: 2rem;
}

.pc-locator-radio label {
  font-size: 1.5rem;
  font-weight: 700;
}

#clergyFilter {
  margin-left: 1rem;
}

.pc-locator-radio input[type="radio"] {
  margin-top: 0.4rem;
}

.form-check-input:checked {
  background-color: var(--color-red);
  border-color: var(--color-red);
}

#search-map {
  scroll-margin-top: var(--scroll-offset);
}

#searchBtn {
  padding: 1rem 3.1rem;
}

/* Hero */
.hero-section {
  position: relative;
  width: 100%;
  /*height: 100vh; full screen */
  overflow: hidden;
  color: white;
  text-align: center;
}

.hero-video {
  width: 100%;
  height: auto;
}

.hero-section img {
  width: 100%;
  height: auto;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 8px;
  width: 70%;
  z-index: 1;
}

.hero-secondary-text {
  position: absolute;
  top: 50%;
  left: 34%;
  transform: translate(-50%, -50%);
  padding: 0;
  border-radius: 8px;
  width: 60%;
  text-align: left;
  z-index: 1;
}

.carousel-caption {
  z-index: 2;
}

.hero-secondary-text h1,
.hero-secondary-text h2 {
  font-size: 3.75rem;
}

.hero-contact {
  position: absolute;
  bottom: 0;
  left: 10%;
  background: #0000008c;
  padding: 3rem 3rem;
  width: 80%;
  text-align: left;
  z-index: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0.5rem;
}

.hero-contact {
  color: #fff;
}

.hero-contact p,
.hero-contact h1,
.hero-contact h4 {
  color: #fff;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-family: var(--font-family-header);
}

.hero-overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(58, 59, 83, 0.6);
  z-index: 1;
}

/* Separator */

.c-seperator {
  height: 4.25rem;
  clear: both;
}

.container-seperator h2 {
  font-family: var(--font-family-header);
  font-weight: var(--font-weight-bolder);
  font-size: var(--font-size-4xl);
  letter-spacing: 0;
}

.box-title-seperator {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container-centered {
  box-shadow: var(--box-shadow-primary);
  background: #ffffff;
  padding: 4rem 3rem;
  border-radius: 1rem;
}

.bg-dark {
  background: var(--color-primary-dark) !important;
  color: var(--color-white) !important;
}

/* Language */
.language-switcher {
  list-style: none;
  padding: 0;
  margin: -5px 0 0 0;
  display: inline-flex;
}

.language-switcher .language-item {
  margin: 0 5px;
}

.language-switcher .language-item a {
  padding: 5px 10px;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #333;
}

.language-switcher .language-item.active a {
  background-color: var(--color-red);
  color: white;
}

.language-switcher .language-item a:hover {
  background-color: #f5f5f5;
  text-decoration: none;
}

.language-switcher .language-item.active a:hover {
  background-color: var(--color-red);
}

.language-switcher-container {
  display: inline-block;
  margin-left: 20px;
}

/* Share */

.social-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cards*/

.card {
  padding: 1.25rem;
  border: none;
  background: var(--color-white);
  border-radius: 1rem;
  color: var(--color-primary-dark);
  box-shadow: var(--box-shadow-primary);
  transition: all 0.2s ease-in-out;
  transform: translateY(0);
}

.card1 img {
  width: 100%;
  border-radius: var(--border-radius-2xl);
}

.card-light-other .card {
  min-height: auto !important;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
}

.card-body {
  padding: 0 !important;
  text-align: left;
  position: relative;
}

.card-clergy .card-body {
  padding: 0 !important;
  text-align: left;
  min-height: 170px;
  font-size: 1rem;
}

.card-clergy .card-pre-title-light {
  margin-bottom: 1rem;
}

.card-img-top {
  border-radius: 1rem;
}

.parishes-light-container .card-img-top {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.publications-light-container .card-img-top {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.email-link:hover,
.phone-link:hover {
  text-decoration: underline;
}

.btn-group-light-container .btn-group {
  position: absolute;
  right: 0;
  bottom: 0;
}

.btn-group a {
  color: var(--color-red);
  text-decoration: none;
  font-size: 1rem;
}

.btn-group ul {
  list-style: none;
  padding: 0;
}

.card-pre-title {
  font-size: 1rem;
  color: var(--color-red);
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 0;
  font-weight: 700;
}

.card-pre-title-light {
  font-size: 1rem;
  color: var(--color-primary-dark);
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 0;
  font-weight: 400;
}

.card-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  padding: 0;
  margin: 0;
  line-height: 2.2rem;
  font-family: var(--font-family-header);
}

.cards-wrapper {
  padding: 1rem 0.2rem;
}

.cards-wrapper::-webkit-scrollbar {
  display: none;
  /* hide scrollbar for cleaner look */
}

.cards-wrapper {
  -ms-overflow-style: none;
  /* IE and Edge scrollbar removal */
  scrollbar-width: none;
  /* Firefox scrollbar removal */
}

.card-keyword {
  color: var(--color-red);
  font-weight: 700;
  margin-top: 2rem;
}

.text-body-secondary {
  color: var(--light-grey-color) !important;
  font-weight: 700;
}

.staff-container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Modern Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin: 1rem 0;
  user-select: none;
}

.pagination li {
  list-style: none;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  padding: 0.4rem 2rem;
}

/* Loader Styles */

.dot-loader {
  display: flex;
  gap: 8px;
}

.dot-loader div {
  width: 12px;
  height: 12px;
  background-color: var(--color-red);
  border-radius: 50%;
  animation: dotPulse 0.9s infinite ease-in-out;
}

.dot-loader div:nth-child(2) {
  animation-delay: 0.15s;
}

.dot-loader div:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}

.loader {
  text-align: center;
  padding: 20px;
  color: #666;
}

#map-loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 10;
  display: none;
  /* hidden by default */
}

.map-dot-loader {
  display: flex;
  gap: 8px;
}

.map-dot-loader span {
  width: 40px;
  height: 40px;
  background-color: var(--color-red);
  border-radius: 50%;
  animation: map-bounce 0.6s infinite ease-in-out alternate;
}

.map-dot-loader span:nth-child(2) {
  animation-delay: 0.2s;
}

.map-dot-loader span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes map-bounce {
  from {
    transform: translateY(0);
    opacity: 0.5;
  }

  to {
    transform: translateY(-25px);
    opacity: 1;
  }
}

.map-sub-title {
  color: #a1a1a1;
  font-weight: bold;
}

/* Custom Pagination */
.custom-pagination {
  align-items: center;
  width: 100%;
  list-style: none;
  padding: 3rem 0 0 0;
  font-size: 1rem;
}

.custom-pagination li {
  flex: 1;
}

.custom-pagination li.page-label {
  text-align: center;
  pointer-events: none;
  font-weight: 500;
}

.custom-pagination li.prev {
  text-align: left;
  display: contents;
}

.custom-pagination li.next {
  text-align: right;
  display: contents;
}

.custom-pagination li.disabled span {
  background: #dadada !important;
  color: #9b9b9b;
  font-weight: var(--font-weight-bold);
  padding: 0.6rem 2rem;
  border-radius: 4px;
  transition: 0.3s;
  border: 1px solid #f7f7f7;
}

.custom-pagination li.disabled {
  opacity: 0.6;
}

/* Footer */
footer a {
  color: var(--color-primary-light);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer h5 {
  font-weight: 700;
}

.social-media-icons i {
  font-size: 1.5rem;
  padding: 0.3rem;
}

.logo-footer {
  width: 70%;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.social-icons-share {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 20px;
  margin-bottom: 20px;
}

.social-icons svg {
  cursor: pointer;
  transition: transform 0.2s ease;
  color: #fff8f0;
}

.social-icons-share svg {
  cursor: pointer;
  transition: transform 0.2s ease;
  color: #fff8f0;
}

.social-icons svg:hover {
  transform: scale(1.2);
  /* zoom effect on hover */
}

.social-icons-share svg:hover {
  transform: scale(1.2);
  /* zoom effect on hover */
}

.social-icons-share a:hover {
  background-color: #ffffff1a;
}

.social-icons-share .btn:hover {
  background-color: #ffffff1a;
}

/*Scroll to top */
.btn-scroll-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: none;
  z-index: 9999;
  border-radius: 50%;
  padding: 0.5rem 0.75rem;
  font-size: 1.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-scroll-top.show {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  background-color: var(--color-red);
  border-color: var(--color-red);
}

/* Blockquote */
.container-quote {
  background-image: url("../../images/quote.png");
  background-position: 3% 40%;
  background-repeat: no-repeat;
  padding: 3rem;
}

.container-quote figure {
  padding: 0 8em;
  font-size: 1.875rem;
}

.blockquote {
  font-size: 1.875rem;
  line-height: 2.3rem;
}

.blockquote-footer {
  margin-top: -1rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.home-news-section .cards-with-btn a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.read-more {
  color: var(--color-primary-light) !important;
  padding: 0.4rem 2rem;
  border-radius: 4px;
  transition: 0.3s;
}

.read-more:hover {
  background: var(--color-red);
  color: #000 !important;
}

.card-clergy .btn-group-container {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.cards-with-btn.card-light a {
  color: var(--color-primary-light);
  background-color: var(--color-red);
  font-weight: 700;
  padding: 0.4rem 2rem;
  border-radius: 4px;
  transition: 0.3s;
}

.how-we-are p {
  font-size: 1.25rem;
  padding: 1rem 12rem;
}

.container-address {
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Form */

.form-select {
  padding: 1rem 2.25rem 1rem 0.75rem;
  background-size: 20px 16px;
  font-size: 1.3rem;
}

/* News */

.news-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-menu li {
  margin-right: 0.5%;
}

.news-menu li a {
  text-decoration: none;
  color: var(--color-primary-dark);
  padding: 0.6rem;
  border-radius: 2.25rem;
  transition: 0.3s;
  font-weight: 400;
  font-size: 1.25rem;
}

.news-menu li a:hover {
  color: var(--color-red);
  background: #f3ae011a;
  border-radius: 2.25rem;
  font-weight: 700;
}

.news-menu li a.active {
  color: var(--color-red);
  background: #f3ae011a;
  border-radius: 2.25rem;
  font-weight: 700;
}

.news-container .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.news-container-sm .card-img-top-sm {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: var(--border-radius-2xl);
}

.news-container .card-title {
  height: 350px;
  font-size: 1.4rem;
  margin-bottom: 0;
  padding-bottom: 0 !important;
  font-family: var(--font-family-header);
}

.news-container-sm .card-title {
  height: 350px;
  font-size: 1rem;
  margin-bottom: 0;
  padding-bottom: 0 !important;
  font-family: var(--font-family-header);
}

.truncate-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 5em;
  line-height: 1.4em;
}

/* Events */

.events-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.events-menu li {
  margin-right: 0.5%;
}

.events-menu li a {
  text-decoration: none;
  color: var(--color-primary-dark);
  padding: 0.6rem;
  border-radius: 2.25rem;
  transition: 0.3s;
  font-weight: 400;
  font-size: 1.25rem;
}

.events-menu li a:hover {
  color: var(--color-red);
  background: #f3ae011a;
  border-radius: 2.25rem;
  font-weight: 700;
}

.events-menu li a.active {
  color: var(--color-red);
  background: #f3ae011a;
  border-radius: 2.25rem;
  font-weight: 700;
}

.events-container .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 1rem;
}

.events-container .card-title {
  height: 350px;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-family-header);
}

.events-container .btn {
  background: #514d4d;
  color: var(--color-primary-light) !important;
  padding: 0.4rem 1.5rem;
  border-radius: 4px;
  transition: 0.3s;
  font-weight: 400;
}

/* Parishes */
.parish-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.parish-menu li {
  margin-right: 0.5%;
}

.parish-menu li a {
  text-decoration: none;
  color: var(--color-primary-dark);
  padding: 0.6rem;
  border-radius: 2.25rem;
  transition: 0.3s;
  font-weight: 400;
  font-size: 1.25rem;
}

.parish-menu li a:hover {
  color: var(--color-red);
  background: #f3ae011a;
  border-radius: 2.25rem;
  font-weight: 700;
}

.parish-menu li a.active {
  color: var(--color-red);
  background: #f3ae011a;
  border-radius: 2.25rem;
  font-weight: 700;
}

.p-row {
  background: #f6f6f6;
  padding: 1rem;
  margin-bottom: 1px;
  transition: 0.3s;
}

.p-row:hover {
  background: #efefef;
}

.parishes-light-container .card-title {
  font-size: var(--font-size-3xl);
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-bold);
  padding: 0;
  margin: 0;
}

.parishes-light-container:hover {
  box-shadow: var(--box-shadow-primary);
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

.publications-container.card-light .card {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  min-height: 600px;
}

.publications-container .card-title {
  text-transform: none !important;
  height: 350px;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.publications-container.cards-with-btn.card-light a {
  background: var(--color-red);
  color: #000;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 1rem;
  transition: 0.3s;
}

.cards-with-btn.card-light a:hover {
  background: var(--color-primary-dark);
  color: var(--color-primary-light);
}

#detail-publications {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin-top: 20px;
}

#detail-publications td {
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

#detail-publications td:first-child {
  font-weight: bold;
  color: #555;
  width: 150px;
  white-space: nowrap;
}

#detail-publications td:last-child {
  color: #333;
}

.content-padding {
  padding-left: 15%;
  padding-right: 15%;
}

.content-padding img {
  width: 100%;
}

.mission-vision {
  color: #fff !important;
  background-color: rgb(105 48 103) !important;
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1rem;
  padding: 0.9rem 1rem 0.6rem 1rem;
}

.card-mission-vision {
  background: #2a122a;
  color: #fff;
  border-radius: 3rem;
}

.mission-vision-second {
  background: #462346;
}

.card-b {
  -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  background-color: #fafafa;
}

.events-info {
  background: var(--color-primary-dark);
  padding: 2.2rem;
  border-radius: 1rem;
  color: var(--color-primary-light);
}

.events-info a {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.text-container a {
  text-decoration: underline;
}

.text-container a:hover {
  color: var(--color-red);
}

.ministries {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  /* controls spacing between blocks */
}

.gm-style-iw-d {
  overflow: hidden !important;
}

.gm-style-iw-chr {
  position: absolute;
  right: 0;
  max-width: 320px !important;
}

.gm-style .gm-style-iw-c {
  padding: 0 !important;
  background-color: #fff8f1;
}

/* Timeline Layout */
/* Unique Timeline Component */
.timeline-container {
  --col-gap: 2rem;
  --row-gap: 2rem;
  --line-w: 0.25rem;
  --primary-color: var(--color-red);
  --bg-color: #ffffff;

  display: grid;
  grid-template-columns: var(--line-w) 1fr;
  grid-auto-columns: max-content;
  column-gap: var(--col-gap);
  list-style: none;
  width: 100%;
  margin-inline: auto;
  padding: 0;
  background: transparent;
  position: relative;
}

/* vertical line */
.timeline-container::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / span 20;
  background: var(--primary-color);
  border-radius: calc(var(--line-w) / 2);
}

/* items */
.timeline-item:not(:last-child) {
  margin-bottom: var(--row-gap);
}

.timeline-item {
  grid-column: 2;
  --inlineP: 1.5rem;
  margin-inline: var(--inlineP);
  grid-row: span 2;
  display: grid;
  grid-template-rows: min-content min-content min-content;
}

/* date */
.timeline-date {
  --dateH: 3rem;
  height: auto;
  margin-inline: calc(var(--inlineP) * -1);
  font-family: var(--font-family-header);
  text-align: center;
  background-color: var(--primary-color);
  color: var(--bg-color);
  font-size: 1.25rem;
  font-weight: 600;
  display: grid;
  place-content: center;
  position: relative;
  border-radius: 10rem 0 0 10rem;
  padding: 1rem 0;
}

/* flap */
.timeline-date::before {
  content: "";
  width: var(--inlineP);
  aspect-ratio: 1;
  background: var(--primary-color);
  background-image: linear-gradient(rgba(0, 0, 0, 0.15) 100%, transparent);
  position: absolute;
  top: 100%;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  right: 0;
}

/* circle */
.timeline-date::after {
  content: "";
  position: absolute;
  width: 2rem;
  aspect-ratio: 1;
  background: var(--bg-color);
  border: 0.3rem solid var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  right: calc(100% + var(--col-gap) + var(--line-w) / 2);
}

/* title & description */
.timeline-title,
.timeline-descr {
  background: var(--bg-color);
  position: relative;
  padding-inline: 1.5rem;
  color: #333;
}

.timeline-title {
  overflow: hidden;
  padding-block-start: 1.5rem;
  padding-block-end: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.timeline-descr {
  padding-block-end: 1.5rem;
  font-weight: 400;
}

/* shadows */
.timeline-title::before,
.timeline-descr::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 0.5rem;
  background: rgba(0, 0, 0, 0.15);
  left: 50%;
  border-radius: 50%;
  filter: blur(4px);
  transform: translate(-50%, 50%);
}
.timeline-title::before {
  bottom: calc(100% + 0.125rem);
}
.timeline-descr::before {
  z-index: -1;
  bottom: 0.25rem;
}

/* responsive layout */
@media (min-width: 40rem) {
  .timeline-container {
    grid-template-columns: 1fr var(--line-w) 1fr;
  }

  .timeline-container::before {
    grid-column: 2;
  }

  .timeline-item:nth-child(odd) {
    grid-column: 1;
  }

  .timeline-item:nth-child(even) {
    grid-column: 3;
  }

  .timeline-item:nth-child(2) {
    grid-row: 2/4;
  }

  .timeline-item:nth-child(odd) .timeline-date::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    left: 0;
  }

  .timeline-item:nth-child(odd) .timeline-date::after {
    transform: translate(-50%, -50%);
    left: calc(100% + var(--col-gap) + var(--line-w) / 2);
  }

  .timeline-item:nth-child(odd) .timeline-date {
    border-radius: 0 10rem 10rem 0;
  }
}

.timeline-credits {
  margin-top: 1rem;
  text-align: right;
}
.timeline-credits a {
  color: var(--primary-color);
  text-decoration: none;
}
.timeline-credits a:hover {
  text-decoration: underline;
}

.news-videos svg {
  cursor: pointer;
  transition: transform 0.2s ease;
  color: var(--color-red);
}

/* Extra small devices (phones, portrait) */
@media only screen and (max-width: 576px) {
  body {
    padding: 0 0.1rem !important;
  }

    .badge-types {
        display:none
    }
  .btn {
    padding: 0.7rem 1rem;
    font-size: 1rem;
  }

  .wd-locator {
    width: 100% !important;
    padding: 0 !important;
  }

  .c-seperator {
    height: 3.25rem;
    clear: both;
  }

  .how-we-are p {
    font-size: 1.15rem;
    padding: 0.5rem 0.2rem;
  }

  /*h1 {*/
  /*  font-size: 1.75rem;*/
  /*}*/

  .hero-text {
    width: 98%;
  }

  .hero-text h1 {
    font-size: 1.1rem;
  }

  .hero-secondary-text h1,
  .hero-secondary-text h2 {
    font-size: 1.2rem !important;
  }

  .hero-secondary-text {
    top: 50%;
    left: 49%;
    width: 95%;
  }

  .hero-secondary-text .btn {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
  }

  .container-seperator h2 {
    font-weight: 700;
    font-size: var(--font-size-4xl);
    line-height: 2rem;
    letter-spacing: 0;
  }

  .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0;
    margin: 0;
    line-height: 1.579rem;
  }

  .container-quote figure {
    padding: 0;
    font-size: 1.8rem;
  }

  .blockquote {
    font-size: 1.5rem;
    line-height: 1.8rem;
  }

  .container-quote {
    background-image: url("../../images/quote.png");
    background-position: 2% bottom;
    background-repeat: no-repeat;
    background-size: 15%;
  }

  .container-history .order-1 {
    padding-bottom: 2em;
  }

  .hero-contact {
    width: 100%;
    left: 0;
    font-size: 0.8rem;
  }

  .parishes-light-container {
    min-height: auto !important;
  }

  .events-container .card-title {
    height: 350px;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.5rem;
  }

  .events-container .card-img-top {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 1rem;
  }

  .news-container .card-img-top {
    height: 150px;
  }

  .modal-80 {
    width: 95%;
    max-width: 95%;
    height: auto;
  }
}

/* Small devices (phones, landscape) */
@media only screen and (min-width: 575px) and (max-width: 768px) {
  .wd-locator {
    width: 100% !important;
    padding: 0 !important;
  }

  .c-seperator {
    height: 4.25rem;
    clear: both;
  }

  .hero-secondary-text {
    top: 50%;
    left: 39%;
    width: 70%;
  }

  .hero-text {
    width: 90%;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-secondary-text h1,
  .hero-secondary-text h2 {
    font-size: 1.6rem;
  }

  .container-seperator h2 {
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 2rem;
    letter-spacing: 0;
  }

  .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0;
    margin: 0;
    line-height: 1.579rem;
  }

  .container-quote figure {
    padding: 0 1em;
    font-size: 1.8rem;
  }

  .blockquote {
    font-size: 1.5rem;
    line-height: 1.8rem;
  }

  .container-quote {
    background-image: url("../../images/quote.png");
    background-position: 2% bottom;
    background-repeat: no-repeat;
    background-size: 15%;
  }

  .how-we-are p {
    font-size: 1.15rem;
    padding: 1rem 0.2rem;
  }

  .hero-contact {
    width: 100%;
    left: 0;
    font-size: 0.8rem;
  }

  .parishes-light-container .card-title {
    font-size: 1.45rem;
    line-height: 2.2rem;
  }

  .parishes-light-container {
    min-height: 500px !important;
  }

  .parishes-light-container .card-img-top {
    height: 240px;
  }

  .events-container .card-title {
    height: 350px;
    font-size: 1.2rem;
    line-height: 1.5rem;
    margin-bottom: 2rem;
  }

  .events-container .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 1rem;
  }

  .modal-80 {
    width: 90%;
    max-width: 90%;
    height: auto;
  }

  /*.container-custom {*/
  /*    display: flex;*/
  /*    flex-direction: column-reverse; !* Moves hero-contact below hero-section *!*/
  /*}*/
}

/* Medium devices (tablets, portrait) */
@media only screen and (min-width: 768px) and (max-width: 992px) {
  /* Styles here */

  .hero-secondary-text {
    top: 50%;
    left: 39%;
    width: 70%;
  }

  .hero-text {
    width: 90%;
  }

  .hero-text h1 {
    font-size: 2.375em;
  }

  .hero-secondary-text h1,
  .hero-secondary-text h2 {
    font-size: 2.8rem;
  }

  .container-seperator h2 {
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 2rem;
    letter-spacing: 0;
  }

  .container-quote {
    background-position: 3% bottom;
    background-size: 15%;
  }

  .container-quote figure {
    padding: 0 3em;
    font-size: 1.8rem;
  }

  .blockquote {
    font-size: 1.5rem;
    line-height: 1.8rem;
  }

  .how-we-are p {
    font-size: 1.15rem;
    padding: 1rem 2rem;
  }

  .hero-contact {
    width: 100%;
    left: 0;
    font-size: 0.8rem;
  }

  .parishes-light-container .card-title {
    font-size: 1.45rem;
    line-height: 2.2rem;
  }

  .parishes-light-container {
    min-height: 550px !important;
  }

  .parishes-light-container .card-img-top {
    height: 240px;
  }

  .news-container .card-img-top {
    height: 150px;
  }

  .modal-80 {
    width: 90%;
    max-width: 90%;
    height: auto;
  }
}

/* Large devices (tablets landscape, small laptops) */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .hero-text {
    width: 90%;
  }

  .hero-text h1 {
    font-size: 1.5em;
  }

  .hero-secondary-text h1,
  .hero-secondary-text h2 {
    font-size: 3.15rem;
  }

  .container-seperator h2 {
    font-weight: 700;
    font-size: var(--font-size-4xl);
    line-height: 3rem;
    letter-spacing: 0;
  }

  .how-we-are p {
    font-size: 1.15rem;
    padding: 1rem 2rem;
  }

  .hero-contact {
    width: 100%;
    left: 0;
    font-size: 1rem;
  }

  .staff-container .card-title {
    font-size: 1.2rem;
    line-height: 2rem;
  }

  .parishes-light-container .card-title {
    font-size: 1.65rem;
    line-height: 2.5rem;
  }

  .parishes-light-container {
    min-height: 500px !important;
  }

  .news-container .card-img-top {
    height: 200px;
  }
}

/* Extra large devices (desktops, large laptops) */
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .navbar-nav .nav-item {
    margin-right: 1rem;
  }

  .hero-text {
    width: 90%;
  }

  .hero-text h1 {
    font-size: 2.375em;
  }

  .container-seperator h2 {
    font-weight: 700;
    font-size: var(--font-size-4xl);
    line-height: 3rem;
    letter-spacing: 0;
  }

  .staff-container .card-title {
    font-size: 1.7rem;
  }

  .parishes-light-container .card-title {
    font-size: 1.85rem;
    line-height: 2.7rem;
  }

  .events-container .btn {
    padding: 0.4rem 0.8rem;
  }
}

@media only screen and (max-width: 992px) {
  .content-padding {
    padding-left: 5%;
    padding-right: 5%;
  }

  .logo-footer {
    display: none;
  }

  .parishes-light-container .card-img-top {
    height: 240px;
  }

  footer {
    text-align: center;
  }

  .news-container-sm .card-title {
    height: auto;
    font-size: var(--font-size-base);
  }

  .language-switcher {
    position: absolute;
    top: 0.3rem;
  }

    .search-box{
      padding: 1.5rem;
  }
}

@media only screen and (max-width: 1199.98px) {
  .logo {
    order: 1;
  }

  .get-involved {
    order: 2;
    margin-top: 0.5rem;
  }

  .navbar {
    order: 3;
    margin-left: 1rem;
    padding-top: 0.5rem;
  }

  .content-padding {
    padding-left: 5%;
    padding-right: 5%;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 1200px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .container-content {
    padding: 0 1rem;
  }
}

@media only screen and (max-width: 1200px) {
  .container-content {
    padding: 0 1rem;
  }

  .body-container {
    padding: 0 0.5rem;
  }

  .logo-image {
    max-width: 281px;
    width: 80%;
    height: auto;
  }

  .events-section {
    font-size: 0.8rem;
  }

  .hero-contact {
    position: unset;
    margin-top: 1rem;
    background: var(--color-primary-dark);
  }

  .staff-container .card-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .news-container .card-title {
    font-size: 1.2rem;
    line-height: 1.5rem;
  }

  .truncate-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 8em;
    line-height: 1.4em;
  }

  .events-container .btn {
    padding: 0.4rem 0.8rem;
  }

  .home-news-section small {
    font-size: 0.8rem;
  }

  .offcanvas-body .navbar-nav {
    margin-top: 2rem;
    text-align: center;
  }

  .offcanvas-body .nav-link {
    font-size: var(--font-size-2xl);
  }

  .dropdown-menu {
    text-align: center;
    background: none;
  }

  .navbar-nav .dropdown:hover .dropdown-menu {
    box-shadow: none !important;
  }

  .container-centered {
    padding: 2rem 0.5rem;
  }

  .container-centered h2 {
    padding: 1.4rem 0 0 0;
  }

  .container-centered h5 {
    margin-top: 1rem;
  }

  .container-centered h4 {
    margin-top: 1rem;
  }
}

/* XXL devices (large desktops and wide screens) */
@media only screen and (min-width: 1400px) {
  .events-container .btn {
    padding: 0.4rem 0.8rem;
  }

  .container-content {
    padding: 0 1rem;
  }
}
