@import url(../fonts/fonts.css);
body {
  font-family: 'Ubuntu', 'Noto Sans TC', sans-serif; }

/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #222 #f3f3f3; }

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px; }

*::-webkit-scrollbar-track {
  background: #f3f3f3; }

*::-webkit-scrollbar-thumb {
  background-color: #222;
  border-radius: 25px;
  border: 4px solid #f3f3f3; }

body {
  font-size: 16px; }
  @media (min-width: 769px) {
    body {
      font-size: 18px; } }

a {
  text-decoration: none;
  transition: all 0.2s ease-in; }

.btn {
  font-size: 0.85em;
  text-align: center;
  padding: 0.45em 2.5em;
  border-radius: 0;
  text-transform: uppercase; }

.btn-outline-dark {
  border: 1px solid #333;
  color: #333; }

.news-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin-bottom: 1em; }
  .news-list .post-time {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #003399;
    color: white;
    padding: 15px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s linear; }
    .news-list .post-time .year {
      display: block;
      font-size: 0.8rem;
      font-weight: normal; }
  .news-list p {
    color: #222;
    text-align: center;
    margin-top: 1em;
    letter-spacing: 0;
    line-height: 1.2em;
    transition: all 0.3s linear; }
  .news-list:after {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    content: "";
    background-color: #003399;
    transition: all 0.3s linear; }
  .news-list:hover .post-time {
    background-color: #29629b; }
  .news-list:hover p {
    color: #003399; }
  .news-list:hover:after {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 30%;
    height: 1px;
    content: "";
    background-color: #003399; }

.blog-list {
  position: relative;
  display: block;
  overflow: hidden; }
  .blog-list .post-time {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #003399;
    color: white;
    padding: 15px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s linear; }
    .blog-list .post-time .year {
      display: block;
      font-size: 0.8rem;
      font-weight: normal; }
  .blog-list p {
    color: #222;
    margin-top: 1em;
    letter-spacing: 0;
    line-height: 1.2em;
    margin-bottom: 0;
    transition: all 0.3s linear; }
  .blog-list:hover .post-time {
    background-color: #29629b; }
  .blog-list:hover p {
    color: #003399; }

.tag {
  font-size: 0.9em;
  margin-bottom: 1em; }
  .tag a {
    margin-right: 0.5em;
    color: #6699cc;
    display: inline-flex; }

.post-time {
  font-size: 0.9em;
  color: #999; }

.editor img {
  margin-bottom: 1.5em;
  max-width: 100%;
  height: auto; }
  @media (min-width: 769px) {
    .editor img {
      max-width: 700px;
      height: auto;
      margin-left: auto;
      margin-right: auto; } }

.page-control {
  width: 100%;
  border: 1px solid #333;
  margin-top: 3em;
  display: flex; }
  .page-control a.btn-back {
    background-color: #333;
    color: white !important;
    padding: 0.8em 2em;
    text-transform: uppercase;
    display: inline-flex; }
    .page-control a.btn-back:hover {
      background-color: #003399; }
  .page-control a:link, .page-control a:visited {
    display: inline-flex;
    padding: 0.8em 2em;
    color: #333;
    align-items: center;
    text-transform: uppercase;
    font-size: 0.85rem; }
  .page-control a:hover, .page-control a:active {
    color: white;
    background-color: #999; }

.download {
  padding: 1em 0.5em;
  border-bottom: 1px dashed #cdcdcd;
  transition: all 0.3s linear; }
  .download .col-12.col-md-8.col-lg-9 {
    text-align: left; }
    .download .col-12.col-md-8.col-lg-9 .name {
      display: block;
      margin-bottom: 0.5em; }
    .download .col-12.col-md-8.col-lg-9 .btn {
      margin-left: 0;
      margin-bottom: 0.5em; }
    @media (min-width: 769px) {
      .download .col-12.col-md-8.col-lg-9 {
        text-align: right; }
        .download .col-12.col-md-8.col-lg-9 .name {
          display: inline-flex;
          margin-bottom: 1em; }
        .download .col-12.col-md-8.col-lg-9 .btn {
          margin-left: 1em;
          margin-bottom: 0; } }
  .download img {
    border: 3px solid transparent;
    transition: all 0.3s linear; }
  .download:hover {
    background-color: #f3f3f3;
    color: #29629b;
    padding: 1em;
    border-bottom: 0; }
    .download:hover img {
      border: 3px solid #6699cc; }
  @media (min-width: 769px) {
    .download {
      padding: 1em 0; } }

.video-list {
  text-align: center;
  transition: all 0.3s linear; }
  .video-list .ratio {
    margin-bottom: 1em; }
  .video-list:hover {
    color: #003399; }
