/* Back to up */
.button_up {
  display: inline-block;
  position: fixed;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 100%;
  bottom: 70px;
  right: 5px;
  color: #fff;
  background-color: #ffb03b;
  font-size: 2rem;
  font-weight: bold;
  line-height: 48px;
  transition: all 0.3s, opacity 0.5s, visibility 0.5s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  border: 1px solid #f79d20;
}

.button_up:hover {
  background-color: #468966;
  border: 1px solid #459c6e;
  cursor: pointer;
  animation-name: updown;
  animation-duration: 0.8s;
  animation-iteration-count: infinite;
}

.button_up.show {
  opacity: 1;
  visibility: visible;
}

@-webkit-keyframes updown {
  0% {
    -webkit-transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(0);
  }

  100% {
    -webkit-transform: translateY(0);
  }
}

@keyframes updown {
  0% {
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -moz-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
  }

  100% {
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

@media screen and (max-width: 980px) {
  .button_up:hover {
    cursor: pointer;
    transform: translate(0, -10px);
    -webkit-transform: translate(0, -10px);
    -moz-transform: translate(0, -10px);
    -o-transform: translate(0, -10px);
    -ms-transform: translate(0, -10px);
    animation-play-state: paused;
	}
}

/* Back to page */
.back-page {
  font-size: 1.1em;
  margin: 1em 0 1em 0.3em;
  color: rgba(70, 137, 102, 0.8);
}

.back-page:hover {
  color: rgba(70, 137, 102, 1);
}

.back {
  font-weight: 500;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -ms-transition: all 0.3s;
}

.back-page i {
  vertical-align: middle;
  font-size: 1.2em;
  margin-right: 0.3em;
  margin-bottom: 2px;
}

@media screen and (max-width: 1280px) {
  .back-page {
    font-size: 1em;
  }

  .back-page i {
    font-size: 1.35em;
    margin-right: 0.2em;
    margin-bottom: 3px;
  }
}

@media screen and (max-width: 980px) {
  .back-page {
    font-size: 1.1em;
  }

  .back-page i {
    font-size: 1.35em;
    margin-right: 0.2em;
    margin-bottom: 3px;
  }
}

@media screen and (max-width: 736px) {
  .back-page {
    font-size: 1.15em;
  }

  .back-page i {
    font-size: 1.3em;
  }
}

/* Goback previous page */
.goback {
  padding: 0.5em 1em;
}