/* @override https://development.balda-architekten.de/fileadmin/templates/ext/backtotop/backtotop.css?* */

.cd-top {
	display: inline-block;
	width: 20px;
	height: 30px;
	right: calc(50% - 10px);
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	
	background-image: url(cd-top-arrow.svg);
	background-position: center 50%;
	background-repeat: no-repeat;
	background-color: transparent;
	background-size: 20px 30px;
	
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
	z-index: 1;
	
	transform: scale(1);
}

.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
	-webkit-transition: all 0.2s ease-in, all 0.2s ease-out; /* Safari / Chrome */
	-moz-transition: all 0.2s ease-in, all 0.2s ease-out; /* Firefox */
	-o-transition: all 0.2s ease-in, all 0.2s ease-out; /* Opera */
	transition: all 0.2s ease-in, all 0.2s ease-out; /* Standard */
}

.cd-top:hover {
	transform: scale(1.75);
}

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