/* ==========================================================================
	위지윅 뷰어 스타일
	위지윅 문제점
	1. ul,ol 영역에 위지윅에서 만들어낸 css 가 본문에선 안붙는 증상 (ql-align-center, ql-indent-1)
	2. 가끔 편집과정중에 ul 안에 ol 이 들어감 (편집툴에서는 나누어져있음)
	위 증상들때문에 정렬관련 css 가 안먹는 부분이 있음
	========================================================================== */

.wys_detail {
	color: #FFF;
	word-break: break-all;
	box-sizing: border-box;
	line-height: 1.42;
	height: 100%;
	outline: none;
	overflow-y: auto;
	padding: 0;
	tab-size: 4;
	-moz-tab-size: 4;
	text-align: left;
	white-space: pre-wrap;
	word-wrap: break-word;
}

.wys_detail img {
	width: 100% !important;
	display: block;
}

.wys_detail p:empty::before {
	content: '\00a0';
	/* non-breaking space */
	display: inline-block;
}

.wys_detail p,
.wys_detail ol,
.wys_detail ul,
.wys_detail pre,
.wys_detail blockquote,
.wys_detail h1,
.wys_detail h2,
.wys_detail h3,
.wys_detail h4,
.wys_detail h5,
.wys_detail h6 {
	margin: 0;
	padding: 0;
	counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}

.wys_detail ol,
.wys_detail ul {
	padding-inline-start: 1.5rem;
}

.wys_detail .ql-font-serif {
	font-family: Georgia, Times New Roman, serif;
}

.wys_detail .ql-font-monospace {
	font-family: Monaco, Courier New, monospace;
}

.wys_detail .ql-size-large {
	font-size: 1.5rem;
}

.wys_detail .ql-snow * {
	box-sizing: border-box;
}

.wys_detail > * {
	cursor: text;
}

.wys_detail ol li:not(.ql-direction-rtl),
.wys_detail ul li:not(.ql-direction-rtl) {
	padding-inline-start: 1.5rem;
}

.wys_detail ol li,
.wys_detail ul li {
	counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
	counter-increment: list-0;
}

.wys_detail ol > li,
.wys_detail ul > li {
	list-style-type: none;
}

.wys_detail li:not(.ql-direction-rtl)::before {
	margin-inline-start: -1.5rem;
	margin-inline-end: 0.3rem;
	text-align: right;
}

.wys_detail ol li:before {
	content: counter(list-0, decimal) '. ';
}

.wys_detail ul li:before {
	content: counter(list-0, decimal) '. ';
}

.wys_detail li::before {
	display: inline-block;
	white-space: nowrap;
	width: 1.2rem;
}

.wys_detail .ql-align-right {
	text-align: right;
}

.wys_detail .ql-align-center {
	text-align: center;
}

.wys_detail ol li.ql-indent-1 {
	counter-increment: list-1;
	counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}

.wys_detail ol li.ql-indent-1:before {
	content: counter(list-1, lower-alpha) '. ' !important;
}

/* 위지윅 뷰어 스타일 종료 */
