/* =============================================================================================
	BASE STYLES AND LAYOUT
============================================================================================= */

/* ------------------------------------------------------------------------ CSS Variables */

:root {
	--white: #fff;
	--black: #222;
	--red: #D13239;
	--red-lt: #EA9FA4;
	--error: #D13239;
	--grey-lt: #ededed;
	--grey-md: #454545;
	--black-dk: #151515;

	--container-side: .75rem;
	--header-height: 115px;
	--header-height-scroll: 83px;
	--section-p: 4rem;
	--section-p-sm: 3rem;
	--card-p: 2rem;
	--card-p-md: 2.5rem;
	--card-p-lg: 2.5rem;

	--font-family: 'Onest', Arial, Helvetica, sans-serif;
	/*--font-family-heading: 'Stack Sans Notch', Arial, Helvetica, sans-serif;*/
	--fw-400: 400;
	--fw-500: 500;
	--fw-700: 700;
	--lh-16: 1.6;
	--lh-13: 1.3;
	--lh-11: 1.1;

	--br-sm: .375rem;  /*btns*/
	--br-md: .75rem;  /*icon cta*/
	--br-lg: 2rem;  /*join team cta*/
	--br-xl: 4rem;  /*industries under banner */
	--br-xxl: 2rem;  /*home services - solutions sections*/
	--br-50: 50%;

	--standard-transition: all .25s ease;
}


@media (min-width: 576px) {
	:root {
		--container-side: calc((100vw - 530px) / 2);
	}
}


@media (min-width: 768px) {
	:root {
		--container-side: calc((100vw - 710px) / 2);
	}
}


@media (min-width: 992px) {
	:root {
		--container-side: calc((100vw - 950px) / 2);
		--card-p-md: 3rem;
		--card-p-lg: 4rem;
		--br-lg: 3rem;
		--br-xl: 8rem;
		--br-xxl: 12.5rem;
	}
}

@media (min-width: 1200px) {
	:root {
		--container-side: calc((100vw - 1130px) / 2);
		
	}
}

@media (min-width: 1400px) {
	:root {
		--container-side: calc((100vw - 1310px) / 2);	
		--section-p: 7rem;
		--section-p-sm: 5rem;
		--card-p: 2.5rem;
		--card-p-md: 4rem;
		--card-p-lg: 5rem;
		--br-xl: 12rem;		
	}
}

@media (min-width: 1680px) {
	:root {
		--container-side: calc((100vw - 1590px) / 2);
	}
}


/* ------------------------------------------------------------------------ Page Styles & Resets */

html {
  scroll-padding-top: calc(var(--header-height-scroll) + var(--section-p-sm));
}

body {
	font: var(--fw-400) 100%/var(--lh-16) var(--font-family); 
	color: var(--black);
	background-color: var(--white);
	text-wrap: pretty;
} 

@media (min-width: 1200px) {
	body {
		padding-top: var(--header-height);
	} 
}

/* ------------------------------------------------------------------------ Keyboard Accessibility */

.skip-link { 
	position:absolute; 
	left:-10000px; 
	top:0; 
	width:1px; 
	height:1px; 
	overflow:hidden;
	background-color: var(--red);
	color: var(--white);
	font-size: 0.875rem;
	text-decoration:none;
	z-index: 1050;
	padding:0.5rem 0.625rem; 
} 

.skip-link:focus, .skip-link.sr-only-focusable:active, .skip-link.sr-only-focusable:focus {
	position: absolute; 
	outline: none; 
	left:0;
	outline: none; 
	width:auto; 
	height:auto;
} 

.skip-link:hover {
	color: var(--white);
	background-color: var(--grey-md);
}

a:focus, .btn:focus {
	outline: solid thin rgba(0, 0, 0, 0.5);
	box-shadow: none;
} 

.sidenav__header-link:focus, .card__header-link:focus {
	outline: solid thin rgba(255, 255, 255, 0.5);
}

a:hover, a:active { outline: none !important; } /*...not with mouse (kinda) */


/* ------------------------------------------------------------------------ Headers */

h1, h2, h3, h4,
.h1, .h2, .h3, .h4  { 		
	font-weight: var(--fw-700);	
	margin-bottom: 1.5rem;
	line-height: var(--lh-11);
	letter-spacing: -1px;
}	

h1, .h1 {	
	font-size: clamp(2rem, 1.6176rem + 1.5686vw, 3.5rem);	
	font-family: var(--font-family);
}

.h1--lg {
	font-size: clamp(2.5rem, 1.9902rem + 2.0915vw, 4.5rem);
}

h2, .h2 {
	font-size: clamp(1.75rem, 1.4314rem + 1.3072vw, 3rem);
}
		
h3, .h3 { 
	font-size: clamp(1.5rem, 1.5rem + 0.8333vw, 2.5rem);
	margin-bottom: 1rem;
}	

h4, .h4 { 
	font-size: clamp(1.25rem, 1.1225rem + 0.5229vw, 1.75rem);
	margin-bottom: 1rem;
}	

h2, h3, h4  { 
	margin-top: 2rem !important;
}

hr + h2, 
hr + h3, 
section h2:first-child,
section h3:first-child,
.p--eyebrow + h2 {
	margin-top: 0 !important;
}

h2 + h3 {
	margin-top: 1.5rem !important;
}

.img--h2-icon + h2 {
	margin-top: 2rem !important;
}


@media all and (max-width: 1679px) and (min-width: 992px) {		
	.h1--lg {
		font-size: clamp(2.875rem, 1.6115rem + 2.0378vw, 3.75rem);
	}
}

/* ------------------------------------------------------------------------ Lists */

ul ul, .list__sub-list {
	margin-top: 0.25rem;
}

ul li {padding-bottom: 0.5rem;}

ul ol {
	padding-left: 1.375rem;
	margin-top: 0.25rem;
}
	
ol {
	padding-left: 2rem;
}	

ol li {padding-bottom: 0.5rem;}

ol ol {
	padding-left: 2.25rem;
	margin-top: 0.25rem;
}

ol ul {margin-top: 0.25rem;}
		
li:last-child { 
	padding-bottom:0;
}
		
					
/* ------------------------------------------------------------------------ Other Base Text Styles */

.text-red {
	color: var(--red);
}	

.color-inherit {
	color: inherit;
}	

.intro-text,
.card--case-study h4,
.card--case-study .h4 {
	font-size: 1.125rem;
}

.note {
	font-size: .875rem;
}

.p--eyebrow {
	text-transform: uppercase;
	font-weight: var(--fw-700);
	letter-spacing: 4px;
}

.breadcrumb-item a,
.breadcrumb-item.active,
.breadcrumb-item+.breadcrumb-item::before {
	color: var(--white) !important;
}


sup, sub {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup { 
	top: -0.5em; 
}

sub { 
	bottom: -0.25em; 
}

.nav-link,
.dropdown-item,
label,
table,
.btn {
	line-height: var(--lh-13);
}

.card--case-study h4,
.card--case-study .h4 {
    font-size: 1rem;
    line-height: var(--lh-16);
}

@media (min-width: 992px) {
    .text-lg-left {
        text-align: left !important;
    }
}


@media (min-width: 1400px) {	
	p,
	.p,
	li,
	label,
	table,
	.btn,
	.navbar-nav .nav-link,
    .card--case-study h4,
    .card--case-study .h4 {
		font-size: 1.125rem;
	}

	.intro-text  {
		font-size: 1.25rem;
	}

	.note {
		font-size: 1rem;
	}	
}

	
/* ------------------------------------------------------------------------ Links */

a { 
	color: var(--red); 
	font-weight: var(--fw-700);
	transition: var(--standard-transition);
	text-decoration: underline;
}	

a:hover {
	color: var(--red);
	filter: brightness(120%);
	text-decoration: none;
}

.section--grey-md a,
.card--grey-md a {
	color: var(--red-lt);
}


.a--no-underline {
	text-decoration: none;
}

.a--no-underline:hover {
	text-decoration: underline;
}

main a { 
	word-wrap: break-word; 
}

a img {
	border: none;
	-webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
	transition: var(--standard-transition);
}				

a img:hover { 
	opacity: .9;
}	



/* ------------------------------------------------------------------------ Button Styles */

.btn-grouping {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 1rem;
	margin-top: 2.5rem;
}

.btn-grouping.text-center {
	justify-content: center;
}

.btn-grouping .btn {
	flex-shrink: 0;
	width: max-content;
	margin: 0;
}

.btn {
	margin-top: 1rem; 
	padding: .625rem 1.5rem;
	border-radius: var(--br-sm);
	font-weight: var(--fw-700);	
	cursor: pointer;
}

.btn-primary {
	background-color: var(--red);
	border-color: var(--red);
	color:var(--white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-check:active+.btn-primary,
.btn-check:checked+.btn-primary,
.btn-primary.active,
.btn-primary:active,
.show>.btn-primary.dropdown-toggle,
.cta--stacked:hover .btn-primary { 
	background-color: var(--red);
	border-color: var(--red);
	filter: brightness(120%);
	box-shadow: 0px 0px 0px 6px rgba(209,50,57,0.25);
}

.section--grey-md a.btn-primary,
.card--grey-md a.btn-primary {
	color: var(--white);
}

.btn-secondary {
	color: var(--black);
	background-color: var(--white);
	border-color: var(--red);
	border-width: 2px;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-check:active+.btn-secondary,
.btn-check:checked+.btn-secondary,
.btn-secondary.active,
.btn-secondary:active,
.show>.btn-secondary.dropdown-toggle { 
	background-color: var(--red);
	border-color: var(--red);
	filter: brightness(120%);
	box-shadow: 0px 0px 0px 6px rgba(209,50,57,0.25);
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    background-color: var(--red);
	border-color: var(--red);
}

.btn-secondary:hover, .btn-secondary:focus, .btn-check:active+.btn-secondary, .btn-check:checked+.btn-secondary, .btn-secondary.active, .btn-secondary:active, .show>.btn-secondary.dropdown-toggle {
	color: var(--white);
}

/*.btn-more:before {
      content: "";
	background-color: transparent;
	border-color: transparent;
	background: url(../images/btn-arrow.svg) no-repeat left center;
    background-size: 1.25rem;
    padding: 0 0 0 2rem !important;
}
.btn-more:not(.collapsed)::before {
      transform: translateY(-50%) rotate(180deg);
}*/
.btn-more {
    position: relative;
    background: none;
    border: none;
    padding-left: 2rem !important;
}

/* Arrow */
.btn-more::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.25rem;
    height: 1.25rem;

    background: url(../images/btn-arrow.svg) no-repeat center;
    background-size: contain;

    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
}

/* Rotate when expanded */
.btn-more:not(.collapsed)::before {
    transform: translateY(-50%) rotate(180deg);
}
.btn-more:hover,
.btn-more:focus,
.btn-check:active+.btn-more,
.btn-check:checked+.btn-more,
.btn-more.active,
.btn-more:active,
.show>.btn-more.dropdown-toggle,
.btn-more.show,
.btn-more:first-child:active,
:not(.btn-check)+.btn-more:active { 
	background-color: transparent;
	border-color: transparent;
	filter: brightness(120%);
	box-shadow: none;
}

.filters {
	border: 2px solid var(--grey-lt);
	border-bottom-left-radius: var(--br-md);
	border-bottom-right-radius: var(--br-md);
	padding: calc(var(--card-p) - .5rem) var(--card-p);
}

.filters .btn {
	margin: .5rem 0;
}

@media (min-width: 992px) {	
	.filters .btn {
		margin: .5rem .5rem;
	}

	.filters {
		background-color: var(--grey-lt);
		border-radius: var(--br-lg);
	}
}

@media (min-width: 1400px) {	
	.btn {
		padding: .875rem 1.5rem;
	}
}



/* ------------------------------------------------------------------------ Images */
	
img {
	max-width: 100%;
	height: auto!important; 
}

.img--float-left, .img--float-right { 
	margin: .5rem 0 1rem 0;	
}

.img--h2-icon {
	width: auto;
	height: 3rem !important;
}

.img--ar--wrapper {
	overflow: hidden;
	position: relative;
}

.img--ar__img {	
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	transition: var(--standard-transition);
}

.img--ar--h2-icon {
	height: var(--section-p-sm);
	width: var(--section-p-sm);
	margin: 0 1rem 0 0;
	border-radius: var(--br-50);
	background-color: var(--red);
	transition: var(--standard-transition);
	padding: 0 .75rem;
}

.img--ar--h2-icon .img--ar__img {
	object-fit: contain;
}

.img--ar--br-md {
	border-radius: var(--br-md);
}

.img--ar--br-lg {
	border-radius: var(--br-lg);
}

.img--ar--br-xxl {
	border-radius: var(--br-xxl);
}

.img--ar__img--1x1 {
	aspect-ratio: 1 / 1;
}

.img--ar__img--1x625 {
	aspect-ratio: 1 / .625;
}

.img--ar__img--1x1--resp,
.img--ar__img--1x625--resp {
	aspect-ratio: 1 / .5;
}


.masonry-gallery img {
	margin: 0 2rem 2rem 0;
	display: inline-block;
}


@media (min-width: 768px) {	
	.img--float-left {
		float: left;
		margin: .5rem 3rem .375rem 0;
		max-width: 38%;
	}
		
	.img--float-right {
		float: right;
		margin: .5rem 0 .375rem 3rem;
		max-width: 38%;
	}
}	

@media (min-width: 992px) {	
	.img--ar--bre-xl {
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;		
	}

	.img--ar--brs-xl {
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}

	.img--ar__img--1x1--resp,
	.img--ar__img--1x625--resp {
		aspect-ratio: 1 / 1;
	}

	.masonry-gallery {
		column-count: 2;
		column-gap: 2rem;
	}
}

@media (min-width: 1200px) {	
	.img--ar__img--1x625--resp {
		aspect-ratio: 1 / .875;
	}
}

@media (min-width: 1400px) {	
	.img--h2-icon:not(.img--h2-icon--inline) {
		height: 4rem !important;
	}

	.img--ar--h2-icon {
		padding: .75rem 1.25rem;
		margin: 0 1.5rem 0 0;
	}
}

@media (min-width: 1680px) {	
	.img--ar__img--1x625--resp {
		aspect-ratio: 1 / .625;
	}
}

	
/* ------------------------------------------------------------------------ SVG's */

svg {
	width: 1rem;
	height: 1rem;
}	
	

/* ------------------------------------------------------------------------ Horizontal Rules */

hr, .hr { 
	margin: 1.5rem auto;
}	

@media (min-width: 1400px) {
	hr, .hr {
		margin: 3rem auto;
	}
}	


/* ------------------------------------------------------------------------ Additional Utility Classes/Bootstrap Overrides */

.pt-section,
.py-section {
	padding-top: var(--section-p);
}

.pb-section,
.py-section {
	padding-bottom: var(--section-p);
}

.pe-section,
.px-section {
	padding-right: var(--section-p);
}

.ps-section,
.px-section {
	padding-left: var(--section-p);
}


.pt-section-sm,
.py-section-sm {
	padding-top: var(--section-p-sm);
}

.pb-section-sm,
.py-section-sm {
	padding-bottom: var(--section-p-sm);
}

.pe-section-sm,
.px-section-sm {
	padding-right: var(--section-p-sm);
}

.ps-section-sm,
.px-section-sm {
	padding-left: var(--section-p-sm);
}

.pe-container-side,
.px-container-side {
	padding-right: var(--container-side);
}

.ps-container-side,
.px-container-side {
	padding-left: var(--container-side);
}


.mt-section,
.my-section {
	margin-top: var(--section-p);
}

.mb-section,
.my-section {
	margin-bottom: var(--section-p);
}

.me-section,
.mx-section {
	margin-right: var(--section-p);
}

.ms-section,
.mx-section {
	margin-left: var(--section-p);
}


.mt-section-sm,
.my-section-sm {
	margin-top: var(--section-p-sm);
}

.mb-section-sm,
.my-section-sm {
	margin-bottom: var(--section-p-sm);
}

.me-section-sm,
.mx-section-sm {
	margin-right: var(--section-p-sm);
}

.ms-section-sm,
.mx-section-sm {
	margin-left: var(--section-p-sm);
}


.mt-4b,
.my-4b {
	margin-top: 2rem;
}

.mb-4b,
.my-4b {
	margin-bottom: 2rem;
}

.me-4b,
.mx-4b {
	margin-right: 2rem;
}

.ms-4b,
.mx-4b {
	margin-left: 2rem;
}


.sticky-top {
    top: calc(var(--header-height-scroll) + var(--section-p-sm));
}


.z-index2 {
	position: relative;
	z-index: 2;
}


/*For videos embedded through rte*/
.embeditem {
    position: relative;
    width: 100%;
    --bs-aspect-ratio: calc(9 / 16* 100%);
}

.embeditem::before {
    display: block;
    padding-top: var(--bs-aspect-ratio);
    content: "";
}

.embeditem>* {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 992px) {
	.pt-lg-section,
	.py-lg-section {
		padding-top: var(--section-p);
	}

	.pb-lg-section,
	.py-lg-section {
		padding-bottom: var(--section-p);
	}
}


@media (min-width: 1400px) {
	.g-xxl-6,.gx-xxl-6 {
	    --bs-gutter-x: 5rem
	}

	.g-xxl-6,.gy-xxl-6 {
	    --bs-gutter-y: 5rem
	}

	.g-xxl-7,.gx-xxl-7 {
	    --bs-gutter-x: 7rem
	}

	.g-xxl-7,.gy-xxl-7 {
	    --bs-gutter-y: 7rem
	}
}



/* =============================================================================================
	HEADER
============================================================================================= */

.print-header { 
	display:none; 
}
	
.logo { 
	flex: 1;
	display: block;
}

.logo__img {
	max-width: 7.5rem; 
	width: 100%;
	transition: var(--standard-transition);
}

.header--scroll .logo__img {
	max-width: 5rem; 
}

.header { 
	z-index: 1040;
	box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.25);
}

.navbar--fixed-top {
	padding: 1rem;
	transition: var(--standard-transition);
}


@media (min-width: 1200px) {

	.navbar--fixed-top {
		padding: 1.5rem;
	}

	.header--scroll .navbar--fixed-top {
	    padding: .5rem;
	    background-color: rgba(255,255,255,.75) !important;
		backdrop-filter: blur(8px);
	}

}


/* ------------------------------------------------------------------------ Navbar Nav */

.navbar-nav li {
	padding: 0;
	background-image: none;
}

.navbar-nav .nav-link {
	color: var(--black);
	padding: .375rem 3rem .375rem 0;
	position: relative;
}

.navbar-nav .nav-item .nav-link.active , .navbar-nav .nav-item.active .nav-link,
.navbar-nav .dropdown-menu li > .dropdown-item.active {
    color: var(--red);
    font-weight: var(--fw-700);
}

.navbar-nav .dropdown-menu {	
	background-color: var(--white);
	margin:0 0 .5rem 0;
	padding:0;
	box-shadow: none;
	border: 0;
	border-radius: 0;
}

.dropdown-item.active, .dropdown-item:active {
	color: var(--red);
	background-color: transparent;
}

.dropdown-item.active {
	font-weight: var(--fw-700);
}

.navbar-nav .dropdown-menu li:hover > .dropdown-item.active, .navbar-nav .dropdown-item:hover {
	background-color: transparent;
	/*text-decoration: underline;*/
	color: var(--red) !important;
}

.navbar-nav .dropdown-item {
	padding: .25rem 0 .25rem 1rem;
	white-space: wrap;
}

.navbar-nav .dropdown-item,
.navbar-nav .dropdown-toggle {
	display: flex;
}

.navbar-nav .megamenu .dropdown-item {
	padding-left: 0;
}

.navbar-nav .dropdown-item:focus {
	background-color: var(--white);
	color: inherit;
}

.navbar-nav .dropdown-menu .dropdown-menu {
	background-color: var(--white);
	padding-left: 1rem;
}

.dropdown-toggle::after{
    display:none;
}
/*
.icon-arrow {
    margin-left: 1rem;
    padding: 0;
	width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--red);
    border-radius: var(--br-50);
    display: inline-block;
    background: url(../images/menu-icon-arrow.svg) no-repeat center;
	background-size: .625rem;
}
*/

.icon-arrow:after {
    content: "";
    background: url(../images/menu-icon-arrow.svg) no-repeat center;
    margin-left: 1rem;
    padding: 0;
	width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--red);
    border-radius: var(--br-50);
    display: inline-block;
    	background-size: .625rem;
    	opacity:1;
}
/*
.icon-arrow:after {
    display:none;
}
*/

@media (min-width: 1200px) {	
	.navbar {
		margin-top: 0; 
	}

	.navbar--fixed-top {
		position: fixed;
	    top: 0;
	    right: 0;
	    left: 0;
	    z-index: 1030;
	}

	.navbar-nav .nav-link {
		padding: .5rem 0!important;
		margin-right: 1.5rem;
		border-bottom: 0;
	}

	.navbar-nav .nav-item:last-child .nav-link {
		margin-right:0; 
	}

	.navbar-nav .nav-item.active:hover .nav-link, .navbar-nav .nav-link:hover {
	    color: var(--red);
	}

	.navbar-nav .dropdown-menu, .navbar-nav .dropdown-menu .dropdown-menu {
		padding: .75rem 0;
		min-width: 20rem !important;
		border-radius: var(--br-sm);
		border-top-left-radius: 0;
	}

	.navbar-nav .dropdown-item {
		padding: .5rem 1.5rem;
	}

	.navbar-nav .megamenu .dropdown-item {
		padding-left: 0;
	}

	.navbar-nav .dropdown-menu li.active:hover .dropdown-item, .navbar-nav .dropdown-item:hover {
		color: var(--grey-md);
	}

	.dropdown-menu>li:hover {
	    background-color: transparent;
	}

	.navbar-nav .megamenu {   
	    padding: 1rem 0;
	    margin-top: -1rem !important;
	} 

	.dropdown-toggle:after {
	 	display: none;
	}
}

@media (min-width: 1400px) {
	.navbar-nav .nav-link {
		margin-right: 2.5rem;
	}
}


/* ------------------------------------------------------------------------ Side Nav */

.sidenav li {
	padding: 0;
	background-image: none;
}

.sidenav .nav-link {
	padding: .25rem 0;
	font-weight: var(--fw-400);
	color: var(--black);
}

.sidenav .nav-link:hover {
    text-decoration: underline;
    color: var(--grey-md);
}

.sidenav .nav-link.active {
	color: var(--red);
	font-weight: var(--fw-700);
}

.sidenav .submenu {
	margin: 0 0 .5rem 0;
    padding: 0 0 0 1rem;
}

.sidenav .icon-arrow.show::after {
    content: '-';
    font-size: 1.125rem;
}

.sidenav .icon-arrow::after {
    content: "+";
    margin-left: .5rem;
    margin-top: -.25rem;
    opacity: 1;
    font-size: 1rem;
}


@media all and (max-width: 991px) and (min-width: 0px) {	
	.sidenav {
		border: 1px solid var(--grey-md);
		padding: 1.5rem 2rem;
	}
}



/* ------------------------------------------------------------------------ Bootstrap Menu Off Canvas Mobile */

body.offcanvas-active {
	overflow:hidden;
}

.offcanvas-header { 
	display:none;
}

.offcanvas-header .btn-close {
	width: 3rem;
    height: 3rem;
    border-radius: 50%;
    padding: .75rem;
    opacity: 1;
    background: var(--red) url(../images/menu-icon-open-reverse.svg) no-repeat center;
    background-size: 1.5rem;
}

.screen-darken {
	height: 100%;
	width:0%;
	z-index: 30;
	position: fixed;
	top: 0;
	right: 0;
	opacity:0;
	visibility:hidden;
	background-color: rgba(0, 0, 0, 0.5);
	transition:opacity .2s linear, visibility 0.2s, width 2s ease-in;
}

.screen-darken.active {
	z-index:10; 
	transition:opacity .3s ease, width 0s;
    opacity:1;
    width:100%;
    visibility:visible;
}


@media all and (max-width: 1199px) {
	.offcanvas-header { 
        padding: .5rem 0 0 0;	
		display:block;
	}

	.mobile-offcanvas {
		visibility: hidden;
		transform:translateX(-100%);
	    border-radius:0; 
		display:block;
	    position: fixed;
	    top: 0; left:0;
	    height: 100%;
	    z-index: 1200;
	    width:100%;
	    overflow-y: scroll;
	    overflow-x: hidden;
	    transition: visibility .3s ease-in-out, transform .3s ease-in-out;
	}

	.mobile-offcanvas.show {
		visibility: visible;
    	transform: translateX(0);
	}

	.mobile-offcanvas .container, .mobile-offcanvas .container-fluid {
		display: block;
	}
}	


/* ------------------------------------------------------------------------ Navbar Toggler */

.navbar-toggler {
	border: none;
	cursor: pointer;
	background-color: var(--red);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
}

.navbar-toggler:focus {
	box-shadow: 0 0 0 0.1rem;
}

.navbar-toggler-icon {
    background-image: url(../images/menu-icon-reverse.svg);
    width: 1.5rem;
    height: 1.5rem;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
	background-image: url(../images/menu-icon-open-reverse.svg);
}


@media (min-width: 1200px) {
	.navbar-toggler {
		display: none;
	}
}



/* =============================================================================================
	MAIN CONTENT AREA
============================================================================================= */

@media (min-width: 1680px){ 
	.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl, .container-xxxl {
	    max-width: 1600px;
	}

	.col-xxxl-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-xxxl-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
}


/* ------------------------------------------------------------------------ Sections */

.section { 
	overflow-x: clip;
	padding: var(--section-p) 0;
}

.section--sm { 
	padding: var(--section-p-sm) 0;
}

.section--grey {
	background-color: var(--grey-lt);
}

.section--grey-md {
	background-color: var(--grey-md);
	color: var(--white);
	position: relative;
}

.section--img {
	position: relative;
	background-color: var(--grey-lt);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.section--img:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, .85);
}


.section--img--dk {
    color: var(--white);
}

.section--img--dk:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    background: rgba(34, 34, 34, 0.85);
}

.section--br-xl-bottom {
	border-bottom-left-radius: var(--br-xl);
	border-bottom-right-radius: var(--br-xl);
}

.section--br-xl-top {
	border-top-left-radius: var(--br-xl);
	border-top-right-radius: var(--br-xl);
}

.section--horz-line {
	position: relative;
}

.section--horz-line:before {
	content: "";
	position: absolute;
	right: 0;
	top: calc(50% - .1875rem);
	width: 100%;
	height: .375rem;
	background-color: var(--grey-md);
}

.section--angle__img,
.section--angle__text {
	position: relative;
}

.section--angle__img {
	aspect-ratio: 1 / .5;
}

.section--angle__text {
	background: var(--grey-md) url(../images/section-banner-bg.png) no-repeat left top;
	background-size: 80rem;
}


@media (min-width: 768px) {
	.section--angle__img {
		aspect-ratio: 1 / .375;
	}
}

@media (min-width: 992px) {
	.section--angle__img {
		height: 100%;
		aspect-ratio: auto;
	}

	.section--angle--banner .section--angle__img {
		aspect-ratio: 1 / .5;
	}

	.section--angle__img:before {
		content: "";
		position: absolute;
		right: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: url(../images/section-grey-angle-img.png) no-repeat right top;
		background-size: contain;
	}

	.section--angle__text {
		background: var(--grey-md) url(../images/section-grey-angle-text.png) no-repeat left top;
		background-size: contain;
	}

	.section--angle--banner .section--angle__img:before {
		background: url(../images/section-grey-angle-img-banner.png) no-repeat left top;
		background-size: contain;
	}

	.section--angle--banner .section--angle__text {
		background: var(--grey-md) url(../images/section-grey-angle-text-banner.png) no-repeat right top;
		background-size: contain;
	}
}

/* ------------------------------------------------------------------------ Banner */

.section--banner {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	margin-bottom: 0;
	min-height: 20rem;
	background-color: var(--grey-lt);
	position: relative;
	color: var(--black);
}

.section--banner .container {
    z-index: 2;
    position: relative;
}


@media (min-width: 992px) {	
	/*.section--banner--home {
		min-height: 36rem;
	}*/
}

@media (min-width: 1400px) {	
	.section--banner {
		min-height: 24rem;
	}

	/*.section--banner--home {
		min-height: 48rem;
	}*/
}


/* ------------------------------------------------------------------------ Video Masks */

.video-mask-wrapper {
	position: relative;
}

.video-mask__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-mask_toggle {
  position: absolute;
  bottom: 1rem; /* default for 0-1399px */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--grey-md);
  border: none;
  border-radius: 50%;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.2s;
  z-index: 10;
    width: 1.5rem;
  height: 1.5rem !important;
}
.video-mask_toggle:hover {
  filter: brightness(120%);
}

@media (min-width: 1400px) {
   .video-mask_toggle  {
    width: 2rem;
    height: 2rem !important;
      padding: 0.625rem;

  }
}

/* ------------------------------------------------------------------------ Home Banner Video Mask */

.video-mask-wrapper--banner {
	width: 100%;
	height: 100%;
}

.video-mask-wrapper--banner:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: url(../images/banner-video-overlay.svg) no-repeat center bottom;
	background-size: 100%;
	z-index: 2;
}

.video-mask--banner {
    display: flex;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / .625;
    background-color: var(--white);
}

@media  (min-width: 768px) {
    .video-mask--banner {
        aspect-ratio: 1 / .5;
    }
}


@media  (min-width: 992px) {		
	.video-mask--banner {
        aspect-ratio: auto;
        -webkit-mask-image: url(../images/banner-video-mask.svg);
        mask-image: url(../images/banner-video-mask.svg);
        -webkit-mask-size: 100%;
        mask-size: 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: bottom right;
        mask-position: bottom right;
    }
}

/* ------------------------------------------------------------------------ Callouts (Calls to Action) */

.cta {
	display: block;
	font-weight: var(--fw-400);
	position: relative;
	cursor:pointer;
	text-decoration: none;
	color: inherit;
	border: 2px solid var(--grey-lt);
	background-color: var(--grey-lt);
	border-radius: var(--br-md);
}
.cta--blog {
    	overflow:hidden;

}
a.cta:hover {
	color: inherit;
	filter: brightness(1.0);
	background-color: var(--white);
}

a.cta:hover .img--ar__img {
	transform: scale(1.05);
}

.cta .caption {
	padding: calc(var(--card-p) - 1rem) var(--card-p);
}

.cta__heading {
	margin: 1rem 0 .5rem 0;
}

.cta__text {
	margin-bottom: 0;
}

.cta .img--ar--wrapper:not(.cta--icon__icon) {
	border-radius: var(--br-md) 0 0 0;
	overflow: hidden;
}


/* ------------------------------------------------------------------------ Callouts with Icons */

.cta--icon {
	padding: 1px var(--card-p) var(--card-p) var(--card-p);
}

.cta--icon__icon {
	height: var(--section-p-sm);
	width: var(--section-p-sm);
	margin: 0;
	border-radius: var(--br-50);
	background-color: var(--red);
	transition: var(--standard-transition);
	padding: .625rem .75rem;
	margin-top: calc(var(--section-p-sm) * -.5);
}


.cta--icon__icon .img--ar__img {
	object-fit: contain;
}

a.cta--icon:hover .cta--icon__icon {
	transform: scale(1.1);
}

a.cta--icon:hover .img--ar__img {
	transform: scale(1);
}

.cta-group--values .cta--icon:hover {
	cursor: default;
}

.section--grey .cta--icon {
	background-color: var(--white);
	border: 2px solid var(--white);
}

.section--grey a.cta--icon:hover {
	color: inherit;
	filter: brightness(1.0);
	background-color: var(--grey-lt);
}


@media (min-width: 768px) {	
	.cta-group .col-md-6:nth-child(even) .cta--icon {
		margin-top: var(--card-p);
	}
}

@media (min-width: 992px) {	
	.cta-group .col-md-6:nth-child(even) .cta--icon {
		margin-top: 0;
	}
	
	.cta-group .col-md-6:nth-child(3n + 2) .cta--icon {
		margin-top: var(--card-p);
	}
}


@media (min-width: 1400px) {	
	.cta--icon__icon {
		padding: 1rem 1.25rem;
	}
}


/* ------------------------------------------------------------------------ Stacked Callouts */

.cta--stacked {
	border-radius: var(--br-lg);
	background-color: var(--grey-md);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	overflow: hidden;
}

.cta--stacked:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(34,34,34,0.8);
	z-index: 1;
	transition: var(--standard-transition);
}

.cta--stacked:hover:before {
	background: rgba(34,34,34,0.9);
}

.cta--stacked .caption {
    position: relative;
    color: var(--white);
    text-align: center;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
    z-index: 2;
    padding: var(--section-p);
}



/* ------------------------------------------------------------------------ Cards */

.card {
	border-radius: var(--br-lg);
	border: 0;
}

.card--border {
	border:  2px solid var(--grey-lt);
}

.card--grey {
	background-color: var(--grey-lt);
}

.card--grey-md {
	background-color: var(--grey-md);
	color: var(--white);
}

.card--grey--circuits {
	background: var(--grey-md) url(../images/card-grey-circuits.png) no-repeat center;
	background-size: cover;
	color: var(--white);
}

.card-body {
	padding: calc(var(--card-p) + .5rem) var(--card-p) var(--card-p) var(--card-p);
}

.card-body--md {
	padding: var(--card-p-md);
}

.card-body--lg {
	padding: var(--card-p-lg);
}

.card a {
	text-decoration: none;
	color: inherit;
	transition: var(--standard-transition);
}


/* ------------------------------------------------------------------------ List Group */

.list-group {
    border-radius: 0;
    border: 0;
}

.list-group-item {
    padding: 0 0 0 1.5rem;
    color: var(--black);
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid var(--grey-lt);
	background: url(../images/arrow-grey.svg) no-repeat left center;
	background-size: .75rem;
}

.list-group-item:last-child {
    padding-bottom: 0;
}


.list-group-item--no-links {
	padding: .75rem .25rem .75rem 1.5rem;
	font-weight: var(--fw-500);
}

.list-group-item a {
    color: inherit;
    font-weight: var(--fw-500);
    transition: var(--standard-transition);
    padding: .75rem 0;
    display:block;
    text-decoration: none;
}

.list-group__link:hover, .list-group-item a:hover {
	transform: translateX(1rem);
    text-decoration: underline;
}

/* ------------------------------------------------------------------------ Accordions */

.accordion-button {
	border: 1px solid transparent;
}

.accordion-button:not(.collapsed) {
    color: var(--black);
    background-color: var(--grey-lt);
}

.accordion-button:not(.collapsed)::after { 
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:focus {
    outline: solid thin rgba(0, 0, 0, 0.5);
    box-shadow: none;
    border: 1px solid transparent;
}

.accordion-flush .accordion-item:last-child {
	border-bottom: 2px solid var(--grey-lt);
}

.accordion-flush .accordion-button {
	padding: 1rem .5rem;
}

.accordion-flush .accordion-body {
    padding: var(--card-p);
}


/* ------------------------------------------------------------------------ Collapse */

/* While animating (important override for Bootstrap) */
.collapse--reveal.collapsing {
    height: auto !important;
    max-height: 10rem;
    overflow: hidden;
}

.collapse--reveal:not(.show) {
   /* display: none;*/
    display: block;
   /* height: 10rem;*/
    max-height: 10rem;
    overflow: hidden;
    position: relative;
}


.collapse--reveal:not(.show):before {
    content: "";
    position: absolute;
    bottom:0;
    left: 0;
    width: 100%;
    height: 8rem;
    background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}


/*.collapse--reveal.collapsing {
	height: 6.25rem;
}*/

/* ------------------------------------------------------------------------ Tables */

/*Override table inline styles*/

.table[style] {
	width:100% !important;
	height:auto !important;
}

.table td[style],
.table th[style] {
	height:auto !important;
}


.table {
	margin-bottom: 0;
}

.table td, .table th {
    border-bottom: 1px solid var(--grey-lt);
    padding: 1rem .5rem;
    vertical-align: middle;
}

.table th {
    font-weight: var(--fw-500);
}

.table thead th {
    font-weight: var(--fw-700);
    text-transform: uppercase;
}


/* ------------------------------------------------------------------------ Pagination */

.pagination {
	flex-wrap: wrap;
	align-items: center;
}

.page-item {
	background-image: none;
	padding: 0;
	margin: 0 0.5rem 0 0;
}

.page-link {
	width: 3rem;
    height: 3rem;
    border-radius: 50% !important;
    background: var(--red) url(../images/arrow-white.svg) no-repeat center;
    background-size: .875rem;
    border-color: var(--red);
    transition: var(--standard-transition);
}

#prevPage {
	transform: rotate(180deg);
	margin-right:.25rem;
	background-position: 1.125rem center;
}

#nextPage {
	margin-left:.25rem;
	background-position: 1.125rem center;
}

.page-link:hover {
    z-index: 2;
    background-color: transparent;
    background-color: var(--red);
    filter: brightness(120%);
}

#prevPage:hover {
	transform: translateX(-.5rem) rotate(180deg);
}

#nextPage:hover {
	transform: translateX(.5rem);
}

.page-item .form-select {
    padding: 0.25rem 2.25rem 0.25rem 0.75rem;
    height: 2.75rem;
    width: 5rem;
}



/* ------------------------------------------------------------------------ Timeline (Process page) */

.timeline {
    position: relative;
}

.timeline:after {
    content: "";
	position: absolute;
	top: 0;
	left: 100%;
	width: 1px;
	height: 100%;
	transition: var(--standard-transition);
	border-right: 2px solid var(--grey-md);
}

.timeline-item {
	margin-bottom: 3rem;
}

.timeline-item .col-lg-6 {
    padding: var(--card-p) 1.5rem var(--card-p) 1rem;
    background-color: var(--grey-lt);
    border-top-left-radius: var(--br-lg);
    border-bottom-left-radius: var(--br-lg);
  	position: relative;
}

.section--grey .timeline-item .col-lg-6 {
    background-color: var(--white);
}

.timeline-item .timeline-item__number {
    height: var(--section-p-sm);
    width: var(--section-p-sm);
	aspect-ratio: 1 / 1;
	background-color: var(--red);
	color: var(--white);
	border-radius: var(--br-50);
	margin: 0 1rem 0 0;
}

@media (min-width: 992px) {
    .timeline:after {
    	left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
		margin-bottom: 0;
	}

    .timeline-item .timeline-item__number {
    	margin-right: 1.5rem;
    }
    
    .timeline-item .col-lg-6 {
        padding: var(--card-p) var(--card-p) var(--card-p) 1.5rem;
    }

    .timeline-item:nth-child(even) {
        justify-content: end !important;
    }
    
    .timeline-item:nth-child(even) .col-lg-6 {
        padding: var(--card-p) 1.5rem var(--card-p) var(--card-p);
        border-radius: 0;
        border-top-right-radius: var(--br-lg);
    	border-bottom-right-radius: var(--br-lg);
    }
    
    .timeline-item:nth-child(even) .timeline-item__number {
        order: 2;
        margin: 0 0 0 1.5rem;
    }
    
    .timeline-item:nth-child(even) .timeline-item__text {
        order: 1;
    }
}

	
/* ------------------------------------------------------------------------ Forms */
	
.required-input {
	color: var(--error) !important;
	font-size: 0.875rem;
	font-weight: var(--fw-700);
}

legend {
	font-size: 1rem;
}

.form-control, .form-select {
	border-radius:0;
	border-color: var(--grey-lt);
	padding: .625rem .75rem;
	color: var(--black);
	font-size: 1rem;
}

.form-control-lg.form-control--file {
	font-size: 1rem;
}

.form-control:focus, .form-select:focus, .form-check-input:focus {
    color: var(--black);
    border-color: var(--grey-lt);
    outline: 0;
    box-shadow: 0 0 0 0.125rem rgb(0 0 0 / 25%);
}


.form-check-input {
    border: 1px solid var(--grey-lt);
}

.form-check-input[type=checkbox] {
    border-radius: 0;
}

.form-check-input:checked {
    background-color: var(--red);
    border-color: var(--red);
}

.checkbox-link {
    padding-left: 1.5rem;
}


.form-switch .form-check-input {
    border-radius: 2em;
}

.form-switch .form-check-input:focus {
	background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e);
}

.form-text {
    margin-top: .5rem;
    font-size: .875rem;
    color: var(--grey-md);
}


@media (min-width: 1400px) {
	legend,
	.form-control, 
	.form-select,
	.form-control-lg.form-control--file,
	.form-check-label {
		font-size: 1.125rem;
	}

	.form-check-input {
	    margin-top: .313rem;
	}

	.form-text {
	    margin-top: .5rem;
	    font-size: 1rem;
	    color: var(--grey-md);
	}	
}


/* ------------------------------------------------------------------------ Swiper */
.gallerySwiper {
	overflow: hidden;
}

.gallerySwiper .swiper-slide { 
	/*width: auto;*/
	width: fit-content;
}

.gallerySwiper .swiper-slide img,
.gallerySwiper .swiper-slide iframe {
	width: auto !important;
	height: 16rem !important; /* or a fixed height for the slide container */
}

.gallerySwiper .swiper-slide iframe {
	aspect-ratio: 16 / 9;
}


.logoSwiper {
	overflow: hidden;
	margin-bottom:2rem;
}

.logoSwiper .swiper-slide { 
	width: auto;
}

.logoSwiper .swiper-slide img {
	width: auto;
	height: 10rem !important; /* or a fixed height for the slide container */
}

.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: -2rem;
}


.swiper-pagination-bullet {
	background: var(--grey-lt);
	width: 1rem;
	height: 1rem;
	opacity: 1;
}

.swiper-pagination-bullet-active {
	background: var(--grey-md);
}


.swiper-button-wrapper {
	position:relative;
	width: 7rem;
}

.swiper-button-next, .swiper-button-prev {
	width: 3rem;
	height: 3rem;
	background: var(--red) url(../images/arrow-white.svg) no-repeat center center;
	background-size: 25%;
	transition: var(--standard-transition);
	border-radius: var(--br-50);
}

.swiper-button-next {
	right: 0;
}

.swiper-button-prev {
	transform: rotate(180deg);
	left: 0;
}

.swiper-button-next:hover {
	transform: translateX(.5rem);
}

.swiper-button-prev:hover {
	transform: translateX(-.5rem) rotate(180deg);
}

.swiper-button-next:after, .swiper-button-prev:after {
	display: none;
}

@media (min-width: 992px) {
	.gallerySwiper .swiper-slide img,
	.gallerySwiper .swiper-slide iframe {
		height: 25rem !important; /* or a fixed height for the slide container */
	}
}


/* ------------------------------------------------------------------------ To Top */

.to-top {
	position: fixed;
	opacity: 0;
	bottom: 1rem;
	right: 1rem;
	text-align: center;
	width: 3rem;
	height: 3rem;
	cursor: pointer;
	background: var(--red) url(../images/arrow-white.svg) no-repeat center;
	background-size: 1rem;
	border-radius: 50%;
	z-index: 10;
	visibility: hidden;
	transform: rotate(-90deg);
	transition: var(--standard-transition);
}

.to-top:hover {
	background-color: var(--grey-md)
}

.to-top.show {
	opacity: 1;
	visibility: visible;
}


			
/* =============================================================================================
	FOOTER
============================================================================================= */

.print-footer { 
	display:none;
}

.footer { 
	background-color: var(--black-dk);
	color: var(--white);
	margin-top: auto!important;
	padding: var(--section-p-sm) 0;
}

.rkd {
	display: inline-block;
	width: 5.625rem; 
}

.footer a {
	color: var(--white);
	font-weight: var(--fw-400);
}	
		
.social__icon {
	display: inline-block;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0 1rem 0 0;
	padding: .25rem;
	background-color: var(--red);
	border-radius: var(--br-sm);
	transition: var(--standard-transition);
}

.social__icon:hover {
	transform: translateY(-.5em);
}

@media (min-width: 992px) {
	.social__icon {
		margin: 0 0 0 1rem;
	}
}c