/*
 * Component: Main Header
 */

.koi-main-header{
	position: fixed;
	height: 3.125rem;
	z-index: 1030;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgb(250, 250, 250);
	border-bottom: 1px solid rgb(226, 232, 240);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/*
 * Component: Main Header Logo
 * The Logo is positioned in the left part of the header on wide screens
 * and has the width of the Side Bar.
 * On small screens it has the full width.
 * The image inside can be changed from logo-lg to logo-mini using JS.
 */

.koi-main-header .logo {
	-webkit-transition: width 0.3s ease-in-out;
	-o-transition: width 0.3s ease-in-out;
	transition: width 0.3s ease-in-out;
	display: flex;
	flex-direction: row;
	height: 3.125rem;
	font-size: 1.25rem;
	line-height: 3.125rem;
	text-align: center;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding: 0 0 0 1rem;
	font-weight: 300;
	overflow: hidden;
	color: #000;
	border-bottom: 0 solid transparent;
	flex: 0 0 auto;
	text-decoration: none;
	align-items: center;
	gap: 2rem;
}

@media (max-width: 767px) {
	.koi-main-header .logo {
		padding: 0 0 0 4rem;
	}
	.koi-main-header .logo .logo-mini{
		display: none !important;
	}
}


@media (max-width: 767px) {
	.koi-main-header .logo{
		width: 100%;
	}
}

.koi-main-header .logo img {
	padding: 4px;
	object-fit: contain;
	margin: 0 auto;
}

.koi-main-header .logo .logo-lg {
	display: block;
}

.koi-main-header .logo .logo-lg img {
	max-width: 180px;
	max-height: 50px;
}

.koi-main-header .logo .logo-mini {
	display: block;
}

.koi-main-header .logo .logo-mini img {
	max-width: 100%;
	max-height: 50px;
}

/*
 * Component: Main Header Nav Bar
 * It is on the right side of the header on large screens.
 * It is invisible on small screens.
 */

.koi-main-header .navbar {
	-webkit-transition: margin-left 0.3s ease-in-out;
	-o-transition: margin-left 0.3s ease-in-out;
	transition: margin-left 0.3s ease-in-out;
	margin-bottom: 0;
	margin-left: 230px;
	border: none;
	min-height: 50px;
	border-radius: 0;
	flex: 1 1 auto;
}

@media (max-width: 767px) {

	.koi-main-header .navbar {
		display: none;
	}
}

/*
 * Component: Main Header Sidebar Hamburger Button.
 * The button is on the left of the header on both screen sizes.
 */

.koi-main-header .idlink-for-header {
	display: block;
	width: 50px;
	height: 100%;
	flex: 0 0 auto;
}
@media (max-width: 767px) {
	.koi-main-header .idlink-for-header {
		position: absolute;
		z-index: 1100;
		left: 0;
		top: 0;
	}
}

.koi-main-header .idlink-for-header a{
	display: flex;
	justify-content: center; /* по горизонтали */
	align-items: center;     /* по вертикали */
	width: 50px;
	height: 100%;
	color: #333;
	text-align: center;
	background-image: none;
}

.koi-main-header .idlink-for-header a:hover {
	color: #000;
}

.koi-main-header .idlink-for-header a:focus,
.koi-main-header .idlink-for-header a:active {
}


