/* =============================================================================================
	BASE STYLES AND LAYOUT
============================================================================================= */

/* ------------------------------------------------------------------------ CSS Variables */

:root {
	--white: #fff;
	--black: #111;
	--blue-navy: #002d54;
	--blue: #004887;
	--gold: #daaf49;
	--red: #D61D01;
	--error: #e6004c;
	--grey-lt: #eee;
	--grey-md: #888;
	--grey-dk: #242526;

	--header-height: 97px;
	--header-height-scroll: 72px;
	--section-p: 4rem;
	--section-p-sm: 3rem;
	--card-p: 2rem;
	
	--parallax-height: 30vh; /* default height */

	--font-family-headings: 'Momo Trust Display', sans-serif;
	--font-family: 'DM Sans', sans-serif;;
	--fw-400: 400;
	--fw-500: 500;
	--fw-700: 700;
	--lh-16: 1.6;
	--lh-13: 1.3;

	--standard-transition: all 0.5s ease;
}

@media (min-width: 1400px) {
	:root {
		--section-p: 7rem;
		--section-p-sm: 4rem;
		--card-p: 3rem;
	}
}


/* ------------------------------------------------------------------------ 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: 992px) {
	body {
		padding-top: var(--header-height);
	} 
}

@media screen
and (min-width: 992px) {
   a[href*="tel:"] {
       pointer-events: none;
       cursor:auto;
	   text-decoration-color: transparent;
   }
}

/* ------------------------------------------------------------------------ Keyboard Accessibility */

.skip-link { 
	position:absolute; 
	left:-10000px; 
	top:0; 
	width:1px; 
	height:1px; 
	overflow:hidden;
	background-color: var(--grey-dk);
	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,
.h1, .h2, .h3  { 
	font-family: var(--font-family-headings);
	font-weight: var(--fw-400);	
	margin-bottom: 1rem;
	line-height: var(--lh-13);
}	

h1, .h1 {	
	font-size: 2rem;	
}
	
h2, .h2 {
	font-size: 1.5rem;
}
		
h3, .h3 { 
	font-size: 1.375rem; 
}	

h2, h3  { 
	margin-top: 3rem;
}

hr + h2, 
hr + h3, 
section h2:first-child,
section h3:first-child {
	margin-top: 0;
}

h2 + h3 {
	margin-top: 3rem;
}
	

@media (min-width: 992px) {	
	h1, .h1 {
		font-size: 2.5rem;
	}

	h2, .h2 {
		font-size: 2rem;
	}

	h3, .h3 { 
		font-size: 1.5rem; 
	}	
}	

@media (min-width: 1400px) {	
	h1, .h1 {
		font-size: 3.75rem;
	}

	h2, .h2 {
		font-size: 3rem;
	}

	h3, .h3 { 
		font-size: 2rem; 
	}		
}	


/* ------------------------------------------------------------------------ Lists */

ul, .list { 
	list-style: none; 
	list-style-position: outside;
	padding-left: 0;
}

ul li, .list__item {	
    padding: 0 0 0.25rem 1.125em;
	background: url(../images/arrow-grey.svg) no-repeat left 0.375em;
	background-size: 0.75em 0.75em;
}

ul ul, .list__sub-list {
	margin-top: 0.25rem;
}


ul ol {
	padding-left: 1.375rem;
	margin-top: 0.25rem;
}

ul ol li {
	background-image: none;
	padding-left: 0;
}
		
ol {
	padding-left: 1rem;
}	

ol li {padding-bottom: 0.25rem;}

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 */

.color-inherit {
	color: inherit;
}	

.intro-text {
	font-size: 1.25rem;
}

.note {
	font-size: .875rem;
}


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,
.cta__heading {
	line-height: var(--lh-13);
}


@media (min-width: 1400px) {	
	p,
	.p,
	li,
	label,
	table,
	.btn {
		font-size: 1.125rem;
	}

	.note {
		font-size: 1rem;
	}	
}

	
/* ------------------------------------------------------------------------ Links */

a { 
	color: var(--grey-md); 
	font-weight: var(--fw-700);
	transition: var(--standard-transition);
	text-decoration: underline;
}	

a:hover {
	color: var(--grey-dk);
	text-decoration: none;
}

.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;
}	

/* ------------------------------------------------------------------------ Modals */

.modal-body img {
    display: block;
    margin: 0 auto;
}

/* ------------------------------------------------------------------------ Button Styles */

.btn {
	margin-top: 1rem; 
	padding: .625rem 1.5rem;
	border-radius:0;
	text-transform: uppercase;
	cursor: pointer;
}

.btn-primary {
	background-color: var(--blue);
	border-color: var(--blue);
	border-radius: 50px;
	font-weight: bold;
	font-size: 0.85em;
}

.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 { 
	background-color: var(--blue-navy);
	border-color: var(--blue-navy);
	box-shadow: none;
}

.btn-secondary {
	background-color: var(--grey-dk);
	border-color: var(--grey-dk);
	border-radius: 50px;
	font-weight: bold;
	font-size: 0.85em;
}

.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(--black);
	border-color: var(--black);
	box-shadow: none;
}

body.sheet .btn-primary {
	background-color: var(--blue);
	border-color: var(--blue);
}

body.electrical .btn-primary {
	background-color: var(--red);
	border-color: var(--red);
}

body.pipe .btn-primary {
	background-color: var(--gold);
	border-color: var(--gold);
	color: var(--grey-dk);
}


body.sheet .btn-primary:hover, body.sheet .btn-primary:active,
body.electrical .btn-primary:hover, body.electrical .btn-primary:active,
body.pipe .btn-primary:hover, body.pipe .btn-primary:active{
	background-color: var(--grey-dk);
	border-color: var(--grey-dk);
	color: var(--white);
}


@media (min-width: 1400px) {	
	.btn {
		padding: .75rem 1.5rem;
	}
}


/* ------------------------------------------------------------------------ Images */
	
img {
	max-width: 100%;
	height: auto!important; 
}

.img--float-left, .img--float-right { 
	margin: .5rem 0 1rem 0;	
}


.img--ar--wrapper {
	overflow: hidden;
	position: relative;
}

.img--ar__img {	
	width: 100%;
	object-fit: cover;
	object-position: center;
	transition: var(--standard-transition);
}

.img--ar__img--1x1 {
	aspect-ratio: 1 / 1;
}

.img--ar__img--1x075 {
   aspect-ratio: 1 / 0.75; 
}

.worker-logo img {
    max-width: 7em;
    margin: 0 auto 2em auto;
}


@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) {	
    .worker-logo img {
        max-width: unset;
        margin: unset;
    }
}

/* ------------------------------------------------------------------------ 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);
}


.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));
}


/*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: 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;
	font-family: var(--font-family-headings);
	font-size: 1.75rem;
	text-decoration: none;
	font-weight: 300;
	color: var(--grey-dk);
}

.logo span {
	color: var(--blue);
}

.logo__img {
	max-width: 14rem; 
	width: 100%;
	transition: var(--standard-transition);
}

.header--scroll .logo__img {
	max-width: 10rem; 
}

.header { 
	z-index: 1040;
}

.navbar--fixed-top {
	padding: 1rem;
	transition: var(--standard-transition);
}


@media (min-width: 992px) {

    .logo { 
	    font-size: 2.5rem;
    }

	.header--scroll .navbar--fixed-top {
	    padding: .5rem;
	    background-color: rgba(255,255,255,.75) !important;
		backdrop-filter: blur(8px);
	}

}


/* ------------------------------------------------------------------------ Seach Area */

.search-trigger {
	cursor: pointer;
	padding-top: .5rem;
	width: 14rem;
	background-color: var(--grey-md);
    border-color: var(--grey-md);
    padding: .625rem 1.25rem;
    color: var(--white);
    text-transform: uppercase;
    font-weight: var(--fw-700);
}

.search-trigger__icon {
	width: 2.5rem;
	height: 2rem;
    align-self: center;
    justify-self: end;
    border-radius: 50%;
  	background: url(../images/search-icon-reverse.svg) no-repeat center;
  	background-size: 1.375rem;
  	transition: var(--standard-transition);
}


@media (min-width: 992px) {	
	.search-trigger {
		cursor: pointer;
		border-top: none;
		padding: 0;
		background-color: transparent;
    	border:0;
    	width: auto;
	}

	.search-trigger__icon {
		height: 2.5rem;
		background-image: url(../images/search-icon.svg);
		background-size: 1.375rem;
	}

	.search-trigger:hover .search-trigger__icon {
		background-color: var(--black);
		background-image: url(../images/search-icon-reverse.svg);
		background-size: 1.375rem;
	}
}


/* ------------------------------------------------------------------------ Navbar Nav */

.navbar {
	border-bottom: 1px solid var(--grey-lt);
}

.navbar-nav li {
	padding: 0;
	background-image: none;
}

.navbar-nav .nav-link {
    font-family: var(--font-family-headings);
	color: var(--black);
	text-transform: uppercase;
	padding: .375rem 1.5rem .375rem 0;
	font-size: 0.85rem;
	position: relative;
}

.navbar-nav .nav-item .nav-link.active  {
    color: var(--blue);
}

.navbar-nav .nav-item:last-child .nav-link {
    background: var(--blue-navy);
    color: var(--white);
    padding: 0.5em 1em !important;
    border-radius: 50px;
}

.navbar-nav .nav-item:last-child .nav-link:hover {
    background: var(--blue);
    color: var(--white);
    padding: 0.5em 1em;
    border-radius: 50px;
}

.icon-arrow {
	padding: 0 .5rem;
}

.navbar-nav .dropdown-menu {	
	background-color: var(--white);
	margin:0 0 .5rem 0;
	padding:0;
	box-shadow: none;
	border: 0;
	border-radius: 0;
}

.navbar-nav .dropdown-menu li > .dropdown-item.active {
	color: var(--grey-dk);
	font-weight: var(--fw-700);
}

.dropdown-item.active, .dropdown-item:active {
	color: var(--grey-dk);
	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(--grey-md);
}


.navbar-nav .dropdown-item {
	padding: .25rem 0 .25rem 1rem;
	white-space: wrap;
}

.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;
}

.icon-arrow:after {
    content: "+";
    margin-left: .5rem;
    margin-top: -.25rem;
    opacity: 1;
    font-size: 1rem;
}

.g-2b {
    --bs-gutter-y: 0.75rem;
}

.dropdown-toggle::after{
    display:none;
}

.dropdown-toggle .icon-arrow {
    position: absolute;
    right: 0;
}


@media (min-width: 992px) {	
	.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;
		font-size: 0.85em;
		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(--gold);
	}

	.navbar-nav .dropdown-menu, .navbar-nav .dropdown-menu .dropdown-menu {
		padding: .75rem 0;
		min-width: 15rem !important;
	}

	.navbar-nav .dropdown-item {
		padding: .25rem 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: 1200px) {
	.navbar-nav .nav-link {
		margin-right: 2rem;
		font-size: 1em;
	}
}

@media (min-width: 1400px) {
	.navbar-nav .nav-link {
		margin-right: 2rem;
		font-size: 1.15em;
	}
}


/* ------------------------------------------------------------------------ Bootstrap Menu Off Canvas Mobile */

body.offcanvas-active {
	overflow:hidden;
}

.offcanvas-header { 
	display:none;
}

.offcanvas-header .btn-close {
	width: 1.75em;
    height: 1.5em;
    background-position: center .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: 991px) {
	.offcanvas-header { 
		padding: 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 {
	padding: 0;
	border: none;
	cursor: pointer;
	border-radius: 0;
}

.navbar-toggler:focus {
	box-shadow: 0 0 0 0.1rem;
}

.navbar-toggler-icon {
    background-image: url(../images/menu-icon.svg);
    width: 1.25em;
    height: 1.25em;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
	background-image: url(../images/menu-icon-open.svg);
}


@media (min-width: 992px) {
	.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;
	}
}


/* ------------------------------------------------------------------------ Sections */

.section { 
	padding: var(--section-p) 0;
}

.section--sm { 
	padding: var(--section-p-sm) 0;
}

.section--grey {
	background-color: var(--grey-lt);
}


/* ------------------------------------------------------------------------ Parallax */

.parallax {
    position: relative;
    height: var(--parallax-height);
    overflow: hidden;
  }

  .parallax img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120% !important;
    object-fit: cover;
    transform: translateY(0);
    will-change: transform;
  }

  .parallax-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
  }

  /* --- Responsive tweaks --- */
  @media (max-width: 992px) {
    :root {
      --parallax-height: 20vh;
    }
    .parallax-content {
      padding: 2rem 1rem;
    }
  }

  @media (max-width: 600px) {
    :root {
      --parallax-height: 30vh;
    }
    .parallax img {
      height: 130% !important;
    }
  }

/* ------------------------------------------------------------------------ Banner */

.section--banner {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	margin-bottom: 0;
	min-height: 12rem;
	background-color: var(--grey-dk);
	position: relative;
	color: var(--white);
	text-align: center;
}

.section--banner:after {
	content: "";
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.75);
}

.section--banner .container {
    z-index: 2;
    position: relative;
}

.section--banner h1 span {
	color: var(--gold);
}

.section--banner .subtitle {
	font-size: 1em;
}

.section--banner a {
	color: var(--white);
	text-decoration: none;
}

.section--banner a:hover {
	color: var(--gold);
}

.section--banner .btn {
    border-radius: 50px;
    border: solid 2px var(--gold);
    color: var(--gold);
    padding: 0.5em 1.5em;
    font-weight: bold;
}

.section--banner .btn:hover {
    background-color: var(--gold);
    border-radius: 50px;
    border: solid 2px var(--gold);
    color: var(--black);
    padding: 0.5em 1.5em;
}


@media (min-width: 768px) {		
	.section--banner {
		min-height: 12rem;
		text-align: left;
	}

	.section--banner--home {
		min-height: 16rem;
	}
}

@media (min-width: 992px) {	
	.section--banner--home {
		min-height: 18rem;
	}
	
	.section--banner .subtitle {
		font-size: 1.5em;
	}
}

@media (min-width: 1400px) {	
	.section--banner {
		min-height: 14rem;
	}

	.section--banner--home {
		min-height: 24rem;
	}
}


/* ------------------------------------------------------------------------ Banner With Background Video */

.section--banner--video video {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.section--banner--video {
    overflow: hidden;
    background: url(../images/banner-home-mobile.jpg) no-repeat top center;
    background-size: cover;
    position: relative;
}


@media (min-width: 992px) {	
	.section--banner--video {
		overflow: hidden;
        background: url(../images/banner-home.jpg) no-repeat top center;
        background-size: cover;
        position: relative;
	}

	.section--banner--video video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/* ------------------------------------------------------------------------ Callouts (Calls to Action) */

.cta {
	display: block;
	font-weight: var(--fw-400);
	position: relative;
	cursor:pointer;
	text-decoration: none;
	color: inherit;
	transition: var(--standard-transition);
}

.cta:hover {
	color: inherit;
	transition: var(--standard-transition);
}

.cta:hover .img--ar__img {
	transform: scale(1.05);
	transition: var(--standard-transition);
}

.division__logo {
	background-color: #fff;
    border-radius: 100%;
    width: 5em;
    height: 5em;
    text-align: center;
    margin: 0 auto 0.5em;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 70%;
	
}

.cta__heading {
	margin: 1rem 0 .5rem 0;
	text-align: center;
	transition: var(--standard-transition);
}

.cta:hover .cta__heading {
	color: var(--grey-md);
	transition: var(--standard-transition);
}

.cta__text {
	text-align: center;
	transition: var(--standard-transition);
}


/* ------------------------------------------------------------------------ Stacked Callouts */

.home-callouts .callout .cta--stacked:before, .home-callouts .callout .img--ar--wrapper {
	border-radius: 10%;
}

.home-callouts .callout {
	margin-bottom: 1em;
}

.home-callouts .callout:last-child {
	margin-bottom: 0;
}

.cta--stacked:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #000000;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.45) 75%, rgba(0, 0, 0, 0.35) 100%);
	z-index: 1;
	transition: var(--standard-transition);
}

.cta--stacked:hover:before {
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0.15) 100%);
	transition: var(--standard-transition);
}

.cta--stacked .cta__heading {
	position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color: var(--white);
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0 1.5rem;
    text-shadow: 0px 1px 6px rgba(0, 0, 0, 0.35);
	z-index: 2;
	transition: var(--standard-transition);
}

.cta--stacked:hover .cta__heading {
	color: var(--white);
	transform: translate(-50%,-60%);
	transition: var(--standard-transition);
}

@media (min-width: 768px) {
	.home-callouts .callout:first-child .cta--stacked:before, .home-callouts .callout:first-child .img--ar--wrapper {
		border-radius: 15% 0 0 15%;
	}
	
	.home-callouts .callout:nth-child(2) .cta--stacked:before, .home-callouts .callout:nth-child(2) .img--ar--wrapper {
		border-radius: 0;
	}

	.home-callouts .callout:last-child .cta--stacked:before, .home-callouts .callout:last-child .img--ar--wrapper {
		border-radius: 0 15% 15% 0;
	}
	
	.home-callouts .callout {
		margin-bottom: 0;
	}
}


/* ------------------------------------------------------------------------ Cards */

.card {
	border-radius: 0;
	border: 0;
}

.card--border {
	border:  2px solid var(--grey-lt);
}

.card-body {
	padding: var(--card-p);
}

.card .subheading {
	text-transform: uppercase;
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 0;
    letter-spacing: 2px;
    line-height: 1;
}

.card .heading {
	font-family: var(--font-family-headings);
	font-size: 2rem;
	font-weight: 500;
	margin-top: 0.15em;
}

.card a {
	text-decoration: none;
	color: inherit;
	transition: var(--standard-transition);
}


body.sheet .card--info {
	background-color: var(--blue);
	color: var(--white);
	border-radius: 20px;
}

body.sheet .subheading {
	color: var(--gold);
}

body.electrical .card--info {
	background-color: var(--red);
	color: var(--white);
	border-radius: 20px;
}

body.electrical .subheading {
	color: var(--white);
}

body.pipe .card--info {
	background-color: var(--gold);
	color: var(--grey-dk);
	border-radius: 20px;
}

body.pipe .subheading {
	color: var(--grey-dk);
}

/* ------------------------------------------------------------------------ News Block */

.news__block {
    
}

.news__block .news__item {
    height: 100%;
}

.news__block .news__item a {
    height: 100%;
    border: solid 2px #ddd;
    border-radius: 0 0 20px 20px;
}

.news__block .content {
    padding: 2em;
    font-weight: 400;
}

.news__block .content h2, .news__block .content strong {
    color: var(--blue);
    transition: var(--standard-transition);
}

.news__block:hover .content h2, .news__block:hover .content strong {
    color: var(--grey-dk);
    transition: var(--standard-transition);
}

.news__block .content p {
    transition: var(--standard-transition);
}

.news__block:hover .content p {
    color: var(--grey-dk);
    transition: var(--standard-transition);
}

.news__block .content p:last-child {
    margin-bottom: 0;
}

/* ------------------------------------------------------------------------ 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(--white);
    background-color: var(--grey-dk);
}

.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;
}

.accordion-flush .accordion-body {
    padding: 2em;
}

/* ------------------------------------------------------------------------ icons */

.contacts .phone::before {
	content: '';
    display: inline-block;
    position: relative;
    background-image: url(../images/phone-icon.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 1em;
    height: 1em;
    top: 0.15em;
    margin-right: 0.5em;
}

.contacts .website::before {
	content: '';
    display: inline-block;
    position: relative;
    background-image: url(../images/website-icon.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 1em;
    height: 1em;
    top: 0.15em;
    margin-right: 0.5em;
}

/* ------------------------------------------------------------------------ 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;
}

/* ------------------------------------------------------------------------ Grey Bock */

.grey--block {
	border-radius: 20px;
	padding: 3em;
	background-color: var(--grey-lt);
}

/* ------------------------------------------------------------------------ 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(--grey-dk) url(../images/arrow-white.svg) no-repeat center;
    background-size: .875rem;
    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(--grey-dk);
}

#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;
}

/* ------------------------------------------------------------------------ Information Block */

.information { margin-top: 1em; }

.information .block {
	border-bottom: solid 1px #ddd;
	padding: 3em 0;
}

.information .block:last-child {
	margin-bottom: 0;
	border-bottom: 0;
}

.information .block .image {
	max-width: 6em;
	width: 100%;
	margin-right: 2em;
}

.information .block p {
	margin-bottom: 0;
}

.information .block p.h3 {
	margin-bottom: 0.15em;
}
	
/* ------------------------------------------------------------------------ Forms */
	
.required-input {
	color: var(--error) !important;
	font-size: 0.875rem;
	font-weight: var(--fw-700);
}

legend {
	font-size: 1rem;
}

.form-box {
	background-color: var(--white);
	padding: 2em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.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%);
}

button[type="submit"] {
	font-size: 1em;
	text-transform: uppercase;
	width: 100%;
	text-align: center;
}

.form-check-input {
    border: 1px solid var(--grey-lt);
}

.form-check-input[type=checkbox] {
    border-radius: 0;
}

.form-check-input:checked {
    background-color: var(--grey-dk);
    border-color: var(--grey-dk);
}

.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 */

.swiper-pagination-bullet {
	background: var(--white);
	width: 1rem;
	height: 1rem;
	opacity: 1;
}

.swiper-pagination-bullet-active {
	background: var(--grey-md);
}

.swiper-button-next, .swiper-button-prev {
	width: 3rem;
	height: 3rem;
	background: url(../images/arrow-white.svg) no-repeat left center;
	transition: var(--standard-transition);
}

.swiper-button-next {
	right: 1rem;
}

.swiper-button-prev {
	transform: rotate(180deg);
	left: 1rem;
}

.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;
}


/* ------------------------------------------------------------------------ To Top */

.to-top {
	position: fixed;
	opacity: 0;
	bottom: 1rem;
	right: 1rem;
	text-align: center;
	width: 3rem;
	height: 3rem;
	cursor: pointer;
	background: var(--grey-dk) 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(--grey-dk);
	margin-top: auto!important;
	padding: var(--section-p-sm) 0;
	color: var(--white);
	font-size: 1em;
}

.footer a {
	color: var(--white);
	text-decoration: none;
}

.footer a:hover {
	color: var(--gold);
}

.rkd {
	display: inline-block;
	width: 5.625rem; 
}

.footer .info-column {
	margin-bottom: 2em;
	text-align: center;
}

.footer .info-column:last-child {
	margin-bottom: 0;
}

.footer .contacts p {
	margin-bottom: 0.25em;
}

.footer .contacts p:last-child {
	margin-bottom: 0;
}

.footer .contacts .heading {
    font-family: var(--font-family);
	font-size: 1.25em;
	margin: 0 0 0.5em 0;
    font-weight: 700;
}

.footer__link {
	margin-right: 1rem;
	text-transform: uppercase;
	text-decoration: none;
}	

.footer__link:hover {
	text-decoration: underline;
}	
		
.social__icon {
	display: inline-block;
	width: 3rem;
	height: 3rem;
	padding: .5rem;
	margin: 0 .5rem 0 0;
	background-color: var(--grey-lt);
	border-radius: 50%;
	background-size: 2rem 2rem;
	transition: var(--standard-transition);
}

.social__icon:hover {
	transform: translateY(-.5em);
}

@media (min-width: 768px) {
	.footer .info-column {
		text-align: left;
	}
}

@media (min-width: 992px) {
	.footer .info-column {
		margin-bottom: 0;
	}
}