@charset "utf-8";

/* 웹폰트 */
@import url('https://fonts.googleapis.com/css?family=Song+Myung|Righteous');

@font-face {
	font-family: 'BareunBatang';
	font-style: normal;
	font-weight: 400;
	src: url('//cdn.jsdelivr.net/korean-webfonts/1/orgs/othrs/kpa/BareunBatang/BareunBatangOTFM.woff2') format('woff2'), url('//cdn.jsdelivr.net/korean-webfonts/1/orgs/othrs/kpa/BareunBatang/BareunBatangOTFM.woff') format('woff');
}

@font-face {
	font-family: 'BareunBatang';
	font-style: normal;
	font-weight: 700;
	src: url('//cdn.jsdelivr.net/korean-webfonts/1/orgs/othrs/kpa/BareunBatang/BareunBatangOTFB.woff2') format('woff2'), url('//cdn.jsdelivr.net/korean-webfonts/1/orgs/othrs/kpa/BareunBatang/BareunBatangOTFB.woff') format('woff');
}

@font-face {
	font-family: 'BareunBatang';
	font-style: normal;
	font-weight: 300;
	src: url('//cdn.jsdelivr.net/korean-webfonts/1/orgs/othrs/kpa/BareunBatang/BareunBatangOTFL.woff2') format('woff2'), url('//cdn.jsdelivr.net/korean-webfonts/1/orgs/othrs/kpa/BareunBatang/BareunBatangOTFL.woff') format('woff');
}

.bareunbatang * {
	font-family: 'BareunBatang', serif;
}

/* 전체 폰트 */
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: 'BareunBatang';
	line-height: 1.7;
	font-size: 14px;
	color: var(--text);
}

/* 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: none;
}

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;
	outline: none;
}

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

ul,
li {
	list-style: none;
}

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

iframe,
embed {
	width: 100%;
}

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

table,
tr,
td {
	border-spacing: 1px 0;
	border-color: var(--text);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 전체 박스 */
#container {
	animation: fadein 2000ms ease-out;
	-moz-animation: fadein 2000ms ease-out;
	-webkit-animation: fadein 2000ms ease-out;
	-o-animation: fadein 2000ms ease-out;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	position: relative;
}

@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 {
	position: absolute;
	width: 100%;
	z-index: 9;
	background-color: var(--point);
	height: 200px;
	display: flex;
	align-items: flex-end;
}

#header .width {
	display: flex;
	align-items: center;
	padding: 20px 0;
	border-radius: 50px;
	margin: 0 auto;
	width: 100%;
}

#header .logo div {
	width: 60px;
	height: 60px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 100%;
	margin-right: 20px;
}

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

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

#header .intro {
	flex-grow: 1;
	justify-content: flex-end;
	text-align: right;
	padding-left: 20px;
	line-height: 1.2;
}

#header .title a,
#header .intro span {
	cursor: pointer;
	color: var(--bg);
	transition: color .5s;
	font-weight: bold;
}

#header .title:hover a,
#header .intro span:hover {
	color: var(--point2);
}

/* 스크롤 시 */

#header.s {
	position: fixed;
	top: 0;
	height: auto;
}

#header.s .width {
	border: 0;
}

/* 카테고리 영역 */
html.open {
	overflow: hidden;
}

.catebox {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	display: none;
	background: var(--nav);
	padding: 20px;
	z-index: 99;
}

.catebox .ti-close {
	display: inline-block;
	vertical-align: middle;
}

.catebox .ti-close {
	font-size: 2rem;
	color: var(--bg);
	position: absolute;
	right: 20px;
	top: 20px;
}

/* 카테고리 */
.catebox .scroll {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	height: 100%;
}

.catebox .blogmenu,
.catebox .tt_category,
.catebox .cate {
	min-width: 150px;
	font-size: 2rem;
}

.blogmenu a,
.catebox .cate a,
.link_item,
.sns a {
	color: var(--bg);
}

.catebox .cate:hover a,
.blogmenu a:hover,
.sns a:hover {
	color: var(--point);
}

.sub_category_list {
	display: none;
	font-size: .7em;
	padding: 20px 0;
	border-top: 1px solid var(--bg);
}

.link_sub_item {
	color: var(--bg);
	padding-left: 15px;
}

.link_tit {
	display: none;
}

/* sns */
.sns {
	position: absolute;
	left: 20px;
	top: 20px
}

.sns a {
	margin-right: 15px;
	font-size: 1.3rem;
}

/* 메인 영역 */
#content {
	padding: 240px 0 4vh;
	flex: auto;
	display: flex;
	flex-direction: column;
}

#content .width {
	flex: auto;
	width: 100%;
}

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

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

.myoskin .item img {
	width: 100%;
	transition: .5s;
	border-radius: 50px;
}

.myoskin .item:hover img {
	-webkit-filter: saturate(2);
	filter: saturate(2);
	opacity: .5;
}

/* 갤러리형 */
#myo_gal .item {
	margin-bottom: 8vh;
}

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

#myo_gal .item .info {
	margin-bottom: 30px;
}

#myo_gal .item .info .title {
	font-size: 1.3rem;
	font-weight: bold;
}

#myo_gal .item .info .title:before {
	content: '\f111';
	font-family: fontAwesome;
	font-size: .8em;
	line-height: 30px;
	float: left;
	color: var(--point);
	margin-right: 20px;
	width: 10px;
}

#myo_gal .item.protected .info .title:before {
	content: '\f023';
}

#myo_gal .item:hover .info .title:before {
	content: '\f005';
	-webkit-animation: spin 4s linear infinite;
	-moz-animation: spin 4s linear infinite;
	animation: spin 4s linear infinite;
}

#myo_gal .item .info .cate,
#myo_gal .item .info .date {
	font-size: .8rem;
	display: none;
}

@-moz-keyframes spin {
	100% {
		-moz-transform: rotate(360deg);
	}
}

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

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

/* 목록형 */
#myo_bbs .item {
	margin-bottom: 4vh;
}

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

#myo_bbs .item .info {
	display: flex;
}

#myo_bbs .item .title {
	flex-grow: 1;
	font-weight: bold;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	padding-right: 20px;
}

#myo_bbs .item .date {
	color: var(--point2)
}

#myo_bbs .item .thumbox,
#myo_bbs .item .info .cate,
#myo_bbs .item .info .title i {
	display: none;
}

/* 웹진형 */
#myo_web .item {}

/* 보호글 */
.pass {
	max-width: 200px;
	height: 100%;
	margin: 21vh auto;
}

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

.pass input {
	width: 100%;
	border: 0;
	background: transparent;
	font-family: 'Song Myung', serif;
}

.pass button {
	width: 100%;
	border: 0;
	padding: 10px;
	background-color: var(--point);
	color: var(--bg);
	border-radius: 15px;
	font-weight: bold;
	letter-spacing: 1px;
	transition: .5s;
}

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

.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;
	color: var(--point);
}

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

/* 본문 타이틀 영역 */
.titlebox {
	margin-bottom: 40px;
}

.titlebox .title {
	font-weight: bold;
	font-size: 2rem;
	margin-bottom: 10px;
	color: var(--point);
}

.titlebox .date,
.titlebox .admin {
	font-size: .8rem;
	color: var(--point2);
}

.titlebox .admin {
	float: right;
}

.titlebox .admin a {
	margin-left: 10px;
	color: var(--point2);
}

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

.text-item a {
	color: var(--point)
}

.text-item a:hover {
	color: var(--point2)
}

.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 u {
	text-decoration: none;
	position: relative;
}

.text-item u:after {
	position: absolute;
	content: '';
	bottom: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 3px;
	background-color: var(--point);
	z-index: -1;
}

.text-item .iframe-wrap {
	position: relative;
	height: 0;
	padding-bottom: 56.25%;
}

.text-item .iframe-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* 동영상 */
#tt-body-page figure[data-ke-type='video'][data-video-host] iframe {
	vertical-align: top;
}

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

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

.tx-quote-tistory,
#tt-body-page blockquote[data-ke-style='normal'] {
	position: relative;
	height: auto;
	padding: 20px 0 0 7%;
	font-style: italic;
}

/* 인용구2 */
#tt-body-page blockquote[data-ke-style='box'] {
	padding: 10px;
	border: 0;
	background-color: var(--point);
	border-radius: 15px;
	color: var(--bg);
}

#tt-body-page blockquote[data-ke-style='box'] a {
	color: var(--bg);
}

#tt-body-page blockquote[data-ke-style='box'] a:hover {
	color: var(--point2);
}

/* 더보기 */
.btn_more:before,
.btn_less span:before,
.moreless_fold span:before,
.moreless_top span:before,
.moreless_bottom span:before,
#tt-body-page div[data-ke-type='moreLess'] .btn-toggle-moreless:before {
	content: "\f107";
	font-family: 'fontAwesome';
	margin-right: 5px;
}

.btn_less:first-child {
	margin-bottom: 10px;
	color: var(--bg);
}

.btn_less:last-child {
	margin-top: 10px;
	color: var(--bg);
}

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

.moreless_fold span,
.moreless_top span,
.moreless_bottom span,
#tt-body-page div[data-ke-type='moreLess'] .btn-toggle-moreless {
	color: var(--point);
	line-height: 1.3;
	display: inline-block;
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
	transition: color .5s;
}

.moreless_fold span:hover,
.moreless_top span:hover,
.moreless_bottom span:hover,
#tt-body-page div[data-ke-type='moreLess'] .btn-toggle-moreless:hover {
	color: var(--point2);
}

.btn_more {
	display: block;
}

.moreless_content,
#tt-body-page div[data-ke-type='moreLess'].open .moreless-content {
	border-radius: 15px;
	position: relative;
	height: auto;
	margin: 7px auto;
	padding: 10px;
	background-color: var(--point2);
	color: var(--bg);
}

.moreless_content a,
#tt-body-page div[data-ke-type='moreLess'].open .moreless-content a {
	color: var(--bg);
}

.moreless_content a:hover,
#tt-body-page div[data-ke-type='moreLess'].open .moreless-content a:hover {
	color: var(--point);
}

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

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

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

/* 파일 첨부 */
figure.fileblock,
#tt-body-page figure.fileblock {
	border: 0;
	background-color: var(--point);
	transition: .5s;
	border-radius: 15px;
}

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

figure.fileblock .filename,
#tt-body-page figure.fileblock .filename,
figure.fileblock .size,
#tt-body-page figure.fileblock .size {
	color: var(--bg);
	font-family: 'BareunBatang';
}

.imageblock > a > img {
	display: none;
}

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

/* 공감 */
.container_postbtn .btn_post .txt_like {
	display: none !important;
}

/* 본문 하단 태그 */
.tags {
	color: transparent;
	margin-bottom: 35px;
}

.tags a {
	display: inline-block;
	padding: 5px 8px;
	border-radius: 15px;
	background-color: var(--point);
	color: var(--bg);
	line-height: 1;
	font-size: .9em;
}

.tags a:hover {
	color: var(--point2)
}

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

.morebox {
	margin: 3vh 0;
	overflow: hidden;
}

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

.morebox a {
	display: block;
}

/* 카테고리 글 더보기 갤러리형 */
#more_gal .more-item {}

/* 카테고리 글 더보기 목록형 */
#more_bbs .more-item {}

/* 댓글 오픈 */
.opencmt a {
	font-size: 1.6rem;
	color: var(--point);
	font-weight: bold;
	font-style: italic;
}

.opencmt a span {
	color: var(--point2);
	margin-left: 10px;
}

/* 댓글, 방명록 작성 */
.write {
	padding-top: 35px;
}

.write textarea {
	color: var(--bg);
	background-color: var(--point);
	border-radius: 15px;
	width: calc(100% - 100px);
	min-width: calc(100% - 100px);
	max-width: calc(100% - 100px);
	height: 100px;
	min-height: 100px;
	padding: 10px;
}

.write button {
	width: 90px;
	height: 100px;
	background-color: var(--point);
	border-radius: 15px;
	float: right;
	color: var(--bg);
	transition: .5s;
	font-size: 1.3rem;
}

.write button:hover {
	background-color: var(--point2);
}

.write .inputbox {
	margin-top: 3px;
}

.write input {
	padding: 2px 0;
	max-width: 40%;
	font-family: 'Song Myung', serif;
}

.write .secret {
	display: inline-block;
	float: right;
	margin-right: 10px;
}

.write .secret input {
	display: none;
}

.write input + label:after {
	content: "\f13e";
	font-family: 'fontAwesome';
	color: var(--point2);
}

.write input:checked + label:after {
	content: "\f023";
	font-family: 'fontAwesome';
	color: var(--point);
}

/* 댓글, 방명록 목록 */
.lst > ul {
	padding: 40px 0;
	border-bottom: 1px solid var(--point2);
}

.lst li {
	position: relative;
}

.lst .name,
.lst .name a {
	font-weight: bold;
	font-size: 1.2rem;
	color: var(--point);
	display: inline-block;
	vertical-align: middle;
}

.lst .name img {
	display: none;
}

.lst .date {
	font-size: .8rem;
	color: var(--point2);
	display: inline-block;
	vertical-align: middle;
	margin-left: 15px;
}

.lst .date a {
	margin-left: 15px;
	color: var(--point2);
}

.lst .text {
	margin: 7px 0;
	border-radius: 15px;
	background-color: var(--point);
	padding: 10px;
	color: var(--bg);
}

.lst .admin {
	float: right;
	line-height: 29.45px;
}

.lst .admin a {
	color: var(--point2);
	font-size: .8rem;
	margin-right: 10px;
}

.lst .name a:hover {
	color: var(--point2);
}

.lst .date a:hover,
.lst .admin a:hover {
	color: var(--point);
}

.lst .name:before {
	font-family: 'fontAwesome';
	vertical-align: middle;
	margin-right: 5px;
	display: inline-block;
}

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

.lst .rp_admin .name:before,
.lst .guest_admin .name:before {
	content: '\f005';
	-webkit-animation: spin 4s linear infinite;
	-moz-animation: spin 4s linear infinite;
	animation: spin 4s linear infinite;
}

.lst .reply {
	margin-top: 40px;
	padding-left: 60px;
}

.lst .rp_admin .text,
.lst .guest_admin .text {
	background-color: var(--point2);
}

/* 프로필 사진 */
.profile .cmt .name img {
	display: block;
}

.profile .cmt .name img,
.profile .cmt .nopro {
	position: absolute;
	width: 50px;
	height: 50px;
	top: 0;
	left: 0;
	border-radius: 15px;
}

.profile .cmt .guest {
	padding-left: 60px;
}

.profile .cmt .reply {
	margin-left: 60px;
}

.profile .cmt .nopro {
	display: inline-block;
	background-color: var(--point);
}

/* 페이지네이션 */
.pagination {
	cursor: default;
	text-align: center;
	margin-top: 6vh;
}

.pagination a span {
	margin: 0 3px;
	display: inline-block;
	background-color: var(--point);
	border-radius: 30px;
	width: 12px;
	height: 12px;
	vertical-align: middle;
	line-height: 1;
	color: var(--point);
	font-size: 6px;
	transition: .5s;
}

.pagination a:hover span {
	background-color: var(--point2);
}

.pagination a:hover span,
.pagination .selected {
	width: 24px;
}

.pagination .current,
.pagination .next,
.pagination .prev {
	display: none !important;
}

#footer {
	background-color: var(--point);
	height: 13vh;
}

#footer .width {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* 검색 */
.search {
	background-color: #fff;
	border-radius: 30px;
	overflow: hidden;
	line-height: 1;
	white-space: nowrap;
}

.search input {
	padding: 5px 15px;
	max-width: 180px;
}

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

.search input:-moz-placeholder {
	color: var(--point);
}

.search input::-moz-placeholder {
	color: var(--point);
}

.search input:-ms-input-placeholder {
	color: var(--point);
}

.search input::placeholder {
	color: var(--point);
}

.search button {
	padding: 5px 15px;
	background-color: var(--bg);
	color: var(--point);
	transition: .5s;
}

.search button:hover {
	background-color: var(--point2);
	color: var(--bg);
}

/* 카피라이트 삭제, 문구 변경 금지 = 발견 시 나눔 종료 */
.copy {
	font-size: 8px;
	font-family: 'Righteous', cursive;
}

.copy a {
	color: var(--bg);
}

/* 모바일 영역 */
@media screen and (max-width: 768px) {
	#header .width {
		padding: 20px 15px;
	}

	#header .logo {
		display: none
	}

	.catebox .blogmenu,
	.catebox .tt_category,
	.catebox .cate {
		font-size: 1.5rem;
	}

	.link_item:after {
		content: '\f107';
		float: right;
		font-family: fontAwesome;
		font-size: .8em;
		vertical-align: middle;
		line-height: 35px;
	}

	.link_item:only-child:after {
		content: '';
	}

	.lst .reply {
		padding: 0
	}

	.lst .reply,
	.profile .cmt .reply {
		margin-left: 0;
	}

	.copy {
		margin: 1vh 0;
		position: static;
		text-align: center;
	}
}