/*------------ 공통 설정 ------------*/
* {cursor: url(https://cur.cursors-4u.net/cursors/cur-9/cur817.cur), auto !important;}
/*.buttons *, a *, b, img, a, input, label, textarea, span, i {cursor: url(https://cur.cursors-4u.net/others/oth-6/oth586.cur), auto !important;}*/

:root {
	/* 폰트 사이즈 */
	--font-size: 12px;


	/* 커버, 컨테이너 가로 사이즈 */
	--small-width: 380px;


	/* 글 본문 가로, 세로 사이즈 */
	--big-width: 800px;
	--height: 400px;


	/* 박스 테두리 둥글게, 배경색, 안쪽 여백, 그림자 */
	--box-radius: 15px;
	--box-bg: #ffffff;
	--box-padding: 30px;
	--shadow: 0px 3px 15px rgb(144, 98, 175);


	/* 버튼 테두리 둥글게, 그림자 */
	--button-radius: 10px;
	--button-shadow: 0 2px 5px #cccccc;

	/* 버튼 누르는 효과 */
	--button-transform: scale(0.97) translateY(2px);


	/* 마우스오버 효과 속도 */
	--transition: 0.35s ease;


	/* 카테고리, 검색 가로 사이즈 */
	--inner-width: 300px;


	/* 썸네일 둥글게 */
	--thumb-radius: 25px;


	/* 갤러리형 그림자 */
	--thumb-shadow: 0px 3px 8px #b7b7b7;

	/* 갤러리형 배열 (pc) */
	--calc: 3;
	/* 갤러리형 배열 (mobile) */
	--calcs: 2;
}

/*------------ 공통 설정 ------------*/
@keyframes fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

html, input, input::placeholder, textarea {
	font-size: var(--font-size);
	font-family: 'Noto Sans KR', sans-serif;
}
body {
	margin: 0;
	background: var(--bgcolor);
}
*:focus {
	outline: none;
}
::selection {
	background: var(--point);
	color: #ffffff;
}
::-webkit-scrollbar {
	width: 0px;
	height: 0px;
}
figcaption {
	font-size: var(--font-size) !important;
	font-family: 'Noto Sans KR', sans-serif;
}
a, li, ul {
	list-style: none;
	text-decoration: none;
	color: #000;
}
.another_category,
.tistoryProfileLayerTrigger { 
	display: none !important;
}



/* 커버 */
#cover {
	width: var(--small-width);
	margin: 100px auto 60px;
	border-radius: var(--box-radius);
	background: var(--box-bg);
	padding: var(--box-padding);
	box-shadow: var(--shadow);
	box-sizing: border-box;
	animation-name: fade;
	animation-duration: 2s;
}
#cover .nothumb, #cover .hasthumb {
	margin-top: 30px;
}
#cover .onlyWrap {
	overflow: hidden;
}


/* 커버 공지 */
#cover .notice {
	display: none;
	margin-top: 20px;
}
#cover .notice .desc:not(:empty) {
	background: #f8f8f8;
	padding: 15px;
	border-radius: 12px;
	word-break: break-all;
	white-space: pre-wrap;
}
#cover .notice .desc a {
	color: var(--point);
}


/* 헤더 프로필 */
.main-profile {
	display: flex;
	justify-content: space-between;
	text-transform: capitalize;
}
.main-profile .profile {
	display: inline-block;
	width: 100px;
	height: 100px;
}
.main-profile .profile img {
	width: 100%;
	border-radius: 15px;
	box-shadow: var(--shadow);
	transition: var(--transition);
}
.main-profile img:hover {
	filter: grayscale(100%)
}
.profile-info {
	display: flex;
	flex-direction: column;
	width: calc( 100% - 120px );
}
.profile-info .blog-title {
	font-size: 1.5rem;
	font-weight: bold;
}
.profile-info .name {
	margin-top: 6px;
	font-weight: bold;
}
.iconset {
	margin-top: auto;
}
.iconset a {
	display: inline-block;
	padding: 3px;
	margin-right: 10px;
}
.iconset a i {
	font-size: 13px;
	color: #aaaaaa;
	transition: var(--transition);
}
.iconset a:hover i {
	color: var(--point);
}
.iconset a[href=''] {
	display: none
}


/* 프로필 하단 버튼 */
.buttons {
	display: flex;
	justify-content: space-between;
	margin-top: 25px;
	margin-bottom: 30px;
}
.buttons div {
	text-align: center;
	width: 47%;
	font-weight: bold;
	padding: 12px;
	border-radius: var(--button-radius);
	box-shadow: var(--button-shadow);
	box-sizing: border-box;
	transition: var(--transition);
	text-transform: capitalize;
}
.buttons i {	
	vertical-align: middle;
	font-size: 1.1rem;
	margin-right: 5px;
}
.buttons div:hover {
	transform: var(--button-transform);
	background: var(--point);
	color: #ffffff;
}


/* 카테고리 */
#category {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2;
}
.innerbg {
	position: inherit;
	inset: 0;
	background: var(--bgcolor);
}
.inner .close {
	display: none;
}
#category .inner {
	position: fixed;
	top: 50%;
	left: 50%;
	font-size: 1.2rem;
	transform: translate(-50%,-50%);
	width: var(--inner-width);
	max-height: 100%;
	overflow-y: auto;
}
.tt_category, .category_list, .sub_category_list {
	margin: 0;
	padding: 0;
}
.link_tit, .category_list img { 
	display: none;
}
.category_list > li {
	padding: 5px 15px;
	margin: 10px 0;
	border-radius: 20px;
	background: var(--box-bg);
	box-sizing: border-box;
	transition: var(--transition);
}
.category_list a {
	display: flex;
	padding: 12px;
	transition: var(--transition);
}
.link_item {
	font-weight: bold;
	color: var(--point);
}
.link_sub_item {
	font-weight: bold;
	color: #717171;
}
.category_list .c_cnt {
	margin-left: auto;
	color: #cccccc;
	transition: var(--transition);
}
.sub_category_list li:hover {
	font-style: italic;
	text-decoration: line-through;
}


/* 검색 */
#search {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2;
}
#search .inner {
	width: var(--inner-width);
	position: fixed;
	top: 50%;
	left: 50%;
	max-height: 100%;
	font-size: 1.2rem;
	transform: translate(-50%,-50%);
	overflow-y: auto;
}
#search .innerItem {
	margin: 10px 0;
	box-sizing: border-box;
}
#search .innerItem input {
	width: 100%;
	font-size: 1.2rem;
	border: 0;
	padding: 18px;
	border-radius: 20px;
	background: var(--box-bg);
	box-sizing: border-box;
}
#search .innerItem input::placeholder {
	font-size: 1.2rem;
}
#search #taglog {
	margin-top: 25px;
}
#search #taglog a {
	display: inline-block;
	padding: 10px;
	margin: 3px;
	border-radius: 10px;
	word-break: break-all;
	color: #fff;
	background: var(--point);
	transition: var(--transition);
}
#search #taglog a:hover {
	background: var(--box-bg);
	color: var(--point);
}


/* 컨테이너 */
#container {
	width: var(--small-width);
	margin: 100px auto 60px;
	border-radius: var(--box-radius);
	background: var(--box-bg);
	padding: var(--box-padding);
	box-shadow: var(--shadow);
	box-sizing: border-box;
	animation-name: fade;
	animation-duration: 2s;
}

/* 심플 리스트형 */
#list-style {
	display: none
}
.thumb {
	display: none;
}
.empty {
	text-align: center;
	padding: 15px;
}
.list-name:not(:empty) {
	font-weight: bold;
	font-size: 1.3rem;
	margin-bottom: 15px;
	text-transform: capitalize;
}
.nothumb .listWrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	margin: 10px 0;
}
.listWrap .list-title {
	width: 70%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.listWrap .list-title b {
	transition: var(--transition);
}
.listWrap .list-date, .listWrap i {
	color: #aaaaaa;
	transition: var(--transition);
}
.nothumb a:hover i, .nothumb a:hover b {
	color: var(--point);
}
.listWrap .writer, .listWrap .category {
	display: inline-block;
	color: #aaaaaa;
	padding-top: 3px;
}


/* 썸네일 리스트형 */
.hasthumb .listWrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	margin: 6px 0;
}
.hasthumb .list-title {
	display: flex;
	align-items: center;
}
.hasthumb .list-title span {
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.hasthumb .thumb {
	display: block;
}
.hasthumb img {
	width: 80px;
	margin-right: 10px;
	border-radius: var(--thumb-radius);
	transition: filter var(--transition);
}
.hasthumb a:hover i, .hasthumb a:hover b {
	color: var(--point);
}
.hasthumb a:hover img {
	filter: grayscale(100%);
}


/* 갤러리형 */
.onlythumb {
	display: block;
	float: left;
	width: calc( 100% / var(--calc) - 20px );
	border-radius: var(--thumb-radius);
	margin: 10px;
	overflow: hidden;
}
#container .onlythumb,
#cover a.onlythumb {
	box-shadow: var(--thumb-shadow);
}
.onlythumb .list-title {
	width: 100%;
}
.onlythumb .list-title span,
.onlythumb .list-date {
	display: none;
}
.onlythumb .thumb {
	display: block;
}
.onlythumb img {
	width: 100%;
	margin-right: 0;
	border-radius: var(--thumb-radius);
	transition: filter var(--transition);
}
.onlythumb a:hover img {
	filter: grayscale(100%);
}
a.onlythumb:hover img {
	filter: grayscale(100%);
}


/* 본문 */
#tt-body-page #container {
	width: var(--small-width);
	overflow: hidden;
	padding: 0;
}
/*.post {
	display: flex;
	justify-content: space-between;
}*/
.post {
	flex-direction: column;
	}
.post > div {
	width: 100%;	
	height: var(--height);
	align-self: flex-start;
	position: relative;
}

/* 본문 왼쪽(썸네일) 영역 */
.post .left {
		height: 280px;
		overflow: hidden;
	}
.post .left .smallB {
	display: flex;
	justify-content: space-between;
	width: 100%;
	position: absolute;
	z-index: 1;
}
.post .left .smallB span {
	display: block;
	margin: 13px 10px 10px 10px;
}
.post .left .smallB div {
	display: inline-block;
	margin: 0 5px;
}
.post .left .smallB i {
	display: block;
	padding: 7px;
	border-radius: 5px;
	color: #ffffff;
	background: rgba(0, 0, 0, 0.2);
	font-size: 1.2rem;
	transition: var(--transition);
}
.post .left .smallB div:hover i {
	color: var(--point);
	background: var(--box-bg);
}
.post .left .bg {
	overflow: hidden;
}
.post .left .bg img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	filter: blur(50px);
}
.post .left .small {
	position: absolute;
	width: 210px;
	text-align: center;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.post .left .small img {
	border-radius: 10px;
		width: 110px;
		margin-top: 18px;
}
.post .left .article-title {
	width: 100%;
	font-size: 1.2rem;
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #fff;
	margin-top: 15px;
}
/*.post .left .name {
	margin-top: 8px;
	color: #ffffff;
}*/
.post .left .playbar {
	margin-top: 15px;
}
.post .left .playbar .bar {
	padding: 1.5px;
	background: var(--box-bg);
	border-radius: 10px;
}
.post .left .playbar .time {
	display: flex;
	justify-content: space-between;
	color: #ffffff;
	margin-top: 5px;
}
.post .left .playicon {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.post .left .small i {
	margin-top: 10px;
	color: #ffffff;
	transition: var(--transition);
}
.post .left .small i:hover {
	color: var(--point);
}


/* 본문 오른쪽(내용) 영역 */
.post .right {
	padding: 10 30 10 30;
	overflow-y: auto;
	box-sizing: border-box;
	word-break: break-all;
}
.post .right .innerTitle {
	display: block;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
	/*margin-top: -20;*/
}
.post .right .admin {
	text-align: right;
	margin-bottom: 20px;
}
.post .right .admin a {
	display: inline-block;
	transition: var(--transition);
}
.post .right .admin a:hover {
	color: var(--point);
}
.post .right .tagTrail a {
	display: inline-block;
	margin-bottom: 5px;
	padding: 5px 10px;
	border-radius: 6px;
	background: var(--point);
	border: 1px solid var(--point);
	color: #fff;
	transition: var(--transition);
}
.post .right .tagTrail a:hover {
	background: var(--box-bg);
	border: 1px solid #eeeeee;
	color: var(--point);
}
.tt_article_useless_p_margin a {
	color: var(--point);
	transition: var(--transition);
}
.tt_article_useless_p_margin a:hover {
	opacity: 0.5;
}


/* 보호글 */
#protected.nothumb .list-title b {
	color: #717171;
	text-decoration: line-through;
}
.articlepw {
	position: absolute;
	top: 48%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100px;
	text-align: center;
	box-sizing: border-box;
}
.articlepw input {
	width: 100%;
	border: 0;
	padding: 10px;
	text-align: center;
}
.articlepw input::placeholder {
	text-align: center;
}


/* 공감버튼 */
.container_postbtn {
	padding: 0 !important;
	height: 0 !important;
}
.postbtn_like div:not(:nth-of-type(1)),
.container_postbtn .btn_menu_toolbar {
	display: none !important;
}
.container_postbtn .postbtn_like {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
}
.container_postbtn .btn_post {
	height: unset !important;
	padding: 0 !important;
}
.container_postbtn .btn_post .ico_like {
	margin-right: 0 !important;
	opacity: 0 !important;
}
.txt_like {
	visibility: hidden;
	width: 0 !important;
	height: 0 !important;
}
.txt_like::before {
	visibility: visible;
	position:absolute;
	top: 1px;
	left: 0px;
	font-size: 16px;
	display: block;
	content: "\ea10";
	font-family: 'xeicon';
	color: #fff;
}
.like_on .txt_like::before {
	color: red;
}


/* 방명록 */
#tt-body-guestbook .main-profile {
	display: block;
	width: 100%;
	margin-bottom: 25px;
}
#tt-body-guestbook .profile-info {
	width: 100%;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
#tt-body-guestbook .profile-info > div {
	width: unset;
}
#tt-body-guestbook .iconset a {
	margin-right: 0;
	margin-left: 5px;
}
#tt-body-guestbook .iconset i {
	font-size: 14px;
} 


/* 댓글, 방명록폼 */
.comment {
	margin-top: 50px;
	padding-top: 20px;
}
.writeBox {
	margin-bottom: 35px;
}
.inputBox {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}
.inputBox > div {
	width: 48%;
	border-radius: var(--button-radius);
	box-shadow: var(--button-shadow);
	transition: var(--transition);
	overflow: hidden;
}
.inputBox input {
	display: block;
	width: 100%;
	height: 40px;
	line-height: 40px;
	border: 0;
	background: transparent;
	text-align: center;
	transition: var(--transition);
}
.inputBox input::placeholder {
	text-align: center;
	transition: var(--transition);
}
.inputBox > div:hover {
	transform: var(--button-transform);
	background: var(--point);
}
.inputBox > div:hover input::placeholder {
	color: #ffffff;
}
.inputBox input:not(:placeholder-shown) {
	color: #ffffff;
	background: var(--point);
}
textarea {
	width: 100%;	
	height: 40px;
	box-sizing: border-box;
	resize: none;
	border: 0;
	background: #f9f9f9;
	border-radius: 10px;
	padding: 10px;
	transition: 0.5s;
}
textarea:focus {
	height: 100px;
}
textarea:not(:placeholder-shown) {
	height: 100px;
}


/* 비밀, 등록 */
.bottom {
	margin-top: 20px;
	display: flex;
	justify-content: space-between;
}
.bottom > div {
	width: 48%;
	border-radius: var(--button-radius);
	box-shadow: var(--button-shadow);
	overflow: hidden;
	transition: var(--transition);
}
input[id="submit"] {
	display: none;
}
input[id="submit"] + label::before {
	display: inline-block;
	width: 100%;
	height: 40px;
	line-height: 40px;
	content: "\f1d8";
	font-family: 'FontAwesome';
	font-size: 12px;
	text-align: center;
	box-sizing: border-box;
	transition: var(--transition);
}
input[id="secret"] {
	display: none;
}
input[id="secret"] + label::before {
	display: inline-block;
	width: 100%;
	height: 40px;
	line-height: 39px;
	content: "\f09c";
	font-family: 'FontAwesome';
	font-size: 15px;
	text-align: center;
	box-sizing: border-box;
	color: #000000;
	transition: var(--transition);
}
input[id="secret"]:checked + label::before {
	content: "\f023";
	font-family: 'FontAwesome';
	color: #ffffff;
	background: var(--point);
}
.bottom div:hover {
	transform: var(--button-transform);
	background: var(--point);
}
.bottom div:hover label::before {
	color: #ffffff;
}


/* 댓글, 방명록 리스트 */
.msgList > div {
	max-width: 80%;
	clear: both;
}
.userWrap {
	margin-bottom: 25px;
}
.userWrap .control {
	margin-top: 10px;
}
.guest_admin .control,
.rp_admin .control {
	text-align: right;
}
.userWrap .control a {
	display: inline-block;
	padding: 2px;
	transition: var(--transition);
}
.userWrap .control a:hover {
	color: var(--point);
}
.guest_admin,
.rp_admin {
	float: right;
}
.msgList .desc {
	padding: 13px 20px;
	background: #f5f5f5;
	border-radius: 15px 15px 15px 0;
	word-break: break-all;
}
.guest_admin .desc,
.rp_admin .desc {
	border-radius: 15px 15px 0 15px;
}
.userWrap .user {
	margin-top: 5px;
	font-weight: bold;
}
.guest_admin .user,
.rp_admin .user {
	text-align: right;
}
.guest_admin .user a,
.rp_admin .user a {
	color: var(--point);
}


/* 페이징 */
.paging {
	display: flex;
	justify-content: space-between;
	clear: both;
}
.paging i {
	padding: 5px;
	margin-top: 20px;
	font-size: 1rem;
	color: #aaaaaa;
	transition: var(--transition);
}
.paging a:hover i {
	color: var(--point);
}


/* 접은글 */
div[data-ke-type='moreLess']{
	margin-bottom: 10px; /* 접은글 아래 여백 */
}
.btn-toggle-moreless {
	/* 접은글 타이틀 폰트 색깔, 굵기, 크기 */
	color: #000 !important;
	font-weight: bold;
	font-size: 1rem !important;
}
.btn-toggle-moreless::before {
	/* 접은글 타이틀에 아이콘 추가 */
	position: relative;
	top: -1px;
	content:"\f00c";
	font-family: "FontAwesome";
	color: var(--point);
	padding-right: 5px;
}
.open .btn-toggle-moreless::before {
	/* 접은글 폈을때 아이콘 변경 */
	content:"\f00d";
	font-family: "FontAwesome";
}
.moreless-content {
	/* 접은글 내부 */
	padding: 20px;
	border: 1px dashed #aaaaaa;
}


/* 모바일 */
@media all and ( max-width: 800px ){
	body {
		/*background: #ffffff;*/
	} 
	/* #cover {
		width: 100%;
		margin: 0 auto;
		border-radius: 0; 
		box-shadow: unset !important;
	}*/
	#container, #tt-body-page #container {
		width: 90%;
		margin: 20 auto;
		/*border-radius: 0;*/
		/*box-shadow: unset !important;*/
	}

	/*
	.post {
		flex-direction: column;
	}
	.post > div {
		width: 100%;
	}
	.left {
		height: 240px !important;
		overflow: hidden;
	}
	.left .bg img {
		height: 240px !important;
	}
	.left .small {
		display: flex;
		align-items: center;
		justify-content: center;
		margin-top: 15px;
		width: 90% !important;
		padding: 0 5%;
		box-sizing: border-box;
	}
	.left .small img {
		width: 120px;
		margin-right: 20px;
	}
	.left .detail {
		display: flex;
		flex-direction: column;		
		width: calc( 100% - 150px );
	}
	.left .detail .name {
		margin-top: 4px !important;;
	}
	.left .article-title {
		margin-top: 20 !important;
	}
	.playicon {
		margin-top: auto;
		width: 100%;
	}
	.playbar {
		margin-top: 15px !important;
		width: 100%;
	}
	.right {
		height: auto !important;
	}
	.right.secret {
		height: 200px !important;
	}*/
}
@media all and ( max-width: 430px ) {
	.onlythumb {
		width: calc( 100% / var(--calcs) - 20px ) !important;
	}
	#category .inner, #search .inner {
		top: 20px;
		bottom: 20px;
		transform: translate(-50%, 0 ); 
		width: 85%;
	}
	.inner .close {
		display: block;
		text-align: center;
		margin-bottom: 15px;
	}
	.inner .close i {
		font-size: 2.5rem;
		color: var(--point);
	}
}
@media all and ( max-width: 350px ) {
	.left .small img {
		display: none;
	}
	.left .detail {
		display: flex;
		flex-direction: column;
		width: 100%;
	}
}