/* Форма поиска в хэдере */
.header-SearchForm {
	display: flex;
	max-width: 1240px;
	margin: 0 auto;
	padding: 10px 0;
	align-items: center;
}

@media (max-width:1240px){
	.header-SearchForm {
		padding: 10px 10px;
	}
}
@media (max-width: 640px) and (max-height: 840px){
	.g-scrolled .header-SearchForm
	{
		position: absolute;
		z-index: -1;
		top: -92px;
	}
}

.header-SearchForm__main{
	display: flex;
	width: 100%;
	margin-right: 10px;
}

.header-SearchForm__input {
	display: block;
	width: 100%;
	padding: 0 8px;
	border-radius: 4px 0 0 4px;
	min-width: 30px;
	border: none !important;
}
.header-SearchForm__input::placeholder{
	font-size: 16px;
	color: rgb(71, 71, 71);
	padding: 0;
}
.searchForm__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 27px;
	width: 27px;
	background: #FFCD35;
	border-radius: 50%;
	margin-right: 5px;
}
.searchForm__toggle svg {
	height: 17px;
	width: 17px;
	fill: #3a3a3a;
}
.searchForm__close{
	display: none;
}
.searchForm__toggle--open{
	margin-left: 5px;
	background: #c9c9c9;
}
.searchForm__toggle--open .searchForm__close{
	display: flex;
}
.searchForm__toggle--open .searchForm__open{
	display: none;
}

.header-SearchForm__btn {
	border-radius: 0 4px 4px 0;
	appearance: none;
    -moz-appearance: none;
	-webkit-appearance: none;
}
.header-SearchForm__btn svg{
    display: none;
}
@media (max-width: 400px){
    .header-SearchForm__btn span{
        display: none;
    }
    .header-SearchForm__btn svg{
        display: flex;
    }
}

.header-SearchForm .header__logo{
	margin-right: 5px;
}
.header__siteName {
	display: flex;
	align-self: flex-end;
	/* margin-right: 75px; */
	margin-right: 10px;
	min-width: auto !important;
	/* display: none; */
}

.header__siteName-type{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    white-space: nowrap;
    text-transform: uppercase;
    color: white;
    font-weight: 500;
    font-size: 20px;
    position: relative;

}
.header__siteName-type-top{
	font-size: 11px;
    font-style: italic;
    color: white;
    text-align: left;
    margin-bottom: 3px
}

.header__siteName-type-top span{
	border-radius: 5px;
	border: 1px solid #8c9aa7;
	padding: 2px;
	cursor: pointer;
}
.header__siteName-type-bottom {
	font-size: 15px;
	color: #fff;
	text-decoration: none;
	margin-bottom: 0;
}
.header__siteName-type__mobile {
	white-space: normal;
}
.header__siteName-type__mobile h1 {
	font-size: 12px;
}


@media (max-width: 900px){
	.header-SearchForm__main{
		margin-right: 0;
	}
	.header-SearchForm__btnAsk{
		display: none;
	}
}
@media (max-width: 678px){


	.header-SearchForm__btnAsk{
		display: none;
	}
	.header-SearchForm__main{
		margin-right: 0;
	}
}
@media (max-width: 600px) {
	.header__siteName {
		display: none;
	}
}

@media (max-width:540px){
	.header-SearchForm__main{
		display: none;
	}
	.l-not-logged .header-SearchForm__main{
		display: flex;
	}

	.header__siteName{
		flex-grow: 1;

	}


}

@media (max-width: 900px){
	.header-SearchForm{
		padding: 10px 10px 0;
	}
	.header__siteName-type{
		font-size: 18px;
	}
}
@media (max-width: 400px){
	.header__siteName-type{
		font-size: 16px;
	}

}

@media (max-width: 360px){
	.header__siteName-type{
		font-size: 14px;
	}
	.header__siteName-type span{
		font-size: 10px;
	}
	.header__siteName-type-bottom{
		font-size: 13px;
	}
	.header__siteName{
		align-self: center;
	}
}
@media (max-width: 340px){
	.header__logo{
		width: 28px;
	}
	.header__siteName{
		margin-right: 5px;
	}
	.header__siteName-type{
		font-size: 13px;
	}
}

.modal_search{
	z-index:2;
	position:absolute;
	display:none;
	overflow-y:auto;
	max-height:400px;
	left:0;
}