* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
	min-height: 100vh;
 	background: rgb(245, 247, 252);
	color: #666;
	font-family: 'Inter', 'Pretendard', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; 
  font-size: 10px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

body::-webkit-scrollbar {
	display: none;
}

@media (max-width: 600px) {
	body {
		background-image: none;
		background: #fff;
	}
}

/* reset */
textarea, input {
	font-family: 'Inter', 'Pretendard', sans-serif;
}

ul,ol,li {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
	line-height: 1;
	padding: 4px 20px;
	background-color: #fff;
	outline: none;
	border: 1px solid #cacaca;
	border-radius: 4px;
	font-size: 8px;
}

textarea {
	width: 100%;
	height: 100px;
	resize: none;
	border: none;
	background-color: #f0f1f0;
	border-radius: 4px;
	outline: none;
  color: #666;
	padding: 8px;
	font-size: 8px;
}

/* clearfix */
.clearfix:before, .clearfix:after {
  display: block;
  content: '';
  line-height: 0;
}

.clearfix:after {
  clear:both;
}

.clearfix {
  *zoom: 1;
}

/* layout */
.wrapper {
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
@media (max-width: 600px) {
	.wrapper {
		justify-content: flex-start;
		padding-top: 44.5px;
	}
}

.box {
	display: flex;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: rgb(0 0 0 / 6%) 0px 8px 15px 3px;
}
@media (max-width: 864px) {
	.box {
		width: 100%;
		border: none;
		border-radius: 0px;
	}
}
@media (max-width: 600px) {
	.box {
		flex-direction: column;
		box-shadow: none;
		overflow: visible;
	}
}

.left {
	width: 220px;
	background-color: #f1f1f1;
	border-right: 1px solid #dadbd9;
}
@media (max-width: 864px) {
	.left {
		width: 25%;
	}
}
@media (max-width: 600px) {
	.left {
		width: 100%;
		border-right: none 0;
		background: #fff;
	}
}

.main {
	width: 770px;
	background-color: #fff;
}
@media (max-width: 864px) {
	.main {
		width: 75%;
	}
}
@media (max-width: 600px) {
	.main {
		width: 100%;
	}
}

.contents {
	width: 100%;
	height: 646px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	padding: 8px;
	overflow-y: scroll;
  overflow-x: hidden;
	-ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.contents::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}
#tt-body-index .contents,
#tt-body-category .contents,
#tt-body-search .contents,
#tt-body-tag .contents {
	padding: 47px;
}
#tt-body-page .contents {
	padding: 0;
}
#tt-body-tag .contents {
	display: inherit;
}
@media (max-width: 600px) {
	.contents {
		height: auto;
	}
	#tt-body-index .contents,
	#tt-body-category .contents,
	#tt-body-search .contents,
	#tt-body-tag .contents {
		padding: 8px;
	}
	#tt-body-tag .contents {
		padding: 8px;
	}
}

.entryNotice ~ .paging {
	display: none;
}

#entry0Comment {
	width: 100%;	
}

/* header */
#header {
	background-color: #fff;
	z-index: 9999;
	display: flex;
	align-items: center;
	width: 100%;
	height: 54px;
	padding: 0 16px;
	border-bottom: 0.5px solid #dadbd9;
}
@media (max-width: 600px) {
	#header {
		height: 44.5px;
		border: none 0;
	}
}

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

#header .header-inner ul {
	width: 100px;
	display: flex;
}

/* category */
.category .link_item, 
.link_sub_item {
	padding: 7px 8px;		
	display: block;
	cursor: pointer;
}

.category a {
	font-size: 12px;
	font-weight: 500;
}

.category {
	margin-top: 20px;
	padding: 0 10px;
}
@media (max-width: 600px) {
	.category {
		display: none;
	}
}

.category .cateTit {
	display: block;
	color: #a9a5a3;
	margin: 0 0 10px 6px;
	font-size: 12px;
	font-weight: bold;
}

.category_list {
	max-height: 400px;
	overflow-y: scroll;
	margin-bottom: 10px;
}

.category_list::-webkit-scrollbar {
	width: 4px;
	height: 20%;
}

.category_list::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: #dadbd9;
}

.category_list > li {
  overflow: hidden;
  white-space: nowrap;
}

.category_list  li a {
  display: block;
  transition: all .4s ease-in-out;
  border-radius: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sub_category_list li {
	padding:0!important;
}

/* article */
#mArticle {
	display: flex;
	flex-wrap: wrap;
}

#mArticle h5 {
	width: 100%;
	font-size: 11px;
	padding: 0 8px;
}

.articleList, 
.articleList ol {
	width: 100%;
}

.articleList li {
	border-radius: 6px;
	overflow: hidden;
}

.articleList li a {
	display: flex;
}

.list img {
	display: none;
}

.thumbnail {
	display: flex;
}

.thumbnail span {
	display: none;
}

.articleList a {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.articleList img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	
}
.articleList ol{
	display: flex;
	flex-wrap: wrap;
}
.articleList li{
	width: 31.33%;
	margin: 1%;
}
@media (max-width: 600px) {
	.thumbnail li {
		width: 48%;
	}
}

.titleWrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
}

.titleWrap h2 {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 70%;
	font-size: 10px;
}

.titleDate {
	width: 25%;
}

.titleDate a {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	word-break: break-word;
	text-align: right;
}

.article p {
	padding: 0 16px;
	font-size: 10px!important;
}

.entryNotice {
	width: 100%;
}

.article-wrap {
	width: 100%;
}

.container_postbtn {
	padding: 20px 0 20px!important;
}

.container_postbtn .btn_post .txt_like {
	margin: -1px 0 0 3px!important;
	font-size: 9px !important;
}

.link_tit, .c_cnt, .postbtn_ccl {
	display: none!important;
}

figure.imageblock.alignCenter {
    margin: 0 auto 5px;
}

.container_postbtn .postbtn_like {
	border: none!important;
}

.wrap_btn_share, .btn_subscription {
	display: none!important;
}

.container_postbtn .btn_post .ico_like {
	margin: 3px 0 0 0!important;
}

.entryNotice .container_postbtn {
	display: none;
}

/* protect */
.entryProtected {
	position: relative;
	width: 100px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 80px 0;
}

.entryProtected input {
	width: 100px;
	height: 24px;
	outline: none;
	border: none 0;
	border-radius: 4px;
	padding: 0 5px 0 20px;
	font-size: 8px;
	background: transparent;
	font-weight: normal;
	background-color: #cecece;
	color: #fff;
}

.entryProtected::before {
	content: "";
	position: absolute;
	left: 5px;
	width: 10px;
	height: 10px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-lock'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 3;
}

/* booth */
.booth {
	overflow: hidden;
}

.booth-header {
	padding: 16px 11px;
}
@media (max-width: 600px) {
	.booth-header {
		position: fixed;
    width: 100%;
    top: 0;
    height: 44.5px;
		padding: 8px 16px;
		display: flex;
		align-items: center;
		background: #fff;
		z-index: 999;
	}
	.booth-header.shadow {
		border-bottom: 0.5px solid #dadbd9;
	}
}

.booth-body {
	margin: 0 12px;
	height: 195px;
	background-position: 50% 50%;
	background-size: cover;
	border: 0.5px solid #d9dada;
	border-radius: 12px;
}
@media (max-width: 600px) {
	.booth-body {
		height:100px;
		display:none;
		margin: 0;
		box-shadow: none;
		border: none 0;
	}
}

.btn_open {
	display: none;
	width: 14px;
	height: 14px;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
}
@media (max-width: 600px) {
	.btn_open {
		display: flex;
	}
}

.btn_open svg {
	width: 20px;
	height: 20px;
	fill: #b5b5b5;
}

/* gnb */
.gnb {
  position: fixed;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background-color: #fff;
	z-index: 9999;
  transform: translateX(-100%);
  transition: all .3s ease-out 0s;
	border-right: 0.5px solid #dadbd9;
	padding-top: 16px;
	backdrop-filter: blur(10px);
}
.active {
  transform: translateX(0);
}

.gnb-category .link_item, 
.gnb-category .link_sub_item {
	padding: 8px ;		
	display: block;
	font-size: 10px;
}

.gnb-category {
	padding: 0 10px;
}

.gnb-category .cateTit {
	display: block;
	color: #a9a5a3;
	margin: 0 0 10px 6px;
	font-weight: bold;
}

.gnb_profile {
	width: 28px;
	height: 28px;
	display: none;
	background-size: cover;
	border-radius: 6px;
	border: 0.5px solid #d9dada;
	margin-left: 8px;
}

@media (max-width: 600px) {
	.gnb_profile {
		display: block;
	}
}

.btn_close {
	text-align: right;
	margin-right: 16px;
}

/* nav */
#nav {
	background: rgba(239,239,240,1);
	border-radius: 9px;
	padding: 2px;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	margin-left: auto;
}

#nav > div {
	position: relative;
	cursor: pointer;
}

#nav > div > a {
	position: relative;
	display: block;
	text-align: center;
	padding: 3px 10px;
	background: rgba(255, 255, 255, 0);
	font-weight: 500;
	font-size: 8px;
	color: #666;
}

#nav > div:not(:first-child)::before {
	content: "";
	width: 1px;
	background: rgba(142, 142, 147, 0.15);
	position: absolute;
	top: 14%;
	bottom: 14%;
	border-radius: 10px;
	will-change: background;
	transition: background 0.2s ease;
}

#tt-body-index #nav .to-home a  {
	background: #fff;
	border: 0.5px solid rgba(0, 0, 0, 0.04);
	box-shadow: 0 3px 8px 0 rgb(0 0 0 / 12%), 0 3px 1px 0 rgb(0 0 0 / 4%);
	border-radius: 7px;
	grid-column: 1;
	grid-row: 1;
	z-index: 2;
	will-change: transform;
	transition: transform 0.2s ease;
}

#tt-body-tag #nav .to-tag a  {
	background: #fff;
	border: 0.5px solid rgba(0, 0, 0, 0.04);
	box-shadow: 0 3px 8px 0 rgb(0 0 0 / 12%), 0 3px 1px 0 rgb(0 0 0 / 4%);
	border-radius: 7px;
	grid-column: 1;
	grid-row: 1;
	z-index: 2;
	will-change: transform;
	transition: transform 0.2s ease;
}

#tt-body-guestbook #nav .to-guest a  {
	background: #fff;
	border: 0.5px solid rgba(0, 0, 0, 0.04);
	box-shadow: 0 3px 8px 0 rgb(0 0 0 / 12%), 0 3px 1px 0 rgb(0 0 0 / 4%);
	border-radius: 7px;
	grid-column: 1;
	grid-row: 1;
	z-index: 2;
	will-change: transform;
	transition: transform 0.2s ease;
}

/* guest */
.guestbook {
	width: 100%;
	padding: 47px;
}
@media (max-width: 600px) {
	.guestbook {
		padding: 8px;
	}
}

.btn-submit input {
	float: right;
	outline: none;
	background: none;
	padding: 5px 10px;
	font-size: 8px;
	font-weight: normal;
	line-height: 1;
	background-color: #fff;
	border: 1px solid #ebebeb;
	border-radius: 4px;
	margin-top: 4px;
	color: hsl(0, 0%, 10%);
}

.guest-info {
	margin-bottom : 10px;
}

.guest-info input {
	width: 100px;
	height: 20px;
	border: 1px solid #ebebeb;
	font-size: 8px;
	color: #666;
	padding: 0 3px;
	margin-right: 6px;
	border-radius: 4px;
}

.guestbook .message {
	word-break: break-word;
}

.guest_general .message {
	width: 46%;
	max-width: 500px;
	height: auto;
	background-color: #f0f1f0;
	border-radius: 22px 22px 22px 3px;
	padding: 13px 18px;
	margin: 10px 20px 10px 0;
}

.guest_secret .message {
	width: 46%;
	max-width: 500px;
	height: auto;
	background-color: #f0f1f0;
	border-radius: 22px 22px 22px 3px;
	padding: 13px 18px;
	margin: 10px 20px 10px 0;
}

.guest_admin {
	text-align: right;
}

.guest_admin .name,.date {
	display: none;
}

.guest_admin .message {
	width: 46%;
	max-width: 500px;
	height: auto;
	padding: 13px 18px;
	margin: 10px 0 10px auto;
	color: #666;
	background-color: #dddddd;
	border-radius: 22px 22px 3px 22px;
	text-align: left;
}

.secretBtn {
	display: inline-block;
}

.secretBtn input {
	display: none;
}

.secretBtn input:checked + label {
	font-weight: bold;
}

.guestList {
	margin-top: 16px;
}
@media (max-width: 600px) {
	.guest_general .message,
	.guest_secret .message,
	.guest_admin .message {
		width: 52%;
	}
}

/* tag */
.taglog {
	padding: 8px 16px;
	margin: -30px -38px;
}
@media (max-width: 600px) {
	.taglog {
		margin: 0;
		padding : 8px;
	}
}

.taglog ul {
	display: flex; 
	flex-wrap: wrap;
}

.taglog ul li a {
	display: inline-block;
	color: #666;
	margin-right: 10px;
	margin-bottom: 10px;
	padding: 5px 10px;
	border-radius: 8px;
	transition: all .3s ease-in-out;
	background-color: #f0f1f0;
	font-size: 10px;
}

.tagTrail {
	width: 100%;
	padding: 0 20px;
	color: #999;
}

.tagTrail a {
	transition: all .5s ease-in-out;
}

.tagTrail {
	display: flex; 
	flex-wrap: wrap;
	padding: 0px 16px 30px;
}

.tagTrail:not a {
	display: none;
}

.tagTrail a:before {
	content: "#"
}

/* search */
.search {
  position: relative;
  width: 100%;
  height: 28px;
	margin-left: auto;
}
@media (max-width: 600px) {
	.search {
		width: 40%;
	}
}

.search input {
  width: 100%;
  height: 100%;
  outline: none;
  border: 0.5px solid #d9dadade;
  border-radius: 6px;
  padding: 0 10px 0 25px;
  font-size: 8px;
  color: #666;
	background-color: #e8e8e8;
}
@media (max-width: 600px) {
	.search input {
		background-color: rgba(239,239,240,1);
		border: 0px solid #d9dada;
	}
}

.search svg {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  fill: #999;
}

/* paging */
.paging {
	display: flex;
	width: 100%;
	text-align: center;
	padding: 40px 0 10px;
	align-items: center;
	justify-content: space-between;
}
@media (max-width: 600px) {
	.paging {
		padding: 30px 0;
	}
}
.paging .numbox {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.paging .num {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.paging .selected {
	font-weight: bolder;
}
.paging > a {
	width: 20px;
	display: flex;
	height: 20px;
	align-items: center;
	justify-content: center;
}
.article-wrap + .paging {
	display: none;
}
#tt-body-page .paging {
	display: none;
}

/* fileblock */
.fileblock .image,
.fileblock .size,
.fileblock .filename {
	display: none;
}
figure.fileblock a::after {
	display: none;
}
.fileblock {
	background-repeat: no-repeat;
	background-position: center;
	background-size: 13px 13px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-download'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='7 10 12 15 17 10'%3E%3C/polyline%3E%3Cline x1='12' y1='15' x2='12' y2='3'%3E%3C/line%3E%3C/svg%3E");
}
figure.fileblock, #tt-body-page figure.fileblock {
	border:none 0;
}

/* moreless */
.btn-toggle-moreless {
	font-family: 'Inter', 'Pretendard', sans-serif!important;
  font-size: 11px!important;
}
.btn-toggle-moreless::after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 10px;
	height: 10px;
	background-size: cover;
	background-position: center;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23909090' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}
.moreless-content {
	padding: 8px;
	border-left: 3px solid #f7eb63;
}

/* copyright */
.copyright {
	position: fixed;
	bottom: 16px;
	right: 16px;
	font-size: 10px;
	opacity: .7;
}
