#header
{
	display: block;
	min-width: var(--min_width);
	width: var(--stretch_width, 100%);
	height: var(--TopPanelHeight, 40px);
	margin: 0 auto;
	padding: 0;
	z-index: 14;
	top: var(--AboveHeaderHeight);
	background: var(--TopPanelColor, #424242);
	color: var(--TopPanelLinkColor, #ccc);
	font-family: var(--font4);
}
body.fix-header #header
{
	position: fixed;
}
body.fix-header #header.fixed
{
	box-shadow: 0 14px 14px 0 rgba(0, 0, 0, 0.08);
}
.fancybox-lock.fix-header #header
{
	overflow-y: scroll;
}
body.adaptive #header { min-width: 0; }
#header .layout
{
	padding-left: 0;
	padding-right: 0;
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: stretch;
	/*position: static;*/
}
#logo-top-line, #logo-adaptive { font-size: 0; }
#logo-top-line img, #logo-top-line + #logo-adaptive img
{
	vertical-align: middle;
	display: inline-block;
}
#logo-top-line:empty { display: none; }
#logo-top-line + #logo-adaptive { display: none; }
#logo-top-line.header-link:hover, #logo-top-line + #logo-adaptive { background: transparent; }
.header-link
{
	height: 100%;
	padding: 0 var(--HeaderPadding);
	color: var(--TopPanelLinkColor, #ccc);
	text-decoration: none;
	transition: none;
	position: relative;
	white-space: nowrap;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}
*.header-link:hover, *.header-link.selected
{
	background: var(--TopPanelHoverColor, #333);
	color: var(--TopPanelLinkHoverColor);
}

.cli-icon.header-cli-icon, .cli-icon.header-cli-icon.empty
{
	color: inherit;
}

@media (max-width: 1023px)
{
	:root
	{
		--HeaderPadding: 10px;
	}
	.header-link.arrowed::after
	{
		display: none;
	}
}
@media (max-width: 568px)
{
	#header-contact .contact-content
	{
		display: none;
	}
}


/* Header contact */
#header-contact
{
	color: var(--CustomContactHeaderColor, inherit);
	justify-content: center;
	text-align: center;
	flex-basis: 100%;
}
#header-contact:hover
{
	background: transparent;
}
#header .layout > #header-contact
{
	flex-shrink: 1;
}
#header-contact.contact.iconed > * { vertical-align: baseline; }
#header-contact .contact-content > * + *
{
	margin-top: 0;
}
#header-contact .phone { display: inline-block; }
#header-contact .phone:not(:first-child) { margin-left: 20px; }
#header-contact a
{
	text-decoration: none;
	color: inherit;
}
#header-contact a:hover { color: var(--TopPanelLinkHoverColor); }
.menu-header
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	height: 100%;
	display: flex;
	align-items: stretch;
	transition-duration: 0s;
}
.menu-header .header-link
{
	transition: all 0s ease-out var(--MenuTransitionDelay);
}
.menu-header.no-transition .header-link
{
	transition: none;
}
.catalog-fast-search-header ~ #header-contact:empty
{
	display: none;
}
