/* Стили для статей */

@import url('https://fonts.googleapis.com/css2?family=PT+Mono&display=swap');

.navlink-article {
	display: inline-flex;
	width: 100%;
	max-width: 300px;
	height: auto;
	max-height: 250px;
	margin: 16px;
	padding: 16px;
	box-shadow: 0 4px 8px 0 rgba(38, 40, 42, 0.1);
	background-color: #e9e9e9;
	letter-spacing: .1px;
	color: #6b7480;
	transition: none;
	border-radius: 10px;
}

.navlink-article:hover {
	box-shadow: 0 4px 8px 0 rgba(38,40,42,0.1);
	transition: none;
	background-color: #ccc;
}

.navlink-article-search {
	display: inline-flex;
	width: 100%;
	max-width: 1000px;
	height: 100px;
	margin: 16px;
	padding: 16px;
	box-shadow: 0 4px 8px 0 rgba(38, 40, 42, 0.1);
	background-color: #e9e9e9;
	letter-spacing: .1px;
	color: #6b7480;
	transition: none;
	border-radius: 10px;
}

.navlink-article-search:hover {
	box-shadow: 0 4px 8px 0 rgba(38,40,42,0.1);
	transition: none;
	background-color: #ccc;
}

.navlink-article:hover > .icon-in-circle {
	background-color: #959eb0;
}

.navlink-article:hover > .icon-in-circle .icon {
	transition: none;
	fill: #fff;
}

.navlink .navlink-article .icon-in-circle {
	margin-right: 12px;
}

.search-result {
	margin: 40px 0 24px;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.17;
	letter-spacing: .12px;
	color: #26282a;
	text-align: center;
}

.article-content {
	display: flex;
	justify-content: center;
}

.article-title {
	font-weight: bold;
	font-size: 2.4em;
	text-align: center;
	margin-top: 30px;
	margin-bottom: 30px;
	overflow-wrap: break-word;
	word-break: break-word;
	max-width: 100%;
}

.article-body {
	margin: 16px;
	padding: 25px;
	box-shadow: 0 4px 8px 0 rgba(38, 40, 42, 0.1);
	background-color: #ffffff;
	letter-spacing: .1px;
	color: #0a0a0a;
	transition: none;
	border-radius: 10px;
	overflow-wrap: break-word;
	word-break: break-word;
	max-width: 100%;
}

.article-column {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.params {
	width: 100%;
	height: 50%;
}

.article-params {
	align-items: center;
	width: 100%;
	max-width: 350px;
	height: 100%;
	max-height: 15000px;
	margin: 16px;
	padding: 25px;
	box-shadow: 0 4px 8px 0 rgba(38, 40, 42, 0.1);
	background-color: #ffffff;
	letter-spacing: .1px;
	color: #0a0a0a;
	transition: none;
	border-radius: 10px;
}

.params-title {
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom: 50px;
	text-align: center;
}

.param-title {
	width: 150px;
	font-weight: bold;
	font-size: 15px;
	margin-right: 10px;
	margin-bottom: 10px;
}

.params-str {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
	padding: 5px 0;
}

.related-str {
	font-weight: bold;
	font-size: 15px;
	margin-right: 10px;
	margin-bottom: 10px;
}

.related-str a {
	color: #6b7480;
	text-decoration: none;
}

.related-str a:visited {
	color: #6b7480;
}

.param-value {
	font-size: 15px;
	margin-right: 10px;
	margin-bottom: 10px;
}

.article-comments {
	display: flex;
	justify-content: center;
}

.article-comments-body {
	width: 100%;
	margin: 16px;
	padding: 25px;
	box-shadow: 0 4px 8px 0 rgba(38, 40, 42, 0.1);
	background-color: #ffffff;
	letter-spacing: .1px;
	color: #0a0a0a;
	transition: none;
	border-radius: 10px;
}

.article-comments-title {
	text-align: center;
	font-family: "PT Mono", serif;
	font-weight: 400;
	font-style: normal;
}

.article-comments-add {
	margin: 20px 0;
}

.article-comments-form {
	display: flex;
	align-items: center;
	justify-content: center;
}

.article-comments-field {
	display: flex;
	padding: 10px;
	width: 100%;
}

.article-comments-field input, .article-comments-field textarea {
	flex: 1;
	margin-right: 10px;
	padding: 10px;
	border: none;
	background-color: #d3e4eca6;
	box-shadow: 0 4px 8px 0 rgba(38, 40, 42, 0.1);
	border-radius: 25px;
	resize: none;
}

.article-comments-button {
	box-shadow: 0 4px 8px 0 rgba(38, 40, 42, 0.1);
	background-color: #364aff;
	border: none;
	border-radius: 25px;
	cursor: pointer;
}

.article-comments-button:hover {
	background-color: #3822ff;
}

.article-comments-button svg {
	width: 80px;
	height: 70px;
	fill: #d3e4eca6;;
}

.article-comments-item {
	display: flex;
	margin: 10px;
	padding: 10px;
	border: none;
	background-color: #d3e4eca6;
	box-shadow: 0 4px 8px 0 rgba(38, 40, 42, 0.1);
	border-radius: 25px;
	width: auto;
	max-width: max-content;
}

.article-comments-icon svg {
	width: 80px;
	height: 80px;
}

.article-comments-user {
	flex: 0 0 auto;
	padding-right: 10px;
}

.article-comments-user h4 {
	font-family: "PT Mono", serif;
	font-size: 12px;
	margin-bottom: 0;
}

.article-comments-user h7 {
	font-family: "PT Mono", serif;
	font-size: 12px;
}

.article-comments-text {
	flex: 1;
	margin-left: 20px;
	margin-right: 20px;
}

.pagination {
	display: flex;
	justify-content: center;
	margin: 20px 0;
}

.step-links {
	display: flex;
	align-items: center;
}

.step-links a {
	text-decoration: none;
	color: #007bff;
	padding: 10px 15px;
	border: 1px solid #007bff;
	border-radius: 25px;
	margin: 0 5px;
	transition: background-color 0.3s, color 0.3s;
}

.step-links a:hover {
	background-color: #007bff;
	color: white;
}

.step-links button {
	text-decoration: none;
	color: #007bff;
	padding: 10px 15px;
	border: 1px solid #007bff;
	border-radius: 25px;
	margin: 0 5px;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
	outline: none;
}

.step-links button:hover {
	background-color: #007bff;
	color: white;
}

.step-links .current {
	padding: 10px 15px;
	border: 1px solid #ccc;
	border-radius: 25px;
	background-color: #f8f9fa;
	color: #333;
	margin: 0 5px;
}

.pdf-iframe {
	width: 100%;
	height: 800px;
	border: none;
}

.set-favorite {
	display: flex;
	justify-content: center;
}

.favorite-button {
	display: inline-flex;
	align-items: center;
	color: white;
	padding: 10px 15px;
	border: none;
	border-radius: 5px;
	text-decoration: none;
	font-size: 16px;
	transition: background-color 0.3s;
}

.favorite-button-inactive {
	background-color: #777;
}

.favorite-button-active {
	background-color: #c50101;
}

.favorite-button:hover {
	transform: scale(1.1);
}

.favorite-icon {
	width: 20px;
	height: 20px;
	margin-right: 5px;
	fill: white;
}
