﻿/* 
    Main Site CSS File
*/
 
/* Base Styles */
:root {
  --bs-font-sans-serif: "Beatrice Regular", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-body-font-size: 16px;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.6667;
  --bs-primary: #36d54d;
  --bs-primary-dark: #1c872c;
  --bs-primary-light: #d0f8d5;
  --bs-secondary: #06354a;
  --bs-secondary-light: #6982eb;
  --bs-tertiary: #ffc400;
  --bs-backgorund-alpha: #f7f5ea;
}

body {
  font-size: var(--bs-body-font-size);
  line-height: var(--bs-body-line-height);
  font-weight: var(--bs-body-font-weight);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media screen and (min-width: 992px) {
  body {
    font-size: 1.125em;
  }
}

a {
    color: var(--bs-secondary-light);
    text-decoration:underline;
}

.footer a {
    color: var(--bs-secondary-light);
    text-decoration:none;
}


.h1-display,
.h1,
.h2,
.h3,
.h4 {
    font-family: "Beatrice Bold", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.h5 {
  font-family: "Beatrice SemiBold", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.h1-display {
  font-size: 1.875rem;
  line-height: 1.3333;
}

@media screen and (min-width: 992px) {
  .h1-display {
    font-size: 5.3125rem;
    line-height: 1.2352;
  }
}

.h1 {
  font-size: 3.75rem;
  line-height: 1.3333;
}


.h2 {
  font-size: 1.625rem;
  line-height: 1.1923;
}
@media screen and (min-width: 992px) {
    .h2 {
        font-size: 3rem;
        line-height: 1.4166;
    }
}

    .h3 {
        font-size: 2.375rem;
        line-height: 1.3684;
    }
@media only screen and (max-width: 991px) {
    .h3 {
        font-size: 1.375rem;
        line-height: 1.3684;
    }
}

    .h4 {
        font-size: 1.625rem;
        line-height: 1.5;
    }

    .h5 {
        font-size: 1.25rem;
        line-height: 1.5;
    }

    @media (min-width: 1400px) {
        .container,
        .container-lg,
        .container-md,
        .container-sm,
        .container-xl,
        .container-xxl {
            max-width: 93.75rem;
        }
    }

    /* Components */

    /* Buttons */
.btn {
    font-size: 1rem;
    font-family: "Beatrice Bold", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /*border-radius: 10rem;*/
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fixSpan {
}

@media only screen and (min-width: 992px) {
    .btn {
        border-radius: 10rem;
    }
}

@media only screen and (min-width: 915px) {
    .btn {
        border-radius: 2rem;
    }
}

@media only screen and (max-width: 991px) {
    .btn {
        border-radius: 1rem;
    }
}

@media only screen and (max-width: 320px) {
    .btn {
        padding-top: 0.75rem;
        padding-right: 10px;
        padding-bottom: 0.75rem;
        padding-left: 10px;
    }

    .btn .fa-arrow-right{
        display:none;
    }
}


.ButtonWithFix {
    position: relative !important;
    width: fit-content !important;
}

    .btn-outline-primary {
        color: var(--bs-primary);
        border-color: var(--bs-primary);
    }

        .btn-outline-primary:hover,
        .btn-outline-primary:focus {
            color: #fff;
            background-color: var(--bs-primary-dark);
            border-color: var(--bs-primary-dark);
        }

    .btn-outline-secondary {
        color: var(--bs-secondary);
        border-color: var(--bs-secondary);
    }

        .btn-outline-secondary:hover,
        .btn-outline-secondary:focus {
            color: #fff;
            background-color: var(--bs-secondary);
            border-color: var(--bs-secondary);
        }

    .btn-primary {
        color: var(--bs-secondary);
        background-color: var(--bs-primary);
        border-color: var(--bs-primary);
    }

        .btn-primary:hover,
        .btn-primary:focus {
            color: #fff;
            background-color: var(--bs-primary-dark);
            border-color: var(--bs-primary-dark);
        }

    .btn-icon {
        background: transparent;
        border: none;
        color: var(--bs-primary);
        transition-duration: 150ms;
        font-size: 1.25rem;
    }

        .btn-icon:hover {
            color: white;
        }

    /* Hero */
    .hero {
        min-height: 31.875rem;
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
    }

    @media screen and (min-width: 992px) {
        .hero {
            min-height: 61.25rem;
        }
    }

    .hero__cover {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(6, 53, 74, 0.25);
        mix-blend-mode: multiply;
    }

    .hero__content {
        position: absolute;
        bottom: 0;
        padding-bottom: 5rem;
        width: 100%;
    }

    @media screen and (min-width: 992px) {
        .hero__content {
            padding-bottom: 10rem;
        }
    }

    .hero .carousel {
        display: flex;
        flex-direction: column-reverse;
    }

    .hero .carousel-buttons {
        position: absolute;
        bottom: 0;
        transform: translateX(-50%) translateY(3rem);
        display: flex;
        align-items: center;
        gap: 2rem;
        left: 50%;
        margin: 0;
    }

    .hero .carousel-item {
        padding-right: 5rem;
    }

    @media screen and (min-width: 992px) {
        .hero .carousel-buttons {
            transform: translateX(-50%) translateY(5rem);
        }
    }

    .hero .carousel-control-prev,
    .hero .carousel-control-next {
        position: relative;
        width: auto;
    }

    .hero .carousel-indicators {
        position: relative;
        flex-grow: 1;
        margin: 0;
    }

        .hero .carousel-indicators [data-bs-target] {
            border-radius: 100%;
            width: 1.25rem;
            height: 1.25rem;
            background-color: transparent;
            border: 1px solid var(--bs-secondary);
        }
        /*
            Update from --bs-primary to --bg-color6
            Date: 10-09-2025
            By Darren H
        */
        .hero .carousel-indicators .active {
            background-color: var(--bg-color6);
        }

    .hero .hero__title {
        color: white;
        max-width: 51.25rem;
    }

    /* Header */
    .header {
        padding-top: 0.625rem;
        padding-bottom: 0.625rem;
    }

    @media screen and (min-width: 992px) {
        .header {
            padding-top: 2.5rem;
            padding-bottom: 2.5rem;
        }
    }

    .header__content {
        position: relative;
    }

    @media screen and (min-width: 992px) {
        .header__content {
            align-items: flex-start !important;
        }
    }

    .header__background {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(6, 53, 74, 1);
    }

    @media screen and (min-width: 992px) {
        .header__background {
            background-color: rgba(6, 53, 74, 0.9);
            mix-blend-mode: multiply;
        }
    }

    .header__logo {
        height: 2.5rem;
        /*z-index:99;*/
    }

    @media screen and (min-width: 992px) {
        .header__logo {
            height: 6.25rem;
            /*z-index:99;*/
        }
    }

    /* Navbar */
    .navbar__content {
        display: flex;
        gap: 1rem;
    }

    /* Override header buttons on mobile */
    @media screen and (max-width: 991px) {
        .navbar__content .btn {
            background: none;
            border: none;
            padding: 0;
            color: var(--bs-primary);
        }

            .navbar__content .btn .fa-solid {
                font-size: 1.25rem;
            }

        .btn-icon {
            padding: 0;
        }
    }

    /* Change header flow on desktop */
    @media screen and (min-width: 992px) {
        .navbar__content {
            flex-direction: column;
            gap: 2.25rem;
            align-items: flex-end;
        }
    }

    .navbar-toggler {
        color: var(--bs-primary);
        /*z-index:99;*/
    }

    .navbar__buttons {
        display: flex;
        justify-content: flex-end;
        gap: 1.5rem;
        /*z-index:99;*/
    }

    .navbar-collapse {
        position: absolute;
        left: 0;
        /*top: 3.1rem;*/
        top: 4rem;
        background-color: var(--bs-secondary);
        width: 100%;
        z-index: 5; /*Fix by Emma*/
    }

    @media (min-width: 992px) {
        .navbar-collapse {
            position: absolute;
            bottom: 0;
            transform: translateY(0.75rem);
            width: auto;
            top: auto;
            background-color: transparent;
            left: auto;
        }
    }

    .navbar-nav {
        padding: 4.5rem 1.25rem;
    }

    @media (min-width: 992px) {
        .navbar-nav {
            padding: 0;
        }
    }

    .nav-link {
        color: var(--bs-primary-light);
        font-family: "Beatrice Semibold", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        padding: 0.25rem 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        border-bottom: 1px solid var(--bs-primary-light);
    }

        .nav-link .fa-solid {
            border: 1px solid var(--bs-primary-light);
            border-radius: 100%;
            width: 1.75rem;
            height: 1.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: rotate(-90deg);
        }

    @media (min-width: 992px) {
        .nav-link {
            color: white;
            padding: 0;
            border: 0 none;
        }

            .nav-link .fa-solid {
                width: auto;
                height: auto;
                border: 0 none;
                transform: rotate(0deg);
            }
    }

    .nav-link:hover,
    .nav-link:focus {
        color: var(--bs-primary);
    }

    .nav-link-active {
        color: var(--bs-primary);
    }

    .dropdown-toggle::after {
        display: none;
    }

    @media (min-width: 992px) {
        .navbar-expand-lg .navbar-nav .nav-link {
            padding-right: 0;
            padding-left: 0;
        }

        .navbar-expand-lg .navbar-nav {
            gap: 2rem;
        }
    }

    /* Split Image Slice */

    .split-image-slice {
        padding-top: 2rem;
        padding-bottom: 28rem;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 7rem;
    }

    @media (min-width: 992px) {
        .split-image-slice {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 7rem;
            padding-bottom: 4rem;
            padding-top: 7rem;
        }
    }

    .split-image-slice__content {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

        .split-image-slice__content p {
            margin: 0;
        }

    .split-image-slice__background {
        position: relative;
        width: 100%;
        top: 0;
        right: 0;
    }

    @media (min-width: 992px) {
        .split-image-slice__background {
            width: 100%;
            top: auto;
            bottom: 0;
        }
    }

    .split-image-slice__background svg {
        width: 170%;
        position: absolute;
    }

    .split-image-slice__background img {
        position: absolute;
        top: 0;
        left: 50%;
        height: 20rem;
        transform: translate(-55%, -7rem);
        z-index: 1;
        pointer-events: none;
        z-index: 1;
    }

    .slice-img-mobile {
        height: 50rem !important;
        transform: translate(-55%, -12rem) !important;
    }


    @media (min-width: 992px) {
        .split-image-slice__background img {
            height: 60rem;
            transform: translate(-30%, -15%);
            left: 0;
        }

        .slice-img-mobile {
            height: 60rem !important;
            transform: translate(-30%, -10rem) !important;
        }
    }

    /* Split box slice */

    .split-box-slice__container {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    @media (min-width: 992px) {
        .split-box-slice__container {
            padding-top: 5rem;
            padding-bottom: 5rem;
        }
    }

    .split-box-slice {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1.25rem;
    }

    @media (min-width: 992px) {
        .split-box-slice {
            grid-template-columns: repeat(2, 1fr);
            gap: 5rem;
        }
    }

    .split-box-slice__box {
        border-radius: 1.125rem;
        padding: 1.125rem;
        display: flex;
        flex-direction: column;
        gap: 1.125rem;
        position: relative;
        overflow: hidden;
    }

    @media (min-width: 992px) {
        .split-box-slice__box {
            border-radius: 5rem;
            padding: 5rem;
        }
    }

    .split-box-slice__box--one {
        background-color: var(--bs-primary-light);
    }

    .split-box-slice__box--two {
        background-color: var(--bs-tertiary);
    }

    .split-box-slice__box-image {
        padding-bottom: 24rem;
    }

        .split-box-slice__box-image svg {
            position: absolute;
            width: 120%;
            transform: translateY(10%) translateX(5%);
        }

    @media (min-width: 992px) {
        .split-box-slice__box-image svg {
            width: 180%;
            transform: translateX(-16%);
        }
    }

    .split-box-slice__box-image img {
        position: absolute;
        z-index: 1;
        transform: translateY(0) translateX(-50%);
        pointer-events: none;
        left: 50%;
        width: 18rem;
        bottom: 0;
    }

    @media (min-width: 992px) {
        .split-box-slice__box-image img {
            width: 25rem;
            left: auto;
            transform: translateX(15rem);
        }
    }

    /* Split photo slice */
    .split-photo-slice {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    @media (min-width: 992px) {
        .split-photo-slice {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    .split-photo-slice__background {
        position: absolute;
        height: 100%;
        width: 100%;
        pointer-events: none;
        display: none;
    }

    @media (min-width: 992px) {
        .split-photo-slice__background {
            display: grid;
        }
    }

    .split-photo-slice__background-image {
        background-size: cover;
        background-position: center;
    }

    .split-photo-slice__spacer {
        padding-bottom: 56.25%;
        margin: 0 -1.25rem;
    }

    @media (min-width: 992px) {
        .split-photo-slice__spacer {
            padding-bottom: 0;
            background: none !important;
        }
    }

    .split-photo-slice__content {
        padding: 1.25rem 0 0 0;
        display: flex;
        flex-direction: column;
        gap: 1.125rem;
    }

    @media (min-width: 992px) {
        .split-photo-slice__content {
            padding: 4.4rem 5rem;
        }
    }

    .split-photo-slice--right .split-photo-slice__content {
        padding-left: 0 !important;
    }

    .split-photo-slice--left .split-photo-slice__content {
        padding-right: 0 !important;
    }

    /* News Slice */
    .news-slice {
        padding: 1.5rem 0;
    }

    @media (min-width: 992px) {
        .news-slice {
            padding: 7.5rem 0;
        }
    }

    .news-slice svg {
        position: absolute;
        bottom: 0;
        right: 0;
        transform: translate(40%, 40%);
        width: 66.25rem;
    }

    .news-slice__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    @media (min-width: 992px) {
        .news-slice__content {
            gap: 5.625rem;
        }
    }

    .news-story-flex {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }

    .news-slice__card-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1.25rem;
        width: 100%;
        justify-items: center;
    }

    @media (min-width: 768px) {
        .news-slice__card-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 2.5rem;
        }
    }

    @media (min-width: 1200px) {
        .news-slice__card-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 2.5rem;
        }
    }

    /* News Card */

    .carousel-news {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        overflow-x: visible; /* Allow horizontal overflow */
        overflow-y: visible;
        flex-shrink: 0;
    }

    .carousel-btns {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .news-card {
        position: relative;
        border-radius: 2.5rem;
        overflow: hidden;
        background-color: white;
        flex-shrink: 0;
        /* min-width:450px;*/ /*Update By Darren H 04-11-2024*/
    }

    .news-carousel-cont {
        width: 340px;
    }

    #carouselNews .carousel-control-prev {
        left: -15px;
    }

    #carouselNews .carousel-control-next {
        right: -15px;
    }

        #carouselNews .carousel-control-next i,
        #carouselNews .carousel-control-prev i {
            font-size: 1.6rem;
        }

    @media (min-width: 992px) {
        .w-sm {
            width: 50%;
        }

        .news-carousel-cont {
            width: 450px;
        }
    }

    .news-card__image {
        padding-bottom: 75%;
        background-size: cover;
        background-position: center;
    }

    .news-card__content {
        padding: 1.5rem;
        p {
    font-size: 1rem;
    line-height: 1.6rem;
  }
}


@media (min-width: 992px) {
  .news-card__content {
    padding: 3rem;
  }
}

.news-card__date {
  opacity: 60%;
  color: var(--bs-secondary);
}

.card_active {
  display: block;
}

.news-card__button {
  text-transform: uppercase;
  font-family: "Beatrice Bold", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: var(--bs-primary);
  transition-duration: 150ms;
}

.news-card__button:hover {
  color: var(--bs-primary-dark);
}


/* Footer */
.footer {
  background: var(--bs-secondary);
  padding: 5.625rem 0;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 3.375rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.75rem;
}

@media (min-width: 992px) {
  .footer__content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer__address {
  font-size: 1rem;
}

@media (min-width: 992px) {
  .footer__address {
    padding-top: 2.9375rem;
  }
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer a {
  color: white;
  font-family: "Beatrice Bold", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1.25rem;
}

.footerNoA {
    color: white;
    font-family: "Beatrice Bold", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1.25rem;
}


.footer__legal ul {
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .footer__legal ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }
}

.abt-hero-text {
  margin-left: 10rem;
}

/* Utilities */
.bg-background-alpha {
  background-color: var(--bs-backgorund-alpha);
}

.bg-secondary-light {
  background-color: var(--bs-secondary-light);
}

.bg-primary-light {
  background-color: var(--bs-primary-light);
}

.text-third {
    color:white !important;
}

.text-secondary {
  color: var(--bs-secondary) !important;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.bg-background-tertiary {
  background-color: var(--bs-tertiary);
}



/* For customers attributes */

.card-container-small {
  min-height: 220px;
  width: 600px;
  border-radius: 20px;
  display: flex;
}

.card-image-container-small {
  width: 220px;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.card-container {
  border-radius: 20px;

  margin: 20px;
}

.card-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%); /* Centers the image */
  object-fit: cover; /* Ensures the image scales and covers the container */
  object-position: center; /* Focuses on the center of the image */
  border-radius: 20px 0 0 20px;
}

.customer-help-svg {
  position: absolute;
  left: 500px;
  top: 205px;
  width: 100%;
  height: auto;
  z-index: 10;
}

.cust-help-cont {
  z-index: 20;
}

.download-notice {
  border-bottom: 2px solid var(--bs-secondary);
}


.notice-img {
  position: absolute;
  width: 500px;
  height: auto;
  right: 20%;
  top: 250px;
}


.news-pagi-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  color: var(--bs-primary);
  border: 2px solid var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  font-weight: bold;
}

.news-pagi-btn-active {
    background-color: var(--bs-primary);
    color: white;
}

.news-pagi-btn:hover {
    background-color: var(--bs-primary);
    color: white;
}

.text-primary-dark {
  color: var(--bs-primary-dark) !important;
}

.news-article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .news-article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.card-custom {
  display: flex;
  width: auto;
  border-radius: 20px;
  overflow: hidden;
  min-height: 256px;
  margin-left: 20px;
  margin-right: 20px;
}

@media (min-width: 576px) {
  .card-image-container {
    flex: 4 !important;
  }

  .card-content {
    flex: 6 !important;
  }
}

.card-image-container {
  flex: 0; /* 40% width */
  overflow: hidden;
  position: relative;
  display: block;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.2);
}

.card-content {
  flex: 10;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.w-sm-100 {
  width: 100% !important;
}

.flex-1 {
  flex: 1;
}

.gap-8 {
  gap: 32px;
}

.hero-image-overlap {
  object-position: center;
  border-radius: 30px;
  padding: 5px;
  object-fit: cover; 
  aspect-ratio: 1 / 1; 
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-image-overlap {
    position: absolute;
    padding: 5px;
    border-radius: 80px;
  }
}

.floating-art-image {
  position: relative;
  right: 0;
  top: 0;
}

.floating-art-image img {
  width: 300px;
  height: auto;
}

.related-articles {
  margin-top: 10px;
}


@media (min-width: 992px) {
  .floating-art-image {
    position: absolute;
    right: 100px;
    top: 120px;
  }

  .related-articles {
    margin-top: 200px;
  }

  .floating-art-image img {
    width: 400px;
    height: auto;
  }
}

@media (min-width: 1200px) {
  .floating-art-image {
    position: absolute;
    right: 200px;
    top: 120px;
  }
}

.w-sm {
  width: 100%;
}

@media (min-width: 992px) {
  .w-sm {
    width: 50%;
  }
}

/*
style="width: 105%; height: auto; margin-left: 135px; margin-top: 12px"
 */
.about-us-image-one {
  /*  height: 500px !important;*/
  /*position: absolute !important;*/
  /*bottom: 0 !important;*/

  top: 30px !important;
  margin-left: 40px !important;
}

@media (min-width: 992px) {
  .about-us-image-one {
    top: 0 !important;
  }
}

.slice-four-modify {
  margin-left: 30px;

}

/*.slice-image-edit {*/
/*  height: 70%;*/
/*  width: auto;*/
/*}*/

.min-box-height {
  min-height: 540px;
}

.index-banner {
    /* z-index: -1;*/
}

.news-detail__article-image {
  height: 400px;
  width: 100%;
  margin-top: 26px;
  margin-bottom: 26px;
  object-fit: cover; 
}

/* News Detail Page */

/* News detail has a smaller right column width */
.news-detail__layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1200px) {
  .news-detail__layout-grid {
    display: grid;
    grid-template-columns: 1fr 560px;
    column-gap: 3rem;
  }
}

.news-detail__hero-image {
  object-position: center;
  border-radius: 30px;
  padding: 5px;
  object-fit: fill; 
  aspect-ratio: 1 / 1; 
  /*
      Set image with to 560px and the hight will auto.
  */
  width: 560px;
  height:auto;
}

@media (min-width: 1200px) {
  .news-detail__hero-image {
    position: absolute;
  }
}

.news-detail__related-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1200px) {
  .news-detail__related-container {
    margin-top: 16rem;
  }
}

.news-detail__related-card {
  display: flex;
  width: auto;
  border-radius: 20px;
  overflow: hidden;
  min-height: 256px; 
}

.news_article__right_column {
  width: 480px;
}

/*
    Added to Fix issue with Header Postion When an image is not used. 
*/
@media only screen and (min-width: 992px) {
    .HeaderFix {
        margin-top: 180px;
    }
}

@media only screen and (max-width: 991px) {
    .HeaderFix {
        margin-top: 60px;
    }
}

/*
    Staff page class. 
*/
@media only screen and (min-width: 992px) {
    .staffPage {
        position: relative;
        margin-top: 200px;
        margin-bottom: 50px;
    }
}
@media only screen and (max-width: 991px) {
    .staffPage {
       position: relative;
       margin-top: 100px;
       margin-bottom: 50px;
        
    }
}

/*
    Added for the Model on the Staff Page
*/
    .staffPopup {
        font-size: 1.25rem;
        line-height: 1.5;
    }

    .staffPopupText {
        font-size: 1rem;
    }

    .modal-content {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        pointer-events: auto;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid rgba(0, 0, 0, 0.2);
        border-radius: 2rem;
        outline: 0;
    }


.modal-content_popup {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 2rem;
    outline: 0;
}

.modal-content_popup .topImage{
    border-top-left-radius:2rem;
    border-top-right-radius:2rem;
}

.modal-content_popup .textArea {
    margin-top:20px;
    margin-bottom:0px;
    margin-left:20px;
    margin-right:20px;
}


/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color:transparent;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    margin-bottom:20px;
    
}
.accordion-button-font {
    font-weight: bold;
}

.accordion-button:focus {
    z-index: 3;
    border-color: white;
    outline: 0;
    /*box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);*/
    box-shadow: none;
}


    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.accordion .active, .accordion:hover {
    background-color: transparent;
}

.accordion-item {
    background-color: transparent;
    border-left: 0px;
    border-right: 0px;
}

.accordion-button {
    background-color: transparent;
}

    .accordion-button:not(.collapsed) {
        color: black !important;
        background-color: transparent !important;
        box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125) !important;
    }

.accordion-button:after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}


.page-link {
    background-color: transparent !important;
    border-top:0px !important;
    border-bottom:0px !important;
    border-left:0px !important;
    border-right:0px !important;
    border-color:transparent !important;
}

/*
    Table CSS Added 10-9-2025
    By Darren H
    See: https://stackoverflow.com/questions/24323985/how-to-make-an-html-table-responsive
*/
@media all and (max-width:768px) {
    table, tr, td, tbody, td p table div, table table {
        width: 100% !important;
        float: left;
        clear: both;
        display: block;
        text-align: center;
    }

        table img {
            max-width: 100%;
            height: auto;
        }
}

/*
    Carousel Hyperlink
    Added 10-9-2025
    By Darren H
*/
.carousel-item a {
    color: var(--bg-color1);  /*Changed from #FFFFFF to the corporuute cream colour by Darren H 11-09-2025*/
    text-decoration: none;
    max-width: 51.25rem;
}

/*
    Button BG and Text Colour
    Added 10-9-2025
    By Darren H
*/

/*Back ground*/
.button-bg-background-white {
    background-color: var(--bg-color0);
    border-color: var(--bg-color0);
}

.button-bg-background-cream {
    background-color: var(--bg-color1);
    border-color: var(--bg-color1);
}

.button-bg-background-blue {
    background-color: var(--bg-color2);
    border-color: var(--bg-color2);
}

.button-bg-background-green {
    background-color: var(--bg-color3);
    border-color: var(--bg-color3);
}

.button-bg-background-lightgreen {
    background-color: var(--bg-color4);
    border-color: var(--bg-color4);
}

.button-bg-background-purple {
    background-color: var(--bg-color5);
    border-color: var(--bg-color5);
}

.button-bg-background-yellow {
    background-color: var(--bg-color6);
    border-color: var(--bg-color6);
}

/*Text*/
.button-txt-background-white  {
    color: var(--bg-color0) !important;
}
.button-txt-background-white a:any-link {
    color: var(--bg-color0) !important;
}

.button-txt-background-cream  {
    color: var(--bg-color1) !important;
}
.button-txt-background-cream a:any-link {
    color: var(--bg-color1) !important;
}

.button-txt-background-blue {
    color: var(--bg-color2) !important;
}

.button-txt-background-blue a:any-link {
    color: var(--bg-color2) !important;
}

.button-txt-background-green  {
    color: var(--bg-color3) !important;
}
.button-txt-background-green a:any-link {
    color: var(--bg-color3) !important;
}

.button-txt-background-lightgreen {
    color: var(--bg-color4) !important;
}
.button-txt-background-lightgreen a:any-link {
    color: var(--bg-color4) !important;
}

.button-txt-background-purple  {
    color: var(--bg-color5) !important;
}

.button-txt-background-purple a:any-link {
    color: var(--bg-color5) !important;
}


.button-txt-background-yellow {
    color: var(--bg-color6) !important;
}

.button-txt-background-yellow a:any-link {
    color: var(--bg-color6) !important;
}

.in-page-accordion {
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
    .in-page-accordion .card {
        background-color: #f7f7f7;
        border: 0;
    }

    .in-page-accordion .card-header {
        background-color: var(--bg-color3) !important;
        border: 0px !important;
    }

    .in-page-accordion .card .btn {
        border: 0px !important;
    }

    .in-page-accordion .card-header .btn-link {
        font-weight: 400;
        color: var(--bg-color1) !important;
        text-decoration: none;
    }

.in-page-accordio .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.btn-link {
    text-decoration: none !important;
}

.btn-check:focus + .btn, .btn:focus {
    outline: 0;
    box-shadow:none;
}

.modelButtonBody {
    /*background-color: var(--bg-color2) !important;*/
    border: 0;
    font-weight: 400;
    /*color: var(--bg-color1) !important;*/
    text-decoration: none;
    /*font-weight: bold;*/
    font-weight: 400 !important;
    text-align: center;
}

.in-page-accordion .card-header0 {
    background-color: var(--bg-color0) !important;
    border: 0px !important;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
}

.in-page-accordion .card-header1 {
    background-color: var(--bg-color1) !important;
    border: 0px !important;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
}
.in-page-accordion .card-header2 {
    background-color: var(--bg-color2) !important;
    border: 0px !important;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
}
.in-page-accordion .card-header3 {
    background-color: var(--bg-color3) !important;
    border: 0px !important;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
}
.in-page-accordion .card-header4 {
    background-color: var(--bg-color4) !important;
    border: 0px !important;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
}
.in-page-accordion .card-header5 {
    background-color: var(--bg-color5) !important;
    border: 0px !important;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
}
.in-page-accordion .card-header6 {
    background-color: var(--bg-color6) !important;
    border: 0px !important;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
}

.ButtonAccordion {
    border: none !important;
    border-radius: 0px !important;
    padding: 0.5rem 0 0.5rem 0 !important;
    font-size: 1.125em;
}

.card .FixModel {
    font-size: 1.125em !important;
}

.NormalButton {
    font-size: 1.125em !important;
}

.BtnRegulerFont {
    font-size: 1rem;
    font-family: "Beatrice Regular", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /*border-radius: 10rem;*/
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.padding5px {
    padding-top:5px;
    padding-bottom:5px;
}

.padding10px {
    padding-top: 10px;
    padding-bottom: 10px;
}

.padding15px {
    padding-top: 15px;
    padding-bottom: 15px;
}

.padding20px {
    padding-top: 40px;
    padding-bottom: 45px;
}


@media only screen and (max-width: 320px) {
    .btn {
        width:100% !important;
        min-width: 190px !important;
    }

    

    .fixSpan {
        word-break: break-word;
    }
}

.text-UserDefined1>h4 {
    color: #ffffff !important;
}

.text-UserDefined2>h4 {
    color: #f7f5ea !important;
}

.text-UserDefined3>h4 {
    color: #06354a !important;
}

.text-UserDefined4>h4 {
    color: #36d54d !important;
}

.text-UserDefined5>h4 {
    color: #d0f8d5 !important;
}

.text-UserDefined6>h4 {
    color: #6982eb !important;
}

.text-UserDefined7>h4 {
    color: #ffc400 !important;
}

.text-UserDefined8>h4 {
    color: #000000 !important;
}

.text-UserDefined1 {
    color: #ffffff !important;
}

.text-UserDefined2 {
    color: #f7f5ea !important;
}

.text-UserDefined3 {
    color: #06354a !important;
}

.text-UserDefined4 {
    color: #36d54d !important;
}

.text-UserDefined5 {
    color: #d0f8d5 !important;
}

.text-UserDefined6 {
    color: #6982eb !important;
}

.text-UserDefined7 {
    color: #ffc400 !important;
}

.text-UserDefined8 {
    color: #000000 !important;
}


/*
    Hex to HSL see: https://codepen.io/sosuke/pen/Pjoqqp
*/

.btn-close-custom1 {
    filter: invert(96%) sepia(100%) saturate(0%) hue-rotate(86deg) brightness(103%) contrast(106%);
}

.btn-close-custom2 {
    filter: invert(77%) sepia(2%) saturate(4739%) hue-rotate(320deg) brightness(137%) contrast(93%);
}

.btn-close-custom3 {
    filter: invert(16%) sepia(89%) saturate(472%) hue-rotate(151deg) brightness(94%) contrast(99%);
}

.btn-close-custom4 {
    filter: invert(57%) sepia(100%) saturate(381%) hue-rotate(77deg) brightness(100%) contrast(87%);
}

.btn-close-custom5 {
    filter: invert(93%) sepia(4%) saturate(1478%) hue-rotate(73deg) brightness(103%) contrast(95%);
}

.btn-close-custom6 {
    filter: invert(45%) sepia(89%) saturate(454%) hue-rotate(193deg) brightness(97%) contrast(89%);
}

.btn-close-custom7 {
    filter: invert(73%) sepia(74%) saturate(1492%) hue-rotate(1deg) brightness(103%) contrast(100%);
}

.btn-close-custom8 {
    filter: invert(0%) sepia(0%) saturate(12%) hue-rotate(257deg) brightness(104%) contrast(104%);
}

/*Popup BG*/
.bgPopup-UserDefined1 {
    background-color: #ffffff !important;
}

.bgPopup-UserDefined2 {
    background-color: #f7f5ea !important;
}

.bgPopup-UserDefined3 {
    background-color: #06354a !important;
}

.bgPopup-UserDefined4 {
    background-color: #36d54d !important;
}

.bgPopup-UserDefined5 {
    background-color: #d0f8d5 !important;
}

.bgPopup-UserDefined6 {
    background-color: #6982eb !important;
}

.bgPopup-UserDefined7 {
    background-color: #ffc400 !important;
}

.bgPopup-UserDefined8 {
    background-color: #000000 !important;
}

.centerButton {
    margin: 0 auto;
}

.CrossPosition {
    padding-top:40px;
}