#header_catalog_link{}

#header_catalog_link .show{
	display:none;
}

#header_catalog_link.active{
	background:var(--marengo) !important;
	color:#fff;
}

#header_catalog_link.active:hover{
	background:var(--hmarengo) !important;
	color:#fff;
}

#header_catalog_link.active .hide{
	display:none;
}

#header_catalog_link.active .show{
	display:inline-block;
}

@media (min-width: 992px){

.header_popup_menu_wr{
	position:relative;
}

.header_popup_menu{
	/*background:#fbfbfb;*/
	overflow:hidden;
	z-index:1000;
	position:absolute;
	left:0px;
	top:-10px;
	width:100%;
	display:none;
	z-index:1100;
}

.header_popup_menu .wr{
	position:relative;
	/*min-height:620px;	*/
}

.header_popup_menu .wr ul.parent::before{
	/*content:'';*/
	height:100%;
	position:absolute;
	width:9000px;
	right:0px;
	/*background:#fbfbfb;*/
	background:#fff;
	box-sizing:border-box;
	/*border: 1px solid rgba(75, 85, 100, 0.1);*/
	border-right:none;
	margin-top:-9px;
}

.header_popup_menu ul{
	list-style:none;
	padding:0px;
	margin:0px;
	font-size:14px;
}

.header_popup_menu ul li ul{
	display:none;
	font-size:14px;
}

.header_popup_menu ul.parent{
	/*border-top: 1px solid rgba(75, 85, 100, 0.1);*/
	position:relative;
	padding:20px 0px 20px 0px;
	max-width:310px;
	box-sizing:border-box;
	background:#F7F7F7;
}

.header_popup_menu a.parent_link{
	display:flex;
	align-items:flex-start;
	gap:2px;
	box-sizing:border-box;
	width:310px;
	position:relative;
	padding:10px 15px 10px 15px;
	line-height:1;
	color:var(--marengo);
	text-decoration:none;
}

.header_popup_menu a.parent_link .icon{
	flex-shrink:0;
	line-height: 0px;
    margin-top: -3px;
	width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header_popup_menu a.parent_link::before{
	content:none;
	height:100%;
	width:9000px;
	left:-9000px;
	background:#fff;
	position:absolute;
	top:0px;
}

.header_popup_menu li:hover > a.parent_link{
	background:#E8E8E8;
}

.header_popup_menu li:hover > a.parent_link{
	content:'';
}

.header_popup_menu a.child_link{
	color:var(--marengo);
	text-decoration:none;	
}

.header_popup_menu a.child_link.red{
	color:var(--red);
}

.header_popup_menu a.child_link:hover{
	font-weight:bold;	
}


.header_popup_menu ul.parent > li > ul{
	position:absolute;
	top:0px;
	left:310px;
	padding:20px 20px 20px 20px;
	height:100%;
	display:none;
	flex-direction:column;
	width:100%;
	background:#fff;
	min-width:830px;
	box-sizing:border-box;
	border: 2px solid #F7F7F7;
	box-shadow: -1px 1px 4px 0px #0000000F;
}

.header_popup_menu ul.parent > li > ul > li{
	position:relative;
	line-height:1.2;
}

.header_popup_menu ul.parent > li > ul > li:not(:last-of-type){
	margin-bottom:9px;
}

.header_popup_menu ul.parent > li.hover ul{
	display:grid;
	grid-template-columns:repeat(5, 150px);
	gap:10px;
	align-content: flex-start;
}
/*
.header_popup_menu ul.parent > li.hover ul::before{
	content:'';
	background:#fff;
	left:0px;
	top:0px;
	height:100%;
	width:9000px;
	position:absolute;
}
*/
.header_popup_menu ul.parent > li.hover ul li{
	max-width:150px;
}

.header_popup_menu ul.parent > li.hover ul li .menu_pic{
	display:flex;
	align-items:center;
	justify-content:center;
	background:url(images/bg.svg) right bottom no-repeat #D9D9D9;
	background-size: cover;
	margin-bottom:5px;
	height:116px;
}

.header_popup_menu ul.parent > li.hover ul li .menu_pic img{
	max-width:100%;
	max-height:116px;
}

.header_popup_menu ul.parent > li.hover ul li .menu_txt{
	font-size:14px;
	font-weight:400;
}

.header_popup_menu ul.parent > li.hover ul li .menu_txt a{
	text-decoration:none;
	color:var(--marengo);
}

.header_popup_menu ul.parent > li.hover ul li .menu_txt a:hover{
	text-decoration:none;
	color:var(--marengo);
}

/*
.header_popup_menu ul.parent > li:first-of-type ul{
	display:flex;
	z-index:10;
}

.header_popup_menu ul.parent > li:hover ul{
	display:flex;
	z-index:20;
}
*/

.header_popup_menu li.bottom{
	margin-top:auto;
}

.header_popup_menu li.top a,
.header_popup_menu li.bottom a{
	display:flex;
	align-items:center;
	color:var(--blue);
	text-decoration:none;
}

.header_popup_menu li.bottom a .icon{
	margin-left:5px;
}

.header_popup_menu li.bottom a .icon svg path{
	fill:var(--blue);
}

.header_popup_menu li.top a:hover,
.header_popup_menu li.bottom a:hover{
	color:var(--red);
}

.header_popup_menu li.bottom a:hover .icon svg path{
	fill:var(--red);
}

}

@media (max-width: 991px){
	
	.header_popup_menu{
		padding:10px;
		background: #f2f2f2;
		display:none;
	}
	
	.header_popup_menu a{
		color:var(--marengo);
		text-decoration:none;
	}
	
	.header_popup_menu ul{
		list-style:none;
		margin:0px;
		padding:0px;
	}
	
	.header_popup_menu ul.parent > li:not(:last-of-type){
		margin-bottom:10px;
	}
	
	.header_popup_menu ul.parent > li > a{
		font-size:18px;
	}
	
	.header_popup_menu ul.child{
		padding-top:10px;
	}
	
	.header_popup_menu ul.child > li:not(:last-of-type){
		margin-bottom:10px;
	}

	.header_popup_menu ul.child > li > a{
		font-size:14px;
	}
	
	.header_popup_menu li.bottom a .icon{
		display:none;
	}
		
	.header_popup_menu ul.child > li::before{
		content:'\2192';
		margin-right:10px;
	}
	
	.header_popup_menu .menu_pic{
		display:none;
	}
	
	.header_popup_menu .menu_txt{
		display:inline;
	}
	
	.header_popup_menu .wr{
		min-height:auto;
	}
	
}