@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Thin_100.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-ExtraLight_200.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Light_300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Regular_400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Medium_500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-SemiBold_600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Bold_700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-ExtraBold_800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Black_900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
  }


body {
    font-family: Pretendard, sans-serif;
}

.sidebar-open .hide_sidebar {
    display: none;
}

.sidebar-open .show_sidebar {
    display: block;
}

.show_sidebar {
    display: none;
}

.user-img img {
    background-color: unset;
    padding: 0px;
    border: unset;
}

.table#project-status tbody tr td {
    vertical-align: middle;
}

.post_tag {
    color: var(--theme-default);
}

.post_tag:hover {
    text-decoration: underline;
}

.list-post-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.list-post-header .form-control-plaintext {
    height: 35px;
    border-left: unset;
}

.list-post-header .form-select {
    height: 35px;
    width: 110px;
    font-size: 14px;
    border-right: unset;
    padding: 0px 30px 0px 20px;
}

.mini-btn {
    font-size: 12px;
    font-weight: 400;
    padding: 5px 8px;
    width: 70px;
    background-color: #0E0207!important;
    border-color: #0E0207;
}

.list-post .post-removes:hover {
    background-color: beige;
}

.list-post td {
    background-color: unset;
}

.paging-box nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
}

.pagination-primary .page-item .pb-space.page-link:hover {
    background-color: unset!important;
    border-color: var(--bs-pagination-border-color)!important;
    color: var(--theme-default)!important;
}

.tagify.tag-input {
    display: block!important;
    width: 100%;
    height: 38px;
    border: 1px solid var(--light-semi-gray)!important;
    border-radius: 5px;
}

.tagify.tag-input>span {
    height: 100%;
    margin-top: 4px;
}

.tagify__tag {
    height: 24px;
}

.add-post .description {
    padding-left: 10px;
    color: gray;
}

/*
.contents_editor .btn-light {
    color: unset;
}
*/

/*
.contents_editor .btn-group .btn:hover {
    color: var(--theme-default);
}
*/

.contents_editor .card {
    border-radius: unset;
}

.contents_editor .note-image-input {
    width: 100%;
    font-size: 14px;
    margin-bottom: 30px;
}

.contents_editor .note-input {
    padding: 6px 10px !important;
    font-size: 14px;
}

.post-submit-btn {
    width: 250px;
    margin-bottom: 60px;
}

.si-file-submit-btn {
    margin-bottom: 30px;
}

.color-picker-wrapper {
    display: flex;
    flex-direction: column;
}

.color-picker-wrapper .color-picker-row {
    display: flex;
    flex-direction: row;
}

.color-picker-wrapper .color-picker-row div:first-child {
    padding-top: 10px;
    padding-right: 10px;
    width: 80px;
    text-align: right;
}

.color-picker-wrapper .form-control-color{
    width: 150px;
}

.bi-preview {
    width: 100%;
    height: 70px;
    display: flex;
    flex-direction: row;
    color: white;
    padding: 10px 0px;
    cursor: pointer;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    background-color: lightgray;
}

.grd-preview {
    width: 100%;
    height: 70px;
    display: flex;
    flex-direction: row;
    color: white;
    padding: 10px 0px;
    cursor: pointer;
}

.bi-preview .gp-c1, .grd-preview .gp-c1 {
    width: 20%;
}

.bi-preview .gp-c2, .grd-preview .gp-c2 {
    width: 80%;
    text-align: center;
}

.bi-preview .gp-st, .grd-preview .gp-st {
    font-size: 15px;
    color: rgba(255, 255, 255,0.7);
    font-weight: 600;
    font-family: Pretendard;
}

.bi-preview .gp-bt, .grd-preview .gp-bt {
    font-size: 20px;
    color: rgb(255, 255, 255);
    font-weight: 600;
    font-family: Pretendard;
}

.bi-preview .gp-c3, .grd-preview .gp-c3 {
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: underline;
}

.blog-title-link {
    color: var(--dark);
}



/*ㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁ  블로그 뷰어 가져옴  ㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁ */

  :root {
    --font-black: #1e1e1e;
    --font-white: #ffffff;
    --font-orange: #dd5e1e;
    --font-gray: #767676;

    --bg-btn-black: #0e0207;
    --btn-box-bg-orange: #dd5e1e;
    --box-bg-whiteorange: #fff7f2;
    --box-bg-gray:#fafafa;

    --activated-btn-orange: #dd5e1e;
    --nonactivated-btn-gray: #e9e8e8;
    --nonactivated-btn-txt-gray: #4e4e4e;

    --input-border-color: #e0e0e0;
    --input-bg: #ffffff;
    --blog-bg: #fffcf8;

    --text-hovering: color 0.3s ease;
    --btn-box-bg-orange-hover: #FF8D54;
    --bg-btn-black-hover: #5c5c5c;

    --blog-card-shadow: 4px 4px 25px 1px rgba(0, 0, 0, 0.1);
    --box-shadow: 4px 4px 15px 2px rgba(0, 0, 0, 0.15);
    --drop-shadow: 3px 3px 4px rgba(0,0,0,0.25);
  }

  .btn-orange {
    background-color: var(--btn-box-bg-orange);
    color: var(--font-white);
    border: 0;
    border-radius: 5px;
    padding: 4px;
    font-family: Pretendard;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .btn-orange:hover {
    background-color: var(--btn-box-bg-orange-hover);
  }

  .btn-black {
    background-color: var(--bg-btn-black);
    color: var(--font-white);
    border: 0;
    border-radius: 5px;
    padding: 4px;
    font-family: Pretendard;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .btn-black:hover {
    background-color: var(--bg-btn-black-hover);
  }

  .blog-viewer {
    padding: 80px 0 0 0; /* 헤더를 위한 여백 */
    background-color: var(--blog-bg);
    width: 100%;
  }

  .blog-viewer-body-wrapper {
    padding-top: 0px;
    display: flex;
    flex-direction: column;
  }

  .blog-viewer-body {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    background-color: white;
    margin-bottom: 120px;
  }

  .blog-viewer .main-img {
    background-color: #F3F3F3;
    width: 100%;
    height: 659px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .blog-viewer .content-wrapper {
    width: 820px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
  }

  .blog-viewer .title {
    font-family: Pretendard;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 24px;
    color: var(--font-black);
    margin-top: 34px;
    width: 100%;
    height: fit-content;
    word-break: keep-all;
  }

  .blog-viewer .sub-contents-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 11px;
  }

  .blog-viewer .sub-contents-wrapper .c1 {
    display: flex;
    flex-direction: row;
  }

  .blog-viewer .sub-contents-wrapper .d1 {
    display: flex;
    flex-direction: column;
  }

  .blog-viewer .sub-contents-wrapper .d1  div:first-child {
    height: 14px;
  }

  .blog-viewer .date {
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 14px;
    color: var(--font-black);
    margin-right: 20px;
    display: flex;
    align-items: flex-end;
  }

  .blog-viewer .tag-list, .blog-viewer .tag-list .tag {
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 14px;
    color: var(--font-orange);
  }

  .blog-viewer .tag-list {
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .btn-wrapper {
    display: flex;
    align-items: flex-end;
  }

  .blog-viewer .tag-list .tag {
    cursor: pointer;
    margin-right: 10px;
  }

  .blog-viewer .tag-list .tag:hover {
    text-decoration: underline;
    font-weight: 700;
  }

  .blog-viewer .share-btn {
    width: 68px;
    height: 26px;
    padding: 5px 9px 4px 14px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .blog-viewer .share-btn-text {
    font-family: Pretendard;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 4px;
  }

  /* 블로그 본문에 대해 기본 스타일 정의를 해놨으나, 서머노트로 작성된 블로그 본문을 가져와서 출력했을 때 문제가 있다면 스타일 수정이 필요함*/
  .blog-viewer .contents {
    margin-top: 45px;
    width: 100%;
    min-height: 500px;
    /* 아래는 블로그 본문 텍스트 기본 스타일 */
    height: fit-content;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 16px;
    color: var(--font-black);
  }

  .blog-viewer .blog-bottom {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
  }

  .blog-viewer .list-btn {
    width: 68px;
    height: 26px;
    padding: 5px 0 4px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .blog-viewer .list-btn-text {
    font-family: Pretendard;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .blog-viewer .blog-viewer-hr {
    width: 1600px;
    margin: 0 auto;
  }

  .blog-viewer .blog-list {
    width: 1184px;
    display: flex;
    flex-direction: column;
    margin-top: 120px;
    padding: 0 0 0 0; /* 현 페이지에서는 패딩이 필요없으므로 재정의 */
    background-color: unset;
    margin-left: auto;
    margin-right: auto;
  }

  .blog-viewer .popular-posts {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;
  }

  .blog-viewer .recomended-posts {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 120px;
  }

  .blog-viewer .subject {
    font-family: Pretendard;
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 34px;
    color: var(--font-black);
  }

  .blog-viewer .blog-list-body {
    margin-top: 45px;
  }

  .blog-viewer .blog-card {
    margin-bottom: 0;
  }





  /* 블로그관련 페이지에서만 푸터 재정의하여 다르게 보이도록 함 */





  @media screen and (min-width: 1920px) {

  }

  @media screen and (min-width: 1280px) and (max-width: 1919px) {
    .blog-viewer .blog-viewer-hr {
      width: 1020px;
    }
  }

  @media screen and (min-width: 768px) and (max-width: 1279px) {
    .blog-viewer .blog-card:last-child {
      display: none;
    }

    .blog-viewer {
      padding: 50px 0 0 0; /* 헤더를 위한 여백 */
    }

    .blog-viewer-body {
      width: 751px;
      margin-bottom: 60px;
    }

    .blog-viewer .main-img {
      height: 427px;
    }

    .blog-viewer .content-wrapper {
      width: 698px;
    }

    .blog-viewer .blog-list {
      width: 751px;
      margin-top: 50px;
    }

    .blog-viewer .subject {
      font-size: 24px;
      line-height: 24px;
      padding-left: 20px;
    }

    .blog-viewer .blog-viewer-hr {
      width: 520px;
    }
    .blog-viewer .popular-posts {
      margin-bottom: 50px;
    }

    .blog-viewer .recomended-posts {
      margin-bottom: 60px;
    }
  }


  @media screen and (max-width: 767px) {
    .blog-viewer .blog-card:last-child {
      display: none;
    }

    .blog-viewer {
      padding: 50px 0 0 0; /* 헤더를 위한 여백 */
    }

    .blog-viewer-body {
      width: 100%;
      margin-bottom: 50px;
    }

    .blog-viewer .main-img {
      width: MIN(calc(100% - 20px), 94%);
      height: 56vw;
      margin-top: 30px;
    }

    .blog-viewer .content-wrapper {
      width: MIN(calc(100% - 20px), 94%);
    }

    .blog-viewer .blog-list {
      width: 100%;
      margin-top: 50px;
    }

    .blog-viewer .blog-viewer-hr {
      width: 80%;
    }

    .blog-viewer .title {
      font-size: 20px;
      line-height: 20px;
    }

    .blog-viewer .tag-list, .blog-viewer .tag-list .tag {
      font-size: 12px;
      line-height: 12px;
    }

    .blog-viewer .tag-list {
      width: 100%;
      flex-direction: row;
      flex-wrap: wrap;
    }

    .blog-viewer .sub-contents-wrapper {
      margin-top: 15px;
    }

    .blog-viewer .sub-contents-wrapper .c1 {
      flex-direction: column-reverse;
    }

    .blog-viewer .date {
      margin-right: 0;
      margin-top: 24px;
    }

    .blog-viewer .subject {
      font-size: 16px;
      line-height: 16px;
      padding-left: 20px;
    }

    .blog-viewer .popular-posts {
      margin-bottom: 50px;
    }

    .blog-viewer .recomended-posts {
      margin-bottom: 65px;
    }

    @media screen and (max-width: 656px) {
      .blog-viewer .blog-card:first-child {
        margin-bottom: 40px;
      }
      .blog-viewer .blog-list {
        width: 320px;
      }
    }
  }