/* widget: NavFooter */


.nav-footer {
  text-align: center;
  padding: 20px 0;
  background-color: #000;
  color: #ccc;
    /* 訂閱電子報高度 */
  /* margin-bottom: 100px; */
  }

.nav-footer a {
  color: #ccc;
}

.nav-back-to-top {
  position: fixed;
  right: 20px;
  bottom: -100%;
  width: 40px;
  height: 40px;
  color: #fff;
  background-color: #002970;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s linear;
}

.nav-back-to-top--visible {
  bottom: 20px;
  opacity: 1;
  visibility: visible;
  z-index: 99;
}

.nav-back-to-top svg {
  width: 30px;
  height: 30px;
}

#footer-email-subscribe-app-inner {
  position: fixed;
  z-index: 9999;
  right: -100%;
  top: 50%;
  display: flex;
  transition: right 0.5s linear;
  border: 1px solid;
}

#footer-email-subscribe-app-inner.footer-email-subscribe-app-inner--active {
  right: 0 !important;
}

#footer-email-subscribe-trigger {
  text-align: center;
  writing-mode: vertical-lr;
  letter-spacing: 0.2em;
  color: #fff;
  background: var(--e-global-color-primary);
  padding: 10px 6px;
  user-select: none;
  cursor: pointer;
}

#footer-email-subscribe {
  padding: 1rem;
  width: 325px;
  background-color: #fff;
}

#footer-email-subscribe-cancel {
  user-select: none;
  cursor: pointer;
  font-size: 0.875rem;
  position: relative;
  top: 10px;
}

