/* "Return to Top" button — plain CSS replacement for the old MooTools
   topofthepage plugin. Same spot as before (fixed, bottom right corner),
   same text, same behaviour: hidden at the top of the page, fades in
   once you have scrolled down. Colours match the site: teal #006666
   with warm off-white #FFFBF0 text. */

#gototop {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: block;
  padding: 6px 14px;
  background: #006666;
  color: #FFFBF0;
  font-family: Cabin, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-size: 14px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s linear;
}

#gototop.visible {
  opacity: 1;
  visibility: visible;
}

#gototop:hover,
#gototop:visited {
  color: #FFFBF0;
  text-decoration: underline;
}
