:root {
  --main: #000000;
	--main-dark: #f9cdd6;
	--black: #666;
  --white: #ffffff;
	--fontSize: 10px;
}

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

body {
	min-height: 100vh;
 	background: var(--main);
	color: var(--black);
	font-family: 'Pretendard', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; 
  font-size: var(--fontSize);
	-ms-overflow-style: none;
	scrollbar-width: none;
}

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

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

.clearfix:after {
  clear:both;
}

.clearfix {
  *zoom: 1;
}

/* reset */
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: var(--white);
	outline: none;
	border: 1px solid #cacaca;
	border-radius: 4px;
	font-size: 8px;
}

#tt-body-index .contents,
#tt-body-category .contents,
#tt-body-search .contents,
#tt-body-tag .contents {
	padding: 47px;
}

.wrapper {
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.box {
	display: flex;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: rgb(0 0 0 / 6%) 0px 8px 15px 3px;
}

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

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

#tt-body-tag .contents {
	display: inherit;
}

.entryNotice ~ .paging {
	display: none;
}

/* main */
.main {
	width: 770px;
	background-color: var(--white);
}

.left {
	width: 220px;
	background-color: #f1f1f1;
	border-right: 1px solid #dadbd9;
}

#entry0Comment {
	width: 100%;	
}

.article-wrap + .paging {
	display: none;
}

#tt-body-page .contents {
	padding: 0;
}

#tt-body-page .paging {
	display: none;
}

/* guest */
.guestbook {
	width: 100%;
	padding: 8px;
}

textarea {
	width: 100%;
	height: 100px;
	resize: none;
	border: none;
	background-color: #f0f1f0;
	border-radius: 4px;
	outline: none;
	font-family: 'Poppins', 'Pretendard', sans-serif;
  color: var(--black);
	padding: 8px;
	font-size: 8px;
}

.btn-submit input {
	float: right;
	outline: none;
	background: none;
	padding: 5px 10px;
	font-family: 'Pretendard', sans-serif;
	font-size: 8px;
	font-weight: normal;
	line-height: 1;
	background-color: var(--white);
	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;
	font-family: 'Poppins', 'Pretendard', sans-serif;
	color: var(--black);
	padding: 0 3px;
	margin-right: 6px;
	border-radius: 4px;
}

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

/* tag */
.taglog {
	padding: 8px 16px;
	margin: -30px -38px;
}

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

.taglog ul li a {
	display: inline-block;
	color: var(--black);
	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: "#"
}

/* header */
#header {
	background-color: var(--white);
	z-index: 9999;
	display: flex;
	align-items: center;
	width: 100%;
	height: 54px;
	padding: 0 16px;
	border-bottom: 0.5px solid #dadbd9;
}

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

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

.btn-home {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 34px;
	padding:0 12px;
	color: var(--white);
	background-color: var(--main-color);
	border-radius: 24px;
	font-weight: 700;
	margin-right: 2%;
}

/* profile */
.profile {
  position: relative;
  width: 100px;
  height: 55px;
  border-radius: 30px;
  transition: all .4s ease-in-out;
  cursor: pointer;
	margin-right: -5px;
}

.profile .icon {
  position: absolute;
  top: 50%;
  left: 28px;
  transform: translateY(-50%);
}

.profile .icon svg {
  fill: #999;
}

.profile-inner {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.profile-img {
  position: relative;
  width: 34px;
  height: 34px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
}

.profile-img::after {
  content:"";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 38px;
  height: 38px;
  border: 2px solid var(--main-color);
  border-radius: 50%;
}

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

.category {
	margin-top: 20px;
	padding: 0 10px;
}

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

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

.dropdown-list li a:hover {
  background-color: var(--main-color);
  color: var(--white);
}

/* search */
.search {
  position: relative;
  width: 100%;
  height: 28px;
	margin-left: auto;
}

.search input {
  width: 100%;
  height: 100%;
  outline: none;
  border: 0.5px solid #d9dadade;
  border-radius: 6px;
  padding: 0 10px 0 25px;
  font-size: 8px;
  font-family: 'Pretendard', sans-serif;
  color: var(--black);
	background-color: #e4e4e3;
}

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

/* list */
.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*/
}

.post-item {
	float: left;
	width: 33.333%;
	padding: 8px;
}

.post-item a {
	position: relative;
	display: block;
	text-decoration: none;
	border-radius: 4px;
	overflow: hidden;
}

.post-item .thum {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	background-color: #f8f8f8;
}

.post-item .thum img {
	width: 100%;
	height: auto;
}

.post-item a:hover .title {
	opacity: .9;
}

.post-item .title {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	width: 100%;
	height: 100%;
	text-overflow: ellipsis;
	white-space: normal;
	line-height: 1.4;
	font-weight: 600;
	text-decoration: none;
	background-color: var(--main);
	color: var(--white);
	opacity: 0;
	transition: opacity .5s;
	padding: 20px;
}

.post-item .excerpt {
	display: block;
	overflow: hidden;
	max-width: 95%;
	margin-bottom: 15px;
	text-overflow: ellipsis;
	font-size: 0.8125em;
	line-height: 1.5rem;
	color: #999;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.post-item .meta {
	display: block;
	font-size: 0.75em;
	color: #999;
}

.post-item .meta span:before {
	content: "";
	display: inline-block;
	width: 2px;
	height: 2px;
	margin: 0 8px 0 5px;
	background-color: #d2d2d2;
	vertical-align: middle;
}

.post-item .meta span:first-child:before {
	content: none;
}

.post-item.protected .thum:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 34px;
	height: 47px;
	margin: -24px 0 0 -17px;
	background: url(./images/ico_package.png) no-repeat 0 -120px;
	background-size: 120px auto;
}

.thum-title {
	display: block;
	width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; 
	font-size: 8px;
	font-weight: bold;
	letter-spacing: -0.5px;
}

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

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

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

.container_postbtn .btn_post {
	font-family: 'Poppins', 'Pretendard', sans-serif!important;
}

.entryNotice .container_postbtn {
	display: none;
}

/* paging */
.paging {
	display: flex;
	width: 100%;
	text-align: center;
	padding-top: 40px;
	align-items: center;
	justify-content: space-between;
}

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

/* protect */
.protect-thum {
	width: 100%;
}

.entryProtected {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 80px 0;
}

.entryProtected input {
	width: 100px;
	background: none;
	outline: none;
	border: none;
	border-bottom: 1px solid var(--border-color);
	margin-left: 10px;
	padding: 5px;
}

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

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

.booth-header {
	padding: 16px 11px;
}

.booth-body {
	margin: 0 12px;
	height: 195px;
	background-position: 50% 50%;
	background-size: cover;
	border: 0.5px solid #d9dada;
	border-radius: 5px;
}

/* gnb */
.gnb {
  position: fixed;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background-color: var(--white);
	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;
}

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

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

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

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

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

#doc-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: var(--white);
	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: var(--white);
	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: var(--white);
	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;
}

.booth-btn {
	opacity: 0;
	user-select : none;
}

.btn_open {
	display: none;
	width: 14px;
	height: 14px;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
}

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

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

@media (max-width: 864px) {
	.box {
		width: 100%;
		border: none;
		border-radius: 0px;
	}
	.left {
		width: 25%;
	}
	.main {
		width: 75%;
	}
}

@media (max-width: 600px) {
	body {
		background-image: none;
		background: var(--white);
	}
	.wrapper {
		justify-content: flex-start;
		padding-top: 44.5px;
	}
	.box {
		flex-direction: column;
		box-shadow: none;
		overflow: visible;
	}
	.left {
		width: 100%;
		border-right: none 0;
		background: var(--white);
	}
	.main {
		width: 100%;
	}
	.booth-header {
		position: fixed;
    width: 100%;
    top: 0;
    height: 44.5px;
		padding: 8px 16px;
		display: flex;
		align-items: center;
		background: var(--white);
		z-index: 999;
	}
	.booth-header.shadow {
		border-bottom: 0.5px solid #dadbd9;
	}
	.booth-body {
		height:100px;
		display:none;
		margin: 0;
		box-shadow: none;
		border: none 0;
	}
	.btn_open {
		display: flex;
	}
	.contents {
		height: auto;
	}
	.search {
		width: 40%;
	}
	#header {
		height: 44.5px;
		border: none 0;
	}
	.search input {
		background-color: rgba(239,239,240,1);
		border: 0px solid #d9dada;
	}
	.post-item {
		width: 50%;
	}
	.post-item .title {
		display: none;
	}
	.category {
		display: none;
	}
	.paging {
		padding: 30px 0;
	}
	#doc-nav {
		display: grid;
		width: 50%;
		border-radius: 4px;
		background-color: var(--white);
	}
	#tt-body-index .contents,
	#tt-body-category .contents,
	#tt-body-search .contents,
	#tt-body-tag .contents {
		padding: 8px;
	}
	#tt-body-tag .contents {
		padding: 8px;
	}
	.guest_general .message,
	.guest_secret .message,
	.guest_admin .message {
		width: 52%;
	}
	.taglog {
		margin: 0;
		padding : 8px;
	}
	.gnb_profile {
		display: block;
	}
}