.BackToTop {
    position: fixed;
    z-index: 10;
    right: 10px;
    bottom: 10px;
    background-color: rgba(255,255,255,0.78);
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 2px;
    color: white;
    font-family: sans-serif;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: medium;
    height: 60px;
    line-height: 60px;
    border: 1px solid rgba(207,203,199,1.00);
}

.BackToTop a {
    display: inline-block;
    padding: 10px;
    background-color: #DD9D22;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    font-size: 0.80em;
    transition: color 0.25s, background-color 0.25s;
    line-height: normal;
    height: 50px;
    box-sizing: border-box;
    text-align: center;
}

.BackToTop a:hover {
    color: rgba(255,255,255,1.00);
    background-color: rgba(255,197,9,1.00);
}

.BackToTop #BackToTop {
	position: relative;
	float: right;
	margin-left: 20px;
	display: inline-block;
	cursor: pointer;
	font-size: 20px;
	width: 50px;
}

.BackToTop #BackToTop i {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.BackToTop #CloseBTT {
	position: absolute;
	left: -10px;
	top: -10px;
	width: 20px;
	height: 20px;
	cursor: pointer;
}

@media screen and (max-width: 1100px) {
	.BackToTop {
		right: auto;
		left: 50%;
		transform: translateX(-50%);
		width: 80%;
		text-align: left;
	}
	.BackToTop a {
		text-align: center;
	}
	.BackToTop #BackToTop {
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
	}
}

@media screen and (max-width: 375px) {
	.BackToTop a {
		font-size: 0.70em;
	}
}
