.brands-section {}

.brands-section__sort {
	display: flex;
	margin: 0 0 40px;
}
.brands-section__change {
	background: #F6F6F6;
	border-radius: 50px;
	height: 40px;
	width: 80px;
	display: flex;
}

.lang-change {
	margin: 0;
}
.lang-change input:checked + .text {
	color: #fff;
	background: #458381;
}
.lang-change .text {
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #4A4947;
	background: #f6f6f6;
	height: 40px;
	width: 40px;
	border-radius: 50px;
}
.lang-change .text:hover {
	background: #5CD3CF;
	color: #fff;
}
.brands-section__list {
	padding-left: 40px;
	flex: 1;
	display: none;
}
.brands-section__list.active {
	display: block;
}
.brands-section__list .lang-change {
	margin: 0 0 5px 0;
}

.brands-section__row {
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid #DBE0E2;
}

.brand-item {
	max-width: 25%;
	flex: 0 0 25%;
	display: block;
	border-right: 1px solid #DBE0E2;
	border-bottom: 1px solid #DBE0E2;
	padding: 20px 20px;
	font-size: 14px;
	line-height: 1.57;
	color: #000000;
	text-decoration: none;
}
.brand-item:hover,
.brand-item:focus {
	color: #5CD3CF;
	text-decoration: none;
}
.brand-item__img {}
.brand-item__img img {}
.brand-item__body {
	margin: 20px 0 0;
}

@media (min-width: 1600px) {
	.brand-item:nth-child(4n + 1){
		border-left: 1px solid #DBE0E2;
	}
}
@media (min-width: 768px) {
	.brand-item__title {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 7;
		height: 144px;
		overflow: hidden;
	}
}
@media (min-width: 768px) and (max-width: 1599px) {
	.brand-item {
		max-width: 33.3333%;
		flex: 0 0 33.3333%;
	}
	.brand-item:nth-child(3n + 1){
		border-left: 1px solid #DBE0E2;
	}
}
@media (max-width: 767px) {
	.brand-item {
		max-width: 100%;
		flex: 0 0 100%;
	}
	.brand-item {
		border-left: 1px solid #DBE0E2;
	}
	.brands-section__sort {
		display: block;
	}
	.brands-section__change {
		margin: 0 0 20px;
	}
	.brands-section__list {
		padding-left: 0;
	}
}
