@charset "UTF-8";
/* CSS Document */

#backToTop {
  	bottom: 1em;
  	position: fixed;
  	right: 1em;
  	z-index: 10;
  	width:1.8em;
 	height:auto;
 	opacity: 0; /*this needs to be set to zero so the arrow doesn't appear briefly when the page is refreshed */
 	transition: opacity 500ms ease;
	}
/*#backToTop:hover {
  	opacity: 1;
  	transition: opacity 500ms ease;
	}*/

/*
OLD CODE - DELETE WHEN NO LONGER NEEDED
.atTop #backToTop,
.atBottom #backToTop {
  	opacity: 0;
 	pointer-events: none;
 	visibility:hidden;
 	transition: opacity 500ms ease, visibility 0s ease-in 500ms;
	}*/
	
	
/* START -- styles for smaller screens, like tablets */
@media all and (max-width: 1599px) {
#backToTop {
  	bottom: 1em;
  	opacity: 0;
  	position: fixed;
  	right: 1em;
  	transition: opacity 500ms ease;
  	z-index: 1;
  	width:2.4em;
 	height:auto;
	}

}


/* styles for even smaller screens, like phones */
	@media all and (max-width: 980px) and (orientation: portrait) {	 
#backToTop {
  	bottom: 1em;
  	opacity: 0;
  	position: fixed;
  	right: 1em;
  	transition: opacity 500ms ease;
  	z-index: 1;
  	width:1.8em;
 	height:auto;
	}
	
}