.back-to-top-container.mobile,
.back-to-top-container.tablet,
.back-to-top-container.desktop {
	display: none;
}

.back-to-top-container {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
}

.back-to-top-button-container {
	background: #00857c;
	color: #fff;
	font-size: 12px;
	align-items: center;
	justify-content: center;
	padding: 0.5em;
	border: 2px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	width: 75px;
	text-transform: none;
	max-width: 115px;
	z-index: 9999;
}

.back-to-top-button-container:where(:hover, :focus-visible) {
	background: #005c55;
}

.back-to-top-button-container.float-right,
.back-to-top-button-container.float-left {
	position: fixed;
	display: flex;
	flex-direction: row;
}

.back-to-top-button-container.float-right {
	bottom: 4rem;
	right: 1rem;
}

.back-to-top-button-container.float-left {
	bottom: 4rem;
	left: 1rem;
}

.back-to-top-button-container.custom-text {
	width: fit-content;
}

.back-to-top-button-container.footer {
	display: flex;

	/* margin-right: 1rem; */
}

.icon-container {
	width: 30%;
	height: 100%;
	text-align: center;
	margin-right: 5%;
	font-size: 22px;
	font-family: system-ui;
}

.icon-container.no-text {
	min-width: 30px;
	margin-right: 0;
}

.back-to-top-button-container.no-text {
	width: 50px;
}

.back-to-top-button-container .text-container {
	width: 65%;
	text-align: center;
}

.back-to-top-button-container .text-container > span#button-text {
	overflow-wrap: break-word;
}

.back-to-top-container.hide {
	display: none;
}
