@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300&family=Oleo+Script+Swash+Caps&display=swap&family=Black+Han+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic+Coding&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dongle:wght@300&display=swap');

/*
 *
 *
 *
 *
 **** 레이아웃 ****
 **** 헤더 ****
 **** 컨테이너 ****
 **** 컨텐츠 ****
  *** 본문 ***
   ** 목차 **
   ** 공감버튼 **
   ** 이전/다음 글 **
   ** 관련글 목록 **
   ** 섬네일 관련글 **
 **** 댓글 ****
 **** 사이드바 ****
   ** 사이드바숨김 **
 **** 사이드바배치 ****
 **** 푸터 ****
 **** 다크모드 ****
 **** 미디어 쿼리 1080 ****
 **** 애드센스 **** 
 **** 애니메이션 효과 ****
 *
 *
 *
 */


html {
    scroll-behavior: smooth;
}
body {
    -webkit-text-size-adjust: 100%;
    font-weight: 400;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.25;
    color: #1c1c26;
    word-break:break-all;
}
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 100%;
}

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;
    box-sizing: border-box;
}
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: 'Noto Sans KR', sans-serif;
    font-size: 100%;
    border: 1px solid #ececec;
    outline: 0;
    padding: 10px;
    overflow: visible;
    margin: 0;
    background: transparent;
}
ul li {
    list-style: none;
}
hr {
    display: none;
}
table {
    border-collapse: collapse;
}
a,a:link {
    text-decoration: none;
    color: #1c1c26;
    transition: .3s;
}
a:visited {
    text-decoration: none;
}
a:hover,a:focus {
    text-decoration: none;
    color: #ff7600;
}
a:active {
    text-decoration: none;
}
img {
    border: 1px solid #ececec;
}
fieldset {
    border: none;
    vertical-align: top;
}

#header .inner .blog_menu ul li,
#content .post-item,.post-cover,.toc,.toc p,.article_page .prev_page a,.article_page .next_page a,#content .pagination .prev,#content .pagination .next,.another-category,.another-category p,
.comment-list ul ul,.comment-list ul ul li,.comment-list p,.comment-form input,.comment-form select,.comment-form textarea,.comment-form button,.comment-form .submit button,.comment-form input[id="secret"] + label::before,
.sidebar .notice,.sidebar .category,.sidebar .recent,.sidebar .popular,.sidebar .recent-comment,
.sidebar .tags,.sidebar .social-channel,.sidebar .social-list,.sidebar .count,.sidebar .archive,.sidebar h2,
img { box-shadow: 0 1px 5px #e6e6e649; }    

/**** 레이아웃 ****/
#header {
    width: 100%;
}
#header .side-menu {
    display: none;
    position: absolute;
    top: 0;
    left: unset;
    right: 10px;
}
#container {
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}
#content {
    width: 100%;
    max-width: 800px;    
    padding: 50px 20px 30px 0;
    border-right: 1px solid #ececec;
}

#aside {
    position: relative;
    padding: 50px 0 30px 20px;
    box-sizing: border-box;    
    transition: all 900ms cubic-bezier(.9, 0, .33, 1);
    -webkit-transition: all 900ms cubic-bezier(.9, 0, .33, 1);    
}

/**** 헤더 ****/

#header .inner {    
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1080px;
    margin: 50px auto 10px;
}

#header .inner h1 {
    width: 100%;
    font: 2.6em 'jua';
}
#header .inner .blog_menu {
    max-width: 90%;
}
#header .inner .blog_menu ul {
    display: flex;
    overflow: auto;
    padding: 3px 0;
    white-space:nowrap;
}
.blog_menu ul::-webkit-scrollbar {
    display: none;
}
#header .inner .blog_menu ul li {
    position: relative;
    font-size: 0.8em;
    padding: 5px 10px;
    margin-right: 5px;
    border: 1px solid #ececec;
}
#header .inner .blog_menu ul li:last-child {
    margin-right: 0;
}
#header .inner .blog_menu ul li.current::before {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 3px;
    left: 10%;
    width: 80%;
    height: 10%;
    background: linear-gradient( to right, #97ddff, #F98DB9 );
}
#header .inner .search {
    width: 30px;
    height: 30px;
    padding: 5px;
    margin-left: auto;
    border-radius: 30px;
    transition: .3s;
    cursor: pointer;
}
#header .inner .search::before,
#header .inner .search.on button::before {
    font: 20px 'fontawesome';
    content: "\f002";
    text-shadow: 1px 1px 1px #e6e6e649;
}
#header .inner .search input {
    display: none;
}
#header .inner .search input:focus {
    outline: 0;
}
#header .inner .search input::placeholder {
    color: #bcbcbc;
    font-size: 0.7em;
}
#header .inner .search button {
    display: none;
}
#header .inner .search.on {
    position: relative;
    width: 200px;
    border: 0;
    box-shadow: unset;
}
#header .inner .search.on::before {
    display: none;
}
#header .inner .search.on input {
    position: absolute;
    display: block;
    width: 100%;
    height: 30px;
    top: 0;
    right: 0;
    color: #353535;
    border: 1px solid #ececec;
    border-radius: 30px;
}

#header .inner .search.on button {
    position: absolute;    
    display: block;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: 0;
    background: #97ddff;
    border-radius: 30px;
}

/**** 컨테이너 ****/
.content-wrap {
    display: flex;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto -50px;  

}
.meta,.date {
    font: .7em 'jua';
    margin-top: 10px;
}

/**** 컨텐츠 ***/
#content .post-header h1 {
    font: 1.2em 'jua';
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
    margin-bottom: 35px;
}
#tt-body-tag #content .tags a {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    border: 1px solid #ececec;
}
.not-found { 
    font-size: 1em;
    line-height: 2;
}
.not-found .search,
.not-found .tag,
.not-found .category,
.not-found .archive {display: none;}
#tt-body-search .not-found .search,
#tt-body-tag .not-found .tag,
#tt-body-category .not-found .category,
#tt-body-archive .not-found .archive {
    display: block;
}
#tt-body-archive .post-header .conform:before {
    content: "'";
}
#tt-body-archive .post-header .conform:after {
    content: "' 에 등록된 글";
}
#tt-body-tag .post-header .conform:before {
    content: "'#";
}
#tt-body-tag .post-header .conform:after {
    content: "'의 검색결과";
}
#tt-body-search .post-header .conform:before {
    content: "'";
}
#tt-body-search .post-header .conform:after {
    content: "'의 검색결과";
}
#tt-body-archive .post-header .count:before
#tt-body-tag .post-header .count:before,
#tt-body-search .post-header .count:before {
    content: "'";
}
#tt-body-archive .post-header .count:after,
#tt-body-tag .post-header .count:after,
#tt-body-search .post-header .count:after {
    content: "'개의 글을 찾았습니다.";
}
/*** 리스트 ***/
#content .post-item {
    margin-bottom: 20px;
    border: 1px solid #ececec;
}
#content .post-item a {
    display: flex;
}
#content .post-item .wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 15px;
    border-left: 1px solid #ececec;
}
#content .post-item .thum {    
    width: 150px;
    height: 150px;
    flex: 0 0 auto;
}
#content .post-item .thum img {    
    position: absolute;
    width: 100%;
    z-index: 1;
    border: 0;
}
#content .post-item .wrap .title {
    font: 1.05em 'jua';
    margin-bottom: 10px;
}
#content .post-item .wrap .excerpt {
    font-size: .9em;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;   
    text-overflow: ellipsis; 
}

/** 보호글 **/
.protected_form h2 {
    border-bottom: 1px solid #ececec;
}
.protected_form p {
    text-align: center;
    margin: 35px 0 25px;
}
.protected_form .wrap {
    display: block;
    text-align: center;
}
/*** 본문 ***/
.post-cover {
    background: none !important;
    border: 1px solid #ececec;
    margin-bottom: 20px;
}
.post-cover .inner {
    position: relative;
    padding: 55px 0 35px;
}
.post-cover h1 {
    font: 800 1.6em 'nanum gochic';
    padding: 20px;
    text-shadow: 0 1px 1px #26262649;
}
.post-cover .inner .category {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px;
    font: 0.8em 'jua';
    border-bottom: 1px solid #ececec;
    border-left: 1px solid #ececec;
}
.post-cover .inner .meta {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 5px 10px;
    font: 0.8em 'jua';
    border-top: 1px solid #ececec;
    border-right: 1px solid #ececec;
}
/** 목차 **/
#book-toc {
    margin: 20px 0;
    border: 1px solid #ececec;
}
#book-toc p {
    border-bottom: 1px solid #ececec;
    text-shadow: 0 1px 1px #26262649;
    padding: 20px 10px 10px;
}
#book-toc p::before {
    font: 1.2em 'fontawesome';
    margin-right: 15px;
    content: "\f0cb";   
}
#toc {
    max-height: 238px;
    overflow-y: auto;
    overflow-x: hidden;
}
#toc li {
    border-bottom: 1px solid #ececec;
}
#toc li:last-child {
    border-bottom: 0;
}
#toc li a { 
    display: block;
    padding: 8px 10px; 
    font: 1em 'jua';
}
#book-toc.icon li a::before {
    font: 1em 'fontawesome';
    margin-right: 15px;
}
#toc li li:first-child {
    border-top: 1px solid #ececec;
}
#toc li li {
    background: #f5f5f5;
}
#toc li li a {
    font-size: .95em;
}
#book-toc.icon li li a::before {
    font: .95em 'fontawesome';
    margin-right: 15px;
    margin-left: 20px;
}
#toc li li li {
    background: #e7e7e7;
}
#toc li li li a {
    font-size: .9em;
}
#book-toc.icon li li li a::before {
    font: .9em 'fontawesome';
    margin-right: 15px;
    margin-left: 40px;
}
/*
#book-toc.numbering ul {
	counter-reset : toc-counter;
}  
#book-toc.numbering li a::before{
	counter-increment: toc-counter;
	content: counters(toc-counter,"-")".";
	margin-right: 10px;
}
*/
#book-toc.numbering ul { counter-reset: toc-h2counter; }
#book-toc.numbering ul ul { counter-reset: toc-h3counter; }
#book-toc.numbering ul ul ul { counter-reset: toc-h4counter; }
#book-toc.numbering li a::before { 
    counter-increment: toc-h2counter;	
    content: counter(toc-h2counter) ".";
	margin-right: 10px;
}
#book-toc.numbering li li a::before {
	counter-increment: toc-h3counter;
	content: counter(toc-h2counter) "-" counter(toc-h3counter) ".";
	margin-right: 10px;
    margin-left: 15px;
}
#book-toc.numbering li li li a::before {
	counter-increment: toc-h4counter;
	content: counter(toc-h2counter) "-" counter(toc-h3counter) "-" counter(toc-h4counter) ".";
	margin-right: 10px;
    margin-left: 30px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    padding: 20px 0 10px;
    text-shadow: 0 1px 1px #26262649;
}
.entry-content p {
    font: 1.2em 'Noto Sans KR';
    line-height: 1.8;
}
.entry-content p a { 
    color: #3498db;
    font-size: .8em;
}    
.entry-content p a:hover { 
    color: #0004ff;
}   
.entry-content p a::after { 
    font-family: 'fontawesome';
    content: "\f0c1";
    margin-left: 5px;
} 
.entry-content table td {
    padding: 10px;
}
.entry-content .text-box,
.entry-content .txc-textbox {
    background: none !important;
}
figure[data-ke-type='opengraph'], #tt-body-page figure[data-ke-type='opengraph'] {
    margin: 0;
}
#content .inner .tags {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    align-items: center;
}
#content .inner .tags h2 {
    font-size: 1em;
    margin-right: 10px;    
    flex: 0 0 auto;
}
#content .inner .tags h2::before { 
    font-family: 'fontawesome';
    content: "\f02b";
    margin-right: 10px;    
}
#content .inner .tags ul {
    font-size: 0;
}
#content .inner .tags a {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px 5px 0 0;
    font-size: 0.8rem;
    border: 1px solid #ececec;
}

/** 공감버튼 **/
.container_postbtn { 
    padding: 0px !important;
    margin: 20px 0 10px; 
}

/** 이전/다음 글 **/
.article_page {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 20px 0;
}
.article_page a {
    border: 1px solid #ececec;
}
.article_page figure {
    position: relative;
    width: 58px;    
    height: 58px;
    flex: 0 0 auto;
}
.article_page figure::after {
    font: 3em 'fontawesome';
    content: "\58";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
} 
.article_page figure::before {
    font: 2em 'fontawesome';
    content: "\f03e";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
} 
.article_page figure img {
    position: absolute;
    z-index: 1;
    border: 0;
}
.article_page .prev_page,
.article_page .next_page {
    width: 45%;
}
.article_page .prev_page a {
    display: flex;
    flex-direction: row;
    border: 1px solid #ececec;
}
.article_page .prev_page .wrap {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #ececec;
}
.article_page .text {
    display: block;
}
.article_page .prev_page .text::before {
    font-family: 'fontawesome';
    content: "\f191";
    margin-right: 15px;
}
.article_page .next_page a {
    display: flex;
    flex-direction: row-reverse;    
}
.article_page .next_page .wrap {
    padding: 0 10px;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #ececec;
}
.article_page .next_page .text::after {
    font-family: 'fontawesome';
    content: "\f152";
    margin-left: 15px;
}
.article_page .title {
    box-sizing: border-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;   
    text-overflow: ellipsis;   
}

/** 관련글 목록 **/
.another-category {
    border: 1px solid #ececec;
}
.another-category p {
    border-bottom: 1px solid #ececec;   
    padding: 20px 10px 10px;
}  
.another-category p::before {
    font-family: 'fontawesome';
    content: "\f00b";
    margin-right: 10px;
}  
.another-category table {
    width: 100%;	
    counter-reset: another-category-counter;
}    
.another-category tr {
    font-family: 'nanum gochic coding';
    border-bottom: 1px solid #ececec;
}    
.another-category tr:last-child {
    border-bottom: 0;
}  
.another-category th {
    display: flex;
    text-align: left;
    padding: 10px;
}
.another-category th a {
    display: inline-block;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;   
    text-overflow: ellipsis;   
}
.another-category th a::before {
	counter-increment: another-category-counter;
	content: counter(another-category-counter) ".";
	margin-right: 10px;
}
.another-category th span {
    font-size: 0.7em;
}
.another-category td {
    width: 100px;
    font-size: 0.8em;
    text-align: right;
    padding: 10px;
}

/** 섬네일 관련글 **/
.related-articles {
    padding: 20px 0;
}
.related-articles ul {
    display: flex;
    justify-content: space-between;    
    flex-wrap: wrap;
}
.related-articles li {
    width: 24%;
}
.related-articles li a {
    position: relative;
}

.related-articles figure { 
    position: relative;
    width: 100%; 
    padding-bottom: 100%;
}
.related-articles figure img {
    position: absolute;
    z-index: 1;
}
.related-articles figure::after {
    font: 3em 'fontawesome';
    content: "\58";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
} 
.related-articles figure::before {
    font: 2em 'fontawesome';
    content: "\f03e";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
} 

.related-articles li a .title {
    position: absolute;
    left: 1px;
    bottom: -1px;
    z-index: 2;
    padding: 5px;    
    width: 100%;
    font: 0.8em 'jua';
    background: #ececec99;
    box-sizing: border-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;   
    text-overflow: ellipsis;  
    transition: .3s;   
}
.related-articles li a:hover .title {
    background: #26262699;
    color: #FFF;
    text-shadow: 0 1px 1px #26262649;
}

/**** 댓글 ****/
.comments h2 {
    font: 1.2em 'jua';
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
    margin-bottom: 35px;
}
.comment-list {
    display: flex;
}
.comment-list ul {
    width: 100%;
}
.comment-list li {
    border: 1px solid #ececec;
    margin-bottom: 20px;
}
.comment-list .author-meta {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: flex-end;
    padding: 15px 10px;
    border-bottom: 1px solid #ececec;
}
.comment-list .author-meta img {
    width: 58px;
    margin-right: 20px;
    border-radius: 58px;
}
.comment-list .author-meta .nickname,
.comment-list .author-meta .date,
.comment-list .author-meta .control {    
    position: relative;
    font: 1.6em 'dongle';
    margin-right: 10px;
}
.comment-list .author-meta .control button {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background: #3498db;
    vertical-align: middle;
    transition: .3s;
}
.comment-list .author-meta .control button::before {
    font: 0.5em 'fontawesome';
    content: "\f142";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.comment-list .author-meta .control .link {
    position: absolute;
    display: none;
    font-size: .8em;
    top: -40px;
    left: -105px;
    width: 120px;
    background: #ececec;
    padding: 5px;
    text-align: center;
}
.comment-list p {
    padding: 20px 10px;
    line-height: 1.6; 
}
.comment-list ul ul {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    border-top: 1px solid #ececec;
}
.comment-list li li {
    margin: 0 20px 20px 20%;
}
.comment-list li li p {
    border: 0;
    margin: 0;
}
.comment-form {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    position: relative;
}
.comment-form .submit {
    padding: 10px 10px;
    text-align: right;
}
.comment-form .submit button {
    font: 1.5em 'dongle';
    padding: 0 20px;
    background: #3498db;
    border: 1px solid #ececec;
    color: #fafafa;
    transition: .3s;
}
.comment-list .author-meta .control button:hover,
.comment-form .submit button:hover {
    background: #ff7600;
}
.comment-form .field {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-bottom: 5px;
}
.comment-form input[type="text"] {
    width: 35%;
    margin-right: 5px;
}
.comment-form input[type="password"] {    
    width: 35%;
    margin-right: auto;
}
.comment-form input[id="secret"] {
	display: none;
}
.comment-form input[id="secret"] + label::before {
    font-family: 'fontawesome';
    content: "\f0c8";
    margin-right: 10px;
    color: #3498db;
    transition: .3s;
}
.comment-form input[id="secret"]:checked + label::before {
    font-family: 'fontawesome';
    content: "\f14a";
    margin-right: 10px;
    color: #3498db;
    transition: .3s;
}
.comment-form .secret label { transition: .3s; }
.comment-form .secret label:hover {
    color: #ff7600;
}

/** 페이징 **/
#content .pagination {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 10px 0;
    margin-top: 35px;
    border-top: 1px solid #ececec;
    align-items: flex-end;
}
#content .pagination a {
    font-size: .8em;
    margin: 0 5px;
}    
#content .pagination a .selected {
    color: #ff7600;
    font-size: 1.2rem;
}  
#content .pagination .prev,
#content .pagination .next  {
    padding: 5px 10px;
    color: #ececec;
    background: #3498db;
    border: 1px solid #ececec;
}
#content .pagination .prev::before {
    font-family: 'fontawesome';
    content: "\f060";
    margin-right: 10px;
}
#content .pagination .next::after {
    font-family: 'fontawesome';
    content: "\f061";
    margin-left: 10px;
}

/**** 사이드바 ****/
.sidebar .social-channel,
.sidebar .notice,
.sidebar .category,
.sidebar .recent,
.sidebar .popular,
.sidebar .recent-comment,
.sidebar .tags,
.sidebar .count,
.sidebar .archive { 
    width: 300px;    
    margin: 0 0 35px;
    border: 1px solid #ececec;
}
.sidebar .module.module_plugin {    
    margin: 0 0 35px;
    border: unset;
    box-shadow: unset;
}
.sidebar h2 {
    font: 1em 'jua';
    padding: 20px 10px 10px;
    border-bottom: 1px solid #ececec;
    text-shadow: 0 1px 1px #26262649;
}
.sidebar h2::before {
    font-family: 'fontawesome';
    margin-right: 10px;
}
.sidebar .notice h2::before {
    content: "\21";
}
.sidebar .category h2::before {
    content: "\f802";
}
.sidebar .recent h2::before {
    content: "\f03a";
}
.sidebar .popular h2::before {
    content: "\e4b7";
}
.sidebar .recent-comment h2::before {
    content: "\f075";
}
.sidebar .tags h2::before {
    content: "\f02b";
}
.sidebar a {
    font-size: 0.9em;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis; 
}
.sidebar ul {
    padding: 10px 0;
}
.sidebar li {
    padding: 10px;
    border-bottom: 1px solid #ececec;
    transition: .3s;
} 
.sidebar li:last-child {
    border-bottom: 0;
}
.sidebar .category li {
    border: 0;
    padding: 0;
}
.sidebar .category li a {
    padding: 0 10px 10px;
}
.sidebar .category li a img {
    border: 0;
}
.sidebar .category li a::before {
    font-family: 'fontawesome';
    content: "\f07c";
    margin-right: 10px;    
}
.sidebar .category ul ul {
    padding: 0;
}
.sidebar .category li li {
    padding: 10px 0;
}
.sidebar .category li li.cat-sub-menu a::before {
    content: "\f65e";
}
.sidebar .category li li.expanded a::before {
    content: "\f65d";
}
.sidebar .category li li a {
    padding: 0 10px;
}
.sidebar .category li li a::before {
    content: "\f07b";
}
.sidebar .category ul ul ul {
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    margin-top: 10px;
}
.sidebar .category li li li a::before {
    content: "\f07b" !important;
    margin-left: 10px;
}
.c_cnt {
    font-size: .7em;
    line-height: 1.5;
    background: #ececec;
    border-radius: 50%;
    padding: 0 5px;
    display: inline-block;
    text-align: center;
    vertical-align: top;
}
.sidebar .thum {
    float: left;
    width: 58px;
    height: 58px;
    margin-right: 10px;
}    
.sidebar .recent span,
.sidebar .popular span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;   
    text-overflow: ellipsis; 
}
.sidebar .social-channel ul {
    text-align: center;
    padding: 0;
}
.sidebar .social-channel li {
    font-size: 2em;
    display: inline-block;
    border: 0;
}
.sidebar .tags ul {
    display: flex;
    flex-wrap: wrap;
}
.sidebar .tags li {
    padding: 5px;
    margin: 5px;
    border: 1px solid #ececec;
}
.sidebar .count p {
    margin-left: 10px;
}
.sidebar .archive a {
    display: inline-block;
}
.thum { 
    position: relative; 
    background: #ececec13;
    transition: .3s;
}
.thum::after {
    font: 3em 'fontawesome';
    content: "\58";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
} 
.thum::before {
    font: 2em 'fontawesome';
    content: "\f03e";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
} 
.sidebar .thum img {
    position: absolute;
    width: 100%;
    z-index: 1;
    box-sizing: border-box;
}
.side-sticky {
    position: sticky;
    top: 50px;
}
.sidebar.side-footer {
    display: flex;
    flex-wrap: wrap;
}
.sidebar.side-footer div {
    width: 32%;
    margin-right: 2%;
    max-width: unset;
}
.sidebar.side-footer div:nth-child(3n+3) {
    margin-right: 0;
}

/** 사이드바숨김 **/
.side-menu {
    display: none;
    padding: 0;
    width: 30px;
    cursor: pointer;
    z-index: 2;
    transition: all 900ms cubic-bezier(.8, 0, .33, 1);
    -webkit-transition: all 900ms cubic-bezier(.8, 0, .33, 1);    
}
.side-menu .line {
    padding: 0;
    width: 30px;
    background: linear-gradient( to right, #97ddff, #F98DB9 );
    height: 4px;
    margin: 4px 0;
    transition: all 700ms cubic-bezier(.9, 0, .33, 1);
}
.side-menu .line.line--1 {
    width: 30px;
    transform: rotate(0) translateY(0);
}
.side-menu .line.line--1.line-cross {
    width: 30px;
    transform: rotate(45deg) translateY(11px);
    background: linear-gradient( to right, #97ddff, #F98DB9 );
}
.side-menu .line.line--2 {
    width: 30px;
    transform: translateX(0);
}
.side-menu .line.line--2.line-fade-out {
    width: 0px;
    transform: translate(30px);
    opacity: 0;
}
.side-menu .line.line--3 {
    width: 30px;
    transform: rotate(0) translateY(0);
}
.side-menu .line.line--3.line-cross {
    width: 30px;
    transform: rotate(-45deg) translateY(-11px);
    background: linear-gradient( to right, #97ddff, #F98DB9 );
}   
.side-menu:hover .line.line--1 {
    width: 15px;
    transform: rotate(-400deg);
}
.side-menu:hover .line.line--2 {
    transform: rotate(180deg);
}
.side-menu:hover .line.line--3 {
    width: 15px;
    transform: rotate(400deg);
}
.side-menu:hover .line.line--1.line-cross {
    width: 15px;
    transform: rotate(400deg) translatex(0px);
}
.side-menu:hover .line.line--2.line-fade-out {
    width: 30px;
    transform: translate(-15px);
    opacity: 1;
}
.side-menu:hover .line.line--3.line-cross {
    width: 15px;
    transform: rotate(-400deg) translateY(0px);
}
.side-on #aside {
    transform: translate(0) !important;    
    background: #fffffff2;
    border-radius: 0 !important;    
    border-left: 1px solid #ececec;
    overflow: auto;
}
.side-on #aside .sidebar * { 
    background: none;
    border: none !important;
    box-shadow: none !important; 
}
.dimmed {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    border-radius: 0 0 0 100%;
    transition: all 900ms cubic-bezier(.8, 0, .33, 1);
    -webkit-transition: all 900ms cubic-bezier(.8, 0, .33, 1);
}
.side-on .dimmed {
    z-index: 20;
    width: 100%;
    background: #00000099;
    border-radius: 0;    
}
#aside::-webkit-scrollbar {
    display: none;
}

/**** 사이드바배치 왼쪽 ****/
.layout-aside-left #content {
    order: 2;
    padding: 50px 0 30px 20px;
    border-left: 1px solid #ececec;    
    border-right: 0;
}
.layout-aside-left #aside {
    padding: 50px 20px 30px 0;
}
/**** 사이드바배치 없음 ****/
.layout-aside-none #content {
    margin: 0 auto;
    padding: 50px 0 30px;
    border: 0;
}
.layout-aside-none #aside {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    width: 365px;
    height: 100%;
    transform: translate(365px);
    border-radius: 0 0 0 100%; 
    padding: 80px 10px 25px 50px;
    box-sizing: border-box;
}
.layout-aside-none #aside .sidebar { display: none; }
.layout-aside-none.side-on .sidebar { display: block; }
.layout-aside-none .side-menu {
    display: block;
    position: absolute;
    top: 100px;
    left: -45px;
}
.layout-aside-none.side-on .side-menu {
    left: 15px;
}
.page-top {
    position: sticky;
    display: block;
    bottom: 30px;
    left: 100%;
    margin: 0 30px 20px 0;
    z-index: 15;
    width: 30px;
    height: 30px;
    background: linear-gradient( to top, #97ddff, #F98DB9 );
    border-radius: 30px;
    text-align: center;
    transition: .5s;
}
.page-top::before {
    font-family: 'fontawesome';
    content: "\f102";
    color: #FFF;
    vertical-align: middle;
}
.page-top:hover {
    transform: rotate(360deg);
}
/**** 푸터 ****/
#footer .inner { padding: 35px 0 50px; margin: 0 auto; }

/**** 다크모드 ****/
body.dark-mode { background-color: #262626; color: #ececec; }

.dark-mode a,
.dark-mode a:link,
.dark-mode #header .inner .search.on input,
.protected_form button,
.dark-mode figure[data-ke-type='opengraph'] div.og-text p.og-title, 
.dark-mode #tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-title { color: #ececec !important; }
.dark-mode a:hover { color: #ff7600; }
.dark-mode * { border-color: #1c1c26 !important; } 
.dark-mode .comment-list .author-meta .control .link,
.dark-mode textarea,.dark-mode input,.dark-mode .c_cnt { background: #363636; }
.dark-mode #header .inner .blog_menu ul li,
.dark-mode #content .post-item,
.dark-mode .post-cover,
.dark-mode #book-toc,
.dark-mode #book-toc p,
.dark-mode .article_page .prev_page a,
.dark-mode .article_page .next_page a,
.dark-mode .another-category,
.dark-mode .another-category p,
.dark-mode #content .pagination .prev, 
.dark-mode #content .pagination .next,
.dark-mode .comment-list p,
.dark-mode .comment-form input, 
.dark-mode .comment-form select, 
.dark-mode .comment-form textarea, 
.dark-mode .comment-form button,
.dark-mode .comment-form .submit button,
.dark-mode .comment-form input[id="secret"] + label::before,
.dark-mode .sidebar .notice,
.dark-mode .sidebar .category,
.dark-mode .sidebar .recent,
.dark-mode .sidebar .popular,
.dark-mode .sidebar .recent-comment,
.dark-mode .sidebar .tags,
.dark-mode .sidebar .social-channel,
.dark-mode .sidebar .social-list,  
.dark-mode .sidebar .count,    
.dark-mode .sidebar .archive,                
.dark-mode .sidebar h2,
.dark-mode img { box-shadow: 0 1px 5px #26262649; }
.dark-mode.side-on #aside, .dark-mode.layout-aside-none.side-on #aside { background: #262626f2; }
.dark-mode::-webkit-scrollbar-track {
    background: #262626;
    border: 3px solid #262626;    
    box-shadow: inset 1px 1px 1px 0px #ececec99;
}    


@media screen and (max-width: 1080px) and (prefers-color-scheme: dark) {
    
}

/**** 미디어 쿼리 1080 ****/
@media screen and (max-width: 1080px) {
    #header .inner,
    #footer .inner {
        padding-left: 20px;
        padding-right: 20px;
    }
    #content,
    .layout-aside-left #content,
    .layout-aside-none #content {
        margin: 0 auto;
        padding: 50px 0 30px;
        border: 0;
    } 
    #content .post-header h1 {
        padding: 10px 20px;
    }       
    #aside {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 50;
        width: 365px;
        height: 100%;
        transform: translate(365px);
        border-radius: 0 0 0 100%; 
        padding: 80px 10px 25px 50px !important;
        box-sizing: border-box;
    }
    #aside .sidebar { display: none; }
    .side-on #aside .sidebar { display: block; }
    #aside .side-menu {
        display: block ;
        position: absolute;
        top: 60px;
        left: -45px;
    }
    .side-on #aside .side-menu {
        top: 110px;
        left: 15px;
    }
}
@media screen and (max-width: 767px) {
    #header .side-menu { display: block; }
    #aside .side-menu { display: none; }
    .side-on #aside .side-menu { display: block; }
    #header .inner h1 { font: 1.6em 'jua'; }    
    #tt-body-page #content { padding-top: 0;} 
    #tt-body-archive #content .inner,
    #tt-body-tag #content .tags,
    #tt-body-tag #content .inner,    
    #tt-body-search #content .inner,
    #tt-body-index #content .inner { padding: 0 20px 20px; }
    .post-cover { border-top: 0; }
    .entry-content { padding: 0 20px; }
    .article_page,
    .related-articles { padding: 20px 10px; }
    .another-category {
        border-left: 0;
        border-right: 0;
    }
    .comments h2 {
        padding: 10px 20px;
    }
    #container_postbtn,
    .comments .comment-form,    
    #tt-body-page #content .tags {
        padding: 0 20px;
    }
    .page-top {
        display: none;
    }
    .sidebar.side-footer div {
        width: 100%;
        margin-right: 0;
    }
}
/**** 애드센스 ****/
.ad_middle,
.middle-ads {
    margin: 20px 0
}
.ad-middle-left {
    margin: auto;
    overflow: hidden;
    padding: 5px;
}
.ad-middle-right {
    margin: auto;
    overflow: hidden;
    padding: 5px;
}
.adsbygoogle.middle-left {
    display: block;
    width: 336px;
    height: 280px;
}
.adsbygoogle.middle-right {
    display: block;
    width: 336px;
    height: 280px;
}
.revenue_unit_wrap.position_list {
    margin: 0 auto 30px;
}

/**** 애니메이션 효과 ****/
/* 로딩.. */
.loader {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.loader-title {
    position: absolute;
    z-index: 1;
    margin-top: 35px;
    width: 100%;
    text-align: center;
}
.loader-circle {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #3498db !important;
    border-bottom: 3px solid #3498db !important;  
    width: 120px;
    height: 120px; 
    -webkit-animation: spin 2.5s linear infinite; /* Safari */
    animation: spin 2.5s linear infinite;
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.87), 0 0 19px 0 rgba(0, 0, 0, 0.16) inset;  
}
.loader-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;       
    width: 120px;
    height: 120px;  
}
.loader-wrap p {    
    position: absolute;
    display: block;
    width: 100%;
    z-index: 1;
    bottom: -40px;
    text-align: center;
}
/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}