@charset "utf-8";

.post-md {
	width: 100%;
	letter-spacing: 0;
}

.post-md h1,
.post-md h2,
.post-md h3,
.post-md h4,
.post-md h5,
.post-md h6 {
	color: var(--font-color-1);
	margin: 12px 0;
}

.post-md h1 {
	font-size: 2.5rem;
	line-height: 1.2;
	padding: 24px 0;
}

.post-md h2 {
	font-size: 2rem;
	line-height: 1.2;
	padding: 20px 0;
}

.post-md h3 {
	font-size: 1.75rem;
	line-height: 1.2;
	padding: 18px 0;
}

.post-md h4 {
	font-size: 1.5rem;
	line-height: 1.2;
	padding: 16px 0;
}

.post-md h5 {
	font-size: 1.25rem;
	line-height: 1.2;
	padding: 14px 0;
}

.post-md h6 {
	font-size: 1.125rem;
	line-height: 1.2;
	padding: 12px 0;
}

.post-md a {
	color: var(--font-color-2);
	transition: color linear 0.2s;
	text-decoration: underline;
}

.post-md a:hover {
	color: #47b;
	text-decoration: underline;
}

.post-md em {
	font-style: italic;
}

.post-md kbd {
	padding: 2px 4px;
	border-radius: 2px;
	background: #eee;
	border: 1px solid #ddd;
}

.post-md ol {
	list-style: decimal;
	padding-left: 24px;
}

.post-md ul {
	list-style: disc;
	padding-left: 24px;
}

.post-md img {
	transform: translate(-50%, 0);
	position: relative;
	background-color: #ccc;
	border: 0;
	overflow: hidden;
	max-width: 960px;
	/*max-width:  760px;*/
	/*max-width:  840px;*/
	/* border-radius: 4px; */
	margin: 24px 50%;
}

.post-md img + img {
	margin-top: -24px;
}

.post-md img + br + img {
	margin-top: -50px;
}

.post-md img.zoom {
	cursor: pointer;
	position: relative;
	z-index: 5;
}

/*.post-md img.zoom:hover {
	box-shadow: inset 0 0 10px #000;
}
*/

.post-md .img-title {
	padding: 10px 20px 0;
	text-align: center;
	line-height: 20px;
	font-size: 14px;
	color: #777;
	margin-top: -20px;
}

.post-md .img-title b {
	color: #333;
}

.post-md hr {
	border: none;
	height: 1px;
	background: var(--line-1);
	margin: 24px 0;
}

.post-md p,
.post-md blockquote {
	width: 100%;
	margin: 18px 0;
}

.post-md blockquote {
	border-left: 2px solid var(--line-2);
	padding-left: 12px;
	word-wrap: break-word;
}

.post-md .video-container {
	background: #000;
	/* border-radius: 4px; */
	overflow: hidden;
	width: 960px;
	max-height: 540px;
	margin-left: -80px;
}

.post-md iframe,
.post-md .video-container iframe {
	width: 100%;
	height: 540px;
}

.post-md > table {
	width: 100%;
	text-align: left;
	border-spacing: 0;
	border-radius: 4px;
	overflow: hidden;
}

.post-md > table > thead {
	background: #eee;
}

.post-md > table th {
	padding: 12px;
}

.post-md > table > tbody th {
	background: #fff;
}

.post-md > table tr:nth-child(odd) td {
	padding: 12px;
	background: #fafafa;
}

.post-md > table tr:nth-child(even) td {
	padding: 12px;
	background: #f0f0f0;
}

.post-md code {
	border-radius: 4px;
	background: #333;
	padding: 3px 6px;
	color: #f8f8f2;
	font-size: 0.9rem;
}

.post-md .hljs-ln-numbers {
	opacity: 0.5;
	padding-right: 12px;
}

.post-md small {
	font-size: 0.6rem;
}

.post-md .warn {
	display: block;
	padding: 10px 15px;
	border-left: 5px solid #999;
	background-color: #f2f2f2;
	transition: background-color linear 0.2s, border-color linear 0.2s;
	font-weight: normal;
	border-radius: 4px;
}
