.post{
	width: 100%;
	overflow: hidden;
	text-align:left;
	margin:5px 5px 0 5px;
	border: 1px solid #666;
	padding:10px;
	border-radius: 20px;
	align-self:normal;
}
@media screen and (min-width:800px) {
	.post{
		width: 45%;
	}
	.post-content{
		width: 75%;
	}
	#tab_posts .post {
		width:18%;
		margin:4px 6px;
	}
}
@media screen and (max-width:800px) {
	#tab_posts .post {
		width:45%;
		margin:4px 5px;
	}
}
#tab_posts .block_item__video_poster {
	min-height: auto;
	background-size: cover;
}

.img_ava{
	object-fit: cover;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	min-width: 30px;
}
.pubsListBoxesItem__img {
	border-radius: 16px;
	/*border: 1px solid #ccc;*/
	color:#000;
	background-position: center center !important;
	aspect-ratio: 1/1;
	background-repeat: no-repeat;
}
.pubsListBoxesItem__img:hover, .block_item__video_wrapper:hover{
	cursor:pointer;
}
@media screen and (min-width:600px) {
	.post-content .pubsListBoxesItem__img {
		aspect-ratio: 4/3;
	}
}

.remove_photo {
	background: url(/images/remove_photo.svg) no-repeat 0px 0px;
	width:40px;
	height:40px;
	margin-left: auto;
}
.remove_photo:hover, .remove_post:hover{
	cursor:pointer;
}
.disabledPost{
	opacity: 0.3;
}

.block_item__video_wrapper {
	background-color: #000;
	text-align: center;
	max-width: 100%;
	max-height: 100%;
	flex-grow: 1;
	position: relative;
	cursor: pointer;
	clear: both;
	overflow: hidden;
	/*border-radius: 16px;*/
	/*border: 1px solid #ccc;*/
	color:#000;
	background-position: center center !important;
	aspect-ratio: 1/1;
	background-repeat: no-repeat;
}
.block_item__video_wrapper iframe,
.block_item__video_wrapper video {
	max-width: 100%;
	max-height: 50vh;
	min-width: 100%;
	min-height: 50vh;
	z-index: 3;
	display: block;
}
.block_item__video_play {
	width: 60px;
	height: 60px;
	margin-left: -30px;
	margin-top: -30px;
	background-color: rgba(0,0,0,.2);
	transition: background-color linear .1s;
	background-image: url(https://www.9111.ru/images/vector-icons/video2.svg);
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 2;
	position: absolute;
	top: 50%;
	left: 50%;
	border-radius: 50%;
}
.block_item__video_poster:hover > .block_item__video_play {
	background-color: rgba(0,0,0,.4);
}
.block_item__video_duration {
	color: #fff;
	font-size: 14px;
	position: absolute;
	text-align: center;
	background-color: rgba(0,0,0,.5);
	padding: 3px 8px;
	bottom: 12px;
	right: 12px;
	border-radius: 4px;
	z-index: 2;
}
.block_item__video_poster {
	width: 100%;
    height: 100%;
	min-height: 50vh;
	max-width: 100%;
	z-index: 1;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
.block_item__video_poster__hide {
	display: none;
}
.post_menu {
	background: #fff;
	color: #000;
	position: absolute;
	z-index: 3000;
	right: 5px;
	top: 20px;
	cursor: pointer;
	border-radius: 10px;
	display:none;
	padding:5px 2px;
	line-height:1.6;
}
.post_menu a, .post_menu span {
	color:#000;
	padding:4px;
}
#posts_items {
	display:flex;
	flex-wrap: wrap;
	justify-content:center;
	align-items: center;
	gap:10px;
	margin-top:10px;
}
.post_menu a:hover, .post_menu span:hover {
	background: #c9d1ff;
}

/*@media screen and (max-width:800px) {
	#posts_items .post {
		padding-bottom:20px;
		border-bottom:1px solid #999;
	}
}*/

.post_out {
	overflow-y: auto;
	overflow-x: hidden;
	width: 100%;
	height: 100%;
	padding: 10px;
	scrollbar-width: thin;
	scrollbar-color: #888 #000;
}
.post_title {
	font-size: 22px;
	line-height: 28px;
	color: #fff;
	padding: 10px 0;
}
.post__footer {
	display: flex;
	flex-direction: row;
	padding: 5px 0;
	align-items: center;
	gap: 20px;
	margin-top:10px;
}
.post_footer_likes {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
}
.footer_likes_cnt {
	font-size: 14px;
	font-weight: 600;
	cursor: default;
}
.footer_likes_like,
.footer_likes_dislike {
	cursor: pointer;
	transition: fill 0.1s linear;
}
.footer_likes_dislike {
	transform: rotateX(180deg);
}
.post_footer_likes[data-like-selected="0"] .footer_likes_like svg,
.post_footer_likes[data-like-selected="-1"] .footer_likes_like svg,
.post_footer_likes[data-like-selected="0"] .footer_likes_dislike svg,
.post_footer_likes[data-like-selected="1"] .footer_likes_dislike svg {
	fill: #fff;
}
.post_footer_likes[data-like-selected="1"] .footer_likes_like svg {
	fill: #00c936;
}
.post_footer_likes[data-like-selected="-1"] .footer_likes_dislike svg {
	fill: red;
}
.post__footer_comments {
	font-size: 14px;
	font-weight: 600;
	cursor: default;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
}
.post__footer_comments svg {
	fill: #fff;
}
.post__footer_comments:hover{
	cursor: pointer;
}

.post__footer_share {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 8px;
	cursor: pointer;
}
.post__footer_share svg {
	fill: #fff;
}
.post_content {
	/*display: none;*/
}

.postComments {
	display: flex;
	flex-direction: column;
	gap: 25px;
	padding: 20px 0 0 0;
}
.comment_wrap {
	position: relative;
	display: flex;
	flex-direction: row;
	gap: 15px;
}
.comment_avatar {
	display: flex;
	align-items: flex-start;
}
.comment_avatar__img {
	width:24px;
	aspect-ratio: 1/1;
	/*height:24px;*/
	border-radius: 50%;
}
.comment_content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 5px;
}
.comment_header {
	display: flex;
	flex-direction: row;
	gap: 1px;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
}
.comment_user_name {
	color: #a1a1a1;
}
.comment_user_name,
.comment_dot,
.comment_date {
	font-size: 13px;
	color: #a1a1a1;
	/*font-weight: 600;*/
}
.comment_dot {
	margin-left:4px;
	margin-right:4px;
}

.comment_text {
	color: #fff;
	font-size: 18px;
	line-height: 146%;
}
.comment_files {
	display: flex;
	gap: 5px;
}
.comment_files__image_wrap {

}
.comment_files__image {
	border-radius: 4px;
	background-position: center center;
    aspect-ratio: 3 / 4;
    max-width: 450px;
    min-width: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
}
.omment_footer {
	display: flex;
	flex-direction: row;
	width: 100%;
}
.comment_likes {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	width: auto;
}
.comment__cnt {
	font-size: 14px;
	font-weight: 600;
	cursor: default;
}
.comment__like,
.comment__dislike {
	cursor: pointer;
	transition: fill 0.1s linear;
}
.comment__dislike {
	transform: rotateX(180deg);
}
.comment_likes[data-like-selected="0"] .comment__like svg,
.comment_likes[data-like-selected="-1"] .comment__like svg,
.comment_likes[data-like-selected="0"] .comment__dislike svg,
.comment_likes[data-like-selected="1"] .comment__dislike svg {
	fill: #fff;
}
.comment_likes[data-like-selected="1"] .comment__like svg {
	fill: #00c936;
}
.comment_likes[data-like-selected="-1"] .comment__dislike svg {
	fill: red;
}
.search{
	z-index:1000;
	position:fixed;
	overflow-y: scroll;
	opacity: 0.91;
	background:#EDEDED; 
	color:#000;
	width:95%;
	margin:0 auto;
	max-width:900px;
	border-radius: 20px;
	height: 70%;
}
.search_items a, .search_items span {
	font-size:18px;
}

/*это стили для ленты картинок*/
.lenta_post{
	width:100%;
	overflow: hidden;
	text-align:left;
	margin:5px 5px 0 5px;
	border: 1px solid #666;
	padding:10px;
	border-radius: 20px;
	align-self:normal;
}
@media screen and (min-width:800px) {
	.lenta_post{
		width: 30%;
	}
}
/*это стили для ленты картинок*/