/* banner */
.banner {
/*  display: none !important;*/
}
.banner.active {
  display: block !important;
}
.banner .carousel-caption {
  bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  left: 8%;
  bottom: unset;
  top: 50%;
  transform: translateY(-50%);
}
.banner .content {
  margin-bottom: 3.5rem;
}
.carousel-control-prev,
.carousel-control-next {
  opacity: 1;
  top: unset;
  bottom: 5rem;
  width: 50px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-control-prev:focus,
.carousel-control-next:focus {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}
.carousel-control-prev {
  left: 8%;
}
.carousel-control-next {
  left: calc(8% + 200px + 30px + 23px);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: unset;
  width: 50px;
  height: 22px;
}
.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
  content: '';
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  width: 50px;
  height: 22px;
}
.carousel-control-prev-icon::before {
  background-image: url('/images/layout/arrow-left.png');
}
.carousel-control-next-icon::before {
  background-image: url('/images/layout/arrow-right.png');
}
.carousel-indicators {
  margin-bottom: 5.4rem;
  margin-left: 10%;
  margin-right: unset;
  width: 200px;
}
.carousel-indicators [data-bs-target] {
  width: 26px;
  height: 26px;
  background-image: url('/images/layout/dot_inactive.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
  border: 0;
  text-indent: -9999px;
  margin-left: 7px;
  margin-right: 7px;
  opacity: 1;
}
.carousel-indicators [data-bs-target].active {
  background-image: url('/images/layout/dot_active.png');
  opacity: 1;
}
.carousel-indicators [data-bs-target]:focus {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}
.carousel-controls {
  position: absolute;
  left: 8%;
  bottom: 0;
  z-index: 1000;
}
.carousel-item img {
  object-fit: cover;
  height: calc(100vh - 124px - 45px);
  width: 100%;
}
.carousel-item .overlay {
  position: absolute;
  top: 0;
  right: calc(1920px - 1280px);
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0.9) 70%, rgba(0, 0, 0, 0));
}
#quick-links .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.quick-link {
  position: relative;
  width: 460px;
  aspect-ratio: 1 / 1;
}
.quick-link > div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-size: cover;
  background-position: center;
}
.quick-link .image {
  z-index: 1;
  width: 74%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
}
.quick-link .image .overlay {
/*  background: rgba(0, 0, 0, 0.8);*/
  background: #4e4e4e;
  width: 100%;
  height: 100%;
}
.quick-link .frame {
  background-image: url('/images/layout/Large_Cog(grey).png');
  z-index: 2;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.quick-link:hover .frame {
  background-image: url('/images/layout/Large_Cog(green).png');
}
.quick-link .sm-title {
  z-index: 3;
  text-align: center;
  color: white;
}
#home-events .home-events-wrapper {
  display: flex;
  gap: 28px;
}
@media only screen and (max-width: 991px) {
  .carousel-item .overlay {
    right: 0;
    background: rgba(0, 0, 0, 0.6);
  }
  .carousel-item img {
    height: 500px;
  }
  .carousel-indicators {
    margin-bottom: 1.5rem;
  }
  .carousel-control-prev,
  .carousel-control-next {
    bottom: 2rem;
  }
}
@media only screen and (max-width: 767px) {
  .banner .carousel-caption {
    left: 0;
    top: 0;
    transform: unset;
  }
  .carousel-item img {
    height: 300px;
  }
  .carousel-indicators {
    margin-bottom: 0.5rem;
  }
  .carousel-control-prev,
  .carousel-control-next {
    bottom: 1.1rem;
  }
  .quick-link .sm-title {
    font-size: 0.9em;
  }
}

.banner {
    background-size: cover;
    background-position-x: right;
    height: 750px;
}

@media only screen and (max-width: 1599px) {
    .banner {
        height: 600px;
    }
}
@media only screen and (max-width: 991px) {
    .banner {
        height: 450px;
    }
}
@media only screen and (max-width: 567px) {
    .banner {
        height: auto;
        padding-block: 3rem;
    }
}