.where2buy .clientLeft {
	max-width: 300px;
}
.where2buy .clientRightBlock {
	max-width: 640px;
}

.where2buy .clientIn {
	flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	-webkit-flex-wrap: nowrap;
}

.mapSectionInner {
	width:100%;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: row;
	flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	-webkit-flex-wrap: nowrap;
	height:700px;
	margin-top: 24px;
}
.listContent {
	width:100%;
	max-width:30%;
	min-height: 600px;
	border: 1px solid #dfdfdf;
	padding: 10px;

	display: flex;
	flex-direction: column;
	max-height: 100%;
	overflow: hidden;
	min-width:300px;
}
.mapContent {
	width:70%;
	max-width:75%;
	height:100%;
}
.mapik {
	width:100%;
	height:600px;
	display:block;
	height:100%;
}

[class*="ymaps-2"][class*="-ground-pane"] {
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  -webkit-filter: grayscale(50%);
  filter: grayscale(50%);
} 

.selector {
	width:100%;
	margin-bottom: 10px;
	position: relative; /* чтобы позиционировать крестик внутри селекта */
}

.selectCity,
.pointFilter {
	background-color: #f6f6f6;
	height: 48px;
	width: 100%;
	color: #eee;
	border: 1px solid #dfdfdf;
	border-radius: 0;
	outline: none;
	resize: none;
	padding-left: 15px;
	color: #000;
	line-height: 16px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1%201L6%206L11%201%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22/%3E%3C/svg%3E);

	background-repeat: no-repeat;
	background-position: right 25px center;
	background-size: 12px 8px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-transform:uppercase;
	letter-spacing: 1px;

/*	background-image: none; /* убираем фон стрелки */ 
	position: relative;
	padding-right: 30px; /* место для крестика */
}
.selectCity option,
.pointFilter option {
	width:100%;
	height: 48px;
	border-radius: 0;
	text-transform:uppercase;
	letter-spacing: 1px;
}

.selectCity {
	display:none;
}

.listContentList {
	width: 100%;
	height: 100%;
/*	overflow: auto; */
	flex: 1 1 auto;
/*	overflow-y: auto; */
	max-height: calc(100% - 50px);
    min-height: 0;
    overflow-y: visible;
}


.listItem {
	position: relative;
	padding: 15px 20px 5px 20px; /* делаем отступ слева, чтобы не налезло */
	border: 1px solid #dfdfdf;
	border-left: 1px solid #dfdfdf; /* обычный серый бордер */
	margin-bottom: 5px;
	transition: background-color 0.3s;
}
.listItem div,
.listItem a {
	color: #02295C;
	font-weight: 600;
}

.listItem::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 5px;
	height: 100%;
	background-color: transparent;
	transition: background-color 0.3s;
}

.listItem:hover {
	background-color: #dfdfdf;
	cursor:pointer;
}


.listItem:hover::before {
	background-color: rgb(0, 14, 50);
}

.listItem:hover .dealerName {
	color: rgb(0, 14, 50);
}

.listItem.active {
	background-color: #dfdfdf;
}
.listItem.active::before {
	background-color: rgb(0, 14, 50);
}
.listItem.active .dealerName {
	color: rgb(0, 14, 50);
	padding-right: 30px;
}

.listItem div {
	margin-bottom:4px;
	flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	-webkit-flex-wrap: nowrap;
}

.dealerName {
	margin-bottom:7px;
	font-weight: 600;
	font-size:18px;
}


.dealerLongitude,
.dealerLatitude,
.dealerCityID,
.dealerID {
	display:none;
}

.listItem div.listItem-title {
	width:100%;
	max-width:80px;
	color: #7B8DA3;
	font-weight:400;
}

.clear-select {
	display: none;
	position: absolute;
	right: 25px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	font-weight: bold;
	font-size: 20px;
	user-select: none;
	color: #000;
	z-index: 9;
}

.custom-icon {
	pointer-events: auto !important;
	cursor: pointer;
	position: relative;
	transform: translate(-15px, -42px); /* смещение как у iconImageOffset */
	width:150px;
	z-index: 99999;
}

.ymaps-2-1-79-map {
	pointer-events: auto !important;
}

.dealerTip {
	position: absolute;
	display: none;
	background: white;
	border: 1px solid #ccc;
	padding: 5px 10px;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	pointer-events: none;
	white-space: nowrap;
	font-size: 14px;
	z-index: 9999;
}

.mapSearch {
    background-color: #D7E6F54D;
    height: 48px;
    width: 100%;
    color: #000;
    border: 1px solid #dfdfdf;
    border-radius: 0;
    outline: none;
    resize: none;
    padding-left: 15px;
    line-height: 16px;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-right: 30px;
}

.pointFilter  {
	max-width:260px;
	margin-left: 30px;
	padding-left: 30px;
	padding-right: 40px;
}

.filterSection {
/*	margin-top:40px;	*/
	justify-content: flex-end !important;
	height: 46px;
	width: 100%;
	justify-content: flex-end !important;
	align-items: center !important;
}
.filterSection p {
	height: 48px;
	width: 100%;
	color: #000;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding-right: 30px;
	max-width: fit-content;
}

.clear-point {
	display: none; 
	position: absolute;
	right: 35px;
	top: 20px;
	transform: translateY(-50%);
	cursor: pointer;
	font-weight: bold;
	font-size: 30px;
	user-select: none;
	color: #000;
	z-index: 9;
}
.clear-autocomplete {
	font-size: 30px !important; 
}
.listItem.active .clear-point {
	display: block;
}


/* Ограничиваем высоту меню автокомплита и включаем прокрутку */
.ui-autocomplete {
	/* максимальная высота списка */
	max-height: 500px;
	/* показываем скролл по вертикали */
	overflow-y: auto;
	/* отключаем по горизонтали */
	overflow-x: hidden;
	/* чтобы меню было поверх всех элементов */
	z-index: 10000;
	/* убираем стандартные margin/padding jquery-ui, если нужно */
	margin-top: 2px;
	padding: 0;
}

/* Сохраняем стили для элементов списка */
.ui-autocomplete .ui-menu-item {
	list-style: none;
}

/* Опционально — чуть расширить область прокрутки */
.ui-autocomplete .ui-menu-item-wrapper {
	white-space: normal;  /* перенос строк */
	
}

.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper {
    padding: 10px 10px 10px 40px;
    /* разрешаем перенос строк */
    white-space: normal;
    /* увеличиваем размер шрифта */
    font-size: 14px;
    /* меняем цвет при hover */
    cursor: pointer;
}


.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover,
.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper:hover {
	background: #000E32 !important;
	border:1px solid #FFF;
}

.ui-autocomplete .ui-autocomplete-category {
	padding:10px 20px;
	background: #f0f0f0;
	font-size:14px;
	text-transform: uppercase;
}

.ui-menu .ui-menu-item-wrapper {
	bo_rder:gray;
}


/* --------- скролл-бар ------------------*/
/* ширина дорожки и её фон */
.listContentList[data-simplebar] .simplebar-track.simplebar-vertical {
	width: 20px;            /* желаемая толщина */
	right: 0px;             /* отступ от края, можно подкорректировать */
	opacity: 1 !important;
	background-color: #D7E6F54D;
}

/* фон «рельсы» */
.listContentList[data-simplebar] .simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
	background-color: #eee;
	opacity: 1 !important;

}

/* сам ползунок */
.listContentList[data-simplebar] .simplebar-scrollbar:before {
	content: "";
	display: block;
	margin: 2px;            /* отступ внутри трека */
	border-radius: 10px;
	background-color: #000E33 !important; /* цвет ползунка */
	visibility: visible !important;
	opacity:    1      !important;
}

/* ховер-эффект */
.listContentList[data-simplebar] .simplebar-track.simplebar-vertical .simplebar-scrollbar:hover:before {
  background-color: #555;
}

.listContentList .simplebar-content-wrapper {
	overflow-x: hidden !important;
	
}
.listContentList .simplebar-horizontal {
	visible:none !important;
	display:none !important;
}


@media (max-width: 900px) {
	.map .listContent {
		width: 100%;
		max-width:100%;
		max-height:320px;
		min-height:320px;
	}
	.map .mapContent {
		margin-top:20px;
	}
	.map .mapContent,
	.map .mapContent .mapik {
		width: 100%;
		max-width:100%;
		min-width: 100%;
		height:600px;
	}
	.map .mapSectionInner {
		flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		display: block;
		height: auto;
	}
	.listItem .dsk {
	/*	display:none; */
	}

}

@media (max-width: 770px) {
	.where2buy .clientIn {
		flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
	}
	.where2buy .clientLeft {
		max-width:100%;
	}
	.where2buy .clientrightBlock {
		max-width:100%;
		margin-top: 60px;
	}
}

.go2map {
	display: block;
	padding: 10px 20px;
	color: #000;
	background-color: #F1F3F4;
	max-width: fit-content;
	width: 100%;
	margin-top: 20px;
}
.go2map:hover {
    background: #E7E9EA;
}

