.scroll-page {
	font-size: 20px;
	background-color: #000000; /* Scroll button color */
	border-radius: 50px; /* Rounded corners, set to 0 for none */
	color: #ffffff; /* Arrow color */
	opacity: 0;
	position: fixed;
	z-index: 9999;
	right: 25px;
	bottom: 25px;
	display: none;
	cursor: pointer;
	transition: opacity 0.3s ease-in-out;
}

.scroll-page i {
	font-size: inherit;
	color: inherit;
	opacity: 0.9;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 20px;
	height: 20px;
	padding: 10px;
}

.scroll-page i:before {
	padding: 0 !important;
}

.scroll-page .scroll-up {
	padding-bottom: 5px;
}

.scroll-page .scroll-down {
	padding-top: 5px;
}

.notouch .scroll-page i:hover {
	opacity: 1;
}

.rtl .scroll-page {
	right: auto;
	left: 25px;
}

.rtl .scroll-page i {
	padding-right: 10px !important;
	padding-left: 10px !important;
}

@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) {
	.scroll-page {
		font-size: 16px;
		right: 15px;
		bottom: 15px;
	}

	.scroll-page i {
		width: 14px;
		height: 14px;
		padding: 6px;
	}

	.rtl .scroll-page {
		right: auto;
		left: 15px;
	}

	.rtl .scroll-page i {
		padding-right: 6px !important;
		padding-left: 6px !important;
	}
}
