@charset "utf-8";

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

/* 웹폰트 */
@import url('//fonts.googleapis.com/css2?family=Meddon&family=Noto+Sans+JP&family=Oswald:wght@400;500;600&display=swap');

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

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

/* 전체 폰트 */
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: 'Oswald', 'Noto Sans JP', 'NanumBarunpen', sans-serif;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text);
}

/* ================ 
*
*   기본 설정
*
* ================ */
/* 링크 */
a,
a:link {
    text-decoration: none;
    color: var(--text);
    transition: color .4s;
}

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: 5px;
    height: 5px;
    background-color: var(--bg);
    border-left: 1px solid;
    border-color: var(--text);
}

::-webkit-scrollbar-thumb {
    background-color: var(--text);
}

html {
    overflow-x: hidden;
}

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);
}

/* ================ 
*
*   스킨 시작
*
* ================ */
#container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

:root {
    --padding: 2.5vw;
}

body.backimg #header:after,
body.backimg .catebox .sub_category_list:after,
body.backimg #content:after,
body.backimg #footer:after {
    content: '';
    position: absolute;
    top: -50px;
    right: 0;
    left: 0;
    bottom: -50px;
    z-index: -1;
    filter: blur(10px);
    background-color: var(--bg);
    -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;
    transition: .4s;
}

/* ================ 
*
*   헤더
*
* ================ */
#header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg);
    border-bottom: 1px solid;
    font-family: 'Oswald', 'KBIZHanmaumGothic', sans-serif;
    z-index: 99999;
}

#header.s {
    position: fixed;
}

body.backimg #header {
    background-color: inherit;
    backdrop-filter: blur(10px);
}

body.backimg #header:after {
    top: 0 !important;
    height: 100%;
}

body.backimg #header.open:after {
    height: calc(100% + 100px);
    top: -50px !important;
}

#header > div,
#header > nav {
    height: 100%;
    display: flex;
    align-items: center;
    padding: calc(var(--padding) / 2) var(--padding);
    font-size: 1.1em;
    font-weight: 500;
}

#header .right {
    justify-content: flex-end;
    padding-left: 0;
    flex: 1 1 0;
}

/* ---------------
    카테고리
--------------- */
.right .blogmenu ul {
    justify-content: flex-end;
}

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

    .catebox .scroll > div,
    .blogmenu > ul,
    .catebox .tt_category > li,
    .catebox .category_list,
    .catebox .sub_category_list {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        white-space: nowrap;
    }

    .catebox .sub_category_list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        border-top: 1px solid;
        border-bottom: 1px solid;
        z-index: 9;
        padding: 20px var(--padding);
        overflow: hidden;
        max-height: 65px;
    }

    .catebox .sub_category_list:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        background-color: var(--bg);
        backdrop-filter: blur(30px);
        opacity: 0.8;
    }

    .catebox .blogmenu > ul li,
    .catebox .category_list > li,
    .catebox .sub_category_list > li:not(:last-child),
    .catebox .cate:not(:last-child),
    .catebox .link_tit {
        margin-right: 30px;
    }
}

.blogmenu:not(.menu) {
    display: none;
}

.catebox {
    padding-right: 0 !important;
    flex: 1 1 0;
}

.catebox > div,
.catebox .scroll > div {
    width: 100%;
}

.catebox .category_list > li {}

.catebox .category_list > li.mc .link_item:after {
    content: '\f107';
    font-family: 'fontAwesome';
    transition: transform .4s;
    margin-left: 5px;
}

.catebox .category_list > li.mc.open .link_item:after {
    transform: rotate(180deg);
}

.catebox .category_list > li:not(.mc) .link_item:only-child,
.catebox .link_sub_item {
    display: block;
}

.catebox .link_item {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}

.catebox .link_item img,
.catebox .link_item .new {
    order: 1;
    margin-left: 5px;
}

.catebox .link_sub_item {
    font-size: .9em;
}

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

/* ---------------
    타이틀
--------------- */
#header .title {
    justify-content: center;
}

#header .title span {
    text-align: center;
    margin-left: auto;
    font-size: 1.5em;
    font-weight: 700;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1;
}

#header .title a {
    text-align: center;
}

#header .title img {
    max-height: 50px;
}

/* ---------------
    우측
--------------- */
.right .blogmenu li:not(:first-child),
.right .blogmenu + .theme,
.search-box {
    margin-left: 30px;
    position: relative;
}

/* ---------------
    테마 모드
--------------- */
.theme {
    cursor: pointer;
    width: 15px;
}

.theme a {
    font-weight: bold;
    font-size: 1.1em;
    width: 100%;
    vertical-align: middle;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: color .4s;
    display: block;
}

.theme i:hover {
    color: var(--point);
}

.theme-dark .theme .false,
.theme-light .theme .true {
    display: none;
}

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

.search-box input {
    max-width: 0;
    overflow: hidden;
    transition: 1s;
    border-bottom: 1px solid;
}

.search-box.open input {
    max-width: 90px;
    padding: 0 3px;
}

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

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

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

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

.search-box span {
    transition: .4s;
    margin-left: 5px;
}

.search-box span:after {
    content: '\f002';
    font-family: 'fontAwesome'
}

.search-box span:hover {
    color: var(--point);
    cursor: pointer;
}

.search-box.open span:after {
    content: '\f00d';
}

/* ================ 
*
*   콘텐츠 영역
*
* ================ */
#content {
    position: relative;
    flex-grow: 1;
    margin: auto;
    width: 100%;
}

/* ---------------
    목록 공통
--------------- */
.explain {
    padding: var(--padding);
    border-bottom: 1px solid;
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: 2px;
}

.explain:empty {
    display: none;
}

#myoskin {
    display: grid;
    flex-grow: 1;
    overflow: hidden;
}

#myoskin .item:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

body.n2 .myo_gal:not(.hover) .item:not(:nth-child(2n)):after,
body.hn2 .myo_gal.hover .item:not(:nth-child(2n)):after,
body.bn2 .myo_bbs:not(.web) .item:not(:nth-child(2n)):after,
body.wn2 .myo_bbs.web .item:not(:nth-child(2n)):after,
body.n3 .myo_gal:not(.hover) .item:not(:nth-child(3n)):after,
body.hn3 .myo_gal.hover .item:not(:nth-child(3n)):after,
body.bn3 .myo_bbs:not(.web) .item:not(:nth-child(3n)):after,
body.wn3 .myo_bbs.web .item:not(:nth-child(3n)):after,
body.n4 .myo_gal:not(.hover) .item:not(:nth-child(4n)):after,
body.hn4 .myo_gal.hover .item:not(:nth-child(4n)):after,
body.bn4 .myo_bbs:not(.web) .item:not(:nth-child(4n)):after,
body.wn4 .myo_bbs.web .item:not(:nth-child(4n)):after {
    border-right: 1px solid;
}

body.n2 .myo_gal:not(.hover),
body.hn2 .myo_gal.hover,
body.bn2 .myo_bbs:not(.web),
body.wn2 .myo_bbs.web {
    grid-template-columns: repeat(2, minmax(50%, 1fr));
}

body.n3 .myo_gal:not(.hover),
body.hn3 .myo_gal.hover,
body.bn3 .myo_bbs:not(.web),
body.wn3 .myo_bbs.web {
    grid-template-columns: repeat(3, minmax(calc(100% / 3), 1fr));
}

body.n4 .myo_gal:not(.hover),
body.hn4 .myo_gal.hover,
body.bn4 .myo_bbs:not(.web),
body.wn4 .myo_bbs.web {
    grid-template-columns: repeat(4, minmax(25%, 1fr));
}

#content .myoskin .item {
    position: relative;
    vertical-align: top;
    border-bottom: 1px solid;
}

#content .myoskin:not(.hover) .item {
    padding: var(--padding);
    margin-bottom: -1px;
}

#content .myoskin .item a {
    display: block;
    width: 100%;
    z-index: 3;
}

#content .myoskin .item .thumbox {
    position: relative;
    width: 100%;
}

#content .myoskin:not(.hover) .item .thumbox {
    border: 1px solid;
}

#content .myoskin .item .thumbox:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg);
    opacity: 0.3;
    filter: brightness(70%);
    transition: .4s;
}

#content .myoskin .item:hover .thumbox:after {
    filter: brightness(100%);
    opacity: 0;
}

#content .myoskin .item.you:hover .framebox {
    z-index: 999;
}

#content .myoskin .item .title img {
    width: auto !important;
    height: auto !important;
}

#content .myoskin .item .thumbox img {
    width: 100%;
}

#content .myoskin .item .info {
    z-index: 3;
}

#content .myoskin .item:hover .info a {
    color: var(--point);
}

#content .myoskin .item .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    font-size: 1.4em;
    letter-spacing: 2px;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

#content .myoskin .item .title {
    padding-right: calc(var(--padding) + 1em);
}

#content .myoskin .item .title.cm {
    padding-right: 0;
}

#content .myoskin .item .title i {
    margin-right: 10px;
    vertical-align: middle;
}

#content .myoskin .item .cate-date {
    font-size: .85em;
    margin-top: 5px;
}

#content .myoskin .item .cnt {
    background-color: var(--text);
    position: absolute;
    right: var(--padding);
    top: 0;
    width: 40px;
    z-index: 9;
    padding: var(--padding) .5em 0.5em;
    text-align: center;
    display: inline-block;
    color: var(--bg);
}

#content .myoskin .item .cnt:before {
    content: '+';
    margin-right: 5px;
    line-height: 16px;
    vertical-align: middle;
}

#content .myoskin .item .cnt:after {
    content: '';
    position: absolute;
    border-left: 20px solid var(--text);
    border-right: 20px solid var(--text);
    border-bottom: 10px solid transparent;
    bottom: -9px;
    height: 0;
    left: 0;
    width: 0;
}

#content .myoskin:not(.web) .item .text,
#content .myoskin .item .date,
#content .myoskin .item .cnt:empty {
    display: none !important;
}

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

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

/* 목록 없음 */
#content #myoskin.empty {
    display: block;
}

#content .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 !important;
    padding: var(--padding);
}

/* ---------------
    갤러리형
--------------- */
#content .myoskin.myo_gal:not(.hover) .item {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
}

#content .myoskin.myo_gal:not(.hover) .item .thumbox {
    margin-top: calc(var(--padding) / 2);
}

#content .myoskin.myo_gal .item:hover .info a {
    color: var(--point);
}

/* ------------------------------
    갤러리형 - 마우스 오버
------------------------------ */
#content .myo_gal.hover .item .info {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0;
    bottom: 0px;
    padding: calc(var(--padding) + 10%);
    opacity: 0;
    transition: opacity .4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

#content .myo_gal.hover .item .info .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    padding: 0;
    max-height: 64px;
}

#content .myo_gal.hover .item .info:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg);
    opacity: .8;
    z-index: -1;
}

#content .myo_gal.hover .item:hover .info {
    opacity: 1;
}

#content .myo_gal.hover .item.you .info {
    display: none;
}

/* ---------------
    목록형
--------------- */
#content .myo_bbs:not(.web) .item .thumbox {
    display: none;
}

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

#content .myo_bbs:not(.web) .item .info {
    height: 100%;
}

#content .myo_bbs:not(.web) .item a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%
}

#content .myo_bbs:not(.web) .item .title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

#content .myo_bbs:not(.web) .item .text {
    display: none;
}

/* ---------------
    웹진형
--------------- */
#content .myo_bbs.web .item {
    display: flex;
    flex-direction: column;
}

#content .myo_bbs.web .item .info {
    order: -1;
    margin-bottom: 25px;
}

#content .myo_bbs.web .item .text {
    margin-top: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 115px;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    flex-grow: 1;
}

#content .myo_bbs.web .item .text:empty,
#content .myo_bbs.web .info .text {
    display: none;
}

/* ----------------------
    보호글 비밀번호 입력창
------------------------- */
body:not(#tt-body-page).n2.myo_gal #article .post.pass,
body:not(#tt-body-page).hn2.myo_gal.hover #article .post.pass,
body:not(#tt-body-page).bn2.myo_bbs #article .post.pass,
body:not(#tt-body-page).wn2.myo_bbs.web #article .post.pass {
    grid-template-areas:
        "pleft pleft";
}

body:not(#tt-body-page).n3.myo_gal #article .post.pass,
body:not(#tt-body-page).hn3.myo_gal.hover #article .post.pass,
body:not(#tt-body-page).bn3.myo_bbs #article .post.pass,
body:not(#tt-body-page).wn3.myo_bbs.web #article .post.pass {
    /* grid-template-areas:
	"pleft pleft pleft "; */
}

body:not(#tt-body-page).n4.myo_gal #article .post.pass,
body:not(#tt-body-page).hn4.myo_gal.hover #article .post.pass,
body:not(#tt-body-page).bn4.myo_bbs #article .post.pass,
body:not(#tt-body-page).wn4.myo_bbs.web #article .post.pass {
    /* grid-template-areas:
	"pleft pleft pleft pleft "; */
}

#tt-body-page:not(.side) #article .post.pass .postleft {
    box-shadow: none;
}

#tt-body-page:not(.side) #article .post.pass {
    grid-template-areas:
        "pleft pleft pleft";
}

#tt-body-page:not(.side) #article .post.pass .postleft {
    border-right: 0;
}

.pass {
    height: 40vh;
    grid-template-areas:
        "pleft pleft pleft ";
}

.pass .postleft {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 30vh;
}

.pass form {
    margin: auto;
    min-width: 200px;
}

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

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

.pass button {
    width: 100%;
    border: 1px solid;
    border-color: var(--text);
    letter-spacing: 3px;
    padding: 10px;
    transition: .4s;
    background-color: var(--text);
    color: var(--point);
}

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

.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;
}

/* ---------------
    본문 영역
--------------- */
#tt-body-page.side #content {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
        "aside article article article";
}

#myoskin + #article {
    border-top: 1px solid;
    margin-top: -1px;
}

#article {
    max-width: 100%;
}

#article .post {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(calc(100% / 3), 1fr));
    grid-template-areas:
        "pleft pleft pright";
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

body.n2 #myoskin + #article .post,
body.hn2 #myoskin + #article .post,
body.bn2 #myoskin + #article .post,
body.wn2 #myoskin + #article .post {
    grid-template-columns: repeat(2, minmax(50%, 1fr));
    grid-template-areas:
        "pleft pright";
}

body:not(#tt-body-page).n2.myo_gal #article .post,
body:not(#tt-body-page).hn2.myo_gal.hover #article .post,
body:not(#tt-body-page).bn2.myo_bbs #article .post,
body:not(#tt-body-page).wn2.myo_bbs.web #article .post {
    grid-template-columns: repeat(2, minmax(50%, 1fr));
    grid-template-areas:
        "pleft pright";
}

body:not(#tt-body-page).n3.myo_gal #article .post,
body:not(#tt-body-page).hn3.myo_gal.hover #article .post,
body:not(#tt-body-page).bn3.myo_bbs #article .post,
body:not(#tt-body-page).wn3.myo_bbs.web #article .post {
    grid-template-columns: repeat(3, minmax(calc(100% / 3), 1fr));
    grid-template-areas:
        "pleft pleft pright";
}

body:not(#tt-body-page).n4.myo_gal #article .post,
body:not(#tt-body-page).hn4.myo_gal.hover #article .post,
body:not(#tt-body-page).bn4.myo_bbs #article .post,
body:not(#tt-body-page).wn4.myo_bbs.web #article .post {
    grid-template-columns: repeat(4, minmax(25%, 1fr));
    grid-template-areas:
        "pleft pleft pleft pright";
}

#tt-body-page:not(.side) #article .post {
    display: grid;
    grid-template-columns: repeat(3, calc(100% / 3));
    grid-template-areas:
        "pleft pleft pright";
}

#article .postleft {
    grid-area: pleft;
    border-right: 1px solid;
}

#article .postright {
    grid-area: pright;
}

#article .postright > div {
    position: sticky;
    top: 0;
    margin-bottom: var(--padding);
}

#article .postright > div > div {
    padding: var(--padding);
    border-bottom: 1px solid;
    margin-bottom: 1px;
}

#article:empty {
    display: none;
}

body:not(#tt-body-page) #article .post:not(:last-child) {
    border-bottom: 4px double;
}

/* ---------------
    본문 타이틀
--------------- */
.titlebox {
    padding: var(--padding);
    border-bottom: 1px solid;
    border-color: var(--text);
}

.titlebox .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 92px;
    font-weight: bold;
    font-size: 2em;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.titlebox .cate {
    font-size: .85em;
    margin-right: 15px;
}

.titlebox .date {
    font-size: .85em;
}

.titlebox .admin {
    float: right;
    font-size: .85em;
}

.titlebox .admin a {
    margin-left: 15px;
    cursor: pointer;
}

/* ---------------
    본문
--------------- */
.text-item {
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    padding: var(--padding);
}

.text-item h1,
.text-item h2,
.text-item h3,
.text-item h4 {
    letter-spacing: 3px;
    padding: 0 5px;
    position: relative;
    display: table;
}

.text-item h1:after,
.text-item h2:after,
.text-item h3:after,
.text-item h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background-color: var(--point);
    z-index: -1;
    opacity: .3;
}

.text-item h1:after {
    max-height: calc(46px / 2);
}

.text-item h2:after {
    max-height: calc(35px / 2);
}

.text-item h3:after {
    max-height: calc(27px / 2);
}

.text-item h4 {
    display: inline-block;
    vertical-align: middle;
}

.text-item h4:after {
    right: auto;
    width: 100%;
}

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

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

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

.text-item hr,
.text-item hr[data-ke-style],
#tt-body-page hr[data-ke-style] {
    border: 0;
    border-top: 1px solid;
    border-color: var(--text) !important;
    background-image: none;
}

.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 iframe,
.text-item embed,
.text-item table {
    width: 100%;
}

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

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

.text-item table,
.text-item tr,
.text-item td {
    border-spacing: 1px;
    border: 0;
}

/* 아이프레임 */
.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:hover,
.footnotes a:hover {
    color: var(--text) !important;
}

/* 링크 */
.text-item p a,
.text-item span a,
.text-item .tx-link,
.text-item blockquote a,
.lst .text a {
    position: relative;
}

.text-item p a:before,
.text-item span a:before,
.text-item .tx-link:before,
.text-item blockquote a:before,
.lst .text a:before {
    content: '';
    top: 0;
    left: 0;
    text-align: left;
    display: inline-block;
    width: 0px;
    height: 0.4em;
    border-style: solid;
    border-width: .4em .4em 0 0;
    border-color: var(--text) transparent transparent transparent;
    margin-right: 5px;
    transition: .4s;
}

.text-item p a:hover:before,
.text-item span a:hover:before,
.text-item .tx-link:hover:before,
.text-item blockquote a:hover:before,
.lst .text a:hover:before {
    border-color: var(--point) transparent transparent transparent;
}

.figure.fileblock a,
#tt-body-page figure.fileblock a:before,
.text-item .tx-link.imgblock:before,
.text-item .footnote a:before,
.text-item .footnotes a:before,
.text-item .another_category a:before {
    display: none;
}

.text-item a .imageblock img {
    transition: .4s;
}

.text-item a .imageblock img:hover {
    opacity: 0.5;
}

figure[data-ke-type='opengraph'],
#tt-body-page figure[data-ke-type='opengraph'] {
    position: relative;
    z-index: 1;
    margin: 0;
}

figure[data-ke-type='opengraph'] div.og-image {
    width: 100px;
    border-color: var(--text);
}

figure[data-ke-type='opengraph'] a,
#tt-body-page figure[data-ke-type='opengraph'] a {
    overflow: hidden;
    height: 100px;
    border: 1px solid;
    border-color: var(--text);
}

figure[data-ke-type='opengraph'] a::before,
#tt-body-page figure[data-ke-type='opengraph'] a::before {
    left: var(--padding);
}

figure[data-ke-type='opengraph'] div.og-text {
    left: 101px;
    padding: 10px 10px 0 10px;
}

figure[data-ke-type='opengraph'] div.og-text p.og-title,
#tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-title {
    font-weight: bold;
    font-size: 1.2em;
    color: var(--text);
    margin-bottom: 0 !important;
    transition: .4s;
    font-family: 'Oswald', 'Noto Sans JP', 'NanumBarunpen', sans-serif;
}

figure[data-ke-type='opengraph'] a:hover div.og-text p.og-title,
#tt-body-page figure[data-ke-type='opengraph'] a:hover div.og-text p.og-title {
    color: var(--point);
}

figure[data-ke-type='opengraph'] div.og-text p.og-desc,
#tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-desc {
    color: var(--text);
    font-size: inherit;
    font-family: 'Oswald', 'Noto Sans JP', 'NanumBarunpen', sans-serif;
}

figure[data-ke-type='opengraph'] div.og-text p.og-host,
#tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-host {
    color: var(--point);
    margin-bottom: 0 !important;
    font-size: inherit;
    bottom: 10px;
    font-family: inherit;
    position: static;
}

/* 이미지, 동영상 설명글 */
figure figcaption,
figure[data-ke-type='video'] figcaption {
    font-size: .8rem;
    color: var(--point);
}

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

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

.tx-quote-tistory:before,
blockquote[data-ke-style='normal']:before,
#tt-body-page blockquote[data-ke-style='normal']:before,
blockquote[data-ke-style='style2']:before,
#tt-body-page blockquote[data-ke-style='style2']:before {
    content: '\e67f';
    font-family: 'themify';
    position: absolute;
    left: 0;
    top: 0;
}

.tx-quote-tistory:after,
blockquote[data-ke-style='normal']:after,
#tt-body-page blockquote[data-ke-style='normal']:after,
blockquote[data-ke-style='style2']:after,
#tt-body-page blockquote[data-ke-style='style2']:after {
    content: '\e67e';
    font-family: 'themify';
    position: absolute;
    right: 0;
    bottom: 0;
}

.tx-quote-tistory,
blockquote[data-ke-style='normal'],
#tt-body-page blockquote[data-ke-style='normal'],
blockquote[data-ke-style='style2'],
#tt-body-page blockquote[data-ke-style='style2'] {
    position: relative;
    height: auto;
    margin: 5%;
    padding: 1em 2em;
    font-style: italic;
    font-size: inherit;
}

/* 인용구2 */
blockquote[data-ke-style='box'],
#tt-body-page blockquote[data-ke-style='box'],
blockquote[data-ke-style='style3'],
#tt-body-page blockquote[data-ke-style='style3'] {
    padding: 10px;
    background-color: transparent;
    border: 1px solid;
    border-color: var(--text);
    color: var(--text);
    font-size: inherit;
    line-height: inherit;
}

/* 더보기 */
.text-item .btn_less::before {
    display: none;
}

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

.text-item .btn_more,
.text-item .btn_less,
#tt-body-page div[data-ke-type='moreLess'] .btn-toggle-moreless,
div[data-ke-type='moreLess'] .btn-toggle-moreless {
    font-size: inherit;
    font-family: inherit;
    height: auto;
    transition: .4s;
    margin: 0;
    width: auto;
    border: 1px solid;
    padding: 10px;
    color: var(--text);
    line-height: 1;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.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_more:hover,
.text-item .btn_less:hover,
#tt-body-page div[data-ke-type='moreLess'] .btn-toggle-moreless:hover,
div[data-ke-type='moreLess'] .btn-toggle-moreless:hover,
.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 {
    background-color: var(--text);
    color: var(--point);
    border-color: var(--text);
}

.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-bottom: 0;
}

.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);
}

.txt_view,
.text-item .btn_less:last-child {
    display: none;
}

.text-item .moreless_content .more-txt,
.text-item .moreless-content,
div[data-ke-type='moreLess'] .moreless-content,
#tt-body-page div[data-ke-type='moreLess'] .moreless-content {
    border: 1px solid;
    padding: 10px;
    line-height: inherit;
    border-color: var(--text);
    color: var(--text);
    margin-bottom: 10px;
}

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

/* 파일 첨부 */
figure.fileblock,
#tt-body-page figure.fileblock {
    background-color: transparent;
    border: 1px solid;
    border-color: var(--text);
    z-index: 1;
}

figure.fileblock a:before,
#tt-body-page figure.fileblock a:before {
    content: ''
}

figure.fileblock .filename,
#tt-body-page figure.fileblock .filename {
    font-size: inherit;
}

figure.fileblock .name,
#tt-body-page figure.fileblock .name {
    transition: .4s;
}

figure.fileblock:hover .name,
#tt-body-page figure.fileblock:hover .name {
    color: var(--text);
}

figure.fileblock .size,
#tt-body-page figure.fileblock .size {
    font-size: .9rem;
    font-family: inherit;
    color: var(--point);
}

.text-item .imageblock > a > img {
    display: none;
}

.text-item .imageblock > a:after {
    content: '\f0c7';
    font-family: 'fontAwesome';
    margin-left: 5px;
}

/* ---------------
    공감 버튼
--------------- */
body .container_postbtn {
    line-height: normal;
    padding: 0;
    margin-top: var(--padding);
}

body .container_postbtn .postbtn_like,
body .container_postbtn .btn_menu_toolbar {
    width: auto;
    height: 30px;
    line-height: inherit;
    padding: 0 10px;
    border-color: var(--text);
    border-radius: 0;
}

body .container_postbtn .postbtn_like,
body .container_postbtn .postbtn_like .wrap_btn {
    display: flex;
    align-items: center;
}

body .container_postbtn .postbtn_like + .btn_menu_toolbar {
    display: inline-flex;
    align-items: center;
}

body .container_postbtn .btn_menu_toolbar .txt_state {
    font-size: 11px !important;
    font-family: 'Oswald', 'Noto Sans JP', 'NanumBarunpen', sans-serif;
    transition: color .4s;
    color: var(--text);
    margin-bottom: 2px;
}

body .container_postbtn .btn_menu_toolbar .txt_state:before {
    content: '\f234';
    font-family: 'fontAwesome';
    margin-right: 3px;
}

body .container_postbtn .btn_menu_toolbar.following .txt_state:before {
    content: '\e60a';
}

body .container_postbtn .btn_menu_toolbar.following .ico_check_type1 {
    margin: 0 0 0 5px;
}

body .container_postbtn .btn_menu_toolbar .ico_check_type1 {
    margin: 0 0 0 5px;
}

body .container_postbtn .btn_post {
    padding: 0 10px 0 0;
}

body .container_postbtn .wrap_btn:last-child .btn_post {
    padding-right: 0;
}

body .container_postbtn .btn_post .txt_like {
    font-size: 11px !important;
    font-family: 'Oswald', 'Noto Sans JP', 'NanumBarunpen', sans-serif !important;
    vertical-align: middle;
    padding-left: 5px;
    transition: .4s;
    color: var(--text) !important;
}

body .container_postbtn .btn_post .ico_postbtn {
    position: relative;
    margin: 0 !important;
    text-indent: inherit !important;
    background-image: none;
    vertical-align: middle;
    overflow: visible;
    width: 12px;
    font-size: 0;
}

body .container_postbtn .btn_post:hover .txt_like,
body .container_postbtn .btn_post:hover .ico_postbtn:after,
body .container_postbtn .btn_menu_toolbar:hover .txt_state {
    color: var(--point) !important;
}

body .container_postbtn .btn_post .ico_postbtn:after {
    display: inline-block;
    font-family: 'fontAwesome';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--text);
    transition: .4s;
}

body .container_postbtn .btn_post .like_on .ico_like:after {
    content: '\f21e'
}

body .container_postbtn .btn_post .ico_like:after {
    content: '\f004'
}

body .container_postbtn .btn_post .ico_share:after {
    content: '\f1e0';
}

body .container_postbtn .btn_post .ico_statistics:after {
    content: '\f080';
}

body .container_postbtn .btn_post .ico_etc:after {
    content: '\f141';
}

body .container_postbtn .btn_post .txt_like.uoc-text {
    display: none;
}

/* ---------------
    본문 하단 태그
--------------- */
.tags a {
    position: relative;
    white-space: nowrap;
    line-height: 1;
    padding: 5px 7px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 3px 5px 0;
    border: 1px solid;
}

.tags a:before {
    content: "";
    position: absolute;
    top: -1px;
    ;
    left: -1px;
    width: 0px;
    height: 0px;
    border-bottom: 7px solid var(--text);
    border-left: 7px solid var(--bg);
    transition: .4s;
}

.tags a:hover:before {
    border-bottom: 7px solid var(--point);
}

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

#content .morebox {
    overflow: hidden;
    padding: 0 !important;
}

#content .morebox .item:not(:nth-child(2n)) {
    border-right: 1px solid;
}

#content .morebox .item:nth-last-child(-n+2):nth-child(2n+1),
#content .morebox .item:nth-last-child(-n+1):nth-child(2n+2) {
    border-bottom: 0;
}

#content .morebox .item .title {
    font-size: 1.1rem !important;
    padding-right: 0 !important;
}

/* 카테고리 글 더보기 갤러리형 */
#content #morebox ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(50%, 1fr));
    overflow: hidden;
}

/* ---------------
    댓글 펼침
--------------- */
#opencmt .cnt:not(:empty):before {
    content: '+';
    margin-right: 5px;
    margin-left: 3px;
}

#opencmt a {
    cursor: pointer;
}

#opencmt a:hover {
    color: var(--point);
}

body.cmtopen #opencmt > a {
    display: none;
}

/* ---------------
    댓글, 방명록
--------------- */
body.cmtopen #rp {
    display: block;
}

body:not(.cmtopen) #rp {
    display: none;
}

body:not(.cmtopen) #rp > div {
    margin-top: 25px;
}

#tt-body-guestbook:not(.side) #content,
#tt-body-guestbook:not(.side) #main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#tt-body-guestbook:not(.side) #main {
    margin: auto;
    max-width: calc(100% / 3);
    width: 100%;
    border-left: 1px solid;
    border-right: 1px solid;
    flex-grow: 1;
}

#tt-body-guestbook #main .cmt {
    padding: var(--padding);
}

#tt-body-guestbook .pagination {
    border-top: 1px solid;
}

/* 댓글, 방명록 작성 */
.write textarea {
    padding: 10px;
    height: 100px;
    min-height: 100px;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    position: relative;
    z-index: 100;
    display: block;
    vertical-align: top;
    transition: height .4s;
    color: var(--point);
    border: 1px solid;
    border-color: var(--text);
}

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

.write .textarea {
    position: relative;
}

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

.write .textarea:after {
    content: "";
    z-index: 1;
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 7px 7px;
    border-color: transparent transparent var(--text) transparent;
}

.write button {
    padding: 5px;
    transition: .4s;
    width: 100%;
    color: var(--text);
    border: 1px solid;
    border-color: var(--text);
    height: 33px;
}

.write button:hover {
    color: var(--point);
    letter-spacing: 3px;
}

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

.write .inputbox input,
.write .secret {
    overflow: hidden;
    padding: 5px;
    margin-right: 5px;
}

.write .inputbox input {
    max-width: 50%;
    width: 100%;
    text-align: center;
    background-color: var(--text);
    color: var(--bg);
    height: 33px;
}

.write .inputbox input:-moz-placeholder {
    color: var(--point);
    transition: color .4s;
}

.write .inputbox input::placeholder {
    color: var(--point);
    transition: color .4s;
}

.write .inputbox input:-ms-input-placeholder {
    color: var(--point);
    transition: color .4s;
}

.write .inputbox input::placeholder {
    color: var(--point);
    transition: color .4s;
}

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

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

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

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

.write .secret {
    position: relative;
    min-width: 33px;
    height: 33px;
}

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

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

.write input[name="secret"]:checked:after {
    content: "\f023";
    color: var(--bg);
}

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

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

.lst > ul {
    padding: 25px 0;
}

.lst > ul {
    border-bottom: 1px solid;
    border-color: var(--text);
}

#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;
}

.lst .pro,
.lst .name img[alt="BlogIcon"],
.lst .pro img[src*="profile_default"] {
    display: none;
}

.profile .lst .pro {
    display: inherit;
    align-self: flex-start;
}

.lst .pro {
    flex: 0 0 50px;
    height: 50px;
    margin-right: 15px;
    position: relative;
}

.lst .pro img[src*="profile_default"] + div {
    border: 1px solid;
    border-color: var(--text);
    background-color: var(--text);
    width: 100%;
    height: 100%;
    display: block;
}

.lst .pro img[src*="profileImg"] {
    border: 1px solid;
}

.lst .guest > div:last-child {
    flex-grow: 1;
}

.lst .text {
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.lst .info {
    display: flex;
    justify-content: space-between;
    color: var(--point);
    margin-top: 5px;
}

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

.lst .info a:hover {
    color: var(--text);
}

.lst .info .name {
    font-weight: bold;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lst .name:before,
.lst .name a:before {
    font-family: 'fontAwesome';
    margin-right: 5px;
}

.lst .rp_admin .info,
.lst .guest_admin .info {
    margin: 0;
}

.lst .rp_admin .name,
.lst .guest_admin .name {
    padding: 10px;
    background-color: var(--point);
    line-height: 1;
}

.lst .rp_admin .name a,
.lst .guest_admin .name a {
    color: var(--text);
}

.lst .rp_admin .name a:hover,
.lst .guest_admin .name a:hover {
    color: var(--bg) !important;
}

.lst .rp_admin .name a:before,
.lst .guest_admin .name a:before {
    content: '\f061';
    margin: 0;
}

.lst .rp_secret .name:before,
.lst .guest_secret .name:before,
.lst .hiddenComment .name:before {
    content: '\f023';
}

.lst .name .tistoryProfileLayerTrigger {
    background-image: none;
    width: auto;
    margin: 0;
    position: relative;
}

.lst .name .tistoryProfileLayerTrigger:after {
    content: '\f2bd';
    font-family: 'fontAwesome';
    font-size: .6em;
    color: inherit;
    transition: .4s;
    margin-left: 5px;
    display: flex;
}

.lst .info .cmt-btn {
    position: relative;
    font-size: .8rem;
}

.lst .info .cmt-btn i {
    display: inline-block;
    transition: .4s;
    margin-left: 10px;
    cursor: pointer;
}

.lst .info .cmt-btn .ti-eraser {
    vertical-align: middle;
}

.lst .info .cmt-btn .ti-more-alt {
    color: var(--point);
}

.lst .info .cmt-btn:hover .ti-more-alt {
    transform: rotate(90deg);
}

.lst .info .cmt-btn,
.lst .info .cmt-btn > ul,
.lst .date {
    display: flex;
    align-items: center;
}

.lst .info .cmt-btn > ul {
    overflow: hidden;
    white-space: nowrap;
    transition: opacity .4s ease-in-out, max-width 1s ease-in-out;
    opacity: 0;
    max-width: 0;
}

.lst .info .cmt-btn:hover > ul {
    opacity: 1;
    max-width: 300px;
}

.lst .date {
    cursor: default;
}

.lst .date a {
    visibility: hidden;
    font-size: 0;
    margin-left: 10px;
}

.lst .date a:after {
    content: "\e6c5";
    font-family: "themify";
    visibility: visible;
    font-size: .8rem;
    display: inline-block;
}

.lst .tt_more_preview_comments_text {
    background-color: var(--point);
    padding: 5px;
}

.lst .rp_admin .text,
.lst .guest_admin .text {
    background-color: var(--text);
    color: var(--point);
    padding: 10px;
}

.lst .rp_admin .text a,
.lst .guest_admin .text a {
    color: var(--point);
}

.lst .rp_admin .text a:hover,
.lst .guest_admin .text a:hover {
    color: var(--bg) !important;
}

.lst .rp_admin .text a:before,
.lst .guest_admin .text a:before {
    border-color: var(--point) transparent transparent transparent;
}

.lst .rp_admin .text a:hover:before,
.lst .guest_admin .text a:hover:before {
    border-color: var(--bg) transparent transparent transparent;
}

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

/* ---------------
    공지
--------------- */
.memonoti {
    border-bottom: 4px double;
}

.memonoti:last-child {
    border-bottom: 1px solid;
}

#tt-body-index:not(.side) .notibox,
#tt-body-index:not(.side) .notibox #main,
#tt-body-page:not(.side) .notibox,
#tt-body-page:not(.side) .notibox #main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#tt-body-index:not(.side) .notibox #main,
#tt-body-page:not(.side) .notibox #main {
    margin: auto;
    max-width: calc(100% / 3);
    width: 100%;
    border-left: 1px solid;
    border-right: 1px solid;
    flex-grow: 1;
}

body.notice .noti .title {
    padding: 0 !important;
}

/* ---------------
    태그 클라우드
--------------- */
#tt-body-tag:not(.side) #content,
#tt-body-tag:not(.side) #main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#tt-body-tag:not(.side) #main {
    margin: auto;
    width: calc(100% / 3);
    border-left: 1px solid;
    border-right: 1px solid;
    flex-grow: 1;
}

#tagcloud {
    padding: var(--padding);
}

#tagcloud ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

#tagcloud li {
    margin: 0 5px 5px 0;
}

#tagcloud a {
    margin: 0;
}

/* ---------------
    페이지네이션
--------------- */
.pagination {
    cursor: default;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid;
    border-bottom: 1px solid;
    margin-bottom: -1px;
    margin-top: -1px;
}

.pagination .prev,
.pagination .next {
    width: calc(var(--padding) * 2);
    height: 100%;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.pagination .prev,
.pagination .next,
.pagination .num {
    padding: var(--padding) !important;
}

.pagination .prev {
    border-right: 1px solid;
}

.pagination .next {
    border-left: 1px solid;
}

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

.pagination .num a {
    padding: 0 15px;
}

.pagination .num {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination a .selected {
    color: var(--point);
}

/* ================ 
*
*   사이드바
*
* ================ */
body:not(.side) #aside {
    display: none;
}

body.side #content {
    display: flex;
}

body.side #aside {
    overflow: hidden;
    position: relative;
    z-index: 9;
    border-right: 1px solid;
    width: calc(100% / 4);
}

body.side #aside + #main {
    width: calc(100% / 4 * 3);
}

body.side #aside .sticky {
    z-index: 9;
}

body.side.n2.myo_gal #aside,
body.side.hn2.myo_gal.hover #aside,
body.side.bn2.myo_bbs #aside,
body.side.wn2.myo_bbs.web #aside {
    width: calc(100% / 3);
}

body.side.n2.myo_gal #aside + #main,
body.side.hn2.myo_gal.hover #aside + #main,
body.side.bn2.myo_bbs #aside + #main,
body.side.wn2.myo_bbs.web #aside + #main {
    width: calc(100% / 3 * 2);
}

body.side.n3.myo_gal #aside,
body.side.hn3.myo_gal.hover #aside,
body.side.bn3.myo_bbs #aside,
body.side.wn3.myo_bbs.web #aside {
    width: calc(100% / 4);
}

body.side.n3.myo_gal #aside + #main,
body.side.hn3.myo_gal.hover #aside + #main,
body.side.bn3.myo_bbs #aside + #main,
body.side.wn3.myo_bbs.web #aside + #main {
    width: calc(100% / 4 * 3);
}

body.side.n4.myo_gal #aside,
body.side.hn4.myo_gal.hover #aside,
body.side.bn4.myo_bbs #aside,
body.side.wn4.myo_bbs.web #aside {
    width: calc(100% / 5);
}

body.side.n4.myo_gal #aside + #main,
body.side.hn4.myo_gal.hover #aside + #main,
body.side.bn4.myo_bbs #aside + #main,
body.side.wn4.myo_bbs.web #aside + #main {
    width: calc(100% / 5 * 4);
}

#aside #side > p:empty {
    display: none;
}

#aside #side {
    padding: var(--padding);
}

#aside #side:not(:last-child) {
    border-bottom: 1px solid;
}

#aside #side > p {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    cursor: default;
}

#aside #side > p:before {
    content: '';
    top: 0px;
    left: 0;
    text-align: left;
    display: inline-block;
    width: 0px;
    height: 5px;
    border-style: solid;
    border-width: 7px 7px 0 0;
    border-color: var(--text) transparent transparent transparent;
    margin-right: 10px;
    transition: .4s;
}

#aside #side #myoskin {
    display: block;
}

body #aside #side:not(.counter) li {
    display: list-item;
    list-style: disc inside;
}

#aside #side li {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    vertical-align: middle;
}

#side li .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
    display: inline-block;
    vertical-align: middle;
    padding-right: 15px;
}

#side li .cnt {
    float: right;
    font-size: .85em;
    vertical-align: middle;
    line-height: 26px;
}

#aside #side .info .cnt > span:not(:empty):before {
    content: '+';
    margin-right: 5px;
}

#aside #side .info .cnt > span:empty {
    display: none;
}

body:not(.myo-side-thum) #aside #side .myo_gal li:after {
    display: none;
}

body.myo-side-thum #aside #side .myo_gal li {
    list-style: none;
    display: block;
    border-bottom: 1px solid;
}

body.myo-side-thum #aside #side .myo_gal li:after {
    border-right: 1px solid;
}

body.myo-side-thum #aside #side .myo_gal li:nth-child(2n):after {
    border-right: 0;
}

body.myo-side-thum #aside #side #myoskin.myo_gal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    border: 1px solid;
}

body.myo-side-thum #aside .myo_gal .item:nth-child(2n):after {
    display: none;
}

body.myo-side-thum #aside .myo_gal .item:nth-last-child(-n+2):nth-child(2n+1),
body.myo-side-thum #aside .myo_gal .item:nth-last-child(-n+1):nth-child(2n+2) {
    border-bottom: 0 !important;
}

body.myo-side-thum #aside .myo_gal .item .thumbox img {
    width: 100%;
}

body.myo-side-thum #aside .myo_gal .item .thumbox:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg);
    opacity: 0.3;
    filter: brightness(70%);
    transition: .4s;
}

body.myo-side-thum #aside .myo_gal .item .info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20%;
    opacity: 0;
    transition: opacity .4s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

body.myo-side-thum #aside .myo_gal .item .info:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg);
    opacity: .8;
    z-index: -1;
}

body.myo-side-thum #aside .myo_gal .item.you:hover .thumbox:after,
body.myo-side-thum #aside .myo_gal .item.you .info {
    display: none;
}

body.myo-side-thum #aside .myo_gal .item .title {
    max-width: 100%;
    font-weight: bold;
    padding: 0;
}

body.myo-side-thum #aside .myo_gal .item .cnt {
    font-size: 0.3em;
    line-height: 1.5;
    background-color: var(--text);
    position: absolute;
    right: 10px;
    top: 0;
    width: 30px;
    z-index: 9;
    padding: calc(var(--padding) / 2) .5em 1em;
    text-align: center;
    display: inline-block;
    color: var(--bg);
}

body.myo-side-thum #aside .myo_gal .item .cnt:after {
    content: '';
    position: absolute;
    border-left: 15px solid var(--text);
    border-right: 15px solid var(--text);
    border-bottom: 10px solid transparent;
    bottom: -9px;
    height: 0;
    left: 0;
    width: 0;
}

body.myo-side-thum #aside .myo_gal .item:hover .info {
    opacity: 1;
}

/* ---------------
    사이드바 - 캘린더
--------------- */
/* 달력 월 표시 */
.cal_month {
    margin-bottom: 10px;
    cursor: default;
    padding: 0px 6%;
    font-size: .95em;
}

.cal_month .prev {
    float: left;
}

.cal_month .next {
    float: right;
}

.cal_month .ym {
    letter-spacing: 2px;
    color: var(--point);
}

/* 달력 요일 표시(th 영역) */
.cal_week1 {
    padding: 2px 0 0;
}

/* 달력 일요일 표시(th 영역) */
.cal_week2 {
    color: var(--point);
    padding: 2px 0 0;
}

/* 달력 Day(td 영역) */
.cal_day {
    text-align: center;
    cursor: default;
    font-size: .95em;
}

/* 달력 Day, 일요일 (td 영역) */
.cal_day_sunday {
    color: var(--point);
}

.cal_day_sunday a {
    color: var(--point);
}

/* 달력 지난 달 날짜 표시(td) */
.cal_day1 {}

/* 달력 다음 달 날짜 표시(td) */
.cal_day2 {}

/* 달력 이번 달 날짜 표시(td) */
.cal_day3 {}

/* 달력 오늘 날짜 표시(td) */
.cal_day4 {
    position: relative;
    z-index: 1;
    border: 1px solid;
    border-color: var(--text);
}

/* 달력 글쓴 날 링크 스타일 */
a.cal_click:link {
    transition: .4s;
    color: var(--point);
}

a.cal_click:visited {
    color: var(--point);
    transition: .4s;
}

a.cal_click:hover {
    color: var(--point) !important;
}

/* ---------------
    사이드바 - 방문자 수
--------------- */
#side.counter .today {
    font-size: 1.5em;
    display: block !important;
    margin-bottom: 10px;
}

#side.counter li span:last-child {
    float: right;
}

/* ---------------
    사이드바 - 태그 클라우드
--------------- */
#side.tagbox a {
    margin-bottom: 5px;
    white-space: nowrap;
    display: inline-block;
    line-height: 1;
}

#side.tagbox a:not(:last-child):after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 1px;
    height: 5px;
    background-color: var(--text);
    margin: 0 10px;
    transform: rotate(45deg);
}

/* ---------------
    사이드바 - 트위터 위젯
--------------- */
#side.twt > ul {
    height: 20vh;
    max-height: 300px;
    overflow: hidden;
    overflow-y: auto;
    border: 1px solid;
}

/* ================ 
*
*   푸터
*
* ================ */
#footer {
    position: relative;
    min-height: calc(var(--padding) * 2);
    width: 100%;
    border-top: 1px solid;
    border-color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--padding);
    overflow: hidden;
}

/* sns */
.sns {
    cursor: default;
    display: flex;
    font-size: 1.1em;
    line-height: 1;
}

.sns li {
    margin: 0 3px;
    margin-bottom: 25px;
}

.sns a {
    padding: 5px;
}

/* 짧은 글 */
.intro {
    letter-spacing: 2px;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 카피라이트 */
.mcopy li:first-child {
    font-size: .9em;
}

/* ================ 
*
*   기타
*
* ================ */
.ad {
    border-bottom: 1px solid;
    margin-bottom: -1px;
}

.ad:empty {
    display: none;
}

/* 부드러운 화면 전환 */
.smooth-screen #caseBlanche {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg);
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smooth-screen #caseBlanche > div {
    animation: fadein 1000ms ease-out;
    -moz-animation: fadein 1000ms ease-out;
    -webkit-animation: fadein 1000ms ease-out;
    -o-animation: fadein 1000ms ease-out;
}

.smooth-screen #caseBlanche #rond,
.smooth-screen #caseBlanche #rond2 {
    height: 20px;
    width: 20px;
    border: 1px solid var(--text);
    position: absolute;
    animation: rond 2s infinite;
    -webkit-animation: rond 2s infinite;
}

.smooth-screen #caseBlanche #rond2 {
    position: absolute;
    transform: rotate(45deg);
    animation: rond2 4s infinite;
    -webkit-animation: rond2 4s infinite;
}

@keyframes rond {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rond {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes rond2 {
    0% {
        transform: rotate(15deg);
    }

    100% {
        transform: rotate(380deg);
    }
}

@-webkit-keyframes rond2 {
    0% {
        -webkit-transform: rotate(15deg);
    }

    100% {
        -webkit-transform: rotate(380deg);
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
    }
}

/* 새 글 아이콘 */
.new {
    color: var(--point);
    margin-left: 5px;
    font-size: .7em;
    animation: twinkle 1500ms steps(30, end) infinite;
    font-weight: normal;
    vertical-align: middle;
}

@keyframes twinkle {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* 탑버튼 */
.top {
    display: none;
    position: fixed;
    right: 25px;
    bottom: var(--padding);
    transform: translateY(50%);
    z-index: 999;
    font-size: 2rem;
    line-height: 1;
    text-align: center;
    cursor: pointer;
}

/* 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 {
    bottom: 10px;
    right: 10px;
    font-size: 8px;
    text-align: center;
}

/* ---------------
    커버 영역
--------------- */
#tt-body-index.side.cover #aside.s3 {
    width: calc(100% / 3);
}

#tt-body-index.side.cover #aside.s3 + #main {
    width: calc(100% / 3 * 2);
}

#tt-body-index.side.cover #aside.s4 {
    width: calc(100% / 4);
}

#tt-body-index.side.cover #aside.s4 + #main {
    width: calc(100% / 4 * 3);
}

#tt-body-index.side.cover #aside.s5 {
    width: calc(100% / 5);
}

#tt-body-index.side.cover #aside.s5 + #main {
    width: calc(100% / 5 * 4);
}

#cover {
    display: flex;
    flex-wrap: wrap;
}

#cover section {
    width: 100%;
    overflow: hidden;
    border-bottom: 3px double;
    border-color: var(--text);
}

#cover section:last-child {
    margin-bottom: -1px;
    border-bottom: 1px solid;
}

#cover .c-title {
    position: relative;
    border-bottom: 1px solid;
    padding: var(--padding);
    height: calc(var(--padding) * 2);
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: default;
    width: 100%;
}

#cover .c-title:before,
#cover .c-title:after {
    content: '';
    position: absolute;
}

#cover .c-title:before {
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 15px 15px 0 0;
    border-color: var(--text) transparent transparent transparent;
}

#cover .c-title:after {
    bottom: 0;
    right: 0;
    border-style: solid;
    border-width: 0 0 15px 15px;
    border-color: transparent transparent var(--text) transparent;
}

#cover .c-title:empty {
    display: none;
}

#cover #c-slider2 #myoskin,
#cover #c-slider3 #myoskin,
#cover #c-ins #myoskin {
    display: block;
}

#cover #c-slider2 #myoskin .item,
#cover #c-slider3 #myoskin .item {
    display: inline-flex !important;
    border-bottom: 1px solid;
}

#cover #c-slider2 .myo_bbs.web .text,
#cover #c-slider3 .myo_bbs.web .text {
    height: 115px;
}

#cover #c-slider2 .myo_bbs.web .info + .text:empty,
#cover #c-slider3 .myo_bbs.web .info + .text:empty {
    display: block;
}

#cover #c-slider2 .myo_bbs.web .item,
#cover #c-slider2 .slick-slide > div:last-child .item,
#cover #c-slider3 .slick-slide > div:last-child .item {
    margin-bottom: -1px;
}

#cover .myo_gal .item .info .title {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 슬라이드1 */
#c-slider {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#c-slider > ul {
    flex-grow: 1;
    height: 55vh;
}

#c-slider > ul div {
    height: 100%;
}

#c-slider > div {
    position: relative;
    overflow: hidden;
}

#c-slider .slick-dots {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10%;
    z-index: 6;
    opacity: 0;
    transition: .4s;
}

#c-slider .slick-dots li {
    display: block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    width: 10px;
    height: 10px;
    background-color: var(--text);
    border-radius: 100%;
    padding: 0;
    margin: 20px 0;
    cursor: pointer;
    position: relative;
    opacity: 0.4;
    transition: opacity 0.2s ease-in-out;
    outline: none;
}

#c-slider .slick-dots li:hover {
    opacity: 1;
}

#c-slider .slick-dots li:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: 1px solid var(--text);
    opacity: 0;
    transition: opacity 0.4s ease-in-out, width 0.4s ease-in-out, height 0.4s ease-in-out;
}

#c-slider .slick-dots li.slick-active {
    opacity: 1;
}

#c-slider .slick-dots li.slick-active:before {
    width: 300%;
    height: 300%;
    opacity: 0.5;
}

#c-slider .slick-dots li button {
    text-indent: -9999px;
}

#c-slider .item {
    vertical-align: top;
    position: absolute;
    top: 0;
    left: 0;
}

#c-slider .item .thumbox {
    width: 100%;
    height: 100%;
}

#c-slider .item .thumbox:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg);
    opacity: 0.3;
    transition: .4s;
}

#c-slider .thum,
#c-slider .noimg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

#c-slider .info {
    position: absolute;
    top: 50%;
    left: 10%;
    max-width: 30%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
    transition: opacity .4s;
    color: var(--text);
    height: auto;
    opacity: 0;
}

#c-slider:hover .thumbox:after {
    opacity: .7;
    backdrop-filter: blur(5px);
}

#c-slider:hover .info,
#c-slider:hover .slick-dots {
    opacity: 1;
}

#c-slider .info .cate {
    margin-bottom: 5px;
    letter-spacing: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#c-slider .info .cate:after {
    content: '';
    height: 1px;
    width: 100%;
    max-width: 10%;
    background-color: var(--text);
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

#c-slider .info .title {
    outline: none;
    font-size: 2.5em;
    line-height: 1.3;
    font-weight: bold;
    letter-spacing: 2px;
    overflow: hidden;
    max-height: 84px;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: auto;
}

/* 커버 공지 */
#c-notice {
    position: relative;
}

#c-notice .textbox {
    padding: var(--padding);
}

#c-notice .textbox a:not([href^='http']) {
    display: none;
}

#c-notice .text-item {
    padding: 0;
}

#c-notice .textbox a {
    vertical-align: middle;
    position: relative;
    text-decoration: none;
    font-size: .85em;
    line-height: 1;
    margin-top: 25px;
    display: inline-block;
}

#c-notice .textbox a:before {
    content: '';
    top: 0;
    left: 0;
    text-align: left;
    display: inline-block;
    width: 0px;
    height: 0.4em;
    border-style: solid;
    border-width: .4em .4em 0 0;
    border-color: var(--text) transparent transparent transparent;
    margin-right: 5px;
    transition: .4s;
}

#c-notice .textbox a:hover:before {
    border-color: var(--point) transparent transparent transparent;
}

#c-notice .slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

#c-notice .slick-dots li {
    width: 7px;
    height: 7px;
    margin: 0 5px;
    background-color: var(--text);
    border-radius: 10px;
    opacity: 0.5;
    transition: .4s;
    cursor: pointer;
}

#c-notice .slick-dots li.slick-active {
    opacity: 1
}

#c-notice .slick-dots li:hover {
    background-color: var(--point);
}

#c-notice .slick-dots button {
    text-size: 0;
    text-indent: -9999px;
    overflow: hidden;
}

/* 커버 갤러리형 - 마우스 오버 */
body.hn2 #cover #c-gal2 .item:nth-last-child(-n+2):nth-child(2n+1),
body.hn2 #cover #c-gal2 .item:nth-last-child(-n+1):nth-child(2n+2),
body.hn3 #cover #c-gal2 .item:nth-last-child(-n+3):nth-child(3n+1),
body.hn3 #cover #c-gal2 .item:nth-last-child(-n+2):nth-child(3n+2),
body.hn3 #cover #c-gal2 .item:nth-last-child(-n+1):nth-child(3n+3),
body.hn4 #cover #c-gal2 .item:nth-last-child(-n+4):nth-child(4n+1),
body.hn4 #cover #c-gal2 .item:nth-last-child(-n+2):nth-child(4n+2),
body.hn4 #cover #c-gal2 .item:nth-last-child(-n+1):nth-child(4n+3),
body.hn4 #cover #c-gal2 .item:nth-last-child(-n+1):nth-child(4n+4) {
    margin-bottom: -1px;
}

/* 커버 트위터 위젯 */
#cover #c-twt {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

#cover #c-twt > ul {
    height: 30vh;
    overflow: hidden;
    overflow-y: auto;
    overflow-x: hidden;
    flex-grow: 1;
}

/* 커버 인스타그램 */
#c-ins .myo_gal .item {}

#c-ins .myo_gal .item .thumbox {
    margin: 0 !important;
}

#c-ins .myo_gal .item .thumbnail {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

#c-ins .myo_gal .item .thumbnail .centered {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transform: translate(50%, 50%);
    -ms-transform: translate(50%, 50%);
    transform: translate(50%, 50%);
}

#c-ins .myo_gal .item .centered img {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    transition: .4s;
}

#c-ins .myo_gal .item .centered img.portrait {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
}

#c-ins .myo_gal .item .centered img.landscape {
    width: auto !important;
    max-width: none !important;
    height: 100% !important;
}

#c-ins .myo_gal .item:hover .centered img {
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

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

    #cover .cover-left,
    #cover .cover-left + section {
        width: calc(100% / 2);
    }

    #cover .cover-left {
        border-right: 1px solid;
        border-color: var(--text);
    }

    #cover .cover-left,
    #cover .cover-left > ul {
        height: auto;
        overflow: hidden;
    }

    #cover .cover-left + section #myoskin {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: -1px;
        position: relative;
    }

    #cover .cover-left + section #myoskin:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1;
        border-bottom: 1px solid;
    }

    #cover .cover-left + section:not(#c-slider2):not(#c-slider3) .item:after {
        border-right: 1px solid;
    }

    #cover .cover-left.n2 {
        width: calc(100% / 2);
    }

    #cover .cover-left.n2 + section {
        width: calc(100% / 2);
    }

    #cover .cover-left.n3 {
        width: calc(100% / 3 * 2);
    }

    #cover .cover-left.n3 + section {
        width: calc(100% / 3);
    }

    #cover .cover-left.n4 {
        width: calc(100% / 4 * 3);
    }

    #cover .cover-left.n4 + section {
        width: calc(100% / 4);
    }

    #cover .cover-left + .cover-left {
        border-right: 0;
    }

    #cover .cover-left + .cover-left + section {
        width: 100%;
    }
}

@media screen and (min-width: 801px) {
    .mo {
        display: none !important;
    }
}

/* 태블릿 */
@media screen and (max-width: 800px) {

    .pc,
    #tt-body-index.side.cover #aside.s5,
    body.side.n4.myo_gal #aside,
    body.side.hn4.myo_gal.hover #aside,
    body.side.bn4.myo_bbs #aside,
    body.side.wn4.myo_bbs.web #aside {
        display: none;
    }

    #tt-body-index.side.cover #aside.s5 + #main,
    body.side.n4.myo_gal #aside + #main,
    body.side.hn4.myo_gal.hover #aside + #main,
    body.side.bn4.myo_bbs #aside + #main,
    body.side.wn4.myo_bbs.web #aside + #main {
        width: 100% !important;
    }

    #header {
        position: fixed;
    }

    .page_cover.open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--text);
        opacity: 0.8;
        z-index: 999 !important;
        margin: 0 !important;
        backdrop-filter: blur(30px);
        cursor: pointer;
    }

    body.side .catebox > div:last-child {
        width: calc(100% / 4);
    }

    .catebox > div:last-child {
        width: calc(100% / 3);
        overflow: hidden !important;
        height: 100%;
        position: fixed !important;
        top: 0px;
        left: -75%;
        margin: 0;
        z-index: 999999 !important;
        transition: All 0.2s ease;
        -webkit-transition: All 0.2s ease;
        -moz-transition: All 0.2s ease;
        -o-transition: All 0.2s ease;
        background-color: var(--bg);
        text-align: inherit;
        line-height: 1;
        border-right: 1px solid;
    }

    .catebox > div:last-child.open {
        left: 0;
    }

    .catebox > div:last-child .scroll {
        width: calc(100% + 5px);
        height: 100%;
        overflow-y: scroll;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .catebox > div:last-child .scroll > div:first-child > * {
        padding: var(--padding) 0;
        border-bottom: 1px solid;
    }

    .catebox a {
        padding-left: var(--padding);
        padding-right: var(--padding);
        padding: calc(var(--padding) / 3 * 2) var(--padding);
        display: block;
        transition: .4s;
    }

    .catebox .link_item:not(:only-child):after {
        position: absolute;
        right: var(--padding);
    }

    .catebox .category_list > li:hover .link_item,
    .catebox .blogmenu a:hover,
    .catebox .cate a:hover,
    .catebox .link_tit:hover,
    .catebox .blogmenu a.on,
    .catebox .cate a.on,
    .catebox .link_tit.on,
    .catebox .category_list > li.open .link_item,
    .catebox .category_list > li.onbox .link_item {
        background-color: var(--text);
        color: var(--point);
    }

    .catebox .blogmenu a,
    .catebox .cate a,
    .catebox .link_tit,
    .catebox .category_list > li .link_item {
        border-top: 1px solid;
        border-bottom: 1px solid;
        border-color: transparent;
    }

    .catebox .blogmenu a:hover,
    .catebox .cate a:hover,
    .catebox .link_tit:hover,
    .catebox .category_list > li:hover .link_item {
        border-color: var(--point);
    }

    .catebox .sub_category_list {
        background-color: var(--point);
    }

    .catebox .category_list > li.open .link_item:hover,
    .catebox .link_sub_item.on,
    .catebox .link_sub_item:hover,
    .catebox .category_list > li.onbox .link_item:hover {
        color: var(--bg);
    }

    .theme {
        position: relative;
        padding: var(--padding);
        display: flex;
        align-items: center;
        cursor: default;
    }

    .theme a {
        position: relative;
        width: auto;
        display: flex;
        align-items: center;
    }

    .theme a {
        right: auto;
        left: 0;
        width: auto;
        position: static;
        display: block !important;
        transform: none;
        padding: 0;
    }

    .theme-dark .theme .fa-sun-o,
    .theme-light .theme .fa-moon-o {
        opacity: .5;
    }

    .theme.pc {
        display: none;
    }

    .theme .toggle {
        cursor: pointer;
        text-indent: -9999px;
        width: 34px;
        height: 19px;
        background: var(--text);
        display: block;
        border-radius: 100px;
        position: relative;
        margin: 0 10px;
    }

    .theme .toggle:after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 15px;
        height: 15px;
        background: var(--point);
        border-radius: 90px;
        transition: 0.3s;
    }

    .theme-dark .theme .toggle:after {
        left: calc(100% - 2px);
        transform: translateX(-100%);
    }

    #article .post:not(.pass) {
        grid-template-areas: "pleft pleft pleft"
            "pright pright pright" !important;
    }

    #tt-body-page #article .postright > div > div:first-child {
        border-top: 0;
    }

    #article .postright > div {
        position: static;
        margin-bottom: -1px;
    }

    #tt-body-index:not(.side) .notibox #main,
    #tt-body-page:not(.side) .notibox #main,
    #tt-body-guestbook:not(.side) #main {
        max-width: 100%;
        border-left: 0;
        border-right: 0;
    }

    #article .postright,
    #article .postright > div > div:first-child {
        border-top: 1px solid;
        margin-top: -1px;
    }
}

/* 모바일 */
@media screen and (max-width: 425px) {
    :root {
        --padding: 7vw;
    }

    #aside {
        display: none;
    }

    #aside + #main,
    #tt-body-tag #main {
        width: 100% !important;
        border: 0 !important;
    }

    body {
        background-image: none;
    }

    .mbg {
        position: fixed;
        display: block;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-size: cover;
        background-position: center center;
        z-index: -1;
    }

    #header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #header .catebox,
    #header .right {
        flex: 1 1 0;
    }

    #header .title span {
        font-size: 1.4rem;
    }

    .catebox > div:last-child {
        width: calc(100% / 3 * 2) !important;
    }

    #content {
        border: 0 !important;
    }

    #myoskin,
    #article .post {
        grid-template-columns: repeat(2, minmax(calc(100% / 2), 1fr)) !important;
    }

    #myoskin .item:after {
        border-right: 1px solid;
    }

    #myoskin .item:nth-child(2n):after {
        display: none !important;
    }

    #c-slider2 #myoskin .slick-slide.slick-current + div .item:after,
    #c-slider3 #myoskin .slick-slide.slick-current + div .item:after,
    #article .postleft {
        border: 0;
    }

    #cover #c-gal2 .item {
        margin-bottom: 0 !important;
    }

    #cover #c-gal2 .item:nth-last-child(-n+2):nth-child(2n+1),
    #cover #c-gal2 .item:nth-last-child(-n+1):nth-child(2n+2) {
        margin-bottom: -1px !important;
    }
}

