.section_b_where_top {
	margin-top: 20px;
}

.b_where_filter_panel {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
}

.b_where_filter_panel > * {
	max-width: 100%;
	flex: 0 0 auto;
}

.b_where_filter_line_block {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.b_where_download_link {
	font: bold 18px "Bebas Neue", Roboto;
	color: #fff;
	letter-spacing: 0.06em;
	padding: 15px;
	background-color: #6c8ce4;
    text-transform: uppercase;
}

.b_where_download_link > span:first-child {
	margin-right: 10px;
}

.b_where_download_link > span > svg {
	display: block;
}

.b_where_controls_view {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.b_where_controls_view_link {
    padding: 10px;
    text-decoration: none;
    border: 1px solid #e8e8e8;
    margin: 0 -0.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.b_where_controls_view_link.active,
.b_where_controls_view_link:hover {
	background-color: #6c8ce4;
}

.b_where_controls_view_link path {
	fill: #6c8ce4;	
    transition: fill 0.3s;
}

.b_where_controls_view_link.active path,
.b_where_controls_view_link:hover path {
	fill: #ffffff;
}

.b_where_select .select2 {
	width: 100%!important;	
}

.b_where_select .select2-dropdown {
	background-color: #f5f5f5;
	border: none;
    border-radius: 0;
}

.b_where_select .select2-container--default .select2-selection--single {	
	background-color: #f5f5f5;
	border: none;
    border-radius: 0;
    border-bottom: 1px solid #b4c8ff;
	height: 3em;
}

.b_where_select .select2-container--default .select2-selection--single > *,
.b_where_select .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.b_where_select .select2-results__option--selectable,
.b_where_select .select2-container--default .select2-selection--single .select2-selection__rendered,
.b_where_select .select2-container--default .select2-search--dropdown .select2-search__field,
.b_where_select .select2-results__option.select2-results__message {	
	font: 500 16px/1 "Montserrat", Roboto;
	color: #000;
}

.b_where_select .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0 2em 0 1em;
	line-height: 3.5em;
}

.b_where_select .select2-container--default .select2-results__option--selected,
.b_where_select .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #b4c8ff;
}

.b_where_select .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 2.5em;
    top: auto;
    bottom: 0;
    right: 1em;
}

.b_where_select .select2-container--default .select2-selection--single .select2-selection__arrow b {
	content: '';
	background: url('/local/templates/main/img/select_arrow.png') no-repeat left center;
	position: absolute;
	top: 50%;
	right: 0;
	width: 14px;
	height: 10px;
	pointer-events: none;
	transform: translateY(-50%);
	border: none;
}

@media (max-width: 991.98px) {
	.b_where_filter_panel {
		margin-left: -15px;
		margin-right: -15px;
	}

	.b_where_filter_panel > * {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (max-width: 767.98px) {
	.b_where_filter_panel {
		margin-bottom: -25px;
	}

	.b_where_filter_panel > *,
	.b_where_filter_panel_left .b_where_line_block_item {
		width: 100%;
	}

	.b_where_filter_panel > * {
		margin-bottom: 25px;
	}

	.b_where_filter_panel_right .b_where_filter_line_block {	
		-ms-justify-content: space-between;
		justify-content: space-between;
	}
}

@media (max-width: 479.98px) {
	.b_where_filter_panel {
		margin-bottom: -15px;
	}

	.b_where_filter_panel > * {
		margin-bottom: 15px;
	}

	.b_where_download_link > span:first-child {
		display: none;
	}
}

@media (min-width: 768px) {
	.section_b_where_top {
		padding-bottom: 40px;
		border-bottom: 1px solid #e7e7e7;
	}

	.b_where_filter_panel_left .b_where_line_block_item {
	    min-width: 340px;
	}

	.b_where_filter_panel_right .b_where_line_block_item {
		margin-right: 40px;
	}

	.b_where_filter_panel_right .b_where_line_block_item:last-child {
		margin-right: 0;
	}

	.b_where_download_link {
		padding: 15px 30px;
	}
}