@import "vtb.css";
/* @import "wave.css"; */
@import "ribbon.css";

.c {
  text-align: center;
  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: normal;
  /* 不要粗體 */
  font-family: HanWangMingBlack, Iansui, "Noto Sans TC";
  /* 字型 */
  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: JfOpenhuninn, Iansui, "Noto Sans TC";
  /* 字型 */
  color: rgb(92, 41, 56);
}

.my-title {
  padding: 6px;
  /* 離標題邊框距離 */
  text-align: left;
  /* 文字靠左 */
  font-weight: normal;
  /* 不要粗體 */
  font-family: JfOpenhuninn, Iansui, "Noto Sans TC";
  color: #3a322e;
}

.news-border {
  font-size: 1.2rem;
  line-height: 2.5rem;
  padding: 2rem;
  border: 1px solid rgb(225, 225, 225);
  border-radius: 8px;
  background: rgb(255, 255, 255);
  color: #000000;
  font-family: Iansui, 微軟正黑體, 微軟儷黑體, 新細明體;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.news-border a {
  font-family: Iansui, 微軟正黑體, 微軟儷黑體, 新細明體;
}

.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: 微軟正黑體;
}

.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;
}

.prev_next {
  position: fixed;
}

.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: normal;
  align-items: normal;
  align-content: normal;
}

.flex-items:nth-child(1) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
  min-width: 50px;
}

.flex-items:nth-child(2) {
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.flex-items:nth-child(3) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
  min-width: 50px;
}

.keyword{
  background-color: yellow;
  color:#000000;
  border-radius: 4px;
  padding: 2px;
}
/*
.tag {
  position: relative;
  display: inline-block;
  border-radius: 6px;
  clip-path: polygon(10px 0px, 100% 0px, 100% 100%, 0% 100%, 0% 10px);
  padding: 6px 24px;
  margin: 0 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: clip-path 500ms;
}

.tag:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 6px 0;
  transition: transform 500ms;
}

.tag:hover {
  clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 0% 100%, 0% 0px);
}

.tag:hover:after {
  transform: translate(-100%, -100%);
}

.tag.department {
  background: #0d6efd;
  color: #ffffff;
}
.tag.department:after {
  background: #4daefd;
}

.tag.school {
  background: #198754;
  color: #ffffff;
}
.tag.school:after {
  background: #5c8754;
}

.tag.teacher {
  background: #ffc107;
  color: #000000;
}
.tag.teacher:after {
  background: #ffe147;
} */

@media (max-width: 768px) {
  .news-border {
    padding: 1rem;
    border: 1px solid rgb(225, 225, 225);
    border-radius: 0px;
    box-shadow: none;
  }

  .flex-items:nth-child(1),
  .flex-items:nth-child(3) {
    min-width: 32px;
    width: 32px;
  }
  .prev_next {
    width: 24px;
  }
}

#news_content span{
  font-family: Iansui !important;
}