

/* Start:/local/templates/kemgik/components/bitrix/news/kemgik_news/bitrix/news.detail/.default/style.css?17538923331098*/
.about_prepod {
    border-right: 1px solid #d6eaf6;
	padding-right: 40px;
    display: flex;
    align-items: flex-start;
    align-content: center;
    flex-direction: column;
}

.masonry-layout {
	display: grid;
    margin-bottom: 20px;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(10px, 185px);
    gap: 5px;
}

.masonry-layout__panel {
	padding: 10px;
}

.masonry-layout__panel-content img {
    display: block;
    width: 100%;
    min-height: 170px;
	max-height: 170px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: .5s ease-in-out;
	object-fit: cover;
}

.masonry-layout__panel-content a:hover img {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

@media (max-width: 374px) {
	.masonry-layout {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	.masonry-layout {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media (min-width:768px) {
	.masonry-layout {
		padding-right: 10px;
	}
}

@media (min-width: 1025px) {

	.masonry-layout {
		padding-right: 35px;
	}
}

/* End */
/* /local/templates/kemgik/components/bitrix/news/kemgik_news/bitrix/news.detail/.default/style.css?17538923331098 */
