@charset "UTF-8";
* {
  box-sizing: border-box; }

html {
  font-size: 16px; }

body {
  margin: 0 auto;
  padding: 0;
  font-size: 100%;
  font-weight: 400;
  font-family: 微軟正黑體, "Microsoft JhengHei", sans-serif;
  letter-spacing: 1px;
  line-height: 1.5;
  background: url(../img/noise.png); }

h1 {
  font-size: 30px;
  font-weight: 500;
  font-family: "Noto Sans TC", serif;
  margin-bottom: 1rem; }
  h1 .brr {
    display: block; }
  @media (max-width: 50rem) {
    h1 {
      font-size: 28px; } }
  @media (max-width: 40rem) {
    h1 {
      font-size: 24px;
      text-align: center; }
      h1 .brr {
        display: inline; }
      h1.noCenter {
        text-align: left; } }

h2 {
  font-size: 1.5rem;
  font-weight: 500;
  font-family: "Noto Sans TC", serif;
  color: #232323;
  margin-bottom: 1rem; }
  @media (max-width: 37.5rem) {
    h2 {
      font-size: 1.375rem; } }
  @media (max-width: 20rem) {
    h2 {
      font-size: 1.25rem; } }

h3 {
  font-size: 1.25rem;
  font-weight: 500;
  font-family: "Noto Sans TC", serif;
  color: #232323; }
  @media (max-width: 20rem) {
    h3 {
      font-size: 1.125rem; } }

p {
  font-size: 1.125rem;
  line-height: 1.8; }
  p a {
    color: #5e69ca;
    font-weight: bold; }
  @media (max-width: 24rem) {
    p {
      font-size: 1rem; } }

a {
  text-decoration: none; }
  a:hover {
    opacity: 0.9;
    transition: all 0.3s ease; }

img {
  max-height: 100%;
  width: auto;
  display: block;
  vertical-align: middle; }

figure {
  text-align: center; }

figcaption {
  font-size: 0.875rem; }

.paddingbox, article p, .myCustom {
  padding: 0 5rem 2.5rem 5rem; }
  @media (max-width: 50rem) {
    .paddingbox, article p, .myCustom {
      padding: 0 2rem 2.5rem 2rem; } }
  @media (max-width: 40rem) {
    .paddingbox, article p, .myCustom {
      padding: 0 2rem 2.5rem 2rem; } }
  @media (max-width: 24rem) {
    .paddingbox, article p, .myCustom {
      padding: 0 2rem 2.5rem 2rem; } }

/* header */
header {
  width: 100%;
  vertical-align: middle;
  padding: 0 1.5rem;
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  top: 0;
  left: 0;
  text-align: center;
  background-color: rgba(0, 78, 152, 0.75); }
  @media (max-width: 37.5rem) {
    header {
      padding: 0 1rem; } }

.logo_box {
  color: #fafafa;
  font-weight: bold;
  margin-top: 2px; }
  .logo_box > span,
  .logo_box > a {
    display: inline-block;
    vertical-align: middle; }
  .logo_box span {
    font-size: 1.5rem;
    vertical-align: middle; }
    .logo_box span a {
      color: #fafafa; }
    .logo_box span img {
      width: 11rem;
      margin-bottom: 0.15rem; }
    @media (max-width: 37.5rem) {
      .logo_box span {
        font-size: 1.375rem; } }

span.dot {
  display: inline-block;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 100%;
  background: #fafafa; }

.icon-cnalogo {
  fill: #fafafa;
  width: 50px;
  height: 50px;
  margin: 0 10px 0 0;
  vertical-align: middle; }
  @media (max-width: 37.5rem) {
    .icon-cnalogo {
      width: 46px;
      height: 46px; } }

.toplogo {
  width: 20rem;
  margin: 0 auto;
  padding-bottom: 1rem; }
  @media (max-width: 37.5rem) {
    .toplogo {
      width: 16rem; } }

.wrapper-lg {
  max-width: 960px;
  margin: 0 auto;
  clear: both; }

.wrapper {
  max-width: 800px;
  margin: 0 auto;
  clear: both; }
  @media (max-width: 64rem) {
    .wrapper {
      padding: 0 0.938rem; } }

.mainbox {
  width: 100%;
  height: 100vh;
  position: relative;
  background-color: #004e98;
  clear: both;
  z-index: 1; }
  @media (max-width: 64rem) {
    .mainbox {
      height: 100%;
      display: table; } }

.mainbox-half {
  width: 100%;
  position: relative;
  background-color: #1a1716;
  clear: both;
  z-index: 1; }
  .mainbox-half:before {
    content: "";
    position: absolute;
    /*set 'child' to be absolute*/
    z-index: -1;
    /*Make this lower so text appears in front*/
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    background: #03153a; }
  .mainbox-half .wrapper {
    max-width: 50rem;
    width: 100%;
    padding: 0;
    display: table; }
    @media (max-width: 37.5rem) {
      .mainbox-half .wrapper {
        display: block; } }
  @media (max-width: 20rem) {
    .mainbox-half {
      height: 100%; } }

.infobox {
  width: 44%;
  height: 100vh;
  display: table;
  float: left; }
  .infobox .innerbox {
    display: table-cell;
    vertical-align: middle;
    padding: 0 16%;
    position: relative;
    color: #fafafa; }
    @media (max-width: 20rem) {
      .infobox .innerbox h1 {
        letter-spacing: -0.1px; } }
    .infobox .innerbox p {
      font-size: 1rem;
      margin-bottom: 1rem; }
    .infobox .innerbox span {
      display: inline-block; }
    @media (max-width: 64rem) {
      .infobox .innerbox {
        top: 16%;
        display: block;
        max-width: 50rem;
        margin: 0 auto; } }
    @media (max-width: 64rem) {
      .infobox .innerbox {
        padding: 0 8%; } }
    @media (max-width: 40rem) {
      .infobox .innerbox {
        padding: 0 16%;
        top: 18%;
        padding: 0 8%; } }
  @media (max-width: 64rem) {
    .infobox {
      width: 100%;
      height: auto;
      float: none;
      display: block;
      margin: 6rem 0 3rem 0; } }

.infobox-time {
  height: 30rem;
  display: table-cell;
  vertical-align: middle; }
  .infobox-time .innerbox {
    width: 100%;
    vertical-align: middle;
    color: #fafafa; }
    @media (max-width: 50rem) {
      .infobox-time .innerbox {
        padding: 0 0 0 16%; } }
    @media (max-width: 40rem) {
      .infobox-time .innerbox {
        margin: 0 auto;
        text-align: center; } }
    @media (max-width: 37.5rem) {
      .infobox-time .innerbox {
        padding: 0 8%; } }
  @media (max-width: 37.5rem) {
    .infobox-time {
      width: 100%;
      height: 3rem;
      margin-top: 24%;
      display: inline-block; } }

.staff,
.date {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  opacity: 0.8; }
  .staff:last-child,
  .date:last-child {
    margin-bottom: 0; }

.visualbox {
  width: 56%;
  height: 100vh;
  float: right;
  overflow: hidden;
  position: relative; }
  .visualbox .img-container {
    width: 100%;
    height: 100%;
    display: flex; }
    .visualbox .img-container .featured-image {
      width: 100%;
      height: 100%;
      -o-object-fit: cover;
      object-fit: cover; }
  @media (max-width: 64rem) {
    .visualbox {
      width: 100%;
      height: 40rem; } }
  @media (max-width: 50rem) {
    .visualbox {
      height: 32rem;
      float: none; } }
  @media (max-width: 37.5rem) {
    .visualbox {
      height: 22rem; } }
  @media (max-width: 20rem) {
    .visualbox {
      height: 60vh; } }

.visualbox-time {
  width: 30rem;
  height: 30rem;
  background: right bottom url("../img/visual-s.png") no-repeat;
  background-size: contain;
  display: table-cell;
  vertical-align: middle; }
  @media (max-width: 37.5rem) {
    .visualbox-time {
      width: 100%;
      height: 20rem;
      background: center bottom url("../img/visual-s.png") no-repeat;
      background-size: contain;
      display: inline-block; } }
  @media (max-width: 24rem) {
    .visualbox-time {
      margin-top: -8%; } }
  @media (max-width: 20rem) {
    .visualbox-time {
      margin-top: -16%; } }

.stag {
  position: absolute;
  left: 50%;
  margin-left: -25px;
  width: 50px;
  color: #ffffff;
  z-index: 2;
  bottom: 60px;
  text-align: center; }

.scrollhint {
  width: 1px;
  height: 96px;
  position: absolute;
  bottom: -2.54rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  overflow: hidden; }
  .scrollhint .sline {
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(to bottom, white 50%, rgba(255, 255, 255, 0) 50%);
    background-position: 0 -96px;
    background-size: 100% 200%;
    -webkit-animation: scrolldown 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite;
    animation: scrolldown 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite; }
    @media (max-width: 40rem) {
      .scrollhint .sline {
        width: 100%;
        height: 100%;
        display: block;
        background: linear-gradient(to bottom, white 50%, rgba(255, 255, 255, 0) 50%);
        background-position: 0 -72px;
        background-size: 100% 200%;
        -webkit-animation: scrolldown2 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite;
        animation: scrolldown2 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite; } }
  @media (max-width: 40rem) {
    .scrollhint {
      height: 72px; } }

.scrollhint.below {
  position: relative;
  bottom: inherit;
  height: 50px; }
  .scrollhint.below .sline {
    background-position: 0 -50px;
    -webkit-animation: scrolldownbelow 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite;
    animation: scrolldownbelow 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite; }
  @media (max-width: 40rem) {
    .scrollhint.below {
      height: 30px; }
      .scrollhint.below .sline {
        background-position: 0 -30px;
        -webkit-animation: scrolldownbelow2 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite;
        animation: scrolldownbelow2 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite; } }

@-webkit-keyframes scrolldown {
  0% {
    background-position: 0 -96px; }
  75% {
    background-position: 0 0; }
  100% {
    background-position: 0 96px; } }

@keyframes scrolldown {
  0% {
    background-position: 0 -96px; }
  75% {
    background-position: 0 0; }
  100% {
    background-position: 0 96px; } }

@-webkit-keyframes scrolldown2 {
  0% {
    background-position: 0 -72px; }
  75% {
    background-position: 0 0; }
  100% {
    background-position: 0 72px; } }

@keyframes scrolldown2 {
  0% {
    background-position: 0 -72px; }
  75% {
    background-position: 0 0; }
  100% {
    background-position: 0 72px; } }

@-webkit-keyframes scrolldownbelow {
  0% {
    background-position: 0 -50px; }
  75% {
    background-position: 0 0; }
  100% {
    background-position: 0 50px; } }

@keyframes scrolldownbelow {
  0% {
    background-position: 0 -50px; }
  75% {
    background-position: 0 0; }
  100% {
    background-position: 0 50px; } }

@-webkit-keyframes scrolldownbelow2 {
  0% {
    background-position: 0 -30px; }
  75% {
    background-position: 0 0; }
  100% {
    background-position: 0 30px; } }

@keyframes scrolldownbelow2 {
  0% {
    background-position: 0 -30px; }
  75% {
    background-position: 0 0; }
  100% {
    background-position: 0 30px; } }

/* section */
.main {
  height: 100%;
  position: relative;
  -webkit-overflow-scrolling: touch; }

article {
  color: #232323; }
  article .wrapper .index {
    padding: 5rem 0 4rem 0; }
    @media (max-width: 40rem) {
      article .wrapper .index {
        padding: 0; } }
  article .wrapper .time {
    padding: 4rem 0; }
    @media (max-width: 40rem) {
      article .wrapper .time {
        padding: 0; } }
  article .wrapper .sentence {
    padding: 0 0 4rem 0; }
    article .wrapper .sentence .sharebox {
      padding: 2rem 5rem 0 0; }
      @media (max-width: 50rem) {
        article .wrapper .sentence .sharebox {
          padding: 2rem 2rem 0 2rem; } }
    @media (max-width: 37.5rem) {
      article .wrapper .sentence {
        padding: 0; } }
  @media (max-width: 40rem) {
    article .wrapper {
      padding: 0; } }
  article h2 {
    padding: 0 5rem 1rem 5rem;
    margin-bottom: 0; }
    @media (max-width: 50rem) {
      article h2 {
        padding: 0 2rem 0rem 2rem;
        margin-bottom: 1rem; } }
  @media (max-width: 40rem) {
    article {
      padding: 4rem 0 4rem 0; } }

.imgblock {
  width: 100%;
  padding: 0 0 2.5rem 0;
  position: relative; }
  @media (max-width: 50rem) {
    .imgblock {
      padding: 0 2rem 2.5rem 2rem; } }
  @media (max-width: 40rem) {
    .imgblock {
      padding: 0 0 2.5rem 0; } }

.imgtitle {
  font-size: 1.375rem;
  font-weight: bold;
  padding: 0 5rem 0.5rem 5rem; }
  @media (max-width: 50rem) {
    .imgtitle {
      padding: 0 0 0.5rem 0; } }
  @media (max-width: 40rem) {
    .imgtitle {
      padding: 0 1.95rem 0.5rem 1.95rem; } }

.imgbox {
  width: 100%;
  height: 100%;
  position: relative; }

.imgcaption {
  padding: 0.5rem 5rem;
  font-size: 0.875rem; }
  @media (max-width: 50rem) {
    .imgcaption {
      padding: 0.5rem 0; } }
  @media (max-width: 40rem) {
    .imgcaption {
      padding: 0.5rem 1.95rem; } }

.media {
  margin: 0 auto 2.5rem auto;
  position: relative; }
  .media .fb-post,
  .media .igbox {
    width: 100%;
    text-align: center; }
    .media .fb-post iframe,
    .media .igbox iframe {
      margin: 0 auto !important;
      min-width: 100% !important; }
  .media .imgcaption {
    font-size: 0.875rem; }
  @media (max-width: 37.5rem) {
    .media {
      margin: 0 0 2rem 0; } }

.fb-post > span {
  max-width: 100%;
  overflow: hidden; }

.fb-post iframe {
  border: 0;
  display: block;
  margin: 0 auto;
  max-width: 100%; }

.twitterbox {
  margin: 0 auto; }

.twitter-tweet {
  margin: 0 auto; }

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0px;
  height: 0;
  overflow: hidden;
  margin: 0 auto; }

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0 none; }

.topicbox {
  max-width: 40rem;
  margin: 0 auto 3rem auto;
  padding: 1.5rem 2rem;
  background-color: #fff;
  display: table; }
  .topicbox p {
    font-size: 1rem;
    padding: 1rem 0; }
  @media (max-width: 50rem) {
    .topicbox {
      max-width: 100%; } }

.linkbox {
  width: 100%;
  position: relative; }
  .linkbox span {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #004e98; }
  .linkbox a {
    display: block; }
  .linkbox .title {
    font-weight: bold;
    color: #232323; }

/* socialbtn */
.sharebox {
  position: relative;
  padding: 0;
  text-align: center; }
  .sharebox div {
    display: inline-block;
    cursor: pointer;
    padding: 0 0.5rem; }
    .sharebox div:first-child {
      padding: 0 0.5rem 0 0; }
    .sharebox div:last-child {
      padding: 0 0 0 0.5rem; }
    .sharebox div a {
      display: block; }
  @media (max-width: 50rem) {
    .sharebox {
      padding: 0 2rem 0 2rem; } }

.fb-btn {
  fill: #232323;
  width: 32px;
  height: 50px;
  vertical-align: middle; }

.line-btn {
  fill: #232323;
  width: 32px;
  height: 50px;
  vertical-align: middle; }

.twitter-btn {
  fill: #232323;
  width: 32px;
  height: 50px;
  vertical-align: middle; }

.related-cards {
  margin: 0 auto;
  background: #fafafa;
  padding: 80px 0 80px 0; }
  .related-cards .wrapper-lg {
    margin: 0 auto; }
  @media (max-width: 40rem) {
    .related-cards {
      padding: 40px 0; }
      .related-cards .wrapper {
        padding: 0; } }

.related-title {
  font-size: 22px;
  font-weight: bold;
  color: #232323;
  text-align: center;
  margin-bottom: 2rem; }
  .related-title.white {
    color: #ffffff; }

.morecards {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; }
  @media (max-width: 40rem) {
    .morecards {
      flex-direction: column; } }

.card {
  width: 32%;
  margin-right: 2%;
  margin-bottom: 2%;
  vertical-align: top;
  float: left; }
  .card:nth-child(3n) {
    margin-right: 0; }
  .card .img-container {
    width: 100%;
    height: 100%;
    display: flex; }
    .card .img-container .featured-image {
      width: 100%;
      height: 100%;
      -o-object-fit: cover;
      object-fit: cover;
      -o-object-position: center center;
      object-position: center center; }
  @media (max-width: 860px) {
    .card:nth-child(3n) {
      margin-right: 2%; } }
  @media (max-width: 50rem) {
    .card:nth-child(3n) {
      margin-right: 0; }
    .card:last-child {
      margin-right: 0; } }
  @media (max-width: 40rem) {
    .card {
      width: 100%;
      padding: 0 16px;
      box-sizing: border-box;
      margin-bottom: 20px;
      margin-right: 0; } }

.scrollhint2 {
  width: 100%;
  height: 96vh;
  position: absolute;
  z-index: 3;
  background: rgba(0, 0, 0, 0.8); }
  .scrollhint2 p {
    color: #fafafa;
    position: relative; }

.fixheight img {
  max-width: initial;
  max-height: 96vh; }

.hintbox {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  display: inline-block;
  padding: 1rem;
  width: 100%;
  text-align: center; }
  .hintbox span {
    color: #fafafa;
    position: relative;
    top: 3rem;
    font-size: 1.25rem; }

.scrollicon {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  display: inline-block;
  padding: 1rem; }

.scroll {
  width: 56px;
  height: 56px;
  fill: #fafafa; }

.scalebox {
  height: 96vh;
  position: absolute; }

.scale {
  position: relative;
  top: 0;
  left: 0;
  z-index: 2; }
  .scale img {
    height: 96vh; }

.topbox {
  width: 100vw;
  position: absolute;
  z-index: 2; }
  .topbox img {
    display: block;
    margin: 0 auto;
    padding: 0.5rem 0; }

.bottombox {
  width: 100vw;
  position: absolute;
  bottom: 2rem;
  z-index: 2; }
  .bottombox img {
    display: block;
    margin: 0 auto;
    padding: 0.5rem 0; }

.maskbox {
  width: 100%;
  height: 96vh;
  max-width: 800px;
  position: relative;
  z-index: 1; }

.pic {
  width: 100%;
  height: 195px;
  position: relative; }
  .pic a {
    display: block;
    width: 100%;
    height: 100%; }
  .pic:hover .relatedmask {
    opacity: 1;
    transition: all 0.3s ease; }
  @media (max-width: 50rem) {
    .pic {
      height: 168px; } }
  @media (max-width: 40rem) {
    .pic {
      width: calc(100vw - 32px);
      height: calc((100vw - 32px) * 0.75); } }
  @media (max-width: 37.5rem) {
    .pic:hover .relatedmask {
      opacity: 0; } }

.cardtitle {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 0.938rem;
  text-align: left; }
  .cardtitle a {
    color: #232323; }
  @media (max-width: 40rem) {
    .cardtitle {
      margin-top: 8px;
      width: 100%; } }

.relatedmask {
  width: 100%;
  height: 100%;
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  opacity: 0;
  z-index: 1; }

.maskbtn {
  width: 100px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  background-color: #000;
  color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute; }

/* footer */
.carousel {
  width: 100%;
  height: 208px;
  background: #002951;
  margin: 0 auto 2.5rem auto;
  position: relative;
  overflow: hidden; }
  @media (max-width: 50rem) {
    .carousel {
      width: calc(100% - 4rem);
      height: 16.875rem; } }
  @media (max-width: 40rem) {
    .carousel {
      width: 100%;
      height: inherit; } }

.carousel img {
  text-align: center;
  vertical-align: middle; }
  @media (max-width: 40rem) {
    .carousel img img {
      max-width: 100%;
      height: auto; } }

.carousel-cell {
  width: 32.5%;
  height: 208px;
  margin-right: 16px; }
  .carousel-cell:last-child {
    margin-right: 0; }
  .carousel-cell .img-container {
    width: 100%;
    height: 100%; }
    .carousel-cell .img-container .featured-image {
      width: 100%;
      height: 100%;
      -o-object-fit: cover;
      object-fit: cover; }
  @media screen and (max-width: 768px) {
    .carousel-cell {
      width: 50%;
      height: 16.875rem; } }
  @media (max-width: 37.5rem) {
    .carousel-cell {
      width: 100%; } }
  @media (max-width: 24rem) {
    .carousel-cell {
      width: 100%; } }

.mask_l {
  width: 80px;
  height: 100%;
  background: rgba(35, 35, 35, 0.4);
  background: linear-gradient(to right, rgba(35, 35, 35, 0.4) 0%, rgba(214, 214, 214, 0.02) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#232323', endColorstr='#d6d6d6', GradientType=1 );
  position: absolute;
  z-index: 1; }

.mask_r {
  width: 80px;
  height: 100%;
  background: rgba(214, 214, 214, 0);
  background: linear-gradient(to right, rgba(214, 214, 214, 0) 0%, rgba(214, 214, 214, 0.02) 0%, rgba(35, 35, 35, 0.4) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d6d6d6', endColorstr='#232323', GradientType=1 );
  position: absolute;
  z-index: 1;
  right: 0; }

@media (max-width: 50rem) {
  .vbox-title {
    text-align: left !important; } }

.icon-newsdisc {
  fill: #fafafa;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 0.5rem 0.25rem 0;
  vertical-align: middle; }
  @media (max-width: 37.5rem) {
    .icon-newsdisc {
      width: 1rem;
      height: 1rem; } }

.book-title {
  font-family: "Noto Sans TC", serif;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 1rem 1.5rem;
  color: #fafafa;
  background-color: #004e98; }
  @media (max-width: 37.5rem) {
    .book-title {
      font-size: 1.125rem; } }

.book-content {
  font-size: 1rem;
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  background-color: #fafafa; }
  .book-content p {
    padding: 0 0 0.5rem 0; }
  .book-content li {
    list-style: disc;
    list-style-position: inside;
    margin-bottom: 0.5rem; }
    .book-content li:last-of-type {
      margin-bottom: 0; }

/* back2top */
.cd-top {
  color: #fafafa;
  font-size: 1.2rem;
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  position: fixed;
  bottom: 20px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  background: rgba(35, 35, 35, 0.9) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  border-radius: 100%;
  z-index: 99; }
  @media only screen and (min-width: 64rem) {
    .cd-top {
      right: 30px;
      bottom: 20px; } }
  @media only screen and (min-width: 40rem) {
    .cd-top {
      right: 20px;
      bottom: 20px; } }
  @media (max-width: 37.5rem) {
    .cd-top {
      width: 32px;
      height: 32px;
      line-height: 32px; } }

.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1; }

.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: 0.5; }

.no-touch .cd-top:hover {
  opacity: 1; }

.back2top {
  fill: #fafafa;
  width: 16px;
  height: 16px; }
