body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.main_content {
  padding: 10px;
  position: absolute;
  top: 150px;
  left: 0px;
}

tr th {
  background-color: #C1663A;
  text-align: left;
  padding: 5px;
}

tr td {
  overflow: hidden;
  text-overflow: ellipsis;
}

.hr_item_x>td {
  padding: 5px;
  overflow: hidden;
}

tr.setting td {
  background-color: #FBFAFA;
}

tr.odd:hover,
tr.even:hover {
  background-color: #fbb93e;
}

tr.odd {
  background-color: #f8f3d7;
}

tr.even {
  background-color: #f8eda1;
}

tr.selected {
  background-color: #34affd;
}

tr.item-checked {
  background-color: #FBA75C;
}

tr.sync-news,
tr.sync-news td a {
  color: #0113b8;
}

tr.unconfirm-visible,
tr.unconfirm-visible td a {
  color: #e07b04;
}

tr.synceven {
  background-color: #FFCF73;
}

tr.syncodd {
  background-color: #F9FF48;
}

table#ntb {
  border: 1px;
  font-size: 1.0em;
  table-layout: fixed;
}

table#ntb img {
  border: 0px;
  width: 20px;
  height: 20px;
}

table thead {
  color: #F3F6FB;
}

th.sortable {
  cursor: pointer;
  text-decoration: none;
  color: #ffffff;
}

th.sortable:hover {
  text-decoration: underline;
  color: #fff;
}

.search_keyword {
  float: left;
  width: 100%;
  text-align: center;
}

.search_keyword #boxSearchKeyword {
  position: relative;
  background-image: url(images/search.png);
  padding: 0px;
  margin: 0px;
  background-repeat: no-repeat;
  width: 310px;
  height: 30px;
  margin: 0 auto;
}

.search_keyword #boxSearchKeyword #keyword {
  font-size: 1.0em;
  width: 255px;
  padding: 3px;
  background-color: transparent;
  border: 0px;
  left: 8px;
  top: 5px;
  color: #3F3F3F;
  position: absolute;
}

.search_keyword #on-search-data {
  display: none;
}

.search_advance #boxSearchField {
  text-align: center;
  font-size: 1.1em;
  width: 100%;
  margin: 0 auto;
}

#input_advance_search {
  font-size: 1.1em;
  color: #0000ff;
  text-decoration: none;
  position: absolute;
  right: -65px;
  bottom: 3px;
  cursor: pointer;
}

#input_advance_search:hover {
  color: #ff0000;
  text-decoration: underline;
}

.field-data-x {
  padding: 5px;
}

.signup-item-x td {
  background-color: #FE8A00;
}

.signup-x {
  color: #0000ff;
}

.main_toolbar {
  width: 100%;
  background-color: #fff;
  position: fixed;
  z-index: 2;
  border-bottom: 1px solid #ccc;
}

#boxTopControlBar {
  width: 100%;
  height: 30px;
}

#boxTopControlBar #login_info {
  left: 10px;
  color: #000;
  float: left;
  height: 30px;
  font-size: 1.0em;
  padding-top: 3px;
  position: absolute;
  color: #000;
}

#boxTopControlBar #login_info #login {
  font-size: 0.9em;
}

#boxTopControlBar #login_info #logout {
  font-size: 0.9em;
}

#boxControlBar {
  width: 100%;
}

#boxControlBar #nav-left {
  float: left;
}

#boxControlBar #nav-left a {
  margin: 2px;
}

#boxControlBar #nav-right {
  float: right;
  font-size: 1.0em;
  display: flex;
  align-items: center;
}

#boxControlBar #nav-right select {
  font-size: 1.0em;
}

#account_option {
  background-image: url(images/account.png);
  width: 20px;
  height: 20px;
  float: right;
  cursor: pointer;
  margin: 8px 10px;
}

.download-x {
  /* background-image: url(images/download.png); */
  /* background-repeat: no-repeat; */
  width: 20px;
  height: 20px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

span.btn {
  font-size: 1.0em;
  text-align: center;
  text-decoration: none;
  color: #3E3E3E;
  margin: 1px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 2px 5px;
  margin: 3px;
  cursor: pointer;
}

span.btn.disablebtn a {
  text-decoration: none;
  color: #d5d5d5;
}

span.btn a {
  text-decoration: none;
  color: #656565;
}

#input_start_search {
  display: block;
  position: absolute;
  left: 265px;
  top: 3px;
  width: 25px;
  height: 25px;
  cursor: pointer;
}

@media only screen and (max-width: 600px) {
  #ntb {
    width: 600px;
  }
}

/* 描述導航控制樣式 */
.description-nav-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.nav-btn {
  padding: 8px 16px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.nav-btn:hover:not(.disabled) {
  background: #0056b3;
}

.nav-btn.disabled {
  background: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.nav-icon {
  font-weight: bold;
  font-size: 16px;
}

.page-counter {
  font-weight: 500;
  color: #666;
  padding: 0 15px;
}

#description_content_wrapper {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px 0;
}

#main_description {
  line-height: 1.6;
  color: #333;
}

#description_title {
  color: #2c3e50;
  margin-bottom: 15px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

#comm_description {
  background-color:#ff0000;
}

#comm_description a{
  color:#fff;
}

/* 響應式設計 */
@media (max-width: 600px) {
  .description-nav-controls {
    flex-direction: column;
    gap: 10px;
  }

  .nav-btn {
    width: 100%;
    max-width: 150px;
  }

  .page-counter {
    order: -1;
    padding: 0;
  }
}