.header {
	position: fixed;
	background-color: #fff;
    width: 100%;
	z-index: 10;
	height: 90px;
	max-width: 1200px
}
.header_yes {
	position: absolute;
}
.logo {
	left: 0;
	display: inline-block;
	width: 44%;	
}
.logo img {
	width: 200px;
	position: absolute;
	margin-top: -104px;
	left: 50%;
	margin-left: -100px;
}
.header-menu-mobil {
	display: none;
	}
.menu {
	text-align: center;
	display: inline-block;
	width: 10%;
	margin-top: 40px;
}
.menu-znak {
	text-align: center;
	display: inline-block;
	width: 6%;
}
.znak {
	font-size: 2em;
}
.znak2 {
	font-size: 3em;
}
.header-menu {
	height: 90px;
}
.spoiler {
	position: absolute;
	margin: -30px 0px 0px 2%;
}
.dropdown-menu {
	margin-top: 12px;
}
.menu_but {
	/*background: linear-gradient(to left, rgba(100, 100, 100, 0), rgba(100, 100, 100, 0.1), rgba(100, 100, 100, 0));*/
	background-color: #ccccdd;
	height: 30px;
	margin: 0;
	width: 100%;
    position: fixed;
    z-index: 7;
}
.menu_but h4 {
	font-family: Montserrat-regular, sans-serif; /* Шрифт на веб-странице */
	font-weight: 100;
	text-align: center;
	white-space: nowrap;
	color: #fff;
	font-size: 100%;
	padding-top: 7px;
	margin-top: 0;
}
/* ================ Меню ========================= */  
/* Выпадающее меню */
.dropdown-menu {
    position: absolute;
    top: 100%;
    z-index: 10;
    float: left;
    width: 300px;
    margin-left: -32px;
    font-size: 1rem;
    text-align: left;
    list-style: none; /* Нет маркера */
    background-color: rgba(240,240,240,.95);
    background-clip: padding-box;
}
/* Список в меню */
.dropdown-item {
    display: block;
    padding: 12px 0px 12px 20px;
    clear: both; /* Отменяет обтекание элемента одновременно с правого и левого края. */
    font-weight: 400; /* Насышенность */
    text-align: inherit; /* Как у родителя */
    white-space: nowrap; /* Пробелы не учитываются, переносы строк в коде HTML игнорируются, весь текст отображается одной строкой; */
	border-bottom: 1px solid rgba(0,0,0,.15);
}
/* ================ Конец ========================= */
.favor {
	width: 15px;
	height: 15px;
	background: url('../img/favourites/favor_no.png');
	background-size: 15px;
	position: absolute;
	margin: 2px 0px 0px -3px;
}
.favor_yes {
	background: url('../img/favourites/favor_yes.png');
	background-size: 15px;
}
/* ================ Поиск ========================= */
.search {
	width: 0px;
	margin: 0 auto;
}
.search-img {
	width: 25px;
	margin-top: 5px;
	margin-bottom: -5px;
}
.search-modal {
    padding: 5px 5px 10px 5px;
    list-style: none; /* Нет маркера */
    background-color: #eee;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
	margin: 24px 0px 0px -275px;
	width: 300px;
	z-index: 10;
	position: absolute;
}
.search-modal img {
    margin-left: 3px;
}
.search input {
	margin-bottom: -4px;
	padding: 10px;
	width: 240px;
	text-align: center;
	border: 1px solid #aaa;
	float: left;
}
.rectangle {
	width: 25px;
	height: 25px;
	background: url('../header/search.png');
	background-size: 25px;
	position: absolute;
	margin-top: -20px;
}
.click {
	background: url('../header/close.png');
	background-size: 25px;
}
#hr {
	margin: -20px 0px 0px -1000px;
	width: 1000%;
}
/* =================Всплывающее окно============================= */
/* Прокрутка (стиль бегунка) */
.dropdown {
	height: auto;
	margin:  0;
	overflow-y: auto;
	overflow-x: hidden;
}
.dropdown::-webkit-scrollbar {
	-webkit-appearance: none;
	width: 7px;
}
.dropdown::-webkit-scrollbar-thumb {
	border-radius: 2px;
	background-color: rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0 1px rgba(255,255,255,0.5);
}
/* Ѕазовые стили сло¤, затемнени¤ и модального окна */
.overlay {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;
	display: none;
	/* фон затемнени¤ */
	background-color: rgba(0, 0, 0, 0.1);
	position: fixed; /* фиксированное позиционирование */
	cursor: default; /* тип курсора */
} 
/* активируем слой затемнени¤ */
.overlay:target {
	display: block;
}
/* стили модального окна */
.popup-search {
	right: 0;
	left: 50%;
	width: 580px;
	max-height: 80vh;
	z-index: 20;
	/* фиксированное позиционирование, окно стабильно при прокрутке */
	position: fixed;
	padding: 15px;
	border: 1px solid #999;
	background: #fefefe;
	/* скругление углов */
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	border-radius: 4px;
	/* внешн¤¤ тень */
	-webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
	-moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
	-ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
	box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
	-webkit-transform: translate(-50%, -500%);
	-ms-transform: translate(-50%, -500%);
	-o-transform: translate(-50%, -500%);
	transform: translate(-50%, -500%);
	-webkit-transition: -webkit-transform 0.6s ease-out;
	-moz-transition: -moz-transform 0.6s ease-out;
	-o-transition: -o-transform 0.6s ease-out;
	transition: transform 0.6s ease-out;
	opacity: 0;
}
/* активируем модальный блок */
.overlay:target+.popup-search {
	-webkit-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	-o-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	top: 10%;
	opacity: 1;
}
/* формируем кнопку закрытия */
.close {
	top: 5px;
	right: 5px;
	width: 25px;
	height: 25px;
	position: absolute;
	padding: 0;
	background: url(../header/close.png);
	background-size: 25px;
}
/* ================================================================*/
@media (max-width: 1200px) {
	#hr {
		margin-left: 0px;
		width: 99%;
	}
}
@media (max-width: 1020px) {
/* ================ меню ==================*/
	header {
		width: 100%;
	}
	.menu-znak {
		margin-top: 40px;
	}
	.menu {
		display: none;
	}
	.znak {
		font-size: 3em;
	}
	.search-modal {
		margin-left: -290px;
		padding-bottom: 0px;
	}
	.dropdown-menu {
		margin: 4px 0 0 -12px;
	}
	.dropdown-item {
		font-weight: 900;
	}
	.menu_but h1 {
		font-size: 100%;
	}
/* ================ поиск ==================*/
	.rectangle {
		width: 37px;
		height: 37px;
		background-size: 37px;
		margin: -25px 0 0 30px;
	}
	.click {
		background-size: 37px;
	}
	.search {
		position: absolute;
		margin: 10px 0px 0px 40%;
	}
	.search-modal {
		margin-top: 65px;
		position: absolute;
	}
	.search-modal img {
		margin: 0px;
		width: 35px;
	}
	.search input {
		width: 230px;
		margin-bottom: 5px;
	}
}
@media (max-width: 830px) {
	.header {
		position: absolute;
	}
	.logo img {
		width: 200px;
		position: absolute;
		margin-top: -10px;
	}
	.menu_but {
		position: sticky;
		margin-bottom: -30px;
		top: 0;
	}
	.spoiler {
		margin-top: -20px;
		font-size: 0.55em;
	}
	.menu-desctop {
		display: none;
	}
	.menu-mobil {
		position: absolute;
		margin: 108px 0 0 44%;
	}
	.header-menu {
		height: 0px;
	}
	.header-menu-mobil {
		display: block;
		margin-top: -60px;
	}
	.search {
		margin-left: 88%;
	}
	.overlay:target+.popup-search {
		top: 15%;
		width: 90%;
	}
	.rectangle {
		width: 25px;
		height: 25px;
		background: url('../header/search-mobil.png');
		background-size: 25px;
		position: absolute;
		margin-left: -7px;
	}
	.click {
		width: 20px;
		height: 20px;
		background: url('../header/close-mobil.png');
		background-size: 20px;
	}
	.dropdown-item {
		padding: 8px 0px 8px 20px;
	{
}
@media (max-width: 450px) {
	.search {
		margin-left: 84%;
	}
	.search-modal {
		margin-left: -285px;
	}
	.popup-search {
		width: 300px;
	}
	.menu_but h1 {
		font-size: 80%;
		padding-top: 10px;
	}
	.menu-mobil {
		margin-left: 42%;
	}
}