@charset "utf-8";

/* 웹폰트 */
@import url('https://fonts.googleapis.com/css?family=Grand+Hotel|Lato|Nanum+Pen+Script|Noto+Sans+KR|Righteous');

/* 전체 폰트 */
html,
th,
td,
input,
select,
textarea,
button,
#tt-body-page blockquote,
#tt-body-page blockquote p,
#tt-body-page blockquote[data-ke-style='box'],
#tt-body-page div[data-ke-type='moreLess'] .btn-toggle-moreless,
figure figcaption,
figure[data-ke-type='video'] figcaption,
code  {
    font-family: 'Lato', 'Noto Sans KR', sans-serif;
    line-height: 1.7;
    font-size: 11px;
}

/* CSS리셋 */
html,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
figure {
    margin: 0;
    padding: 0;
    outline: 0;
}

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

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

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

input,
select,
textarea,
button {
    font-size: 100%;
    border-radius: 0;
    background: transparent;
    border: 0;
}

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

ul,
li {
    list-style: none;
}

img,
fieldset {
    border: none;
    vertical-align: top;
}

iframe,
embed {
    width: 100%;
}

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

table {
    border-spacing: 1px 0;
}

hr {
    display: none;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

h2 {
    font-size: 1.5rem;
} 

h3 {
    font-size: 1.17rem;
} 

h4 {
    font-size: inherit;
}

/* 기본 설정 */
body {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

a {
    text-decoration: none;
    transition: color .5s;
}

a:hover {}

/* 스크롤바 */
::-webkit-scrollbar {
    width: 0;
    height: 5px;
    background: transparent;
}

/* 전체 박스 */
#container {
    width: 450px;
    height: 817px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 40px;
    overflow: hidden;
    animation: fadein 2000ms ease-out;
    -moz-animation: fadein 2000ms ease-out;
    -webkit-animation: fadein 2000ms ease-out;
    -o-animation: fadein 2000ms ease-out;
}

#container:after {
    opacity: 0.5;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    display: block;
    z-index: -1;
}

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

/* 헤더 */
#header {
    height: 48px;
    padding: 10px 20px;
    border-bottom: 1px solid;
    text-align: center;
    display: table;
    width: 100%;
}

#header .camera,
#header .plane {
    width: 10%;
    display: table-cell;
    vertical-align: middle;
    line-height: 1;
    transition: color .5s;
}

#header .camera > i,
#header .plane i {
    cursor: pointer;
    font-size: 1.5rem;
    display: block;
    padding: 5px 0;
}

#header .title {
    width: 80%;
    font-family: 'Grand Hotel', 'Nanum Pen Script', cursive;
    font-size: 2.3rem;
    font-weight: bold;
    display: table-cell;
    line-height: 1;
}

#header .title a {
    vertical-align: middle;
}

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

/* 카테고리 드롭메뉴 */
#header .camera .drop {
    position: absolute;
    padding: 10px;
    border: 1px solid;
    overflow: hidden;
    border-radius: 10px;
    z-index: 99;
    display: none;
    text-align: left;
    line-height: 1.7;
}

/* sns */
.sns {
    margin: 5px 0;
    letter-spacing: 2px;
}

/* 페이지 */
.paging {
    border-top: 1px solid;
    letter-spacing: 5px;
    padding-top: 5px;
}

/* 카테고리 */
.category,
.catemenu {
    padding-bottom: 5px;
    border-bottom: 1px solid;
}

.category .link_tit {
    display: none;
}

.category .category_list > li:hover .sub_category_list,
.category .category_list > li.hover .sub_category_list {
    max-height: 500px;
    transition: max-height 2s;
}

.category .sub_category_list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s;
}

.category a.link_item:before,
.catemenu li a:before {
    content: '\f07b';
    font-family: FontAwesome;
    font-size: 0.8rem;
    margin-right: 3px;
}

.sub_category_list a:before {
    content: '\f0d7';
    font-family: FontAwesome;
    font-size: 0.8rem;
    margin-right: 3px;
}

/* 메인 영역 */
#content {
    height: calc(100% - 94px);
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: auto;
}

.myoskin:after {
    display: block;
    clear: both;
    content: '';
    overflow: auto;
}

/* 목록 상단 */
.searchList {
    padding: 15px 0;
    border-bottom: 1px solid;
}

.searchList .left {
    display: inline-block;
    width: 140px;
    vertical-align: middle;
}

.searchList .logo {
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 100%;
    border: 1px solid;
}

.searchList .right {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 145px);
    cursor: default;
}

.searchList .right > div {
    width: 31%;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

.searchList .right .info {
    font-weight: bold;
    font-size: 1.1rem;
}

.searchList .right .name {
    margin-top: 10px;
    width: 95%;
    border-radius: 10px;
    border: 1px solid;
    padding: 5px;
}

.searchList .intro {
    margin: 10px 20px 0;
}

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

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

/* 목록 공통 */
.myoskin .item a {
    display: block;
}

.myoskin .item img {
    width: 100%;
}

/* 갤러리형 */
#myo_gal .item {
    float: left;
    width: 32.6%;
    margin: 0 1% 1% 0;
    position: relative;
}

#myo_gal .item:nth-child(3n) {
    margin-right: 0;
}

#myo_gal .item .info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    -ms-display: flexbox;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity .5s;
    padding: 10px;
    margin: 0;
    color: #fff;
    background: url(./images/hover.png);
}

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

#myo_gal .item .info .title {
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 112px;
    text-overflow: ellipsis;
    padding: 2px 5px;
}

#myo_gal .item .cate,
#myo_gal .item .date {
    display: none;
}

/* 목록형 */
#myo_bbs .item {
    border-bottom: 1px dotted;
    padding: 14.7px 20px;
    position: relative;
}

#myo_bbs .item:last-child {
    border: 0;
}

#myo_bbs .item .thumbox {
    display: inline-block;
    vertical-align: middle;
}

#myo_bbs .item img {
    border-radius: 100px;
    width: 70px;
    margin-right: 15px;
}

#myo_bbs .item .info {
    vertical-align: middle;
    display: inline-block;
    width: calc(100% - 90px);
}

#myo_bbs .item:hover .cate:before {
    content: '\f0da';
    font-family: FontAwesome;
    margin-right: 4px;
}

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

#myo_bbs .item .cate,
#myo_bbs .item .date {
    font-size: 0.8rem;
}

/* 보호글 */
.pass {
    width: 200px;
    margin: 25vh auto;
}

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

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

.pass button {
    width: 100%;
    border: 0;
    letter-spacing: 3px;
    padding: 10px;
    font-weight: bold;
}

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

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

/* 본문 상단 */
.titletop {
    padding: 7px 20px;
}

.titletop > div {
    display: inline-block;
    vertical-align: middle;
}

.titletop .logo {
    border-radius: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 35px;
    height: 35px;
    border: 1px solid;
}

.titletop .name {
    margin-left: 10px;
    font-weight: bold;
}

.titletop .more {
    float: right;
    font-size: 1.5rem;
    line-height: 35px;
}

.article {
    margin: 10px 10px 0;
}

/* 본문 */
.text-item {}

/* 본문 타이틀 */
.titlebox {
    line-height: 2;
}

.titlebox i {
    text-align: center;
    padding: 5px 10px 0 0;
    font-size: 20px;
    margin-bottom: 10px;
}

.titlebox .fa-heart {
    color: #f00;
}

.titlebox i:last-of-type {
    float: right;
}

.titlebox .info .blogger {
    font-weight: bold !important;
    margin-right: 10px !important;
}

.titlebox .title {
    margin-bottom: 10px;
}

.titlebox .cate {
    display: inline-block;
    margin-right: 7px;
}

.titlebox .date {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    display: inline-block;
    margin-right: 10px;
}

.titlebox .admin {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    display: inline-block;
}

.titlebox .admin a {
    margin-right: 10px;
}

.titlebox .cate a:before,
.titlebox .date:before,
.titlebox .admin a:before,
.tags a:before {
    content: '#';
}

/* 인용구 */
.tx-quote-tistory:before {
    content: "\e67f";
    font-family: 'themify';
    position: absolute;
    left: 0;
    top: 0;
}

.tx-quote-tistory {
    position: relative;
    height: auto;
    padding: 20px 0 0 7%;
    font-style: italic;
}

.tx-quote-tistory p {
    font-size: inherit;
}
   
/* 더보기 */
.btn_more:before,
.btn_less span:before,
.moreless_fold:before,
.moreless_top:before,
.moreless_bottom:before {
    content: "\f107";
    font-family: 'fontAwesome';
    margin-right: 5px;
}

.btn_less:last-child span:before,
.moreless_bottom:before {
    content: "\f106";
}

.moreless_content {
    position: relative;
    height: auto;
    margin: 3px 0;
    padding: 10px;
}

.moreless_content:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    z-index: -1;
}

/* 링크 */
.article .tx-link:before {
    content: "\f0c1";
    font-family: 'fontAwesome';
    margin-right: 5px;
}

.article .tx-link.imgblock:before {
    display: none;
}

/* 파일 첨부 */
.article .imageblock > a > img {
    display: none;
}

.article .imageblock > a:before {
    content: "\f019";
    font-family: 'fontAwesome';
    margin-right: 5px;
}

/* 신고 버튼 */
.container_postbtn .postbtn_like label:first-child {
    padding-left: 0 !important;
}

/* 본문 하단 태그 */
.tags {
    color: transparent;
}

.tags a {
    margin-right: 10px;
}

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

.morebox {
    margin: 20px 0;
    overflow: hidden;
}

.morebox:after {
    content: '';
    display: block;
    clear: both;
    overflow: hidden;
}

.morebox h3 {
    display: none;
}

.morebox a {
    display: block;
}

/* 카테고리 글 더보기 갤러리형 */
#more_gal .more-item {
    float: left;
    width: 24.25%;
    margin-right: 1%;
}

#more_gal .more-item:last-child {
    margin-right: 0;
}

#more_gal .more-item .thumbox {
    border-radius: 100%;
    padding: 5%;
    border: 1px solid;
    overflow: hidden;
}

#more_gal .more-item img {
    width: 100%;
    border-radius: 100%;
}

#more_gal .more-item .title {
    text-align: center;
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#more_gal .more-item .date {
    display: none;
}

/* 카테고리 글 더보기 목록형 */
#more_bbs .more-item {
    padding: 10px 0;
    border-bottom: 1px solid;
}

#more_bbs .more-item .title,
#more_bbs .more-item .date {
    display: inline-block;
    vertical-align: middle;
}

#more_bbs .more-item .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: calc(100% - 60px);
}

#more_bbs .more-item .date {
    float: right;
}

#more_bbs .more-item .thumbox {
    display: none;
}

/* 댓글 오픈 */
.opencmt {
    margin: 10px 0;
}

/* 댓글, 방명록 작성 */
.write #secret {
    display: none;
}

.write input + label:after {
    content: "\f09c";
    font-family: "FontAwesome";
}

.write input:checked + label:after {
    content: "\f023";
    font-family: "FontAwesome";
}

.write .secret {
    margin-right: 10px;
    white-space: nowrap;
    vertical-align: top;
}

.write {
    border-top: 1px solid;
    padding: 10px;
}

.write .input {
    margin-bottom: 10px;
}

.write textarea {
    min-width: 85%;
    max-width: 95%;
    height: 30px;
    transition: height .5s;
    vertical-align: top;
}

.write textarea:focus {
    height: 80px;
}

.write button {
    width: 9%;
    float: right;
}

#tt-body-guestbook .write {
    position: absolute;
    left: 0;
    bottom: 46px;
    width: 100%;
}

#tt-body-guestbook .write i,
#tt-body-guestbook .write input + label:after,
#tt-body-guestbook .write input:checked + label:after {
    font-size: 2rem;
}

#tt-body-guestbook .write textarea {
    width: 79.3%;
    min-width: unset;
    max-width: unset;
    vertical-align: top;
}

.blank iframe {
    display: none;
}

/* 댓글 목록 */
#tt-body-page .lst {
    margin: 10px;
}

.lst {
    padding-top: 10px;
}

.lst li {
    position: relative;
    margin-bottom: 30px;
}

.lst .name {
    font-weight: bold;
    margin-right: 5px;
}

.lst .nopro,
.lst .name img {
    display: none;
}

.lst .admin {
    margin-top: 5px;
    display: inherit;
}

.lst .date a,
.lst .admin a {
    margin-left: 10px;
}

.rp_admin .name:before,
.guest_admin .name:before {
    content: "\f005";
    font-family: 'fontAwesome';
    margin-right: 3px;
}

.rp_secret .name:before,
.guest_secret .name:before,
.hiddenComment .name:before {
    content: "\f023";
    font-family: 'fontAwesome';
    margin-right: 3px;
}

.lst .reply {
    margin-left: 45px;
}

/* 방명록 목록 */
#tt-body-guestbook #content {
    padding: 10px;
}

.glst > ul {
    clear: both;
    border-bottom: 1px solid;
    padding: 3vh 0;
}

.glst > ul:last-child {
    margin-bottom: 90px;
    border: 0;
}

.glst li {
    display: inline-block;
    border: 1px solid;
    border-radius: 15px;
    padding: 10px;
    max-width: 80%;
    position: relative;
}

.glst .name {
    font-weight: bold;
    margin-right: 5px;
}

.glst .admin {
    margin-top: 5px;
    font-size: .8rem;
}

.glst .date a,
.glst .admin a {
    margin-left: 10px;
}

.glst .name img {
    display: none;
}

.glst .reply {
    margin-top: 3vh;
}

.glst .guest_admin {
    float: right;
    margin-left: 0;
    border: 0;
}

.clear {
    clear: both;
}

/* 프로필 사진 */
.pro .name img,
.pro .nopro {
    position: absolute;
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 100%;
    display: inline-block;
}

#tt-body-guestbook.pro .name img,
#tt-body-guestbook.pro .nopro  {
    left: -45px;
}

.pro .lst .guest,
.pro .lst .reply {
    padding-left: 45px;
}

.pro .lst .reply .nopro,
.pro .lst .reply .name img {
    left: 45px;
}

.pro .lst .nopro {
    display: inline-block;
}

.pro .glst li {
    margin-left: 45px;
}

#tt-body-guestbook.pro .guest_admin .name img,
#tt-body-guestbook.pro .guest_admin .nopro {
    display: none;
}

/* 공지 */
.notibox {
    margin: 3vh;
    animation: notice 0.5s 0s ease both 1;
}

.notibox .noti {
    border: 1px solid;
    border-radius: 20px;
    padding: 10px;
    display: inline-block;
    max-width: 80%;
}

.notibox:nth-child(odd) .noti {
    float: right;
}

.notibox:nth-child(2) {
    animation-delay: 0.5s;
}

.notibox:nth-child(3) {
    animation-delay: 1.0s;
}

.notibox:nth-child(4) {
    animation-delay: 1.5s;
}

.notibox:nth-child(5) {
    animation-delay: 2.0s;
}

.notibox:nth-child(6) {
    animation-delay: 2.5s;
}

.notibox:nth-child(7) {
    animation-delay: 3.5s;
}

.notibox:nth-child(8) {
    animation-delay: 4.0s;
}

.notibox:nth-child(9) {
    animation-delay: 4.5s;
}

.notibox:nth-child(10) {
    animation-delay: 5.0s;
}

@keyframes notice {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

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

/* 푸터 */
#footer {
    z-index: 999;
    height: 48px;
    width: 100%;
    border-top: 1px solid;
    display: table;
}

#footer > div {
    display: table-cell;
    width: 20%;
    padding: 13px 0;
    text-align: center;
    position: relative;
}

#footer > div > i,
#footer > div > a > i {
    font-size: 1.5rem;
}

/* 검색 */
.searchbox .fa-search {
    transition: color .5s;
}

.searchbox .search {
    position: absolute;
    width: 120px;
    top: -90%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    border-radius: 10px;
    z-index: 100;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s;
}

.searchbox.hover .search {
    opacity: 1;
    visibility: visible;
}

.searchbox .search:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 10px 10px 0;
    display: block;
    width: 0;
    z-index: 1;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
}

.searchbox .search input {
    max-width: 80%;
}

/* 카피라이트 삭제 금지 */
.copy {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 8px;
    font-family: 'Righteous', cursive;
}

@media screen and (min-width: 768px) and (max-height: 847px) {
    #container {
        height: 95%;
    }
}

/* 모바일 영역 */
@media screen and (max-width: 768px) {
    #container {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: auto;
        height: calc(100vh - 20px);
        margin: 10px;
    }

    .searchList .left {
        width: 37%;
    }

    .searchList .right {
        width: 62%;
    }

    #myo_gal .item .info .title {
        -webkit-line-clamp: 4;
        max-height: 73px;
    }

    #more_gal .more-item {
        width: 49.5%;
        margin: 0 1% 5% 0;
    }

    #more_gal .more-item:nth-child(2n) {
        margin-right: 0;
    }

    .copy {
        bottom: 5px;
        right: 5px;
    }

    .copy span {
        display: none;
    }
}
