/* Шапка: логотип слева, контакты Наталья/Владимир справа в голубой полосе.
   Классы .cont-head лежат в HTML внутри #nav — поднимаем их в #header. */

#header {
	position: relative;
	text-align: left;
	padding: 12px 0 0;
	min-height: 130px;
}

#header .logo {
	float: left;
	margin: 0 0 0 40px;
}

#header .cont-head,
#nav > .cont-head {
	position: absolute;
	top: 32px;
	right: 40px;
	z-index: 3;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	gap: 56px;
	max-width: 62%;
	text-align: left;
	color: #fff;
	font-size: 15px;
	line-height: 1.35;
}

#header .cont_itm,
#nav .cont_itm {
	width: auto;
	min-width: 220px;
}

#header .cont_itm p,
#nav .cont_itm p {
	display: block;
	float: none;
	width: auto;
	margin: 0 0 0.2em;
	padding: 0;
	font-weight: 700;
	color: #fff;
}

#header .cont_itm a,
#nav .cont_itm a {
	color: #fff;
	border-bottom: none;
}

#header .cont_itm a:hover,
#nav .cont_itm a:hover {
	color: #fff;
	border-bottom: 1px dotted #fff;
}

#header .cont_itm .num,
#nav .cont_itm .num {
	margin-top: 0.15em;
	white-space: nowrap;
}

#header .cont_itm .num a,
#nav .cont_itm .num a {
	display: inline;
}

#header .cont_itm .num img,
#nav .cont_itm .num img {
	width: 16px;
	height: 16px;
	vertical-align: -3px;
	margin-right: 4px;
	border: 0;
}

#nav {
	clear: both;
	width: 100%;
	display: block;
	text-align: center;
}

#nav > ul {
	position: relative;
	z-index: 1;
}

@media screen and (max-width: 1280px) {
	#header {
		padding: 10px 0 0;
		min-height: 120px;
	}

	#header .logo {
		margin-left: 24px;
	}

	#header .cont-head,
	#nav > .cont-head {
		top: 16px;
		right: 24px;
		gap: 32px;
		font-size: 13px;
	}

	#header .cont_itm,
	#nav .cont_itm {
		min-width: 0;
	}
}

@media screen and (max-width: 980px) {
	#header .cont-head,
	#nav > .cont-head {
		gap: 20px;
		font-size: 12px;
		max-width: 58%;
	}

	#header .logo {
		background-size: contain;
		width: 240px;
		height: 110px;
	}

	#header .logo_txt {
		padding: 50px 0 0 92px;
		font-size: 13px;
	}
}
