/*
사용자 정의 CSS에 오신 것을 환영합니다!

운영 방식에 대해 알아보려면 http://wp.me/PEmnE-Bt를
참조하세요.
*/
/* Margin for Google AdSense */
article.post .entry-content p {
	margin-top: 1.6em;
	margin-bottom: 1.6em;
}

/* 
 * highlight.js 
 * https://stackoverflow.com/questions/31152421/highlight-js-with-blogger-cant-disable-auto-line-wrap
 */
pre, code {
	white-space: pre;
}
.hljs {
	display: inline-block;
	min-width: 100%;
}

/* DWQA */

.dwqa-question-item {
	border: none !important;
	border-bottom: 1px solid #ededed !important;
}

/*.dwqa-questions-footer .dwqa-ask-question a:hover {
	background-color: #555;
	color: #fff;
	border: none;
}*/

/* disable Title, Category and Tag in DWQA */
.dwqa-container .dwqa-content-edit-form #question-category,
.dwqa-container .dwqa-content-edit-form label[for=question-category],
.dwqa-container .dwqa-content-edit-form input[name=question-tag],
.dwqa-container .dwqa-content-edit-form label[for=question-tag] {
display: none !important;
}

/* Jetpack Social Icons */
.jetpack-social-widget-list 
.jetpack-social-widget-item {
	margin-right: 10px;
}
.jetpack-social-widget-list 
.jetpack-social-widget-item:last-child {
	margin-right: 0;
}

/* Fix (maybe) Jetpack infinite-scroll style bug */
/*.infinity-end.neverending .site-footer {
	display: block;
}*/

/* https://amaze.website/customizing-wordpress-embed-links-preview/
*/
.wp-embedded-content {
	left: 0;
}


/* Hiding Mailchimp popup on mobile */
@media only screen and (max-width: 768px) {
	.mc-banner, .mc-modal, .mc-modal-bg { 
		display: none !important; 
	}
}

/* Contents page */
section.category li a {
	border-bottom: 0;
}

/* 
 * https://wpbeaches.com/increase-jetpacks-amount-of-related-posts-in-wordpress/
 */

div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+1), div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+1) {
    clear: left;
}


@media only screen and (max-width: 640px) {
	
	div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+1), div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+1) {
	    clear: none;
	}
	div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post:nth-child(3n) {
	    clear: none;
	}
	div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post:nth-child(2n+1) {
	    clear: left;
	}

}

@media screen and (min-width: 46.25em) {
div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post {
    margin-bottom: 1.6em !important;
}
}

/* WP-Members */
#wp-members .err {
	background: transparent;
	border: 1px solid #eee;
}

/* Show lock-icon on blocked entries in Index page */
.entry-content .category ol>li.blocked-1:before {
	font-family: "Genericons";
	content: "\f470";
	margin-right: 2px;
	color: #FF4136;
}

/* Styling Anchor tag */
article.post .entry-content p a:hover, article.post .entry-content ul a:hover {
	border-bottom: 0;
	box-shadow: inset 0 -6px 0 #FFEE58;	
	transition: box-shadow .2s, color .2s;
}

/* Fix for WP5.7 single button alignment class */
.wp-block-button.aligncenter {
	text-align: center;
}
.wp-block-button.alignleft{
	text-align: left;
}
.wp-block-button.alignright {
	text-align: right;
}
