/* DOCUMENTS PAGE */

.document_filter_block .search_filter_wrapper,
.document_filter_block .library_activity_sphere_filter_wrapper {
	width: var(--column3);
}

.document_filter_block .tag_filter_wrapper,
.document_filter_block .type_id_filter_wrapper,
.document_filter_block .date_filter_wrapper {
	width: calc( (var(--column3) - var(--margin)) / 2 );
}

@media all and (max-width: 1600px) {
	
}
@media all and (max-width: 1000px) {
    .document_filter_block .filter_block_list .filter_block {
		width: var(--column3);
	}
}

@media all and (max-width: 750px) {
    .document_filter_block .filter_block_list .filter_block {
		width: var(--page-content);
	}
}

/* END DOCUMENTS PAGE */


/* ONE DOCUMENT */

/* HEADER BLOCK */

.document_data_block {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
	.document_data_block + .document_data_block {
		margin-top: var(--margin-top2);
	}

.document_block .page_description + * {
	margin-top: var(--margin-top2);
}

.document_data_information {
	color: #7F838E;
	display: flex;
	align-items: center;
	gap: 20px;
}

.document_data_rating {
	display: flex;
	gap: 7px;
}

.document_attachment_block {
	margin-top: var(--margin-top2);
}
.document_attachment_title {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: Formular;
	cursor: pointer;
	font-style: normal;
	font-weight: 500;
	font-size: 12px;
	line-height: 17px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #7F838E;
	border: none;
	flex-shrink: 0;
}
.document_attachment_title:after {
	content: '';
	background: url(/common/core/img/icons/arrow_expand.svg#down_gray) center no-repeat;
	display: inline-block;
	background-size: 14px 10px;
    width: 14px;
    height: 17px;
}
.document_attachment_title.expanded:after {
	background-image: url(/common/core/img/icons/arrow_expand.svg#up_gray);
}


.document_attachment_list {
	display: flex;
	flex-direction: column;
	visibility: hidden;
	overflow: hidden;
	height: 0;
}
.document_attachment_title.expanded + .document_attachment_list {
	margin-top: 24px;
	gap: 12px;
	visibility: visible;
	height: auto;
}

.document_attachment_list .document_card {
	background: white;
	padding: 20px 30px;
	display: flex;
	gap: 10px;
	cursor: auto;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.document_attachment_list .document_card .document_type,
.document_attachment_list .document_card .document_title {
	margin: 0;
    display: inline-block;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
	vertical-align:middle;
}
.document_attachment_list .document_card .document_type {
	color: #2A3143;
}

.document_attachment_list .document_card .document_meta {
	overflow: hidden;
	flex-shrink: 1;
}
.document_attachment_list .document_card .file_info {
	display: flex;
	gap: 5px;
	align-items: center;
}
.document_attachment_list .document_card .file_info * {
	white-space: nowrap;
	text-transform: lowercase;
	color: var(--tc_gray);
}

.document_attachment_list .document_card .download_btn {
	margin-left: 10px;
	flex-shrink: 0;
}


@media all and (max-width: 750px) {
	.document_data_block {
		flex-direction: column-reverse;
		align-items: baseline;
		gap: 16px;
	}

	.document_data_information {
		display: flex;
		align-items: baseline;
		flex-direction: column;
		width: 100%;
		gap: 6px;
	}

	.document_data_rating_downloading_block {
		display: flex;
		justify-content: space-between;
		width: 100%;
		align-items: center;
		margin-top: 8px;
	}
}

/* END HEADER BLOCK */

/* STICKY BLOCK */

.document_one .sticky_header_block {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 0;
	opacity: 0;
	padding-top: 22px;
	padding-bottom: 22px;
	align-items: center;
	width: 100%;
    pointer-events: none;
}

.document_one .sticky_header_block.active {
	z-index: 10;
	opacity: 1;
    pointer-events: all;
}

.document_one .sticky_header_block .block_container {
	margin: 0 auto;
	width: var(--page-content);
	display: flex;
    justify-content: space-between;
	align-items: center;
    gap: 10px;
}
.document_one .sticky_header_block .document_title {
	white-space: nowrap;
    display: block;
    overflow: hidden;
	text-overflow: ellipsis;
}

.document_one .sticky_bottom {
	background: #FFFFFF;
	z-index: 2;
}

.document_one .sticky_bottom.fixed {
	position: fixed;
	bottom: 0;
	background: #F8F8F8;
	width: 100%;
	left: 0;
	border-color: transparent;
}
.document_one .sticky_bottom.fixed .repost_block {
	border-top: none;
}

.document_one .sticky_bottom.fixed .tag_list {
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    line-height: 30px;
}
.document_one .sticky_bottom.fixed .tag_list>li {
    overflow: unset;
    white-space: nowrap;
    display: inline;
	margin-right: 10px;
}
.document_one .text_wrapper_container,
.document_one .text_wrapper_container {
	margin-bottom: var(--margin);
	position: relative;
}

.document_one .text_wrapper_container .text_wrapper {
	margin-bottom: 0;
}

.document_one .text_wrapper_container .ps__rail-x.fixed {
	bottom: 54px !important;
}


.document_one .repost_block {
	border-top: 2px solid #D4D6D9;
	padding-top: 12px;
	padding-bottom: 12px;
	display: flex;
	justify-content: space-between;
	gap: 15px;
	width: var(--page-content);
	margin: 0 auto;
}

.document_one .repost_block .gray {
	color: #7F838E;
}
.document_one .repost_block .tag_list {
	white-space: unset;
    align-items: center;
	flex-wrap: wrap;
}
.document_one .repost_block .tag_list > li {
	white-space: normal;
}

.document_one .repost_block .soc_web {
	display: flex;
	gap: 14px;
	margin-right: -6px;
	white-space: unset;
	align-self: end;
}

.document_one .repost_block .tag_list + .soc_web {
	align-self: unset;
}


.document_one .repost_block .soc_web li>a {
	width: 30px;
	height: 30px;
}

@media (max-width: 750px) {
	.document_data_block .sticky_header_block .button_download {
		font-size: 0;
		display: inline-block;
		letter-spacing: 0;
		width: 29px;
		height: 29px;
		border: 2px solid #2A3143;
		border-radius: 50%;
		background: url(/common/core/img/icons/download.svg#dark) no-repeat center;
		background-size: 100%;
		box-sizing: border-box;
		vertical-align: middle;
	}
	.document_data_block .sticky_header_block .button_download:hover {
		background-color: #2A3143;
		background-image: url(/common/core/img/icons/download.svg#hite);
	}
	.document_data_block .sticky_header_block .button_download:after {
		content: none;
		pointer-events: all;
	}

	.document_one .sticky_bottom:not(.fixed) .repost_block {
		padding-top: 19px;
		padding-bottom: 34px;
		flex-direction: column;
		gap: 12px;
		align-items: baseline;
	}

		.repost_block .soc_web {
			gap: 10px;
		}
}

/* END STICKY BLOCK */



/* END ONE DOCUMENT */