.c {
  text-align: center;
  vertical-align: middle !important;
}

.r {
  text-align: right;
  vertical-align: middle !important;
}

.m {
  vertical-align: middle !important;
}

.nw {
  white-space: nowrap;
}

h1.my,
h2.my,
h1>span.my,
h2>span.my {
  padding: 6px;
  /* 離標題邊框距離 */
  text-align: left;
  /* 文字靠左 */
  font-weight: bold;
  /* 不要粗體 */
  font-family: "Noto Sans TC", HanWangMingBlack, Iansui;
  /* 字型 */
  color: rgb(33, 51, 51);
}

h3.my,
h4.my,
h5.my,
h3>span.my,
h4>span.my,
h5>span.my {
  padding: 6px;
  /* 離標題邊框距離 */
  text-align: left;
  /* 文字靠左 */
  font-weight: normal;
  /* 不要粗體 */
  font-family: "Noto Sans TC", JfOpenhuninn, Iansui;
  /* 字型 */
  color: rgb(92, 41, 56);
}

.my-title {
  padding: 6px;
  /* 離標題邊框距離 */
  text-align: left;
  /* 文字靠左 */
  font-weight: normal;
  /* 不要粗體 */
  font-family: JfOpenhuninn, Iansui, "Noto Sans TC";
  color: #3a322e;
}

.my-border {
  padding: 12px 20px;
  border: 1px solid rgb(225, 225, 225);
  border-radius: 8px;
  background: rgb(245, 245, 245);
  /* box-shadow: 0px 0px 6px 1px rgba(37, 37, 37, 0.2); */
  margin: 10px auto;
}

.my-sm-border {
  padding: 6px 10px 8px 10px;
  border: 1px solid rgb(225, 225, 225);
  border-radius: 4px;
  background: rgb(245, 245, 245);
  margin: 10px auto;
}

ol {
  list-style-type: decimal;
  list-style-position: outside;
  padding-left: 20px;
}

ul {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 20px;
}

.tooltip-inner {
  max-width: 600px;
  font-size: 1rem;
  background-color: #3c65b1;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.5);
  line-height: 1.8;
  color: rgb(255, 255, 255);
}

.tooltip-inner li {
  color: rgb(255, 255, 255);
}

.tooltip.bs-tooltip-right .arrow:before {
  border-right-color: #3c65b1 !important;
}

.tooltip.bs-tooltip-left .arrow:before {
  border-left-color: #3c65b1 !important;
}

.tooltip.bs-tooltip-bottom .arrow:before {
  border-bottom-color: #3c65b1 !important;
}

.tooltip.bs-tooltip-top .arrow:before {
  border-top-color: #3c65b1 !important;
}

.bar {
  text-align: center;
  margin: 3em auto;
}

.btn {
  font-family: "Noto Sans TC";
}

.help-title {
  font-size: 1em;
  font-weight: bold;
  color: rgb(63, 9, 27);
}

.help-txt {
  font-size: 0.8em;
  color: rgb(51, 51, 0);
}

label {
  font-weight: bold;
}

.empty {
  color: rgb(185, 216, 245);
}

.line th {
  text-align: center;
  vertical-align: middle;
  color: black;
  background-color: #dcede8;
  border-color: #000;
}

.line td {
  text-align: center;
  vertical-align: middle;
  background-color: white;
  border-color: #000;
}

.btn-coral {
  color: #fff;
  background-color: coral;
  border-color: coral;
}

.btn-coral:hover,
.btn-coral:focus,
.btn-coral:active:hover {
  color: #fff;
  background-color: coral;
  border-color: coral;
}

.color-picker {
  width: 80%;
  display: inline-block;
}

.my-badge {
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 0.8em;
}

.num {
  font-family: "Arial Narrow", Roboto, "Helvetica Neue", sans-serif;
}

.val {
  border-bottom: 1px solid gray;
  color: blue;
}

.keyword {
  background-color: yellow;
  color: #000000;
  border-radius: 4px;
  padding: 2px;
}

/* 呼吸燈效果獨立樣式 - 使用更高的特異性來防止Bootstrap覆蓋 */
.xoops-login-container {
  position: relative;
  max-width: 500px;
  margin: 40px auto;
  text-align: center;
}

.xoops-breathing-light {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.xoops-breathing-light::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 15px;
  background: rgba(66, 133, 244, 0.5);
  z-index: -1;
  animation: xoopsBreathingEffect 3s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(66, 133, 244, 0.7);
}

@keyframes xoopsBreathingEffect {
  0% {
    opacity: 0.4;
    box-shadow: 0 0 10px rgba(66, 133, 244, 0.5);
  }

  50% {
    opacity: 0.8;
    box-shadow: 0 0 25px rgba(66, 133, 244, 0.8);
  }

  100% {
    opacity: 0.4;
    box-shadow: 0 0 10px rgba(66, 133, 244, 0.5);
  }
}

/* 確保圖片樣式不被Bootstrap覆蓋 */
.xoops-login-image {
  border-radius: 10px !important;
  background-color: white !important;
  padding: 15px !important;
  border: 1px solid #ddd !important;
  max-width: 100% !important;
  height: auto !important;
  transition: transform 0.3s ease !important;
  display: inline-block !important;
}

.xoops-login-image:hover {
  transform: scale(1.03) !important;
}

/* 確保標題樣式 */
.xoops-login-title {
  color: #333 !important;
  margin-bottom: 30px !important;
  text-align: center !important;
}

#login-image {
  border-radius: 10px;
  background-color: white;
  padding: 15px;
  border: 1px solid #ddd;
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

#login-image:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {}