@charset "utf-8";
/**
 * @author "FIRDENERS"
 */

#notice-board {
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
}

/* 리스트페이지(list.php) Custom CSS */
#notice-board .title-date-icon-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #ddd;
}

#notice-board .title-date-container {
  width: 80%;
}

#notice-board .content-title {
  color: #292c33;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4em;
}

#notice-board .title-date-icon-container i {
  font-size: 30px;
}

#notice-board .content-date {
  color: #71757e;
  font-size: 16px;
  font-weight: 500;
  margin-top: 10px;
}

#notice-board .search-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

#notice-board .search-form {
  display: flex;
  width: 400px;
}

#notice-board .search-sort {
  margin-right: 10px;
}

#notice-board .search-sort select {
  padding: 0;
  padding-top: 10px;
  padding-bottom: 8px;
  padding-right: 40px;
  border: none;
  border-bottom: 2px solid #000000;
  border-radius: 0;
  font-size: 14px;
}

#notice-board .search-bar {
  border: 1.5px solid #ddd;
  display: flex;
}

#notice-board .search-form input {
  border: none;
  outline: none;
  padding-left: 12px;
  color: #231815;
}

#notice-board .search-form button {
  border: none;
}

#notice-board .search-form button:hover {
  background-color: #ffffff !important;
}

#notice-board .search-form button svg {
  color: #23181560;
  width: 20px;
  height: 20px;
  transform: translateY(3px);
}

/* 페이지네이션 */
.notice-board-list .button-container {
  width: 100% !important;
}

#notice-board .board-pagination {
  margin-top: 40px;
}

#notice-board .board-pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding-left: 0;
}

#notice-board .board-pagination-list li a {
  color: #71757e;
  font-size: 16px;
  margin: 0 15px;
}

#notice-board .board-pagination-list li a svg {
  width: 15px;
  height: 15px;
  color: #bcbdc1;
  transform: translateY(1px);
}

#notice-board .board-pagination-list .active a {
  color: #ffffff;
  background-color: #005aff;
  border-radius: 4px;
  padding: 4px 10px;
  margin: 0 5px;
}

#notice-board .board-pagination-list .first-page a,
#notice-board .board-pagination-list .prev-page a,
#notice-board .board-pagination-list .next-page a,
#notice-board .board-pagination-list .last-page a {
  margin: 0 5px;
}

.kboard-mobile-contents {
  display: none;
}

/*리스트 페이지 모바일*/
@media only screen and (max-width: 768px) {
  #notice-board .title-date-icon-container {
    padding: 20px 0;
  }

  #notice-board .content-title {
    font-size: 18px;
  }

  #notice-board .content-date {
    font-size: 14px;
  }

  #notice-board .title-date-icon-container i {
    font-size: 20px;
  }

  #notice-board .board-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  #notice-board .search-form {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: 100%;
    margin-top: 10px;
  }

  #notice-board .search-form input {
    width: 80%;
  }

  #notice-board .search-form button {
    width: calc(100% - 233px);
  }

  #notice-board .search-sort {
    width: 30%;
  }

  #notice-board .search-sort select {
    padding-right: 20px;
  }
}

/* 상세페이지(document.php) Custom Css */
#notice-board .button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 800px;
  margin: 18px 0px;
}

#notice-board .button-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#notice-board .button-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#notice-board .button-prev {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 48px;
  background-color: #e0e0e0;
  color: #141414;
  margin-right: 8px;
}

#notice-board .button-next {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 48px;
  background-color: #e0e0e0;
  color: #141414;
}

#notice-board .button-list {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 48px;
  background-color: #424547;
  color: #ffffff;
}

#notice-board .button-edit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 48px;
  background-color: #005aff;
  color: #ffffff;
  margin-right: 8px;
}

#notice-board .button-delete,
#notice-board .button-write {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 48px;
  background-color: #005aff;
  border: none;
  border-radius: 0;
  color: #ffffff;
}

#notice-board .button-prev:hover,
#notice-board .button-next:hover {
  color: #141414;
  opacity: 0.8;
  transition: opacity 0.3s ease-in-out;
}
#notice-board .button-list:hover,
#notice-board.button-edit:hover,
#notice-board.button-delete:hover,
#notice-board .button-write:hover {
  color: #ffffff;
  opacity: 0.8;
  transition: opacity 0.3s ease-in-out;
}

/* 상세페이지 본문 */
#notice-board .document-header-content-container-1 {
  display: flex;
  justify-content: center;
  border-top: 1px solid #ddd;
  padding-top: 80px;
}

#notice-board .document-header-content-container-2 {
  width: 800px;
}

#notice-board .document-header-container {
  color: #292c33;
}

#notice-board .document-date-author-view-container {
  color: #aaa;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

#notice-board .document-view {
  padding-left: 15px;
  margin-left: 15px;
  border-left: 2px solid #ddd;
}

#notice-board .document-title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4em;
}

#notice-board .document-content {
  font-size: 18px;
  line-height: 1.6em;
  min-height: 200px;
  border-bottom: 1px solid #ddd;
  margin-top: 40px;
  padding-bottom: 80px;
}

#notice-board .table-file {
  margin-top: 30px !important;
  margin-bottom: 100px !important;
}

#notice-board .table-file-container {
  margin-bottom: 5px;
  width: 100%;
}

#notice-board .table-file-button {
  border: none !important;
  padding: 0 !important;
  color: #141414 !important;
}

#notice-board .table-file-button:hover {
  border: none !important;
  background-color: #fff !important;
  color: #141414 !important;
}

#notice-board .table-file-button:focus {
  border: none !important;
  background-color: #fff !important;
  color: #141414 !important;
}

/*상세페이지 모바일*/
@media only screen and (max-width: 768px) {
  /* 상세페이지 본문 */
  #notice-board .document-header-content-container-1 {
    padding-top: 30px;
  }

  #notice-board .document-header-content-container-2 {
    width: 100%;
  }

  #notice-board .document-title {
    font-size: 26px;
  }

  #notice-board .document-content {
    font-size: 16px;
    padding-bottom: 30px;
  }

  #notice-board .button-container {
    width: 100%;
  }

  #notice-board .button-prev {
    width: 90px;
    height: 45px;
  }

  #notice-board .button-next {
    width: 90px;
    height: 45px;
  }

  #notice-board .button-list {
    width: 90px;
    height: 45px;
  }

  #notice-board .button-edit {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    height: 48px;
    background-color: #005aff;
    color: #ffffff;
    margin-right: 8px;
  }

  #notice-board .button-delete,
  #notice-board .button-write {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    height: 48px;
    background-color: #005aff;
    border: none;
    border-radius: 0;
    color: #ffffff;
  }
}

/* 에디터페이지(editor.php) Custom Css */
.notice-board-editor {
  margin: 80px 0;
}

.notice-board-editor .button-container {
  width: 100% !important;
}

#notice-board .board-title {
  font-size: 24px;
  font-weight: 500;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 40px;
}

#notice-board .editor-option-container,
#notice-board .editor-title {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

#notice-board .editor-option input {
  width: 18px;
  height: 18px;
  transform: translateY(4px);
  margin-right: 5px;
}

#notice-board .editor-title input {
  width: 100%;
  border: 1px solid #eee !important;
  border-radius: 0;
  font-size: 14px;
}

#notice-board .editor-title-div,
#notice-board .editor-content-div {
  width: 100%;
}

#notice-board .editor-content {
  display: flex;
  margin-bottom: 20px;
}

#notice-board .editor-file-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

#notice-board .editor-label,
#notice-board .attr-name {
  font-size: 18px;
  color: #231815;
  font-weight: 500;
  width: 10%;
}

#notice-board .attach-1 {
  margin-top: 50px;
}

#notice-board .attach-4 {
  margin-bottom: 50px;
}

/*에디터페이지 모바일*/
@media only screen and (max-width: 768px) {
  .notice-board-editor {
    margin: 0px;
  }

  #notice-board .board-title {
    font-size: 18px;
  }

  #notice-board .editor-title {
    margin-bottom: 30px;
    width: 100%;
    display: block;
  }

  #notice-board .editor-content {
    display: block;
  }

  #notice-board .meta-key-62557ef41440e {
    width: 100%;
    display: block;
  }

  #notice-board .editor-title label,
  #notice-board .attr-name,
  #notice-board .editor-content label {
    font-size: 14px;
  }

  #notice-board .editor-label,
  #notice-board .attr-name {
    font-size: 14px;
    color: #231815;
    font-weight: 500;
    width: 100%;
    margin-bottom: 10px;
  }
}
