/* @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');  */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;
}

body {
	background-color: #f4f3f0;
}

/* HEADER */
.header {
	z-index: 999;
	flex: 0 0 auto;
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(56, 50, 48, 0.05), 0 1px 0 rgba(56, 50, 48, 0.08);
	background-color: #fff;
	padding: 0.3rem 1rem;
}

/* стиль логотипа */

/* стиль логотипа */

/* кнопка добавления публикации */
.logo {
	color: #413936;
	text-decoration: none;
	font-size: 1.5rem;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease-in-out;
	position: absolute;
	left: 1rem;
	cursor: pointer;
}

.logo:hover {
	color: #1faee9;
}

.logo sup {
	font-size: 1rem;
}

.logo svg {
	width: 2rem;
	height: 2rem;
	margin-right: 0.2rem;
	border-radius: 0.2rem;
}

.add__btn {
	background: #00a36b;
	color: #fff;
	border-radius: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: Roboto, sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	padding: 8px 10px;
	height: 35px;
	transition: all 0.2s ease-in-out;
}

.add__btn:hover {
	background: #009663;
}
/* кнопка добавления публикации */

/* анимация кнопки меню */
.menu_btn {
	position: absolute;
	right: 1rem;
}

.menu {
	background-color: transparent;
	border: none;
	cursor: pointer;
	display: flex;
	padding: 0;
	position: relative;
}
.line {
	fill: none;
	stroke: rgb(100, 100, 100);
	stroke-width: 6;
	transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
	stroke-dasharray: 60 207;
	stroke-width: 6;
}
.line2 {
	stroke-dasharray: 60 60;
	stroke-width: 6;
}
.line3 {
	stroke-dasharray: 60 207;
	stroke-width: 6;
}
.opened .line1 {
	stroke-dasharray: 90 207;
	stroke-dashoffset: -134;
	stroke-width: 6;
}
.opened .line2 {
	stroke-dasharray: 1 60;
	stroke-dashoffset: -30;
	stroke-width: 6;
}
.opened .line3 {
	stroke-dasharray: 90 207;
	stroke-dashoffset: -134;
	stroke-width: 6;
}

.menu:hover .line {
	stroke: black;
}
/* анимация кнопки меню */

/* стиль выпадающего меню */
.option {
	position: absolute;
	top: 2.9rem;
	width: 20rem;
	right: 0;
	border-radius: 1rem;
	border: 1px solid #6d67674d;
	box-shadow: 0px 0px 2px 1px rgba(34, 60, 80, 0.2);
	display: none;
	background-color: #fff;
	padding: 1rem;
}

.option__item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	color: #413936;
	padding: 1rem;
	transition: all 0.2s ease-in-out;
	position: relative;
}

.option__item svg {
	fill: #ae7539;
}
.option__item:hover svg {
	fill: #00a36b;
}
.option__item:hover::after {
	display: block;
}
.option__item::after {
	content: '';
	display: none;
	border-bottom: 2px solid #00a36b;
	width: 7rem;
	position: absolute;
	bottom: 0rem;
}

.option__item.active svg {
	fill: #00a36b;
}
.option__item.active::after {
	display: block;
}

.option.active {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	z-index: 9;
}

.option__double__item {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 1rem;
}

.option__item__href {
	color: #a16c35;
	text-decoration: none;
	font-weight: 400;
}

.option__item__href:hover {
	text-decoration: underline;
}
/* стиль выпадающего меню */
/* HEADER */

/* ADD POST MODAL */
.modal__wrapper {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.7);
	width: 100%;
	height: 100%;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	display: none;
}

.modal__wrapper.active-modal {
	display: flex;
	visibility: visible;
}

.modal__window {
	padding: 1rem 0;
	background: #fff;
	width: 100%;
	max-width: 44rem;
	border-radius: 1rem;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	max-height: 80vh;
	overflow: auto;
}

.close__modal {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	color: #000;
	cursor: pointer;
}

.close__modal:hover path {
	fill: red;
}

.modal__title {
	color: #000;
	font-size: 1.1rem;
	font-weight: 600;
	display: block;
	padding: 1.5rem 0.5rem 0 0.5rem;
	text-align: center;
	line-height: 1;
}

.modal__title2 {
	width: 100%;
	color: #000;
	font-size: 1.3rem;
	font-weight: 600;
	display: block;
	padding: 1.5rem 0.5rem 0 0.5rem;
	text-align: left;
	line-height: 1;
	margin-bottom: 1rem;
}

.modal__subtitle {
	color: #000;
	font-size: 0.9rem;
	font-weight: 400;
	display: block;
	padding: 1rem 0.5rem;
	text-align: center;
	line-height: 1.5;
}

#description {
	border: none;
	outline: none;
	font-size: 0.9rem;
	font-weight: 400;
	padding: 0.5rem;
	margin: 0.5rem;
	border-radius: 0.5rem;
	width: 95%;
	height: 15rem;
	resize: none;
	background: #f4f3f0;
}

.counter-text {
	position: absolute;
	left: 0;
	top: 0;
	color: gray;
	font-size: 0.8rem;
	pointer-events: none;
}

#btn-wrap {
	position: relative;
	/* margin: 0.5rem; */
	width: 95%;
	display: flex;
	justify-content: flex-end;
}

.privacy {
	margin-top: 1rem;
	font-size: 0.8rem;
	text-align: center;
	width: 20rem;
}

.privacy a {
	text-decoration: none;
	color: #ae7539;
}

.add__img__wrapper {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.add__img__btn {
	color: rgb(153, 153, 153);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 0.9rem;
	margin-right: 1rem;
}

#imageInput {
	display: none;
}

#del_img-btn {
	display: none;
}

.cat__item{
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	color: #ae7539;
	transition: all 0.2s ease-in-out;
	margin: .5rem;
	cursor: pointer;
}

.cat__item.current{
	color: #00a36b;
}

.category__items__wrapper{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
}

.cat__item:hover{
	color: #a16c35;
	text-decoration: underline;
}
/* ADD POST MODAL */

/* SUCCESS MODAL */
.success__modal {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	transition: 0.4s;
	z-index: 9999;
}

.success__modal-content {
	position: relative;
	background-color: #fff;
	padding: 2rem 1rem 1rem 1rem;
	border-radius: 10px;
	width: 20rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.success__modal-title,
.success__modal-description {
	text-align: center;
}

.success__modal-title {
	font-size: 1.2rem;
	color: #1a1a1a;
	margin-bottom: 1rem;
	line-height: 1;
}

.success__modal-description {
	color: #1a1a1a;
	font-size: 0.9rem;
	font-weight: 400;
	margin-bottom: 1rem;
}

.margin__btn {
	margin-top: 0.5rem;
}

.btn__gray {
	background-color: #f4f3f0;
	color: #413936;
}

.btn__gray:hover {
	background-color: #e8e7e4;
}

.active-modal-success {
	opacity: 1;
	visibility: visible;
}
/* SUCCESS MODAL */

/* POSTS */
.post__wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	margin-top: 1rem;
	position: relative;
}

.about__board {
	background: #fff;
	width: 20rem;
	position: absolute;
	left: 1rem;
	top: 4rem;
	border-radius: 0.5rem;
	box-shadow: 0 2px 4px rgba(56, 50, 48, 0.05), 0 1px 0 rgba(56, 50, 48, 0.08);
	padding: 1rem;
}

.about__board__title {
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.about__board__text {
	font-weight: 400;
	line-height: 1.47;
	font-size: 0.875rem;
	color: #413936;
	cursor: default;
}

.about__board__social{
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1rem;
}

.about__board__href{
	margin: .3rem;
}

.secret__href {
	font-weight: 400;
	line-height: 1.47;
	font-size: 0.875rem;
	color: #413936;
	text-decoration: none;
	cursor: default;
}

.post {
	padding: 1rem;
	background: #fff;
	width: 100%;
	max-width: 44rem;
	border-radius: 0.5rem;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	box-shadow: 0 2px 4px rgba(56, 50, 48, 0.05), 0 1px 0 rgba(56, 50, 48, 0.08);
	margin-bottom: 1rem;
}

.post__href__wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.post__href {
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	color: #ae7539;
	transition: all 0.2s ease-in-out;
	display: block;
	text-align: left;
	margin-bottom: 0.5rem;
	cursor: pointer;
}

.post__href:hover {
	color: #a16c35;
	opacity: 0.7;
}

.post__text {
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.47;
	margin-bottom: 0.5rem;
	width: 100%;
}

/* кнопки рейтинга */
.rate__btns {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row;
}

.rate__btn {
	background: #fff;
	color: #413936;
	border-radius: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: Roboto, sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	padding: 6px 11px;
	box-shadow: 0 2px 4px rgba(56, 50, 48, 0.05), 0 1px 0 rgba(56, 50, 48, 0.08);
	transition: all 0.2s ease-in-out;
}

.rate__btn:hover {
	color: #a16c35;
}

.rate__btn.like:hover {
	background: rgba(0, 128, 0, 0.1);
}

.rate__btn.dislike:hover {
	background: rgba(255, 0, 0, 0.1);
}

.rate__btn.disabled {
	pointer-events: none;
}

.rate__counter {
	font-weight: 600;
	font-size: 0.9rem;
	margin: 0 1rem;
	width: 4rem;
	text-align: center;
}

.rate__btn font {
	pointer-events: none;
}

/* кнопки в подвале публикации */
.footer__btns {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	flex-direction: row;
	margin-top: 1rem;
	margin-bottom: 0.5rem;
}

.footer__btn {
	background: #fff;
	color: #413936;
	border-radius: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: Roboto, sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	padding: 6px 11px;
	transition: all 0.2s ease-in-out;
	width: 6rem;
	margin-left: 0.5rem;
}

.footer__btn svg {
	transition: all 0.2s ease-in-out;
	pointer-events: none;
}

.share__val {
	pointer-events: none;
}

.footer__btn:hover {
	color: #a16c35;
	opacity: 0.7;
	background: rgba(128, 128, 128, 0.1);
}

.footer__btn:hover svg {
	fill: #a16c35;
	opacity: 0.7;
}

.cat__name {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	width: 100%;
}

.cat__name__count {
	font-size: .8rem;
	font-weight: 600;
	/* margin-bottom: 0.5rem; */
	width: 100%;
	color: #9c9c9c;
}

/* навигация отдельного открытого поста */
.post__navigation {
	padding: 0 1rem;
	width: 100%;
	max-width: 44rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row;
	margin-bottom: 1rem;
}

.post__navigation_btn {
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.2rem;
	background: #fff;
	box-shadow: 0 1px 4px rgba(56, 50, 48, 0.5);
	cursor: pointer;
}

.post__navigation_btn:hover svg {
	transform: scale(1.2);
}

.post_counter {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.post_counter_title {
	font-weight: 700;
	color: #413936;
	font-size: 0.9rem;
}

.post_counter_count {
	font-weight: 500;
	color: #333;
	font-size: 0.8rem;
}

/* Стиль комментариев */
.comments__title {
	width: 100%;
	max-width: 44rem;
	padding-left: 1rem;
	font-size: 1.3rem;
	font-weight: bold;
}

.comments__wrapper {
	padding: 1rem;
	background: #fff;
	width: 100%;
	max-width: 44rem;
	border-radius: 0.5rem;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	box-shadow: 0 2px 4px rgba(56, 50, 48, 0.05), 0 1px 0 rgba(56, 50, 48, 0.08);
	margin-bottom: 1rem;
	margin-top: 1rem;
}

.comment__input {
	outline: none;
	height: 2rem;
	width: 100%;
	padding: 0.3rem;
	box-sizing: border-box;
	border: 2px solid #ccc;
	border-radius: 0.5rem;
	background-color: #f8f8f8;
	font-size: 0.9rem;
	font-weight: 500;
	resize: none;
	transition: all 0.15s ease-in-out;
}

.comment__input:focus {
	height: 5rem;
	background: #fff;
	border: 2px solid #a16d3550;
}

.send__comment {
	background: #4477cc;
	color: #fff;
	font-size: 1rem;
	font-weight: bold;
	padding: 0.3rem 1rem;
	border-radius: 1rem;
	border: 0;
	margin-top: 0.5rem;
	margin-left: auto;
	cursor: pointer;
	display: none;
	transition: all 0.15s ease-in-out;
}

.send__comment:hover {
	background: #3d6bb7;
}

.comment__input:focus + .send__comment {
	display: block;
}

.hr-line {
	margin: 1rem 0;
	padding: 0;
	height: 0;
	border: none;
	border-top: 1px solid #6d67674d;
	width: 100%;
}
.hr-line2 {
	margin: 0.5rem 0 1rem 0;
	padding: 0;
	height: 0;
	border: none;
	border-top: 1px solid #6d67674d;
	width: 100%;
}

.comment__wrapper {
	display: flex;
	justify-content: center;
	flex-direction: row;
	width: 100%;
}

.comment_img {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	box-shadow: 0px 0px 2px 1px rgba(34, 60, 80, 0.2);
	margin-right: 0.5rem;
}

.comment__text {
	width: 100%;
}

.comment_text_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row;
}

.comment_title {
	font-size: 1rem;
	color: #ae7539;
	font-weight: 700;
	margin-bottom: 0.3rem;
}

.comment_date {
	font-size: 0.7rem;
	font-weight: 500;
	color: #333333a6;
}

.comment_main_text {
	font-size: 0.9rem;
	line-height: 1.3;
}

.comment__footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.comment__like {
	margin-right: 0.3rem;
	font-size: 0.9rem;
	font-weight: 600;
}

/* Like на публикацию */
.like__btn {
	background: #fff;
	color: #413936;
	border-radius: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: Roboto, sans-serif;
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	padding: 6px 11px;
	transition: all 0.2s ease-in-out;
	width: 6rem;
}

.footer__btn svg {
	transition: all 0.2s ease-in-out;
	pointer-events: none;
}

.share__val {
	pointer-events: none;
}

.footer__btn:hover {
	color: #a16c35;
	opacity: 0.7;
	background: rgba(128, 128, 128, 0.1);
}

.footer__btn:hover svg {
	fill: #a16c35;
	opacity: 0.7;
}
/* POSTS */

/* ToolTip */
.tooltip {
	font-size: 1rem;
	font-weight: 600;
	display: none;
	padding: 10px 15px;
	position: absolute;
	background: #333;
	border-radius: 2rem;
	color: #fff;
	z-index: 200;
}
/* ToolTip */

/* ABOUT PAGE */
.about__wrapper {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: row;
	flex-wrap: nowrap;
	margin-top: 1rem;

	/* margin: 1rem; */
	position: relative;
}

.text__wrapper {
	padding: 1rem;
	background: #fff;
	width: 100%;
	max-width: 40rem;
	border-radius: 0.5rem;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	box-shadow: 0 2px 4px rgba(56, 50, 48, 0.05), 0 1px 0 rgba(56, 50, 48, 0.08);
	margin-bottom: 1rem;
}

.about__h1 {
	width: 100%;
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 600;
	color: #413936;
	text-align: left;
	margin-bottom: 0.5rem;
}

.text__wrapper p {
	color: #413936;
	text-align: left;
	margin-bottom: 1rem;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.47;
	width: 100%;
}

.text__wrapper p a {
	color: #ae7539;
	text-align: left;
	margin-bottom: 1rem;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.47;
	width: 100%;
}

.text__wrapper .social__href {
	color: #ae7539;
	text-align: left;
	margin-bottom: 1rem;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.47;
	width: 100%;
	display: flex;
	align-items: center;
}

.text__wrapper .social__href svg {
	margin-right: 0.3rem;
}

/* about menu */
.about__menu {
	padding: 0.3rem 0;
	background: #fff;
	border-radius: 0.5rem;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	box-shadow: 0 2px 4px rgba(56, 50, 48, 0.05), 0 1px 0 rgba(56, 50, 48, 0.08);
	margin-left: 2rem;

	/* position: absolute;
	top: -2.5rem;
	max-width: 900px;
	width: 100%;
	margin: 2rem;
	display: none; */
}

.about__menu.show {
	display: block;
}

.menu__item {
	width: 100%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 1rem;
	transition: all 0.2s ease-in-out;
	color: #413936;
	font-weight: 600;
	font-size: 0.9375rem;
}

.menu__item:hover {
	background: #f7f6f5;
	color: #a16c35;
}

.menu__item.selected {
	background: #f4f3f0;
}

.about__menu__btn__wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 1rem;
	position: relative;
	display: none;
}

.about__menu__btn {
	cursor: pointer;
	margin-top: 1rem;
	max-width: 1000px;
	width: 100%;
	padding: 0.3rem 0;
	background: #fff;
	border-radius: 0.5rem;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row;
	box-shadow: 0 2px 4px rgba(56, 50, 48, 0.05), 0 1px 0 rgba(56, 50, 48, 0.08);
	padding: 0.5rem 1rem;
}

.menu__btn__left {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	color: #413936;
	font-weight: 500;
	font-size: 0.9375rem;
}

.menu__btn__right.reverse {
	transform: rotate(180deg);
}
/* ABOUT PAGE */

/* ADMIN BTNS */
.admin__btns {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 2rem 1rem 0 1rem;
}

.admin__btn {
	cursor: pointer;
	box-shadow: -1px 1px 8px 0px rgba(34, 60, 80, 0.4);
	border-radius: 0.5rem;
	padding: 0.2rem 0.5rem;
	font-weight: 500;
	color: #413936;
	font-size: 0.8rem;
}

.admin__btn.del:hover {
	background: rgba(255, 0, 0, 0.2);
}

.admin__btn.public:hover {
	background: rgba(0, 128, 0, 0.2);
}
/* ADMIN BTNS */

/* КАРУСЕЛЬ КАРТИНОК К ПУБЛИКАЦИИ */
.carousel-container {
	display: flex;
	overflow: hidden;
	gap: 15px;
	padding: 10px;
	white-space: nowrap;
	max-width: 100%;
	margin-bottom: 0.5rem;
	cursor: grab;
	user-select: none;
}

#preview-container {
	max-width: 95%;
	margin-top: 1rem;
}

.carousel-container.active {
	cursor: grabbing;
}

/* Стилизация изображений */
.carousel-item {
	width: auto;
	height: 200px;
	flex-shrink: 0;
	border-radius: 8px;
	object-fit: cover;

	/* pointer-events: none;  */
}

.carousel-item.small {
	width: auto;
	height: 100px;
	flex-shrink: 0;
	border-radius: 8px;
	object-fit: cover;

	/* pointer-events: none;  */
}
/* КАРУСЕЛЬ КАРТИНОК К ПУБЛИКАЦИИ */

/* КАРУСЕЛЬ КАРТИНОК ПРЕВЬЮ */
.preview-container {
	display: flex;
	overflow: hidden;
	gap: 15px;
	padding: 10px;
	white-space: nowrap;
	max-width: 100%;
	margin-bottom: 0.5rem;
	cursor: grab;
	user-select: none;
}

.preview-container.active {
	cursor: grabbing;
}

/* Стилизация изображений */
.preview-item {
	width: auto;
	height: 100px;
	flex-shrink: 0;
	border-radius: 8px;
	object-fit: cover;

	pointer-events: none;
}
/* КАРУСЕЛЬ КАРТИНОК ПРЕВЬЮ */

/* Модальное окно с листанием картинок */
.img_slider {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 9999;
	background: #000000;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	display: none;
}

.open-img_slider {
	visibility: visible;
	display: flex;
}

.open-img_slider img {
	width: 100%;
	max-height: 90vh;
	object-fit: contain;
	user-select: none;
}

.img_slider_close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	color: #fff;
	cursor: pointer;
	font-size: 2rem;
	opacity: 0.5;
}

.img_slider_close:hover {
	opacity: 1;
}

.img_slider_count {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
}

.img_slider_arrow {
	position: absolute;
	color: #fff;
	cursor: pointer;
	font-size: 2rem;
	background: #262626;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	transform: translate(0%, -50%);
	top: 50%;

	opacity: 0.5;
}

.img_slider_arrow:hover {
	background: #333333;
	opacity: 1;
}

.img_slider_arrow.left {
	left: 0.5rem;
	transform: rotate(180deg);
}

.img_slider_arrow.right {
	top: 52%;
	right: 0.5rem;
}
/* Модальное окно с листанием картинок */

/* пагинация */
.wrapper {
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
	margin: 0;
	padding: 5px;
	background: #fff;
	border-radius: 50px;
	margin-bottom: 1rem;
}

.wrapper li {
	display: inline-block;
	list-style: none;
}

.wrapper li div {
	background: #fff;
	text-align: center;
	text-decoration: none;
	color: #333;
	border-radius: 50%;
	margin: 3px;
	/* box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.5); */
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
	transition: 0.5s;
	display: block;
	width: 25px;
	height: 25px;
	line-height: 25px;
	font-size: 0.7rem;
	font-weight: bold;
	cursor: pointer;
}

.wrapper li div:hover,
.wrapper li div.active {
	color: #fff;
	background: #009663;
}

.wrapper li:first-child div {
	border-radius: 50px 0px 0px 50px;
}

.wrapper li:first-child div span {
	display: block;
	transform: rotate(180deg);
}

.wrapper li:last-child div {
	border-radius: 0 50px 50px 0;
}

.wrapper li div.current {
	color: #fff;
	background: #009663;
}
/* пагинация */

/* CATEGORY MODAL */
.category__modal {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.7);
	width: 100%;
	height: 100%;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	display: none;
}

.category__modal-content {
	position: relative;
	background-color: #fff;
	padding: 2rem 1rem 1rem 1rem;
	border-radius: 10px;
	width: 40rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.category_input_wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	width: 100%;
	margin-top: 1rem;
}

.category_list_wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	width: 100%;
	margin-top: 1rem;
	flex-wrap: wrap;
	/* border: 1px solid black; */
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(56, 50, 48, 0.5);
	/* height: 4rem; */
	padding: 1rem;
}

.category__text {
	width: calc(100% - 20px);
	padding: 10px;
	margin-right: 1rem;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.add__cat {
	background: #00a36b;
	color: #fff;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: Roboto, sans-serif;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	padding: 8px 10px;
	height: 35px;
	transition: all 0.2s ease-in-out;
}

.add__cat:hover {
	background: #009663;
}

.category__item {
	font-size: 0.8rem;
	border-radius: 2rem;
	background: #4477cc;
	color: #fff;
	cursor: pointer;
	padding: 0.3rem 1rem;
	font-weight: bold;
	margin: 0.3rem;
}

.category__item:hover {
	background: #1953b8;
}

.category__modal.active-modal {
	display: flex;
	visibility: visible;
}
/* CATEGORY MODAL */

/* PHONE ADAPTIVE */
@media screen and (max-width: 650px) {
	.modal__window {
		border-radius: 0;
		max-height: 100vh;
	}

	.post {
		margin-bottom: 0.5rem;
		border-radius: 0;
	}

	.comments__wrapper {
		border-radius: 0;
		margin-top: 0.5rem;
	}

	.text__wrapper {
		border-radius: 0;
	}

	.logo__text {
		/* display: none; */
		font-size: 0.9rem;
	}

	.logo svg {
		width: 1.5rem;
		height: 1.5rem;
		margin-right: 0.2rem;
		border-radius: 0.2rem;
	}

	#add__btn_header {
		transform: scale(0.7);
	}
}

/* Для страницы about */
@media screen and (max-width: 1000px) {
	.about__menu {
		position: absolute;
		top: -2.5rem;
		max-width: 1000px;
		width: calc(100% - 2rem);
		margin: 2rem;
		display: none;
		box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
	}

	.about__menu__btn__wrapper {
		display: block;
	}
}
/* PHONE ADAPTIVE */

@media screen and (max-width: 1450px) {
	.about__board {
		display: none;
	}
}
