/* Стиль модального окна */
.afs-modal .mfp-content .fullstory {
	margin: 20px 0 0 0;
	max-width: 800px;
}

.afs-error {
	/* Общий стиль для всех ошибок */
	padding: 20px;
	background: #fff;
	color: #424242;
}

.afs-news-error {
	/* Стиль ошибки, если новость не найдена */
	background: #eceff1;
}

.afs-tpl-error {
	/* Стиль ошибки, если не найден шаблон */
	color: #b71c1c;
}

.afs-perm-error {
	/* Стиль ошибки, если не достаточно прав для просмотра полной новости */
	background: #e65100;
	color: #f5f5f5;
}
.xfieldimagegallery, .comments-image-gallery {
  margin: 0;
  padding: 0;  
  list-style: none;
  display: inline;
  float: center;
}

.xfieldimagegallery li, .comments-image-gallery li{
  list-style: none;
  margin: 0;
  padding: 0;  
  display: inline;
}

.xfieldimagegallery li img, .comments-image-gallery li img{
  float: center;
  margin-right: 5px;
  transition: box-shadow 0.5s ease;
  display: inline;
}

.xfieldimagegallery li img:hover, .comments-image-gallery li img:hover {
  box-shadow: 0px 0px 7px rgba(0,0,0,0.4);
}
.afs-keep-big_item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0 0 0;
    height: 100%;
}
