/*避免tinyMCE 的圖片跟 文字超出頁面*/
.txt {
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 1rem;
  line-height: 24px;
}

.txt img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.txt p {
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.tags a {
  color: #1F4F7F;
}

/* 2023-11-23 Eric 讓tiny table 有框線 */
table,
th,
td {
  border: 1px solid #3D434F;
  padding: 0.5rem;
}

/* 2023-11-23 Eric 他們要求連結要藍色加上底線 */
.txt a {
  color: #2676f3;
  text-decoration: underline;
}

.txt li {
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 1rem;
  line-height: 24px;
}

.toggle-button {
  font-size: 1.2rem;
}

.detailName {
  word-break: break-word;
}

.article-show-label {
  overflow: hidden;
  word-break: break-word;
}

/*附件區*/
.attachment {
  position: relative
}

.attachment:before {
  content: '';
  width: 100%;
  height: 1px;
  background: rgb(123 137 159 / 50%);
  position: absolute;
  top: -10px;
  left: -20px;
}

.attachment ul li {
  border-left: 10px solid rgb(123 137 159 / 50%);
  padding: 15px;
  list-style-type: none;
  font-size: 1.2rem;
  background: rgb(255 229 0 / 20%);
  width: 90%
}

.attachment ul li a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment ul li:hover {
  background: rgb(255 229 0 / 40%);
}
