@charset "utf-8";

:root {
	--font-color-0: #04077e;
	--font-color-1: #000;
	--font-color-2: #259;
	--font-color-3: #aaa;
	--bg-color-1: #f2f2f2;
	--line-1: #ccc;
	--line-2: #ddd;
}

p {
	word-wrap: break-word;
	white-space: pre-wrap;
}

body {
	font-family: "Helvetica Neue", sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: #333;
	background-color: var(--bg-color-1);
	// transition: background-color linear 0.2s, color linear 0.2s;
}

a {
	text-decoration: none;
	color: var(--font-color-1);
}

.paper {
	margin-top: 50px;
	padding: 0 50px 50px;
}

.paper-main {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 60px 80px 24px;
	border-radius: 8px;
	background: #fff;
	// transition: background-color linear 0.2s;
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
}

.header {
	padding: 20px 40px;
	position: relative;
	color: #fff;
	background: #000;
	width: 100%;
	max-width: 960px;
	margin: 50px auto;
	border-radius: 8px;
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	font: 1.3rem "Raleway", sans-serif;
	display: none;
}

.header + .google-advert {
	max-width: 960px;
	margin: 0 auto;
	padding-bottom: 0;
}

.header-background {
	background-image: url(../img/banner.jpg.webp);
	background-position: center 65%;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 1;
}

.logo {
	position: relative;
	color: #fff;
	padding: 0;
	font-size: 3rem;
	z-index: 2;
	display: inline-block;
	text-shadow: 0 0 10px #000;
}

.theme-switch {
	float: right;
	position: relative;
	z-index: 10;
	margin: 16px 0 0 20px;
}

.theme-switch a {
	font-weight: bold;
	color: #fff;
	text-shadow: 0 0 10px #000;
}

#dark-mode-switch {
	display: inline-block;
	width: 24px;
	text-align: center;
}
.nav {
	float: right;
	display: inline-block;
	position: relative;
	color: #fff;
	text-shadow: 0 0 10px #000;
	text-align: right;
	margin: 13px 0 0;
	z-index: 2;
	font-size: 1.2rem;
}

.nav li {
	padding: 0;
	margin: 4px 0 0 20px;
	display: inline-block;
}

.nav li a {
	color: #fff;
}

.nav li a:hover {
	color: #fff;
}

.lang-switch {
	float: right;
	position: relative;
	z-index: 3;
	margin: 10px 0 0 25px;
	text-shadow: 0 0 10px #000;
	font-size: 1.2rem;
}

.lang-switch select {
	padding: 5px;
	margin: 0;
	border-radius: 6px;
	border-color: #999;
	background: transparent;
	text-shadow: 0 0 10px #000;
	color: #fff;
	line-height: 56px;
	max-width: 105px;
	outline: none;
}

.lang-switch option {
	color: #000;
	outline: none;
	border-radius: 0;
	padding: 0 20px;
}

.post-header {
	margin-bottom: 48px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-content: center;
}

.post-header .logo {
	font-size: 1rem;
}

.post-list {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
}

.post {
	text-align: center;
	padding-bottom: 48px;
}

.post-title {
	display: block;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 12px;
	text-align: center;
	font-family: "Raleway", sans-serif;
	color: #333;
	// transition: color linear 0.2s;
}

.post-title:hover {
	color: #000;
}

.post-except {
	text-align: left;
	margin-bottom: 12px;
}

.read-more {
	padding: 0 4px;
	color: #999;
}

.read-more:hover {
	color: #000;
}

.post-date {
	font-size: 0.9rem;
	color: #999;
	display: inline;
	margin-right: 20px;
}

.post-read-time {
	font-size: 0.8rem;
	color: #999;
	display: inline;
	margin-right: 20px;
	white-space: nowrap;
}

.post-comments-count {
	text-transform: lowercase;
	font-size: 0.8rem;
	color: #999;
	display: inline;
}

.archive .post-comments-count,
.archive .post-read-time {
	margin: 0 0 0 20px;
}
.paginator {
	font-size: 0.9rem;
	width: 100%;
	text-align: center;
	padding: 0 10px 48px;
}

.paginator .page-number {
	display: inline-block;
	width: 32px;
	height: 32px;
	line-height: 32px;
	text-align: center;
	background: #fff;
}

.paginator a {
	color: #333;
}

.paginator a:hover {
	color: #000;
}

.paginator .current {
	border-radius: 16px;
	color: #fff;
	background: #333;
	margin: 0 8px;
}

.paginator .extend {
	display: inline-block;
	margin: 0 10px;
	width: 90px;
	word-spacing: 6px;
}

.paginator .extend.prev {
	text-align: right;
}

.paginator .extend.next {
	text-align: left;
}

.footer {
	border-top: 1px dashed var(--line-2);
	padding: 48px 0 24px 0;
	font-size: 0.875rem;
	color: var(--font-color-3);
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-content: center;
}

.footer span {
	text-align: center;
	margin-bottom: 8px;
}

.footer span:last-child {
	margin-bottom: 0;
}

.footer .donate {
	margin: 10px 0;
}

.footer img {
	display: inline-block;
}

.footer a {
	color: #999;
}

.footer a:hover {
	color: #666;
}

.post-main {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	padding-bottom: 48px;
}

.post-image {
	width: 100%;
	height: 460px;
	background-color: #999;
	background-size: cover;
	background-position: center center;
	border-radius: 4px;
	margin: 14px 0 24px;
	overflow: hidden;
	border: 1px solid #f2f2f2;
	// transition: border-color linear 0.2s, background-color linear 0.2s;
}

.post-main-title {
	flex: 0 0 100%;
	margin-bottom: 12px;
	font-size: 38px;
	line-height: 1.4;
	font-weight: 600;
	color: #333;
	// transition: color linear 0.2s;
	font-family: "Raleway", sans-serif;
	text-align: center;
}

.post-meta {
	font-size: 0.8rem;
	color: #999;
	flex: 0 0 100%;
	margin: 12px 0;
	text-align: center;
}

.post-sharing {
	display: none;
	padding: 0;
	margin: -4px 0;
	font-size: 0.8rem;
	float: right;
}

.fbs-link,
.twi-link,
.wa-link,
.tg-link,
.viber-link,
.reddit-link {
	display: inline-block;
	padding: 6px 0;
	margin-left: 8px;
	width: 30px;
	height: 30px;
	border-radius: 15px;
	color: transparent;
	background-size: contain;
	background-image: url(../img/facebook-share-icon.png);
	background-repeat: no-repeat;
}

.twi-link {
	background-image: url(../img/twitter-icon.png);
}

.tg-link {
	display: none;
	background-image: url(../img/tg-icon.png);
}

.viber-link {
	background-image: url(../img/viber-icon.png);
}

.reddit-link {
	background-image: url(../img/reddit-icon.webp);
}

.wa-link {
	display: none;
	background-image: url(../img/wa-icon.png);
}

.archive {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-between;
	align-content: normal;
	margin-bottom: 34px;
}

.archive li {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-content: center;
	padding: 0;
	border-radius: 4px;
	background-color: #fff;
	// transition: background-color linear 0.2s;
	border: 1px solid #f2f2f;
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
	overflow: hidden;
	margin-bottom: 12px;
}

.archive-img {
	flex: 0 0 100px;
	border: 0;
	background: #999;
	width: 100px;
	height: 64px;
	background-size: cover;
	background-position: center center;
	border-radius: 0 4px 4px 0;
	// transition: border-color linear 0.2s, background-color linear 0.2s;
}

.archive-title {
	flex: 0 1 100%;
	padding-top: 7px;
}

.archive-link {
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
	width: 100%;
	line-height: 24px;
	font-size: 16px;
	font-weight: bold;
	color: #333;
	color: #333;
	padding: 0 0 0 15px;
}

.archive-link:hover {
	color: #000;
}

.archive-link {
	font-family: "Raleway", sans-serif;
}

.archive-title .tag-list-item {
	margin: 0 0 0 15px;
	background: transparent;
	border: 0;
}

.archive-date {
	flex: 0;
	font-size: 0.8rem;
	padding: 0 20px;
	color: #999;
	line-height: 64px;
	white-space: nowrap;
}

.archive-title {
	color: var(--font-color-1);
}

.archive-title:hover {
	color: var(--font-color-0);
	// transition: color ease-in-out 0.5s;
}

.tag-list-count {
	display: none !important;
}

ul.tag-list {
	border: 0;
	padding: 0;
	display: inline;
}

li.tag-list-item {
	display: inline;
	border: 0;
	box-shadow: none;
	margin-right: 20px;
}

.tag-list-link {
	display: inline !important;
	border: 0;
	font-weight: normal !important;
	font-size: 0.8rem !important;
	color: #999 !important;
	padding: 4px 8px;
	margin: -4px -8px;
	border-radius: 12px;
}

.tag-list-link:hover {
	color: #666 !important;
	background: var(--bg-color-1);
}

#top-link,
#back-link {
	position: fixed;
	bottom: 50px;
	left: 50%;
	margin-left: 520px;
	background: red;
	display: block;
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
	background: #fff;
	font-size: 26px;
	color: #333;
	line-height: 42px;
	height: 50px;
	width: 50px;
	border-radius: 25px;
	text-align: center;
	transition: opacity 0.2s linear;
	opacity: 0;
	pointer-events: none;
}

#top-anchor {
	border: 1px solid transparent;
	height: 1px;
}

#top-link.active,
#back-link.active {
	opacity: 1;
	pointer-events: auto;
}

#back-link:hover,
#top-link:hover {
	color: #000;
}

#back-link {
	bottom: auto;
	top: 50px;
	margin-left: -580px;
	line-height: 44px;
}

.post-navigation {
	width: 100%;
	margin: 16px 0 36px;
}

.post-prev,
.post-next {
	padding: 10px;
	float: left;
	width: 49.5%;
	max-width: 49.5%;
	display: block;
	position: relative;
	color: #333;
	border-radius: 6px;
}

.post-prev div,
.post-next div {
	width: 100px;
	height: 60px;
	margin: 5px 15px 0 0;
	background-size: cover;
	background-position: center center;
	border-radius: 4px;
	border: 1px solid #eee;
	display: inline-block;
	float: left;
}

.post-next div {
	float: right;
	margin: 5px 0 0 15px;
}

.post-prev b,
.post-next b {
	position: relative;
	top: 6px;
	font-family: "Raleway", sans-serif;
	font-size: 18px;
}

.post-prev:hover,
.post-next:hover {
	color: #000;
	background: var(--bg-color-1);
}

.post-next {
	float: right;
	text-align: right;
}

.image-popup {
	opacity: 0;
	pointer-events: none;
	position: fixed;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
	background-color: rgba(0, 0, 0, 0.9);
	transition: opacity 0.2s ease;
}

.image-popup.active {
	opacity: 1;
	pointer-events: inherit;
}

.google-advert {
	width: 100%;
	margin: 0;
}

.archive .google-advert {
	margin: 34px 0 48px;
}

.fake-banner {
	width: 100%;
	height: 200px;
	background: #bbb;
	line-height: 200px;
	font-size: 40px;
	font-family: "Google Sans", sans-serif;
	text-align: center;
	border-radius: 4px;
	color: #fff;
}

.post-comments {
	width: 100%;
	border-top: 1px dashed var(--line-2);
	font-family: "Raleway", sans-serif;
	padding: 32px 0;
	/*margin-top: 48px;*/
}
.post-comments h2 {
	text-align: center;
	margin-bottom: 24px;
}

.about-avatar {
	display: block;
	border-radius: 50px;
	height: 100px;
	width: 100px;
	border: 4px solid white;
	text-align: center;
	background: #999;
	background-image: url(../img/avatar.jpg);
	background-size: cover;
	background-position: center center;
	margin: -75px auto 10px;
	position: relative;
	/* transition: background-color linear 0.2s, border-color linear 0.2s; */
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ua-flag {
	display: inline-block;
	height: 16px;
	width: 18px;
	background-image: url(../img/ua.svg);
	background-size: contain;
	background-repeat: no-repeat;
	margin: 2px 0 -2px;
}

#busuanzi_container_page_pv {
	margin-right: 20px;
	white-space: nowrap;
}

.post-md a.username {
	color: #333;
	font-style: normal !important;
	white-space: nowrap;
}

.post-md a.username:before {
	content: "D";
	display: inline-block;
	position: relative;
	padding: 0 4px 0 2px;
	top: 1px;
	margin: -4px 0;
	font-size: 17px;
	font-family: "Impact", sans-serif;
	color: #c03;
	transform: scale(1, 0.9);
}

.post-md a.username:hover {
	color: #000;
}

.disqus-comment-count {
	white-space: nowrap;
}

.post-comments-count a {
	color: #999;
}
.nowrap {
	white-space: nowrap;
}
.post-more {
	border-top: 1px dashed var(--line-2);
	margin-bottom: -48px;
	width: 100%;
}
.post-more h2 {
	text-align: center;
	margin: 32px 0;
	font-family: "Raleway", sans-serif;
}

h2.common-list {
	text-align: center;
	font-family: "Raleway", sans-serif;
	margin: 0 0 24px;
}

.video-container {
	margin: 24px 0;
}
.post-md .video-container + .video-container {
	margin-top: -21px;
}

/*i.RS {
	margin-right: 12px;
	font-weight: bold;
	letter-spacing: -9px;
}
i.RS b {
	font-size: 90%;
	text-shadow: -1px -1px #FFF, -1px 1px 0 #FFF, 1px -1px #fff;
}*/

.tags-container {
}

.tags-container .tags {
	padding: 5px 0 20px 0;
}

.tags-container .tags a {
	font-size: 18px !important;
	line-height: 1.8;
	padding: 0 10px 0 0;
}

.tags-container .tag-list-count {
	display: inline !important;
}
