*{
  font-family: "Merriweather", serif !important;
  font-weight: 200;
  font-size: 13px;
}

body{
  display: flex;
  flex-direction: column;
  /* align-items: center; */
} 

/* --------------------------------------- layout --------------------------------------- */
#content_wrap {
  margin: 0 auto;
  min-width:1100px;
  max-width:1100px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-x: auto;
  overflow-y: auto;
}

#network_wrap {
  display: flex;
  position: relative;
}

#network {
  min-width: 800px;
  height: 600px;
  position: relative;
}

#network_option {
  min-width: 300px;
  padding:15px
}

#result_wrap {
  max-height: 750px;
}

.tab-content{
  max-height: 800px;
}

footer {
  background-color: black;
  height: 35px;
  color: #fff;
  display: flex;               /* 플렉스 레이아웃 활성화 */
  align-items: center;         /* 세로로 중앙 정렬 */
  justify-content: center;     /* 가로로 중앙 정렬 */
}

.barplot_content {
  /* display: flex;
  flex-direction: row; */
  justify-content: space-between; /* 공간을 균등하게 나누기 위해 추가 */
}

.bar_plot {
  width: 1070px;
  height: 600px;
  /* padding-inline: 10px; */

}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.toolbar-left {
  display: flex;
  align-items: center;
}

.toolbar-right {
  display: flex;
  align-items: center;
}


/* --------------------------------------- layout style --------------------------------------- */

::-webkit-scrollbar {
  background-color: #fff ; /* 배경색 흰색 */
  width: 16px;
}

/* background of the scrollbar except button or resizer */
::-webkit-scrollbar-track {
  background-color: #fff; /* 트랙 배경색 흰색 */
}

/* scrollbar itself */
::-webkit-scrollbar-thumb {
  background-color: #000; /* 스크롤바 색상 검정색 */
  border-radius: 16px !important;
  border: 4px solid #fff; /* 테두리 흰색 */
}

/* set button(top and bottom of the scrollbar) */
::-webkit-scrollbar-button {
  display: none; /* 버튼 숨김 */
}

/* --------------------------------------- legend --------------------------------------- */

#legend{
  font-size:12px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
}
.legend{
  border-right: 1px solid #000;
  border-bottom: 1px solid black;
  /* height: 100px;
  width: 300px; */
  z-index: 1;
  position: absolute;
  /* display: flex; */
  /* flex-direction: row; */
}

.shape {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 5px;
  border: 1px solid black; 
  opacity:80%;
}
.circle_gene {
  background-color: #81df9a;
  border-radius: 50%;
}
.circle_indirect {
  background-color: #e1ebe1;
  border-radius: 50%;
}
.circle_core {
  background-color: #F16C49;
  border-radius: 50%;
}
.round-rectangle {
  width: 16px;
  height: 11px;
  background-color: #8F95C6;
  border-radius: 2px;
}
/* --------------------------------------- title option --------------------------------------- */
.my-custom-li .nav-link {
  color: black;
}

#title{
  padding-left: 10px;
  padding-right: 10px;
}

/* --------------------------------------- option bar style --------------------------------------- */
#layout {
  display: flex;
  flex-wrap: wrap;
}

#layout .btn {
  flex-grow: 1;
  flex-basis: 100px; /* Minimum width for buttons */
  margin: 5px; /* Adjust spacing between buttons */
}

/* ----------------------- network style --------------------------- */
svg{
  position:absolute;
  margin: auto;
}

.node{
  stroke-width: 0.5px;
  /* font-size :10px !important; */
}
.link {
  stroke: #999;
  stroke-opacity: 0.6;
  stroke-width: 1px;
}

.highlighted {
  stroke: red;
  stroke-width: 2px;
}

.dimmed {
  opacity: 0.2;
}

.node.highlighted {
  stroke: red;
  stroke-width: 2px;
}

.node.dimmed {
  opacity: 0.2;
}
.group-boxes {
  fill-opacity: 0.1;
  stroke-width: 2;
  z-index: -99;
}

.strength rect, .strength ellipse {
  fill: yellow; /* 노드 배경 색상 변경 */
}
/* .strength rect, .strength ellipse {
  stroke: yellow;
  stroke-width: 3px;
  outline: 2px solid red; 
} */


.strength {
  filter: drop-shadow(0px 0px 5px yellow); /* 노드 주위에 노란색 그림자 추가 */
}

/* ----------------------- network option style --------------------------- */
#network_option {
  border-left: 1px solid #dee2e6; /* 두께 2px, 색상 검정 */
}

/* --------------------------------------- result style --------------------------------------- */
.page{
  padding-top: 10px;
  padding-left: 15px;
  padding-right: 15px;
}

.nav-tabs .nav-link {
  color: black;
  /* font-size: 16px !important; */
}
#result_wrap {
  position: relative;
  top: -30px; /* 위로 10px 이동 */
}

.bootstrap-table .table td,
.bootstrap-table .table th {
  white-space: nowrap;
}
#sourceSelect #pval{
  font-size: 10px;
  height: 25px;
}
/* --------------------------------------- table style --------------------------------------- */
.table-container {
  max-width: 300px;
  text-align: center;
  max-height: 320px;
  overflow-y: auto;
}

#nodeTable {
  width: 100%;
  font-size: 11px;
  border-collapse: collapse;
  font-size: 11px !important;
}

#nodeTable th, #nodeTable td {
  border: 1px solid #dee2e6;
  padding: 4px;
  text-align: center;
}

#nodeTable thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #f8f9fa;
}

#nodeTable thead th::before,
#nodeTable thead th::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #dee2e6;
}

#nodeTable thead th::before {
  top: -1px;
}

#nodeTable thead th::after {
  bottom: -1px;
}

#nodeTable th .th-inner {
    margin: 0 !important;
    padding: 2.5px !important;
}

#nodeNameSearch{
  width: 100px;
}

#node-toolbar{
  padding-left: 20px;
}

/* 컬럼별 고정 너비 설정 */
#nodeTable th:nth-child(1), #nodeTable td:nth-child(1) {
  width: 50px; /* 첫 번째 컬럼(체크박스)의 고정 너비 */
}

#nodeTable th:nth-child(2), #nodeTable td:nth-child(2) {
  width: 150px; /* 두 번째 컬럼(이름)의 고정 너비 */
}

#nodeTable th:nth-child(3), #nodeTable td:nth-child(3) {
  width: 100px; /* 세 번째 컬럼(타입)의 고정 너비 */
}

.pagination {
  --bs-pagination-color: #000 !important;
}

.active>.page-link, .page-link.active {
  color: var(--bs-pagination-active-color);
  background-color: #000 !important;
  border-color: #000 !important;
}


.form-check-input:checked {
  background-color: black !important;
  border-color: black !important;
}


.highlight-boost {
  background-color: rgba(225, 235, 225, 0.4) !important;
}

.highlight-target {
  background-color: rgba(162, 224, 178, 0.4) !important;
}

#loadingMessage {
    /* width: 1070px; */
    /* height: 200px; */
    line-height: 200px; /* Align text vertically */
    text-align: center; /* Align text horizontally */
    font-size: 24px;
    font-weight: bold;
    border: 1px solid black; /* Optional: to give it a border */
    background-color: #b8b6b613; /* Optional: set background color */
}
