/* === HTML SETTINGS === */
html {
	font-size: 16px;
    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(--headings-color);
	background-color: var(--headings-color);
	border:none;
	height: 1px;
}
body {
	color: var(--body-color);
	background: var(--body-bg);
	position: relative;
	font-weight:400;
	line-height: 1.7;
	font-family: var(--font-body);
}
a {
	color: var(--brand-color2);
}
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);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .counter-number, .testimonial-content, .btn, .news-view-all {
	font-family: var(--font-headings);
	font-weight:400;
}
@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 3rem;
    }
}
.heading-highlight {
  color: var(--brand-color2);
}
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-block;
    width: auto;
    font-size: 1rem;
    font-weight: 400;
    font-family: var(--font-alternative);
    letter-spacing: 0.5px;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    padding: 0.75rem 1rem;
    border-radius: 0;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;    
    transition: all .5s;
}
@media (min-width: 1200px) {
  .btn {
      font-size: 1.125rem;
      padding: 0.75rem 2.5rem;
  }
}
.btn-primary {
	color: var(--white);
	background-color: var(--brand-color2);
	border: 2px solid var(--brand-color2);
}

/* Hover + keyboard focus */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active {
	color: var(--white);
	background-color: var(--brand-color1);
	border: 2px solid var(--brand-color1);
}
.dark-btn .btn-primary:hover,
.dark-btn .btn-primary:focus,
.dark-btn .btn-primary:focus-visible, 
.dark-btn .btn-primary:active {
  color: var(--brand-color1);
  background-color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-primary {
	color: var(--brand-color2);
	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-color1);
  background-color: transparent;
	border: 2px var(--brand-color1) solid;	
}
.dark-btn .btn-outline-primary {
	color: var(--white);
  background-color: transparent;
  border: 2px var(--white) solid;  
}
.dark-btn .btn-outline-primary:hover, 
.dark-btn .btn-outline-primary:focus,
.dark-btn .btn-outline-primary:focus-visible, 
.dark-btn .btn-outline-primary:active {
  color: var(--brand-color1);
  background-color: var(--white);
  border: 2px solid var(--white); 
}
.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);
}
.accordion .accordion-item {
  border: none;
}
.accordion .accordion-header {
  position: relative;
  padding: .25rem 1rem;
  background-color: rgba(var(--brand-color2-rgb), .03);
}
.accordion .accordion-button {
  font-size: 2rem;
  font-weight: 500;
  background: transparent;
  box-shadow: none;
  border: 0;
}
@media (max-width: 767.98px) {

  .accordion .accordion-button {
    font-size: 1.5rem;
  }

}
.accordion .accordion-header .accordion-button {
	color: var(--headings-color);
}
.page-item.active .page-link {
	color: var(--white);
	background-color: var(--brand-color1);
	border: 1px var(--brand-color1) solid;
}
.page-item .page-link {
	color: var(--headings-color);
}
.widget-icon {
    color:var(--brand-color2);
    transition:.3s;
}
.widget-icon::before{
    font-family:var(--font-icons);
    font-size: 3.5rem;
    font-weight: 300;
}
.widget-team::before{ content:"\f0c0"; }
.widget-gallery::before { content:"\f302"; }
.widget-news::before { content:"\f1ea"; }
.widget-featured::before { content:"\f005"; }

.rule-bottom {
    position: relative;
}

.rule-bottom::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 40px;

    content: "";

    background-color: var(--rule-color);

    -webkit-mask-image: url('/img/Rule.svg');
    mask-image: url('/img/Rule.svg');

    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;

    -webkit-mask-position: left bottom;
    mask-position: left bottom;

    -webkit-mask-size: 41px 40px;
    mask-size: 41px 40px;

    pointer-events: none;
}

.rule-top {
    position: relative;
}

.rule-top::before {
    position: absolute;
    left: 0;
    right: 0;
    top: -40px;

    height: 40px;

    content: "";

    background-color: var(--rule-color);

    -webkit-mask-image: url('/img/Rule.svg');
    mask-image: url('/img/Rule.svg');

    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;

    -webkit-mask-position: left bottom;
    mask-position: left bottom;

    -webkit-mask-size: 41px 40px;
    mask-size: 41px 40px;

    pointer-events: none;
}

/* === 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;
}
#maincontent .row,
#gallerybar .row,
#quicklink1 .row,
#cta1 .row,
#team .row,
#team-grid .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) {
    #maincontent .row,
    #gallerybar .row,
    #quicklink1 .row,
    #cta1 .row,
    #team .row,
    #team-grid .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: stretch;
}

.primary-navigation__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-end;
}

.primary-navigation__list li {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

.primary-navigation__list a {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    color: var(--white);
    font-size: 0.9375rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;    
    transition: all .5s;
}

.primary-navigation__list a:hover,
.primary-navigation__list a:focus,
.primary-navigation__list .active > a {
    color: var(--white);
    font-weight: 700;
}

/* ==================================================
   Main navigation
================================================== */

.navsection {
  display: flex;
  align-items: center;
}

.navbar {
  --bs-navbar-padding-y: 0;
  --bs-navbar-padding-x: 0;

  font-size: 0.9375rem;
  font-weight: 500;
}

.navbar-nav {
  align-items: center;
}

.navbar-nav .nav-link {
  padding: 1rem 0.75rem;
  color: var(--brand-color1);
  text-decoration: none;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--brand-color2);
}


/* Primary-menu links copied into the mobile menu */
.mobile-menu-only {
  display: none;
}


/* ==================================================
   Main navigation dropdown indicator
================================================== */

@media (min-width: 992px) {

  .navbar-nav .dropdown > .nav-link::after {
    display: inline-block;
    margin-left: 0.4rem;
    border: 0;
    font-family: var(--font-icons);
    font-size: 0.55rem;
    font-weight: 400;
    content: "\f078";
    vertical-align: middle;
    transition: transform 0.2s ease;
  }

  .navbar-nav .dropdown:hover > .nav-link::after {
    transform: rotate(180deg);
  }

}


/* ==================================================
   Main navigation dropdowns
================================================== */

.navbar .dropdown-menu {
  --bs-dropdown-border-width: 0;
  --bs-dropdown-border-radius: 0;
  --bs-dropdown-padding-y: 0;
  --bs-dropdown-min-width: 15rem;

  background-color: var(--brand-color1);
}

.navbar .dropdown-item {
  padding: 0.7rem 1.25rem;
  color: var(--white);
  font-size: 0.875rem;
  white-space: normal;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active,
.navbar .dropdown-menu .active > .dropdown-item {
  color: var(--white);
  background-color: var(--brand-color2);
}


/* Desktop dropdown behaviour */
@media (min-width: 992px) {

  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

}


/* ==================================================
   Second-level dropdowns
================================================== */

.dropdown-submenu {
  position: relative;
}

@media (min-width: 992px) {

  .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0;
  }

  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }

  .dropdown-submenu > .dropdown-item::after {
    float: right;
    margin-top: 0.2rem;
    font-family: var(--font-icons);
    font-size: 0.625rem;
    font-weight: 400;
    content: "\f054";
  }

}


/* ==================================================
   Tablet / mobile navigation
================================================== */

@media (max-width: 991.98px) {

  .navsection {
    width: 100%;
    justify-content: flex-end;
  }

  .navbar {
    --bs-navbar-toggler-border-color: transparent;
    --bs-navbar-toggler-focus-width: 0;
    font-size: 0.875rem;
    position: static;
    width: 100%;
    justify-content: flex-end;
  }

  .navbar-toggler {
    padding: 0.5rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-toggler-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .navbar .navbar-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1050;
    padding: 0.75rem calc(var(--bs-gutter-x) * 0.5) 1rem;
    background-color: var(--brand-color1);
  }

  .navbar-nav {
    align-items: stretch;
  }

  .navbar-nav .nav-link {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(var(--white-rgb), 0.08);
    color: var(--white);
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus,
  .navbar-nav .nav-link.active {
    color: var(--white);
    background-color: var(--brand-color2);
  }

  .mobile-menu-only {
    display: list-item;
  }


  /* Mobile dropdowns */

  .navbar .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    min-width: 0;
    border: 0;
    background-color: rgba(var(--black-rgb), 0.1);
  }

  .navbar .dropdown-item {
    padding: 0.7rem 1rem 0.7rem 2rem;
    color: var(--white);
  }

  .navbar .dropdown-item:hover,
  .navbar .dropdown-item:focus,
  .navbar .dropdown-menu .active > .dropdown-item {
    color: var(--white);
    background-color: var(--brand-color2);
  }

  .dropdown-submenu > .dropdown-menu {
    position: static;
    width: 100%;
  }

  .dropdown-submenu .dropdown-item {
    padding-left: 3rem;
  }

  .navbar-nav .dropdown > .nav-link::after {
    display: none;
  }

}

/* === FOOTER MENU === */
ul.menufooter {
	padding: 0 !important;
	margin: 0 !important;
	list-style: none;
}
.menufooter li {
	padding: 0 0 0.75rem 0;
  font-size: 0.875rem;
	position:relative;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.menufooter li a {
	color: var(--white);
}
.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;
}
.menufooter li a:hover {
  color: var(--brand-color2);
}

/* === 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: start;
  gap: 0.9rem 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(--white);
  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-no-banner {
    -webkit-box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.2);
}


/* ==================================================
   Header top bar
================================================== */

.header-topbar {
    background-color: var(--brand-color1);
    color: var(--white);
}


/* ==================================================
   Header contact details
================================================== */

.site-contact {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    min-height: 3.75rem;
}

.site-contact__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.site-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--brand-color2);
    line-height: 1;
}

.site-contact__icon i {
    font-size: 1rem;
    line-height: 1;
}

.site-contact__link {
    color: var(--white);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.site-contact__link:hover,
.site-contact__link:focus {
    color: var(--white);
    text-decoration: underline;
}


/* ==================================================
   Header navigation area
================================================== */

.header-navigation {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}


/* ==================================================
   Header call to action
================================================== */

.header-cta {
    display: flex;
    align-items: stretch;
}

.header-cta .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border: 0;
    border-radius: 0;
    background-color: var(--brand-color2);
    color: var(--white);
    font-size: 0.775rem;
    font-family: var(--font-body);
    line-height: 1.2;
    white-space: nowrap;
}

.header-cta .btn:hover,
.header-cta .btn:focus {
    background-color: var(--brand-color2);
    color: var(--white);
    font-weight: 700;
}


/* ==================================================
   Mobile header
================================================== */

@media (max-width: 767.98px) {

    .site-contact {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: auto;
        padding-block: 0.75rem;
        text-align: center;
    }

    .site-contact__item {
        justify-content: center;
        width: 100%;
    }

}

/* ==================================================
   Main header row
================================================== */

.header-main {
  position: relative;
  padding-block: 1.5rem;
}

.header-main .row {
  min-height: calc(var(--logo-height) + 1rem);
}

.header-main__navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}


/* ==================================================
   Logo
================================================== */

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.logo__link {
  display: inline-block;
}

.logo img {
  display: block;
  width: auto;
  max-height: var(--logo-height);
}

.site-title {
  font-family: var(--font-headings);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.site-title a {
  color: var(--brand-color1);
  text-decoration: none;
}

.site-title a:hover,
.site-title a:focus {
  color: var(--brand-color2);
}

.site-description {
  margin-top: 0.25rem;
  color: var(--muted-color);
  font-size: 0.875rem;
}


/* ==================================================
   Header search
================================================== */

.main-nav-search {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-search-form {
  display: none;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.header-search-form.is-visible {
  display: flex;
}

.header-search-input.form-control {
  width: 220px;
  min-height: 2.5rem;
  border-color: var(--body-borders);
  border-radius: 0;
  color: var(--body-color);
  background-color: var(--white);
  box-shadow: none;
}

.header-search-input.form-control:focus {
  border-color: var(--brand-color2);
  box-shadow: 0 0 0 0.2rem rgba(var(--brand-color2-rgb), 0.15);
}

.header-search-toggle,
.header-search-submit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  color: var(--brand-color2);
  background-color: transparent;
  line-height: 1;
}

.header-search-toggle:hover,
.header-search-toggle:focus,
.header-search-submit:hover,
.header-search-submit:focus {
  color: var(--brand-color1);
  outline: 0;
}

.header-search-toggle i,
.header-search-submit i {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}


/* ==================================================
   Tablet / mobile header
================================================== */

@media (max-width: 991.98px) {

  .header-main {
    padding-block: 1rem;
  }

  .header-main .row {
    min-height: 0;
  }

  .main-nav-search {
    width: 100%;
    margin: 1rem 0 0;
    padding-inline: 1rem;
  }

  .header-search {
    width: 100%;
  }

  .header-search-toggle {
    display: none;
  }

  .header-search-form,
  .header-search-form.is-visible {
    display: flex;
    width: 100%;
  }

  .header-search-input.form-control {
    width: 100%;
  }

  .header-search-submit {
    color: var(--brand-color2);
  }

}



/* === FOOTER === */
#footer {
	background-color: var(--brand-color1);
  --rule-color: var(--brand-color2);
  color: var(--white);
	position: relative;
  margin-top: 4rem;
  border-top: 10px solid var(--brand-color2);
}
#footer h4 {
    position: relative;
	color: var(--white);
  margin: 0 0 1.5625rem;
    padding-bottom: 0.75rem;
}
/* Orange line beneath title */
#footer h4::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 25%;
    height: 2px;
    content: "";
    background-color: var(--brand-color2);
}
#footer p {
	color: var(--white);
  font-size: 0.875rem;
}
#footer i {
	color: var(--brand-color2);
}
#footer span {
	color: var(--brand-color2);
    display: inline-block;
    margin-right: 0.625rem;
    font-size: 1rem;
}
.site-footer {
	background-color: var(--brand-color1);
  color: var(--white);
}
.site-copyright {
	font-size: 0.8125rem;
}
.site-copyright a {
	color: var(--white);
}
.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(--white);
	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
================================================== */

/* ==================================================
   COMMON BANNER WRAPPER
================================================== */

.bannersection {
    position: relative;
    z-index: 1;
    width: 100%;
    height: calc(100svh - var(--site-header-height));
    min-height: 420px;
    overflow: hidden;
}

@supports not (height: 100svh) {
    .bannersection {
        height: calc(100vh - var(--site-header-height));
    }
}

/* Critical: inner banner must inherit bannersection height */
.bannersection > .banner,
.bannersection > .banner.bgimg,
.bannersection > .banner.noprint,
.bannersection .banner,
.bannersection .bgimg,
.bannersection .carousel,
.bannersection .carousel-inner,
.bannersection .carousel-item,
.bannersection .carouselh,
.bannersection .video-banner-wrap,
.bannersection .video-container,
.bannersection .mp4-video-container,
.bannersection .video-mobile {
    height: 100%;
    min-height: 100%;
}

.bgimg,
.carousel-item,
.carouselh,
.video-mobile {
    position: relative;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    overflow: hidden;
}

/* ==================================================
   SINGLE IMAGE BANNER
================================================== */

.hero-bg {
    position: relative;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    display: block;
}

.hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
    pointer-events: none;
}

.hero-bg .caption {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* ==================================================
   SLIDESHOW / CAROUSEL
================================================== */

#carouselslider {
    position: relative;
    z-index: 1;
    background-color: #000;
}

#carouselslider,
#carouselslider .carousel-inner,
#carouselslider .carousel-item {
    height: 100%;
}

#carouselslider .carousel-inner,
#carouselslider .carousel-item {
    background-color: #000;
}

.carousel-item {
    position: relative;
}

.carousel-fade .carousel-item {
    display: block;
    opacity: 0;
    transition: opacity 2s ease-in-out !important;
    left: 0;
    top: 0;
}

.carousel-fade .carousel-item.active {
    opacity: 1 !important;
    transition: opacity 2s ease-in-out !important;
    z-index: 2;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    z-index: 1;
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    z-index: 0;
    opacity: 0;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 10;
    transition: all .5s;
}
#carouselslider {
    overflow: visible;
}

#carouselslider .carousel-indicators {
    z-index: 6;
    bottom: -2rem;
    margin-bottom: 0;
}
.bannersection:has(#carouselslider) {
    margin-bottom: 2rem;
    overflow: visible;
}
#carouselslider .carousel-indicators [data-bs-target] {
    background-color: var(--brand-color1);
}

#carouselslider .carousel-indicators .active {
    background-color: var(--brand-color2);
}

@media (prefers-reduced-motion: reduce) {
    .carousel-fade .carousel-item {
        transition: none;
    }
}

/* ==================================================
   VIDEO BANNER
================================================== */

.video-banner-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.video-container,
.mp4-video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    overflow: hidden;
}
/* YOU TUBE OPTION 1 - HEIGHT IS FULL VIDEO HEIGHT - NO CROPPING */
/*
.video-banner-wrap:has(iframe[src*="youtube.com"]),
.video-banner-wrap:has(iframe[src*="youtu.be"]) {
    height: auto;
    min-height: 0;
    overflow: visible;
}

.video-banner-wrap:has(iframe[src*="youtube.com"]) .video-container,
.video-banner-wrap:has(iframe[src*="youtu.be"]) .video-container {
    position: relative;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
}

.video-banner-wrap:has(iframe[src*="youtube.com"]) iframe,
.video-banner-wrap:has(iframe[src*="youtu.be"]) iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
}

.video-banner-wrap:has(iframe[src*="youtube.com"]) .banner-video,
.video-banner-wrap:has(iframe[src*="youtu.be"]) .banner-video {
    position: absolute;
    inset: 0;
    height: 100%;
}
*/
/* YOU TUBE OPTION 1 - END */
/* YOU TUBE OPTION 2 - HEIGHT IS CROPPED */
.video-banner-wrap:has(iframe[src*="youtube.com"]),
.video-banner-wrap:has(iframe[src*="youtu.be"]) {
    height: calc(100svh - var(--site-header-height));
    min-height: 420px;
    overflow: hidden;
}

.video-banner-wrap:has(iframe[src*="youtube.com"]) .video-container,
.video-banner-wrap:has(iframe[src*="youtu.be"]) .video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-banner-wrap:has(iframe[src*="youtube.com"]) iframe,
.video-banner-wrap:has(iframe[src*="youtu.be"]) iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100vw, calc((100svh - var(--site-header-height)) * 16 / 9));
    height: max(calc(100vw * 9 / 16), calc(100svh - var(--site-header-height)));
    transform: translate(-50%, -50%);
    pointer-events: none;
}
/* YOU TUBE OPTION 2 - END */
.video-container iframe,
.video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    pointer-events: none;
    object-fit: cover;
}

.mp4-video-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
    pointer-events: none;
}

.mp4-video-container video {
    z-index: 0;
}

.video-mobile {
    display: none;
    position: relative;
    pointer-events: none;
    clear: both;
}

.banner-video .caption {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Hide iframe video on smaller screens */
@media (max-width: 1198px) {
    .video-container iframe {
        display: none;
    }

    .video-mobile {
        display: block;
    }
}

/* ==================================================
   Banner caption
================================================== */

.caption {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bannercaption {
    position: relative;
}

.banner-caption-box {
    --chamfer-size: var(--chamfer-lg);
    position: relative;
    color: var(--white);
    background-color: var(--brand-color1);
    clip-path: polygon(
        0 0,
        calc(100% - var(--chamfer-size)) 0,
        100% var(--chamfer-size),
        100% 100%,
        0 100%
    );
    pointer-events: auto;
}

.banner-caption-box h2 {
    color: var(--white);
    font-family: var(--font-alternative);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1;
}

.banner-caption-text {
    margin: 2rem 0;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.6;
}

.banner-caption-buttons {
    position: relative;
}

.caption.scrolled {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}
@media (max-width: 575.98px) {

    .banner-caption-buttons .btn {
        display: block;
        width: 100%;
    }

    .banner-caption-buttons .btn + .btn {
        margin-top: 0.5rem;
        margin-left: 0 !important;
    }

}


/* === FLEX CONTAINER === */
.flexcontainer {
	position: relative;
	z-index:2;
	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 {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
#mainflex > section,
#mainflex > .widget-area {
    flex: 0 0 100%;
    width: 100%;
}
.fcscrolled {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.flexcontainer img  { 
	max-width: 100%;
	height: auto;
}
.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-color2);
}

/* === MAIN CONTENT === */
#maincontent {
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
}
/* ==========================================
   MAIN CONTENT LISTS
========================================== */

/* Standard unordered lists */
#maincontent ul:not(.list-unstyled):not(.nav):not(.pagination) {
    list-style-type: square;
    list-style-position: outside;
}

/* Orange square bullets */
#maincontent ul:not(.list-unstyled):not(.nav):not(.pagination) > li::marker {
    color: var(--brand-color2);
}

/* Standard numbered lists */
#maincontent ol:not(.list-unstyled) {
    list-style-type: decimal;
    list-style-position: outside;
}

/* Nested unordered lists */
#maincontent ul:not(.list-unstyled):not(.nav):not(.pagination) ul {
    list-style-type: circle;
    list-style-position: outside;
}

/* Nested numbered lists */
#maincontent ol:not(.list-unstyled) ol {
    list-style-type: lower-latin;
    list-style-position: outside;
}
/* ==================================================
   Chamfered images
================================================== */

.img-chamfer,
.img-chamfer-wrap {
    --chamfer-size: var(--chamfer-lg);
}

.img-chamfer {
    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        var(--chamfer-size) 100%,
        0 calc(100% - var(--chamfer-size))
    );
}

.img-chamfer-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;

    margin-left: var(--chamfer-shadow);
    margin-bottom: var(--chamfer-shadow);
}

.img-chamfer-wrap::before {
    position: absolute;
    bottom: calc(var(--chamfer-shadow) * -1);
    left: calc(var(--chamfer-shadow) * -1);
    z-index: 0;
    width: 45%;
    height: 55%;
    content: "";
    background-color: var(--brand-color1);
    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        var(--chamfer-size) 100%,
        0 calc(100% - var(--chamfer-size))
    );
}

.img-chamfer-wrap img {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    height: auto;

    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        var(--chamfer-size) 100%,
        0 calc(100% - var(--chamfer-size))
    );
}

/* === WIDGETS START === */
.widget-area {
	line-height: 1.5;
}
.widget-area h2 a {
	color: var(--headings-color);
}

/* ==================================================
   Call to Action 2
================================================== */

#cta2 {
    --rule-color: var(--brand-color1);
}
/* ==================================================
   Call to Action 3
================================================== */

#cta3 {
    position: relative;
    clear: both;
    color: var(--white);

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* --------------------------------------------------
   Background image overlay
-------------------------------------------------- */

#cta3::before {
    position: absolute;
    inset: 0;
    z-index: 1;

    content: "";
/*
    background-color: rgba(var(--black-rgb), 0.6);
    pointer-events: none;*/
}


/* --------------------------------------------------
   Keep content above background overlay
-------------------------------------------------- */

#cta3 .container {
    position: relative;
    z-index: 2;
}


/* --------------------------------------------------
   Caption panel wrapper / solid shadow
-------------------------------------------------- */

#cta3 .cta3-panel-wrap {
    --chamfer-size: var(--chamfer-lg);
    position: relative;
    margin-right: var(--chamfer-shadow);
    margin-bottom: var(--chamfer-shadow);
}
#cta3 .cta3-panel-wrap::before {
    position: absolute;
    right: calc(var(--chamfer-shadow) * -1);
    bottom: calc(var(--chamfer-shadow) * -1);
    z-index: 0;
    width: 45%;
    height: 55%;
    content: "";
    background-color: var(--brand-color2);
}


/* --------------------------------------------------
   Blue caption panel
-------------------------------------------------- */

#cta3 .cta3-text-bg {
    position: relative;
    z-index: 1;
    color: var(--white);
    background-color: var(--brand-color1);
    clip-path: polygon(
        0 0,
        calc(100% - var(--chamfer-size)) 0,
        100% var(--chamfer-size),
        100% 100%,
        0 100%
    );
}


/* --------------------------------------------------
   Caption typography
-------------------------------------------------- */

#cta3 .cta3-text-bg h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.75rem);
    line-height: 1.05;
}

#cta3 .cta3-text {
    color: var(--white);
    line-height: 1.6;
}


/* ==================================================
   Quicklinks Type 1
================================================== */

#quicklink1 {
    background-color: var(--brand-color3);
}

#quicklink1b {
    row-gap: 2rem;
}


/* --------------------------------------------------
   Equal-height columns
-------------------------------------------------- */

.ql-col {
    display: flex;
}


/* --------------------------------------------------
   Whole-card wrapper
-------------------------------------------------- */

.ql1outer {
    display: flex;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease;
}


/* --------------------------------------------------
   Main card
-------------------------------------------------- */

.ql1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}


/* --------------------------------------------------
   Image
-------------------------------------------------- */

.ql1-image-wrap {
    --chamfer-size: var(--chamfer-lg);
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--brand-color1);
    clip-path: polygon(
        var(--chamfer-size) 0,
        100% 0,
        100% 100%,
        0 100%,
        0 var(--chamfer-size)
    );
}

.ql1-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}


/* --------------------------------------------------
   Content panel
-------------------------------------------------- */

.ql1-content {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 2rem 2rem 5.5rem;
    margin-top: -1px;

    color: var(--white);
    background-color: var(--brand-color1);
}

.ql1-heading {
    margin: 0 0 1rem;
    color: var(--white);
}

.ql1-text {
    color: var(--white);
    font-size: 0.875rem;
    line-height: 1.6;
}


/* --------------------------------------------------
   Read-more square
-------------------------------------------------- */

.ql1-more {
    position: absolute;
    bottom: 0;
    right: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 3rem;
    height: 3rem;

    color: var(--white);
    background-color: var(--brand-color2);
}

.ql1-more i {
    font-size: 1rem;
    line-height: 1;
}


/* --------------------------------------------------
   Hover
-------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    .ql1outer:hover {
        transform: translateY(-7px);
    }

    .ql1outer:hover .ql1-image {
        transform: scale(1.035);
    }

}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 767.98px) {

    .ql1-content {
        padding: 1.5rem 1.5rem 5rem;
    }

}


/* --------------------------------------------------
   Reduced motion
-------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .ql1outer,
    .ql1-image {
        transition: none;
        transform: none;
    }

}

/* ==================================================
   Quicklinks 2
================================================== */

#quicklink2 {
    --rule-color: var(--brand-color3);
}

#quicklink2 .ql2outer {
    height: 100%;
    transition: transform 0.3s ease;
}

#quicklink2 .ql2inner {
    --chamfer-size: var(--chamfer-lg);
    position: relative;
    min-height: 100%;
    padding-bottom: 5.5rem !important;
    color: var(--white);
    background-color: var(--brand-color1);
    clip-path: polygon(
        var(--chamfer-size) 0,
        100% 0,
        100% 100%,
        0 100%,
        0 var(--chamfer-size)
    );
}


/* Icon */

#quicklink2 .ql2icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--brand-color2);
    font-size: 4rem;
    line-height: 1;
}

#quicklink2 .ql2icon i {
    line-height: 1;
}

/* Mobile portrait */
@media (max-width: 575.98px) {
  #quicklink2 .ql2icon {
      font-size: 4rem;
  }
}

/* Mobile landscape / small tablets */
@media (min-width: 576px) and (max-width: 767.98px) {
  #quicklink2 .ql2icon {
      font-size: 3rem;
  }
}

/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  #quicklink2 .ql2icon {
      font-size: 3rem;
  }
}

/* Heading and text */

#quicklink2 .ql2inner h3 {
    color: var(--white);
}

#quicklink2 .ql2text {
    color: var(--white);
    line-height: 1.6;
}


/* Read-more square */

#quicklink2 .ql2link {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    color: var(--white);
    background-color: var(--brand-color2);
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

#quicklink2 .ql2link i {
    font-size: 1rem;
    line-height: 1;
}

#quicklink2 .ql2link:hover,
#quicklink2 .ql2link:focus {
    color: var(--white);
    background-color: var(--brand-color2);
}

#quicklink2 .ql2link:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: -4px;
}


/* Hover lift */

@media (hover: hover) and (pointer: fine) {

    #quicklink2 .ql2outer:hover {
        transform: translateY(-7px);
    }

}


/* Icon zoom-in when card becomes visible */

#quicklink2 .anim-zoom-icon {
    transform: scale(0.85);
    transition: transform 0.6s ease;
}

#quicklink2 [data-animate].is-inview .anim-target .anim-zoom-icon {
    transform: scale(1);
}


/* Responsive */

@media (max-width: 767.98px) {

    #quicklink2 .ql2inner {
        padding-bottom: 5rem !important;
    }

    #quicklink2 .ql2link {
        width: 3.5rem;
        height: 3.5rem;
    }

}


@media (prefers-reduced-motion: reduce) {

    #quicklink2 .ql2outer,
    #quicklink2 .anim-zoom-icon {
        transition: none;
        transform: none;
    }

}


/* ==================================================
   Counters
================================================== */

.counter {
    transition: transform 0.5s ease;
}

.counter-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 6.5rem;
    height: 6.5rem;

    margin-inline: auto;

    color: var(--brand-color2);
    background-color: rgba(var(--brand-color2-rgb), 0.2);

    border-radius: 50%;
}

.counter-icon i {
    color: inherit;
    font-size: 3rem;
    line-height: 1;
}

.counter-text {
    width: 100%;
    color: var(--brand-color1);
}

.counter-number {
    margin-top: 0;
    padding-top: 0;

    color: var(--brand-color2);

    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;

    transition: all 0.5s ease;
}

/* ==================================================
   Prices Bar
================================================== */

#pricebar {
    --rule-color: var(--brand-color2);

    color: var(--white);
    background-color: var(--brand-color1);
}

#pricebar h2,
#pricebar .text-center {
    color: var(--white);
}


/* --------------------------------------------------
   Card
-------------------------------------------------- */

.pricing-wrapper {
    --chamfer-size: var(--chamfer-sm);
    position: relative;
    overflow: hidden;
    color: var(--white);
    background-color: var(--brand-color1);
    clip-path: polygon(
        0 0,
        calc(100% - var(--chamfer-size)) 0,
        100% var(--chamfer-size),
        100% 100%,
        0 100%
    );
    transition: transform .25s ease;
}


/* --------------------------------------------------
   Header
-------------------------------------------------- */

.pricing-header {
    min-height: 10rem;

    text-align: left;

    background-color: rgba(var(--white-rgb), .2);
}

.pricing-icon {
    color: var(--brand-color2);

    font-size: 3rem;
    line-height: 1;
}

.pricing-title {
    color: var(--white);

    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}


/* --------------------------------------------------
   Main body
-------------------------------------------------- */

.pricing-main {
    color: var(--white);
}

.pricing-price-wrap {
    width: 100%;
}

.pricing-price {
    position: relative;

    display: inline-flex;
    align-items: baseline;
    justify-content: center;

    color: var(--white);

    font-weight: 700;
    line-height: 1;
}

.pricing-amount {
    font-size: clamp(2.75rem, 5vw, 4rem);
}

.pricing-currency {
    margin-right: .2rem;

    font-size: 1.25rem;
    font-weight: 700;
}

.pricing-subtitle {
    margin-left: .4rem;

    font-size: .85rem;
    font-weight: 400;
    line-height: 1.2;
}


/* --------------------------------------------------
   WYSIWYG content
-------------------------------------------------- */

.pricing-body {
    width: 100%;

    color: var(--white);
    text-align: left;
}

.pricing-body p:last-child {
    margin-bottom: 0;
}

.pricing-body ul,
.pricing-body ol {
    margin: 0;
    padding-left: 0;

    list-style: none;
}

.pricing-body li {
    padding: .75rem 0;

    border-bottom: 1px solid rgba(var(--white-rgb), .2);
}

.pricing-body li:first-child {
    padding-top: 0;
}

.pricing-body li:last-child {
    border-bottom: 0;
}


/* --------------------------------------------------
   Footer button
-------------------------------------------------- */

.pricing-footer {
    width: 100%;
}

.pricing-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 4.5rem;

    padding: 1rem 1.5rem;

    color: var(--white);
    background-color: var(--brand-color2);

    font-weight: 700;
    text-align: center;
    text-decoration: none;

    transition: background-color .25s ease;
}

.pricing-button:hover,
.pricing-button:focus {
    color: var(--white);
    background-color: var(--brand-color2);
}

.pricing-button:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: -4px;
}


/* --------------------------------------------------
   Hover
-------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    .pricing-wrapper:hover {
        transform: translateY(-7px);
    }

}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 767.98px) {

    .pricing-header {
        min-height: auto;
    }

}

/* ==================================================
   News / Blog
================================================== */

#newsbar {
    background: linear-gradient(
        to bottom,
        var(--white) 0%,
        var(--white) 50%,
        var(--brand-color3) 50%,
        var(--brand-color3) 100%
    );
}

.news-view-all {
  color: var(--brand-color1);
  text-transform: uppercase;
  font-size: 1.125rem;
  letter-spacing: 1px;

}


/* --------------------------------------------------
   Card / column
-------------------------------------------------- */

#newsbar .news-card-hover {
    transition: transform .3s ease;
}

#newsbar .news-card {
    overflow: visible;
}


/* --------------------------------------------------
   Image
-------------------------------------------------- */

#newsbar .news-card-img {
    --chamfer-size: var(--chamfer-lg);
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
    overflow: hidden;
    background-color: var(--brand-color1);
    clip-path: polygon(
        var(--chamfer-size) 0,
        100% 0,
        100% 100%,
        0 100%,
        0 var(--chamfer-size)
    );
}

#newsbar .news-card-img img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .6s ease;
}

#newsbar .news-card-img-fallback {
    width: 100%;
    height: 100%;

    background-color: var(--brand-color3);
}


/* --------------------------------------------------
   Text panel
-------------------------------------------------- */

#newsbar .news-card-body {
    position: relative;

    /*
     * Tiny overlap prevents a sub-pixel line appearing
     * between the clipped image and blue panel.
     */
    margin-top: -1px;

    padding: 2rem 2rem 5.5rem;

    color: var(--white);
    background-color: var(--brand-color1);
}

#newsbar .news-card-title {
    margin: 0 0 1rem;

    color: var(--white);
}

#newsbar .news-card-title a {
    color: inherit;
}

#newsbar .news-card-title a:hover,
#newsbar .news-card-title a:focus {
    color: inherit;
}

#newsbar .news-card-text {
    color: var(--white);

    font-size: .875rem;
    line-height: 1.6;
}


/* --------------------------------------------------
   Orange plus
-------------------------------------------------- */
#newsbar .news-card-more {
    position: absolute;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 3rem;
    height: 3rem;

    color: var(--white);
    background-color: var(--brand-color2);

    text-decoration: none;

    transition: background-color .25s ease;
}

#newsbar .news-card-more i {
    font-size: 1rem;
    line-height: 1;
}

#newsbar .news-card-more:hover,
#newsbar .news-card-more:focus {
    color: var(--white);
    background-color: var(--brand-color2);
}

#newsbar .news-card-more:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: -4px;
}


/* --------------------------------------------------
   Hover
-------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    #newsbar .news-card-hover:hover {
        transform: translateY(-7px);
    }

    #newsbar .news-card-hover:hover .news-card-img img {
        transform: scale(1.035);
    }

}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 767.98px) {

    #newsbar .news-card-body {
        padding: 1.5rem 1.5rem 5rem;
    }

}


/* --------------------------------------------------
   Reduced motion
-------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    #newsbar .news-card-hover,
    #newsbar .news-card-img img {
        transition: none;
        transform: none;
    }

}

/* ==================================================
   Gallery Widget
================================================== */

#gallerybar {
    position: relative;
}


/* --------------------------------------------------
   Introduction
-------------------------------------------------- */

#gallerybar .gallery-intro {
    position: relative;
}

#gallerybar .gallery-intro-text {
    line-height: 1.6;
}


/* --------------------------------------------------
   Carousel controls
-------------------------------------------------- */

#gallerybar .gallery-controls {
    align-items: center;
}

#gallerybar .gallery-control {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 2.5rem;
    height: 2.5rem;

    padding: 0;

    color: var(--white);
    background-color: var(--brand-color2);

    border: 0;
    border-radius: 0;

    transition: transform .25s ease;
}

#gallerybar .gallery-control i {
    font-size: 1.25rem;
    line-height: 1;
}

#gallerybar .gallery-control:hover,
#gallerybar .gallery-control:focus {
    color: var(--white);
    background-color: var(--brand-color2);
}

#gallerybar .gallery-control:focus-visible {
    outline: 2px solid var(--brand-color1);
    outline-offset: 2px;
}


/* --------------------------------------------------
   Carousel / orange shadow
-------------------------------------------------- */

#gallerybar .gallery-carousel-wrap {
    position: relative;
    margin-right: var(--chamfer-shadow);
    margin-bottom: var(--chamfer-shadow);
}


/*
 * Solid orange accent extending beyond the image
 * at the bottom-right.
 */
#gallerybar .gallery-carousel-wrap::before {
    position: absolute;
    right: calc(var(--chamfer-shadow) * -1);
    bottom: calc(var(--chamfer-shadow) * -1);
    z-index: 0;
    width: 45%;
    height: 55%;
    content: "";
    background-color: var(--brand-color2);
}


/* Keep carousel above orange accent */
#gallerybar .carousel {
    position: relative;
    z-index: 1;
}


/* --------------------------------------------------
   Image
-------------------------------------------------- */

#gallerybar .gallery-slide {
    --chamfer-size: var(--chamfer-lg);
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--brand-color3);
    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        var(--chamfer-size) 100%,
        0 calc(100% - var(--chamfer-size))
    );
}

#gallerybar .gallery-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 767.98px) {

    #gallerybar .gallery-control {
        width: 3.25rem;
        height: 3.25rem;
    }

}

/* ==================================================
   Testimonials / Reviews
================================================== */

#testimonials {
    position: relative;
    clear: both;
}


/* --------------------------------------------------
   Carousel
-------------------------------------------------- */

#testimonials .carousel {
    /*
     * Space below grey testimonial panel for indicators.
     */
    padding-bottom: 3rem;
}

#testimonials .carousel-item {
    padding: 0;
}


/* --------------------------------------------------
   Testimonial panel
-------------------------------------------------- */

#testimonials .testimonial-card {
    --chamfer-size: var(--chamfer-lg);
    width: 100%;
    overflow: hidden;
    background-color: var(--brand-color3);
    clip-path: polygon(
        0 0,
        calc(100% - var(--chamfer-size)) 0,
        100% var(--chamfer-size),
        100% 100%,
        0 100%
    );
}

#testimonials .testimonial-content-wrap {
    display: flex;
    flex-direction: column;

    min-height: 18rem;

    padding: 3rem 4rem 2.5rem;
}


/* --------------------------------------------------
   Review
-------------------------------------------------- */

#testimonials .testimonial-quote {
    position: relative;

    margin: 0;

    padding: 0 0 2rem 6.5rem;

    color: var(--body-color);

    font-family: "Times New Roman", Times, serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.7;
}

#testimonials .testimonial-quote::before {
    position: absolute;
    top: 0;
    left: 0;

    content: "\f10d";

    color: var(--brand-color2);

    font-family: var(--font-icons);
    font-size: 5rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}


/* --------------------------------------------------
   Reviewer
-------------------------------------------------- */

#testimonials .testimonial-meta {
    margin-top: auto;

    text-align: center;
}

#testimonials .testimonial-author {
    color: var(--brand-color2);

    font-weight: 700;
    letter-spacing: 2px;
}


/* --------------------------------------------------
   Carousel indicators
-------------------------------------------------- */

#testimonials .testimonial-indicators {
    position: absolute;
    right: 0;
    bottom: .5rem;
    left: 0;

    display: flex;
    justify-content: center;

    gap: .625rem;

    margin: 0;
    padding: 0;
}

#testimonials .testimonial-indicators [data-bs-target] {
    width: .625rem;
    height: .625rem;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background-color: var(--brand-color1);

    opacity: 1;
}

#testimonials .testimonial-indicators .active {
    background-color: var(--brand-color2);
}


/* --------------------------------------------------
   Intro spacing
-------------------------------------------------- */

#testimonials .mb-5.text-center {
    margin-bottom: 2.5rem !important;
}


/* --------------------------------------------------
   Tablet
-------------------------------------------------- */

@media (max-width: 991.98px) {

    #testimonials .testimonial-content-wrap {
        min-height: 16rem;
        padding: 2.5rem 3rem 2rem;
    }

    #testimonials .testimonial-quote {
        font-size: 1.125rem;
    }

}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 575.98px) {

    #testimonials .testimonial-content-wrap {
        min-height: 0;
        padding: 2rem 1.5rem 1.75rem;
    }

    #testimonials .testimonial-quote {
        padding-left: 2.5rem;

        font-size: 1rem;
        line-height: 1.6;
    }

    #testimonials .testimonial-quote::before {
        font-size: 1.5rem;
    }

    #testimonials .testimonial-author {
        font-size: .875rem;
        line-height: 1.4;
    }

}


/* === ENQUIRY FORM === */
.enquiryfrmbgalt { 
  box-shadow: rgba(0,0,0,0.25) 0px 3px 11px 0px !important;
    -moz-box-shadow: rgba(0,0,0,0.25) 0px 3px 11px 0px !important;
    -webkit-box-shadow: rgba(0,0,0,0.25) 0px 3px 11px 0px !important;
}
#enquiryfrm  {
	background-color: var(--body-borders);
}
#enquiryfrm a:hover {
	text-decoration:none;
}
#enquiryfrm .form-control {
    padding: 1.5rem;
}
.enquiryfrmbgalt .form-control {
    padding: 1.25rem;
    font-size: .875rem;
}

/* === LOCATION MAP === */
#map_canvas {
	height:600px;
}
/* Mobile */
@media (max-width: 575.98px) {
	#map_canvas {
		height:400px;
	}
}

/* ==================================================
   Team Section / Team Grid
================================================== */

#team {
    --rule-color: var(--brand-color3);

    background-color: var(--brand-color3);
}

#team a:hover,
.team-grid a:hover {
    text-decoration: none;
}

#team .teamrow {
    row-gap: 3rem;
}


/* --------------------------------------------------
   Card
-------------------------------------------------- */

#team .team-card,
.team-grid .team-card {
    --chamfer-size: var(--chamfer-sm);
    --team-offset: 15px;
    --team-overlap: 100px;

    position: relative;
    width: 100%;
    height: 100%;

    transition: transform .3s ease;
}

#team .team-card-content,
.team-grid .team-card-content {
    position: relative;
}


/* --------------------------------------------------
   Photograph
-------------------------------------------------- */

#team .team-media-link,
.team-grid .team-media-link {
    position: relative;
    z-index: 2;

    margin-right: var(--team-offset);
}

#team .team-media,
.team-grid .team-media {
    overflow: hidden;
    background-color: var(--white);
    clip-path: polygon(
        0 0,
        calc(100% - var(--chamfer-size)) 0,
        100% var(--chamfer-size),
        100% 100%,
        0 100%
    );
}

#team .team-img,
.team-grid .team-img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .4s ease;
}

#team .team-img-fallback,
.team-grid .team-img-fallback {
    width: 100%;
    height: 100%;

    background-color: var(--white);
}


/* --------------------------------------------------
   Blue text panel
-------------------------------------------------- */

#team .team-details,
.team-grid .team-details {
    position: relative;
    z-index: 1;
    margin-top: calc(var(--team-overlap) * -1);
    margin-left: var(--team-offset);
    padding: calc(1.5rem + var(--team-overlap)) 1.5rem 1.5rem;
    text-align: left;
    background-color: var(--brand-color1);
    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        var(--chamfer-size) 100%,
        0 calc(100% - var(--chamfer-size))
    );
}


/* --------------------------------------------------
   Name / job title
-------------------------------------------------- */

#team .team-name,
.team-grid .team-name {
    margin: 0 0 .15rem;

    color: var(--white);

    font-size: 1.5rem;
    line-height: 1.2;
}

#team .team-name a,
.team-grid .team-name a {
    color: inherit;
}

#team .team-name a:hover,
#team .team-name a:focus,
.team-grid .team-name a:hover,
.team-grid .team-name a:focus {
    color: inherit;
}

#team .team-job,
.team-grid .team-job {
    color: var(--brand-color2);

    font-size: .9375rem;
    line-height: 1.4;
    font-weight: 700;
}


/* --------------------------------------------------
   Hover
-------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    #team .team-card:hover,
    .team-grid .team-card:hover {
        transform: translateY(-7px);
    }

    #team .team-card:hover .team-img,
    .team-grid .team-card:hover .team-img {
        transform: scale(1.035);
    }

}


/* --------------------------------------------------
   Reduced motion
-------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    #team .team-card,
    .team-grid .team-card,
    #team .team-img,
    .team-grid .team-img {
        transition: none;
        transform: none;
    }

}

/* Team member page social icons */
.teamicon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background-color: var(--brand-color2);
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  border: 1px solid var(--brand-color2);
  border-radius: 50%;
  text-decoration: none;
  transition: 
    transform .25s ease,
    background .3s ease,
    border-radius .3s ease;
}
.teamsocial .social-link {
    width: 2rem;
    height: 2rem;
  color: var(--white);
  border: 1px solid var(--brand-color2);
  background-color: var(--brand-color2);
  border-radius: 50%;
}
.teamsocial .social-link:hover {
  border: 1px solid var(--white);
}

.teamsocial .social-link i {
    font-size: 1.125rem;
  color: var(--white) !important;
}

.teamsocial ul.social-media-list {
    gap: .5rem;
    list-style: none !important;
    padding-left: 0;
    margin-left: 0;
}
/* Mobile */
@media (max-width: 575.98px) {
  .teamsocial ul.social-media-list {
    justify-content: center;
  }
}

/* === BLOG SECTION === */
#blogprimary {
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
}
#blogprimary article:after {
	background-color: var(--brand-color1);
}
.entry-thumb img {
	max-width: 100%;
	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;
    margin: 0 0 1.5625rem;
    padding-bottom: 0.75rem;
}
/* Orange line beneath title */
#blogside h4::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 15%;
    height: 2px;
    content: "";
    background-color: var(--brand-color2);
}
.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%;
}
.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: 0rem;
    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(--white);
	background-color: var(--brand-color1);
}
.entry-footer .tag-cloud > a:hover {
	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;
}
.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 GRID
================================================== */

#gallerygrid {
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
}


/* ==================================================
   Category Filters
================================================== */

#gallerygrid .gallery-grid-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: .75rem;

    padding: 0;
    margin: 0;

    list-style: none;
}

#gallerygrid .gallery-grid-filters li {
    margin: 0;
    padding: 0;

    list-style: none;
}

#gallerygrid .gallery-grid-filters li::marker {
    content: "";
}

#gallerygrid .gallery-grid-filters a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: .75rem 1.25rem;

    color: var(--white);
    background-color: var(--brand-color1);

    font-size: .875rem;
    line-height: 1.3;

    text-decoration: none;

    transition: background-color .3s ease;
}

#gallerygrid .gallery-grid-filters a:hover,
#gallerygrid .gallery-grid-filters li.active a {
    color: var(--white);
    background-color: var(--brand-color2);
}


/* ==================================================
   Gallery Cards
================================================== */

#gallerygrid .gallery-grid-card {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background-color: var(--brand-color3);
}


/* ==================================================
   Image Container
================================================== */

#gallerygrid .gallery-grid-media {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;
}


/* ==================================================
   Images
================================================== */

#gallerygrid .gallery-grid-media > img.gallery-grid-img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    max-width: none;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .6s ease;
}


/* ==================================================
   Hover Overlay
================================================== */

#gallerygrid .gallery-grid-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 1.5rem;

    color: var(--white);

    background-color: rgba(var(--brand-color1-rgb), .88);

    opacity: 0;

    transform: translateY(10px);

    transition:
        opacity .3s ease,
        transform .3s ease;

    pointer-events: none;
}


/* ==================================================
   Title
================================================== */

#gallerygrid .gallery-grid-title {
    position: relative;

    width: 100%;

    margin: 0;
    padding: 1rem 0;

    color: var(--white);

    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;

    text-align: center;
}


/* Top and bottom lines */

#gallerygrid .gallery-grid-title::before,
#gallerygrid .gallery-grid-title::after {
    position: absolute;

    left: 20%;

    width: 60%;
    height: 1px;

    content: "";

    background-color: rgba(var(--white-rgb), .5);
}

#gallerygrid .gallery-grid-title::before {
    top: 0;
}

#gallerygrid .gallery-grid-title::after {
    bottom: 0;
}


/* ==================================================
   Action Buttons
================================================== */

#gallerygrid .gallery-grid-actions {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: .75rem;

    margin-top: 1.5rem;
}

#gallerygrid .gallery-grid-action {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 3rem;
    height: 3rem;

    color: var(--white);
    background-color: var(--brand-color2);

    text-decoration: none;

    transition:
        background-color .3s ease,
        transform .3s ease;
}

#gallerygrid .gallery-grid-action i {
    font-size: 1.2rem;
    line-height: 1;
}

#gallerygrid .gallery-grid-action:hover {
    color: var(--white);

    background-color: var(--brand-color1);

    transform: translateY(-3px);
}


/* ==================================================
   Hover Effects
================================================== */

@media (hover: hover) and (pointer: fine) {

    #gallerygrid .gallery-grid-card:hover .gallery-grid-overlay {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    #gallerygrid .gallery-grid-card:hover .gallery-grid-img {
        transform: scale(1.05);
    }

}


/* ==================================================
   Keyboard Focus
================================================== */

#gallerygrid .gallery-grid-card:focus-within .gallery-grid-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#gallerygrid .gallery-grid-action:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}


/* ==================================================
   Touch Devices
================================================== */

@media (hover: none) {

    #gallerygrid .gallery-grid-overlay {
        opacity: 1;
        transform: none;

        justify-content: flex-end;

        padding: 1rem;

        background: transparent;

        pointer-events: auto;
    }

    #gallerygrid .gallery-grid-title {
        padding: .5rem 0;
        font-size: 1.5rem;
        text-shadow: 2px 2px 2px #000000;
    }

    #gallerygrid .gallery-grid-title::before,
    #gallerygrid .gallery-grid-title::after {
        display: none;
    }

    #gallerygrid .gallery-grid-actions {
        margin-top: .5rem;
    }

}


/* ==================================================
   Reduced Motion
================================================== */

@media (prefers-reduced-motion: reduce) {

    #gallerygrid .gallery-grid-overlay,
    #gallerygrid .gallery-grid-img,
    #gallerygrid .gallery-grid-action {
        transition: none;
    }

}
.gallery-main-image {
  width: 100%;
  max-height: 700px;
  text-align: center;
}
.gallery-main-image img {
  display: inline-block;
  max-width: 100%;
  max-height: 700px;
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* 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 Widget
================================================== */

#categories {
    line-height: 1.6;
}


/* --------------------------------------------------
   Grid
-------------------------------------------------- */

#categories .category-row {
    align-items: stretch;
}


/* --------------------------------------------------
   Card
-------------------------------------------------- */

#categories .cat-card-link {
    color: inherit;
}

#categories .cat-card {
    --chamfer-size: var(--chamfer-sm);
    position: relative;
    display: flex;
    width: 100%;
    min-height: 15rem;
    overflow: hidden;
    transition: transform .3s ease;
}


/* --------------------------------------------------
   Image
-------------------------------------------------- */

#categories .cat-media {
    position: relative;
    flex: 0 0 50%;
    width: 50%;
    overflow: hidden;
    background-color: var(--brand-color3);
    clip-path: polygon(
        var(--chamfer-size) 0,
        100% 0,
        100% 100%,
        0 100%,
        0 var(--chamfer-size)
    );
}

#categories .cat-img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .6s ease;
}

#categories .cat-img--placeholder {
    background-color: var(--brand-color3);
}


/* --------------------------------------------------
   Text panel
-------------------------------------------------- */

#categories .cat-content {
    position: relative;

    display: flex;
    flex: 0 0 50%;
    flex-direction: column;
    justify-content: center;

    width: 50%;

    padding: 2rem;

    color: var(--white);

    background-color: var(--brand-color1);
}


/* --------------------------------------------------
   Category title
-------------------------------------------------- */

#categories .cat-title {
    position: relative;

    margin: 0;
    padding-bottom: 1rem;

    color: var(--white);

    font-size: 2rem;
    line-height: 1.25;
}

/* Mobile portrait */
@media (max-width: 575.98px) {
  #categories .cat-title {
      font-size: 1.5rem;
  }
}

/* Mobile landscape / small tablets */
@media (min-width: 576px) and (max-width: 767.98px) {
  #categories .cat-title {
      font-size: 1.5rem;
  }
}

/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  #categories .cat-title {
      font-size: 1.5rem;
  }
}


/* Orange line beneath title */

#categories .cat-title::after {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 35%;
    height: 2px;

    content: "";

    background-color: var(--brand-color2);
}


/* --------------------------------------------------
   Plus button
-------------------------------------------------- */

#categories .cat-more {
    position: absolute;

    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 3rem;
    height: 3rem;

    color: var(--white);

    background-color: var(--brand-color2);
}

#categories .cat-more i {
    font-size: 1rem;
    line-height: 1;
}


/* --------------------------------------------------
   Hover
-------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    #categories .cat-card-link:hover .cat-card {
        transform: translateY(-7px);
    }

    #categories .cat-card-link:hover .cat-img {
        transform: scale(1.035);
    }

}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 575.98px) {

    #categories .cat-card {
        min-height: 12rem;
    }

    #categories .cat-content {
        padding: 1.5rem 1.5rem 4.5rem;
    }

}


/* --------------------------------------------------
   Reduced motion
-------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    #categories .cat-card,
    #categories .cat-img {
        transition: none;
        transform: none;
    }

}

/* ==================================================
   Featured Products Widget
================================================== */

#featured {
    background: linear-gradient(
        to right,
        var(--brand-color3) 0%,
        var(--brand-color3) 55%,
        var(--white) 55%,
        var(--white) 100%
    );
}

#featured .featured-intro-text {
    line-height: 1.6;
}

#featured .featured-products-row {
    align-items: stretch;
}


/* ==================================================
   Shared Product Cards
================================================== */

.prod-card {
    --chamfer-size: var(--chamfer-sm);
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: transform .3s ease;
}


/* --------------------------------------------------
   Image
-------------------------------------------------- */

.prod-media-link {
    position: relative;

    display: block;

    color: inherit;
    text-decoration: none;
}

.prod-card-grid .prod-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--white);
    clip-path: polygon(
        0 0,
        calc(100% - var(--chamfer-size)) 0,
        100% var(--chamfer-size),
        100% 100%,
        0 100%
    );
}

.prod-media > img.prod-img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    max-width: none;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .6s ease;
}

.prod-img--placeholder {
    background-color: var(--brand-color3);
}


/* --------------------------------------------------
   NEW badge
-------------------------------------------------- */

.prod-badge-new {
    position: absolute;

    top: 0;
    left: 0;

    z-index: 2;

    padding: .5rem .8rem;

    color: var(--white);

    background-color: var(--brand-color2);

    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;

    line-height: 1;
}


/* --------------------------------------------------
   Product information
-------------------------------------------------- */

.prod-content {
    position: relative;

    padding: 1.75rem 1.75rem 5.5rem;

    color: var(--white);

    background-color: var(--brand-color1);
}

.prod-title {
    margin: 0 0 .5rem;

    color: var(--white);

    font-size: 1.25rem;
    line-height: 1.25;
}

.prod-title a,
.prod-title a:hover,
.prod-title a:focus {
    color: inherit;
}

.prod-mpn {
    margin-bottom: 1.25rem;

    color: rgba(var(--white-rgb), .7);

    font-size: .8rem;
    line-height: 1.4;
}


/* --------------------------------------------------
   Price
-------------------------------------------------- */

.prod-price {
    margin-top: .5rem;

    color: var(--white);

    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
}

.prod-price sup {
    margin-left: .2rem;

    font-size: .7rem;
    font-weight: 400;

    vertical-align: super;
}

.prod-price > span {
    font-size: .9rem;
    font-weight: 400;
}


/* --------------------------------------------------
   Stock
-------------------------------------------------- */

.prod-stock {
    margin-top: .6rem;

    font-size: .8rem;
    font-weight: 700;
    line-height: 1.3;
}

.prod-stock.is-available {
    color: var(--white);
}

.prod-stock.is-low {
    color: var(--brand-color2);
}

.prod-stock.is-unavailable {
    color: var(--brand-color2);
}


/* --------------------------------------------------
   Plus
-------------------------------------------------- */

.prod-more {
    position: absolute;

    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 3rem;
    height: 3rem;

    color: var(--white);

    background-color: var(--brand-color2);

    text-decoration: none;
}

.prod-more:hover,
.prod-more:focus {
    color: var(--white);
    background-color: var(--brand-color2);
}

.prod-more:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: -4px;
}

.prod-more i {
    font-size: 1rem;
    line-height: 1;
}


/* ==================================================
   Grid Product
================================================== */

.prod-card-grid {
    display: flex;
    flex-direction: column;
}

.prod-card-grid .prod-content {
    flex: 1 1 auto;

    /*
     * Prevent occasional sub-pixel line between
     * image and blue panel.
     */
    margin-top: -1px;
}


/* ==================================================
   List Product
================================================== */

.prod-card-list {
    min-height: 20rem;
}

.prod-card-list .row {
    height: 100%;
}

.prod-card-list .prod-media-link {
    height: 100%;
}

.prod-card-list .prod-media {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 20rem;

    overflow: hidden;

    background-color: var(--white);
}

.prod-card-list .prod-content {
    height: 100%;
    clip-path: polygon(
        0 0,
        calc(100% - var(--chamfer-size)) 0,
        100% var(--chamfer-size),
        100% 100%,
        0 100%
    );
}

.prod-snippet {
    margin: .75rem 0 1.5rem;

    color: var(--white);

    font-size: .9rem;
    line-height: 1.6;
}


/* ==================================================
   Hover
================================================== */

@media (hover: hover) and (pointer: fine) {

    .prod-card:hover {
        transform: translateY(-7px);
    }

    .prod-card:hover .prod-img {
        transform: scale(1.035);
    }

}


/* ==================================================
   Mobile
================================================== */

@media (max-width: 767.98px) {
    

    #featured .featured-intro {
        padding: 2rem;

        background-color: var(--brand-color3);
    }

    .prod-content {
        padding: 1.5rem 1.5rem 5rem;
    }

    .prod-more {
        width: 3.5rem;
        height: 3.5rem;
    }


    /*
     * List layout becomes vertical on mobile.
     * Put chamfer back onto the photograph.
     */

    .prod-card-list .prod-media {
        min-height: 15rem;
        clip-path: polygon(
        0 0,
        calc(100% - var(--chamfer-size)) 0,
        100% var(--chamfer-size),
        100% 100%,
        0 100%
    );
    }

    .prod-card-list .prod-content {
        margin-top: -1px;
        clip-path: none;
    }

}

/* Mobile portrait */
@media (max-width: 575.98px) {
  #featured {
        /*
         * Once stacked, a left/right page split no
         * longer corresponds to the two columns.
         */
        background: var(--white);
    }
}

/* Mobile landscape / small tablets */
@media (min-width: 576px) and (max-width: 767.98px) {
 #featured {
        /*
         * Once stacked, a left/right page split no
         * longer corresponds to the two columns.
         */
        background: var(--white);
    }
}

/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  #featured {
        /*
         * Once stacked, a left/right page split no
         * longer corresponds to the two columns.
         */
        background: var(--white);
    }
}


/* ==================================================
   Reduced Motion
================================================== */

@media (prefers-reduced-motion: reduce) {

    .prod-card,
    .prod-img {
        transition: none;
        transform: none;
    }

}

.prod-dates {
    margin-bottom: 1rem;

    color: rgba(var(--white-rgb), .8);

    font-size: .875rem;
    line-height: 1.6;
}

/* === 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;
}
.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 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;
}
/*.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);	
}
.enlarge {
	font-size:1.5em;
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	z-index: 999;
}
.enlarge a:hover {
	text-decoration:none;
}
#maincontent .proddetailstxt h1 {
    position: relative;
}
.proddetailsprc {
	color: #5c5c5c;
	font-size: 1.75rem;
	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 {
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.proddetailsvideo .btn-outline-primary {
	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;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
#prodenqform .btn {
	width: 100%;
    display: block;
    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;
    line-height: 2;
    border-radius: 0;
    -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;
}
ul.nav-tabs { 
   list-style-type: none; 
}
.nav-tabs .nav-item {
    margin-bottom: -1px;
}
.nav-tabs .nav-link {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.nav-tabs .nav-link {
    padding: 0.5rem 1.25rem;
    margin-left: 0;
    margin-right: 2px;
}
.nav-tabs .nav-link {
    color: #999;
    border: 1px solid transparent;
    background-color: #eaeaea;
}
.nav-tabs .nav-link:hover {
    color: var(--headings-color);
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: var(--headings-color);
    background-color: var(--white);
    border-color: #dee2e6 #dee2e6 #fff;
}
.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}
.tab-content {
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
}
/* Mobile */
@media (max-width: 575.98px) {
	.nav-item {
	    width:100%;
	}
	.nav-tabs .nav-link {
	    padding: 0.5rem 1.25rem;
	    width:100%;
	    margin-left: 0;
	    margin-right: 0;
	}
	.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-color1);
    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;
  }
}