

/* Start:/bitrix/templates/oftaderm/components/bitrix/news/news/bitrix/news.list/.default/style.css?17882726764439*/
/*div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	width: 300px;
	margin-right:10px;
}
.news-date-time {
	float: right;
	color:#486DAA;
}
article.news-item {
	margin: 5px 0;
	position: relative;
}
article.news-item:hover {
	box-shadow: rgba(0, 0, 0, 0.16) 0px 4px 20px 0px;
}
.news-item > div{
	margin: 15px;
}
.news-item > article{
	margin: 15px;
}
.more_button {
	bottom: 0px;
    display: inline-block;
    position: absolute;
    right: 0px;
	background: #70b4f9;
    padding: 5px 15px;
    color: #fff;
}
*/
.news-list.d-flex article.news-item .left-block a {
background-size: contain;
background-position: top center;
}
.news-list.d-flex article.news-item {
    height: auto;
    background: #fff;
    border: 1px solid #ccc;
    margin: 0 15px 30px;
    position: relative;
    z-index: 7;
}
article.news-item:hover {
	box-shadow: rgba(0, 0, 0, 0.16) 0px 4px 20px 0px;
}
 .news-item:after {
	content: "";
    clear: both;
    display: block;
 }
.left-block{
    float: left;
    width: 300px;
    height: 300px;
    position: relative;
    border-right: 1px solid #e0e0e0;
    margin: 0 24px 0 0;
}
.left-block a{
	display: block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
div.news-list img.preview_picture
{
    float:left;
    width: 400px;
    height: 300px;
}
.panel-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13px;
    line-height: 28px;
    color: #fff;
    background: rgba(51, 122, 183, 0.7);
    padding: 0 0 0 14px;
}
.date {
    font-style: normal;
    float: left;
    min-width: 64px;
	}
.description {
	overflow: hidden;
    padding: 24px 0 0;
    height: 227px;
    position: relative;
    font-size: 13px;
    line-height: 18px;
   /* font-family: "Segoe UI", "Helvetica Neue", Helvetica, Tahoma, Arial, sans-serif;*/
}
.more-box{
	position: absolute;
    z-index: 3;
    bottom: 0;
    right: 0;
}
.more_button {
	display: inline-block;
}
@media (max-width: 767.98px){
.left-block{
    margin: auto;
    width: 100%;
    height: 280px;
    float: none;
    border: none;
    overflow: hidden;
	}
	.left-block a{
	width: 100%;
    height: 100%;
	}
.description{
	padding: 12px;
    height: auto;
text-align: center;
	}
	.more-box{
	position: relative;
    width: auto;
    left: 0;
    right: 0;
    padding: 0;
	}
.more_button {
	display: block;
    float: none;
    width: 100%;
    margin: 0 auto;
    text-align: center;
	}
}
@media (max-width: 992.98px){
	article.news-item {
	border-width: 0px 0 1px 0;
    padding: 0 0 24px;
    margin: 0 0 48px;
	}
	
	
	div.news-list img.preview_picture{
	width: 100%;
    height: auto;
	}
	
	
	
.news-list.d-flex article.news-item {
    padding: 0;
}	

}
@media (min-width: 993px){

/* Переводим контейнер на Grid, сбрасывая flex-свойства */
.news-list.d-flex {
  display: grid !important; /* !important нужен, чтобы перекрыть стандартный Bootstrap .d-flex */
  grid-template-columns: repeat(2, 1fr); /* Две равные колонки */
  gap: 30px; /* Отступ между колонками и рядами */
  margin: 0;
}

/* Сбрасываем флекс-размеры у самих элементов, если они были заданы */
.news-list.d-flex article.news-item {
  flex: none; 
  width: 100%;
margin: 0 !important;
}

/* Если блок один, занимаем обе колонки */
.news-list.d-flex .news-item:first-child:last-child {
  grid-column: span 2;
}

/* Если блоков нечетное количество, последний растягивается на 2 колонки */
.news-list.d-flex .news-item:nth-child(odd):last-child {
  grid-column: span 2;
}




.news-list.d-flex article.news-item .left-block a {
background-size: cover;
}
.news-list.d-flex article.news-item {
    padding: 0 24px 0 0;
}
.news-list.d-flex article.news-item h3 {
margin-top: 0;
}
}
@media (min-width: 768px) and (max-width: 1199px) { 
.left-block{
    width: 200px;
    height: 200px;
}
.description {
    height: 200px;
    overflow: hidden;
}
.news-list.d-flex article.news-item .left-block a {
background-size: cover;
}
}
@media (min-width: 1200px){
.left-block{
    width: 300px;
    height: 300px;
}

}
/* End */
/* /bitrix/templates/oftaderm/components/bitrix/news/news/bitrix/news.list/.default/style.css?17882726764439 */
