@charset "utf-8";

@import url(./images/reset.css);

/* 웹폰트 */
@import url('//fonts.googleapis.com/css2?family=IBM+Plex+Sans+KR:wght@400;700&family=Meddon&display=swap');

:root {
    --fontK: 'IBM Plex Sans KR';
    --fontI: 'fontAwesome';
}

/* 전체 폰트 */
html,
body,
th,
td,
input,
select,
textarea,
button,
body blockquote,
body blockquote p,
body figure figcaption,
code {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    font-family: var(--fontK);
    font-size: 11px;
    line-height: 1.8;
    color: var(--text);
}

/* ================ 
 *
 *   기본 설정
 *
 * ================ */
button {
    cursor: pointer;
}

/* 링크 */
a,
a:link {
    text-decoration: none;
    color: var(--text);
    transition: color .2s;
    cursor: pointer;
}

a:hover,
a:focus {
    color: var(--point);
}

/* 입력창 폰트 색상 */
::-webkit-input-placeholder {
    color: var(--text);
}

:-moz-placeholder {
    color: var(--text);
}

:-ms-input-placeholder {
    color: var(--text);
}

::placeholder {
    color: var(--text);
}

/* 마우스 드래그 블럭 */
::selection {
    color: var(--point);
    background-color: var(--text);
}

::-moz-selection {
    color: var(--point);
    background-color: var(--text);
}

/* 스크롤바 */
::-webkit-scrollbar {
    width: calc(var(--border-width) * 2 + 5px);
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    border: var(--border-width) solid var(--border);
    border-radius: 7px;
    background-color: var(--border-in);
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

body {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: var(--bg);
    cursor: default;
}

.border2,
.border-in,
.tt_category,
.catebox.sub .sub_category_list,
.myo_gal.basic .item .info {
    border-radius: 7px;
    overflow: hidden;
}

.border,
.border2,
.catebox:not(.sub) .tt_category,
.catebox.sub .tt_category:after,
.ad > div {
    position: relative;
    padding: 5px;
    border: var(--border-width) solid var(--border);
    background-color: var(--border-in);
    backdrop-filter: blur(10px);
    transition: .2s !important;
    z-index: 1;
    border-radius: 7px;
    overflow: hidden;
}

a.border:hover,
.search-box:hover,
.search-box.focus,
.top:hover {
    background-color: var(--border);
}

.border-in {
    overflow: hidden;
    border: var(--border-width) solid var(--border);
}

.border2 {
    padding: 0;
}

.border2 > * {
    padding: 5px;
}

.border3 {
    padding: 5px;
    border: var(--border-width) solid var(--border);
    border-radius: 7px;
    overflow: hidden;
    transition: .2s;
}

.sticky {
    position: sticky;
}

/* ================ 
 *
 *   스킨 시작
 *
 * ================ */
#container {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 100px auto 50px;
    width: 100%;
}

@media screen and (min-width: 768px) {
    #container.left {
        transform: translateX(calc((0px - var(--header-width) - 30px) / 2));
    }

    #container.right {
        flex-direction: row-reverse;
        transform: translateX(calc((var(--header-width) - 30px) / 2));
    }

}

/* ================ 
 *
 *   헤더
 *
 * ================ */
#header {
    flex: 0 0 var(--header-width);
    min-height: 100%;
    z-index: 2;
}

#header .sticky {
    top: 100px;
}

#header .title a:hover:after,
#header .search-box:hover:after {
    background-color: var(--text);
}

/* 로고 */
#header .logobox {
    margin-bottom: 30px;
}

#header .logobox.right {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 5px;
}

#header .logobox.right .title:before,
#header .logobox.right .title:before {
    display: none;
}

#header .logobox.right .title {
    display: flex;
    align-items: center;
    flex-grow: 1;
    margin: 0;
}

#header .logobox.right .intro {
    grid-column: 1 / 3;
}

#header .logobox .logo {
    width: 100%;
    display: block;
}

#header .logobox .logo > div {
    position: relative;
    height: 100%;
    width: 100%;
}

#header .logobox .logo > div:after {
    content: '';
}

#header .logobox .logo img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#header .logobox .title {
    position: relative;
    margin-top: 5px;
    font-size: 1.1em;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

#header .logobox .logo + .title:before,
#header .logobox:not(.right) .intro:before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 5px;
    border-left:
        var(--border-width) solid var(--border);
    border-right:
        var(--border-width) solid var(--border);
}

#header .logobox .title a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header .logobox .title img {
    max-width: 100%;
}

#header .logobox .intro {
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    text-align: center;
    line-height: 1.3;
    overflow: inherit;
}

#header .logobox:not(.right) .intro {
    margin-top: 4px;
}

.catebox .scroll > div > * {
    margin-top: 5px;
    margin-bottom: 5px;
}

/****************
    카테고리
****************/
.catebox.menu .tt_category,
.catebox.category .blogmenu {
    display: none;
}

.catebox .blogmenu,
.catebox .owner {
    margin-top: 30px;
}

.catebox .blogmenu a,
.catebox .submenu a,
.catebox .owner a {
    line-height: 1;
}

.catebox a {
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    transition: .2s !important;
    display: flex;
    padding: 5px;
    line-height: 1.2;
    cursor: pointer;
}

.catebox a:hover {
    background-color: var(--border);
}

.catebox a.on {
    font-weight: bold;
}

.catebox .scroll > div > *:not(.search-box),
.catebox .sub_category_list {
    padding: 0;
}

.catebox .tt_category {
    position: relative;
    overflow: initial;
}

.catebox:not(.all) .link_tit {
    display: none;
}

.catebox .category_list > li {
    position: relative;
}

.catebox.all .link_tit,
.catebox .category_list > li:not(:last-child),
.catebox .sub_category_list > li:not(:last-child) {
    border-bottom: var(--border-width) solid var(--border);
}

.catebox a:before,
#content .blogmenu a:before {
    margin-right: 5px;
    font-family: var(--fontI);
}

.catebox a:before,
.search-box button {
    width: 11px;
    text-align: center;
}

.catebox a:not(.link_sub_item):before {
    content: '\f08a';
}

.catebox a:not(.link_sub_item).on:before {
    content: '\f004';
}

.catebox .category_list > li .link_item:not(:only-child):before,
#content .blogmenu a:before {
    content: '\f114';
    width: 1em;
}

.catebox .category_list > li .link_item.on:not(:only-child):before,
#content .blogmenu a.on:before {
    content: '\f07b';
}

.catebox:not(.sub) .category_list > li .link_item:not(:only-child):before,
.catebox .category_list > li:hover .link_item:not(:only-child):before {
    content: '\f115';
}

.catebox:not(.sub) .category_list > li .link_item.on:not(:only-child):before,
.catebox .category_list > li:hover .link_item.on:not(:only-child):before {
    content: '\f07c';
}

.catebox:not(.sub) .sub_category_list > li:first-child {
    border-top: var(--border-width) solid var(--border);
}

.catebox:not(.sub) .link_sub_item {
    padding-left: 21px;
}

.catebox.sub .tt_category {
    position: relative;
    padding: 5px;
    border: var(--border-width) solid var(--border);
    transition: .2s !important;
    z-index: 1;
    border-radius: 7px;
    overflow: hidden;
}

@media screen and (min-width: 768px) {

    .catebox.all .link_tit,
    .catebox:not(.all) .category_list > li:first-child a.link_item {
        border-radius: 4px 4px 0 0;
    }

    .catebox .category_list > li:last-child a.link_item {
        border-radius: 0 0 4px 4px;
    }


    .catebox.sub .tt_category:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        border: 0;
    }

    .catebox.sub .tt_category,
    .catebox.sub .sub_category_list {
        position: relative;
        overflow: inherit;
        backdrop-filter: none;
    }

    .catebox.sub .sub_category_list {
        display: none;
        position: absolute;
        top: 0;
        max-width: 100%;
        width: max-content;
        padding: 0;
        backdrop-filter: blur(10px);
        overflow: hidden;
        border: var(--border-width) solid var(--border);
        background-color: var(--border-in);
        z-index: 1;
        border-radius: 7px;
    }

    #container.left .catebox.sub .sub_category_list {
        right: calc(100% + 4px + var(--border-width));
    }

    #container.right .catebox.sub .sub_category_list {
        left: calc(100% + var(--margin));
    }
}

/* 검색 */
.search-box {
    display: flex;
    align-items: center;
}

.search-box button {
    margin-right: 5px;
    font-size: .9em;
    cursor: pointer;
    transition: color .2s;
    line-height: 1;
}

.search-box input {
    flex-grow: 1;
    width: 100%;
    transition: color .2s;
    line-height: 1;
}

.search-box:hover button,
.search-box:hover input,
.search-box.focus button,
.search-box.focus input {
    color: var(--point);
}

.search-box:hover input:-moz-placeholder {
    color: var(--point);
    transition: color .2s;
}

.search-box:hover input::placeholder {
    color: var(--point);
    transition: color .2s;
}

.search-box:hover input:-ms-input-placeholder {
    color: var(--point);
    transition: color .2s;
}

.search-box:hover input::placeholder {
    color: var(--point);
    transition: color .2s;
}

.search-box input:focus:-moz-placeholder {
    color: transparent;
    transition: color .2s;
}

.search-box input:focus::placeholder {
    color: transparent;
    transition: color .2s;
}

.search-box input:focus:-ms-input-placeholder {
    color: transparent;
    transition: color .2s;
}

.search-box input:focus::placeholder {
    color: transparent;
    transition: color .2s;
}

/* sns */
.sns {
    display: flex;
    justify-content: space-evenly;
}

.sns .fa {
    vertical-align: middle;
}

.sns a:before {
    display: none;
}

/* ================ 
 *
 *   콘텐츠 영역
 *
 * ================ */
  #content {
     width: 100%;
 }
 
/****************
    목록 공통
****************/
/* 목록 타이틀 */
.post-header {
    font-weight: 700;
    margin-bottom: 30px;
}

.post-header:before {
    content: '\f07b';
    font-family: 'fontAwesome';
    margin-right: 5px;
}

.myoskin ol {
    display: flex;
    flex-wrap: wrap;
    gap: var(--margin);
}

.myoskin .item {
    position: relative;
    vertical-align: top;
    width: 100%;
}

.myoskin .item a {
    display: block;
    height: 100%;
}

.myoskin .item .thumbox {
    position: relative;
}

#header .logo > div:after,
.myoskin .item .thumbox .blank {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background-size: 5px 5px;
    background-image: repeating-linear-gradient(-45deg, var(--border) 0, var(--border) 0.5px, transparent 0, transparent 50%);
    transition: opacity .2s;
    z-index: 1;
    pointer-events: none;
}

#header .logo:hover > div:after,
.myoskin ol:hover .item .thumbox .blank {
    opacity: .5;
}

.myoskin ol:hover .item:hover .thumbox .blank {
    opacity: 0;
}

.myoskin .item .thumbox img {
    width: 100%;
    transition: .2s;
}

.myoskin .item:hover .thumbox img {
    transform: scale(1.15);
}

.myoskin .item .info {
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.myoskin .item .title {
    font-weight: bold;
}

.myoskin .item.lock .title:before {
    content: '\f023';
    font-family: var(--fontI);
    font-weight: normal;
    margin-right: 3px;
}

/* 노이미지 */
.noimg {
    display: none !important;
}

:not(.thum) + .noimg {
    display: inline-block !important;
}

/* 목록 없음 */
.myoskin .empty {
    width: 100%;
}

.myoskin .empty > ul {
    display: none;
}

#tt-body-category .empty .category,
#tt-body-search .empty .search,
#tt-body-archive .empty .archive,
#tt-body-tag .empty .tag {
    display: block;
}

/****************
    갤러리형 (일부 웹진형과 공유)
****************/
.myo_gal .item a {
    position: relative;
}

.myo_gal .item .info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.myo_gal .item .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    text-overflow: ellipsis;
    word-break: keep-all;
    word-wrap: break-word;
}

.myo_gal .item .cate-date {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    font-size: .96em;
}

.myo_gal .item .cate {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.myo_gal .item .cate:before {
    content: '\f114';
    font-family: var(--fontI);
    margin-right: 5px;
    vertical-align: middle;
    display: none;
}

.myo_gal .item .cnt:not(:empty) {
    letter-spacing: 2px;
    white-space: nowrap;
    margin-left: 15px;
}

.myo_gal .item .cnt:not(:empty):before {
    content: '/';
    margin-right: 5px;
}

.myo_gal .item .date,
.myo_gal .item .title-cnt .cnt,
.myo_gal .item .text {
    display: none;
}

.myo_gal .item a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.myo_gal .item a:after {
    transition: background-color .2s;
}

.myo_gal .item:hover a:after {
    background-color: var(--text);
}

.myo_gal .item .thumbox:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}

.myo_gal ol:hover .item:not(:hover) .thumbox:after {
    opacity: .1;
}

.myo_gal ol:hover .item:not(:hover) .thumbox img {
    filter: blur(2px)
}

.myo_gal .item .info {
    flex-grow: 1;
    margin-top: 5px;
    padding: 5px;
}

.myo_gal .item .cate-date {
    margin-top: 3em;
}

/****************
    목록형
****************/
.myo_bbs .item {
    width: 100%;
}

.myo_bbs .item .info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    white-space: nowrap
}

.myo_bbs .item .title-cnt {
    display: flex;
    align-items: center;
    flex-grow: 1;
    overflow: hidden;
    padding-right: 15px;
}

.myo_bbs .item .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.myo_bbs .item .cnt:not(:empty) {
    font-size: .9em;
    font-weight: bold;
}

.myo_bbs .item .cnt:not(:empty):before {
    content: '/';
    padding-left: 5px;
    padding-right: 5px;
}

.myo_bbs .item .cate-date {
    max-width: 20%;
}

.myo_bbs .item .cate {
    display: block;
    font-size: .96em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.myo_bbs .item .thumbox,
.myo_bbs .item .text,
.myo_bbs .item .date,
.myo_bbs .item .cate-date .cnt {
    display: none;
}

.myo_bbs .item:last-child {
    margin-bottom: 0;
}

/***************************
    보호글 비밀번호 입력창
***************************/
.pass > div {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pass form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 40%;
    width: 100%;
    min-height: 200px;
    margin: auto;
}

.pass input,
.pass button {
    margin: 5px 0;
    padding: 5px 0;
}

.pass input {
    width: 100%;
    border: 0;
    background: transparent;
}

.pass button {
    width: 100%;
    border: var(--border-width) solid var(--border);
    padding: 5px;
    border-radius: 7px;
    transition: .2s;
}

.pass button:hover {
    background-color: var(--text);
    color: var(--point);
}

.pass input[required] + label {
    display: block;
    height: 48px;
    margin-top: -48px;
    margin-bottom: 0;
    pointer-events: none;
    line-height: 1;
}

.pass input[required] + label:before {
    content: attr(placeholder);
    display: inline-block;
    height: 48px;
    line-height: 48px;
    -webkit-transition-duration: .15s;
    transition-duration: .15s;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: .8em;
}

.pass input[required]:focus + label:before,
.pass input[required]:valid + label:before {
    -webkit-transform: translate(0, -24px) scale(1, 1);
    transform: translate(0, -24px) scale(1, 1);
    font-style: italic;
}

/****************
    본문 영역
****************/
body:not(#tt-body-page) #article {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

body:not(#tt-body-page) #article .post:not(:first-child) {
    border-top: 3px double var(--border);
    padding-top: 30px;
}

.myoskin + #article .post:first-child {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 3px double var(--border);
}

.post {
    display: flex;
    flex-direction: column;
}

/****************
    본문 상단 메뉴
****************/
#content .blogmenu {
    margin-bottom: 30px;
}

#content .blogmenu > ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    line-height: 1;
}

#content .blogmenu li {
    display: flex;
    align-items: center;
}

#content .blogmenu li:not(:last-child):after {
    content: '';
    display: block;
    width: 1px;
    height: 10px;
    background-color: var(--text);
    margin-left: 5px;
}

#content .blogmenu a {
    display: block;
    padding: 5px;
    color: var(--text);
    transition: .2s;
}

#content .blogmenu a:hover {
    opacity: .5;
}

/****************
    본문 타이틀
****************/
.titlebox,
.titlebox .info,
.titlebox .cate-date,
.titlebox .cate-date > div:last-child {
    display: flex;
}

.titlebox {
    position: relative;
    width: 100%;
    gap: 5px;
    margin-bottom: 5px;
}

.titlebox .thumbox {
    flex: 27%;
}

.titlebox .thum {
    padding-top: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.titlebox .info {
    flex: 78%;
    justify-content: space-between;
    flex-direction: column;
    gap: 5px;
}

.titlebox .title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    padding-bottom: 0;
    overflow: hidden;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.4;
    min-height: 3.14em;
}

.titlebox .cate-date {
    justify-content: space-between;
    white-space: nowrap;
    font-size: .96em;
    border-top: var(--border-width) solid var(--border);
    padding: 0;
}

.titlebox .date,
.titlebox .cate-date a {
    padding: 5px;
    display: inline-block;
    transition: .2s;
}

.titlebox .cate-date div:last-child a {
    border-left: var(--border-width) solid var(--border);
}

.titlebox .cate-date a:hover {
    background-color: var(--border);
}

.titlebox .cate {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.titlebox .cnt:not(:empty):before {
    content: '\f0e5';
    margin-right: 5px;
    font-family: var(--fontI);
}

.titlebox .date {
    display: none;
}

/****************
    본문
****************/
.text-item {
    cursor: auto;
}

.text-item iframe,
.text-item embed,
.text-item table {
    width: 100%;
}

.text-item h1,
.text-item h2,
.text-item h3,
.text-item h4 {
    font-weight: bold !important;
}

.text-item u,
.text-item s {
    text-decoration: none;
    position: relative;
    background-image: linear-gradient(to right, var(--text) 0%, var(--text) 100%);
    background-size: 100% 1px;
    background-position: center 100%;
    background-repeat: no-repeat;
    transition: .2s ease-out;
}

.text-item u:hover {
    color: var(--point);
    background-size: 100% 100%;
}

.text-item s {
    background-position: center center;
}

.text-item u:hover::before {
    transform: translateY(0);
    transition: -webkit-transform .25s ease-out;
    transition: transform .25s ease-out;
}

/* 간격 */
.text-item p:not(:last-child) > a:only-child,
.text-item ul,
.text-item ol,
.text-item table,
.text-item figure[data-ke-type='opengraph'],
.text-item figure.fileblock,
#tt-body-page .text-item figure.fileblock,
.text-item figure [data-ke-type="video"],
.text-item blockquote,
.text-item blockquote,
.text-item div[data-ke-type='moreLess'],
.text-item figure[data-ke-type='video'],
.text-item figure.imageblock {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.text-item ul:not(:first-child),
.text-item ol:not(:first-child),
.text-item table:not(:first-child),
.text-item figure[data-ke-type='opengraph']:not(:first-child),
.text-item figure.fileblock:not(:first-child),
#tt-body-page .text-item figure.fileblock:not(:first-child),
.text-item figure [data-ke-type="video"]:not(:first-child),
.text-item blockquote:not(:first-child),
.text-item blockquote:not(:first-child),
.text-item div[data-ke-type='moreLess']:not(:first-child),
.text-item p.margin:not(:first-child),
.text-item p.margint:not(:first-child),
.text-item figure[data-ke-type='video']:not(:first-child),
.text-item figure.imageblock:not(:first-child),
.text-item p:not(:first-child) > .imageblock {
    margin-top: 10px !important;
}

.text-item ul:not(:last-child),
.text-item ol:not(:last-child),
.text-item table:not(:last-child),
.text-item figure[data-ke-type='opengraph']:not(:last-child),
.text-item figure.fileblock:not(:last-child),
#tt-body-page .text-item figure.fileblock:not(:last-child),
.text-item figure [data-ke-type="video"]:not(:last-child),
.text-item blockquote:not(:last-child),
.text-item blockquote:not(:last-child),
.text-item div[data-ke-type='moreLess']:not(:last-child),
.text-item p.margin:not(:last-child),
.text-item figure[data-ke-type='video']:not(:last-child),
.text-item figure.imageblock:not(:last-child),
.text-item p:not(:last-child) > .imageblock {
    margin-bottom: 10px !important;
}

/* 목록 */
.text-item ul,
.text-item li {
    list-style: inherit;
}

.text-item ul {
    list-style: disc inside;
}

.text-item ol {
    list-style: inside decimal;
}

.text-item ul[data-ke-list-type='disc'] li,
#tt-body-page .text-item ul[data-ke-list-type='disc'] li,
.text-item ul[data-ke-list-type='circle'] li,
#tt-body-page .text-item ul[data-ke-list-type='circle'] li {
    text-indent: -15px;
    padding-left: 15px;
}

.text-item ol[data-ke-list-type='decimal'] li,
#tt-body-page .text-item ol[data-ke-list-type='decimal'] li {
    text-indent: -12px;
    padding-left: 12px;
}

/* 테이블(표) */
.text-item table .imageblock {
    width: 100% !important;
}

.text-item iframe,
.text-item embed,
.text-item table {
    width: 100%;
    max-width: 100% !important;
    min-width: auto !important;
}

.text-item table .imageblock {
    width: 100% !important;
}

.text-item table[border^='1'],
.text-item table[border^='1'] tr,
.text-item table[border^='1'] td,
.text-item table.txc-table,
.text-item .txc-table tr,
.text-item .txc-table td {
    border: 1px solid var(--border);
    border-spacing: 0;
    vertical-align: middle;
}

.text-item table img {
    vertical-align: top;
}

/* 아이프레임 */
.framebox {
    position: relative;
    height: 0;
    margin: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.framebox.ver {
    padding-bottom: 177.77%;
}

.framebox iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    vertical-align: top;
}

/* 각주 */
.footnote a,
.footnotes a {
    color: var(--point) !important;
}

.footnote a {
    font-family: 'Calibri' !important;
    font-size: .8em;
    vertical-align: top;
}

.footnote a:before {
    content: '(' !important;
    display: inline-block !important;
    border: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    transition: none !important;
}

.footnote a:after {
    content: ')'
}

.footnote a:hover,
.footnotes a:hover {
    color: var(--text) !important;
}

/* 본문 내 아이템 통합 */
.text-item p a[href*=http]:only-child,
.text-item figure[data-ke-type='opengraph'] div.og-image,
.text-item figure[data-ke-type='opengraph'] div.og-text,
.text-item figure.fileblock .image,
#tt-body-page .text-item figure.fileblock .image,
.text-item figure.fileblock .desc,
#tt-body-page .text-item figure.fileblock .desc,
.text-item blockquote[data-ke-style='style3'],
#tt-body-page .text-item blockquote[data-ke-style='style3'],
.text-item .btn_more,
.text-item .btn_less:first-child,
#tt-body-page .text-item div[data-ke-type='moreLess'] .btn-toggle-moreless,
.text-item div[data-ke-type='moreLess'] .btn-toggle-moreless,
.text-item .moreless_content .more-txt,
.text-item .moreless-content,
.text-item div[data-ke-type='moreLess'] .moreless-content,
#tt-body-page .text-item div[data-ke-type='moreLess'] .moreless-content,
.tags a[href] {
    border: 1px solid var(--border) !important;
    padding: 5px !important;
    border-radius: 7px;
    overflow: hidden;
    transition: .2s;
}

.text-item p a[href*=http]:only-child:hover,
.text-item figure[data-ke-type='opengraph'] a:hover div.og-text,
#tt-body-page .text-item figure[data-ke-type='opengraph'] a:hover div.og-text,
.text-item figure.fileblock a:hover .image,
#tt-body-page .text-item figure.fileblock a:hover .image,
.text-item figure.fileblock a:hover .desc,
#tt-body-page .text-item figure.fileblock a:hover .desc,
.text-item .btn_less:first-child,
.text-item .btn_more:hover,
#tt-body-page .text-item div[data-ke-type='moreLess'] .btn-toggle-moreless:hover,
.text-item div[data-ke-type='moreLess'] .btn-toggle-moreless:hover,
#tt-body-page .text-item div[data-ke-type='moreLess'].open .btn-toggle-moreless,
.text-item div[data-ke-type='moreLess'].open .btn-toggle-moreless,
.tags a[href]:hover {
    background-color: var(--border) !important;
    color: var(--point);
}

.text-item #opencmt a:hover,
.text-item .tt-share-entry-with-sns .tt-sns-service-default li a:hover,
.text-item .container_postbtn .btn_menu_toolbar:hover {
    background-color: var(--border) !important;
    color: var(--point);
    transition: .2s;
}


.text-item .btn_less:first-child:hover,
#tt-body-page .text-item div[data-ke-type='moreLess'].open .btn-toggle-moreless:hover,
.text-item div[data-ke-type='moreLess'].open .btn-toggle-moreless:hover {
    background-color: transparent !important;
}

.text-item figure[data-ke-type='opengraph'] a,
#tt-body-page .text-item figure[data-ke-type='opengraph'] a,
.text-item figure.fileblock,
#tt-body-page .text-item figure.fileblock {
    border: 0;
}

.text-item figure[data-ke-type='opengraph'] a,
#tt-body-page .text-item figure[data-ke-type='opengraph'] a,
.text-item figure.fileblock a,
#tt-body-page .text-item figure.fileblock a {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    padding: 0 !important;
}

.text-item figure[data-ke-type='opengraph'] a,
#tt-body-page .text-item figure[data-ke-type='opengraph'] a,
.text-item figure[data-ke-type='opengraph'] div.og-text p.og-title,
#tt-body-page .text-item figure[data-ke-type='opengraph'] div.og-text p.og-title,
.text-item figure[data-ke-type='opengraph'] div.og-text p.og-desc,
#tt-body-page .text-item figure[data-ke-type='opengraph'] div.og-text p.og-desc,
.text-item figure[data-ke-type='opengraph'] div.og-text p.og-host,
#tt-body-page .text-item figure[data-ke-type='opengraph'] div.og-text p.og-host,
.text-item figure.fileblock .filename,
#tt-body-page .text-item figure.fileblock .filename,
.text-item figure.fileblock .name,
#tt-body-page .text-item figure.fileblock .name,
.text-item figure.fileblock .size,
#tt-body-page .text-item figure.fileblock .size,
.text-item .btn_more,
.text-item .btn_less,
#tt-body-page .text-item div[data-ke-type='moreLess'] .btn-toggle-moreless,
.text-item div[data-ke-type='moreLess'] .btn-toggle-moreless,
.text-item figure.imageslideblock figcaption,
.text-item figure[data-ke-type='video'] figcaption,
.text-item figure[data-ke-type='video'],
.text-item blockquote[data-ke-style='box'],
#tt-body-page .text-item blockquote[data-ke-style='box'],
.text-item blockquote[data-ke-style='style3'],
#tt-body-page .text-item blockquote[data-ke-style='style3'],
.text-item .container_postbtn a {
    font-family: var(--fontK);
    color: inherit;
    line-height: inherit;
    font-size: inherit;
    font-weight: inherit;
    max-height: none;
    margin: 0;
    width: inherit;
    height: inherit;
}

/* 링크 */
.text-item p a[href*=http]:not(:only-child),
.text-item blockquote > a[href*=http],
#tt-body-page .text-item blockquote > a[href*=http],
.text-item ul li a[href*=http],
.lst .text a {
    text-decoration: none;
    position: relative;
    background-image: linear-gradient(to right, transparent 0%, transparent 100%);
    background-size: 100% 0px;
    background-position: center 100%;
    background-repeat: no-repeat;
    transition: .2s ease-out;
}

.text-item p a[href*=http]:not(:only-child):hover,
.text-item blockquote > a[href*=http]:hover,
#tt-body-page .text-item blockquote > a[href*=http]:hover,
.text-item ul li a[href*=http]:hover,
.lst .text a:hover {
    background-image: linear-gradient(to right, var(--text) 0%, var(--text) 100%);
    background-size: 100% 100%;
}

.text-item p a[href*=http]:not(:only-child):after,
.text-item p a[href*=http]:only-child:before,
.text-item blockquote > a[href*=http]:after,
#tt-body-page .text-item blockquote > a[href*=http]:after,
.text-item ul li a[href*=http]:after,
.lst .text a:before {
    content: '\f08e';
    font-family: var(--fontI);
    font-size: .95em;
    margin-right: 3px;
}

.text-item p a[href*=http]:not(:only-child):after,
.text-item blockquote > a[href*=http]:after,
#tt-body-page .text-item blockquote > a[href*=http]:after,
.text-item ul li a[href*=http]:after {
    margin-left: 3px;
    margin-right: 3px;
}

.text-item p a[href*=http]:only-child:before {
    margin-right: 3px;
}

.text-item p a[href*=http]:only-child {
    display: inline-block;
    vertical-align: top;
}

.text-item figure[data-ke-type='opengraph'] a,
#tt-body-page .text-item figure[data-ke-type='opengraph'] a {
    height: 100px;
}

.text-item figure[data-ke-type='opengraph'] div.og-image {
    position: relative;
    width: 100px;
    flex: 0 0 100px;
    border-right: var(--border-width) solid var(--border);
}

.text-item figure[data-ke-type=opengraph] a div.og-image::before,
#tt-body-page .text-item figure[data-ke-type=opengraph] a div.og-image::before,
#tt-body-page .text-item .blogview_content figure[data-ke-type=opengraph] div.og-image::before {
    background-size: cover;
    background-position: center;
}

.text-item figure[data-ke-type='opengraph'] div.og-text {
    position: static;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px;
    height: 100%;
}

.text-item figure[data-ke-type='opengraph'] div.og-text p.og-title,
#tt-body-page .text-item figure[data-ke-type='opengraph'] div.og-text p.og-title {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px !important;
}

.text-item figure[data-ke-type='opengraph'] div.og-text p.og-desc,
#tt-body-page .text-item figure[data-ke-type='opengraph'] div.og-text p.og-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.text-item figure[data-ke-type='opengraph'] div.og-text p.og-host,
#tt-body-page .text-item figure[data-ke-type='opengraph'] div.og-text p.og-host {
    position: static;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: auto !important;
}

/* 파일 첨부 */
.text-item figure.fileblock,
#tt-body-page .text-item figure.fileblock {
    padding: 0;
}

.text-item figure.fileblock a,
#tt-body-page .text-item figure.fileblock a {
    height: 100%;
}

.text-item figure.fileblock .image,
#tt-body-page .text-item figure.fileblock .image,
.text-item figure.fileblock .desc,
#tt-body-page .text-item figure.fileblock .desc {
    position: static;
    margin: 0;
}

.text-item figure.fileblock .image,
#tt-body-page .text-item figure.fileblock .image {
    border-right: var(--border-width) solid var(--border);
    height: 100%;
    flex: 0 0 70px;
    background-image: none;
}

.text-item figure.fileblock .image:after,
#tt-body-page .text-item figure.fileblock .image:after {
    content: '\f114';
    font-family: var(--fontI);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.text-item figure.fileblock .desc,
#tt-body-page .text-item figure.fileblock .desc {
    flex-grow: 1;
    padding: 5px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-item figure.fileblock .filename,
#tt-body-page .text-item figure.fileblock .filename,
.text-item figure.fileblock .name,
#tt-body-page .text-item figure.fileblock .name {
    height: auto;
    max-width: none;
}

.text-item figure.fileblock .name,
#tt-body-page .text-item figure.fileblock .name {
    font-weight: bold;
    font-size: 1.1em;
}

.text-item figure.fileblock a::after,
#tt-body-page .text-item figure.fileblock a::after {
    display: none;
}

.text-item .imageblock > a > img[src*="tistory_admin"] {
    display: none;
}

/* 이미지, 동영상 설명글 */
.text-item figure figcaption,
.text-item figure[data-ke-type='video'] figcaption {
    font-size: .96rem;
}

.text-item figure figcaption:empty,
.text-item figure[data-ke-type='video'] figcaption:empty {
    display: none;
}

.text-item .imageblock,
.text-item .imageblock .cap1,
.text-item .imageblock > span:nth-child(2) {
    width: auto !important;
}

.text-item .imageblock img {
    height: auto;
}

/* 인용구1 */
.text-item blockquote {
    font-style: italic;
    font-size: inherit;
    line-height: inherit;
}

.text-item blockquote p:last-child {
    margin-bottom: 0 !important;
}

.text-item blockquote[data-ke-style='style1'] span,
#tt-body-page .text-item blockquote[data-ke-style='style1'] span {
    font-family: var(--fontK) !important;
}

.text-item .tx-quote-tistory:before,
.text-item blockquote[data-ke-style='style1']:before,
#tt-body-page .text-item blockquote[data-ke-style='style1']:before,
.text-item .tx-quote-tistory:after,
.text-item blockquote[data-ke-style='style1']:after,
#tt-body-page .text-item blockquote[data-ke-style='style1']:after {
    font-family: 'themify';
    position: absolute;
    font-size: .7em;
}

.text-item .tx-quote-tistory:before,
.text-item blockquote[data-ke-style='style1']:before,
#tt-body-page .text-item blockquote[data-ke-style='style1']:before {
    content: '\e67f';
    left: 0;
    top: 0;
}

.text-item .tx-quote-tistory:after,
.text-item blockquote[data-ke-style='style1']:after,
#tt-body-page .text-item blockquote[data-ke-style='style1']:after {
    content: '\e67e';
    right: 0;
    bottom: 0;
}

.text-item .tx-quote-tistory,
.text-item blockquote[data-ke-style='style1'],
#tt-body-page .text-item blockquote[data-ke-style='style1'] {
    position: relative;
    height: auto;
    margin: 5%;
    padding: 1em 2em;
    font-style: italic;
    font-size: inherit;
    line-height: inherit;
    background: none;
    color: inherit;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

/* 인용구2 */
.text-item blockquote[data-ke-style='style2'],
#tt-body-page .text-item blockquote[data-ke-style='style2'] {
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    border-left: 3px solid var(--text);
    padding-left: 8px;
    overflow: hidden;
}

/* 인용구3 */
.text-item blockquote[data-ke-style='box'],
#tt-body-page .text-item blockquote[data-ke-style='box'],
.text-item blockquote[data-ke-style='style3'],
#tt-body-page .text-item blockquote[data-ke-style='style3'] {
    background-color: inherit;
}

/* 더보기 */
.text-item .moreless_content {
    position: relative;
}

#content.moreless-auto.full .text-item div[data-ke-type='moreLess'] .moreless-content > p:first-of-type,
.text-item .btn_less::before {
    display: none;
}

#tt-body-page .text-item div[data-ke-type='moreLess'] .btn-toggle-moreless,
.text-item div[data-ke-type='moreLess'] .btn-toggle-moreless {
    transition: border-radius 0s, background-color .2s, color .2s;
}

.text-item .btn_more::before {
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    vertical-align: inherit;
}

.text-item .btn_more {
    margin-bottom: 10px;
}

#tt-body-page div[data-ke-type='moreLess'] .btn-toggle-moreless,
div[data-ke-type='moreLess'] .btn-toggle-moreless {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
}

.text-item .btn_less:first-child,
#tt-body-page div[data-ke-type='moreLess'].open .btn-toggle-moreless,
.text-item div[data-ke-type="moreLess"].open .btn-toggle-moreless {
    border-radius: 7px 7px 0 0;
    border-bottom: 0 !important;
}

.text-item .btn_more:before,
.text-item .btn_less span:before,
.text-item .btn-toggle-moreless:before {
    content: '\f07b';
    font-family: 'fontAwesome';
    margin-right: 5px;
    font-size: .85em;
}

.text-item .btn_less span:before,
#tt-body-page div[data-ke-type='moreLess'].open .btn-toggle-moreless:before,
.text-item div[data-ke-type="moreLess"].open .btn-toggle-moreless:before {
    content: '\f07c';
}

.text-item .btn_less:hover:first-child,
#tt-body-page div[data-ke-type='moreLess'].open .btn-toggle-moreless:hover,
.text-item div[data-ke-type="moreLess"].open .btn-toggle-moreless:hover {
    color: var(--text);
    background-color: var(--point);
}

.text-item .btn_less:last-child {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: auto;
    height: auto;
    cursor: pointer;
    line-height: 1;
    transition: .2s;
}

.text-item .btn_less:last-child:after {
    content: '\f00d';
    font-family: var(--fontI);
}

.text-item .btn_less:last-child:hover {
    opacity: .5;
}

.text-item .btn_less:last-child > span {
    display: none;
}

.txt_view {
    display: none;
}

.text-item .moreless_content .more-txt,
.text-item .moreless-content,
div[data-ke-type='moreLess'].open .moreless-content,
#tt-body-page div[data-ke-type='moreLess'].open .moreless-content {
    position: relative;
    border-radius: 0 7px 7px 7px;
}

/* 이미지 슬라이드 */
figure.imageslideblock div.image-container {
    width: auto !important;
    max-width: 100%;
    max-height: none;
    min-width: auto;
    min-height: auto;
    background-color: var(--border-in);
}

/****************
    본문 하단 태그
****************/
.tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
}

.tags a {
    line-height: 1;
}

.tags,
.container_postbtn {
    margin-top: 30px;
}

/****************
    댓글 펼침
****************/
#opencmt a {
    display: block;
    text-decoration: none;
}

.opencmt .cnt:empty:after {
    content: '댓글';
}

#article.cmtopen #opencmt,
#article:not(.cmtopen) #rp {
    display: none;
}

/****************
    공감 버튼
****************/
.text-item .container_postbtn {
    padding: 0;
    border-top: var(--border-width) solid var(--border);
    margin: 5px -5px -5px;
    flex-wrap: wrap;
}

.text-item .container_postbtn,
.text-item .tt-share-entry-with-sns .tt-sns-service-default,
.text-item .container_postbtn .postbtn_ccl a {
    display: flex;
    align-items: center;
}

.text-item .container_postbtn #opencmt a,
.text-item .container_postbtn .postbtn_like > *,
.text-item .tt-share-entry-with-sns .tt-sns-service-default > li > a,
.text-item .container_postbtn .btn_menu_toolbar {
    padding: 5px !important;
    transition: .2s;
}

.text-item .container_postbtn > * {
    height: 30px !important;
}

.text-item .container_postbtn > *:not(:last-child) {
    border-right: var(--border-width) solid var(--border) !important;
    border-radius: 0;
}

.text-item .container_postbtn > * > a {
    height: 100%;
}

.container_postbtn .postbtn_like .wrap_btn:hover {
    background-color: var(--border);
    color: var(--point);
}

.text-item .container_postbtn .postbtn_like,
.text-item .container_postbtn .postbtn_like *,
.text-item .container_postbtn .btn_post .txt_like,
.text-item .container_postbtn .btn_menu_toolbar,
.text-item .container_postbtn .btn_menu_toolbar .txt_state {
    font-size: 1rem !important;
    font-family: var(--fontK) !important;
    line-height: inherit !important;
}

.text-item .container_postbtn .postbtn_like {
    display: flex;
    align-items: center;
    border: 0;
    padding: 0;
    transition: .2s;
}

.text-item .container_postbtn .btn_post {
    height: auto;
    padding: 0;
    vertical-align: middle;
}

.text-item .container_postbtn .btn_post .ico_postbtn {
    width: auto;
    height: auto;
    margin: 0 !important;
    background-image: none;
    vertical-align: middle;
    white-space: nowrap;
    max-width: inherit;
    text-indent: 0;
    font-size: 0 !important;
}

.text-item .container_postbtn .btn_post .ico_postbtn:after,
.text-item .container_postbtn .btn_menu_toolbar .txt_state:before {
    font-family: var(--fontI);
    margin-right: 3px;
    font-size: 1rem !important;
}

.text-item .container_postbtn .btn_post .ico_like:after {
    content: '\f08a';
    padding-left: 1px;
}

.text-item .container_postbtn .btn_post .empathy_up_without_ani .ico_like:after {
    content: '\f004';
}

.text-item .container_postbtn .btn_post .ico_share:after {
    content: '\f1e0';
}

.text-item .container_postbtn .btn_post .ico_statistics:after {
    content: '\f080';
}

.text-item .container_postbtn .btn_post .ico_etc:after {
    content: '\f141';
}

.text-item .container_postbtn .btn_menu_toolbar {
    width: inherit;
    border: 0;
}

.text-item .container_postbtn .btn_menu_toolbar .txt_state:before {
    content: '\f234';
}

.text-item .container_postbtn .btn_menu_toolbar.following .txt_state:before {
    content: '\f007'
}

.text-item .container_postbtn .btn_menu_toolbar.following .ico_check_type1 {
    display: none !important;
}

/* sns 공유 */
.text-item .tt-share-entry-with-sns {
    padding: 0 !important;
}

.text-item .tt-share-entry-with-sns .tt-sns-wrap,
.text-item .tt-share-entry-with-sns .tt-sns-wrap * {
    width: inherit !important;
    height: inherit !important;
    text-indent: inherit !important;
    vertical-align: middle;
}

.text-item .tt-share-entry-with-sns .tt-sns-service-default {
    background-image: none !important;
}

.text-item .tt-share-entry-with-sns .tt-sns-service-default li {
    display: flex;
    align-items: center;
}

.text-item .tt-share-entry-with-sns .tt-sns-service-default li a:before {
    font-family: var(--fontI);
    margin-right: 3px;
}

.text-item .tt-share-entry-with-sns .tt-sns-service-kakaostory a:before {
    content: '\f10e';
    width: 5px;
    overflow: hidden;
    display: inline-flex;
}

.text-item .tt-share-entry-with-sns .tt-sns-service-twitter a:before {
    content: '\f099';
}

.text-item .tt-share-entry-with-sns .tt-sns-service-facebook a:before {
    content: '\f082';
}

/* CCL */
.text-item .container_postbtn .postbtn_ccl {
    margin-left: auto;
    padding: 5px;
}

.text-item .container_postbtn .postbtn_ccl[data-ccl-type="1"] {
    border-left: var(--border-width) solid var(--border);
}

.text-item .container_postbtn .postbtn_ccl[data-ccl-type="1"] a {
    transition: .2s;
    height: 100%;
    padding: 5px;
}

.text-item .container_postbtn .postbtn_ccl[data-ccl-type="1"]:hover a {
    background-color: var(--text);
}

.text-item .another_category {
    display: none !important;
}

/*********************
    카테고리 글 더보기
*********************/
#morebox.more_off {
    display: none;
}

#morebox {
    margin-top: 30px;
    overflow: hidden;
}

#morebox .date {
    display: block;
}

/****************
    댓글, 방명록
****************/
#article.cmtopen #rp > div {
    display: block;
}

#rp > div {
    margin-top: 30px;
}

.cmt {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* 댓글, 방명록 작성 */
.write .textarea {
    position: relative;
    border-radius: 7px;
    overflow: hidden;
}

.write textarea {
    height: 100px;
    min-height: 100px;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    position: relative;
    display: block;
    transition: height .2s;
}

.write textarea:active,
.write textarea:focus {
    height: 150px;
}

.write textarea::-webkit-resizer {
    opacity: 0;
}

.write .textarea:after {
    content: '';
    position: absolute;
    right: var(--border-width);
    bottom: var(--border-width);
    z-index: 1;
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 0 solid transparent;
    border-left: 0 solid var(--text);
    border-right: 12px solid var(--text);
    cursor: nw-resize;
    pointer-events: none;
}

.write .inputbox {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 5px;
    margin-top: 5px;
    white-space: nowrap;
}

.write .inputbox input[placeholder],
.write .secret {
    overflow: hidden;
    padding: 5px;
    height: 31px;
}

.write .inputbox input[placeholder] {
    text-align: center;
    font-family: var(--fontK);
    width: auto;
    flex: 40%;
}

.write .inputbox input:-moz-placeholder {
    transition: color .2s;
}

.write .inputbox input::placeholder {
    transition: color .2s;
}

.write .inputbox input:-ms-input-placeholder {
    transition: color .2s;
}

.write .inputbox input::placeholder {
    transition: color .2s;
}

.write .inputbox input:focus:-moz-placeholder {
    color: transparent;
    transition: color .2s;
}

.write .inputbox input:focus::placeholder {
    color: transparent;
    transition: color .2s;
}

.write .inputbox input:focus:-ms-input-placeholder {
    color: transparent;
    transition: color .2s;
}

.write .inputbox input:focus::placeholder {
    color: transparent;
    transition: color .2s;
}

.write .secret {
    position: relative;
    flex: 0 0 31px;
}

.write .inputbox input[name="secret"] {
    visibility: hidden;
}

.write input[name="secret"]:after {
    content: "\f13e";
    font-family: 'fontAwesome';
    transition: .2s;
    visibility: visible;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.write input[name="secret"]:checked:after {
    content: "\f023";
}

.write input[name="secret"]:checked:hover:after {
    background-color: inherit;
    color: inherit;
}

.write input[name="secret"]:hover:after,
.write input[name="secret"]:checked:after,
.write button:hover {
    background-color: var(--text);
    color: var(--point);
}

.write button {
    flex-grow: 1;
    font-weight: bold;
    letter-spacing: 2px;
}

/* 댓글, 방명록 목록 */
#rp.order .lst {
    flex-direction: column-reverse;
}

.lst {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding-top: 30px;
}

#tt-body-guestbook .lst > ul:last-child,
#rp:not(.order) .lst > ul:last-child,
#rp.order .lst > ul:first-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.lst .guest {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.lst .pro {
    position: relative;
    flex: 0 0 13%;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.lst .pro img {
    width: 100%;
}

.lst .pro img[src*="profile_default"] + div {
    background-color: var(--text);
    padding-top: 100%;
}

body:not(.profile) .lst .pro,
body:not(.profile) .lst img + div:not(.title),
.lst .name img[alt="BlogIcon"],
.lst .pro img[src*="profile_default"] {
    display: none !important;
}

.lst .border2 {
    flex-grow: 1;
}

.lst .info {
    width: 100%;
    align-items: center;
    border-bottom: var(--border-width) solid var(--border);
    padding: 0;
}

.lst .info,
.lst .info > div,
.lst .info .name a:after {
    display: flex;
    align-items: center;
}

.lst .info > div:not(:last-child) {
    border-right: var(--border-width) solid var(--border);
}

.lst .info > div:nth-child(-n+3),
.lst .info > div:nth-child(n+4) a {
    padding: 5px;
    transition: .2s;
}

.lst .info .name a:hover:after,
.lst .info > div:nth-child(n+4) a:hover,
.lst .info .date a:hover:after {
    background-color: var(--text);
}

.lst .info .name {
    position: relative;
    flex-grow: 1;
    transition: .2s;
    font-weight: bold;
    margin: auto;
    overflow: hidden;
}

.lst .info .name a {
    color: var(--text);
    pointer-events: none;
}

.lst .info .name a:after,
.lst .info .date a:after {
    content: '홈';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    font-family: var(--fontI);
    border-left: var(--border-width) solid var(--border);
    padding: 5px;
    transition: .2s;
    pointer-events: auto;
    font-weight: normal;
}

.lst .info .name a:hover:after {
    color: var(--point);
}

.lst .etc {
    position: relative;
}

.lst li:not([class*=secret]):not(.hiddenComment):not([class*=admin]) .info .etc:before {
    content: '공개';
}

.lst li[class*=secret] .info .etc:after,
.lst li.hiddenComment .info .etc:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--text);
    opacity: .2;
    z-index: -1;
}

.lst li[class*=secret] .info .etc:before,
.lst li.hiddenComment .info .etc:before {
    content: '비밀';
}

.lst .info .date a {
    position: relative;
    display: block;
    height: 100%;
    margin-left: 5px;
    padding-left: 5px;
    z-index: 1;
}

.lst .info .date a:after {
    content: '';
    top: -5px;
    left: 0;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    transition: .2s;
}

.lst .info .date a:hover:after {
    opacity: 1;
}

.lst .tt_more_preview_comments_wrap {
    border: var(--border-width) solid var(--border);
    border-radius: 7px;
    padding: 5px;
    background-color: var(--text);
    color: var(--point);
    transition: .2s;
}

.lst .tt_more_preview_comments_wrap:hover {
    background-color: inherit;
    color: inherit;
}

/* 주인 */
.profile-master .lst li[class*=admin] {
    flex-direction: row-reverse;
    align-items: flex-end;
}

.lst li[class*=admin] .info .etc {
    background-color: var(--text);
    color: var(--point);
}

.lst li[class*=admin] .info .etc:before {
    content: '마스터';
    font-weight: bold;
}

/* 답글 */
.lst .reply .guest {
    margin-top: 5px;
}

/****************
    공지
****************/
#tt-body-index .item.noti .date {
    display: block;
}

/****************
    태그 클라우드
****************/
#tagcloud {
    margin-top: 0;
}

#tagcloud a {
    backdrop-filter: blur(10px);
    background-color: var(--border-in);
}

/****************
    페이지네이션
****************/
.pagination {
    display: flex;
    margin-top: 30px;
}

.pagination a {
    transition: .2s;
}

.pagination a:not([href]) {
    color: var(--text);
    cursor: default;
}

.pagination > a[href]:hover {
    background-color: var(--border);
}

.pagination .prev,
.pagination .next {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.pagination .prev {
    border-right: var(--border-width) solid var(--border);
}

.pagination .prev i {
    margin-right: 3px;
}

.pagination .next {
    border-left: var(--border-width) solid var(--border);
}

.pagination .next i {
    margin-left: 3px;
}

.pagination .prev:not([href]),
.pagination .next:not([href]) {
    opacity: 0;
}

.pagination .num {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
}

.pagination .num a {
    padding: 0 5px;
    color: var(--text);
}

.pagination .num a[href]:hover {
    opacity: .5;
}

.pagination a .selected {
    position: relative;
    font-weight: bold;
}

.pagination a .selected:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    height: var(--border-width);
    width: 100%;
    background-color: var(--border);
}

/* ================ 
 *
 *   푸터
 *
 * ================ */
#footer:empty {
    display: none;
}

/* ================ 
 *
 *   기타
 *
 * ================ */
/* 부드러운 화면 전환 */
.smooth-screen-fade #container,
.smooth-screen-fade .copy {
    animation: fadein 2000ms ease-out;
    -moz-animation: fadein 2000ms ease-out;
    -webkit-animation: fadein 2000ms ease-out;
    -o-animation: fadein 2000ms ease-out;
}

.smooth-screen-loading #loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: var(--bg);
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smooth-screen-loading #loading .loader {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: relative;
    animation: fadein 2000ms ease-out;
    -moz-animation: fadein 2000ms ease-out;
    -webkit-animation: fadein 2000ms ease-out;
    -o-animation: fadein 2000ms ease-out;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.smooth-screen-loading #loading .loader::after,
.smooth-screen-loading #loading .loader::before {
    content: "";
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: animloader 2s linear infinite;
    animation: animloader 2s linear infinite;
}

.smooth-screen-loading #loading .loader::after {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

@-webkit-keyframes animloader {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes animloader {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* 새 글 아이콘 */
img[src*="new_ico_"],
img[alt="N"] {
    width: 10px !important;
    height: 10px !important;
    padding: 0 !important;
    margin: 0 0 auto 2px;
}

.new {
    color: var(--point);
    margin-left: 5px;
    font-size: .8em;
    animation: animated-cursor 1500ms steps(30, end) infinite;
}

@keyframes animated-cursor {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* 광고 영역 */
.ad:empty {
    display: none;
}

.ad.upper > div {
    margin-bottom: 30px;
}

.ad.lower > div {
    margin-top: 30px;
}

/* 탑버튼 */
.top {
    display: none;
    position: fixed;
    right: 10px;
    bottom: calc(1em + 10px + 1vh);
    padding: 0;
    z-index: 999;
}

.top a {
    display:
        flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    font-size: 2rem;
    text-align: center;
    line-height: 1;
}

/* ie */
#ie {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 1.3em;
    padding: 5px;
    background-color: #000;
    border-radius: 0 0 10px 10px;
    color: #fff;
    z-index: 9999999999999;
    text-align: center;
}

#ie a {
    font-weight: bold;
    color: #ff0;
}

/***********************
    카피라이트 삭제 금지  (옵션 구매하신 분은 안내 파일을 읽어보시고 여기에 제 요청 사항을 적어주세요)
********************** */
.copy {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 8px;
    font-family: 'Meddon', cursive;
    text-align: center;
    transition: .2s;
}

.copy:hover {
    color: var(--text);
    opacity: .5;
}

@media screen and (min-width: 768px) {

    /* 2열 */
    .n2 .myo_gal.basic ol .item,
    .bn2 .myo_bbs ol .item {
        width: calc((100% - var(--margin)) / 2);
    }

    /* 3열 */
    .n3 .myo_gal.basic ol .item {
        width: calc((100% - var(--margin) * 2) / 3);
    }

    /* 4열 */
    .n4 .myo_gal.basic ol .item,
    #article .post .morebox:not(.myo_bbs) ol .item {
        width: calc((100% - var(--margin) * 3) / 4);
    }

    .mo {
        display: none;
    }
}

/* ================ 
 *
 *   모바일
 *
 * ================ */
@media screen and (max-width: 767px) {
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        padding: 15px;
    }

    .mbg {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;   
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        background-repeat: no-repeat;
    }

    #container {
        flex-direction: column;
        justify-content: flex-start;
        margin: 0 auto;
        flex-grow: 1;
        transform: none;
    }

    #header,
    #header .sticky {
        position: static;
        width: 100%;
        flex: none;
    }

    #header .logobox {
        display: grid !important;
        gap: 5px !important;
        grid-template-columns: 15% 1fr 10% !important;
        margin-bottom: 0;
    }

    #header .logobox .logo > div {
        height: 100%;
    }

    #header .logobox .title {
        margin: 0;
    }

    #header .logobox .title:before {
        display: none;
    }

    #header .logobox .title a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    #header .cate-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #header .cate-btn .line {
        width: 100%;
        height: 1px;
        background-color: var(--text);
        display: block;
        margin: 0 auto;
        -webkit-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
    }

    #header .cate-btn .line:nth-child(2) {
        margin: 10px auto;
    }

    #header .cate-btn:hover {
        cursor: pointer;
        background-color: var(--text);
    }

    #header .cate-btn:hover .line {
        background-color: var(--point);
    }

    #header .logobox .intro {
        grid-column: 1 / 4 !important;
    }

    .catebox {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 999999;
        background-color: var(--bg);
        overflow: hidden;
        display: none;
    }

    .catebox .scroll {
        display: flex;
        flex-direction: column;
        width: calc(100% + 5px);
        height: 100%;
        overflow-y: scroll;
        padding: 10%;
    }

    .catebox .blogmenu {
        margin: 0;
    }

    .catebox .tt_category {
        overflow: hidden !important;
    }

    .catebox .sub_category_list {
        border-radius: 0 !important;
        border-top: var(--border-width) solid var(--border);
    }

    .catebox.sub .tt_category {
        position: relative;
        padding: 5px;
        border: var(--border-width) solid var(--border);
        background-color: var(--border-in);
        backdrop-filter: blur(10px);
        transition: .2s !important;
        z-index: 1;
        border-radius: 7px;
        overflow: hidden;
    }

    .catebox.msub .tt_category,
    .catebox.msub .sub_category_list {
        position: relative;
        overflow: inherit;
    }

    .catebox.msub .sub_category_list {
        display: none;
        position: static;
        padding: 0;
        z-index: 1;
        overflow: hidden;
        width: 100%;
    }

    .catebox .sub_category_list .link_sub_item {
        padding-left: 21px;
    }

    .catebox .scroll > div:not(.cate-btn) {
        flex-grow: 1;
    }

    .catebox .cate-btn {
        flex: 0 0 35px;
        width: 35px;
        height: 35px;
        margin: 30px auto 0;
    }

    .catebox .cate-btn .line:nth-child(2) {
        opacity: 0;
    }

    .catebox .cate-btn .line:nth-child(1) {
        -webkit-transform: translateY(12px) rotate(45deg);
        -ms-transform: translateY(12px) rotate(45deg);
        -o-transform: translateY(12px) rotate(45deg);
        transform: translateY(12px) rotate(45deg);
    }

    .catebox .cate-btn .line:nth-child(3) {
        -webkit-transform: translateY(-11px) rotate(-45deg);
        -ms-transform: translateY(-11px) rotate(-45deg);
        -o-transform: translateY(-11px) rotate(-45deg);
        transform: translateY(-11px) rotate(-45deg);
    }

    #content {
        max-width: 100% !important;
    }

    .m2 .myoskin:not(.myo_bbs) .item,
    #article .post .morebox:not(.myo_bbs) .item {
        width: calc((100% - var(--margin)) / 2);
    }

    .m3 .myoskin:not(.myo_bbs) .item {
        width: calc((100% - var(--margin) * 2) / 3);
    }

    .top {
        bottom: 15px;
    }

    .copy {
        position: static;
        margin: 15px auto 0;
        display: table;
    }
}

@media screen and (max-width: 490px) {
    .text-item .tt-share-entry-with-sns .tt-sns-service-default > li > a {
        font-size: 0;
    }

    .text-item .tt-share-entry-with-sns .tt-sns-service-default > li > a:before {
        font-size: 1rem;
        margin: 0;
    }
}

@media screen and (max-width: 424px) {
    .lst .date {
        display: none !important;
    }
}

@media screen and (max-width: 350px) {
    .text-item .tt-share-entry-with-sns {
        display: none;
    }
}
