body {
	--posts-card-scale: 130%;
	--posts-list-scale: 70%;
	--focus-color: #f04494;
	--key-color: #333;
	--main-color: #4e5358;
	--main-shadow: rgba(116, 116, 116, 0.08);
	--muted-color: #777;
	--muted-2-color: #999;
	--main-bg-color: #fff;
	--main-radius: 8px;
}

.dark-theme {
	--key-color: #f8fafc;
	--main-color: #e5eef7;
	--main-shadow: rgba(24, 24, 24, 0.1);
	--muted-color: #b4b6bb;
	--muted-2-color: #888a8f;
	--main-bg-color: #323335;
}

.posts-row img {
	max-width: 100%;
	max-height: 100%;
}

.posts-row ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.posts-row svg {
	width: 1em;
	height: 1em;
	vertical-align: -0.15em;
	fill: currentColor;
	overflow: hidden;
}

.posts-row a[href],
.posts-row .but:focus,
.posts-row .but:hover {
	transition: color 0.2s, background 0.3s, opacity 0.3s, box-shadow 0.3s, transform 0.3s;
}

.posts-row .item-thumbnail img {
	transition: 0.2s ease-out;
}

.posts-row .posts-item:hover .item-thumbnail img {
	transform: scale(1.02);
}

.muted-2-color {
	color: var(--muted-2-color);
}

.radius8 {
	border-radius: var(--main-radius);
}

.fit-cover {
	width: 100%;
	height: 100%;
	transition: all 0.2s;
	overflow: hidden;
	-o-object-fit: cover;
	object-fit: cover;
}

.lazyloaded {
	transition: 0.3s;
	--lazy-animation: lazy_blur;
}

img.lazyloaded:not(.lazyloadafter) {
	-webkit-animation: var(--lazy-animation) 0.6s;
	animation: var(--lazy-animation) 0.6s;
}

@-webkit-keyframes lazy_blur {
	0% {
		-webkit-filter: blur(5px);
		filter: blur(5px);
	}
}

@keyframes lazy_blur {
	0% {
		-webkit-filter: blur(5px);
		filter: blur(5px);
	}
}

.posts-row .but,
#book-cover-carousel .but {
	border-radius: 4px;
	display: inline-block;
	transition: 0.15s;
	border: 1px solid var(--this-border);
	vertical-align: middle;
	padding: 0.3em 0.6em;
	text-align: center;
	font-weight: normal;
	box-shadow: var(--this-shadow);
	background: var(--this-bg);
	color: var(--this-color);
	--main-color: var(--this-color);
	--this-bg: rgba(136, 136, 136, 0.1);
	--this-border: transparent;
	--this-shadow: none;
	--this-color: #888;
	text-shadow: 0 0 0;
	line-height: 1.44;
}

.posts-row .but a,
#book-cover-carousel .but a {
	color: inherit;
}

.posts-row .but .icon,
.posts-row .but > .fa,
#book-cover-carousel .but .icon,
#book-cover-carousel .but > .fa {
	margin-right: 0.25em;
}

.posts-row .but:focus,
.posts-row .but:hover,
#book-cover-carousel .but:focus,
#book-cover-carousel .but:hover {
	opacity: 0.8;
	color: var(--this-color);
}

.posts-row .but:active,
#book-cover-carousel .but:active {
	--this-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.08);
}

.c-yellow {
	color: var(--this-color);
	--this-color: #ff6f06;
	--this-bg: rgba(255, 111, 6, 0.1);
}

.scroll-x {
	-webkit-overflow-scrolling: touch;
	overflow: hidden;
	overflow-x: auto;
	white-space: nowrap;
}

.no-scrollbar,
.mini-scrollbar {
	-ms-overflow-style: none;
	overflow: -moz-scrollbars-none;
	scrollbar-width: thin;
}

.mini-scrollbar::-webkit-scrollbar {
	width: 3px;
	height: 3px;
}

.mini-scrollbar::-webkit-scrollbar-track {
	border-radius: 10px;
}

.mini-scrollbar::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background: rgba(0, 0, 0, 0);
}

.mini-scrollbar:hover::-webkit-scrollbar-thumb {
	background: rgba(146, 146, 146, 0.3);
}

.mini-scrollbar::-webkit-scrollbar-thumb:hover {
	background: rgba(145, 145, 145, 0.7);
}

.mini-scrollbar::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(146, 146, 146, 0.1);
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}

.no-scrollbar {
	overflow: -moz-scrollbars-none;
	scrollbar-width: none;
}

.flex {
	display: flex;
}

.flex.ac {
	align-items: center;
}

.flex.jsb {
	justify-content: space-between;
}

.flex .flex0 {
	flex: none;
}

.mb6 {
	margin-bottom: 6px;
}

.list-inline {
	margin-left: 0;
}

.option-dropdown {
	padding: 5px 10px;
	display: inline-block;
	color: var(--muted-color);
}

.ajax-option .option-items {
	margin-left: 10px;
	--main-color: var(--muted-2-color);
}

.ajax-option .option-dropdown {
	color: var(--main-color);
}

.ajax-option .option-items > a + a:before {
	content: '';
	width: 4px;
	height: 4px;
	margin: 0 0.5em;
	border-radius: 50%;
	display: inline-block;
	vertical-align: 0.2em;
	background: var(--main-color);
	opacity: 0.3;
}

.splitters-this-r {
	position: relative;
}

.splitters-this-r:before {
	content: '';
	width: 1px;
	height: 1.1em;
	position: absolute;
	display: inline-block;
	background: var(--main-color);
	top: 50%;
	right: 0;
	opacity: 0.2 !important;
	transform: translateY(-50%);
}

.posts-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	margin-left: -8px;
	margin-right: -8px;
	margin-bottom: 15px;
}

.posts-row .ajax-option {
	width: calc(100% - 16px);
	flex: 0 0 calc(100% - 16px);
}

.posts-row > *:not(.post_ajax_loader) {
	margin-left: 8px !important;
	margin-right: 8px !important;
}

.posts-item {
	padding: 20px;
	margin: 15px 0;
	background: var(--main-bg-color);
	overflow: hidden;
	transition: 0.2s;
	box-shadow: 0 0 10px var(--main-shadow);
	border-radius: var(--main-radius);
}

.posts-item .item-thumbnail {
	width: 190px;
	height: 0;
	padding-bottom: var(--posts-list-scale);
	position: relative;
	overflow: hidden;
	border-radius: var(--main-radius);
}

.item-thumbnail img {
	position: absolute;
}

.posts-item .item-heading {
	margin-top: 0;
	margin-bottom: 5px;
	font-size: 18px;
	line-height: 1.4em;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	white-space: normal;
	max-height: 2.8em;
}

.posts-item .item-heading > a {
	color: var(--key-color);
}

.posts-item .item-heading > a:hover {
	color: var(--focus-color);
}

.posts-item .item-meta item {
	margin-right: 8px;
	font-size: 13px;
}

.posts-item .item-meta {
	height: 1.6em;
	line-height: 1.6em;
	overflow: hidden;
	white-space: nowrap;
}

.posts-item .item-meta .meta-date,
.posts-item .item-meta .meta-views {
	display: inline-block;
	margin-right: 8px;
	font-size: 12px;
	vertical-align: middle;
}

.posts-item .item-meta .meta-views {
	margin-right: 0;
}

.posts-item .item-meta .fa {
	margin-right: 2px;
}

.posts-item .item-meta a {
	color: inherit;
}

.posts-item .item-tags a {
	font-size: 11px;
	padding: 2px 5px;
	margin-right: 5px;
}

.posts-item .item-tags a .fa {
	font-size: 1em;
}

.posts-item.card {
	width: calc(16.666667% - 16px);
	flex: 0 0 calc(16.666667% - 16px);
	display: block;
	margin: 8px;
	padding: 10px;
	transition: 0.3s;
}

.posts-item.card:last-child {
	margin-bottom: 20px;
}

.posts-item.card .item-body {
	width: 100%;
	margin: 10px 0 0 0;
	padding: 0;
}

.posts-item.card .item-meta item {
	font-size: 12px;
}

.posts-item.card .item-heading {
	font-size: 14px;
	height: 2.8em;
	min-height: 2.8em;
}

.posts-item.card .item-tags {
	min-height: 23px;
}

.posts-item.card .item-thumbnail {
	width: 100%;
	padding-bottom: var(--posts-card-scale);
}

.posts-item.card.style3 {
	padding: 0;
}

.posts-item.card.style3 .item-thumbnail,
.posts-item.card.style3 .item-thumbnail img {
	border-radius: var(--main-radius) var(--main-radius) 0 0;
}

.posts-item.card.style3 .item-body {
	padding: 10px;
	margin: 0;
}

.item-meta item .icon {
	margin-right: 2px;
}

#book-cover-carousel .module.carousel .post-grid {
	padding: 10px;
}

#book-cover-carousel .module.carousel .entry-media {
	margin: -10px -10px 0;
	border-radius: var(--main-radius) var(--main-radius) 0 0;
}

#book-cover-carousel .module.carousel .entry-media .placeholder {
	width: 100%;
	padding-bottom: 133.333333% !important;
	position: relative;
}

#book-cover-carousel .module.carousel .entry-media .placeholder > a,
#book-cover-carousel .module.carousel .entry-media .placeholder img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

#book-cover-carousel .module.carousel .entry-media .placeholder img {
	-o-object-fit: contain;
	object-fit: contain;
	object-position: center top;
}

#book-cover-carousel .module.carousel .entry-header .entry-title {
	height: 36px;
	line-height: 18px;
}

@media (min-width: 992px) {
	.pay-box .pay-thumb.book-pay-thumb {
		width: 170px;
	}

	.pay-box .graphic.book-graphic {
		width: 150px;
		padding-bottom: 200px;
		margin: 0 auto;
		background: #f7f7f7;
	}

	.pay-box .graphic.book-graphic > .fit-cover {
		height: 100%;
		-o-object-fit: cover;
		object-fit: cover;
		object-position: center top;
	}
}

@media (max-width: 1200px) {
	.posts-item.card {
		width: calc(16.666667% - 16px);
		flex-basis: calc(16.666667% - 16px);
	}
}

@media (max-width: 996px) {
	.posts-item.card {
		width: calc(25% - 16px);
		flex-basis: calc(25% - 16px);
	}
}

@media (max-width: 767px) {
	.posts-item.card {
		width: calc(33.333333% - 10px);
		flex-basis: calc(33.333333% - 10px);
		margin: 5px;
	}

	.posts-row .ajax-option {
		width: calc(100% - 10px);
		flex-basis: calc(100% - 10px);
	}

	.posts-item .item-heading {
		font-size: 15px;
	}

	.posts-row {
		margin-left: -5px;
		margin-right: -5px;
	}

	.posts-row > *:not(.post_ajax_loader) {
		margin-left: 5px !important;
		margin-right: 5px !important;
	}

	.posts-item.card:nth-child(odd) {
		margin-right: 5px;
	}

	.posts-item.card:nth-child(even) {
		margin-left: 5px;
	}
}

@media (max-width: 480px) {
	.posts-item.card {
		width: calc(33.333333% - 10px);
		flex-basis: calc(33.333333% - 10px);
	}
}
