html {
	position: relative;
	height: 100%;
	overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
	min-height: 100%;
	overflow-x: hidden; /* Prevent scroll on narrow devices */
/*    padding-top: 50px; */
}
.nav-scroller {
	position: relative;
	z-index: 2;
	overflow-y: hidden;
}
.nav-underline .nav-link {
	padding-top: .75rem;
	padding-bottom: .75rem;
	font-size: .875rem;
	color: #6c757d;
	border-bottom: 3px solid transparent;
}

.nav-underline .active {
	font-weight: 500;
	color: #343a40;
}

.text-white-50 {
	color: rgba(255, 255, 255, .5);
}

.bg-purple {
	background-color: #6f42c1;
}

.lh-100 {
	line-height: 1;
}

.lh-125 {
	line-height: 1.25;
}

.lh-150 {
	line-height: 1.5;
}

.bottom-right {
	position: absolute;
	right: 0;
	bottom: 0;
	transform: translate(50%, 50%);
	z-index: 100;
}

.border-transparent {
	border-color: transparent;
}

.border-thick {
	border-width: 3px;
}

.prevent-overlap {
	margin-bottom: 84px;
}

.prevent-details-overlap {
	margin-bottom: 140px;
}

.navbar-back {
  color: white;
}

.navbar-back:hover {
  color: white;
}

.dropdown-menu {
	background-color: transparent;
	border: 0;
}

.dropdown-item {
	color: white;
}

.nav-link-white {
	color: white !important;
}

.accordion-button-theme.collapsed::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-button-theme:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel {
	width: 100%;
	height: 40vh;
}

div.carousel-item {
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat no-repeat;
	width: 100%;
	height: 40vh;
}

.fit-img-top {
	max-height: 125px;
	min-height: 125px;
	object-fit: contain;
}
@media (min-width: 565px) {
	.fit-img-list{
		max-height: 240px;
		min-height: 240px;
	}
}
@media (min-width: 768px) {
	.fit-img-list{
		max-height: 220px;
		min-height: 220px;
	}
}
@media (min-width: 992px) {
	.fit-img-list{
		max-height: 300px;
		min-height: 300px;
	}
}
@media (min-width: 1200px) {
	.fit-img-list{
		max-height: 267px;
		min-height: 267px;
	}
}
@media (min-width: 1400px) {
	.fit-img-list{
		max-height: 312px;
		min-height: 312px;
	}
}
label {
	margin-bottom: 0;
}

.bottom-indicator-margin {
	padding-bottom: 34px !important;
}

.bottom-indicator-margin-product {
	padding-bottom: 10px !important;
}

/* Bootstrap 5 tweak: do not underline links unless hovered over */
a:not([class*="btn"]) {
    text-decoration: none;
}
a:not([class*="btn"]):hover {
    text-decoration: underline;
}

.btn-top-scroll {
	position: fixed;
    bottom: 10px;
    right: 10px;
    display: none;
	z-index: 99;
}

/*
.circle-variation-sm {
	height: 20px;
	width: 20px;
	padding: 0;
	padding-top: 5px;
}
*/
.circle-variation-lg {
	height: 40px;
	width: 40px;
	padding: 0;
	padding-top: 10px;
}

.circle-variation-sm {
  width: 20px;
  height: 20px;
  line-height: 18px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
  color: #fff;
  text-align: center;
  background: #000
}

.hide-on-loading.htmx-request {
	display:none;
}
.htmx-loading-indicator {
    display:none;
}
.htmx-request .htmx-loading-indicator{
    display:inline;
}
.htmx-request.htmx-loading-indicator{
    display:inline;
}

.loading-opaque.htmx-request {
	opacity: 25%;
}
.htmx-loading-indicator {
    display:none;
}
.htmx-request .htmx-loading-indicator{
    display:inline;
}
.htmx-request.htmx-loading-indicator{
    display:inline;
}
.loading-opaque.htmx-request {
	opacity: 25%;
}
.top-loading-indicator {
    display:none;
}
.htmx-request .top-loading-indicator{
    display:inline;
}
.htmx-request.top-loading-indicator{
    display:inline;
}
.border-dashed {
	border-style: dashed !important;
}
.body-bg-light {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb),var(--bs-bg-opacity)) !important;
}

.form-switch .form-check-input {
    border-color: rgba(0, 0, 0, 0.75);
    outline: 0;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(0,0,0,0.75)'/></svg>");
}

.form-switch .form-check-input:focus {
    border-color: rgba(0, 0, 0, 0.25);
    outline: 0;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(0,0,0,0.25)'/></svg>");
}

.form-switch .form-check-input:checked {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1.0)'/></svg>");
}

.form-switch.form-switch-md {
    padding-left: 4.5em;
    height: 2.5em;
}

.form-switch.form-switch-md .form-check-input {
    margin-left: -4.5em;
    height: 2em;
    width: 4em;
}

.form-switch.form-switch-md .form-check-label {
    padding-top: 0.5em;
}

.form-switch.form-switch-lg {
    padding-left: 8.5em;
    height: 4.5em;
}

.form-switch.form-switch-lg .form-check-input {
    margin-left: -8.5em;
    height: 4em;
    width: 8em;
}

.form-switch.form-switch-lg .form-check-label {
    padding-top: 1.5em;
}