@font-face {
 font-family: 'NanumBarunGothic';
 font-style: normal;
 font-weight: 400;
 src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.eot');
 src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.eot?#iefix') format('embedded-opentype'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.woff') format('woff'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.ttf') format('truetype');
}

/* PAD, MOBILE */

@media (min-width: 401px) and (max-width: 600px) {
  html, body {
    .container {
      display: grid;
      grid-template-areas: 'header'
                           'article'
                           'footer';
      grid-template-columns: 100%;
      margin: 0 auto;
      margin-top: 100px;
      background-color: #ffffff;
      width: 95%;
    }
  }
}

@media (max-width: 400px) {
  html, body {
    .container {
      display: grid;
      grid-template-areas: 'header'
                           'article'
                           'footer';
      grid-template-columns: 100%;
      margin: 0 auto;
      margin-top: 70px;
      margin-bottom: 40px;
      background-color: #ffffff;
      width: 95%;
    }.profile_img {
        flex: 1.5;
        width: 100%;
        height: 85px;
    }.profile_info {
      font-size: 11px;
    }.profile_mur {
      padding: 0;
      padding-left: 5px;
    }.paging a {
      left: 43%;
    }.gallery .list_content {
      height: 100px;
    }.gallery .list_thumb {
      top: -100px;
    }.gallery .list_title {
      width: 90px;
    }.c_gallery_item {
      height: 100px;
    }.c_gallery_thumb {
      top: -107px;
    }.c_gallery_c_title {
      width: 90px;
    }
  }
}

/* 기본 설정 */

html, body, a, li, ol, ul {
  position: relative;
  padding: 0;
  margin: 0;
  font-size: 10px;
  font-family: 'NanumBarunGothic';
  line-height: 1.7em;
  text-decoration: none;
  list-style: none;
  color: var(--font_color);
}

html, body {
  background-color: var(--body_bg);
}

.container {
  display: grid;
  grid-template-areas: 'header'
                       'article'
                       'footer';
  grid-template-columns: 550px;
  border: 1px solid var(--border_color);
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 50px;
  width: 550px;
  background-color: #ffffff;
}

.header {
  display: flex;
  grid-area: header;
  border-bottom: 1px solid var(--border_color);
}

.article {
  grid-area: article;
  box-sizing: border-box;
}

.nav {
  flex-shrink: 1;
  margin-left: auto;
  border-left: 0px solid var(--border_color);
}

.footer {
  grid-area: footer;
}

.ct_bg {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(212, 212, 212, 0.493);
}

.iconsax svg {
  width: 17px !important;
  height: 17px !important;
  --Iconsax-Color: var(--font_color);
}

.iconsax svg:hover {
  --Iconsax-Color: var(--point_color) !important;
}

::selection {
  background-color: var(--drag_bg_color);
  color: var(--drag_f_color);
}

/* 프로필 */

.profile {
  display: flex;
  flex: 3;
  margin: 20px;
  box-sizing: border-box;
}

.profile_img {
  flex: 1;
  width: 100%;
  height: 95px;
  overflow: hidden;
  border: 1px solid var(--border_color);
}

.profile_img a {
  width: inherit;
  height: inherit;
}

.p_img {
  width: inherit;
  height: inherit;
  object-fit: cover;
}

.profile_info {
  position: relative;
  flex: 4;
  font-size: 10px;
  margin-left: 10px;
}

.profile_title {
  font-weight: bold;
}

.profile_mur {
  position: absolute;
  bottom: 0;
  padding: 5px;
  margin-top: 8px;
  box-sizing: border-box;
  border-left: 2px solid var(--point_color);
}

/* 메뉴 */

.menu {
  display: inline-block;
  flex-direction: row;
  justify-content: space-evenly;
  box-sizing: border-box;
  text-align: center;
  align-items: center;
  margin-right: 10px;
  gap: 30px;
  height: 100%;
  padding: 10px;
}

.menu a {
  display: inline-block;
  width: fit-content;
  margin-top: 5px;
}

.menu a:last-child {
  margin-right: 0;
}

/* 카테고리 */

.tt_category .link_tit {
  display: none;
}

.m_category {
  cursor: pointer;
}

.category {
  display: none;
  position: absolute;
  top: 330px;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--border_color);
  z-index: 100;
  background-color: #ffffff;
  width: 150px;
  margin-right: auto;
}

.category_list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.category_list li {
  width: 100% !important;
  text-align: center;
  border-bottom: 1px solid var(--border_color);
  cursor: pointer;
}

.category_list li:last-child {
  border-bottom: none;
}

.sub_category_list li:first-child {
  border-top: 1px solid var(--border_color);
}

.category_list li a {
  width: inherit;
  padding: 10px;
  box-sizing: border-box;
}

.sub_category_list {
  display: none;
  background-color: rgb(245, 245, 245);
}

/* 커버_공지사항 */

.c_notice {
  padding: 20px;
  box-sizing: border-box;
  /* border-bottom: 1px solid var(--border_color); */
}

.c_notice_title {
  font-weight: bold;
  margin-bottom: 0px;
}

/* 커버_갤러리형 */

.c_gallery {
  padding: 20px;
}

.c_gallery_title {
  display: inline-block;
  font-weight: bold;
  margin-bottom: 5px;
}

.c_gallery_content {
  display: flex;
  flex-wrap: wrap;
}

.c_gallery_item {
  position: relative;
  width: calc(100% / 3 - 13px);
  height: 150px;
  margin: 8px;
  border: 1px solid var(--border_color);
}

.c_gallery_item:first-child {
  margin-left: 0;
}

.c_gallery_item:last-child {
  margin-right: 0;
}

.c_gallery_item > a {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 99;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transition: opacity 0.3s ease;
}

.c_gallery_c_title {
  position: absolute;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre-wrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  color: #fff;
  text-align: center;
  z-index: 99;
}

.c_gallery_thumb {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
  top: -158px;
}

.c_gallery_no_img {
  position: absolute;
}

.c_gallery_thumb > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c_gallery_item:hover a {
  opacity: 1;
}

/* 커버_리스트 */

.c_list {
  padding: 20px;
  border-top: 1px solid var(--border_color);
}

.c_list_title {
  font-weight: bold;
}

.c_list_list {
  display: flex;
  flex-direction: column;
}

.c_list_list a {
  margin: 10px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border_color);
}

.c_list_l:hover::before {
  display: inline-block;
  content: '\EA6D';
  font-family: 'remixicon';
  font-size: 11px;
  font-weight: 400;
  margin-right: 4px;
}

.c_list_l:hover {
  color: var(--point_color);
}

/* 리스트형 */

.list .list_thumb,
.list .list_item,
.list .playlist_content {
  display: none;
}

.list .list_content {
  box-sizing: border-box;
  padding: 20px;
  border-bottom: 1px solid var(--border_color);
}

.list .list_content:last-child {
  border-bottom: none;
}

.list .list_title,
.list .list_date {
  display: inline-block;
}

.list .list_date {
  float: right;
}

.list .list_title:hover {
  color: var(--point_color);
}

.list .list_title:hover::before {
  display: inline-block;
  content: '\EA6D';
  font-family: 'remixicon';
  font-size: 11px;
  font-weight: 400;
  margin-right: 4px;
}


/* 갤러리형 */

.gallery .list_date,
.gallery .list_item,
.gallery .list_rp_count,
.gallery .playlist_content {
  display: none;
}

.gallery .list_content_wrap {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  padding: 10px;
}

.gallery .list_content {
  display: inline-block;
  position: relative;
  width: calc(100% / 3 - 18px);
  height: 160px;
  margin: 8px;
  border: 1px solid var(--border_color);
  overflow: hidden;
}

.gallery .list_info {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.gallery .list_info > a {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 90;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transition: opacity 0.3s ease;
}

.gallery .list_title {
  position: absolute;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre-wrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  color: #fff;
  text-align: center;
  z-index: 99;
}

.gallery .list_thumb {
  position: relative;
  width: 100%;
  height: 100%;
  top: -160px;
  overflow: hidden;
}

.gallery .list_thumb img {
  z-index: -1;
  width: inherit;
  height: inherit;
  object-fit: cover;
}

.gallery .list_no_img {
  z-index: -2 !important;
}

.list_content:hover .list_info > a {
  opacity: 1;
}

/* 메모형 */

.memo .list_thumb,
.memo .list_date,
.memo .playlist_content {
  display: none;
}

.memo .list_content_wrap {
  padding: 20px;
  box-sizing: border-box;
}

.memo .list_content {
  border: 1px solid var(--border_color);
  margin-bottom: 20px;
  padding: 15px;
  box-sizing: border-box;
}

.memo .list_info {
  border-bottom: 1px dashed var(--border_color);
  padding-bottom: 10px;
  font-weight: bold;
}

.memo .list_s {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: normal;
  overflow: hidden;
  padding-top: 10px;
}

/* 플레이리스트*/

.playlist .list_thumb,
.playlist .list_date,
.playlist .list_s {
  display: none;
}

.playlist .list_content {
  padding: 20px;
  border-bottom: 1px solid var(--border_color);
}

.playlist .list_info {
  font-weight: bold;
  margin-bottom: 10px;
}

/* 본문 */

.main_title {
  font-weight: bold;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border_color);
}

.main_date {
  display: inline-block;
  float: right;
  margin: 10px 20px 10px 0;
}

.main_article {
  padding: 20px;
  border-bottom: 1px solid var(--border_color);
}

.main_detail .contents_style p > a::before {
  display: inline-block;
  content: '\EEB8';
  font-family: 'remixicon';
  font-weight: 400;
  font-size: 12px;
  margin-right: 5px;
}

/* 기타 본문 설정 */

figure.fileblock {
  min-width: 100px;
  max-width: 200px;
  height: 50px;
  overflow: hidden;
  border: 1px solid var(--border_color);
}

figure.fileblock a {
  display: flex;
}

figure.fileblock .size,
figure.fileblock .image {
  display: none;
}

figure.fileblock a::before {
  position: absolute;
  display: inline-block;
  content: '\ECD9';
  font-family: 'remixicon';
  font-weight: 400;
  font-size: 18px;
  margin-top: 15px;
  width: calc(50% / 2 - 10px);
  text-align: right;
}
figure.fileblock a::after {
  content: '';
  background-image: none;
}

figure.fileblock .desc {
  width: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

figure.fileblock .filename {
  margin: 0;
  margin-top: 15px;
  width: inherit;
  text-align: center;
}

figure[data-ke-type='opengraph'] {
  margin: 10px 0;
}

figure[data-ke-type='opengraph'] a {
  height: 130px;
}

figure[data-ke-type='opengraph'] div.og-text {
  padding: 15px 15px 0 15px;
}

figure[data-ke-type='opengraph'] div.og-text p {
  margin-bottom: 10px;
}

figure[data-ke-type='opengraph'] div.og-text p.og-title {
  font-size: 10px;
  font-family: inherit;
}

figure[data-ke-type='opengraph'] div.og-text p.og-desc {
  font-size: 10px;
  font-family: inherit;
}

figure[data-ke-type='opengraph'] div.og-text p.og-host {
  font-size: 10px;
  font-family: inherit;
}

div[data-ke-type='moreLess'] .btn-toggle-moreless {
  font-family: inherit;
  font-size: 10px;
  color: var(--point_color);
}

/* 공감 버튼 */

.main_detail .container_postbtn,
.a_notice .container_postbtn {
  width: 100%;
  padding: 10px 0;
}

.main_detail .container_postbtn .postbtn_like,
.a_notice .container_postbtn .postbtn_like{
  display: flex;
  justify-content: space-between;
  width: inherit;
  border: none;
  padding: 0;
}

.main_detail .container_postbtn .btn_post .ico_share,
.main_detail .container_postbtn .btn_post .ico_statistics,
.main_detail .container_postbtn .btn_post .txt_like,
.main_detail .container_postbtn .postbtn_like + .btn_menu_toolbar,
.a_notice .container_postbtn .btn_post .ico_share,
.a_notice .container_postbtn .btn_post .ico_statistics,
.a_notice .container_postbtn .btn_post .txt_like,
.a_notice .container_postbtn .postbtn_like + .btn_menu_toolbar {
  display: none;
}

/* 본문 댓글 및 방명록록 */

.comment {
  display: none;
}

.comment_t {
  box-sizing: border-box;
  padding: 15px 20px;
}

.write_info {
  display: flex;
  border-top: 1px solid var(--border_color);
}

.write_name {
  flex: 0.5;
  border-right: 1px solid var(--border_color);
}

.write_password {
  flex: 1;
}

.comment_check,
.guest_check {
  display: flex;
  justify-content: space-between;
  padding: 15px;
}

.comment_list {
  border-top: 1px solid var(--border_color);
}

.comment_list > ol > li {
  padding: 20px;
  border-bottom: 1px solid var(--border_color);
  box-sizing: border-box;
}

.guest_list > ol > li {
  padding: 20px;
  box-sizing: border-box;
}

.comment_list > ol > li:nth-last-child(3),
.guest_list > ol > li:nth-last-child(3) {
  border-bottom: none;
}

.comment_info, .comment_reply,
.guest_write, .guest_info, .guest_reply_info {
  display: flex;
  align-items: center;
}

.c_profile, .cr_profile,
.g_profile, .gr_profile {
  position: relative;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border_color);
  margin-right: 10px;
}

.c_profile img, .cr_profile img,
.g_profile img, .gr_profile img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: inherit;
  height: inherit;
  object-fit: cover;
  border-radius: 50%;
}

.comment_list p,
.guest_list p {
  background-color: rgb(245, 245, 245);
  padding: 10px;
  box-sizing: border-box;
  border-radius: 5px;
}

.c_name, .cr_name,
.g_name, .gr_name {
  font-weight: bold;
  margin-right: 5px;
}

.c_date, .cr_date,
.g_date, .gr_date {
  margin-right: 5px;
}

#comment_reply,
#guest_reply {
  margin-left: 20px;
}

.comment_reply::before,
.guest_reply_info::before {
  display: inline-block;
  content: '\EA6E';
  font-family: 'remixicon';
  font-weight: 400;
  font-size: 14px;
  margin-right: 10px;
}

.cr_main,
.gr_main {
  margin-left: 25px;
}

.guest_write,
.guest_check {
  border-bottom: 1px solid var(--border_color);
}

.guest_wrap textarea {
  border-top: none;
}

.tistoryProfileLayerTrigger {
  display: none;
}

/* 공지사항 및 태그 */

.a_notice {
  padding: 20px;
  box-sizing: border-box;
}

.a_tags {
  padding: 20px;
  box-sizing: border-box;
}

.a_tags li {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  width: fit-content;
  transition: 0.5s;
}

.a_tags li a:hover {
  color: var(--point_color);
}

/* 인풋 설정 */

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
}

textarea {
  resize: none;
  border: none;
  border-top: 1px solid var(--border_color);
  border-bottom: 1px solid var(--border_color);
  padding: 20px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  width: 100%;
  height: 100px;
  color: var(--font_color);
}

input[type="text"],
input[type="password"] {
  padding: 10px 20px;
  box-sizing: border-box;
  border: none;
  font-family: inherit;
  font-size: inherit;
  color: var(--font_color);
  width: 100%;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] + label::before {
    display: inline-block;
    content: 'public';
    font-family: inherit;
    font-weight: 500;
    font-size: 12px;
}

input[type="checkbox"]:checked + label::before {
    display: inline-block;
    content: 'secret';
    font-family: inherit;
    font-weight: 500;
    font-size: 12px;
    color: var(--point_color);
}

/* 보호글 */

.entry_protected {
  position: relative;
  width: inherit;
  height: 450px;
  margin: 0 auto;
}

.protected {
  position: absolute;
  width: fit-content;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--border_color);
  text-align: center;
}

.need_password {
  padding: 5px;
  border-bottom: 1px solid var(--border_color);
}

/* 리스트 페이징 */

.paging {
  position: relative;
  padding: 10px 20px;
  height: 15px;
  border-top: 1px solid var(--border_color);
}

.paging a {
  left: 45%;
  margin-right: 20px;
}

/* 카피라이트(삭제 금지) */

.copyright {
    position: fixed;
    bottom: 0;
    right: 0px;
    padding: 10px;
}

.tt_box_namecard {
  display: none !important;
}