@font-face {
  font-family: "omyu_pretty";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-01@1.0/omyu_pretty.woff2")
    format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "S-CoreDream-3Light";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
}

:root {
  --box-shadow: 0px 0px 10px rgba(48, 48, 48, 0.8);
  --tag-border-radius: 4px;
  --point-font: "omyu_pretty";
}
/* 기본폰트 */
#body {
  font-family: "S-CoreDream-3Light";
}

/* 기본박스 */
#body .theme-box {
  border-radius: 5px;
  box-shadow: var(--box-shadow);
}

/* 인풋박스, 선택박스, 텍스트박스 */
#body input,
#body select {
  border-radius: 5px;
}

/* 일반 버튼 */
#body .ui-btn {
  border-radius: 5px;
}

/* 기타 기본설정 */
#body .fix-layout {
  max-width: 100%;
}
.hr {
  margin: 10px 0;
}
.load-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

/* 강조, 해시태그 */
.load-container .highlight,
#load-log-board #log_list .link_hash_tag {
  margin-bottom: unset;
  display: inline-block;
  padding: 1px 5px;
  border-radius: var(--tag-border-radius);
  font-family: var(--point-font);
  font-size: 16px;
  line-height: 16px;
}

/* 로그링크 */
#load-log-board #log_list .log_link_tag {
  color: var(--point-color1);
}

/* 체크박스 */
.load-container input[type="checkbox"] {
  display: none;
}
.load-container input[type="checkbox"]:checked + label::before {
  content: "✔";
  font-size: 1.1rem;
  text-align: center;
  color: var(--point-color1);
}
.load-container input[type="checkbox"] + label:hover {
  color: var(--point-color1);
}

/* 유튜브 */
.plyr {
  width: 100%;
}
#body .plyr__controls button:hover {
  background-color: var(--point-color1);
}
#body .plyr--full-ui input[type="range"] {
  color: var(--point-color1);
}

/* 프로필 표시 창/검색창 */
#load-sidebar {
  position: sticky;
  top: 10%;
  display: flex;
  flex-flow: column;
  margin-top: 25%;
  margin-left: auto;
  margin-right: 30px;
  width: 80%;
  max-width: 300px;
  max-height: 500px;
}

/* 프로필 표시 창 */
#load-profile-container {
  padding: 0;
  overflow-y: auto;
}
#load-profile-config {
  position: absolute;
  right: 0;
  margin: 5px;
}
#load-profile-info {
  display: flex;
  margin-bottom: 3px;
}
#load-profile-info > div {
  display: flex;
  flex-flow: column;
  justify-content: center;
}
#load-profile-info > div > *:not(:first-child) {
  margin-left: 5px;
  margin-bottom: 3px;
}
#load-profile-icon {
  width: 100px;
  border-radius: 50%;
  position: sticky;
  margin: -10px 15px 0 10px;
  box-shadow: var(--box-shadow);
}
#load-profile-name {
  position: sticky;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: bold;
}
#load-profile-bio {
  padding: 20px;
}

/* 검색창 */
#load-sidebar .searc-sub-box {
  padding: 15px 0;
}

/* 공지 */
.board-notice {
  text-align: center;
}

/* 카테고리 */
#navi-category {
  margin: 10px 0;
}
#navi-category ul {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
#navi-category li {
  font-size: 1rem;
  font-family: var(--point-font);
  margin-right: 10px;
  padding: 2px 15px;
  border-radius: 8px;
}

/* 메뉴 버튼 */
.ui-mmb-button {
  display: flex;
  justify-content: center;
}
.ui-mmb-button > * {
  margin-right: 5px;
}

/* 게시글 박스 */
#log_list .item {
  padding: 15px;
  margin-bottom: 30px;
}
#log_list .empty_list {
  text-align: center;
  margin: 30px 0;
}

/* 로그 상단 */
.pic-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-family: var(--point-font);
  font-size: 1rem;
}
.pic-header .no {
  color: var(--point-color1);
  font-size: 1.5rem;
  margin-right: 10px;
}
.pic-header > * {
  margin-right: 5px;
}
.pic-header .ico-category {
  font-size: 1.2rem;
  margin-right: 10px;
}

/* 로그 박스 */
.pic-data {
  display: flex;
  justify-content: center;
}
.pic-data.ui-slide .img-data {
  display: unset;
  overflow-y: auto;
  text-align: center;
}
.img-data {
  display: flex;
  justify-content: center;
  width: 100%;
}
.img-data.scroll {
  overflow-y: auto;
}

/* 댓글 입력 폼 */
.load-container .input-comment input:not([type="button"]),
.load-container .input-comment textarea,
.load-container .input-comment .form-input {
  border-width: 0;
}
.load-container .input-comment textarea {
  background-color: #f4f4f4;
  margin: 5px 0;
  max-height: 300px;
}
.input-comment > div:first-child {
  display: grid;
  grid-template-columns: 50% auto;
  margin: 5px 0;
}
.input-comment .memo_box input {
  width: 100%;
}
.input-comment .file_box input[type="file"]::file-selector-button {
  width: 80px;
  height: 30px;
  border-radius: 10px;
  cursor: pointer;
  background-color: var(--point-color1);
  border: 0;
}
.input-comment .action-check {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(0px, auto));
}
.input-comment .action-check > * {
  margin-right: 5px;
}
.input-comment .action-check a {
  position: relative;
  top: 2px;
}
.input-comment .content_box {
  display: grid;
  grid-template-columns: 80% 20%;
}
.input-comment .content_box .ui-comment-submit {
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  margin: 5px;
}

/* 댓글 박스(전체) */
.item-comment-box {
  margin-top: 15px;
  margin-bottom: 30px;
}

/* 댓글 박스(개별) */
.load-container #load-log-board #log_list .item-comment {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px !important;
}

/* 댓글의 댓글 박스 */
#load-log-board #log_list .item .item-inner .item-comment.item-reply {
  opacity: unset;
}

/* 댓글 작성자/작성날짜/메뉴 */
#load-log-board #log_list .co-header strong {
  color: var(--point-color1);
}
.comment-icon {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--box-shadow);
  margin-left: 5px;
}
.co-header {
  display: grid;
  grid-template-columns: 80px auto;
  align-items: center;
}
.co-info {
  display: flex;
  flex-flow: column;
  justify-content: center;
}
.co-info > * {
  margin: 1px 0;
}
#load-log-board #log_list .co-header strong {
  font-size: 1rem;
}

/* 댓글 내용 */
.co-content {
  padding: 15px;
  border-radius: 10px;
  margin: 20px 15px;
  position: relative;
}
.co-content:after {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-top: 0;
  margin-left: -8px;
  margin-top: -8px;
}

/* 이미지 모달 창 */
#img-modal,
#password-modal {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
  animation: fadein 200ms ease;
}
.modal-box {
  position: relative;
  text-align: center;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}
.modal-box img {
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
  max-height: 90%;
  box-sizing: border-box;
}

/* 비밀번호 입력 창 */
#password_box {
  padding: 10px;
  display: grid;
  row-gap: 10px;
}
#password_box .descript {
  display: grid;
  row-gap: 10px;
  max-width: 350px;
}
#password_box .box-pw {
  margin-bottom: 10px;
}
#password_box .btn_confirm {
  display: none;
}
#password_box h1 {
  display: flex;
  align-items: center;
  justify-content: center;
}

#load_log_board dl {
  display: flex;
}

/* 페이지 버튼 */
.load-container .pg_wrap {
  display: block;
  position: relative;
  text-align: center;
  padding: 20px 0;
}
.load-container .pg_wrap .pg_page {
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  margin: 0 5px;
  overflow: hidden;
  text-align: center;
  vertical-align: top;
  padding: 0;

  border-radius: 0.3rem;

  height: 20px;
  width: 20px;
  box-shadow: none;
  line-height: unset;
  min-width: unset;
  font-weight: bold;
}
.load-container .pg_wrap .pg_page::after {
  content: "";
  background: #333;
  position: absolute;
  left: -2.5%;
  top: 0;
  width: 105%;
  height: 102%;
  z-index: -1;
}
.load-container .pg_wrap .pg_control {
  overflow: hidden;
  text-align: left;
  text-indent: -999px;
}
.load-container .pg_wrap .pg_control:before {
  display: block;
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  bottom: 0;
  text-indent: 0;
  font-size: 1.5rem;
}
.load-container .pg_wrap .pg_start:before {
  content: "<<";
  font-size: 12px;
}
.load-container .pg_wrap .pg_end:before {
  content: ">>";
  font-size: 12px;
}
.load-container .pg_wrap .pg_prev:before {
  content: "◀";
  font-size: 12px;
}
.load-container .pg_wrap .pg_next:before {
  content: "▶";
  font-size: 12px;
}

/* 프로필 설정 창 */
#profile-config-container {
  display: none;
  z-index: 500;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  animation: fadein 200ms ease-out;
}
#profile-config-modal {
  position: relative;
  text-align: center;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#profile-config-content {
  padding: 20px;
  width: 600px;
  max-height: 600px;
  box-sizing: border-box;
  overflow-y: auto;
  color: #333;
}
#profile-config-content input:not([type="button"]),
#profile-config-content select,
#profile-config-content textarea {
  height: 35px;
}
#profile-config-content select {
  margin-right: 5px;
}
#profile-config-content hr {
  display: block;
}
#profile-config-content .profile div > div {
  align-items: center;
  padding: 5px;
  box-sizing: border-box;
}
#profile-config-content .profile {
  margin-bottom: 10px;
}
#profile-config-content .profile div.column {
  display: flex;
  flex-flow: column;
  flex-grow: 1;
}
#profile-config-content .profile div.row {
  width: 100%;
  display: flex;
  flex-flow: row;
}
#profile-config-content .profile div.row > * {
  padding: 0 3px;
}
#profile-config-content .profile div.row > *:first-child {
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: 120px;
  width: 120px;
}
#profile-config-content .profile div.row > *:nth-child(2) {
  flex: 2 1 0;
}
#profile-config-content .profile div.row:last-child textarea {
  height: 200px;
}
#profile-config-content .profile div.delete {
  display: flex;
  align-items: center;
  justify-content: center;
}
#profile-config-content .profile > p,
#profile-config-content div > div > div > p {
  margin-right: 10px;
}
#profile-config-content img {
  max-width: 100px;
}

/* 그대로 두시는게 좋습니다 */
#log_list .modify_area {
  display: none;
  position: relative;
}
.re_more {
  display: none;
}
#profile-slide {
  display: none;
}

/* 모바일 설정 */
@media (max-width: 1280px) {
  .load-container {
    display: flex;
    flex-flow: column;
    position: relative;
  }
  #load-log-board {
    width: 60%;
    max-width: 60%;
  }

  #profile-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 10px;
    left: 0;
    width: 30px;
    height: 30px;
    z-index: 999;
    background-color: var(--point-color1);
    font-size: 1rem;
    border-radius: 0 10px 10px 0;
  }
  #load-sidebar {
    position: fixed;
    top: 50px;
    left: 10px;
    margin-top: 0;
    display: flex;
    flex-flow: column;
    max-width: 300px;
    max-height: 500px;
    z-index: 999;

    transform: translateX(-350px);
    transition-property: all;
    transition-duration: 1s;
  }
  #load-sidebar.off {
    transform: translateX(0px);
    transition-property: all;
    transition-duration: 1s;
  }
}
@media (max-width: 768px) {
  #load-log-board {
    width: 100%;
    max-width: 100%;
  }
}
