header#hh-header {
	z-index: +10 !important;
}

#navigation {
	--weightNormal: 400;
	--weightSemiBold: 600;
	--weightBold: 700;
	--hhRed: #e4002b;
	z-index: 99999;
	letter-spacing: -.015em;
	color: #000;
	display: grid;
	position: fixed;
	top: 0;
	left: -100vw;
	width: 100vw;
	height: 100vh;
	will-change: transform;
	transform: translateZ(0);
	overflow-x: hidden;
	z-index: 9990;
}





#navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
#navigation ul a {
	display: block;
	color: inherit !important;
	cursor: pointer;
	text-decoration: none;
}






#navigation > * > header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 3.0em;
	margin: 0 0 0 0;
	translate: 0 -.25em;
}
#navigation > *:not(:first-child) > header {
	justify-content: flex-end;
}
#navigation > * > header > img {
	/* height: 40.909090909px; */
	height: 45px;;
	width: auto;
	/* display: flex; */
}
#navigation > * > header h3 {
	margin: 0;
	line-height: 100%;
	font-size: 1em;
	font-weight: var(--weightBold);
	color: inherit;
}
#navigation > * > header h3 a {
	color: inherit;
}



@media screen and (max-width: 799px) {
	#navigation {
		--fullgap: 2.5em;
		--halfgap: 1.5em;
		--minigap: .75em;
		--timing: .25s;
		--easing: cubic-bezier(.24,1,.8,1);
		/* --easing: linear; */
		z-index: +11;
		transition: transform var(--timing) var(--easing) .05s;
		grid-template-columns: 100% 100% 100%;
		font-size: 20px;
		overflow: visible;
		display: none;
		transform: translateX(-100%);
	}
	#navigation > * {
		grid-row: 1/2;
	}
	#navigation:target,
	#navigation.active {
		display: grid;
		transform: translateX(100%);
	}
	#navigation a[title="close"] {
		font-size: 2rem;
	}

	#navigation a {
		--webkit-tap-highlight-color: transparent;
		--webkit-touch-callout: none;
	}


	#navigation div:empty {
		display: none;
	}

	#navigation > div ~ button {
		background: #fff !important;
	}	

	#navigation > div {
		/* transition: transform var(--timing) var(--easing); */
		padding: 1.5em;
		padding-bottom: 6.5em;
		margin: 0;
		background: #fff;
		overflow-y: scroll;
	}
	
	#navigation[data-nav-level="0"] {
		/* transform: translateX(0); */
	}
	#navigation[data-nav-level="1"] {
		transform: translateX(0%);
	}
	#navigation[data-nav-level="2"] {
		transform: translateX(-100%);
	}

	#navigation > div:nth-child(1) {
		grid-column: 1/2;
		z-index: +3;
	}
	#navigation > div:nth-child(2) {
		grid-column: 2/3;
		z-index: +2;
	}
	#navigation > div:nth-child(3){
		grid-column: 3/4;
		z-index: 1;
	}

}





@media screen and (min-width: 800px) {
	#navigation {
		--fullgap: 60px;
		--halfgap: 32px;
		--leftgap: 32px;
		--minigap: 18px;
		--timing: .25s;
		--easing: ease;
		font-size: 24px;
		transition: transform 0s var(--easing) var(--timing);
		/* grid-template-columns: clamp(30ch, 30%, 50ch) 26% 26% 1fr; */
		/* grid-template-columns: 25vw 25vw 25vw 1fr; */
		grid-template-columns: repeat(3, 1fr);
	}
	#navigation:target,
	#navigation.active {
		will-change: transform;
		transform: translateX(100%);
		transition: transform 0s linear 0s;
	}
	#navigation a[title="close"] {
		font-size: 2rem;
	}
	#navigation > div {
		will-change: transform;
		transition: transform var(--timing) var(--easing);
		padding: calc(var(--halfgap) / 2) var(--halfgap) var(--halfgap);
		background: #fff;
		overflow-y: auto;
		overflow-x: hidden;
	}

	#navigation > * {
		grid-row: 1/2;
	}
	
	
	
	
	
	#navigation div:empty {
		display: block;
		opacity: 0;
		transform: translateX(-100%) !important;
	}








	#navigation > div:nth-child(1) {
		/* will-change: transform; */
		/* transition: transform var(--timing) var(--easing); */
		transform: translateX(-100%);
		z-index: 9999;
	}
	#navigation > div:nth-child(2) {
		transform: translateX(-100%);
	}
	#navigation:target > div:nth-child(1),
	#navigation.active > div:nth-child(1),
	#navigation:target > div:nth-child(2),
	#navigation.active > div:nth-child(2){
		transition: transform var(--timing) var(--easing);
		transform: translateX(0);
		border-right: 1.5px solid #f5f5f5;
	}

	#navigation:target > div:nth-child(3),
	#navigation.active > div:nth-child(3){
		transition: transform var(--timing) var(--easing) ;
		transform: translateX(0);
	}

	#navigation > div:nth-child(1) {
		z-index: +2;
		grid-column: 1/2;
		z-index: 9999;
	}
	#navigation > div:nth-child(2) {
		z-index: +1;
		grid-column: 2/3;
		z-index: 9998;
	}
	#navigation > div:nth-child(3){
		z-index: +1;
		grid-column: 3/4;
		z-index: 9997;
	}

	/* #navigation:target > div ~ button,
	#navigation.active > div ~ button{
		-moz-backdrop-filter: blur(60px);
		-ms-backdrop-filter: blur(60px);
		-webkit-backdrop-filter: blur(60px);
		backdrop-filter: blur(60px);
	} */

	
}





#navigation > div > ul {
	font-weight: var(--weightBold);
}
#navigation > div:nth-child(1) > ul,
#navigation > div:nth-child(2) > ul,
#navigation > div:nth-child(3) > ul{
	font-weight: var(--weightNormal);
	font-size: 20px;
	padding-top: .5em;
}
#navigation > div:nth-child(1) > ul > li a,
#navigation > div:nth-child(2) > ul > li a,
#navigation > div:nth-child(3) > ul > li a{
	padding-top: .35em;
	padding-bottom: .35em;
}
#navigation > div:nth-child(1) > ul > li a.active,
#navigation > div:nth-child(2) > ul > li a.active,
#navigation > div:nth-child(3) > ul > li a.active{
	justify-content: space-between;
	text-decoration: none !important;
	background: #F7F7F7;
	color: var(--hh-red) !important;
}
#navigation > div:nth-child(1) > ul > li a,
#navigation > div:nth-child(2) > ul > li a{
	display: flex;
	justify-content: space-between;
	text-decoration: none !important;
}
#navigation > div:nth-child(1) > ul > li a.arrow::after,
#navigation > div:nth-child(2) > ul > li a.arrow::after {
	content: url(https://www.homehardware.ca/_icons/icon-chevron-right.black.svg);
	opacity: .35;
	/* animation: easeright var(--timing) var(--easing) forwards; */
	/* margin-right: 1rem; */
	width: 10px;
}
#navigation > div:nth-child(1) > ul > li a.active::after,
#navigation > div:nth-child(2) > ul > li a.active::after{
	content: url(https://www.homehardware.ca/_icons/icon-chevron-right.black.svg);
	opacity: 1;
	/* animation: easeright var(--timing) var(--easing) forwards; */
	/* margin-right: 1rem; */
	width: 10px;
}




/* friggin top level sub nav */
#navigation > div:nth-child(1) ul,
#navigation > div:nth-child(2) ul,
#navigation > div:nth-child(3) ul{
	margin-left: calc(var(--halfgap) * -1);
	margin-right: calc(var(--halfgap) * -1);
}
#navigation > div:nth-child(1) ul a,
#navigation > div:nth-child(2) ul a,
#navigation > div:nth-child(3) ul a {
	padding-left: var(--halfgap);
	padding-right: var(--halfgap);
	transition: transform var(--timing) var(--easing), background var(--timing) var(--easing);
}
#navigation > div:nth-child(1) ul a:hover,
#navigation > div:nth-child(2) ul a:hover,
#navigation > div:nth-child(3) ul a:hover{
	/* background: var(--hh-light-grey); */
	color: var(--hh-red) !important;
	transform: translateX(.15em);
}
#navigation > div:nth-child(1) ul li:hover,
#navigation > div:nth-child(2) ul li:hover,
#navigation > div:nth-child(3) ul li:hover{
	background: var(--hh-light-grey);
}
#navigation > div:nth-child(2) ul span,
#navigation > div:nth-child(3) ul span {
	font-family: 'hhAgendaBold';
	
}
#navigation > div:nth-child(1) > ul:nth-child(2) > li:nth-child(n+2){
	font-family: "hhAgendaMedium", sans-serif;
	font-size: 20px;
	color: #000000;
}
#navigation > div:nth-child(1) span:nth-child(1){
	border-bottom: 1px solid #BCBCBC;
	display:block;
	padding-bottom: .5em;
}
#navigation > div:nth-child(2) div,
#navigation > div:nth-child(3) div{
	display:flex;
}

#navigation li[data-first] ul {
	padding-bottom: 1em;
}

#navigation > div > h3 {
	border-bottom: 1px solid var(--hh-grey);
	padding-bottom: .5em;
}
#navigation > div > h3 small {
	display: block;
	font-size: .65em;
	color: var(--hh-red);
	line-height: 100%;
}
#navigation > div > h3 a:hover {
	text-decoration: none;
}

#navigation > div ~ button {
	display: revert;
	will-change: opacity;
	grid-column: 1/-1;
	opacity: 0;
	background: #4448;
	border: 0;
	transition: opacity var(--timing) var(--easing), backdropFilter var(--timing) var(--easing);
	overflow: hidden;
	text-indent: -999rem;
}
#navigation:target > div ~ button,
#navigation.active > div ~ button{
	transition: opacity var(--timing) var(--easing);
	opacity: 1;
	/* -webkit-backdrop-filter: blur(60px); */
}



#navigation header > button > img.Icon {
	padding-right: 0 !important;
	opacity: .35;
}

#navigation header > button.back {
	border-color: transparent;
}


















#navigation a.more {
	color: var(--hhRed) !important;
}



@media screen and (min-width: 1200px) {
	#navigation {
		grid-template-columns: clamp(30ch, 30%, 40ch) clamp(30ch, 30%, 40ch) clamp(30ch, 30%, 40ch) 1fr;
	}
	
}





#navigation ul[data-links] * {
	font-family: "hhAgendaBold", sans-serif;
}


#navigation ul[data-account] {
	display: flex;
	margin: 1em 0 0;
	flex-wrap: wrap;
	font-size: 20px;
	color:#444444;
}
#navigation ul[data-account] li {
	margin: 0;
	padding: 0 0.625em 0 0;
	font-family: "hhAgendaMedium", sans-serif;
	font-size: 16px;
	border-bottom:1px solid #BCBCBC;
}
#navigation ul[data-account] li img{
	padding-right: 5px;
	width: 20px;
	height: 28px;
}
#navigation ul[data-account] a {
	padding: 0;
	display: flex;
}
#navigation ul[data-account] svg {
	color: #999;
	height: .9em;
	flex-grow: 0;
	align-self: center;
	margin-right: .25em;
}


#navigation ul[data-secondary],
#navigation a[data-lang] {
	font-weight: var(--weightNormal) !important;
	font-size: 18px !important;
	color:#444444;
}



















/* scrollbar */
#navigation > div::-webkit-scrollbar {
	-webkit-appearance: none;
	appearance: none;
	width: .5em;
	/* width: 0; */
	/* cursor: pointer; */
}
#navigation > div::-webkit-scrollbar-track {
	/* background: transparent; */
	/* background-color: #f5f5f5; */
	opacity: 0;
	border: 1px solid var(--hh-grey);
}
#navigation > div::-webkit-scrollbar-thumb {
	background-color: #d9d9d9;
	opacity: .3;
	border-radius: .25em;
	outline: none;
	transition: opacity .3s;
	/* opacity: 0; */
}
#navigation > div::-webkit-scrollbar-thumb:hover {
	opacity: 1;
	/* background-color: #eee; */
	/* opacity: 0; */
}







/* tmp quick fixesx */ 
nav.hhMainNav {
	margin-bottom: 10px
}
svg.alert-banner--close {
	padding: 0 !important;
}
.hero-slide + .hero-slide {
	height: 0;
}
div#account-paymentmethods img {
	width: 300px;
	height: auto;
}



/* kibo fixes */
#navigation[data-decoupled] > div > ul > li a  {
    line-height: 1.3;
}
#navigation[data-decoupled] > div h3  {
    font-size: 24px;
}