/******************************************************общие для экранов*/
.burger{
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}
.white-header{
	/* position: fixed; */
	top: 0px;
	background: white;
}
.flex-header{ /*флекс шапка*/

	display: flex; 
	flex-wrap: nowrap; 
	align-content: center; 
	justify-content: space-between; 
	align-items: center; 
}
.header-logo {
	/* margin-left: 0; */
	/* flex-shrink: 0; */
}
.header-logo div{
	width: 100%;
	height: 100%;
}
.header-logo p{ /*центрируем лого по вертикали*/
	width: 100%;
	height: 100%;
	margin: 0;
}
.header-logo img{ /*растягиваем лого в блоке*/
	width: 100%;
	height: 100%;
}

.header-phone {
	margin-left: 0;
	flex-shrink: 0; 
	margin-right: 0;
}
.header-phone a{
	font-family: Philosopher, sans-serif;
	text-decoration: none;
	color: #6d6e70;
}
.hm-phone a{
	font-family: Philosopher, sans-serif;
	text-decoration: none;
	color: #D1D2D3;
}
.header-burger{
	/* border: 1px solid grey; */
	display: none;
}
.hm-plato{
	display: block;
	position: fixed;
	top: 0px;
	background-color: #000;
	/* height: 0; */
    transition: right 0.3s;
	z-index: 2000;
	
}

/******************************************************размеры экранов*/
/* Портретные планшеты и средние настольные компьютеры */
@media (min-width: 1025px){
.hm-plato{
	display: none;
}
.flex-header{
	height: 6.16666vw; /*74/1200*/
}
.header-logo {
	width: 15.6666vw; /*188/1200*/
	height: 4.5vw;  /*54/1200*/
}
.logo-large{
	display: block;
}
.logo-medium{
	display: none;
}
.header-menu {
	font-size: 1.3333333vw; /*16/1200*/
	display: block;
	z-index: 200;
}
.header-phone {
	font-size: 1.3333333vw; /*16/1200*/
}
.phone-medium {
	display: none;
}
.phone-large {
	display: block;
}
.header-burger{
	display: none;
}


.menu {
	font-family: Ubuntu, sans-serif; /* Указание типа шрифта. */
	list-style: none; /* Отключение отображения маркеров. */
	float: left; /* Выстраивание элементов списка в один ряд. */
	padding: 0;

}
.menu a{
	text-decoration: none;
	color: #a87c4f;
	font-family: Ubuntu, sans-serif;
}
.menu li a{
	border: 1px solid transparent; 
	border-radius: 0.41666666vw;
	padding-left: 1.2333333vw;
	padding-right: 1.2333333vw;
	padding-top: 0.6666666vw;
	padding-bottom: 0.6666666vw;
	transition: border-color 500ms;
}
.menu li a:hover{
	border-color: #a87c4f;
}
.menu li.current a.menu_parent{
	border-color: #a87c4f;
}
.menu ul {
  padding:0;
  margin:0;

}
.menu li {
  float:left;

}
.menu li ul { 
  position:absolute;
  display: none;
  padding-top: 0.8333333vw;
  
} 
.menu li ul li {
  float: none;
  display: block;
  line-height:2.91666666vw;
  background-color: rgba(255, 255, 255, 0.9);
}

.menu li ul li a:hover{
  border-color: transparent;
  color: #63492f;
}

.menu li ul li:hover {
  
}
.menu li:hover ul {
  display:block;
	
}
}
/* Горизонтальные телефоны и вертикальные планшеты */
@media (min-width: 576px) and (max-width: 1024px) {
.hm-plato{
	
	right: -67.796610vw; /*520/767*/	/* СПРЯТАТЬ ПАНЕЛЬ ТУТ */ 
	width: 65.840938vw; /*505/767*/
}
.hm-plato-active{
	right: -7px;
	position: absolute;
}

.hm-header{ /*флекс шапка*/

	height: 9.1264667vw; /*70/767*/
	border-bottom: 1px solid white;
	display: flex; 
	flex-wrap: nowrap; 
	align-content: center; 
	justify-content: space-between; 
	align-items: center; 
}
.hm-phone{
	margin-left: 7.9530638vw; /*61/767*/
}
.hm-phone a{
	font-size: 3.7809647vw; /*29/767*/
}
.hm-phone p{
	margin: 0;
	padding: 0;
	/* margin-block-start: 0; */
	/* margin-block-end: 0; */
}
.hm-close{
	width: 4.5632333vw; /*35/767*/
	height: 4.5632333vw; /*35/767*/
	margin-right: 4.2698826vw; /*32,75/767*/


}
.hm-body {
	
}
.hm-body a{
	font-family: Philosopher, sans-serif; /* Указание типа шрифта. */
	list-style: none; /* Отключение отображения маркеров. */
	/* float: left; /* Выстраивание элементов списка в один ряд. */
	padding: 0;	
	text-decoration: none;
	font-size: 3.3376792vw; /*25,6/767*/

}

.menu{
	margin-top: 0;
	
}
.menu .small{
	display: none;
	
}
.menu .current .small{
	display: block;
}

.aDiv{
	margin: 0;
	padding: 0;
	display: flex; 
	flex-wrap: nowrap; 
	align-content: center; 
	justify-content: space-between; 
	align-items: center; 
	border-bottom: 1px solid grey;
	height: 9.7783572vw; /*75/767*/
	padding-left: 7.9530638vw; /*61/767*/
	padding-right: 3.9113428vw; /*30/767*/
	
}
.rotateArrow{
	transform: rotate(180deg);
	/* transition: transform 300ms; */
}
.hm-body ul{ /* ВСЕ МЕНЮ*/
	display: block;
	
	text-decoration: none;
	color: #fff;
	list-style: none; /* Отключение отображения маркеров. ВМЕСТЕ С ПОДМЕНЮ*/
	padding-inline-start: 0;
	margin-block-end: 0;
	/* overflow: hidden; */
}
.hm-body ul a{ /* ВСЕ ССЫЛКИ В МЕНЮ*/
	display: block;
	text-decoration: none;
	color: #fff;
	list-style: none; /* Отключение отображения маркеров. ВМЕСТЕ С ПОДМЕНЮ*/
	/*padding-top: 3.298611vw; /*19/576*/
	/*padding-bottom: 3.298611vw; /*19/576*/
	/* border-bottom: 1px solid grey; */
	
}

.hm-body ul li{ /* ВСЕ ПОДМЕНЮ С ПОДПУНКТАМИ*/
	/* overflow: hidden; */
	/* height: calc(11.67916vw + 1px); /*69/576*/  
	/*border-bottom: 1px solid grey;*/
}
.hm-body ul li ul{ /* ТОЛЬКО ПОДПУНКТЫ*/
	background-color: #424244;
}

.hm-body ul li ul a{ /* ССЫЛКИ ПОДПУНКТОВ*/
	color: #BCBDBF;
}
.arrow{
	width: 5.7366362vw; /*44/767*/
	height: 5.7366362vw; /*44/767*/
	margin: 0;
	padding: 0;
}
.header-menu {
	display: none;
}
.flex-header{
	height: 9.126466vw; /*70/767*/
}
.header-logo {
	width: 27.249022vw; /*209/767*/
	height: 6.518904vw;  /*50/767*/
}
.logo-large{
	display: none;
}
.logo-medium{
	display: block;
}
.header-phone {
	font-size: 3.780964vw; /*29/767*/
	flex-grow: 1;
}
.header-phone p{
	text-align: right;
	margin-right: 3.389830vw;/*26/767*/
}
.phone-medium {
	display: none;
}
.phone-large {
	display: block;
}
.header-burger{
	display: block;
	width: 4.302477vw; /*33/767*/
	height: 3.389830vw; /*26/767*/
}

}
/* Вертикальные телефоны и меньше */
@media (max-width: 575.98px) {
.header-menu {
	display: none;
}
.flex-header{
	height: 16.319444vw; /*94/576*/
}
.header-logo {
	width: 50.694444vw; /*292/576*/
	height: 12.152777vw;  /*70/576*/
}
.logo-large{
	display: none;
}
.logo-medium{
	display: block;
}
.header-phone { 
	flex-grow: 1;
	text-align: right;
	margin-right: 5.034722vw; /*29/576*/
	height: 4.895833vw;
}
.header-phone img{ 
	text-align: right;
	width: 4.895833vw;
	height: auto;
}
.phone-large {
	display: none;
}
.phone-medium {
	display: block;
	margin: 0;
}
.header-burger{
	display: block;
	width: 6.25vw; /*36/576*/
	height: 4.861111vw; /*28/576*/
}

/********************************************** ВЫДВИГАЮЩЕЕСЯ МЕНЮ ***************************/
.hm-plato{
	right: -90.277777vw; /*520/576*/ /* СПРЯТАТЬ ПАНЕЛЬ ТУТ */ 
	width: 87.67361vw; /*505/576*/
}
.hm-plato-active{
	right: -7px;
	position: absolute;
}
.hm-header{ /*флекс шапка*/

	height: 16.319444vw; /*94/576*/
	border-bottom: 1px solid white;
	display: flex; 
	flex-wrap: nowrap; 
	align-content: center; 
	justify-content: space-between; 
	align-items: center; 
}
.hm-phone{
	margin-left: 10.59027vw; /*61/576*/
}
.hm-phone a{
	font-size: 5.034722vw; /*29/576*/
}
.hm-phone p{
	margin: 0;
	padding: 0;
	/* margin-block-start: 0; */
	/* margin-block-end: 0; */
}
.hm-close{
	width: 6.076388vw; /*35/576*/
	height: 6.076388vw; /*35/576*/
	margin-right: 5.685763vw; /*32,75/576*/

}
.hm-body {
	
}
.hm-body a{
	font-family: Philosopher, sans-serif; /* Указание типа шрифта. */
	list-style: none; /* Отключение отображения маркеров. */
	/* float: left; /* Выстраивание элементов списка в один ряд. */
	padding: 0;	
	text-decoration: none;
	font-size: 4.444444vw; /*25,6/576*/
}

.menu{
	margin-top: 0;
	
}
.menu .small{
	display: none;
	
}
.menu .current .small{
	display: block;
}
.arrow{
	width: 7.639888vw; /*44/576*/
	height: 7.639888vw; /*44/576*/
	margin: 0;
	padding: 0;
}
/***********************************************/
.aDiv{
	margin: 0;
	padding: 0;
	display: flex; 
	flex-wrap: nowrap; 
	align-content: center; 
	justify-content: space-between; 
	align-items: center; 
	border-bottom: 1px solid grey;
	height: 13.02083vw; /*75/576*/
	padding-left: 10.59027vw; /*61/576*/
	padding-right: 5.208333vw; /*30/576*/
	
}
.rotateArrow{
	transform: rotate(180deg);
	/* transition: transform 300ms; */
}
.hm-body ul{ /* ВСЕ МЕНЮ*/
	display: block;
	
	text-decoration: none;
	color: #fff;
	list-style: none; /* Отключение отображения маркеров. ВМЕСТЕ С ПОДМЕНЮ*/
	padding-inline-start: 0;
	margin-block-end: 0;
	/* overflow: hidden; */
}
.hm-body ul a{ /* ВСЕ ССЫЛКИ В МЕНЮ*/
	display: block;
	text-decoration: none;
	color: #fff;
	list-style: none; /* Отключение отображения маркеров. ВМЕСТЕ С ПОДМЕНЮ*/
	/*padding-top: 3.298611vw; /*19/576*/
	/*padding-bottom: 3.298611vw; /*19/576*/
	/* border-bottom: 1px solid grey; */
	
}

.hm-body ul li{ /* ВСЕ ПОДМЕНЮ С ПОДПУНКТАМИ*/
	/* overflow: hidden; */
	/* height: calc(11.67916vw + 1px); /*69/576*/  
	/*border-bottom: 1px solid grey;*/
}
.hm-body ul li ul{ /* ТОЛЬКО ПОДПУНКТЫ*/
	background-color: #424244;
}

.hm-body ul li ul a{ /* ССЫЛКИ ПОДПУНКТОВ*/
	color: #BCBDBF;
}


}
