#app-bar{
  background-color: #08487d;
}

.val-error {
  color: #d9534f;
}

@media (max-width: 979px) {
  body {
    padding-bottom: 20px;
  }

  .view_count,
  #preview-wrapper {
    display: none;
  }

  #editor-wrapper {
    padding-top: 20px;
  }

  .permalink_buttons {
    padding-top: 15px;
  }

  .input-lg {
    height: 50px;
    padding-left: 15px;
    font-size: 16px;
    line-height: 1.2;
    border-radius: 3px;
  }

  .btn-lg,
  .btn-group-lg>.btn {
    height: 50px;
    padding-left: 0px 5px;
    font-size: 16px;
    line-height: .8;
    border-radius: 3px;
  }
}

html,
body {
  font-size: 16px;
  
}

html {
  position: relative;
  min-height: 100%;
}

.hljs {
  background: transparent;
}

#header {
  height: 50px;
}

.brand-image {
  padding: 12px 10px 0 30px;
}

.navbar-brand {
  padding-left: 15px;
}

.view_count {
  font-size: 14px;
}

.list-group-heading {
  color: #2c3e50;
  background-color: #ecf0f1;
  height: 45px;
}

.list-group-sidemenu li {
  background-color: transparent;
  border: none;
  padding-left: 0px;
  padding-right: 0px;
}

#searchResult {
  right: 0px;
  left: 0px;
  /* min-height: 200px;
  max-width: 400px; */
  margin-top: 60px;
  position: absolute;
  z-index: 1000;
  border: 2px solid #08487D;
  border-radius: 30px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-top: none;
  background-color: #ffffff;
  /* box-shadow: 0 2px 6px #08487D55 */
}

#searchResult.addstyle{
  border: 2px solid #dce4ec;
  border-top: none;

}


.searchResultList li {
  background-color: #ffffff00;
  border: 0px solid #ffffff00;
  padding:5px;
  padding-bottom: 10px;
  
}

.clear-button {

}

.clear-button:hover {
  color: red;
}


.CodeMirror {
  height: calc(100vh - 110px - 175px - 70px) !important;
  overflow: auto;
}

.btnSettingsUpdate {
  padding-top: 25px;
}

#editor-wrapper-suggest>.CodeMirror {
  height: calc(100vh - 110px - 175px - 110px) !important;
  overflow: auto;
}

.editor-toolbar,
.CodeMirror {
  border: 2px solid #dce4ec;
  border-radius: 4px;
}

.editor-toolbar {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom: 0px;
}

.CodeMirror {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

#preview {
  height: calc(100vh - 110px - 195px);
  overflow: auto;
}

.suggest-preview {
  height: calc(100vh - 110px - 235px) !important;
}

.show_footer {
  margin-bottom: 60px;
  min-width:400px !important;
}

.tokenfield .token .close {
  color: black;
}

.search_bar {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


.input-group{
  margin-top: 30px;
}
.dropup-button {
  height: 34px;
  padding: 0px;
  color: white !important;
}

.dropdown-menu>li>a {
  padding-top: 5px !important;
}

.pad-bottom {
  padding-bottom: 25px;
}

.keywords {
  padding-bottom: 30px;
  padding-top: 20px;
  font-size: 19px;
}

.file-form {
  padding-left: 15px;
  padding-right: 15px;
}

.editor_btn_action {
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

.dropup-list {
  padding-bottom: 5px;
  margin-right: 10px;
  margin-left: 10px;
  margin-top: 10px;
}

#notify_message {
  position: fixed;
  display: none;
  z-index: 9999;
  padding-top: 10px;
  height: 50px;
  bottom: 0px;
  width: 100%;
  text-align: center;
  font-size: 22px;
  color: white;
}

.notify_message-success {
  background-color: #18bc9c;
}

.notify_message-danger {
  background-color: #e74c3c;
}

.popover-title {
  background-color: #e74c3c;
  color: white;
}

.bg-danger,
.bg-warning,
.bg-primary,
.bg-success,
.bg-info {
  color: #ffffff;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  text-align: center;
  padding-top: 15px;
  margin-top: 35px;
  background-color: #f5f5f5;
}

.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: inherit;
  display: block;
}

/* custom css */

.fltbox {

  /* width: 180px;
    border: 0.5px solid red; */
  padding: 10px;
  margin: 20px;
  float: right;
  position: fixed;
  z-index: 2;
  bottom: 25px;
  right: 15px;
  background-color: rgba(0,0,0,0);
  color: black;
  border-radius: 50px;
  text-align: center;
  /* box-shadow: 2px 2px 3px #999; */
}
/* 
.fltbox2 {
    width: 100%;
    max-width: 220px;
    border: 0.5px solid #1E88E5;
    padding: 10px;
    margin: 20px;
    margin-left: 30px;
    float: right;
    position: fixed;
    z-index: 2;
    bottom: 40px;
    left: 210px;
    background-color: white;
    color: black;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
} */

.editor-toolbar button {
  display: block; /* 아이콘을 블록 수준 요소로 설정 */
  max-width: 30px !important; /* 아이콘의 너비를 100%로 설정하여 버튼 너비에 맞춤 */
  text-align: center; /* 아이콘 가운데 정렬 */
}

.link_box {
  max-height: 360px !important;
  width: 100% !important;
  max-width: 200px !important;
  right:40px;
  float: right;
  position: fixed;
  bottom: 40px;
  z-index: 2;
  overflow: hidden;
  word-wrap: break-word;
}

.component_box {
  max-height: 360px !important;
  width: 100% !important;
  max-width: 200px !important;
  float: right;
  right: 40px;
  position: fixed;
  bottom: 40px;
  z-index: 2;
  overflow: hidden;
  word-wrap: break-word;
}

.link_ul {
  max-width: 180px;
  height: 100%;
  max-height: 200px;
  border: 1px solid #ccc;
  padding-left: 5px;
  padding-right: 5px;
  margin: 0px;
  overflow-y: scroll;
  overflow-x: hidden;
}

/* CSS */
.link_btn {
  width: 127px;
  align-self: center;
  background-color: #fff;
  background-image: none;
  background-position: 0 90%;
  background-repeat: repeat no-repeat;
  background-size: 4px 3px;
  border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
  border-style: solid;
  border-width: 2px;
  box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
  box-sizing: border-box;
  color: #41403e;
  cursor: pointer;
  display: inline-block;
  font-family: Neucha, sans-serif;
  font-size: 1.4rem;
  line-height: 23px;
  outline: none;
  padding: .75rem;
  text-decoration: none;
  transition: all 235ms ease-in-out;
  border-bottom-left-radius: 15px 255px;
  border-bottom-right-radius: 225px 15px;
  border-top-left-radius: 255px 15px;
  border-top-right-radius: 15px 225px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.link_btn:hover {
  box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
  transform: translate3d(0, 2px, 0);
}

.link_btn:focus {
  box-shadow: rgba(0, 0, 0, .3) 2px 8px 4px -6px;
}

.new_btn {
  width: 120px;
  align-self: center;
  background-color: rgba(0,0,0,0);
  background-image: none;
  background-position: 0 90%;
  background-repeat: repeat no-repeat;
  background-size: 4px 3px;
  border-radius:15px; /* 15px 225px 255px 15px 15px 255px 225px 15px; */
  border-style: solid;
  border-width: 2px;
  box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
  box-sizing: border-box;
  color: #08487D;
  cursor: pointer;
  display: inline-block;
  /* font-family: Neucha, sans-serif;
  font-size: 1rem; */
  line-height: 23px;
  outline: none;
  padding: .75rem;
  text-decoration: none;
  transition: all 235ms ease-in-out;
  /* border-bottom-left-radius: 15px 255px;
  border-bottom-right-radius: 225px 15px;
  border-top-left-radius: 255px 15px;
  border-top-right-radius: 15px 225px; */
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  position: fixed;
  bottom: 100px;
  right: 20px;
  /* 예시로 오른쪽으로 20px 떨어지게 설정 */
}

.new_btn:hover {
  box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
  transform: translate3d(0, 2px, 0);
}

.new_btn:focus {
  box-shadow: rgba(0, 0, 0, .3) 2px 8px 4px -6px;
}

/* Shared */
.shareBtn {
  box-sizing: border-box;
  position: relative;
  /* width: 13em;  - apply for fixed size */
  margin: 0.2em;
  padding: 0 15px 0 46px;
  border: none;
  text-align: left;
  line-height: 34px;
  white-space: nowrap;
  border-radius: 0.2em;
  font-size: 16px;
  color: #FFF;
}

.shareBtn:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 100%;
}

.shareBtn:focus {
  outline: none;
}

.shareBtn:active {
  box-shadow: inset 0 0 0 32px rgba(0, 0, 0, 0.1);
}

/* Facebook */
.shareBtn--facebook {
  background-color: #4C69BA;
  background-image: linear-gradient(#4C69BA, #3B55A0);
  /*font-family: "Helvetica neue", Helvetica Neue, Helvetica, Arial, sans-serif;*/
  text-shadow: 0 -1px 0 #354C8C;
}

.shareBtn--facebook:before {
  border-right: #364e92 1px solid;
  /* background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_facebook.png') 6px 6px no-repeat; */
}

.shareBtn--facebook:hover,
.shareBtn--facebook:focus {
  background-color: #5B7BD5;
  background-image: linear-gradient(#5B7BD5, #4864B1);
}

/* twitter */
.shareBtn--google {
  /*font-family: "Roboto", Roboto, arial, sans-serif;*/
  background: #1A8CD8;
}

.shareBtn--google:before {
  border-right: #1268a2 1px solid;
  /* background: url('fa fa-twitter') 6px 6px no-repeat; */
}

.shareBtn--google:hover,
.shareBtn--google:focus {
  background: #3f9fdf;
}


/* kakao */
.shareBtn--kakao {
  /*font-family: "Roboto", Roboto, arial, sans-serif;*/
  background: #F2DC00;
}

.shareBtn--kakao:before {
  border-right: #a99b00 1px solid;
  /* background: url('fa fa-twitter') 6px 6px no-repeat; */
}

.shareBtn--kakao:hover,
.shareBtn--kakao:focus {
  background: #ebdd4b;
}

/* Mimic table appearance */
div.table {
  display: table;
}

div.table .file-row {
  display: table-row;
}

div.table .file-row>div {
  display: table-cell;
  vertical-align: top;
  border-top: 1px solid #ddd;
  padding: 8px;
}

div.table .file-row:nth-child(odd) {
  background: #f9f9f9;
}

/* The total progress gets shown by event listeners */
#total-progress {
  opacity: 0;
  transition: opacity 0.3s linear;
}

/* Hide the progress bar when finished */
#previews .file-row.dz-success .progress {
  opacity: 0;
  transition: opacity 0.3s linear;
}

/* Hide the delete button initially */
#previews .file-row .delete {
  display: none;
}

/* Hide the start and cancel buttons and show the delete button */

#previews .file-row.dz-success .start,
#previews .file-row.dz-success .cancel {
  display: none;
}

#previews .file-row.dz-success .delete {
  display: block;
}

/*첨부파일 버튼 CSS*/
.download-btn {
  display: inline-block;
  padding: 10px 10px;
  background-color: #E7F0F6;
  color: #1268a2;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border-color: white;
  outline: none;
}

.download-btn:hover {
  background-color: #0070C0;
  color: #fff;
}

/*첨부파일 삭제 버튼 CSS*/
.remove_btn {
  display: inline-block;
  /* padding: 10px ; */
  background-color: #E7F0F6;
  color: #1268a2;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border-color: white;
  outline: none;

}

.remove_btn:hover {
  background-color: #0070C0;
  color: #fff;
}


/******************** security  component for edit *******************/
#secu_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

#secu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  width: 400px;
  border-radius: 10px;
  z-index: 1000;
  display: none;
}

#secu_content {
  text-align: center;
}

.secu_btn {
  background-color: #ccc;
  border: none;
  color: #000;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
}

#secu_close:hover {
  background-color: #aaa;
}


/*******************이미지 모아보기*******************/
#imagesearch_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

#imagesearch {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  min-width: 380px;
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  z-index: 1000;
  display: none;
}

#imagesearch_content {
  text-align: center;
}

.imagesearch_btn {
  background-color: #ccc;
  border: none;
  color: #000;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
}

#imagesearch_close:hover {
  background-color: #aaa;
}

.imagecard {
  max-width: 1200px;
  margin: 0 auto;
}

.imagecard-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.imagecard-item {
  width: calc(25% - 20px);
  min-width: 140px;
  max-width: 300px;
  height: 200px;
  margin: 10px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  transition: cursor 0.3s; /* 부드러운 전환 효과 */
}

.imagecard-item:hover {
  cursor: pointer;
  opacity: 0.5; /* 호버시 불투명도 변경 */
}
.imagecard-item img {
  max-width: 100%;
  height: auto;
}

.scrollable {
  max-height: 600px;
  overflow-y: auto;
}

/****************** 중복제거하기 image  component for edit *******************/
#image_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

#image_frame {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  width: 400px;
  border-radius: 10px;
  z-index: 1000;
  display: none;
}

#image_content {
  text-align: center;
}

.image_btn {
  background-color: #ccc;
  border: none;
  color: #000;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
}

#image_close:hover {
  background-color: #aaa;
}

.img_insert_button {

  position: fixed;
  bottom: 100px;
  right: 50px;
  background-color: #0070C555;
  color: white;
  border-radius: 10px;
  text-align: center;
  font-size: 18px;
  line-height: 50px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  width: 100px;
  height: 50px;
  z-index: 1;
}

.img_insert_button:hover {
  background-color: #0070C5ff;
}

/**************************image upload component***********************/
#img_component {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
}

#img_component_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 400px;
  max-width: 600px;
  width: 50%;
  background-color: white;
}


/** 수정 요청**/

#modify_title_box{
  padding-top: 10px;
  padding-left: 15px;
  padding-right: 15px;
}

#modify_component {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
}

#modify_component_box {
  padding-top: 15px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 400px;
  max-width: 600px;
  width: 50%;
  background-color: white;
}


.modify_dropzone {
  height: 150px;
  border: 2px dashed black;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #888;
  cursor: pointer;
  margin-bottom: 15px;
}

.modify_dropzone.highlight {
  background-color: #eee;
}

#modify_insert_btn{
border: 1px solid #E3F2FD;
background-color: #90CAF9;

}
#modify_compo_cancel{
border: 1px solid #FFEBEE;
background-color: #EF9A9A;

}

/*Table to Markdown*/

#table_component_box {
  padding: 15px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 510px;
  max-width: 600px;
  width: 50%;
  background-color: white;
  /* display: flex; */
}


#table_component_box textarea {
  resize: none; /* 크기 조절 불가능 */
}

#readonly {
  background-color: #f5f5f5; /* 배경색상 지정 */
}


.dropzone2 {
  margin-top: 30px;
  margin-bottom: 30px;
  border: 2px dashed black;
  height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #888;
  cursor: pointer;
}

.dropzone2.highlight {
  background-color: #eee;
}

/****************loading******************/
#spinner_box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex; /* 자식 요소들을 세로로 배치하기 위해 flex 속성을 적용합니다. */
  flex-direction: column; /* 자식 요소들을 세로 방향으로 배치합니다. */
  align-items: center; /* 자식 요소들을 수평 중앙으로 정렬합니다. */
  justify-content: center; /* 자식 요소들을 수직 중앙으로 정렬합니다. */
}

#spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 20px;
}

#spinner_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
}
#spinner_text{
  color: white;
}
@keyframes spin {
  to {transform: rotate(360deg);}
}


/********************modify overlay************************/
#modify_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
  
}

#modify_request_box{
  padding-top: 15px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 400px;
  max-width: 600px;
  max-height: 1000px;
  width: 50%;
  background-color: white;
}

/********************layout image grid**********************/
.list-group-heading {
  background-color: #E7F0F6 !important;
}

.search_menu_box {
  width: 100%;
  display: flex;
  border-bottom: 1px solid #BBD0E8;
  /* bottom border 추가 */
}

.search_menu_btn {
  flex-grow: 1;
  width: 25%;
  /* 4개의 버튼이므로 25%씩 차지하도록 설정 */
  box-sizing: border-box;
  /* padding도 요소 크기에 포함시키기 위해 설정 */
  padding: 10px;
  border: none;
  /* 테두리 제거 */
  background-color: #E7F0F6;
  /*#E7F0F6;  배경색 지정 */
  transition: background-color 0.2s ease-in-out;
  /* hover 효과 시간과 easing 지정 */
}

.search_menu_btn:hover {
  background-color: #BBD0E8;
  /* 현재 배경색의 2배만큼 진한 색으로 변경 */
}

.container_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.title_box {
  background-color: white;
  margin-bottom: 5px;
  border-radius: 5px;
}

.type_box {
  margin-top: 20px;
  width: 32%;
  /*margin-right: 20px;
margin-bottom: 20px;*/
  background-color: #E7F0F6;
  border: 1px solid #ccc;
  text-align: center;
  padding: 10px;
  justify-content: center;
  align-content: center;
  border-radius: 15px;

}

.data_box {
  height: 100%;
  background-color: white;
  border-radius: 5px;
  padding-top: 20px;
  padding-bottom: 10px;
}

@media screen and (max-width: 600px) {
  .container_box {
      /*flex-direction: column;*/
      display: none;
  }

  .type_box {
      width: 100%;
      margin-right: 0;
  }
}


.list-group-image {
width: 100%;
margin-bottom: 20px;
padding-left: 0;
list-style: none;
display: flex;
flex-wrap: wrap;
}

.image_box:hover {
cursor: pointer;
background-color: #f1f1f1;
}

.image_insert_box {
display: grid;
grid-auto-rows: minmax(150px, auto);
grid-gap: 10px;
padding: 10px;
height: 222px;
max-width: 300px;
background-color: rgba(200,200,200,0.1);
background-clip: content-box;
}

.image_insert_box img {
max-height: 100%;
height: auto;
margin: auto;
width: 250px; /* 수정된 부분 */


}

.image_info_box {
height: 30px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}



/*  crop box*/

#screenshot_mask {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  display: block;
  opacity: 0.3;
  text-align: center;
  box-sizing: border-box;
  z-index: 2147483647;
  border-color: red;
  border-style: solid;
}

#screenshot_focus:before,#screenshot_focus:after{
  border:none !important;
  content:"" !important;
  height:100% !important;
  position:absolute !important;
  width:100% !important
}
#screenshot_focus:before{
  border-right:3px solid yellow !important;
  border-bottom:3px solid green !important;
  left:-100% !important;
  top:-100% !important
}
#screenshot_focus:after{
  border-top:3px solid black !important;
  border-left:3px solid blue !important;
  left:0 !important;
  top:0 !important;
}
#screenshot_focus{
  
  height:100% !important;
  position:fixed !important;
  width:100% !important;
  z-index:2147483648 !important
}


/* 스크롤바 스타일 설정 */
.base-scroll::-webkit-scrollbar {
  width: 12px;
  
}

.base-scroll::-webkit-scrollbar-track {
  background-color: #e7f0f6;
  border-radius: 6px;
}

.base-scroll::-webkit-scrollbar-thumb {
  background-color: #08487D;
  border-radius: 6px;
}

.base-scroll::-webkit-scrollbar-thumb:hover {
  background-color: darkred;
}

.backlink-box{
  width: 100%;
  height: 100%;
  max-height: 250px;
  
  background-color: white;
  border: 2px solid #55555522;
  box-shadow: 10px 10px 10px #e7f0f6;
  overflow-y: auto;
  margin-bottom: 15px;

}


.ck-editor__editable_inline {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 400px;
}

#aftertable {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 400px;
}


/* kb.hbs */
#kb_overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(94, 94, 94, 0.5);
  top: 0px;
  left: 0px;
  display: none;
  text-align: center;
  z-index: 99999999999;
}

#kb_overlay_container {
  padding: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  max-width: 600px;
  min-width: 440px;
  width: 100%;
  max-height: 1000px;
}

#kb_overlay_imgbox {
  min-height: 300px;
  max-height:500px ;
  height: 100%;

}

#kb_overlay_textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  resize: none;
}

@font-face {
  font-family: 'KBO-Dia-Gothic_bold';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/KBO-Dia-Gothic_bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

#frm_search{
  max-width: 700px;
  min-width: 400px;
  width: 100%;
  height: 60px !important;
  border-radius: 30px;
  /* border-color: #4d90fe; */
  /* box-shadow: 0 2px 6px #08487D55 */
}

#frm_search.zero-margin{
border-bottom: none;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
box-shadow: 0 0px 6px #ffffff
}

.input-group {
  position: relative;
}

.input-group input[type="text"] {
  padding-left: 50px;
  padding-right: 50px;
  width: 100%;
}

.input-group .input-group-text {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-group .input-group-text .input-group-icon {
  width: 25px;
  height: 25px;
  justify-content: center;
  color: #00000044;
  font-size: 25px; /* Adjust the font size as desired */
  padding-left: 10px;
  z-index: 9999;
}

.list-style{
  color: #08487D;
}


  /* 미디어 쿼리를 사용하여 750px보다 작은 화면 크기에 대한 스타일을 정의합니다. */
  @media (max-width: 750px) {
    .sumbox {
        flex-direction: column;
        /* 수직으로 배치하도록 변경 */
        align-items: center;
        /* 수직 정렬 */
    }
}


/*layout.hbs*/

.search-row{

}

.search-row.zero-margin {
  margin-top: 150px;

}

@media (max-width: 500px) {
  .search-row.zero-margin {
    margin-top: 50px;
  }
}

.bridge-main{
 display: flex;
 justify-content: center;
}
.bridge-main.zero-margin {
  display: none;
}

#kb_overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(94, 94, 94, 0.5);
  top: 0px;
  left: 0px;
  display: none;
  text-align: center;
  z-index: 99999999999;
}

#kb_overlay_container {
  padding: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  max-width: 600px;
  min-width: 440px;
  width: 100%;
  max-height: 1000px;
}

#kb_overlay_imgbox {
  min-height: 300px;
  max-height:500px ;
  height: 100%;

}

#kb_overlay_textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  resize: none;
}
