.hp-pipe-bg {
	background-image: url('../img/hp_pipe.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

/******************************************************************************
menu mouseover
*******************************************************************************/

#header #mainNav > li > a,
#header #mainNav > li > a:link,
#header #mainNav > li > a:visited {
	color: #999 !important;
}

#header #mainNav > li > a:hover,
#header #mainNav > li > a:focus {
	color: #fff !important;
}

/******************************************************************************
Overlay
*******************************************************************************/

.overlay {
    background:#000;
    height: 100%;
	position:absolute;
	top:0;
	left:0;
	right:0;
    opacity: 0.4;
    width: 100%;
}
.image-bg .overlay {
  background: #000;
  height: 100%;
  opacity: .2;
  filter: alpha(opacity=20);
  width: 100%;
}
.image-bg .overlay-white,
.overlay-white  {
  background: #fff;
  height: 100%;
  opacity: .8;
  filter: alpha(opacity=80);
  width: 100%;
}
.image-bg .overlay-verytiny-dark,
.overlay-quarter-dark {
  background: #000;
  height: 100%;
  opacity: .01;
  filter: alpha(opacity=20);
  width: 100%;
}
.image-bg .overlay-tiny-dark,
.overlay-quarter-dark {
  background: #000;
  height: 100%;
  opacity: .1;
  filter: alpha(opacity=20);
  width: 100%;
}
.image-bg .overlay-quarter-dark,
.overlay-quarter-dark {
  background: #000;
  height: 100%;
  opacity: .25;
  filter: alpha(opacity=20);
  width: 100%;
}
.image-bg .overlay-half-dark,
.overlay-half-dark {
  background: #000;
  height: 100%;
  opacity: .5;
  filter: alpha(opacity=20);
  width: 100%;
}
.image-bg .overlay-dark,
.overlay-dark{
  background: #000;
  height: 100%;
  opacity: .7;
  filter: alpha(opacity=20);
  width: 100%;
}
.image-bg .overlay-strips,
.overlay-strips{
  background:url(../img/patterns/pattern.png) repeat;
  height: 100%;
  opacity: .8;
  filter: alpha(opacity=20);
  width: 100%;
}
.image-bg .overlay-boxed,
.overlay-boxed {
  background:url(../img/patterns/pattern2.png) repeat;
  height: 100%;
  opacity: .1;
  filter: alpha(opacity=20);
  width: 100%;
}
.image-bg .overlay-color,
.overlay-color{
  height: 100%;
  opacity: .85;
  filter: alpha(opacity=20);
  width: 100%;
}

/******************************************************************************
BG Transparent
*******************************************************************************/

.transparent-bg,
.transparent-bg * {
	background-color: transparent !important;
}


.image-bg{
	width: 100%;
	display: block;	
	position: relative;
    overflow: hidden;
    background-attachment: static;
	background-repeat: no-repeat;
	background-position: center center;    
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;    
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	min-height: 560px;
}
.image-bg.static{
    background-attachment: static;
}
.image-bg.fixed{
    background-attachment: fixed;
}
.image-bg.content-in{
  background-repeat: no-repeat;
  background-position: center top;
  -webkit-background-size: cover;
  background-size: cover;
  bottom: 0;
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  z-index: 0;
  min-height:unset;
  
}

/******************************************************************************
Hero Text
*******************************************************************************/
.hero-text {
	font-size: clamp(2.5rem, 5vw, 5rem);
	line-height: 1;
}

.hero-big-text {
	font-size: clamp(4rem, 9vw, 9rem);
	line-height: 0.9;
}

.hero-subtext {
	font-size: 1.25rem;
	line-height: 1.3;
}

@media (min-width: 768px) {
	.hero-subtext {
		font-size: 1.75rem;
	}
}

/******************************************************************************
UNIVERSAL MAGNATECH BUTTON
*******************************************************************************/

.magnatech-btn,
.magnatech-btn:link,
.magnatech-btn:visited {
	background: transparent !important;
	border: 2px solid #fff !important;
	color: #fff !important;
}

.magnatech-btn:hover,
.magnatech-btn:focus,
.magnatech-btn:active {
	background: #fff !important;
	border-color: #fff !important;
	color: #333 !important;
}
/******************************************************************************
MODALS
*******************************************************************************/


.glass-panel {
	background: rgba(255, 255, 255, 0.20);
	border-radius: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.30);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18), 0 12px 30px rgba(0, 0, 0, 0.20);
	backdrop-filter: blur(30px) saturate(140%) brightness(1.08);
	-webkit-backdrop-filter: blur(7px) saturate(140%) brightness(1.08);

	padding: 20px 25px;
}

/*	border: 1px solid rgba(255, 255, 255, 0.30); (from above)
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
*/


.modal-content.modal-glass {
    background: rgba(25, 25, 25, 0.45);
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65), 0 30px 70px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(30px) saturate(140%) brightness(1.08);
    -webkit-backdrop-filter: blur(7px) saturate(140%) brightness(1.08);
    border: 1px solid rgba(255, 255, 255, 0.30);
    color: #fff;
}

.modal-content.modal-glass .modal-header {
	background: transparent;
	border-bottom: none;
}

.modal-content.modal-glass .modal-body {
	color: #fff;
}


.modal-backdrop {
	background-color: #000 !important;
}

.modal-backdrop.show {
	opacity: 0.001 !important;
}


/* Glass modal scrollbar - Firefox */

.modal-glass .modal-body {
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}


/* Glass modal scrollbar - Chrome / Edge / Safari */

.modal-glass .modal-body::-webkit-scrollbar {
	width: 6px;
}

.modal-glass .modal-body::-webkit-scrollbar-track {
	background: transparent;
}

.modal-glass .modal-body::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.35);
	border-radius: 10px;
}

.modal-glass .modal-body::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.55);
}

.modal-footer {
  border-top: none;

}

/******************************************************************************
MODAL LINK BUTTONS - USE CURRENT SKIN COLOUR
*******************************************************************************/

.modal-link-btn {
	color: #222 !important;
}

.modal-link-btn:hover,
.modal-link-btn:focus {
	color: var(--tab-accent) !important;
}

/******************************************************************************
GLASS FORMS

Current forms:
#infoModal
#siteAssessmentModal

For future forms add class="glass-form" to the form element.
*******************************************************************************/


#infoModal .form-control,
#siteAssessmentModal .form-control,
.glass-form .form-control {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #fff;
	border-radius: 8px;
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}


#infoModal .form-control:focus,
#siteAssessmentModal .form-control:focus,
.glass-form .form-control:focus {
	background: rgba(255, 255, 255, 0.92);
	border-color: rgba(255, 255, 255, 0.80);
	color: #333;
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.10), 0 5px 16px rgba(0, 0, 0, 0.22);
	outline: none;
}


#infoModal .form-control::placeholder,
#siteAssessmentModal .form-control::placeholder,
.glass-form .form-control::placeholder {
	color: rgba(255, 255, 255, 0.55);
}


#infoModal .form-control:focus::placeholder,
#siteAssessmentModal .form-control:focus::placeholder,
.glass-form .form-control:focus::placeholder {
	color: rgba(0, 0, 0, 0.40);
}


/* Glass checkboxes */

#infoModal .form-check-input,
#siteAssessmentModal .form-check-input,
.glass-form .form-check-input {
	background-color: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.45);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}


#infoModal .form-check-input:checked,
#siteAssessmentModal .form-check-input:checked,
.glass-form .form-check-input:checked {
	background-color: #0099ff;
	border-color: #0099ff;
}


/* Glass form messages */
.modal-glass .alert {
	color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	text-shadow: none;
}

/* Success - green tinted glass */
.modal-glass .alert-success {
	background: rgba(40, 167, 69, 0.22);
	border: 1px solid rgba(120, 220, 145, 0.40);
	color: #fff;
}

/* Error - red tinted glass */
.modal-glass .alert-danger {
	background: rgba(220, 53, 69, 0.22);
	border: 1px solid rgba(255, 140, 150, 0.40);
	color: #fff;
}

.modal-glass label.error {
	text-shadow: none !important;
}

/******************************************************************************
button front page
*******************************************************************************/


.btn-info-request {
	background-color: #fff;
	border-color: #fff;
	color: #0086cf;
}

.btn-info-request:hover {
	background-color: #0086cf;
	border-color: #0086cf;
	color: #fff;
}
.text-primary-blue{
	color: #0086cf;
}

.text-primary-blue :hover {
	color: #0086cf; 
}		
	
.glass-btn {
	background: rgba(255, 255, 255, 0.12) !important;
	border: 1px solid rgba(255, 255, 255, 0.85) !important;
	color: #fff !important;
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.10), 0 4px 12px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.glass-btn:hover,
.glass-btn:focus {
	background: #fff !important;
	border-color: #fff !important;
	color: #0099ff !important;
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25);
}
	
/******************************************************************************
carousel front page
*******************************************************************************/


.front-carousel .owl-item > div {
	height: 165px;
	display: flex;
	align-items: center;
	justify-content: center;
}


.front-carousel img {
	display: block;
	width: 90% !important;
	max-width: 390px;
	max-height: 140px;
	object-fit: contain;
}

/******************************************************************************
INDUSTRIAL CAROUSEL
*******************************************************************************/

.industrial-carousel img {
	width: auto !important;
	max-width: 85%;
	height: auto;
	margin: 0 auto;
}


/******************************************************************************
benefits image
*******************************************************************************/

	
.benefit-item {
	display: grid;
}

.benefit-item .benefit-off,
.benefit-item .benefit-on {
	grid-area: 1 / 1;
	width: 100%;
	transition: opacity 0.2s ease-in-out;
}

.benefit-item .benefit-on {
	opacity: 0;
}

.benefit-item:hover .benefit-on {
	opacity: 1;
}

.benefit-item:hover .benefit-off {
	opacity: 0;
}

@media (max-width: 767px) {
	.benefit-item img {
		width: 450px;
		max-width: 100%;
	}
}
/******************************************************************************
button styling
*******************************************************************************/
.furnace-btn { background: transparent; border: 2px solid #fff; color: #fff; }
.furnace-btn:hover, .furnace-btn:focus { background: #fff; border-color: #fff; color: #0099ff; }

/******************************************************************************
TOP TRUMPS LIGHTBOX
*******************************************************************************/

.toptrumps .mfp-img {
    width: auto;
    min-width: 500px;
}

/******************************************************************************
tabs
*******************************************************************************/
#nav-tab {
	border-bottom: 0;
}

#nav-tab .nav-link {
	position: relative;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	color: rgba(255,255,255,.55);
	padding: 15px 10px 18px;
	transition: color .15s ease;
}

#nav-tab .nav-link:hover {
	color: #fff;
}

#nav-tab .nav-link.active {
	color: #fff;
	background: transparent !important;
	}

#nav-tab .nav-link.active::after {
	content: "";
	position: absolute;
	left: 25%;
	right: 25%;
	bottom: 0;
	height: 2px;
	background: var(--tab-accent);
}

/* this is me */

#nav-tabContent {
	color: rgba(255,255,255,.85);
	max-width: 950px;
	margin: 0 auto;
	padding-top: 28px !important;
	min-height: 150px;
}

#nav-tabContent .tab-pane {
	text-align: left;
	
}


/* =========================================================
   MAGNATECH REUSABLE TAB SYSTEM
   ========================================================= */

.magnatech-tabs {
	width: 100%;
	margin-top: 5px;
}

/* Tab navigation */

.magnatech-tabs .nav-tabs {
	border: 0;
}

.magnatech-tabs .nav-tabs .nav-link {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	color: rgba(255,255,255,.55);
	padding: 15px 12px 20px;
	transition: color .15s ease;
}

.magnatech-tabs .nav-tabs .nav-link:hover,
.magnatech-tabs .nav-tabs .nav-link.active {
	color: #fff;
	background: transparent !important;
}

/* Tab title */

.magnatech-tabs .magnatech-tab-title {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	line-height: 1.3;
	text-align: center;
}

/* Active underline */

.magnatech-tabs .nav-tabs .nav-link::after {
	content: "";
	position: absolute;
	left: 28%;
	right: 28%;
	top: 58px;
	height: 2px;
	background: transparent;
}

.magnatech-tabs .nav-tabs .nav-link.active::after {
	background: var(--tab-accent, #0099ff);
}

/* =========================================================
   MAGNATECH TAB CONTENT SCROLLBAR
   ========================================================= */

/* Firefox */
.magnatech-tabs .magnatech-tab-content {
	scrollbar-width: thin;
	scrollbar-color: var(--tab-accent) rgba(0,0,0,.25);
}

/* Chrome / Edge / Safari */
.magnatech-tabs .magnatech-tab-content::-webkit-scrollbar {
	width: 10px;
}

.magnatech-tabs .magnatech-tab-content::-webkit-scrollbar-track {
	background: rgba(0,0,0,.25);
	border-radius: 10px;
}

.magnatech-tabs .magnatech-tab-content::-webkit-scrollbar-thumb {
	background: var(--tab-accent);
	border-radius: 10px;
	border: 2px solid rgba(0,0,0,.25);
}

.magnatech-tabs .magnatech-tab-content::-webkit-scrollbar-thumb:hover {
	background: var(--tab-accent);
}

/* Icons */

.magnatech-tabs .magnatech-tab-icon {
	position: relative;
	display: block;
	width: 100%;
	max-width: 130px;
	aspect-ratio: 1 / 1;
	margin: 10px auto 0;
}

.magnatech-tabs .magnatech-tab-icon img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.magnatech-tabs .magnatech-tab-icon .icon-off {
	display: block;
}

.magnatech-tabs .magnatech-tab-icon .icon-on {
	display: none;
}

.magnatech-tabs .nav-link.active .icon-off {
	display: none;
}

.magnatech-tabs .nav-link.active .icon-on {
	display: block;
}


/* Tab content */

.magnatech-tabs .magnatech-tab-content {
	max-width: 1250px;
	min-height: 250px;
	margin: 20px auto 0;
	padding: 25px 35px;
	color: rgba(255,255,255,.88);
}

.magnatech-tabs .magnatech-tab-content .tab-pane {
	text-align: left;
}

/******************************************************************************
SAVINGS PATHWAY ARROWS
*******************************************************************************/

@media (min-width: 992px) {

	.magnatech-pathway .nav-tabs .nav-link {
		flex: 1 1 0;
		min-width: 0;
	}

	.magnatech-pathway .pathway-arrow {
		flex: 0 0 45px;
	}
}



/* =========================================================
   SMOKED GLASS INFORMATION PANEL
   ========================================================= */

@media (min-width:992px) {

	.magnatech-pathway .magnatech-tab-content,
	.magnatech-works .magnatech-tab-content {
		position: relative;
		background: transparent;
		backdrop-filter: blur(2px) saturate(105%);
		-webkit-backdrop-filter: blur(2px) saturate(105%);
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 18px;
		box-shadow: 0 14px 22px -10px rgba(0,0,0,.75), 0 5px 10px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.20);
		z-index: 1;
		overflow: visible;
	}

	/* Individual panel heights */

	.magnatech-works .magnatech-tab-content {
		height: 200px;
		min-height: 200px;
	}

	.magnatech-pathway .magnatech-tab-content {
		height: 240px;
		min-height: 240px;
	}

	.magnatech-pathway nav,
	.magnatech-works nav {
		position: relative;
		z-index: 2;
	}

/* =========================================================
   SMOKED GLASS INFORMATION PANEL - SECTOR HIGHLIGHT
   ========================================================= */

	.magnatech-pathway .magnatech-tab-content::before,
	.magnatech-works .magnatech-tab-content::before {
		content: "";
		position: absolute;
		top: -2px;
		left: 0;
		right: 0;
		height: 45px;
		border-radius: 18px 18px 0 0;
		background:
			radial-gradient(ellipse at 17% 0%,
				var(--glass-glow-1) 0%,
				var(--glass-glow-2) 5%,
				var(--glass-glow-3) 15%,
				var(--glass-glow-4) 28%,
				transparent 42%),
			radial-gradient(ellipse at 62% 0%,
				rgba(255,255,255,.32) 0%,
				rgba(255,255,255,.13) 24%,
				rgba(255,255,255,.035) 48%,
				transparent 70%);
		filter: blur(4px);
		pointer-events: none;
	}
}


/* =========================================================
   MOBILE / TABLET - 2 COLUMN TAB SYSTEMS
   ========================================================= */

@media (max-width: 991.98px) {

	.magnatech-tabs {
		margin-top: 15px;
	}

/* Put navigation above changing text */

.magnatech-pathway,
.magnatech-works {
	display: flex;
	flex-direction: column;
}

.magnatech-pathway nav,
.magnatech-works nav {
	order: 1;
}

.magnatech-pathway .magnatech-tab-content,
.magnatech-works .magnatech-tab-content {
	order: 2;
}
	/* Tab stages - 2 columns */

	.magnatech-tabs .nav-tabs {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 4px 8px;
		width: 100%;
	}

	.magnatech-tabs .nav-tabs .nav-link {
		width: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		min-height: 52px;
		padding: 4px 6px;
		text-align: left;
	}

	/* Compact icons */

	.magnatech-tabs .magnatech-tab-icon {
		flex: 0 0 42px;
		width: 42px;
		height: 42px;
		margin: 0 7px 0 0;
		aspect-ratio: 1 / 1;
		order: 1;
	}

	/* Compact headings */

	.magnatech-tabs .magnatech-tab-title {
		justify-content: flex-start;
		min-height: 0;
		line-height: 1.15;
		font-size: 13px;
		text-align: left;
		order: 2;
	}

	/* Mobile active marker */

	.magnatech-tabs .nav-tabs .nav-link::after {
		content: "";
		position: absolute;
		top: auto !important;
		bottom: 0 !important;
		left: 20% !important;
		right: 20% !important;
		width: auto !important;
		height: 2px !important;
		background: transparent;
	}

	/* Mobile active marker */

	.magnatech-tabs .nav-tabs .nav-link.active::after {
	background: var(--tab-accent);
	}
		


	/* Intro / selected stage text below the grid */

	.magnatech-tabs .magnatech-tab-content {
		min-height: 0;
		max-height: 280px;
		margin: 15px auto 0;
		padding: 12px 10px;
		font-size: 15px;
		line-height: 1.5;
		overflow-y: auto;
		overflow-x: hidden;
	}
}

