@font-face {
  font-family: "S-CoreDream-4Regular";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "GmarketSansLight";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
}

.hologram {
  font-size: 1.1rem !important;
}

.frame-theme-BODY {
  max-width: 800px;
  margin: auto;
}

.pg_current.pg_page {
  box-shadow: 1px 1px 0 var(--point-color2) !important;
}
.pg_page {
  border-radius: 50%;
  box-shadow: 1px 1px 0 var(--point-color1);
  opacity: 1;
}
.board-list {
  width: 100%;
  text-align: left;
}

.board-list .bo_item {
  display: flex;
  flex-flow: row wrap;
  margin: 35px 0;
}
.board-list .bo_item.reply:not(.board-list > div:nth-child(1)) {
  margin-top: -20px;
}
.board-list
  .bo_item.reply:not(.board-list > div:nth-child(1))
  .div_thumb::after {
  content: "";
  width: 5px;
  height: 15px;
  background-color: var(--point-color2);
  display: inline-block;
  position: absolute;
  top: -15px;
  left: calc(50% + 2.5px);
  box-shadow: 1px 0px 1px rgb(0 0 0 / 20%);
}
.board-list .div_thumb {
  max-width: 100%;
  width: 10%;
  box-shadow: 0px 0px 8px rgb(0 0 0 / 10%);
}

.board-list .div_thumb img {
  object-fit: cover;
  width: 100%;
  max-height: 210px;
}

span.date {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.7rem;
  color: white;
  word-break: break-all;
  position: relative;
  padding: 0 !important;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
}

span.date.new {
  font-size: 1.5rem;
}

.article-info .bottom_menu {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.article-info .bottom_menu div {
  padding: 0 !important;
}

/* 검색 */
.sfl,
.stx {
  color: var(--sub-text-color) !important;
  border-width: 0 !important;
  border-bottom: 1px solid var(--point-color1) !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.board-list .div_info {
  max-width: 100%;
  width: 90%;
  background: rgba(255, 255, 255);
  padding: 20px 10px 10px 10px;
  box-sizing: border-box;
  box-shadow: 0px 0px 8px rgb(0 0 0 / 10%);
}

.board-list .div_info input {
  background-color: white;
}
.board-list .div_info .div_subject div {
  display: flex;
}
.board-list .div_info .div_subject div > span {
  box-sizing: border-box;
  padding: 0 5px;
}

.board-list .div_info .div_subject div > span:nth-child(1) {
  margin-right: 5px;
}

.board-list .div_info .div_subject div > span[class^="material-icons"] {
  color: var(--point-color1);
}

.board-list .div_info .div_subject div > span[class^="material-icons"].sm {
  font-size: 0.9em;
}

.board-list .div_info .div_subject div > span.subinfo {
  color: var(--sub-text-color);
  opacity: 0.8;
  font-weight: bold;
  letter-spacing: -0.9px;
  font-family: var(--point-font);
  font-size: 0.8rem;
  width: auto;
  height: auto;
}

.board-list .div_info .div_subject {
  display: flex;
  flex-flow: row;
  align-items: center;
}

.board-list .div_info .div_subject img {
  margin: 0 3px;
}

.board-list .div_info .div_subject {
  padding: 0px 15px;
}

.board-list .div_info .div_subject > div:nth-child(1) {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  align-items: center;
}

.board-list .div_info > div:nth-child(2) {
  padding: 10px 15px;
}

.board-list .div_info .div_subject .co-footer {
  margin-left: auto;
  padding: 0;
}

.board-list .div_info .div_content {
  display: flex;
}
.board-list .div_info .div_content .plyr > div {
  width: 100%;
}
.board-list .div_info .div_content > *:nth-child(1) {
  flex-grow: 7;
  margin-right: 10px;
  word-break: break-all;
}

.board-list .div_info .div_content .div_text {
  opacity: 0.8;
  font-family: "S-CoreDream-4Regular";
  color: var(--text-color);
}

.board-list .div_info .div_content .div_text input[name="wr_pass"] {
  max-width: 130px;
  border-radius: 0;
  border-width: 0;
  border-bottom: 1px solid var(--point-color1);
}

.board-list .div_info .div_content .div_text .field_password button {
  background-color: transparent;
  border: 0;
  padding: 0;
}

.div_img {
  display: grid;
  grid-template-columns: auto auto;
  grid-auto-rows: minmax(auto, 75px);
}

.board-list .div_img .img {
  width: 75px;
  height: 75px;
  padding: 2px;
}
.div_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: auto;
}

.img_modal {
  display: none;
  z-index: 500;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
  animation: fadein 200ms ease-out;
}
.img_modal .modalBox {
  position: relative;
  text-align: center;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.img_modal .modalBox img {
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
  max-height: 90%;
  box-sizing: border-box;
}

.empty_table {
  text-align: center;
  line-height: 150px;
}

.board-list thead th {
  font-family: "Nanum Myeongjo";
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  font-size: 13px;
  padding: 10px;
}
.board-list tbody .td_chk,
.board-list tbody .td_num,
.board-list tbody .td_name,
.board-list tbody .td_hit,
.board-list tbody .td_date {
  text-align: center;
}
.board-list tbody td {
  padding: 10px;
}

.board-list tbody .bo_notice * {
  color: yellow;
}

.board-list tbody .bg-1 td {
  background: rgba(255, 255, 255, 0.1);
}
.board-list .cnt_cmt {
  font-size: 1.3rem;
}

.bo_fx {
  text-align: right;
  padding: 0;
  height: 35px !important;
}

#bo_sch {
  text-align: center;
  padding-top: 30px;
}
#bo_sch button {
  position: relative;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  overflow: hidden;
  color: var(--base-color);
}
.btn_confirm {
  text-align: center;
  padding: 30px 0;
}

@media all and (max-width: 1000px) {
  .board-list,
  .board-list thead,
  .board-list tbody,
  .board-list tr,
  .board-list th,
  .board-list td {
    display: block;
    position: relative;
  }
  .board-list thead {
    display: none;
  }

  .board-list tbody .bg-1 td {
    background: none;
  }
  .board-list tbody .bg-1 {
    background: rgba(255, 255, 255, 0.1);
  }

  .board-list .td_num {
    display: none;
  }
  .board-list .td_name,
  .board-list .td_date,
  .board-list .td_hit {
    display: inline-block;
    padding-top: 0;
    opacity: 0.7;
  }
  .board-list .td_subject {
    text-align: left;
  }
}

/* modal css */
.modal {
  max-width: 800px;
  min-height: 200px;
}

.modal .ui-btn {
  color: var(--base-color);
  background-color: var(--point-color2) !important;
  border: 0 !important;
}
.modal .ui-btn.point {
  background-color: var(--point-color1) !important;
}

.modal a.close-modal {
  background-color: var(--point-color1);
  background-image: none !important;
  border-radius: 50%;
  left: -12.5px;
}

.modal a.close-modal::before {
  content: "X";
  color: white;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-indent: 0;
  text-align: center;
  font-size: 18px;
  line-height: 33px;
  font-family: var(--point-font);
}

/* model 내 글 작성 css */
.modal #body {
  padding: 10px;
  max-height: 290px;
  margin-left: 0;
}
.modal * {
  font-family: "S-CoreDream-4Regular";
}

.modal hr.padding {
  height: 0;
}

.modal .theme-form > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 5px 0;
}
.modal .theme-form #wr_subject {
  font-size: 1.1rem;
  border: none;
  outline: none;
  width: 100%;
  margin: 0 0 0 10px;
}
.modal .theme-form #wr_subject::placeholder {
  color: #888;
  opacity: 0.6;
}
.modal .theme-form #wr_content {
  font-size: 1.1rem;
  height: 150px !important;
  border: 0px;
  color: var(--text-color);
}

.modal .wr_header > div {
  margin-right: 8px;
}

.modal .wr_header > input {
  margin: 0 2px 0 5px;
}

.modal .wr_header label,
.modal .wr_header span,
.modal .wr_header input {
  color: var(--text-color);
}

.modal .wr_header input {
  border-radius: 0;
  border-bottom: 1px solid #888 !important;
}

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

.modal .wr_header .hide {
  display: none;
}

.modal .wr_header label {
  margin: 0 5px;
}

.modal .wr_header input[type="checkbox"]:checked + label::before {
  content: "✔";
  color: var(--point-color1);
  font-size: 1.1rem;
  text-align: center;
}
.modal .wr_file {
  border: 0px;
  display: flex;
  align-items: center;
}
.wr_file input[type="file"] {
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
}
.wr_file label[for="bf_file"] {
  display: inline-block;
  padding: 5px 10px;
  color: #fff;
  vertical-align: middle;
  background-color: #999999;
  cursor: pointer;
  margin-right: 10px;
}
.wr_file .upload-file-name {
  display: inline-block;
  padding: 0 10px;
  vertical-align: middle;
  border: 1px solid #dddddd;
  color: #999999;
}

.wr_file .div_img,
.wr_file .upload_file {
  max-width: 100%;
  display: grid;
  grid-auto-rows: minmax(auto, 30px);
  grid-auto-flow: column;
}
.wr_file .div_img .img,
.wr_file .upload_file .img {
  display: inline-block;
  width: 50px;
  height: 30px;
  margin: 0 5px;
  position: relative;
}

.wr_file .div_img .img.selected {
  background-color: gray;
  opacity: 0.8;
}
.wr_file .div_img .img.selected::after {
  position: absolute;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "삭제";
  color: white;
}
.modal .wr_footer div:nth-child(2) {
  margin-left: auto;
}

.modal #password_box {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.modal #password_box .btn_confirm .ui-btn {
  box-sizing: border-box;
}
.modal #password_box .theme-box {
  color: var(--text-color);
  background-color: transparent;
}
.modal #password_box .pass-form input[type="password"] {
  border-width: 0 !important;
  border-bottom: 1px solid var(--point-color1) !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.modal #password_box div:nth-child(3) {
  padding: 0;
}
.modal #password_box .pass-form form {
  display: flex;
  flex-flow: row;
  flex-grow: 1;
}
@media all and (max-width: 785px) {
  .modal {
    height: 380px;
  }
}
@media all and (max-width: 580px) {
  .modal {
    height: 430px;
  }
  .board-list .div_info .div_content {
    flex-wrap: wrap;
  }
  .board-list .div_info .div_content .div_text {
    margin-bottom: 10px;
  }
  .div_img {
    display: flex;
    flex-basis: 100%;
    flex-grow: 2;
    margin: 10px 0;
  }
}
