a {
  color: #00b7ff;
}

.welcome-section {
  background-image: url("/static/images/section-header.webp");
  background-color: #ffffff;
  height: 12rem;
}

.topic {
  padding-left: 10px;
  border-left: 3px solid #052765;
}

.clear-anchor {
  color: inherit;
}

/* ============================================================================
   Back to Top Button Style
   ============================================================================
*/

.top-link {
  display: inline-block;
  background-color: #020101;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 100%;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s,
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  text-decoration: none !important;
}

.top-link::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}

.top-link:hover {
  cursor: pointer;
  background-color: #333;
}

.top-link.hide {
  opacity: 0;
  visibility: hidden;
}

.top-link.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================================================
   Reveal Style
   ============================================================================
*/

.title-reveal-anim {
  animation: titleRevealAnim 1.5s ease-in-out forwards;
}


@keyframes titleRevealAnim {
  0% {
    opacity: 0;
    transform: translateY(50%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-anim {
  animation: revealAnim 0.8s ease-in-out forwards;
}


@keyframes revealAnim {
  0% {
    opacity: 0;
    transform: translateX(10%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 992px) {
  @keyframes titleRevealAnim {
    0% {
      opacity: 0;
      transform: translateY(20%);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .reveal-anim {
    animation: revealAnim 1s ease-in-out forwards;
  }


  @keyframes revealAnim {
    0% {
      opacity: 0;
      transform: translateX(0%);
    }

    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

/* ============================================================================
   Carousel Style
   ============================================================================
*/

.carousel {
  min-height: 600px;
}

.carousel-caption {
  bottom: 20%;
}

.carousel-item .img-fluid {
  object-fit: cover;
  width: 100%;
  max-height: 600px;
}

.caption-1 {
  font-size: calc(1.475rem + 2.7vw);
  font-weight: 300;
  line-height: 1.2;
}

.caption-2 {
  font-size: calc(1.625rem + 4.5vw);
  font-weight: 300;
  line-height: 1.2;
}

@media (max-width: 992px) {
  .carousel {
    min-height: 169.2px;
  }

  .carousel-item .img-fluid {
    max-height: 15rem;
  }

  .carousel-caption {
    bottom: 5%;
    font-size: 1rem;
  }

  .caption-1 {
    font-size: calc(1.475rem + 1.4vw);
    font-weight: 300;
    line-height: 1.2;
  }

  .caption-2 {
    font-size: calc(1.625rem + 2.4vw);
    font-weight: 300;
    line-height: 1.2;
  }
}

/* ============================================================================
   Toolbar Style
   ============================================================================
*/

/* Bootstrap text input with search icon */

.has-search .form-control {
  padding-left: 2.375rem;
}

.has-search .form-control-feedback {
  position: absolute;
  z-index: 2;
  display: block;
  width: 2.375rem;
  height: 2.375rem;
  line-height: 2.375rem;
  text-align: center;
  pointer-events: none;
  color: #aaa;
}

.top-toolbar {
  min-height: 37px;
  background-color: #052765;
  color: whitesmoke;
}

.toolbar-social * {
  color: whitesmoke;
  font-size: 2rem;
}

#top-toolbar-email * {
  color: whitesmoke;
}

@media (max-width: 992px) {
  #top-toolbar-email {
    display: none;
  }

  #top-toolbar-address {
    display: none;
  }
}

/* ============================================================================
   Navbar Style
   ============================================================================
*/

.dropdown-menu .dropdown-menu {
  transform: none !important;
  top: -.5rem !important;
  left: 100% !important;
}


#navbar-site {
  background-color: whitesmoke;
}

.navbar-logo {
  max-width: 50%;
}

.nav-item {
  font-size: 1.4rem;
  padding-right: 1rem;
  padding-left: 1rem
}

@media (max-width: 1398px) and (min-width: 992px) {
  .nav-item {
    padding-right: 0rem;
    padding-left: 0rem;
    font-weight: normal;
    font-size: 1.3rem;
  }

  .nav-link {
    font-weight: normal;
    font-size: 1.3rem;
    padding-right: 0rem;
    padding-left: 0rem;
  }

  .dropdown-item {
    font-size: large;
  }
}

/* Fade in */

.nav-item>a {
  display: block;
  position: relative;
  padding: 0.2em 0;
}

.nav-item>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: #1894e7;
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
}

.nav-item>a:hover::after,
.nav-item>a:focus::after {
  opacity: 1;
  transform: translate3d(0, 0.2em, 0);
}

/* Slide in */
.nav-item>a {
  overflow: hidden;
}

.nav-item>a::after {
  opacity: 1;
  transform: translate3d(-100%, 0, 0);
}

.nav-item>a:hover::after,
.nav-item>a:focus::after {
  transform: translate3d(0, 0, 0);
}

.on-top {
  background-color: #1894e7;
  max-height: 7rem;
}

@media (max-width: 992px) {
  .nav-item {
    padding-right: 0;
    padding-left: 0;
    font-size: 1.3rem;
  }

  .nav-link {
    font-weight: bold;
    font-size: x-large !important;
  }

  #navbarSupportedContent {
    margin-top: 1rem;
    border-radius: 0.5rem;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .navbar-toggler {
    margin: 1rem;
    padding: 1rem 1.2rem;
  }

  .welcome-heading {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  .nav-item-top {
    border-bottom: 1px dashed rgb(255, 255, 255);
  }

  .showtime {
    height: 14rem;
  }
}

/* ============================================================================
   Content Style
   ============================================================================
*/

.content {
  min-height: 600px;
}

.visit-location-img {
  width: 380px;
  height: 240px;
  object-fit: scale-down;
}

.events-container {
  color: white;
  background-image: url("/static/images/index/events.webp");
  background-repeat: no-repeat;
  background-size: cover;

  width: 100%;
  padding-bottom: 15px;
}

/* Fade in */
.event-item {
  position: relative;
  padding: 0.2em 0;
}

.event-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.2em;
  background-color: #ebf7ff;
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
}

.event-item:hover::after,
.event-item:focus::after {
  opacity: 1;
  transform: translate3d(0, 0.2em, 0);
}

/* Slide in */
.event-item {
  overflow: hidden;
}

.event-item::after {
  opacity: 1;
  transform: translate3d(-100%, 0, 0);
}

.event-item:hover::after,
.event-item:focus::after {
  transform: translate3d(0, 0, 0);
}

.event-date {
  width: 12%;
  border-right: solid 1px white;
}

.event-description {
  width: 88%;
}

.culture-gallery-img {
  max-height: 400px;
}


@media (max-width: 1200px) {

  .event-date {
    width: 35%;
  }

  .event-description {
    width: 65%;
  }

  .visit-location-img {
    width: 100%;
    height: auto;
    object-fit: scale-down;
  }
}

/* ============================================================================
   Footer Style
   ============================================================================
*/

.footer {
  background-color: #052765;
  color: white;
}

.top-footer {
  border-top: solid 1px rgb(29, 29, 29);
}

.bottom-footer {
  min-height: 60px;
}

.copyright-footer {
  min-height: 60px;
}

.complaints-book {
  width: 100px;
  height: 40px;
}

@media (max-width: 1200px) {

  .complaints-book {
    width: 50px;
    height: 20px;
  }
}

/* ============================================================================
   Parish Style
   ============================================================================
*/

#maps-wrapper {
  text-align: center;
  width: 100%;
  height: 400px;
}

/* ============================================================================
   Composition Style
   ============================================================================
*/

.composition-card {
  box-shadow: 0 25px 35px -25px #97a3b8;
  min-height: 410px;
  position: relative;
}

.composition-parties-logo {
  top: 0px;
  right: 0px;
  max-width: 25%;
  height: auto;
  position: absolute;
}

.composition-parties-logo-ps {
  top: 0px;
  right: 0px;
  max-width: 18%;
  height: auto;
  position: absolute;
}

/* ============================================================================
   grants Style
   ============================================================================
*/

.grants-card {
  min-height: 640px;
}

/* ============================================================================
   Services Style
   ============================================================================
*/

/* ============================================================================
   News Style
   ============================================================================
*/

.cover-div {
  display: flex;
}

.cover-image {
  max-height: 350px;
  object-fit: scale-down;
  margin-bottom: 25px;
}

.news-content {
  font-family: var(--bs-font-sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  -webkit-text-size-adjust: 100%;
}

.news-content>p {
  max-width: 980px;
  margin: auto;
  padding: 15px;
}

.news-content>*>img {
  max-width: 860px;
  height: auto;
  margin: auto;
  display: block;
}

@media (max-width: 950px) {

  .news-content>*>img {
    max-width: 100%;
    height: auto;
    margin: auto;
  }
}

.news-content>h1 {
  font-weight: 300;
  line-height: 1.2;
  font-size: 4.5rem;
  margin-bottom: 25px;
}

.news-content>h2 {
  font-weight: 300;
  line-height: 1.2;
  font-size: 4rem;
  margin-bottom: 25px;
}

.news-content>h3 {
  font-weight: 300;
  line-height: 1.2;
  font-size: 3.5rem;
  margin-bottom: 25px;
}

.news-content>h4 {
  font-weight: 300;
  line-height: 1.2;
  font-size: 3rem;
  margin-bottom: 25px;
}

.news-content>h5 {
  font-weight: 300;
  line-height: 1.2;
  font-size: 2.5rem;
  margin-bottom: 25px;
}

.news-content>h6 {
  font-weight: 300;
  line-height: 1.2;
  font-size: 2rem;
  margin-bottom: 25px;
}

/* ============================================================================
   Search. Style
   ============================================================================
*/

.btn-group-search {
  position: relative;
  display: flex;
  vertical-align: middle;
  margin: 1rem;
  flex-wrap: wrap;
}