@charset "UTF-8";

:root {
	--radius: 0;
	--radius-inner: calc(var(--radius) - 1px);
	
	--color-text: #191E38;
	--color-primary: #191E38;
	--color-secondary: #EDEDED;
	--color-accent: #07E62F;
	--color-accent-hover: #B84A46;
	--color-accent-tint: #F9F0F0; /* Used for form-control:focus background */
	--color-secondary-accent: #FFF;
	--color-secondary-accent-hover: #264262;
	
	--font-weight-normal: 400;
	--font-weight-bold: 600;
	/* --font-weight-black: 900; */
	
	--gx: 2rem;
	--gy: 1rem;

	--gx-lg: 3rem;
	--gy-lg: 2rem;	

	--pt: 2rem;
	--pb: 1rem;
	--pl: 2rem;
	--pr: 2rem;

	--pt-lg: 3rem;
	--pb-lg: 2rem;
	--pl-lg: 3rem;
	--pr-lg: 3rem;
	
  	--page-width: calc(100% * 11 / 12);
    --page-width--narrow-sm: calc(100% * 10 / 12);
    --page-width--narrow-lg: calc(100% * 8 / 12);
}

/* Body */
body {
	font-family: proxima-nova, sans-serif;
	font-weight: var(--font-weight-normal);
	font-style: normal;
	font-size: 16px;
	color: var(--color-text);
}
a {
  	text-decoration: none;
}

/* Accordions */
.accordion-item:first-of-type {
	border-top-left-radius: var(--radius);
	border-top-right-radius: var(--radius);
}
.accordion-item:first-of-type .accordion-button {
	border-top-left-radius: var(--radius-inner);
	border-top-right-radius: var(--radius-inner);
}
.accordion-item:not(:first-of-type) {
	border-top: 0;
}
.accordion-item:last-of-type {
	border-bottom-right-radius: var(--radius);
	border-bottom-left-radius: var(--radius);
}
.accordion-item:last-of-type .accordion-button.collapsed {
	border-bottom-right-radius: var(--radius-inner);
	border-bottom-left-radius: var(--radius-inner);
}
.accordion-item:last-of-type .accordion-collapse {
	border-bottom-right-radius: var(--radius);
	border-bottom-left-radius: var(--radius);
}
.accordion-body {
	padding: 2rem;
	font-size: 1rem;
}
.accordion-button {
	padding: 2rem;
	font-size: 1.125rem;
	font-weight: var(--font-weight-bold);	
}
@media (min-width: 992px) {
	.accordion-button,
	.accordion-body {
	  padding: 3rem;
	}
}

/* Address */
@media (min-width: 992px) {
    .address-item {
        display: inline;
    }
    .address-item::after {
        content: ", ";
    }
    .address-item:last-of-type::after {
        content: ""; /* remove comma after the last item */
    }
    .address-item + br {
        display: none; /* hide <br> on lg screens */
    }
}

/* Buttons */
.btn {
    font-weight: var(--font-weight-bold);
    border: 1px solid transparent;
    padding: 0.8rem 2.5rem;
	margin-bottom: 1rem;
	border-radius: var(--radius);
}

.btn:hover,
.btn:focus,
.btn:active,
.btn:active:focus,
.btn:focus-visible,
.btn-accent:hover,
.btn-accent:focus,
.btn-accent:active,
.btn-accent:active:focus,
.btn-accent:focus-visible {
    box-shadow: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

/* Cards */
.card, .card-img {
	border-radius: var(--radius);
}
.card-img-top {
	border-top-left-radius: var(--radius-inner);
	border-top-right-radius: var(--radius-inner);
	width: 100%; /* Add width so we don't need to use img-fluid, which would add an unwanted radius on the bottom corners */
  	height: auto; /* Add width so we don't need to use img-fluid, which would add an unwanted radius on the bottom corners */
	margin-bottom: 0;
}

/* Colours */
.accordion-button.collapsed {
    background-color: var(--color-accent);
    color: #fff;
}
.accordion-button:not(.collapsed) {
    background-color: var(--color-accent);
    color: #fff;
}
.text-primary-custom {
	color: var(--color-primary);
}
a.text-accent,
a.text-accent:visited {
	color: var(--color-accent);
}
a.text-accent:hover,
a.text-accent:focus-visible,
a.text-accent:active {
	color: var(--color-accent-hover);
}
.bg-primary-custom .text-heading,
.bg-primary-custom .text-heading {
	color: #fff;
}
.bg-primary-custom {
	color: #fff;
	background-color: var(--color-primary);
}
.bg-secondary-custom {
	background-color: var(--color-secondary);
}
.bg-secondary-custom a.text-accent,
.bg-secondary-custom a.text-accent:visited {
    color: var(--color-secondary-accent);
}
.bg-secondary-custom a.text-accent:hover,
.bg-secondary-custom a.text-accent:focus-visible,
.bg-secondary-custom a.text-accent:active {
    color: var(--color-secondary-accent-hover);
}
.btn-accent {
	color: var(--color-primary);
	background-color: var(--color-accent);
	border-color: var(--color-accent);
}
.btn-accent:hover,
.btn-accent:focus-visible,
.btn-accent:active {
	background-color: var(--color-accent-hover);
	border-color: (--color-accent-hover);
	color: #fff;
}
/*.bg-primary-custom.btn-accent:hover,
.bg-primary-custom.btn-accent:focus-visible,
.bg-primary-custom.btn-accent:active {
	background-color: white;
	border-color: white;
	color: var(--color-primary);
}*/
.form-control,
.form-select {
	border: 1px solid var(--color-primary);
}
.form-control:focus,
.form-select:focus {
	background-color: var(--color-accent-tint);
	border-color: var(--color-accent-hover);
}
.bg-primary-custom .form-control,
.bg-primary-custom .form-select {
	border: 1px solid #fff;
}
.bg-primary-custom .form-control:focus,
.bg-primary-custom .form-select:focus {
	background-color: var(--color-accent-tint);
	border: 1px solid #fff;
}
.form-control::placeholder {
	color: var(--color-accent);
	opacity: 1;
}
.form-control:focus::placeholder {
	color: var(--color-accent-hover);
	opacity: 1;
}
.input-group-text {
	color: #fff;
	background-color: var(--color-accent);
	border: 1px solid var(--color-accent);
}
.input-group:focus-within .input-group-text {
	color: #fff;
	background-color: var(--color-accent-hover);
	border: 1px solid var(--color-accent-hover);
}
.navbar-toggler .fa-bars {
	color: var(--color-accent);
}
.navbar-toggler:hover .fa-bars,
.navbar-toggler:focus .fa-bars {
	color: var(--color-accent-hover);
}
.nav-link {
	color: #fff;
}
.nav-link:hover {
	color: var(--color-accent);
}
.nav-link.active {
	color: var(--color-accent);
}
.nav-link.dropdown-toggle.show,
.nav-link.dropdown-toggle:focus,
.nav-link.dropdown-toggle:active {
  color: #fff !important;
}
.dropdown-menu {
  background-color: var(--color-primary);
  border: none; 
}
.dropdown-item {
  color: #fff;
  background-color: transparent;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--color-accent);
  background-color: transparent;
}

.dropdown-item.active,
.dropdown-item:active {
  color: var(--color-accent);
  background-color: transparent;
}
.text-primary-custom {
	color: var(--color-primary);
}
.text-heading {
	color: var(--color-primary);
}
table thead.bg-primary-custom {
	background-color: var(--color-primary);
	color: #fff;
}
/* Columms */
@media (min-width: 992px) {
	.text-columns-2 {
		column-count: 2;
		column-gap: 3rem;
		margin-bottom: 1rem;
	}
}

/* Font family */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 1rem;
	font-weight: var(--font-weight-bold);
}

/* Font Utilities */
.fw-bold-custom {
    font-weight: var(--font-weight-bold);
}
/* Forms */
.form-control {
    padding: 0.8rem 2.5rem;
    border-radius: var(--radius);
}
.form-control:focus,
.form-select:focus {
	box-shadow: none;
	outline: none;
}
.form-select {
	padding: 0.8rem 2.5rem;
	border-radius: var(--radius);
}
.input-group-text {
	padding: 0.8rem 2.5rem;
	border-radius: var(--radius);
}

/* Image */
img, .img {
	margin-bottom: 1rem;
}
.img-fluid {
	border-radius: var(--radius);
}

/* Logo */
.logo {
	width: 200px;
}
@media (min-width: 992px) {
	.logo {
	width: 250px;
}
}
/* Margin and Padding Utility Classes */
.p-custom {
    padding-top: var(--pt);
    padding-bottom: var(--pb);
    padding-left: var(--pl);
    padding-right: var(--pr);
}
.py-custom {
    padding-top: var(--pt);
    padding-bottom: var(--pb);
}
.pb-custom {
    padding-bottom: var(--pb);
}
.row.g-custom,
.row.gy-custom {
  --bs-gutter-y: var(--gy);
}
.row.g-custom,
.row.gx-custom {
  --bs-gutter-x: var(--gx);
}
@media (min-width: 992px) {
.p-custom {
    padding-top: var(--pt-lg);
    padding-bottom: var(--pb-lg);
    padding-left: var(--pl-lg);
    padding-right: var(--pr-lg);
  }
.py-custom {
    padding-top: var(--pt-lg);
    padding-bottom: var(--pb-lg);
  }
.pb-custom {
    padding-bottom: var(--pb-lg);
}	
.row.g-custom,
.row.gy-custom {
  --bs-gutter-y: var(--gy-lg);	
}
.row.g-custom,
.row.gx-custom {
  --bs-gutter-x: var(--gx-lg);	
}
}

/* Modals */
.modal-content {
	background-color: transparent;
	border: 0;
	border-radius: var(--radius);
	outline: 0;
	box-shadow: none;
}
.modal-backdrop {
	background-color: var(--color-primary);
}
.modal-backdrop.fade {
	opacity: 0;
 	transition: opacity 0.15s linear;
}
.modal-backdrop.fade.show {
  	opacity: 1;
}
.modal.show .modal-dialog,
.modal.fade .modal-dialog {
	transform: none !important;
	transition: opacity 0.15s linear !important;	
}
.modal-header {
  border-bottom: none;
}
.modal-footer {
  border-top: none;
}

/* Owl Carousel */
.owl-theme .owl-dots {
	text-align: center;
	margin-bottom: 1rem;
}
.owl-theme .owl-dots .owl-dot {
    margin: 0 0.25rem;
}
.owl-theme .owl-dots .owl-dot span {
    width: 1rem;
    height: 1rem;
    background-color: var(--color-accent);
    display: block;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.owl-theme .owl-dots .owl-dot.active span {
    background-color: var(--color-accent-hover);
}

.owl-theme .owl-dots .owl-dot:hover span,
.owl-theme .owl-dots .owl-dot:focus span {
    background-color: var(--color-accent-hover);
}

/* Nav */
.navbar {
  --bs-nav-link-padding-y: 0.8rem;
  --bs-nav-link-padding-x: 2.5rem;
  --bs-navbar-nav-link-padding-x: 2.5rem;
}
.navbar .dropdown-menu {
  --bs-dropdown-item-padding-y: 0.8rem;
  --bs-dropdown-item-padding-x: 2.5rem;
}
.navbar-nav .nav-link,
.dropdown-item {
  font-weight: var(--font-weight-bold);
  border: 1px solid transparent;
  border-radius: var(--radius);
  background-color: transparent;
  transition: background-color 0.2s ease;
}
.nav-link.dropdown-toggle:focus,
.nav-link.dropdown-toggle:active {
  outline: none;
  box-shadow: none;
}
@media (max-width: 991.98px) {
  .dropdown-item {
    padding-left: calc(2.5rem + 1rem); /* base left padding + 1rem indent */
  }
}
@media (max-width: 991.98px) {
  /* Allow the collapsed menu to scroll within the sticky header */
  .navbar-collapse {
    max-height: 75vh;       /* tweak if needed */
    overflow-y: auto;
  }

  /* Keep dropdowns in normal flow so they extend the collapse height */
  .navbar .dropdown-menu {
    position: static;       /* instead of absolute */
    float: none;
  }
}
/* Page Width Utilities */
.page-width,
.page-width--narrow {
    width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-left: auto;
    margin-right: auto;
}
.page-width {
    max-width: var(--page-width);
}
.page-width--narrow {
    max-width: var(--page-width--narrow-sm);
}
@media (min-width: 992px) {
    .page-width--narrow {
        max-width: var(--page-width--narrow-lg);
    }
}

/* Testimonials */
/* If width is 32. Openquote top is 24. Bottom margin is 8*/
.openquote {
    width: 64px;
    height: 64px;
    display: flex;
    align-items:center;
    justify-content: flex-start;
    position: absolute;
    top: 0px;
    left: 0;
	color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    font-size: 4.5rem;
}
.closequote {
    width: 64px;
    height: 64px;
    display: flex;
	align-items:center;
    justify-content: flex-end;
    position: absolute;
    bottom: -32px;
    right: 0;
	color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    font-size: 4.5rem;
}
.testimonial-margin {
	margin-left: 3rem!important;
	margin-right: 3rem!important;
}

/* Text Utility */
.lead,
.display-2,
.display-4 {
	font-weight: var(--font-weight-bold); 
}