* === HTML SETTINGS === */
html {
	font-size: 16px;
    letter-spacing: 0.5px;
    text-rendering: optimizeLegibility;
}
/* mobile devices */
@media only screen and (max-width: 767.98px) {
	html {
		font-size: 16px;
	}
}
/* Tablet  */
@media (min-width: 768px) and (max-width: 1199.98px) {
	html {
		font-size: 16px;
	}
}
html, body { 
	height:100%; 
} 
hr {
	color: var(--body-borders);
	background-color: var(--body-borders);
	border:none;
	height: 1px;
}
body {
	color: var(--body-color);
	position: relative;
	font-weight:400;
  font-optical-sizing: auto;
	line-height: 1.7;
	font-family: var(--font-body);
}
body.has-banner {
    background-color: var(--body-bg);

    background-image: linear-gradient(
        to bottom,
        var(--header-fg) 0,
        var(--header-fg) 34rem,
        var(--body-bg) 44rem
    );

    background-repeat: no-repeat;
    background-size: 100% 44rem;
}

body.no-banner {
    background-color: var(--body-bg);
    background-image: none;
}
a {
	color: var(--brand-color1);
}
a:hover {
	color: var(--headings-color);
}
a,
a:hover,
.fancybox-caption:hover {
	text-decoration:none;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	color: var(--headings-color);
}
.heading-highlight {
  color: var(--brand-color1);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .counter-number, .testimonial-content {
	font-family: var(--font-headings);
  font-optical-sizing: auto;
	font-weight:500;
}
.navbar .nav-item, .dropdown-menu, .dropdown-menu {
	font-weight:500;
}
h1 + div {
  padding-top: 0.5em;
}
h2 + div {
  padding-top: 0em;
}
h2 + ul {
  padding-top: 1em;
}
h3 + ul {
  padding-top: 0.75em;
}
h3 + div {
  padding-top: 0.75em;
}
h1 + p, ul + h2, p + h2, ul + h3, p + h3, ul + h4, p + h4, ul + h5, p + h5 {
  padding-top: 1em;
}
mark {
	font-weight:700;
	background-color: yellow;
	color: black;
}
img{ 
	border: 0pt; 
}
.img-shadow, .img-shadow img {
    border-radius: 3px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.2) !important;
}
section {
	width: 100%;
	display:block;
}

/* === BOOTSTRAP OVERRIDES === */
.btn,
button,
a.btn {
  -webkit-tap-highlight-color: transparent;
}
.btn,
button,
[role="button"] {
    touch-action: manipulation;
}
.btn {
    display: inline-flex;              /* key for icon alignment */
    align-items: center;               /* vertical centering */
    min-width: 220px;
    gap: 1rem;                       /* space between text + icon */
    width: auto;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 0.5rem 0.5rem 1.75rem;
    border-radius: 999px;              /* pill shape */
    transition: all .5s;
}
.btn::after {
    content: "\f061";
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 2rem;
    height: 2rem;
    flex-shrink: 0;

    margin-left: auto;

    font-family: var(--font-icons); /* or "Font Awesome 7 Pro" */
    font-weight: 400;
    font-size: 0.75rem;

    color: var(--brand-color1);
    background-color: var(--brand-color2);
    border-radius: 50%;

    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease;
}
.btn:hover::after {
    transform: translateX(3px);
}
/* ==========================================
   Mirrored previous button
========================================== */

.btn-prev {
    justify-content: flex-end;

    padding: 0.5rem 1.75rem 0.5rem 0.5rem;

    text-align: right;
}

.btn-prev::after {
    display: none;
}

.btn-prev::before {
    content: "\f060";

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 2rem;
    height: 2rem;
    flex-shrink: 0;

    margin-right: auto;

    font-family: var(--font-icons);
    font-weight: 400;
    font-size: 0.75rem;

    color: var(--brand-color1);
    background-color: var(--brand-color2);

    border-radius: 50%;

    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease;
}

.btn-prev:hover::before {
    transform: translateX(-3px);
}
.btn-prev {
    text-align: right;
}

.btn:not(.btn-prev) {
    text-align: left;
}
.btn-primary {
	color: var(--brand-color2);
	background-color: var(--brand-color1);
	border: 2px solid var(--brand-color1);
}
.dark-btn .btn-primary {
  color: var(--brand-color2);
  background-color: var(--white);
  border: 2px solid var(--white);
}
/* Hover + keyboard focus */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active {
	color: var(--brand-color1);
	background-color: var(--brand-color2);
	border: 2px solid var(--brand-color2);
}
.dark-btn .btn-primary:hover,
.dark-btn .btn-primary:focus,
.dark-btn .btn-primary:focus-visible, 
.dark-btn .btn-primary:active {
  color: var(--white);
	background-color: var(--brand-color2) !important;	
  border: 2px solid var(--brand-color2) !important;  
}
.dark-btn2 .btn-primary:hover,
.dark-btn2 .btn-primary:focus,
.dark-btn2 .btn-primary:focus-visible, 
.dark-btn2 .btn-primary:active {
  color: var(--brand-color1);
  background-color: var(--brand-color2) !important; 
  border: 2px solid var(--brand-color1) !important;  
}
.btn-outline-primary {
	color: var(--headings-color);
	background-color: transparent;
	border: 2px var(--brand-color2) solid;	
}
.btn-outline-primary:hover, 
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible, 
.btn-outline-primary:active {
	color: var(--brand-color2);
	background-color: var(--brand-color1);
	border: 2px var(--brand-color1) solid;	
}
.dark-btn .btn-outline-primary {
	color: var(--white);
  border: 2px solid var(--white) !important;  
}
.btn-primary:disabled {
	border: 1px solid #b6b6b6;
	background-color: #eaeaea;
	color: #999;
}
.btn-info:hover, 
.btn-info:focus,
.btn-info:focus-visible, 
.btn-info:active {
	color: var(--white);
}
/* --------------------------------------------------
   Icon-only circular arrow button
--------------------------------------------------- */

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 2.25rem;
    height: 2.25rem;

    border-radius: 50%;
    text-decoration: none;

    background-color: var(--brand-color1);
    color: var(--brand-color2);

    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease;
}

.btn-icon::before {
    content: "\f061";
    font-family: var(--font-icons);
    font-weight: 600;
    font-size: 1rem;
}

.btn-icon:hover {
    transform: translateX(3px);
}
.icon-circle {
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:2.25rem;
    height:2.25rem;

    border-radius:50%;

    background:var(--brand-color1);
    color:var(--brand-color2);

    transition:.3s;
}
.icon-circle:hover {
    transform: translateX(3px);
}

.icon-circle::before{
    font-family:var(--font-icons);
    font-weight:400;
}
.icon-arrow::before{ content:"\f061"; }
.icon-phone::before { content:"\f095"; }
.icon-email::before { content:"\f0e0"; }
.icon-download::before { content:"\f019"; }
.icon-search::before { content:"\f002"; }
.icon-home::before { content:"\f015"; }

.widget-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:6rem;
    height:6rem;
    border-radius:50%;
    background:var(--brand-color2);
    color:var(--brand-color1);
    transition:.3s;
}
.widget-icon::before{
    font-family:var(--font-icons);
    font-weight:700;
    font-size: 2.25rem;
}
.widget-team::before{ content:"\f0c0"; }
.widget-gallery::before { content:"\f302"; }
.widget-news::before { content:"\f1ea"; }
.widget-featured::before { content:"\f005"; }

.accordion .accordion-item {
  border: none;
}
.accordion .accordion-header {
  position: relative;
  padding: .25rem 1rem;
  background-color: rgba(var(--brand-color2-rgb), .03);
}
.accordion .accordion-button {
  text-transform: uppercase;
  font-size: 1.125rem;
  font-weight: 700;
  background: transparent;
  box-shadow: none;
  border: 0;
}
.accordion .accordion-header .accordion-button {
	color: var(--headings-color);
}
.page-item.active .page-link {
	color: var(--brand-color2);
	background-color: var(--brand-color1);
	border: 1px var(--brand-color1) solid;
}
.page-item .page-link {
	color: var(--headings-color);
}

/* === PRINT SETTINGS === */
.noprint {	
}
.print { display: none !important; visibility: hidden !important; }

/* === IMAGE ALIGNMENT === */
:is(.pictureright, .pictureRight, .pictureleft, .pictureLeft) {
    display: block;
    float: none;
    margin: 1rem auto;
}
:is(.pictureright, .pictureRight, .pictureleft, .pictureLeft) img,
.imgmax img {
    display: block;
    max-width: 100%;
    height: auto;
}
@media (min-width: 576px) {
    :is(.pictureright, .pictureRight) {
        float: right;
        display: inline;
        margin: 0 0 0 1rem;
        max-width: 50%;
    }

    :is(.pictureleft, .pictureLeft) {
        float: left;
        display: inline;
        margin: 0 1rem 0 0;
        max-width: 50%;
    }
}

/* === DESKTOP / TABLET / MOBILE OPTIONS === */
.mobile-menu-only {
    display: block;
}
#srchouter {
    display: none;
}
.widget-area .row,
#maincontent .row,
#quicklink1 .row,
#counters .row,
#gallerybar .row,
#cta1 .row,
.container-fluid .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}
/* Tablet portrait and above */
@media (min-width: 768px) {
    #srchouter {
        display: block;
    }
    .mobile-menu-only {
        display: none;
    }
}
/* Desktop and above */
@media (min-width: 1200px) {
    .widget-area .row,
    #maincontent .row,
    #quicklink1 .row,
    #counters .row,
    #gallerybar .row,
    #cta1 .row {
        margin-right: calc(-0.5 * var(--bs-gutter-x));
        margin-left: calc(-0.5 * var(--bs-gutter-x));
    }
}

/* === TABLE SETTINGS === */
table .w-10 { width:10%; }
table .w-15 { width:15%; }
table .w-20 { width:20%; }
table .w-30 { width:30%; }
table .w-40 { width:40%; }
table .w-50 { width:50%; }
table .w-60 { width:60%; }
table .w-70 { width:70%; }
table .w-80 { width:80%; }
table .w-90 { width:90%; }

/* responsive table */
@media only screen and (max-width: 767px) {
	.responsive table,
	.responsive thead,
	.responsive tbody,
	.responsive th,
	.responsive td,
	.responsive tr { 
		display: block; 
	}	
	/* Hide table headers (but not display: none;, for accessibility) */
	.responsive thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}	
	.responsive tr { 
		border: none;
	}	
	.responsive td { 
		/* Behave  like a "row" */
		border: none;
		position: relative;
		padding-left: 0%; 
	}
	.responsive tr {
		border-bottom-width: 1px;
		border-bottom-style: dotted;
		border-bottom-color: #eaeaea;
	}
	.responsive td {
		background-color:#fff;
	}	
	.responsive td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}		
}

/* === ACCESSIBILITY === */
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* === MENUS === */

/* ==================================================
   Primary navigation
================================================== */

.primary-navigation {
  display: flex;
  align-items: center;
}

.primary-navigation__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation__list li {
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.primary-navigation__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 999px;
  color: var(--brand-color2);
  background-color: var(--header-fg);
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.primary-navigation__list a:hover,
.primary-navigation__list a:focus,
.primary-navigation__list a:focus-visible {
  color: var(--brand-color2);
  background-color: var(--white);
  border-color: transparent;
}

/* ===== MAIN MENU ===== */

.navsection,
.navbar,
.navbar-collapse {
  position: relative;
  z-index: 3000;
}

.navsection {
  width: 100%;
}

.navbar {
  position: relative;
  width: 100%;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
}

.navbar-collapse {
  justify-content: center;
  width: 100%;
}

.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.dropdown-menu {
  border: 0;
  border-radius: 0;
  padding: 0;
  min-width: 16.666rem;
  z-index: 3100;
}

/* Parent links spacing */
.navbar-nav .nav-link {
  margin: 0 1rem;
  padding: 0.9rem 1.25rem;
}

/* Dropdown parent link */
.navbar-nav .nav-link.has-dropdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

/* Circular dropdown indicator */
.navbar-nav .nav-link.has-dropdown::after {
  content: '\f078';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: 50%;
  margin: 0;
  background-color: var(--white);
  color: var(--brand-color2);
  font-family: var(--font-icons);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

/* Dropdown items */
.dropdown-menu .dropdown-item {
  display: block;
  padding: 0.65rem 1.25rem;
  white-space: normal;
  font-size: 0.875rem;
}

/* ===== Submenu support ===== */
.dropdown-submenu {
  position: relative;
}

/* ===== Desktop ===== */
@media (min-width: 992px) {

  .navbar .dropdown {
    position: relative;
  }

  .navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 3100;
  }

  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .navbar .dropdown:hover > .nav-link.has-dropdown::after,
  .navbar .dropdown:focus-within > .nav-link.has-dropdown::after {
    content: '\f077';
  }

  .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
  }

  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }

  .dropdown-submenu > a::after {
    font-family: var(--font-icons);
    content: '\f054';
    float: right;
    font-size: 0.875rem;
    margin-top: 0.1rem;
  }
}

/* ===== Mobile / tablet ===== */
@media (max-width: 991.98px) {

  .navsection {
    position: relative;
    width: 100%;
  }

  .navbar {
    position: static;
    width: 100%;
  }

  .navbar-toggler {
    position: relative;
    z-index: 3201;
    margin-right: auto;
    margin-left: auto;
  }

  .navbar .navbar-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    z-index: 3200;
    background: var(--brand-color2);
    padding: 0.5rem 0;
    border-top: 1px solid rgba(var(--brand-color2-rgb), 0.08);

    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .navbar .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .navbar-nav li {
    width: 100%;
    text-align: center;
  }

  .navbar-nav li:not(:last-child) .nav-link {
    border-bottom: 1px solid rgba(var(--white-rgb), 0.06);
  }

  .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0.9rem 1rem;
    text-align: center;
  }

  .navbar-nav .nav-link.has-dropdown {
    gap: 0.65rem;
  }

  .navbar .dropdown-menu {
    position: static;
    float: none;
    display: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    border-top: none;
    background-color: transparent;
    box-shadow: none;
    text-align: center;
  }

  .navbar .dropdown-menu.show {
    display: block;
  }

  .dropdown.show > .nav-link.has-dropdown::after,
  .nav-link.has-dropdown[aria-expanded="true"]::after {
    content: '\f077';
  }

  .dropdown-submenu > .dropdown-menu {
    position: static;
    width: 100%;
    margin: 0;
  }

  .dropdown-menu .dropdown-item {
    padding: 0.65rem 1rem;
    text-align: center;
  }

  .navbar-collapse .mobile-menu-only {
    display: list-item;
  }
}

/* ===== Colours ===== */
.navbar-dark .navbar-nav .nav-link {
  color: var(--brand-color2);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--brand-color2);
}

/* Dropdown background */
.navbar .dropdown-menu {
  border-top: none;
  background-color: rgba(var(--brand-color2-rgb), 1);
}

/* Dropdown link default colour */
.navbar-dark .dropdown-menu a,
.navbar-dark .dropdown-menu .dropdown-item {
  color: var(--white);
}

/* Dropdown item hover */
.navbar-dark .dropdown-menu a:hover,
.navbar-dark .dropdown-menu .dropdown-item:hover,
.navbar-dark .dropdown-menu a:focus,
.navbar-dark .dropdown-menu .active > a,
.navbar-dark .dropdown-menu .active > .dropdown-item {
  background-color: var(--brand-color1);
  color: var(--brand-color2);
}

/* Mobile hamburger */
.navbar-dark .navbar-toggler {
  color: var(--white);
  border-color: transparent;
}

.navbar-dark .navbar-toggler {
  border-color: rgba(var(--white-rgb), 0);
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Transparent navbar background */
.bg-dark {
  background-color: transparent !important;
}
/* ===== Mobile / tablet ===== */
@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    color: var(--white);
  }

  .navbar-dark .navbar-nav .nav-link:hover,
  .navbar-dark .navbar-nav .nav-link:focus,
  .navbar-dark .navbar-nav .nav-link.active {
    color: var(--brand-color1);
  }
}

/* === FOOTER MENU === */
ul.menufooter {
	padding: 0 !important;
	margin: 0 !important;
	list-style: none;
}
.menufooter li {
	padding: 0 0 0.75rem 0;
	position:relative;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.menufooter li a {
	color: var(--body-color);
}
.menufooter li a:hover {
  color: var(--brand-color2);
}
.menufooter li a, .menufooter li a:hover {
	text-decoration:none;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

/* === SITE MAP MENU === */
ul.treeMenu {
	margin-left: 0;
	padding-left: 0;
}
ul.treeMenu > li > ul > li,
ul.treeMenu > li > ul > li > ul > li {
	border-left: 1px dotted var(--body-borders);
}
ul.treeMenu li {
	color: var(--body-color);	
	padding: 0.666rem 0 0 1rem;
	margin-left: 0px;
	list-style-type: none;
	background-image: none !important;
}
ul.treeMenu li::before {
	display: none;
}
ul.treeMenu li i {	
	padding-right: 0.5rem;
}
ul.treeMenu li ul {
	margin-top: .25rem;
	margin-bottom: 0.666rem;
	margin-left: 0.666rem;
	padding-left: 0.666rem;
}
ul.treeMenu li a, 
ul.treeMenu li a:hover {
	color: var(--body-color);
	font-weight: normal;
	text-decoration:none;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}


/* === SOCIAL NETWORKING ICONS === */
ul.social-media-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 0.5rem 0.5rem;
  list-style: none;
}
ul.social-media-list li {
  margin: 0;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--brand-color2);
  color: var(--brand-color1) !important;
  border-radius: 50%;
  text-decoration: none;
  transition: 
    transform .25s ease,
    background .3s ease,
    border-radius .3s ease;
}
.social-link i {
  color: var(--brand-color1) !important;
  font-size: 1rem;
  line-height: 1;
}
.social-link i:hover,
.social-link:hover,
.social-link:hover i,
.social-link:focus {
  color: #fff !important;
}
.social-link:hover {
  background: var(--social-hover, #333);
  border-radius: 50%;
  transform: scale(1.08);
}

/* === SHARING SOCIAL ICONS === */
ul.sharing-socials{
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: .4rem;
  flex-wrap: wrap;
}

ul.sharing-socials li{
  list-style: none;
  margin: 0;
  padding: 0;
}
/* links + button share the same base styles */
.sharing-socials a,
.sharing-socials button{
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-block;
}

/* icon bubble */
.sharing-socials a::before,
.sharing-socials button::before{
  display: block;
  text-align: center;
  font-size: 1rem;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  border-radius: 50%;
  transition: all .5s;
  background: #D3D3D3;
  color: #fff;
}
/* brand icons */
.sharing-socials a[href*="facebook.com"]::before{
  font-family: var(--font-icon-brands);
  content: "\f39e";
}
.sharing-socials a[href*="facebook.com"]:hover::before{
  background: #3b5998;
}
.sharing-socials a[href*="pinterest.com"]::before{
  font-family: var(--font-icon-brands);
  content: "\f231";
}
.sharing-socials a[href*="pinterest.com"]:hover::before{
  background: #bd081c;
}
.sharing-socials a[href*="twitter.com"]::before,
.sharing-socials a[href*="x.com"]::before{
  font-family: var(--font-icon-brands);
  content: "\e61b"; /* ensure this matches your FA version */
}
.sharing-socials a[href*="twitter.com"]:hover::before,
.sharing-socials a[href*="x.com"]:hover::before{
  background: #000;
}
/* email + print */
.sharing-socials a.emailsocial::before{
  font-family: var(--font-icons);
  content: "\f0e0";
  font-weight: 700;
}
.sharing-socials a.emailsocial:hover::before{
  background: var(--brand-color1);
}
.sharing-socials button.printsocial::before{
  font-family: var(--font-icons);
  content: "\f02f";
  font-weight: 700;
}
.sharing-socials button.printsocial:hover::before{
  background: var(--brand-color1);
}
.sharing-socials a:hover::before,
.sharing-socials button:hover::before{
  border-radius: 0;
}

/* === FORM VALIDATION === */
.was-validated .radio-group:has(.form-check-input:invalid) .invalid-feedback {
  display: block;
}
.was-validated .radio-group:has(.form-check-input:valid) .invalid-feedback {
  display: none;
}

/* === RESPONSIVE EMBEDDED VIDEO === */
.embed-container, .video-responsive { 
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}
.embed-container iframe, .embed-container object, .embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.video-responsive iframe, .video-responsive object, .video-responsive embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* === HEADER === */
.site-header {
  position: relative;
  background: var(--header-fg);
  isolation: isolate;
  z-index: 50;
}
.site-header-no-banner {
    -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
}
.site-title { 
	color: var(--headings-color);
}
.site-title a:hover {
	color: var(--headings-color);
}
.site-description { font-size: .875rem; }

.site-description {
	color: var(--muted-color);
}
.site-contact,
.site-contact a {
  color: var(--brand-color2);
}
.site-contact i {
  color: var(--brand-color1);
  font-size: 1rem;
}

.logo img {
  max-height: var(--logo-height);
  width: auto;
}

/* ==================================================
   Header action area
================================================== */

.header-main-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  width: 100%;
}

.header-primary-menu {
  display: flex;
  align-items: center;
  min-width: 0;
}

.header-cta {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.header-cta .btn {
    min-width: 1px;
    padding: 0.5rem 1.75rem 0.5rem 1.75rem;
    font-size: 0.875rem;
}

.header-cta .btn::after {
    display: none;
}
.site-contact {
  margin-top: 1rem;
}

/* ==================================================
   Header search
================================================== */

.header-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 0.25rem;
}

.header-search-toggle,
.header-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--brand-color1);
  background-color: var(--brand-color2);
  line-height: 1;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.header-search-toggle:hover,
.header-search-toggle:focus,
.header-search-toggle:focus-visible,
.header-search-submit:hover,
.header-search-submit:focus,
.header-search-submit:focus-visible {
  color: var(--brand-color2);
  background-color: var(--brand-color1);
}

.header-search-toggle i,
.header-search-submit i {
  font-size: 1rem;
  line-height: 1;
}

.header-search-form {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
}

.header-search-form.is-visible {
  display: flex;
}

.header-search-form .form-control {
  width: 220px;
  max-width: 100%;
  min-height: 2.75rem;
  border-radius: 999px;
  padding-right: 1rem;
  padding-left: 1rem;
}

/* Desktop header */
@media (min-width: 992px) {

  .header-main-actions {
    flex-wrap: nowrap;
  }

  .header-primary-menu {
    flex: 0 1 auto;
  }

  .header-cta,
  .header-search {
    flex: 0 0 auto;
  }

  .primary-navigation__list {
    flex-wrap: nowrap;
  }
}


/* ==================================================
   Tablet portrait / mobile landscape header
   768px to 991.98px
================================================== */

@media (min-width: 768px) and (max-width: 991.98px) {

  .header-main-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;

    gap: 0.75rem;
    margin-top: 0;
    margin-bottom: 0 !important;
  }

  /*
   * The primary menu is hidden below lg by its
   * Bootstrap d-none d-lg-flex classes.
   */
  .header-primary-menu {
    display: none;
  }

  .header-cta,
  .header-search {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  /*
   * Return search to its desktop-style behaviour:
   * icon visible, form hidden until toggled.
   */
  .header-search-toggle {
    display: inline-flex;
  }

  .header-search-form {
    display: none;
    width: auto;
    max-width: none;
    margin: 0;
  }

  .header-search-form.is-visible {
    display: flex;
  }

  .header-search-form .form-control {
    width: clamp(150px, 20vw, 210px);
  }
}

/* ==================================================
   Mobile header
   Below 768px
================================================== */

@media (max-width: 767.98px) {

  .header-main-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;

    gap: 1rem;
    margin-top: 1rem;
  }

  .header-primary-menu,
  .header-cta,
  .header-search {
    width: 100%;
    justify-content: center;
  }

  .primary-navigation {
    width: 100%;
  }

  .primary-navigation__list {
    width: 100%;
    justify-content: center;
  }

  /*
   * On narrow portrait mobile, retain the permanently
   * expanded search field and hide the toggle icon.
   */
  .header-search-toggle {
    display: none;
  }

  .header-search-form,
  .header-search-form.is-visible {
    display: flex;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .header-search-form .form-control {
    width: 100%;
  }
}

@media (min-width: 768px) {

  .header-cta .btn {
    white-space: nowrap;
  }
}


/* === FOOTER === */
#footer {
	background-color: var(--header-fg);
	position: relative;
}
#footer h3 {
    margin: 0 0 1.5625rem;
}
#footer p {
}
#footer i {
	color: var(--brand-color1);
}
#footer .icon-circle {
    width:2rem;
    height:2rem;
    background:var(--brand-color2);
    color:var(--brand-color1);
}
#footer .icon-circle::before{
    font-weight:700;
    font-size: 1rem;
}
.footercontent img  { 
  max-width: 100%;
  height: auto;
}
.site-footer {
}
.site-copyright {
	font-size: 0.8125rem;
}
.site-copyright,
.site-copyright a {
	color: var(--footer-headings-color);
}
.footercol1 img  { 
	max-width: 100%;
	height: auto;
}


/* === GO TO TOP === */
.go-top {
	position: fixed !important;
	right: 20px;
	bottom: -45px;
	width: 40px;
	height: 40px;
	display: flex;               
	align-items: center; 
	justify-content: center;
	color: var(--brand-color2);
	font-size: 22px;
	text-align: center;
	visibility: hidden;
	opacity: 0;
	z-index: 9999;
	cursor: pointer;
	background-color: var(--brand-color1);
	border-radius: 3px;
	transition: opacity 0.3s ease, bottom 0.3s ease;
}
.go-top:hover {
	color: var(--white);
	background-color: var(--brand-color2);
}
.go-top.show {
	opacity: 1;
	visibility: visible;
	bottom: 11px;
}

/* ==================================================
   Banner system
   Image / carousel / MP4 / YouTube / Vimeo
================================================== */

.bannersection {
  position: relative;
  padding-top: 0rem;
  z-index: 1;
}

.banner-media {
  position: relative;
  width: 100%;
  min-height: 32rem;
  aspect-ratio: 10 / 6;
  overflow: hidden;
  border-radius: 30px;
  background-color: var(--brand-color2);
  isolation: isolate;
}

/* Overlay */
.banner-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--hero-overlay, none);
}

/* Media elements */
.banner-media picture,
.banner-media img,
.banner-media video,
.banner-media iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-media picture {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.banner-media img,
.banner-video-el {
  object-fit: cover;
  object-position: center;
}

/* ==================================================
   Caption positioning
================================================== */

.banner-caption {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 50%;
  max-width: 50%;
  padding: clamp(1.5rem, 4vw, 4.5rem);
  transform: translateY(-50%);
  pointer-events: none;
}

.banner-caption--start {
  left: 0;
}

.banner-caption--center {
  left: 50%;
  transform: translate(-50%, -50%);
}

.banner-caption--end {
  right: 0;
}

.banner-copy {
  width: 100%;
  color: var(--white);
  pointer-events: auto;
}

.banner-copy.text-start {
  text-align: left;
}

.banner-copy.text-center {
  text-align: center;
}

.banner-copy.text-end {
  text-align: right;
}

.banner-copy h2 {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.banner-copy .banner-text {
  margin: 0 0 1.5rem;
  color: var(--white);
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.55;
}

.banner-highlight {
  color: var(--brand-color1);
}

/* ==================================================
   Banner buttons
================================================== */

.banner-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.banner-copy.text-center .banner-actions {
  justify-content: center;
}

.banner-copy.text-end .banner-actions {
  justify-content: flex-end;
}

.banner-actions .btn {
  margin: 0 !important;
}

/* ==================================================
   MP4 and embedded video
================================================== */

.banner-video-el {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.banner-media--embed iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 177.78%;
  height: 100%;
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (max-width: 767.98px) {

    .banner-media--embed iframe {
        top: 50%;
        left: 50%;

        width: auto;
        min-width: 100%;
        height: 100%;
        min-height: 100%;

        aspect-ratio: 16 / 9;

        transform: translate(-50%, -50%);
    }
}

/* ==================================================
   Carousel
================================================== */

#carouselslider {
  position: relative;
  width: 100%;
  background-color: transparent;
}

#carouselslider .carousel-inner {
  overflow: hidden;
  border-radius: 30px;
}

#carouselslider .carousel-item {
  position: relative;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Controls outside the media */
#carouselslider .carousel-control-prev,
#carouselslider .carousel-control-next {
  position: static;
  width: auto;
  height: auto;
  opacity: 1;
  background: none;
  transform: none;
}

#carouselslider .carousel-control-prev-icon,
#carouselslider .carousel-control-next-icon {
  display: none;
}

.carousel-bottom-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-bottom-controls .carousel-control-prev,
.carousel-bottom-controls .carousel-control-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--brand-color2);
  background-color: var(--white);
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.carousel-bottom-controls .carousel-control-prev:hover,
.carousel-bottom-controls .carousel-control-next:hover,
.carousel-bottom-controls .carousel-control-prev:focus,
.carousel-bottom-controls .carousel-control-next:focus {
  color: var(--white);
  background-color: var(--brand-color1);
  transform: translateY(-2px);
}

.carousel-bottom-controls .carousel-control-prev::before,
.carousel-bottom-controls .carousel-control-next::before {
  font-family: var(--font-icons);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}

.carousel-bottom-controls .carousel-control-prev::before {
  content: "\f053";
}

.carousel-bottom-controls .carousel-control-next::before {
  content: "\f054";
}

.carousel-bottom-controls .carousel-indicators {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
}

.carousel-bottom-controls .carousel-indicators [data-bs-target] {
  width: 0.625rem;
  height: 0.625rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(var(--brand-color2-rgb), 0.3);
  opacity: 1;
}

.carousel-bottom-controls .carousel-indicators .active {
  background-color: var(--brand-color1);
}

/* Carousel images must cover the complete banner-media area */
#carouselslider .banner-media > img {
    position: absolute;
    inset: 0;
    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

/* ==================================================
   Responsive banner
================================================== */

@media (max-width: 991.98px) {
  .bannersection {
    padding-top: 1.5rem;
  }

  .banner-media {
    min-height: 30rem;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 767.98px) {
  .banner-media {
    min-height: 32rem;
    aspect-ratio: auto;
    border-radius: 20px;
  }

  #carouselslider .carousel-inner {
    border-radius: 20px;
  }

  .banner-caption,
  .banner-caption--start,
  .banner-caption--center,
  .banner-caption--end {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    padding: 2rem 1.25rem;
    transform: none;
  }

  .banner-copy.text-start {
      text-align: left;
  }

  .banner-copy.text-center {
      text-align: center;
  }

  .banner-copy.text-end {
      text-align: right;
  }

  .banner-copy.text-start .banner-actions {
      justify-content: flex-start;
  }

  .banner-copy.text-center .banner-actions {
      justify-content: center;
  }

  .banner-copy.text-end .banner-actions {
      justify-content: flex-end;
  }



  .banner-copy h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .banner-copy .banner-text {
    font-size: 1rem;
  }
}
@media (max-width: 479.98px) {
    .banner-actions .btn {
        width: 100%;
    }
}

@media (min-width: 1200px) {
  .bannersection {
    padding-top: 0rem;
    padding-bottom: 2rem;
  }

  .banner-media {
    min-height: 36rem;
  }
}



/* === FLEX CONTAINER === */
.flexcontainer {
	position: relative;
	z-index:1;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	margin:0;
	padding:0;
	font-size: 1rem;
}
.flexcontainer p {
    line-height: 1.7;	
}
#mainflex {
  position: relative;
  z-index:1;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.fcscrolled {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.flexcontainer ul { 
   list-style-type: disc; 
   list-style-position: outside;
}
.flexcontainer ol { 
   list-style-type: decimal; 
   list-style-position: outside; 
}
.flexcontainer ul ul, .flexcontainer ol ul { 
   list-style-type: circle; 
   list-style-position: inside; 
}
.flexcontainer ol ol, .flexcontainer ul ol { 
   list-style-type: lower-latin; 
   list-style-position: outside; 
}
.flexcontainer blockquote {
    background-color: var(--body-borders);
    border-left: 2px solid var(--blockquote-border-color);
    padding: 1.5625rem;
    margin: 2.666rem 0;
    transition: all .3s ease-in-out;
}
.flexcontainer blockquote:hover {
    border-color: var(--brand-color1);
}
.flexcontainer ul.pagination {
    list-style: none;
}

/* === MAIN CONTENT === */
#maincontent {
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
}
#maincontent ul li::marker {
  color: var(--brand-color1);
}
#maincontent li {
  color: var(--brand-color2);
}
#maincontent img {
    border-radius: 30px;
}
#maincontent img  { 
  max-width: 100%;
  height: auto;
}
/* === WIDGETS START === */
.widget-area {
	line-height: 1.5;
}
.widget-area h2 {
	position: relative;
}
.widget-area h2 a {
	color: var(--headings-color);
}

/* === CALL TO ACTION 1 === */
#cta1 .row {
  border-bottom: 2px solid var(--body-borders);
}

/* === CALL TO ACTION 2 === */
#cta2 {
	color: var(--brand-color2);
	background-color: var(--white);
}
#cta2 h2 {
	color: var(--brand-color2);
	font-size:2.5rem;
	margin-bottom: 3.5rem;
	line-height: 1;
	position: relative;
}
/* Desktop */
@media (min-width: 1200px) {
	#cta2 h2 {
		font-size:3rem;
		margin-bottom: 4.5rem;

	}
}
/* ==================================================
   CALL TO ACTION 3
================================================== */

#cta3 {
    position: relative;
    clear: both;

    color: var(--white);
    font-size: 1.125rem;
}


/* --------------------------------------------------
   Image panel
-------------------------------------------------- */

.cta3-media {
    position: relative;
    isolation: isolate;

    min-height: 560px;

    overflow: hidden;
    border-radius: 30px;

    background-color: var(--brand-color2);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/* --------------------------------------------------
   Image overlay
-------------------------------------------------- */

.cta3-media::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    /*
     * Mobile default:
     * dark overlay across the entire image.
     */
    background-color: rgba(var(--black-rgb), 0.58);

    pointer-events: none;
}


/* --------------------------------------------------
   Row and content positioning
-------------------------------------------------- */

.cta3-media > .row {
    position: relative;
    z-index: 1;

    min-height: inherit;
}

.cta3-content-col {
    display: flex;
    align-items: center;
}

.cta3-content {
    width: 100%;
}


/* --------------------------------------------------
   Heading and text
-------------------------------------------------- */

#cta3 h2 {
    margin: 0 0 1.5rem;

    color: var(--white);

    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
}

.cta3-text {
    max-width: 42rem;

    color: var(--white);
    line-height: 1.7;
}


/* --------------------------------------------------
   Tablet and desktop
-------------------------------------------------- */

@media (min-width: 768px) {

    .cta3-media {
        min-height: 600px;
    }
}


/* --------------------------------------------------
   Desktop overlay
-------------------------------------------------- */

@media (min-width: 992px) {

    .cta3-media::before {
        background:
            linear-gradient(
                to right,
                rgba(var(--black-rgb), 0.78) 0%,
                rgba(var(--black-rgb), 0.68) 28%,
                rgba(var(--black-rgb), 0.42) 45%,
                rgba(var(--black-rgb), 0) 58%
            );
    }

    .cta3-content {
        max-width: 100%;
    }
}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 767.98px) {

    #cta3 {
        font-size: 1rem;
    }

    .cta3-media {
        min-height: 500px;
    }

    #cta3 h2 {
        margin-bottom: 1.25rem;
    }
}

/* ==================================================
   QUICKLINKS TYPE 1
================================================== */

#quicklink1a {
  background-color: var(--header-fg);
  border-radius: 30px;
}

#quicklink1b {
    row-gap: 2rem;
}


/* --------------------------------------------------
   Equal-height Bootstrap columns
-------------------------------------------------- */

.ql-col {
    display: flex;
}


/* --------------------------------------------------
   Whole-card link or non-linked wrapper
-------------------------------------------------- */

.ql1outer {
    display: flex;
    width: 100%;
    height: 100%;

    color: inherit;
    text-decoration: none;

    transition: transform .4s ease;
}


/* --------------------------------------------------
   Main card
-------------------------------------------------- */

.ql1 {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
}


/* --------------------------------------------------
   Text/content panel
-------------------------------------------------- */

.ql1-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex: 1 1 auto;
    flex-direction: column;

    padding: 2rem;

    background-color: var(--header-fg);
    border-radius: 30px;

    color: var(--body-color);

    transition: border-radius .3s ease;
}


/* --------------------------------------------------
   Heading and arrow
-------------------------------------------------- */

.ql1-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;

    margin-bottom: 1rem;
}

.ql1-heading h4 {
    margin: 0;

    color: var(--headings-color);
    font-weight: 500;
}


/* --------------------------------------------------
   Standalone circular arrow
-------------------------------------------------- */

.ql1-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.25rem;

    width: 2.25rem;
    height: 2.25rem;

    background-color: var(--brand-color1);
    color: var(--brand-color2);

    border-radius: 50%;

    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease;
}

.ql1-arrow::before {
    content: "\f061";

    font-family: var(--font-icons);
    font-weight: 600;
    font-size: 1rem;
}


/* --------------------------------------------------
   Multiline text
-------------------------------------------------- */

.ql1-text {
    color: var(--body-color);
    font-size: 0.875rem;
    line-height: 1.6;
}


/* --------------------------------------------------
   Image area
-------------------------------------------------- */

.ql1-image-wrap {
    position: relative;
    z-index: 1;

    flex: 0 0 260px;
    height: 260px;
    min-height: 260px;

    margin-top: -30px;

    overflow: hidden;

    /*
     * Odd cards have the image at the bottom, so only
     * the bottom corners need to be rounded.
     */
    border-radius: 0 0 30px 30px;

    background-color: var(--brand-color1);
}

.ql1-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .6s ease;
}


/* --------------------------------------------------
   Even cards: image above, content below
-------------------------------------------------- */

.ql-col:nth-child(even) .ql1-content {
    background-color: var(--brand-color1);
}

.ql-col:nth-child(even) .ql1-arrow {
    background-color: var(--brand-color2);
    color: var(--brand-color1);
}

@media (min-width: 768px) {

    .ql-col:nth-child(even) .ql1 {
        flex-direction: column-reverse;
    }

    .ql-col:nth-child(even) .ql1-image-wrap {
        margin-top: 0;
        border-radius: 30px 30px 0 0;
    }

    .ql-col:nth-child(even) .ql1-content {
        margin-top: -30px;
        background-color: var(--brand-color1);
    }

    .ql-col:nth-child(even) .ql1-arrow {
        background-color: var(--brand-color2);
        color: var(--brand-color1);
    }
}


/* --------------------------------------------------
   Hover and keyboard focus
-------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    .ql1outer:hover {
        transform: translateY(-7px);
    }

    .ql1outer:hover .ql1-image {
        transform: scale(1.035);
    }

    .ql1outer:hover .ql1-arrow {
        transform: translateX(3px);
    }

    .ql1outer:hover .ql1-content {
        border-radius: 30px 30px 0 0;
    }
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {

    .ql-col:nth-child(even) .ql1outer:hover .ql1-content {
        border-radius: 0 0 30px 30px;
    }
}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 767.98px) {

    .ql1-content {
        padding: 1.5rem;
    }

    .ql1-image-wrap {
        flex-basis: 240px;
        height: 240px;
        min-height: 240px;
    }

    .ql1-arrow {
        flex-basis: 2.75rem;
        width: 2.75rem;
        height: 2.75rem;
    }
}

/* === QUICKLINKS 2 === */
#quicklink2 {
  color: var(--white);
  background-color: var(--brand-color2);
}
#quicklink2, #quicklink2 h2, #quicklink2 h3 {
  color: var(--white);
}
#quicklink2 .ql2icon {
	color: var(--brand-color1);
	font-size: 3rem;
  font-weight: 400;
	display: grid;
	place-items: start;
}
#quicklink2 .ql2inner {
  color: var(--white);
  background-color: rgba(var(--white-rgb), .075);
  border-radius: 30px;
}
@media (hover: hover) and (pointer: fine) {
  #quicklink2 .ql2outer {
    transition: transform .3s ease;
  }
  #quicklink2 .ql2outer:hover {
    transform: translateY(-7px);
  }
  /* optional: keep the shadow on the card */
  #quicklink2 .ql2outer:hover .anim-target {
    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .12);
  }
}
/* Icon zoom-in when card becomes visible */
#quicklink2 .anim-zoom-icon {
  transform: scale(.85);
  transition: transform .6s ease;
}
#quicklink2 [data-animate].is-inview .anim-target .anim-zoom-icon {
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  #quicklink2 .anim-zoom-icon {
    transition: none;
    transform: none;
  }
}

/* ==================================================
   COUNTERS
================================================== */

#counters {
    background-color: var(--header-fg);
}

#counters h2 {
    position: relative;
    color: var(--brand-color2);
}


/* --------------------------------------------------
   Bootstrap column and counter wrapper
-------------------------------------------------- */

.counter-col {
    display: flex;
}

.counter-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    height: 100%;

    text-align: center;

    transition: transform .4s ease;
}


/* --------------------------------------------------
   Main white circle
-------------------------------------------------- */

.counter-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /*
     * Responsive circle, but never wider than its
     * Bootstrap column.
     */
    width: min(100%, 230px);
    aspect-ratio: 1;

    padding: 2rem;

    background-color: var(--white);
    border-radius: 50%;
}


/* --------------------------------------------------
   Icon
-------------------------------------------------- */

.counter-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 3rem;
    margin-bottom: 0.75rem;

    color: var(--brand-color1);
}

.counter-icon i {
    display: block;

    color: inherit;
    font-size: clamp(2.25rem, 3vw, 3.25rem);
    line-height: 1;
}


/* --------------------------------------------------
   Number
-------------------------------------------------- */

.counter-number {
    max-width: 100%;

    margin: 0;

    color: var(--brand-color2);

    font-family: var(--font-headings);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.045em;

    white-space: nowrap;

    transition: transform .4s ease;
}


/* --------------------------------------------------
   Title below circle
-------------------------------------------------- */

.counter-title {
    max-width: 230px;

    margin: 1.5rem 0 0;

    color: var(--brand-color2);

    font-family: var(--font-headings);
    font-size: clamp(1.5rem, 1.5vw, 1.75rem);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}


/* --------------------------------------------------
   Hover effects
-------------------------------------------------- */

.counter-circle,
.counter-icon {
    transition:
        transform .4s ease,
        background-color .4s ease,
        color .4s ease;
}

@media (hover: hover) and (pointer: fine) {

    .counter-card:hover {
        transform: translateY(-7px);
    }

    .counter-card:hover .counter-icon {
        transform: translateY(-3px);
    }

    .counter-card:hover .counter-number {
        transform: scale(1.025);
    }
}


/* --------------------------------------------------
   Mobile adjustments
-------------------------------------------------- */

@media (max-width: 575.98px) {

    .counter-circle {
        width: min(100%, 210px);
        padding: 1.75rem;
    }

    .counter-title {
        margin-top: 1.25rem;
    }
}

/* === PRICES BAR === */
/* === PRICEBAR BACKGROUND (matches header) === */
#pricebar {
  position: relative;
  overflow: hidden;
  background: var(--brand-color2);
  isolation: isolate;
}

/* keep content above circles */
#pricebar .container {
  position: relative;
  z-index: 1;
}

#pricebar > .container > h2,
#pricebar > .container > .text-center {
  color: var(--white);
}
#pricebar > .container > h2 {
  font-size:2rem;
  font-weight: 500;
}
/* Desktop */
@media (min-width: 1200px) {
  #pricebar > .container > h2 {
    font-size:2.5rem;

  }
}
#pricebar .row {
  margin-top: 35px;
}

.price-col {
  display: flex;
}

.pricing-wrapper {
  position: relative;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  color: var(--white);
  background-color: rgba(var(--white-rgb), .075);
  overflow: visible; /* important */
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover only on real hover devices */
@media (hover: hover) and (pointer: fine) {
  .pricing-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .15);
  }
}

/* Floating icon */
.pricing-icon-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  z-index: 2;
}

.pricing-icon-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--brand-color2);
  border: 3px solid rgba(var(--white-rgb), .075);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.pricing-icon-circle i {
  color: var(--brand-color1);
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* HEADER */
.pricing-header {
  position: relative;
  padding: 2.5rem 1.5rem 0rem 1.5rem;
  text-align: center;
}

.pricing-title {
  letter-spacing: .0625rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 1rem;
}

/* Body */
.pricing-body {
  flex: 1 1 auto;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.pricing-price-block {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}

.pricing-currency {
  font-size: 0.5em;
  vertical-align: top;
  margin-right: 0.15em;
}

.pricing-subtitle {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-style: normal;
}

/* Body content */
.pricing-content {
}

.pricing-content > *:last-child {
  margin-bottom: 0;
}

/* List styling */
.pricing-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.pricing-content ul li {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(var(--white-rgb), .2);
}

.pricing-content ul li:last-child {
  margin-bottom: 0;
}

.pricing-content ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 7 Pro";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--brand-color1);
  color: var(--brand-color2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* Footer */
.pricing-footer {
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: center;
}
.pricing-footer .btn {
    width: 100%;
}

.pricing-link {
  color: var(--brand-color2);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-link:hover,
.pricing-link:focus {
  color: var(--brand-color2);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 767.98px) {
  .pricing-header {
    padding: 2.25rem 1.25rem 1.25rem;
  }

  .pricing-body {
    padding: 1.5rem 1.25rem;
  }

  .pricing-footer {
    padding: 1rem 1.25rem 1.25rem;
  }
}

/* === NEWS BAR === */

#newsbar > .container > h2 {
  font-size:2rem;
}
/* Desktop */
@media (min-width: 1200px) {
  #newsbar > .container > h2 {
    font-size:2.5rem;

  }
}
#newsbar .news-col {
  display: flex;
}

#newsbar .news-card {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  transition: transform .5s ease;
}

#newsbar .news-card:hover {
  transform: translateY(-7px);
}

#newsbar .news-card .row {
  height: 100%;
}

#newsbar .news-card-img {
  position: relative;
  height: 100%;
  min-height: 260px;
  overflow: hidden;
}

#newsbar .news-card-img img,
#newsbar .news-card-img-fallback {
  display: block;
  width: 100%;
  height: 100%;
}

#newsbar .news-card-img img {
  object-fit: cover;
  object-position: center;
}

#newsbar .news-card-img-fallback {
  background: #cfd4da;
}

/* text panel */
#newsbar .news-card-text {
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--header-fg);
}


#newsbar .news-card-title {
  margin: 0 0 1rem;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
}

#newsbar .news-card-snippet {
  color: var(--body-color);
}
#newsbar .news-card-snippet a {
  color: var(--body-color);
}

#newsbar .news-card-snippet > *:last-child,
#newsbar .news-card-snippet p:last-child {
  margin-bottom: 0;
}

#newsbar .news-card-footer .btn {
  pointer-events: none; /* whole card is clickable */
}

#newsbar h2 a {
  color: var(--headings-color);
  text-decoration: none;
}

#newsbar h2 a:hover,
#newsbar h2 a:focus {
  text-decoration: none;
}

/* mobile */
@media (max-width: 767.98px) {
  #newsbar .news-card-img {
    min-height: 220px;
  }

  #newsbar .news-card-text {
    padding: 1.5rem;
  }

  #newsbar .news-card-title {
    font-size: 1.25rem;
  }
}

/* === GALLERY BAR === */
#gallerybar, #gallerybarimgs {
  background: var(--header-fg);
  position: relative;
}

.galleryicon {
  font-size: 3.5rem;
}

.gallery-coverflow {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-coverflow__track {
  position: relative;
  width: 100%;
  height: 500px;
}

.gallery-coverflow__slide {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  text-decoration: none;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease,
    width 0.6s ease,
    height 0.6s ease,
    box-shadow 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.gallery-coverflow__image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: #d9dde2;
}

.gallery-coverflow__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* active */
.gallery-coverflow__slide.is-active {
  width: 50%;
  height: 100%;
  transform: translate(-50%, -50%);
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
}

.gallery-coverflow__slide.is-active .gallery-coverflow__image {
  border-radius: 30px;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.5);
}

/* previous */
.gallery-coverflow__slide.is-prev {
  width: 32%;
  height: 60%;
  transform: translate(-120%, -50%);
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.gallery-coverflow__slide.is-prev .gallery-coverflow__image {
  border-radius: 15px;
}

/* next */
.gallery-coverflow__slide.is-next {
  width: 32%;
  height: 60%;
  transform: translate(20%, -50%);
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.gallery-coverflow__slide.is-next .gallery-coverflow__image {
  border-radius: 15px;
}

/* controls */
.gallery-coverflow__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  color: var(--brand-color2);
  background: transparent;
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}

.gallery-coverflow__control:hover,
.gallery-coverflow__control:focus {
  background: var(--brand-color1);
  color: var(--brand-color2);
}

.gallery-coverflow__control--prev {
  left: 0;
}

.gallery-coverflow__control--next {
  right: 0;
}

/* tablet/mobile */
@media (max-width: 991.98px) {
  .gallery-coverflow {
    min-height: 420px;
  }

  .gallery-coverflow__track {
    height: 380px;
  }

  .gallery-coverflow__slide.is-active {
    width: 70%;
  }

  .gallery-coverflow__slide.is-prev,
  .gallery-coverflow__slide.is-next {
    width: 22%;
    height: 42%;
  }

  .gallery-coverflow__slide.is-prev {
    transform: translate(-135%, -50%);
  }

  .gallery-coverflow__slide.is-next {
    transform: translate(35%, -50%);
  }
}

@media (max-width: 767.98px) {
  .gallery-coverflow {
    min-height: 320px;
  }

  .gallery-coverflow__track {
    height: 300px;
  }

  .gallery-coverflow__slide.is-active {
    width: 100%;
    height: 100%;
  }

  .gallery-coverflow__slide.is-prev,
  .gallery-coverflow__slide.is-next {
    display: none;
  }

  .gallery-coverflow__control--prev {
    left: 0.5rem;
  }

  .gallery-coverflow__control--next {
    right: 0.5rem;
  }
}


/* ==================================================
   TESTIMONIALS
================================================== */

#testimonials {
    background-color: var(--white);
}

#testimonialsCarousel {
    position: relative;
}
/* --------------------------------------------------
   Carousel spacing

   The bottom padding provides room for the speech
   bubble tail inside Bootstrap's overflow-hidden
   carousel container.
-------------------------------------------------- */

#testimonials .carousel-inner {
    padding-bottom: 2rem;
}

#testimonials .carousel-item {
    padding: 0;
}


/* --------------------------------------------------
   Main testimonial speech bubble
-------------------------------------------------- */

#testimonials .testimonial-card {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 270px;

    padding: 2.5rem 4rem 2.5rem 3rem;

    overflow: visible;

    background-color: var(--brand-color2);

    /*
     * A very large radius creates the pill-shaped
     * semicircular ends regardless of card height.
     */
    border-radius: 999px;

    color: var(--white);
}


/* --------------------------------------------------
   Speech-bubble tail
-------------------------------------------------- */

#testimonials .testimonial-card::after {
    content: "";

    position: absolute;
    right: 12%;
    bottom: -28px;

    width: 58px;
    height: 38px;

    background-color: var(--brand-color2);

    /*
     * Wide at the top and narrowing to a point
     * towards the bottom-right.
     */
    clip-path: polygon(
        0 0,
        100% 0,
        74% 100%
    );
}


/* --------------------------------------------------
   Quote icon area
-------------------------------------------------- */

#testimonials .testimonial-quote-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 180px;

    width: 180px;

    padding-right: 2.5rem;
}

#testimonials .testimonial-quote-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    height: 150px;
    flex-shrink: 0;

    background-color: var(--brand-color1);
    border-radius: 50%;

    transition:
        transform .4s ease,
        background-color .4s ease;
}

#testimonials .testimonial-quote-icon i {
    color: var(--brand-color2);
    font-size: 5rem;
    line-height: 1;
}


/* --------------------------------------------------
   Review content
-------------------------------------------------- */

#testimonials .testimonial-content-wrap {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;

    min-width: 0;
}

#testimonials .testimonial-quote {
    margin-bottom: 2rem;

    color: var(--white);

    font-size: 1.125rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.7;
}


/* --------------------------------------------------
   Author and carousel indicators
-------------------------------------------------- */

#testimonials .testimonial-meta-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;

    margin-top: auto;
}
#testimonials .testimonial-meta-row {
    padding-right: 9rem;
}

#testimonials .testimonial-author {
    color: var(--brand-color1);

    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
    text-transform: uppercase;
}

#testimonials .testimonial-indicators {
    position: absolute;
    right: 4rem;
    bottom: 4.5rem;
    left: auto;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.625rem;

    width: auto;

    margin: 0;
    padding: 0;
}

#testimonials .testimonial-indicators [data-bs-target] {
    width: 0.625rem;
    height: 0.625rem;
    flex: 0 0 0.625rem;

    margin: 0;

    border: 0;
    border-radius: 50%;

    background-color: var(--white);
    opacity: 1;

    transition:
        transform .3s ease,
        background-color .3s ease;
}

#testimonials .testimonial-indicators [data-bs-target]:hover {
    transform: scale(1.2);
}

#testimonials .testimonial-indicators .active {
    background-color: var(--brand-color1);
}


/* --------------------------------------------------
   Optional hover movement
-------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    #testimonials .testimonial-card:hover
    .testimonial-quote-icon {
        transform: rotate(-5deg) scale(1.04);
    }
}


/* --------------------------------------------------
   Intro spacing above carousel
-------------------------------------------------- */

#testimonials .mb-5.text-center {
    margin-bottom: 2.5rem !important;
}


/* --------------------------------------------------
   Tablet
-------------------------------------------------- */

@media (max-width: 991.98px) {

     #testimonials .testimonial-card {
        min-height: 240px;
        padding: 2.25rem 3.25rem 2.25rem 2.25rem;

        border-radius: 30px;
    }

    #testimonials .testimonial-card::after {
        right: 3rem;
    }

    #testimonials .testimonial-indicators {
        right: 3.25rem;
        bottom: 4.25rem;
    }

    #testimonials .testimonial-meta-row {
        padding-right: 8rem;
    }

    #testimonials .testimonial-card {
        min-height: 240px;
        padding: 2.25rem 3.25rem 2.25rem 2.25rem;
    }

    #testimonials .testimonial-quote-icon-wrap {
        flex-basis: 135px;
        width: 135px;
        padding-right: 2rem;
    }

    #testimonials .testimonial-quote-icon {
        width: 115px;
        height: 115px;
    }

    #testimonials .testimonial-quote-icon i {
        font-size: 4rem;
    }

    #testimonials .testimonial-quote {
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }
}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 767.98px) {

  #testimonials .testimonial-meta-row {
        padding-right: 0;
    }

    #testimonials .testimonial-indicators {
        position: static;

        justify-content: flex-start;

        margin-top: -4.5rem;
        margin-left: 1.75rem;
        margin-bottom: 3.5rem;
    }

    #testimonials .testimonial-card {
        flex-direction: column;
        align-items: flex-start;

        min-height: 0;

        padding: 2rem 1.75rem 2.25rem;

        /*
         * A true pill radius can consume too much
         * horizontal room on narrow screens.
         */
        border-radius: 40px;
    }

    #testimonials .testimonial-card::after {
        right: 2.5rem;
        bottom: -24px;

        width: 50px;
        height: 32px;
    }

    #testimonials .testimonial-quote-icon-wrap {
        flex: 0 0 auto;

        width: auto;
        padding: 0;
        margin-bottom: 1.5rem;
    }

    #testimonials .testimonial-quote-icon {
        width: 80px;
        height: 80px;
    }

    #testimonials .testimonial-quote-icon i {
        font-size: 2.75rem;
    }

    #testimonials .testimonial-meta-row {
        align-items: flex-start;
    }
}


/* --------------------------------------------------
   Small mobile
-------------------------------------------------- */

@media (max-width: 575.98px) {
  #testimonials .testimonial-indicators {
        margin-left: 1.5rem;
    }

    #testimonials .testimonial-card {
        padding: 1.75rem 1.5rem 2rem;
        border-radius: 30px;
    }

    #testimonials .testimonial-author {
        font-size: 0.875rem;
    }

    #testimonials .testimonial-indicators {
        justify-content: flex-start;
    }
}


/* === ENQUIRY FORM === */
#enquiryfrm  {
	background-color: var(--header-fg);
}
#enquiryfrm a:hover {
	text-decoration:none;
}
#enquiryfrm .form-control {
    padding: 1.5rem;
}

/* === LOCATION MAP === */
#map_canvas {
	height:600px;
}
/* Mobile */
@media (max-width: 575.98px) {
	#map_canvas {
		height:400px;
	}
}

/* ==================================================
   TEAM SECTION / TEAM LIST PAGE
================================================== */

#team {
    position: relative;
}

#team h2,
#team h2 a,
#team .text-center a {
    color: var(--headings-color);
}

.teamicon {
    color: var(--brand-color1) !important;
    font-size: 3.5rem;
}

#team a:hover {
    text-decoration: none;
}


/* --------------------------------------------------
   Equal-height Bootstrap columns
-------------------------------------------------- */

.team-col {
    display: flex;
}

.team-col > .anim-target {
    width: 100%;
}


/* --------------------------------------------------
   Whole-card link
-------------------------------------------------- */

.team-card {
    display: block;

    width: 100%;
    height: 100%;

    color: var(--headings-color);

    border-radius: 30px;

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


/* --------------------------------------------------
   Card background and internal spacing
-------------------------------------------------- */

.team-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    height: 100%;

    padding: 2rem;

    overflow: hidden;

    background-color: var(--header-fg);
    border-radius: 30px;

    text-align: center;
}


/* --------------------------------------------------
   Team member name
-------------------------------------------------- */

.team-name {
    width: 100%;

    margin: 0 0 1.75rem;

    color: var(--headings-color) !important;

    font-family: var(--font-headings);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 500;
    line-height: 1.25;

    transition: color .3s ease;
}


/* --------------------------------------------------
   Circular team image
-------------------------------------------------- */

.team-media {
    position: relative;

    width: 210px;
    height: auto;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;

    margin: 0 auto 1.75rem;

    overflow: hidden;

    background-color: var(--white);
    border: 10px solid var(--white);
    border-radius: 50%;

    box-sizing: border-box;
}

.team-img,
.team-img-fallback {
    position: absolute;
    inset: 0;

    display: block;

    width: 100% !important;
    height: 100% !important;
    max-width: none;

    border-radius: 50%;
}

.team-img {
    object-fit: cover;
    object-position: center center;

    transition:
        filter .4s ease,
        transform .5s ease;
}

.team-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(var(--brand-color2-rgb), 0.08);
    color: var(--brand-color2);
}


/* --------------------------------------------------
   Missing-image fallback
-------------------------------------------------- */

.team-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(var(--brand-color2-rgb), 0.08);
    color: var(--brand-color2);
}

.team-img-fallback i {
    font-size: 4rem;
}


/* --------------------------------------------------
   Job title
-------------------------------------------------- */

.team-job {
    width: 100%;

    margin-top: auto;

    color: var(--headings-color);

    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
}


/* --------------------------------------------------
   Keyboard focus
-------------------------------------------------- */

.team-card:focus-visible {
    outline: 3px solid var(--brand-color1);
    outline-offset: 5px;
}


/* --------------------------------------------------
   Hover behaviour
-------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    #team .team-card:hover,
    .team-list-page .team-card:hover {
        transform: translateY(-7px);
    }

    #team .team-card:hover .team-img,
    .team-list-page .team-card:hover .team-img {
        transform: scale(1.045);
    }

    /*
     * Retain your existing effect which softens the
     * team members that are not currently hovered.
     */
    #team .teamrow:hover .team-card:not(:hover) .team-img,
    .team-list-page .teamrow:hover .team-card:not(:hover) .team-img {
        filter: blur(2px) grayscale(100%);
    }
}



/* --------------------------------------------------
   Tablet
-------------------------------------------------- */

@media (max-width: 991.98px) {

    .team-card-inner {
        padding: 2rem 1.5rem;
    }

    .team-media {
        width: 190px;
    }
}




/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 575.98px) {

    .team-card-inner {
        padding: 2rem;
    }

    .team-media {
        width: min(100%, 200px);
    }

    .team-name {
        margin-bottom: 1.5rem;
        font-size: 1.25rem;
    }
}

/* Smaller social icons for team member page */

.team-details .icon-circle {
    width:2rem;
    height:2rem;
    background:var(--brand-color2);
    color:var(--brand-color1);
}
.team-details .icon-circle::before{
    font-weight:700;
    font-size: 0.875rem;
}

.teamsocial .social-link {
  width: 2.75rem;
  height: 2.75rem;
}

.teamsocial .social-link i {
  font-size: 1.25rem;
}

.teamsocial ul.social-media-list {
  gap: .5rem;
  list-style: none !important;
  padding-left: 0;
  margin-left: 0;
}

/* Legacy detail-page hover image */
.teamimg {
  border-radius: 30px;
  transition: all .5s;
}

.teamimg:hover {
  transform: scale(1.1);
  z-index: 9999;
}

/* Responsive */
@media (max-width: 767.98px) {

    .team-media {
        width: min(100%, 200px);
        height: auto;
        aspect-ratio: 1 / 1;
        flex: 0 0 auto;
    }

    .team-card-body {
        padding-top: 1.25rem;
    }

    .team-name {
        font-size: 1.25rem;
    }
}

/* === BLOG SECTION === */
#blogprimary {
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
}
#blogprimary article:after {
	background-color: var(--brand-color1);
}
.entry-title a {
  color: var(--headings-color);  
}
.entry-thumb img {
	max-width: 100%;
  border-radius: 30px;
	height: auto;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.entry-thumb:hover img {
	opacity: 0.7;
}
.entry-meta {
	display:inline-block;
    font-size: 0.875rem;
}
.entry-footer {
	color: var(--muted-color);
    font-size: 1rem;
    border-top: 1px var(--body-borders) solid;	
}
.entry-meta a,
.entry-footer a {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.entry-meta a:hover,
.entry-footer a:hover {
	color: var(--headings-color);
    font-weight: 700;
}
.updated:not(.published) {
    display: none;
}
#blogside {
    padding-right: 0 !important;
    padding-left: 0 !important;
}
#blogside section:last-of-type {
    border-bottom: none;
    margin: 0;
}
#blogside h4 {
	position: relative;
	padding-bottom: 0.9375rem;
}
#blogside h4::after {
    position: absolute;
    content: '';
    width: 50px;
    height: 2px;
    background-color: rgba(var(--brand-color1-rgb), 1);
    bottom: 0;
    left: 0;
}
.blog_search label {
    display: block;
    margin-bottom: 0;
}
.blog_search .search-field {
	color: var(--headings-color);
    background-color: var(--body-borders);
    border: 1px solid var(--body-borders);
    vertical-align: top;
    padding: 0.8125rem;
    width: 100%;
  border-radius: 20px;
}
.blog_search .search-submit {
    display: none;
}
#blogside .postcount {
	color: var(--muted-color);
    font-size: 0.875rem;
}
#blog_categories ul,
#blog_archives ul {
    list-style: none;
    padding: 0;
    word-wrap: break-word;
    line-height: 1.8;
    text-rendering: optimizeLegibility;
}
#blogside li,
#blogside li a,
.posted-on,
.posted-on a,
.posted-on i {
    color: var(--body-color);
}
#blogside li a:hover,
#blogside li a.active {
	color: var(--brand-color1);
}
#blog_categories li,
#blog_categories li a,
#blog_archives li,
#blog_archives li a,
.tag-cloud > a,
.post-tags > a {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
#blog_categories li::before {
    content: '\f07b';
    margin-right: 0.6rem;
}
#blog_archives li::before {
    content: '\f133';
    margin-right: 0.6rem;
}
#blog_categories li::before,
#blog_archives li::before {
    font-family: var(--font-icons);
    font-size: 1rem;
}
.tag-cloud > a,
.post-tags > a {
	color: var(--headings-color);
	background-color: var(--body-borders);
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    line-height: 1.5rem;
    font-size: 0.6875rem !important;
    border-radius: 10px;
    padding: 1px 1rem;
    margin: 0.3125rem 0.5rem 0.3125rem 0;
}
.tag-cloud > a:hover,
.entry-footer .tag-cloud > a,
.post-tags > a:hover,
.posted-category,
.posted-category a {
	color: var(--brand-color2);
	background-color: var(--brand-color1);
}
.entry-footer .tag-cloud > a:hover {
  color: var(--white);
	background-color: var(--brand-color2);
}
.post-preview {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.post-preview img {
	max-width: 100%;
	height: auto;
  border-radius: 30px;
}
.post-preview:hover {
    transform: translateY(-7px);
}
/* Mobile */
@media (max-width: 575.98px) {
	.posted-on,
	.posted-category {
		display:block;
	}
	.entry-meta,
	.entry-meta span {
		display:block;
	}
	.entry-meta span::after {
	    content: '';
	    margin: 0;
	}
	.entry-header h1 {
		font-size: 2.25rem;
	}
}
/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
	.postcount {
		display:none;
	}
	.entry-meta,
	.entry-meta span {
		display:block;
	}
}

/* === GALLERY SECTION === */
#gallerygrid {
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
}
ul.gallery-filters {
    list-style: none;
    padding: 0;
    font-size: 0.875rem;
}
.gallery-filters li,
.gallery-filters li a {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.gallery-filters li {
	background-color: var(--brand-color2);
	display: inline-block;
  border-radius: 30px;
	padding:0.75rem 1.25rem;
	margin: 0.5rem 0.125rem;
}
.gallery-filters li:hover {
	background-color: var(--brand-color1);
  color: var(--brand-color2) !important;
}
.gallery-filters li a {
	color: var(--white);
}
.gallery-filters li:hover a {
  color: var(--brand-color2);
}


#gallerygrid #gallerybarimgs {
  background: var(--white);
  position: relative;
}



#gallerygrid .galleryitem {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

#gallerygrid .galleryimg {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
#gallerygrid .galleryimg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#gallerygrid .galleryitem::before {
  border-radius: 30px;
}
#gallerygrid .gallerygridimgtxt {
  border-radius: 30px;
}


.gallerygridimgtxt {
    position: absolute;
    inset: 0; 
    z-index: 2;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none; /* prevents overlay capturing clicks when hidden */
}
.galleryitem:hover .gallerygridimgtxt {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.galleryitem:before {
	z-index: 1;
}
.gallerygridimgtxt a {
	color: var(--brand-color1);
    text-decoration: none;
}
.gallerygridimgtxt h3 {
	color: var(--white);
	font-size: 1.25rem;
	font-weight: 400;
	position: relative;
	width: 100%;
	display:block;
	text-align: center;
	margin: 0;
}
.gallerygridimgtxt h3::before {
    background-color: rgba(var(--white-rgb),0.5);
    content: '';
    width: 0;
    height: 1px;
    position: absolute;
    left: 0;
    top: -5px;
    margin-left: 20%;
    -webkit-transition: width .5s .5s;
    transition: width .5s .5s;
}
.gallerygridimgtxt h3::after {
    background-color: rgba(var(--white-rgb),0.5);
    content: '';
    width: 0;
    height: 1px;
    position: absolute;
    right: 0;
    bottom: -5px;
    margin-right: 20%;
    -webkit-transition: width .5s .5s;
    transition: width .5s .5s;
}
.galleryitem:hover .gallerygridimgtxt h3::before,
.galleryitem:hover .gallerygridimgtxt h3::after {
	width: 60%;
}
.gallerygridimgtxt .galleryimgicons {
    position: absolute;
    left: 0;
    bottom: 10%;
	width: 100%;
	padding:0 2rem;
	font-size: 1.25rem;
	text-align: center;
}
.gallery-main-image {
  width: 100%;
  max-height: 700px;
  text-align: center;
  border-radius: 30px;
}
.gallery-main-image img {
  display: inline-block;
  max-width: 100%;
  max-height: 700px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 30px !important;
}
/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
	.galleryimgtxt h3,
	.gallerygridimgtxt h3 {
		font-size: 1rem;
	}
	.gallerymain .link-icon {
		display:inline-block;
	    font-size: 1rem;
	    line-height: 2rem;
	    width: 2rem;
	    height: 2rem;
	    border-radius: 50%;
	    box-shadow: 0 0 1px #222;
	}
}

/* ==================================================
   PRODUCT CATEGORY CARDS
================================================== */

#categories {
  line-height: 1.6;
}
.cat-intro-header {
  border-bottom: 2px solid var(--body-borders);
}
.cat-intro {
  font-size: 0.875rem;
}


/* --------------------------------------------------
   Equal-height Bootstrap columns
-------------------------------------------------- */

.cat-col {
    display: flex;
}


/* --------------------------------------------------
   Card and whole-card link
-------------------------------------------------- */

.cat-card {
    display: flex;

    width: 100%;
    height: 100%;

    background: transparent;
    border: 0;

    transition: transform .4s ease;
}

.cat-card-link {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    color: var(--headings-color);
    text-decoration: none;
}


/* --------------------------------------------------
   Image
-------------------------------------------------- */

.cat-media {
    position: relative;
    z-index: 2;

    width: 100%;
    aspect-ratio: 1.6 / 1;

    flex-shrink: 0;

    overflow: hidden;

    background-color: var(--white);
    border-radius: 30px;
}

.cat-img,
.cat-img--placeholder {
    display: block;

    width: 100%;
    height: 100%;
}

.cat-img {
    object-fit: cover;
    object-position: center;

    transition: transform .5s ease;
}

.cat-img--placeholder {
    background-color: rgba(var(--black-rgb), 0.06);
}


/* --------------------------------------------------
   Title box

   The negative margin pulls it underneath the image.
   Extra top padding compensates for the 30px overlap.
-------------------------------------------------- */

.cat-title {
    position: relative;
    z-index: 1;

    display: flex;
    flex: 1 1 auto;

    margin-top: -30px;
    padding: calc(2rem + 30px) 2rem 2rem;

    background-color: var(--header-fg);
    border-radius: 0 0 30px 30px;
}


/* --------------------------------------------------
   Title and arrow row
-------------------------------------------------- */

.cat-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;

    width: 100%;
}

.cat-title-text {
    margin: 0;

    color: var(--headings-color);

    font-family: var(--font-headings);
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    font-weight: 500;
    line-height: 1.25;
}


/* Prevent the arrow from shrinking beside long titles */

.cat-title-icon {
    flex: 0 0 2.25rem;

    width: 2.25rem;
    height: 2.25rem;

    min-width: 2.25rem;
    min-height: 2.25rem;
}


/* --------------------------------------------------
   Keyboard focus
-------------------------------------------------- */

.cat-card-link:focus-visible {
    outline: 3px solid var(--brand-color1);
    outline-offset: 5px;
    border-radius: 30px;
}


/* --------------------------------------------------
   Hover
-------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    .cat-card:hover {
        transform: translateY(-7px);
    }

    .cat-card:hover .cat-img {
        transform: scale(1.04);
    }

    .cat-card:hover .cat-title-icon {
        transform: translateX(3px);
    }
}


/* --------------------------------------------------
   Tablet and mobile
-------------------------------------------------- */

@media (max-width: 767.98px) {

    .cat-title {
        padding:
            calc(1.5rem + 30px)
            1.5rem
            1.5rem;
    }

    .cat-title-row {
        gap: 1rem;
    }
}


/* --------------------------------------------------
   Small mobile
-------------------------------------------------- */

@media (max-width: 575.98px) {

    #categories .cat-card {
        max-width: 420px;
        margin-right: auto;
        margin-left: auto;
    }

    .cat-media {
        aspect-ratio: 1.45 / 1;
    }

    .cat-title-text {
        font-size: 1.2rem;
    }

    .cat-title-icon {
        flex-basis: 2.75rem;
        width: 2.75rem;
        height: 2.75rem;
    }
}

/* ==================================================
   FEATURED PRODUCTS / PRODUCT GRID CARDS
================================================== */

#featured {
    background-color: var(--brand-color2);
}


/* --------------------------------------------------
   Featured-products introduction
-------------------------------------------------- */

.featured-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    height: 100%;
}

.featured-intro h2 {
    color: var(--white);
}

.featured-intro-text {
    color: var(--white);
    font-size: 0.875rem;
}


/* --------------------------------------------------
   Equal-height product columns
-------------------------------------------------- */

.prod-grid-col {
    display: flex;
}


/* --------------------------------------------------
   Shared product card
-------------------------------------------------- */

.prod-card {
    position: relative;

    width: 100%;

    border: 0;

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


/* --------------------------------------------------
   Grid card
-------------------------------------------------- */

.prod-card-grid {
    display: flex;

    height: 100%;

    background: transparent;
    border-radius: 30px;
}

.prod-card-grid .prod-card-link {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    color: inherit;
    text-decoration: none;
}


/* --------------------------------------------------
   Product image
-------------------------------------------------- */

.prod-card-grid .prod-media {
    position: relative;
    z-index: 2;

    width: 100%;
    aspect-ratio: 4 / 3;

    flex: 0 0 auto;

    overflow: hidden;

    background-color: var(--white);
    border-radius: 30px;
}

.prod-card-grid .prod-img,
.prod-card-grid .prod-img-placeholder {
    display: block;

    width: 100%;
    height: 100%;
}

.prod-card-grid .prod-img {
    object-fit: cover;
    object-position: center;

    transition: transform .5s ease;
}

.prod-card-grid .prod-img-placeholder {
    background-color: rgba(var(--black-rgb), 0.06);
}


/* --------------------------------------------------
   Text panel

   The panel begins behind the image and projects
   beneath it, matching the category-card treatment.
-------------------------------------------------- */

.prod-card-grid .prod-card-body {
    position: relative;
    z-index: 1;

    display: flex;
    flex: 1 1 auto;
    flex-direction: column;

    margin-top: -30px;
    padding:
        calc(1.75rem + 30px)
        1.75rem
        1.75rem;

    background-color: rgba(var(--white-rgb), .075);
    color: var(--white);

    border-radius: 0 0 30px 30px;

    text-align: left;
}

/* ==================================================
   Product catalogue page overrides
================================================== */

#productgrid .prod-card-grid .prod-card-body {
    background-color: var(--brand-color2);
}


/* --------------------------------------------------
   Title and MPN
-------------------------------------------------- */

.prod-card-grid .prod-card-main {
    width: 100%;
}

.prod-card-grid .prod-title {
    margin: 0 0 0.625rem;

    color: var(--white);

    font-family: var(--font-headings);
    font-size: clamp(1.125rem, 1.8vw, 1.375rem);
    font-weight: 500;
    line-height: 1.3;
    text-transform: none;
}

.prod-card-grid .prod-mpn {
    margin: 0;

    color: rgba(var(--white-rgb), 0.75);

    font-size: 0.875rem;
    line-height: 1.4;
}


/* --------------------------------------------------
   Price and arrow row
-------------------------------------------------- */

.prod-card-grid .prod-card-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1rem;

    width: 100%;

    margin-top: auto;
    padding-top: 1.75rem;
}

.prod-card-grid .prod-price-wrap {
    min-width: 0;
}

.prod-card-grid .prod-price {
    display: block;

    color: var(--brand-color1);

    font-family: var(--font-headings);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.1;
}

.prod-card-grid .prod-price sup {
    margin-left: 0.2rem;

    font-size: 0.25em;
    vertical-align: super;
}

.prod-card-grid .prod-price span {
    font-size: 0.875rem;
    font-weight: 500;
}

.prod-card-grid .prod-card-arrow {
    flex: 0 0 auto;
    align-self: end;
}


/* --------------------------------------------------
   Product stock badges
-------------------------------------------------- */

.prod-stock-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;

    padding: 0.45rem 0.75rem;

    border-radius: 999px;

    color: var(--white);

    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;

    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* Available */

.prod-stock-in {
    background-color: #28a745;
}


/* Low stock */

.prod-stock-low {
    background-color: #d4af37;
    color: var(--brand-color2);
}


/* Negative stock states */

.prod-stock-out {
    background-color: #dc3545;
}


/* --------------------------------------------------
   NEW corner badge
-------------------------------------------------- */

.prod-badge-new {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 4;

    width: 86px;
    height: 86px;

    overflow: hidden;

    pointer-events: none;
}

.prod-badge-new::before {
    position: absolute;
    top: 0;
    right: 0;

    content: "";

    border-top: 86px solid #dc3545;
    border-left: 86px solid transparent;
}

.prod-badge-new span {
    position: absolute;
    top: 17px;
    right: -7px;

    width: 90px;

    transform: rotate(45deg);

    color: var(--white);

    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: center;
}


/* --------------------------------------------------
   Keyboard focus
-------------------------------------------------- */

.prod-card-grid .prod-card-link:focus-visible {
    outline: 3px solid var(--brand-color1);
    outline-offset: 5px;

    border-radius: 30px;
}


/* --------------------------------------------------
   Hover
-------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    .prod-card-grid:hover {
        transform: translateY(-7px);
    }

    .prod-card-grid:hover .prod-img {
        transform: scale(1.04);
    }

    .prod-card-grid:hover .prod-card-arrow {
        transform: translateX(3px);
    }
}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 575.98px) {

    .prod-card-grid {
        max-width: 420px;

        margin-right: auto;
        margin-left: auto;
    }

    .prod-card-grid .prod-card-body {
        padding:
            calc(1.5rem + 30px)
            1.5rem
            1.5rem;
    }

    .prod-card-grid .prod-card-bottom {
        padding-top: 1.5rem;
    }

    .prod-card-grid .prod-title {
        font-size: 1.125rem;
    }
}

/* === PRODUCT LIST VIEW OVERRIDES === */

.prod-card-list {
    display: flex;
    flex-direction: column;

    width: 100%;

    overflow: hidden;

    background-color: rgba(var(--white-rgb), .075);
    color: var(--white);

    border-radius: 30px;
}

.prod-card-list .prod-media {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 240px;

    overflow: hidden;

    aspect-ratio: auto;
    background-color: var(--white);
    border-radius: 30px 0 0 30px;
}

.prod-card-list .prod-media > img.prod-img,
.prod-card-list .prod-media > .prod-img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover !important;
    object-position: center;

    transition: transform .4s ease;
}

.prod-card-list .card-body {
  background-color: rgba(var(--white-rgb), .075);
  color: var(--white);
}

/* ==================================================
   Product catalogue page overrides
================================================== */

#productgrid .prod-card-list .card-body {
    background-color: var(--brand-color2);
}

.prod-card-list h3 a {
  color: var(--brand-color1);
}

.prod-card-list h3 a:hover,
.prod-card-list h3 a:focus {
  color: var(--white);
}
.prod-card-list .prod-title {
  margin: 0;
}

.prod-card-list .text-muted,
.prod-card-list .small,
.prod-card-list .prod-mpn {
  color: rgba(var(--white-rgb), 0.8) !important;
}

.prod-card-list .fw-bold,
.prod-card-list .prod-price,
.prod-card-list .prod-stock {
  color: var(--white);
}

.prod-card-list .prod-price {

    font-family: var(--font-headings);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.1;
}

.prod-card-list .btn-primary {
  white-space: nowrap;
}
.prod-card-list .col-md-3:last-child {
  background-color: rgba(var(--white-rgb), .075);
}
#productgrid .prod-card-list .col-md-3:last-child,
#productgrid .prod-card-list .col-md-1:last-child {
    background-color: var(--brand-color2);
}
.prod-card-list .btn-primary {
  color: var(--brand-color2);
  background-color: var(--brand-color1);
  border-color: var(--brand-color1);
}

.prod-card-list .btn-primary:hover,
.prod-card-list .btn-primary:focus {
  color: var(--brand-color1);
  background-color: transparent;
  border-color: var(--brand-color1);
}

/* mobile: image goes back to rounded top corners */
@media (max-width: 767.98px) {
  .prod-card-list .prod-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 0.8;
    border-radius: 30px 30px 0 0;
  }
}


/* === PRODUCT GRID PAGE NAVIGATION === */
.prodnav {
	background-color: var(--body-borders);
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    border-radius: 30px;
}
.prodnav ul {
	margin-bottom: 0;
}
.prodnav .page-item.disabled .page-link {
	color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: transparent;
    border: none;
}
.prodnav .page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.prodnav .page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    background-color: transparent;
    border: none;
}
.page-item.active .page-link {
	font-weight: 700;
}
.prodnav li {
    position: relative;
}
.prodnav .prodsort {
	padding: .5rem .75rem;
}
.prodnav .prodsort select {
	max-width: 165px;
}
.prodnav .prodsort .form-control {
    background-clip: padding-box;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
/* Mobile */
@media (max-width: 575.98px) {
	.prodnav .page-link {
	    padding: .5rem .5rem;
	}
	.prodnav li:before {
	    display: none;
	}
}

/* === PRODUCT GRID SIDE FILTERS === */
#productgridside h4 {
    position: relative;
    padding-bottom: 0.9375rem;
    color: var(--brand-color2);
}
#productgridside h4 a {
    color: var(--brand-color2);
}
#productgridside h4::after {
    position: absolute;
    content: '';
    width: 50px;
    height: 2px;
    background-color: rgba(var(--brand-color2-rgb), 0.1);
    bottom: 0;
    left: 0;
}
#productgridside h4 span {
    font-size: 2rem;
}
.sidecats .postcount {
    font-size: 0.8125rem;
}
.sidecats ul {
    list-style: none;
    padding: 0;
    word-wrap: break-word;
    line-height: 2;
    text-rendering: optimizeLegibility;
}
.sidecats li,
.sidecats li a {
	color: var(--body-color);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.sidecats li a:hover,
.sidecats li.active a {
	color: var(--brand-color1);
}
.sidecats li::before {
    content: '\f07b';
    margin-right: 0.6rem;
}
.sidecats li::before {
    font-family: var(--font-icons);
    font-size: 1rem;
}
#prodSideCats {
	display: block;
}
.filters .form-control {
    border-radius: 0;
}
.filters label {
    font-weight: 400;
    margin-bottom: .25rem !important;
}
.filters .btn {
    border-radius: 0;
}
.filterddm {
	margin-bottom: 0.25rem;
}
.filterddm .form-control {
    border-radius: 0;
}
.clearfilter a {
	font-size: 0.875rem;
}
.search-group .btn {
    padding: 0 0.75rem !important;
}
.product-search-btn {
    display: inline-block;

    padding: .375rem .75rem;

    font-size: .875rem;
    font-weight: 500;
    line-height: 1.5;

    color: var(--white);
    background: var(--brand-color2);

    border: 1px solid var(--brand-color2);
    border-radius: .375rem;

    transition: .25s;
}

.product-search-btn:hover {
    color: var(--brand-color2);
    background: var(--brand-color1);
}
/*.search-group .input-group-text {
    border-radius: 0;
}
.search-group .form-control {
    border-radius: 0;
}
#prodfilters {
	display: block;
}*/
/* Mobile */
@media (max-width: 575.98px) {
	#prodSideCats {
		display: none;
	}
	#prodfilters {
		display: none;
	}
}
/* Mobile landscape / small tablets */
@media (min-width: 576px) and (max-width: 767.98px) {
	.filters .form-inline .form-control {
	    width: 400px !important;
	}
}
/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
	.filters .form-inline .form-control {
	    width: 100% !important;
	}	
}

/* === PRODUCT DETAILS SECTION === */
.proddetailsimg img,
.proddetailsthumb img  { 
	max-width: 100%;
	height: auto;
}
.proddetailsimg img,
.proddetailsthumb img {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);	
}
.proddetailsthumb {
  border-radius: 30px;
}
.enlarge {
	font-size:1.5em;
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	z-index: 999;
}
.enlarge a:hover {
	text-decoration:none;
}
#maincontent .proddetailstxt h1 {
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
    text-transform: uppercase;
    position: relative;
    font-size: 1.75rem;
    line-height: 125%;
}
#maincontent .proddetailstxt h1:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 1px;
    margin-left: 0;
    background-color: var(--brand-color1);
}
.proddetailsprc {
	color: #443F3F;
	font-size: 1.5rem;
	font-weight: 700;
}
.proddetailsprc sup {
	font-size: 0.875rem;
	font-weight: 400;
	text-transform: lowercase;
}
.proddetailsprc span {
	font-size: 1rem;
	font-weight: 400;
	text-transform: none;
}
.proddetailsprc .prodstock,
.proddetailsprc .prodstock span {
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	text-transform: uppercase;
}
.proddetailsbtn .btn {
	font-size: 1rem;
	font-weight: 600;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.proddetailsvideo .btn-outline-primary {
	font-size: 1.125rem;
	line-height: 2rem;
	font-weight: 600;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.proddetailsbtn .btn-primary,
.proddetailsvideo .btn-outline-primary {
	width:100%;
}
.proddetailsvideo i {
	padding-left: 0.75rem;
	font-size: 1.125rem;
}
.prodenquiry {
	background-color: var(--body-borders);
	width: 100%;
	height:auto;
	padding:1.25rem;
	margin:0 0 1.5em 0;
	display:none;
  border-radius: 30px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
#prodenqform .btn {
	width: 100%;
    display: block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 2;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
/* ===========================================
   PRODUCT TABS
=========================================== */

.nav-tabs {
    gap: .5rem;

    margin-bottom: 0;

    border-bottom: 0;
}

.nav-tabs,
.nav-tabs li {
    list-style: none;
}

.nav-tabs li::marker {
    content: "";
}


/* remove Bootstrap negative overlap */

.nav-tabs .nav-item {
    margin-bottom: 0;
}


/* individual tabs */

.nav-tabs .nav-link {

    margin: 0;
    padding: .85rem 1.75rem;

    color: rgba(var(--headings-color-rgb), .65);

    background: #ececec;

    border: 1px solid #dee2e6;
    border-bottom: 0;

    border-radius: 20px 20px 0 0;

    font-weight: 500;

    transition:
        background-color .3s ease,
        color .3s ease,
        transform .3s ease;
}


/* hover */

.nav-tabs .nav-link:hover {

    color: var(--headings-color);

    background: #f5f5f5;

}


/* active */

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {

    color: var(--headings-color);

    background: var(--white);

    border-color: #dee2e6;
    border-bottom-color: var(--white);

    position: relative;
    z-index: 2;
}
.nav-tabs .nav-link.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;

    height: 2px;

    background: var(--white);
}


/* content panel */

.tab-content {

    position: relative;
    z-index: 1;

    margin-top: -1px;

    background: var(--white);

    border: 1px solid #dee2e6;

    border-radius: 0 30px 30px 30px;

    overflow: hidden;
}
@media (max-width: 575.98px) {

    .nav-tabs {
        gap: .35rem;
    }

    .nav-tabs .nav-link {

        padding: .65rem 1rem;

        font-size: .9rem;
    }

    .tab-content {
        border-radius: 0 20px 20px 20px;
    }
}
/* Mobile */
@media (max-width: 575.98px) {
	.proddetailsthumb img  { 
		width: 100%;
		height: auto;
	}
}
/* Mobile landscape / small tablets */
@media (min-width: 576px) and (max-width: 767.98px) { 
	.nogsm {
		display: none;
	}
}
/* Mobile */
@media (max-width: 575.98px) {
	.nogsm {
		display: none;
	}
}
/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
	.nav-tabs .nav-item {
	    margin-bottom: 0px;
	}
}
/* Tablet landscape / small laptops */
@media (min-width: 992px) and (max-width: 1199.98px) {
	.nav-tabs .nav-item {
	    margin-bottom: 0px;
	}
}

/* === COOKIE SETTINGS LINK === */
.cookie-settings {
	position: fixed !important;
	left: 15px;
	bottom: 15px;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;               
	align-items: center; 
	justify-content: center;
	text-align: center;
	z-index: 9999;
	cursor: pointer;
}
.cookie-settings i {
	color: var(--brand-color1);
	font-size: 2.5rem;
	transition: transform .5s ease;
}
.cookie-settings i:hover {
	color: var(--brand-color2);
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: var(--brand-color2);
    color: var(--white);
}
.cookie-banner .container {
    width: 100%;
    max-width: 100%;
}
.cookie-banner .row {
    margin-left: 0;
    margin-right: 0;
}
.cookie-banner[hidden] {
    display: none !important;
}
.cookie-banner .text-light-emphasis,
.cookie-banner h2,
#cookieSettingsForm label {
    color: var(--white) !important;
}
/* Mobile tidy-up */
@media (max-width: 575.98px) {
    .cookie-banner {
        padding-left: 0;
        padding-right: 0;
    }
    .cookie-banner .btn {
        width: 100%;
        white-space: normal;
    }
}
.embedded-media-placeholder {
    max-width: 100%;
}
.youtube-consent-placeholder {
    max-width: 100%;
}
.youtube-consent-placeholder__media {
    position: relative;
    overflow: hidden;
    background: var(--black);
    border-radius: .5rem;
}
.youtube-consent-placeholder__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.youtube-consent-placeholder__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(var(--black-rgb), 0.45);
}
.youtube-consent-placeholder__content {
    max-width: 42rem;
    color: var(--white);
}
.youtube-consent-placeholder__play {
    width: 72px;
    height: 50px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: rgba(255, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}
.youtube-consent-placeholder__play-icon {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid #fff;
}
.youtube-consent-placeholder__fallback {
    width: 100%;
    height: 100%;
    min-height: 240px;
    color: var(--white);
    background: #111;
    text-align: center;
    padding: 1rem;
}
.youtube-video-trigger {
    max-width: 100%;
}
.youtube-video-trigger__link,
.youtube-video-trigger__button {
    position: relative;
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: var(--black);
    border-radius: 0;
    text-decoration: none;
    color: inherit;
}
.youtube-video-trigger__button {
    cursor: pointer;
}

.youtube-video-trigger__link img,
.youtube-video-trigger__button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.youtube-video-trigger__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(var(--black-rgb), 0.35);
}
.youtube-video-trigger__content {
    max-width: 42rem;
    color: var(--white);
}
.youtube-video-trigger__play {
    width: 72px;
    height: 50px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: rgba(255, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}
.youtube-video-trigger__play-icon {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid #fff;
}
.youtube-video-trigger__fallback {
    width: 100%;
    height: 100%;
    min-height: 240px;
    color: var(--white);
    background: #111;
    text-align: center;
    padding: 1rem;
}
.youtube-video-trigger__label {
    pointer-events: none;
}

/* === ANIMATIONS === */
/* Base: default duration + delay var */

/* Desktop and above */
@media (min-width: 1200px) {
  [data-animate] .anim-target {
    opacity: 0;
    transform: none;
    transition:
      opacity var(--anim-duration, 2s) ease,
      transform var(--anim-duration, 2s) ease;
    transition-delay: var(--anim-delay, 0ms);
    will-change: opacity, transform;
  }
  /* In view */
  [data-animate].is-inview .anim-target {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  /* Preset: fade-right */
  [data-animate="fade-right"] .anim-target {
    transform: translate3d(100%, 0, 0);
  }
  /* Preset: fade-up (available for later widgets) */
  [data-animate="fade-up"] .anim-target {
    transform: translate3d(0, 48px, 0);
  }
  /* Preset: fade-down (available for later widgets) */
  [data-animate="fade-down"] .anim-target {
    transform: translate3d(0, -48px, 0);
  }
  /* Preset: fade-left (available for later widgets) */
  [data-animate="fade-left"] .anim-target {
    transform: translate3d(-100%, 0, 0);
  }
  /* Preset: zoom (available for later widgets) */
  [data-animate="zoom"] .anim-target {
    transform: scale3d(0.3, 0.3, 0.3)
  }
}
/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  [data-animate] .anim-target,
  [data-animate].is-inview .anim-target {
    transition: none;
    transform: none !important;
    opacity: 1 !important;
  }
}