.publication_list {
	width: 100%;
	position: relative;
	cursor: pointer;
	/*border: 1px solid rgba(0, 0, 0, 0.1);
	border-width: 1px 1px 1px 1px;
	*/
	box-shadow: 0 0 0 0 rgba(74, 89, 111, 0);
	transition: all .2s ease;
	white-space: normal;
}

.publication_list:hover {
	/*border: 1px solid rgba(0, 0, 0, .2);*/
	/*box-shadow: 0 10px 25px -5px rgba(74, 89, 111, 0.35);*/
	/*
	box-shadow: 0 10px 25px -5px rgba(74, 89, 111, 0.35);
	z-index: 2;
	*/
}

.publication_list a.subject {
	/*text-shadow: 0px 0px 5px rgba(255, 255, 255, 1), 1px 1px 2px rgba(255, 255, 255, .5);*/
	background-color: #fff;
}

.publication_list:hover a.subject  {
	color: #ff0060;
}

.publication_list .image_preview {
	/*
	box-shadow: 0 10px 25px -5px rgba(74, 89, 111, 0.35);
	z-index: 2;
	*/
}

.publication_list_block {
	padding-bottom: 10em !important;
}

.publication_list_row img {
	max-width: 250px;
}

.publication_list_row {
	/*border-bottom: 1px solid rgba(0, 0, 0, 0.1);*/
}

.publication_list_row img {
	max-width: 200px;
}

.publication_content img {
	max-width: 100%;
	max-height: 70vh;
}

.publication_content img:after {
	content: '';
	background: #eee;
	width: 100%;
	height: 100%;
}

/* фотогалерея */

.publication_image-block {
	background: #fff;
	position: relative;
	transition: all 0.15s ease;
}

.publication_image-container {
	position: relative;
	float: right;
	width: calc(100% - 80px);
	overflow: hidden;
}

.publication_image-container img {
	width: 100%;
	height: auto;
	/*border: 1px solid #ddd;*/
}

.publication_image-preview_list {
	position: absolute;
	width: 60px;
	left: 0;
	top: 0;
	float: left;
	height: 100%;
	overflow-y: auto;
	
}

.publication_image-preview_image {
	display: inline-block;
	vertical-align: middle;
	width: 50px;
	height: 50px;
	border: 1px solid #fff;
	border-radius: 3px;
	position: relative;
	margin-bottom: 10px;
	cursor: pointer;
}

.publication_image-preview_image.active {
	border-color: #ff0060;
}

.publication_image-preview_image img {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	max-width: 44px;
	max-height: 44px;
}

.publication_image-main {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
	transition: all 0.15s ease;
}

.publication_image-main.slided_left {
	transform: translateX(-100%);
	opacity: 0;
}

.publication_image-main.slided_right {
	transform: translateX(100%);
	opacity: 0;
}

.publication_image-main img {
	position: absolute;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	min-width: 1%;
	min-height: 1%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.publication_image-main video {
	position: absolute;
	width: 100%;
	height: auto;
	max-width: 1200px;
	max-height: 100%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.publication_image-block.big_view {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 100;
}

.publication_image-block .publication_image-close {
	display: none;
}

.publication_image-block.big_view .publication_image-preview_list {
	left: 20px;
	top: 20px;
	height: calc(100vh - 40px);
}
.publication_image-block.big_view .publication_image-container {
	width: calc(100% - 160px);
	height: 100vh;
	right: 70px;
}

.publication_image-block.big_view .publication_image-close {
	display: block;
	position: absolute;
	right: 23px;
	top: 23px;
	cursor: pointer;
	
	width: 24px;
	height: 24px;
	background-repeat: no-repeat;
	background-color: transparent;
	background-size: contain;
	display: inline-block;
	transition: transform .3s ease;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' style='enable-background:new 0 0 128 128'%3e%3cstyle%3e.st0%7bfill:none;%7d%3c/style%3e%3cpath class='st0' d='M0 0h128v128H0z'/%3e%3cpath d='M72.5 64l35.4-35.4c2.3-2.3 2.3-6.1 0-8.5-2.3-2.3-6.1-2.3-8.5 0L64 55.5 28.6 20.2c-2.3-2.3-6.1-2.3-8.5 0-2.3 2.3-2.3 6.1 0 8.5L55.5 64 20.2 99.4c-2.3 2.3-2.3 6.1 0 8.5 1.2 1.2 2.7 1.8 4.2 1.8s3.1-.6 4.2-1.8L64 72.5l35.4 35.4c1.2 1.2 2.7 1.8 4.2 1.8s3.1-.6 4.2-1.8c2.3-2.3 2.3-6.1 0-8.5L72.5 64z'/%3e%3c/svg%3e");
}

.publication_image-block.big_view .publication_image-close:hover {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' style='enable-background:new 0 0 128 128'%3e%3cstyle%3e.st0%7bfill:none;%7d .st1%7bfill:%23ED1962;%7d%3c/style%3e%3cpath class='st0' d='M0 0h128v128H0z'/%3e%3cpath class='st1' d='M72.5 64l35.4-35.4c2.3-2.3 2.3-6.1 0-8.5-2.3-2.3-6.1-2.3-8.5 0L64 55.5 28.6 20.2c-2.3-2.3-6.1-2.3-8.5 0-2.3 2.3-2.3 6.1 0 8.5L55.5 64 20.2 99.4c-2.3 2.3-2.3 6.1 0 8.5 1.2 1.2 2.7 1.8 4.2 1.8s3.1-.6 4.2-1.8L64 72.5l35.4 35.4c1.2 1.2 2.7 1.8 4.2 1.8s3.1-.6 4.2-1.8c2.3-2.3 2.3-6.1 0-8.5L72.5 64z'/%3e%3c/svg%3e");
}

.publication_image-block.big_view .publication_image-container .solid_bg {
	display: none;
}

@media (max-width : 980px) {
	.publication_image-container {
		width: 100%;
	}
	.publication_image-preview_list {
		width: 100%;
		bottom: 0;
		top: auto;
		height: auto;
		text-align: center;
		padding: 1rem;
		z-index: 2;
	}
	.publication_image-preview_list .publication_image-preview_image:before{
		content: "";
		position: absolute;
		display: block;
		width: 10px;
		height: 10px;
		background: #777;
		border-radius: 5px;
		z-index: 3;
	}
	.publication_image-preview_list .publication_image-preview_image {
		width: 10px;
		height: 10px;
		overflow: hidden;
		border: 0;
		margin: 5px;
	}
	.publication_image-preview_list .publication_image-preview_image img {
		display: none;
	}
	.publication_image-preview_list .publication_image-preview_image.active:before {
		background: #ff0060;
	}
}