@charset "UTF-8";

/* 
재정의한 tui-editor-contents.css를 사용한다. (from 하이브랩)
확인: 2016. 08. 22
author: ne90345@nhnent.com
*/

.tui-editor-contents,
.CodeMirror {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tui-editor-contents *:not(table) {
    box-sizing: content-box;
}

.tui-editor-contents i,
.tui-editor-contents cite,
.tui-editor-contents em,
.tui-editor-contents var,
.tui-editor-contents address,
.tui-editor-contents dfn {
    font-style: italic;
}

.tui-editor-contents strong {
    font-weight: 700;
    color: #555;
}

.tui-editor-contents p {
    margin: 10px 0;
    color: #555;
}

.tui-editor-contents > h1:first-of-type,
.tui-editor-contents > div > div:first-of-type h1 {
      margin-top: 14px;
}

.tui-editor-contents h1 {
    font-size: 2rem;
    margin: 52px 0 15px 0;
    padding-bottom: 7px;
    color: #000;
}

.tui-editor-contents h2 {
    font-size: 1.715rem;
    border-bottom: 1px solid #dbdbdb;
    margin: 30px 0 13px 0;
    padding-bottom: 7px;
    color: #333;
}

.tui-editor-contents h3,
.tui-editor-contents h4 {
    margin: 20px 0 2px;
    color: #333;
}

.tui-editor-contents h3{
    font-size:1.285rem
}

.tui-editor-contents h4{
    font-size:1.143rem
}

.tui-editor-contents h5,
.tui-editor-contents h6 {
    font-size: 1rem;
    margin: 10px 0 -4px;
    color: #333;
}

.tui-editor-contents h6{
    color:#777
}

.tui-editor-contents blockquote {
    margin: 15px 0;
}

.tui-editor-contents blockquote {
    border-left: 4px solid #dddddd;
    padding: 0 15px;
    color: #777777;
}

.tui-editor-contents blockquote > :first-child {
    margin-top: 0;
}

.tui-editor-contents  blockquote > :last-child {
    margin-bottom: 0;
}

.tui-editor-contents pre {
    margin: 2px 0 20px;
    padding: 18px;
    background-color: #f5f7f8;
    border: 0;
    border-radius: 0;
    overflow: auto; /* 2016.08.24 by.ne90345 자동 스크롤 처리 */
}

.tui-editor-contents pre * {
    font-family: Consolas, Courier, "Apple SD 산돌고딕 Neo", -apple-system, "Lucida Grande", "Apple SD Gothic Neo", "맑은 고딕", "Malgun Gothic", "Segoe UI", "돋움", dotum, sans-serif;
}

.tui-editor-contents code {
    margin:0 2px;
    color: #c1788b;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    background-color:#f8f8f8;
    padding: 0 5px;
    letter-spacing: -0.3px;
    white-space:nowrap;
    font-family: Consolas, Courier, "Apple SD 산돌고딕 Neo", -apple-system, "Lucida Grande", "Apple SD Gothic Neo", "맑은 고딕", "Malgun Gothic", "Segoe UI", "돋움", dotum, sans-serif;
}

.tui-editor-contents p code {
    color:#f00;
    white-space: pre; /* 2016.08.24 by.ne90345 pre-wrap -> pre 로 변경 */
}

.tui-editor-contents pre code {
    margin:0;
    padding: 0;
    border:0;
    color: inherit;
    white-space: pre; /* 2016.08.24 by.ne90345 pre-wrap -> pre 로 변경 */
    background-color: transparent;
}

.tui-editor-contents pre.addon {
    border: 1px solid #e8ebed;
    background-color: #fff;
}

.tui-editor-contents img {
    margin: 4px 0 10px;
    box-sizing: border-box;
    vertical-align: top;
    max-width: 100%;
}

.tui-editor-contents table {
    margin: 2px 0 14px;
    color: #555;
    border-collapse: collapse;
    box-sizing: border-box;
    word-break: break-all; /* 2016.08.24 by.ne90345 테이블 안의 글씨가 밖으로 넘치지 않도록 변경 */
}

.tui-editor-contents table th,
.tui-editor-contents table td {
    height: 32px;
    padding: 5px 14px 5px 12px;
}

.tui-editor-contents table td {
    border: 1px solid #eaeaea;
}

.tui-editor-contents table th {
    border: 1px solid #72777b;
    border-top: 0;
    background-color: #7b8184;
    font-weight: 300;
    color: #fff;
    padding-top: 6px;
}

.tui-editor-contents ul,
.tui-editor-contents menu,
.tui-editor-contents ol,
.tui-editor-contents dir {
    display: block;
    list-style-type: disc;
    padding-left: 17px;
    margin: 6px 0 10px;
    color: #555;
}

.tui-editor-contents ul,
.tui-editor-contents ol {
    padding-left:30px;
    margin-bottom:20px
}

.tui-editor-contents ol {
    list-style-type: decimal;
}

.tui-editor-contents ul ul,
.tui-editor-contents ul ol,
.tui-editor-contents ol ol,
.tui-editor-contents ol ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.tui-editor-contents ul li {
    position: relative;
}

.tui-editor-contents ul p, ol p {
    margin: 0;
}

.tui-editor-contents ul li.task-list-item:before,
.tui-editor-contents pre ul li:before {
    content: "";
}

.tui-editor-contents hr {
    display:block;
    border-top: 1px solid #eee;
    border-right:0;
    border-bottom:0;
    border-left:0;
    margin: 16px 0;
}

.tui-editor-contents a {
    text-decoration: none;
    color: #4183C4;
}

.tui-editor-contents a:hover {
    text-decoration: underline;
    color: #4183C4;
}

.tui-editor-contents {
    font-size: 13px;
    margin: 0;
    padding: 0;
}