/* table1 */
.ecc_table {
    width: 100%;
    border-collapse: collapse;
}

.ecc_table .ecc_header {
    line-height: 2;
    border: 1px solid darkgray;
    text-align: center !important;
    font-size: 1rem;
    margin: 0;
    font-weight: bold;
}

.ecc_table .ecc_cell {
    line-height: 2.5;
    border: 1px solid darkgray;
    padding: 0 0.5rem;
}

.ecc_table td:nth-child(1) {
    width: 30%;
    text-align: left;
}

.ecc_table td:nth-child(2),
.ecc_table td:nth-child(3),
.ecc_table td:nth-child(4),
.ecc_table td:nth-child(5),
.ecc_table td:nth-child(6) {
    width: 14%;
    text-align: center;
}

.ecc_table .ecc_button {
    padding: 2px 10px !important;
    line-height: 1.5;
    /* font-weight:bold;  */
    justify-content: center;
}

/* table2 */
#result_content table {
    margin: 5px 0 15px 0;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#result_content table th {
    line-height: 2;
    border: 1px solid darkgray;
    width: 20%;
    font-size: medium;
    margin: 0;
    padding: 0 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: bold;
}

#result_content table td {
    line-height: 2;
    border: 1px solid darkgray;
    width: 20%;
    font-size: medium;
    margin: 0;
    padding: 0 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tab2-pan table td:first-child, #tab2-pan table th:first-child  {
    width: 24% !important;
}

#tab2-pan table td:not(:first-child), #tab2-pan table th:not(:first-child)  {
    width: 19% !important;
}

#result_content .gene-name, #top_k_graph a {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#result_content .gene-name:hover, #top_k_graph a:hover {
    color: rgb(60, 109, 197);
    text-decoration: underline;
}

#top_k_graph a {
    fill: black;
    text-decoration: none;
    cursor: pointer;
}

#top_k_graph a:hover {
    fill: rgb(60, 109, 197);
    text-decoration: underline;
}

#result_content table td.empty-cell {
    border: none;
}

#result_content table .big_cell {
    width: 33.3% !important;
}

.big_cell span, .big_cell div, .descript span, .descript div {
    display: inline-block;
    vertical-align: middle; 
}

#result_content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 5px;
    font-weight: bold;
}

#result_content .content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#result_content .content::before {
    content: '';
    display: block;
    height: 2.2em;
    width: 6em;
    visibility: hidden;
    margin-right: 0.5em;
}

#result_content .ecc_button {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #EDECED;
    margin: 0px 1em 5px 1em;
    height: 2.2em;
    width: 6em;
    border-radius: .25rem;
}

#example_search p {
    margin-bottom: 0.17rem;
}

#example_search button {
    line-height: 1;
    font-size: 0.9rem;
}

#main_body {
    display: none;
}

#main_container {
    margin-left: 60px;
    /* padding: 20px; */
    width: calc(100% - 60px);
  }

#floatAlert {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #343a40;
    color: #fff;
    padding: 11px 25px; 
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 80%;
    white-space: nowrap;
    font-size: 1.1rem;
    opacity: 0.94;
}

#manualCopyAlert {
    display: none;
    position: fixed;
    top: 50%; /* 與頂部的距離改為 50%，與視窗頂部置中 */
    left: 50%; /* 左右置中 */
    transform: translate(-50%, -50%); /* 校正置中位置，同時在 Y 軸也進行偏移 */
    background-color: #343a40; /* 深色背景，與 floatAlert 一致 */
    color: #fff; /* 白色文字 */
    padding: 15px 30px; /* 增加內邊距以適應更大的文字 */
    border-radius: 5px; /* 圓角邊緣 */
    z-index: 1000; /* 確保浮動視窗在最上層 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 輕微的陰影效果 */
    min-width: 50%;
    min-height: 40%;
    width: auto;
    height: auto;
    overflow: auto;
    font-size: 1rem; /* 增大文字大小 */
    font-weight: bold; /* 粗體 */
    text-align: center; /* 文字置中 */
}

.instrucion_container {
    /* margin-top: 8px; */
    padding: 0px 10px;
    text-align:justify;
}

.significant {
    color: #CE0000 !important;
}