html,
body {
  height: 100%;
}

html {
  font-size: 16px;
}

body,
h1,
h2,
h3 {
  font-family: '微軟正黑體', 'Microsoft JhengHei', 'Droid Sans', '蘋果儷中黑', 'SourceHanSansTC-Medium', 'Noto Sans CJK TC', PMingLiU, '新細明體', serif;
}

body {
  font-size: 1rem;
}

a {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  color: #f788bf;
}

a:hover {
  text-decoration: underline;
}

a:hover {
  color: #f788bf;
  text-decoration: underline;
}

a:focus {
  outline: none;
  text-decoration: none;
}

a.externallink:not(.no-externalsign):after {
  display: inline-block;
  font-family: 'FontAwesome';
  font-size: 60%;
  opacity: 0.5;
  padding: 0 3px;
  content: '\f14c';
}


/*==== helper ====*/

.hideme {
  display: none !important;
}

.flat * {
  display: inline;
}

.flat .field-item {
  padding: 0 0.25em 0 0.25em;
}

/*==== scroll to top ====*/

#toTop {
  position: fixed;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #999;
  opacity: 0.4;
  filter: alpha(opacity=40);
  height: 50px;
  bottom: 5px;
  right: 5px;
  cursor: pointer;
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  display: none;
  padding: 5px 0 0 2px;
  z-index: 9998;
  /* beneath colorbox*/
}

#toTop:hover {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -ms-transition: all 0.3s;
  transition: all 0.3s;
}
