@charset "UTF-8";

/* Web Font Load */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Noto+Serif+KR:wght@400;500;600&family=Noto+Serif+TC:wght@400;600&display=swap');

@font-face {
    font-family: 'NEXON Lv1 Gothic OTF';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'GongGothicMedium';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10@1.0/GongGothicMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'WarhavenB';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2312-1@1.1/WarhavenB.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

:root {
    --font_01: 'NEXON Lv1 Gothic OTF';
    --font_02: 'GongGothicMedium';
    --font_03: 'WarhavenB';
    --font_04: 'Noto Serif KR';
    --bg_01: #2a4d69;
    --bg_02: #121212;
    --bg_03: #FF6600;
    --bg_04: #ffffff;
    --bg_05: #F6FCFC;
    --bg_06:#999;
    --border_01: #ddd;
    --color_01: #336699;
    --color_02: #AEC6CF;
}

/* Type Selector Reset */

body {
    font-family: var(--font_04), 'AppleSDGothicNeo-Regular', 'Noto Sans KR','Malgun Gothic' ;
    line-height: 1.95rem;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}
/* 티스토리 프로필 카드 숨기기 */
div[data-tistory-react-app="Namecard"] {
  display: block;
}

.tt_box_namecard {
    background-color: #fafafa !important;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.tt_box_namecard .tt_desc{
    color: var(--color_01);
}
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
figure {
    margin: 0;
    padding: 0;
}

header,
footer,
section,
article,
aside,
nav,
hgroup,
details,
menu,
figure,
figcaption {
    display: block;
}

button,
input[type=submit],
input[type=reset],
input[type=button] {
    overflow: visible;
    cursor: pointer;
}

input[type=text],
input[type=email],
input[type=password],
input[type=submit],
textarea {
    -webkit-appearance: none;
}

input,
select,
textarea,
button {
    font-family: var(--font_01);
    font-size: 80%;
    border-radius: 0;
}

button {
    overflow: visible;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    outline: none;
}

code {
    font-family: var(--font_01);
    font-size: 0.9em;
}

ul li {
    list-style: none;
}

img,
fieldset {
    border: 0px solid #ccc;
    vertical-align: top;
}

.fright {
    float: right;
}

.fleft {
    float: left;
}

table {
    border-collapse: collapse;
}

#table_01 {
    font-family: var(--font_01);
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 10px;
}

#table_01 td,
#table_01 th {
    border: 1px solid #ddd;
    padding: 8px;
}

#table_01 tr:nth-child(even) {
    background-color: #f8f8f8;
}

#table_01 tr:hover {
    background-color: #f2f2f2;
}

#table_01 th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    background-color: #4CAF50;
    color: white;
}

table,
th,
td {
    padding: 5px;
    margin: auto;
}

/* ------------------------------------------------------------------- */


/* 블로그 레이아웃 */


/* ------------------------------------------------------------------- */

.container {
    display: grid;
    grid-template-columns: auto 1010px 290px auto;
    grid-template-rows: 120px auto auto 100px;
}

header {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 2;
    background-color: var(--bg_04);
    color: var(--bg_01);
    border-bottom: 1px solid var(--border_01);
}

section {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 4;
    padding: 40px 80px 40px 80px;
    box-sizing: border-box;
    background-color: #fff;
}

aside {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 4;
    padding: 40px 40px;
    font-size: 0.752em;
    box-sizing: border-box;
    background-color: #fff;
}

footer {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 4;
    grid-row-end: 5;
    background-color: var(--bg_01);
}

/* ------------------------------------------------------------------- */


/* header */


/* ------------------------------------------------------------------- */

header img {
    border: 1px solid #fefefe;
}

#title {
    font-size: 1.0em;
    width: 1200px;
    position: absolute;
    top: 15px;
    right: 50%;
    margin-right: -625px;
}

#title h1 {
    font-size: 1.45em;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

#title h1 a {
    font-family: var(--font_03);
    font-weight: 400;
    text-decoration: none;
    color: var(--bg_01);
}
#title h1 a:hover {
    color: var(--bg_03);
}

#title h2 {
    font-size: 0.75em;
}

#searchBox {
    width: 200px;
    position: absolute;
    top: 15px;
    right: 20px;
    text-align: right;
    font-size: 1.2em;
    z-index: 5;
}

#searchBox input.s {
    background-color: #fff;
    font-size: 0.6em;
    color: #666;
    width: 100%;
    font-weight: bold;
    padding: 2px;
    height: 25px;
    border: 1px solid #eee;
}

#clear {
    clear: both;
}

/* ------------------------------------------------------------------- */


/* footer */


/* ------------------------------------------------------------------- */

.copyright {
    font-family: var(--font_03);
    color: var(--bg_04);
    text-align: center;
    padding: 35px;
    font-size: 0.95em;
}

.copyright a {
    color: var(--bg_04);
    text-decoration: underline;
}

.top {
    position: fixed;
    bottom: 100px;
    right: 50%;
    margin-right: -49%;
    z-index: 50;
    font-size: 0.75em;
    line-height: 0.85em;
    font-family: var(--font_01);
}

.top a {
    opacity: 0.4;
    text-decoration: none;
    color: #333;
}

.top a:hover {
    opacity: 1.0;
}

/* ----------------------------------------------------------------- */


/* 반응형 */


/* ----------------------------------------------------------------- */

@media all and (max-width: 1300px) {
    .container {
        display: grid;
        grid-template-columns: auto 4fr 1.2fr auto;
        grid-template-rows: 120px auto auto 100px;
    }

    #title {
        width: 100%;
        padding: 10px 40px;
        position: static;
    }

    section {
        padding: 40px 40px;
    }
}

@media all and (max-width: 1000px) {
    header {
        grid-column-start: 1;
        grid-column-end: 5;
        grid-row-start: 1;
        grid-row-end: 2;
    }

    #title {
        width: 100%;
        padding: 10px 20px;
    }


    section {
        grid-column-start: 1;
        grid-column-end: 5;
        grid-row-start: 2;
        grid-row-end: 3;
        padding: 20px 20px;
        border-bottom: 1px solid #ddd;
    }

    aside {
        grid-column-start: 1;
        grid-column-end: 5;
        grid-row-start: 3;
        grid-row-end: 4;
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
        column-gap: 3em;
        background-color: #FeFeFB;
        border: none;
        padding: 40px 20px;
    }

    footer {
        grid-column-start: 1;
        grid-column-end: 5;
        grid-row-start: 4;
        grid-row-end: 5;
    }

    .top {
        display: none;
    }
}

@media all and (max-width: 780px) {
    #searchBox {
        width: 150px;
        position: absolute;
        top: 10px;
        right: 10px;
        text-align: right;
        font-size: 1.2em;
        z-index: 5;
    }

    aside {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
        column-gap: 3em;
    } 

    .article blockquote[data-ke-style='style1'] {
        width: 85%;
        padding: 20px 20px;
    }
    .article blockquote[data-ke-style='style1']:before {
        font-family: 'FontAwesome';
        content: "";
        font-size: 60px;
    }
    .article blockquote[data-ke-style='style2'] {
        width: 85%;
        padding: 20px 20px;
    }
    .article blockquote[data-ke-style='style3'] {
        width: 85%;
        padding: 20px 20px;
    }
}

/* ---------------------------------------------- */


/* sidebar*/


/* --------------------------------------------- */

aside {
    font-family: var(--font_01);
}

aside h3 {
    font-size: 1.0em;
    padding-left: 0px;
    color: var(--bg_01);
    border-top: 1px solid #ddd;
    background-color: #fafafa;
}

aside h3:before {
    content: "\2630";
    counter-increment: none;
}

.box_sidebar ul li a {
    color: #999;
    text-decoration: none;
    display: block;
    padding: 0px 0px;
    border-top: 1px solid #ddd;
}


.tagbox h3 {
    font-size: 1.0em;
    padding-left: 0px;
    color: var(--bg_01);
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: #fafafa;
}


aside a {
    color: #999;
    text-decoration: none;
}

/* category */

aside .link_tit {
    color: #333;
    border-top: 1px solid #ddd;
    padding: 0px 0px;
}

aside .category_list li a {
    color: var(--bg_06);
    font-weight: 800;
    padding-left: 0px;
    border-top: 1px solid #ddd;
}

aside .category_list li a:hover {
    background-color: var(--color_01);
    color: #fff;
}

aside li a {
    display: block;
}

aside li a:hover {
    color: #fff;
}

aside .sub_category_list li a {
    padding-left: 0px;
    font-weight: 400;
    color: var(--bg_06);
}

aside .sub_category_list li a:before {
    content: "\25BE";
    display: inline-block;
    margin-right: 5px;
}

aside .sub_category_list li a:after {
    content: "\25BE";
    display: inline-block;
    float: right;
    margin-right: 0px;
}

aside a:hover {
    background-color: var(--color_01);
    color: #fff;
}

aside .tt_category a:hover {
    background-color: var(--color_01);
    color: #fff;
}

.counter {
    border-bottom: 1px solid #ddd;
}

.counter h3 {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.counter ul li {
    padding-left: 0px;
    color:  var(--bg_06);
}

/* ---------------------------------------------------------------- */


/* COVER */


/* ---------------------------------------------------------------- */

.btn,
a.btn {
    display: inline-block;
    width: 158px;
    height: 35px;
    border: 1px solid #dcdcdc;
    font-size: 0.875em;
    line-height: 35px;
}

.btn:hover {
    border-color: #4d4d4d;
}

.title {
    font-family: var(--font_03);
    font-size: 1.0em;
    color: #333;
}


.cover-list {
    margin-bottom: -1px;
    padding: 0px 0 0px;
}

.cover-list h2 {
    font-family: var(--font_03);
    margin: 20px 0px 20px 0px;
    font-size: 1.125em;
    color: var(--color_01);
}

.cover-list ul li {
    border-bottom: 1px solid #ebebeb;
}

.cover-list ul li:first-child {
    border-top: 0px solid #333;
}

.cover-list ul li:last-child {
    border-bottom: 0px solid #333;
}

.cover-list ul li a {
    display: block;
    min-height: 192px;
    padding: 20px 0 0px;
    text-decoration: none;
    color: #6C7A89;
}

.cover-list ul li figure {
    float: right;
    position: relative;
    width: 170px;
    height: 170px;
    margin: 0 0 0 50px;
    background-color: #fafbfc;
}

/* 이미지 없는 figure는 아예 숨김 */
.cover-list ul li figure:not(:has(img)) {
    display: none;
}

/*
.cover-list ul li figure:before {
    content: "MATH-STORY";
    position: absolute;
    top: 40%;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px 0 0 0;
    text-align: center;
    font-size: 0.875em;
    color: #999;
}
*/
.cover-list ul li figure img {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
}


.cover-list ul li .category {
    font-family: var(--font_03);
    display: inline-block;
    margin-bottom: 5px;
    font-size: 0.7em;
    color: #333;
}

.cover-list ul li .title {
    display: block;
    font-weight: 400;
    font-size: 1.0em;
    line-height: 1.4444em;
}

.cover-list ul li a:hover .title {
    text-decoration: none;
    color: var(--bg_03);
}

.cover-list ul li .excerpt {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 6.0em;
    margin-bottom: 9px;
    margin-top: 8px;
    font-size: 0.9em;
    line-height: 2.0;
    font-family: var(--font_01);
    color: #666;
}

.cover-list ul li .date {
    display: block;
    font-size: 0.8125em;
    color: #999;
}

@media all and (max-width: 600px) {
    .cover-list ul li .excerpt {
        display: block;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-height: 6.0em;
        margin-bottom: 9px;
        margin-top: 8px;
        font-size: 0.8em;
        line-height: 2.0;
        color: #666;
    }

    .cover-list ul li img {
        width: 100%;
        margin: 0px;
    }
}

.cover-gallery {
    margin: 0 auto;
}

.cover-gallery h2 {
    font-family: var(--font_03);
    margin: 20px 0px;
    font-size: 1.125em;
    color: var(--color_01);
}

.cover-gallery ul {
    display: inline-block;
    width: 100%;
    border-top: 0px solid #333;
    border-bottom: 0px solid #ebebeb;
    padding: 30px 0px;
}

.cover-gallery ul li {
    float: left;
    width: 32%;
    margin-left: 2%;
    box-sizing: border-box;
}

.cover-gallery ul li:first-child {
    margin-left: 0px;
}

.cover-gallery ul li a {
    text-decoration: none;
    display: block;
    position: relative;
    background-color: #ebebeb;
}

.cover-gallery ul li .title {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 30;
    overflow: hidden;
    width: 100%;
    max-height: 4.5em;
    text-align: center;
    line-height: 1.4;
    padding: 0 20px;
    color: #fff;
    box-sizing: border-box;
    transform: translateY(-50%);
    visibility: hidden;
}

.cover-gallery ul li a:hover .title {
    visibility: visible;
}

.cover-gallery ul li a:hover:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.cover-gallery ul li a:before {
    background-image: url(./images/bg_img.png);
    content: "MATH_STORY";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0;
    text-align: center;
    font-size: 0.875em;
    color: #666;
}

.cover-gallery ul li figure {
    height: 0;
    padding-bottom: 100%;
}

.cover-gallery ul li figure img {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 10;
    border: 1px dotted #ddd;
}

@media all and (max-width: 600px) {
    .cover-gallery ul li .cover-masonry ul li .cover-thumbnail-list ul li {
        width: 48%;
        overflow: hidden;
        height: auto;
        padding: 0px;
        margin-top: 10px;
        margin: 1%;
    }
}

/* ------------------------------------------------------------------- */


/* tagcloud */


/* ------------------------------------------------------------------- */

.tagcloud {
    font-family: var(--font_01);
    margin-top: 10px;
    margin-bottom: 30px;
}
.tagcloud a {
    text-decoration: none;
    color: #067;
}
.tagcloud h3 {
    margin: 30px 0px;
}
.tagcloud h4 {
    margin: 10px 0px;
    font-size: 0.85em;
}

.tagcloud h3:before {
    content: url(./images/tag.png);
    counter-increment: none;
}

.tagcloud ul {
    margin: 0;
    padding-right: 20px;
    list-style: none;
}
.tagcloud ul li a:before {
    content: "#";
}
.tagcloud ul li {
    display: inline;
    margin: 0 .3em .3em 0;
    padding: 0;
}

.tagcloud ul li a {
    color: #666;
    font-size: 0.8em;
    text-decoration: none;
}

.tagcloud ul li a:hover {
    color: #fff;
    background-color: var(--color_01);
}

.tagcloud li .cloud1 {
    font-size: 2.0em;
    font-weight: 600;
    color: #f60;
}

.tagcloud li .cloud2 {
    font-size: 1.5em;
    font-weight: 600;
    color: #79AD8E;
}

.tagcloud li .cloud3 {
    font-size: 1.2em;
    color: #333;
}

.tagcloud li .cloud4 {
    font-size: 1.0em;
    color: #2D567A;
}

.tagcloud li .cloud5 {
    font-size: 0.925em;
    color: #A1A194;
}

/* ---------------------------------------------------------------- */


/* guestbook */


/* ---------------------------------------------------------------- */

.guestWrite {
    margin-top: 40px;
    font-family: var(--font_01);
}

.guestWrite h3 {
    margin-bottom: 40px;
}

.guestWrite h3:before {
    content: url(./images/guest.png);
    counter-increment: none;
}

.guestWrite input {
    box-sizing: border-box;
    width: 100%;
    padding: 5px;
    border: 1px solid #aaa;
    color: #999;
}

.guestWrite textarea {
    box-sizing: border-box;
    width: 100%;
    height: 100px;
    border: 1px solid #aaa;
    padding: 10px;
    margin-top: 4px;
    color: #666;
    font-size: 0.9em;
}

.guestWrite .submit {
    border: 0px;
    padding: 8px 40px;
    width: 130px;
    background-color: var(--bg_01);
    color: #fff;
    float: right;
}

.guestWrite .checkbox {
    margin: 0;
    padding: 0;
    width: 25px;
    border: none;
}

.guestList {
    font-family: var(--font_01);
    margin-top: 20px;
    padding: 10px 0 10px 0;
    color: #666;
    font-size: 0.85em;
}

.guestList a {
    color: var(--bg_01);
    text-decoration: none;
}
.guestList a:hover {
    color: var(--bg_03);
    text-decoration: none;
}
.guestList .name {
    color: #666;
    font-family: var(--font_03);
    font-size: 1.2em;
}

.guestList .date {
    font-size: 0.75em;
    color: #666;
}

.guestList .control {
    font-size: 0.75em;
    color: #666;
}

.guestList p {
    padding: 25px;
}

.guestList ol {
    margin: 5px 0 35px 0;
    padding: 10px 0 10px 0;
    list-style: none;
}

.guestList ol ul {
    margin: 0;
    list-style: none;
}

.guestList ol li {
    overflow: hidden;
    padding-left: 0;
}

.guestList ol li p {
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 1.75em;
    padding: 20px 40px;
    background-color: var(--bg_04);
    border: 1px solid var(--border_01);
    border-radius: 5px;
}

.guestList ol li ul li {
    overflow: hidden;
    padding: 10px 5px 10px 60px;
    border: none;
}

/* ---------------------------------------------------------------- */


/* index page */


/* ---------------------------------------------------------------- */

.list ol {
    list-style: none;
    padding: 2px 0px;
    margin: 2px 0 1px 0;
}

.list ol li {
    list-style: none;
    padding: 5px 0px;
}

.list {
    list-style: none;
}


.list h3 {
    font-size: 1.0em;
    font-family: var(--font_03);
    margin-top: 30px;
    padding-top: 7px;
    padding-bottom: 7px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #ddd;
    color: #666;
}

.list h3::before {
    content: "\2630";
    margin-right: 10px;
}

.date {
    color: #333;
}

/* ------------------------------------------------------------------- */


/* content */


/* ------------------------------------------------------------------- */

.thumbnail {
    float: left;
    margin-right: 20px;
}

.content-list {
    overflow: hidden;
    margin-bottom: 10px;
    margin-top: 10px;
    width: 100%;
    height: auto;
    padding: 25px 0;
    border-bottom: 1px solid #ddd;
}

.content-list:first-child {
    padding-top: 10px;
}

.content-list:last-child {
    border-bottom: 0;
    padding-bottom: 10px;
}

.content-img {
    overflow: hidden;
    margin: 5px 10px 10px 0;
}

.content-img img {
    width: 100%;
    height: auto;
    max-width: 300px;
}

.content-post {
    width: auto;
    line-height: 1.7;
}

.content-post-title {
    font-family: var(--font_03);
    line-height: 1.5em;
    color: #333;
}
.content-post-title:hover{
    color: var(--bg_03);
}
.content-info-category,
.content-info-date {
    font-family: var(--font_01);
    font-size: 0.8em;
    line-height: 1.2em;
    color: #666;
    text-decoration: none;
}

.content-post-txt {
    font-family: var(--font_01);
    font-size: 0.85em;
    line-height: 1.5em;
    color: #666;
    text-decoration: none;
    margin-top: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* 라인수 */
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}

@media all and (max-width: 1300px) {
    .content-img {
        margin: 0 10px 10px 0;
    }

    .content-img img {
        max-width: 300px;
        margin: 0;
    }

    .content-post-txt {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;        /* 라인수 */
        -webkit-box-orient: vertical;
        word-wrap: break-word;
    }
}

@media all and (max-width: 900px) {
    .content-img {
        width: 100%;
        margin: 0 10px 10px 0;
    }

    .content-img img {
        max-width: 250px;
        margin: 0;
    }
}

@media all and (max-width: 700px) {
    .content > div:last-child {
        padding-bottom: 10px;
        border: 0;
    }

    .content-img {
        width: 100%;
        margin: 0 10px 10px 0;
    }

    .content-img img {
        max-width: 300px;
        margin: 0;
    }

    .content-post {
        float: none;
        margin-top: 0;
    }

    .content-post {
        float: left;
    }
}

@media all and (max-width: 500px) {
    .content-img {
        width: 100%;
        margin: 10px 0px;
    }

    .content-img img {
        max-width: 100%;
        margin: 0;
    }

    .content-post {
        float: left;
    }
}

/* ------------------------------------------------------------------- */


/* article */


/* ------------------------------------------------------------------- */

#titleWrap {
    font-family: var(--font_03);
    padding-top: 20px;
    padding-left: 0px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    line-height: 1.5em;
    color: #333;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
}

#titleWrap .date,
.admin {
    font-size: 0.8em;
    font-weight: 100;
    margin: 0;
    color: #666;
    text-decoration: none;
}

#titleWrap p {
    color: #333;
    font-size: 1.5em;
    font-weight: 200;
    margin-bottom: 5px;
}

.admin a {
    text-decoration: none;
    color: #666;
}

.entryProtected {
    margin-bottom: 15px;
}

.warning {
    padding-left: 45px;
    margin-bottom: 10px;
}

.entryProtected input {
    width: 140px;
    color: #999;
    border: 1px solid #666;
}

.entryProtected .submit {
    font-size: 7pt;
    width: 50px;
    height: 20px;
    color: #fff;
    background-color: var(--bg_03);
}

.article {
    padding: 0px;
    color: #121212;
    margin-bottom: 20px;
    line-height: 1.95;
    width: 100%;
}

.article .filename {
    font-size: 0.75em;
    color: #000;
    line-height: 1.5em;
}

.article button {
    border: 1px solid #ccc;
    background: #fafafa;
    width: 150px;
}

.article h1 {
    font-family: var(--font_01), 'Noto Sans KR';
    margin: 50px 0px;
    font-size: 1.2em;
    font-weight: 400;
    color: #121212;
}

.article h2:before {
    content: counter(chapter) ". ";
}

.article h2 {
    font-family: var(--font_01), 'Noto Sans KR';
    counter-reset: section 0;
    counter-increment: chapter;
    margin: 50px 0px;
    font-size: 1.2rem;
    font-weight: 800;
    border-top: 2px solid #666;
    border-bottom: 1px solid #999;
    padding: 8px 0px;
    color: #121212;
}

h3:before {
    content: counter(chapter) "."counter(section) " ";
}

.article h3 {
    font-family: var(--font_01), 'Noto Sans KR';
    counter-reset: slide 0;
    counter-increment: section;
    margin: 30px 0px;
    font-size: 1.175rem;
    font-weight: 600;
    color: #121212;
}

.article h4::before {
    content: "\27A4 ";
}

.article h4 {
    font-family: var(--font_01), 'Noto Sans KR';
    margin: 20px 10px;
    font-size: 1.075rem;
    margin-top: 15px;
    font-weight: 400;
    color: var(--bg_01);
    border-bottom: #ddd 1px solid;
}

.article p {
    margin: 20px 0px;
    font-size: 1.125rem;
}

.article span {
    margin: 0px;
    padding: 0px;
}

.noneo {
    font-family: 'J신영복_TT', 'Nanum Myeongjo';
    font-size: 1.5em;
    line-height: 2.1em;
    border: 1px dotted #ddd;
    background-color: #ffffee;
    padding: 10px 40px;
}

.definition {
    padding: 40px;
    box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    background-color: #fff;
    margin-bottom: 20px;
}

.article ul li {
    margin: 3px 50px 3px 50px;
    font-size: 1.125rem;
    list-style: disc;
}

.article ol li {
    margin: 3px 50px 3px 50px;
}

.article a {
    color: var(--bg_03);
    font-weight: 400;
    text-decoration: none;
}

.article a:hover {
    color: var(--color_01);
    text-decoration: underline;
}

.article dt {
    text-decoration: underline;
}

.article dd {
    margin-left: 20px;
    padding-bottom: 10px;
}

#multi_col {
    line-height: 2.0em;
    padding: 20px;
    margin: 10px 0px;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    -moz-column-gap: 2em;
    -webkit-column-gap: 2em;
    column-gap: 2em;
}

.article blockquote[data-ke-style='style1'] {
    padding: 35px 40px 35px 50px;
    line-height: 1.95;    
    font-family: var(--font_01);    
    font-size: 1.125rem !important;
    margin: 40px 0;
    color: var(--bg_02);
    background-color: #fff;
    box-shadow: 0 19px 30px rgba(0, 0, 0, 0.20), 0 10px 12px rgba(0, 0, 0, 0.22);
    border-left: 12px solid var(--color_01);
}

.article blockquote[data-ke-style='style2'] {
    font-family: var(--font_01);
    border-color: var(--color_01);
    border-width: 0 0 0 12px;
    border-style: solid;
    padding: 15px 25px;
    margin: 30px 0;
    color: #333;
    font-size: 1.075em !important;
    line-height: 1.95;
    background-color: var(--bg_05);
}
.article blockquote[data-ke-style='style3'] {
    border: 1px solid var(--border_01);
    background-color: var(--bg_05);
    text-align: left;
    margin: 30px 0;
    padding: 21px 25px 20px 25px;
    color: var(--bg_02);
    font-size: 1.075em !important;
    line-height: 1.95;

}

.article img {
    margin: 20px 0px;
}

.btn-toggle-moreless {
    padding: 1px 13px;
    border: #999 1px solid;
}

.moreless-content {
    padding: 25px 35px;
    background-color: #fff;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}

@media all and (max-width: 1300px) {
    .article blockquote[data-ke-style='style1'] {
        padding: 20px 20px;
    }
    .article blockquote[data-ke-style='style1']:before {
        font-family: 'FontAwesome';
        content: "";
        font-size: 60px;
    }
    .article blockquote[data-ke-style='style2'] {
        padding: 20px 20px;
    }
    .article blockquote[data-ke-style='style3'] {
        padding: 20px 20px;
    }

}

.footnote {
    font-family: var(--font_01);
    font-size: 0.95em;
    line-height: 1.2em;
    padding: 5px 0px;
    margin-top: 80px;
    border-top: 1px solid var(--border_01);
}

.footnote p {
    margin: 5px;
    padding: 0px !important;
}

.btn_top {
    margin: 20px 0px;
}

.math {
    padding: 0 20px;
}

.box_01 {
    box-shadow: 0 19px 30px rgba(0, 0, 0, 0.30), 0 10px 12px rgba(0, 0, 0, 0.22);
    background: #fff;
    border-radius: 1rem;
    padding: 30px 30px;
    line-height: 1.95em;
    font-size: 1.125em !important;
    margin: 40px 0px 40px 0px;
    color: #000;
}

.box_02 {
    font-family: var(--font_01);
    padding: 25px 25px;
    margin: 10px 0px;
    background: #efe;
    border: 1px dashed #32cd32;
    border-radius: 5px;
}

.gallery mw-gallery-traditional {
    list-style-type: none;
}

.gallerybox {
    display: inline-block;
    list-style-type: none;
}

/* ------------------------------------------------------------------- */


/* 카테고리 다른 글 */


/* ------------------------------------------------------------------- */

.another_category th,
td {
    padding: 5px;
}

.content-post a {
    text-decoration: none;
}

.related_top a {
    text-decoration: none;
    font-weight: 400;
    color: #333;
}

.related-article {
    font-family: var(--font_03);
    overflow: hidden;
    width: 100%;
    height: auto;
}

.related-title {
    width: 100%;
    margin-bottom: 30px;
}

.related-list {
    overflow: hidden;
    width: 100%;
    height: auto;
}

.related-list li {
    width: 22.555%;
    overflow: hidden;
    height: auto;
    padding: 0px;
    margin-top: 30px;
    margin-left: 2.1%;
}

.related-list li:first-child {
    margin-left: 0px;
}

.related-list li a {
    text-decoration: none;
}

.related-list-item {
    overflow: hidden;
    position: relative;
    margin: 1%;
    margin-bottom: 20px;
    width: 23%;
    height: auto;
}

.related-list-item:last-child {
    margin-right: 0;
}

.related-list-item fleft {
    width: 23%;
    margin: 1%;
}

.related-link {
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 120%;
    margin: 0 auto;
    background: #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #fff;
}

.thumb_type .related-frame {
    display: block;
}

.related-thumb img {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.related-list li a:before {
    background-image: url(./images/bg_img.png);
    content: "MATH_STORY";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 58%;
    padding: 20px 0;
    font-size: 0.875em;
    color: #666;
    text-decoration: none;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.related-thumb-title {
    display: block;
    display: -webkit-box;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 56.555%;
    width: 98%;
    height: 23.445%;
    z-index: 10;
    padding: 11.5% 3px;
    text-align: center;
    line-height: 1.5em;
    color: #000;
    font-size: 0.8em;
    opacity: .6;
    filter: alpha(Opacity=60);
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}

.related-link:hover .related-thumb-title:hover {
    color: var(--bg_03);
    text-decoration: none;
}

.related_top {
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    text-align: center;
    margin-top: 30px;
}

@media screen and (max-width: 900px) {
    .related-list li {
        width: 23%;
        overflow: hidden;
        height: auto;
        padding: 0px;
        margin-top: 10px;
        margin-right: 3px;
    }

    .related-list li:nth-child(4) {
        margin-right: 0;
    }
}

@media screen and (max-width: 600px) {
    .related-article {
        margin-top: 20px;
    }

    .related-list li {
        width: 48%;
        overflow: hidden;
        height: auto;
        margin-top: 3px;
        margin-bottom: 3px;
        margin-right: 1%;
    }

    .related-list li:nth-child(even) {
        margin-right: 0;
    }

    .related-list li:nth-child(odd) {
        margin-left: 0;
    }
}

/* ------------------------------------------------------------------- */


/* 댓글 */


/* ------------------------------------------------------------------- */

.comments {
    font-family: var(--font_01), 'Noto Sans KR';
    font-weight: 300;
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid #e6e6e6;
}

.comments h2 {
    font-size: 1.0em;
    color: #333;
}

.comments h2 .count {
    color: #333;
}

.comments .comment-list {
    font-size: 0.85em;
    margin-bottom: 6px;
    overflow: hidden;
}

.comments .comment-list ul li {
    padding: 25px 5px;
    border-top: 1px solid #e6e6e6;
    position: relative;
    min-height: 48px;
}

.comments .comment-list ul li:first-child {
    border: none;
}

.comments .comment-list ul li ul li {
    margin-top: 10px;
    padding: 20px 15px 20px 50px;
    background-color: var(--bg_04);
    border-radius: 7px;
}

.comments .comment-list ul li .author-meta {
    position: absolute;
    overflow: hidden;
    top: 30px;
    height: 40px;
    left: 0;
    right: 0;
    padding: 4px 0 0 60px;
}

.comments .comment-list ul li .author-meta img {
    position: absolute;
    overflow: hidden;
    top: 0px;
    height: 40px;
    left: 0;
}

.comments .comment-list ul li ul li .author-meta {
    top: 26px;
    left: 50px;
}

.comments .comment-list .avatar {
    width: 35px;
    height: 35px;
    vertical-align: middle;
    border-radius: 50%;
}

.comments .comment-list ul li .author-meta span {
    display: inline-block;
}

.comments .comment-list a {
    text-decoration: none;
    color: #067;
}

.comments .comment-list ul li .author-meta .nickname {
    float: left;
    font-family: var(--font_03);
    font-size: 0.85em;
}

.comments .comment-list ul li .author-meta .nickname .tistoryProfileLayerTrigger {
    margin-bottom: 3px;
    margin-right: 0;
    vertical-align: bottom;
}

.comments .comment-list ul li .author-meta .date {
    float: left;
    margin-left: 5px;
    font-size: 0.75em;
    color: #999;
    line-height: 20px;
}

.comments .comment-list ul li .author-meta .control {
    float: left;
    margin-left: 5px;
    font-size: 0.75em;
    color: #999;
    line-height: 20px;
}

.comments .comment-list ul li .author-meta .date:before,
.comments .comment-list ul li .author-meta .date a:before {
    content: "";
    display: inline-block;
    width: 0px;
    height: 9px;
    margin-right: 2px;
    background-color: #b2b2b2;
}

.comments .comment-list ul li .author-meta .date a {
    margin-left: 5px;
}

.comments .comment-list ul li .control a {
    margin: 0 2px;
    text-decoration: none;
    font-size: 12px;
    color: #999;
}

.comments .comment-list ul li p {
    position: relative;
    margin: 29px 0 0 60px;
    font-weight: 300;
    line-height: 1.85em;
    color: #333;
}

.comments .comment-form .field {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 10px;
}

.comments .comment-form input[type=text],
.comments .comment-form input[type=password],
.comments .comment-form textarea {
    font-family: var(--font_01), 'Noto Sans KR';
    border: 1px solid #e6e6e6;
    font-size: 0.875em;
    line-height: 1.25em;
    color: #d4bda9;
}

.comments .comment-form input[type=text],
.comments .comment-form input[type=password] {
    width: calc(60%/2);
    height: 40px;
    padding: 10px;
    box-sizing: border-box;
}

.comments .comment-form input::-webkit-input-placeholder,
.comments .comment-form textarea::-webkit-input-placeholder {
    color: #d6d6d6;
}

.comments .comment-form textarea {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    resize: none;
    box-sizing: border-box;
}

.comments .comment-form .field .secret {
    float: right;
}

.comments .comment-form .field .secret input {
    display: none;
}

.comments .comment-form .field .secret label {
    font-size: 0.875em;
    line-height: 40px;
    color: #666;
    outline: none;
    cursor: pointer;
}

.comments .comment-form .field .secret label:before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 9px;
    border: 1px solid #e1e1e1;
    vertical-align: middle;
    background-color: #fff;
}

.comments .comment-form .field .secret input[type=checkbox]:checked + label:before {
    background-image: url(./images/ico_package.png);
    background-repeat: no-repeat;
    background-position: -97px -295px;
}

.comments .comment-form {
    margin-bottom: 10px;
    text-align: left;
}

.tt-comment-cont .tt-box-total .tt_txt_g {
    font-size: 14px;
}

.tt-comment-cont .tt-box-total .tt_num_g {
    font-size: 14px;
    color: #777;
}

.tt-comment-cont .tt-wrap-cmt .tt-link-user {
    font-size: 14px;
}

.tt-comment-cont .tt-wrap-cmt .tt_desc {
    font-size: 14px;
    color: #555;
}

.tt-comment-cont .tt-txt-mention {
    color: #555;
}

.tt-comment-cont .tt-btn_register {
    width: 100px;
    height: 36px;
    background-color: var(--bg_01);
    font-size: 14px;
    color: #fff;
    border-radius: 0;
    border-color: #333;
}

.tt-comment-cont .tt-btn_register:hover {
    background-color: var(--bg_03);
    border-color: var(--bg_03);
}

.tt-comment-cont .tt-btn_register:focus {
    background-color: var(--bg_03);
    border-color: var(--bg_03);
}


@media screen and (max-width: 600px) {
    .comments .comment-list ul li .author-meta .date {
        display: none;
    }
}

/* ------------------------------------------------------------------- */


/* pagination */


/* ------------------------------------------------------------------- */

.pagination {
    font-family: var(--font_01);
    width: 100%;
    text-align: center;
    margin: 40px auto;
    color: #fff;
}

.pagination a {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0 3px;
    text-decoration: none;
    font-size: 0.8375em;
    line-height: 30px;
    color: #b2b2b2;
    vertical-align: middle;
}

.pagination a:hover {
    background-color: #ebebeb;
    border-radius: 30px;
}

.pagination .selected {
    background: var(--bg_02);
    box-sizing: border-box;
    padding: 5px 8px;
    border-radius: 30px;
    margin-left: -3px;
    color: #fff;
    font-weight: 600;
}

.pagination .prev,
.pagination .next {
    width: 50px;
    height: 50px;
    background-image: url(./images/ico_package.png);
    background-repeat: no-repeat;
    border: 1px solid #E7E5DD;
    border-radius: 30px;
    text-indent: -999em;
    vertical-align: middle;
    box-sizing: border-box;
}

.pagination .prev {
    background-position: -50px 0;
}

.pagination .next {
    background-position: -100px 0;
}

.pagination .prev:hover,
.pagination .next:hover {
    background-color: transparent;
    border-color: #999;
}

.pagination .no-more-prev,
.pagination .no-more-next {
    display: none;
}

.guestList .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    vertical-align: middle;
}

.toc {
    padding: 20px 40px;
    background-color: #F3F6FB;
    border: 1px solid #e4e8f0;
    margin-bottom: 30px;
    color: #2D2424;
    border-radius: 5px;
}

.toc p {
    border-top: 0px;
    border-bottom: 1px solid #ddd;
    margin-top: 0px;
    margin-bottom: 10px;
    text-align: left;
}

.toc ul li {
    list-style-type: decimal;
    color: #F86517;
    margin-left: 25px;
}

.toc ul li ul li {
    list-style-type: square;
}
