.squaremeterProductListing {
	position: relative;
	text-align: center;
	width: 100%;
	top: -.25em;
	padding-top: .475rem;
	min-height: 3.5rem;
	/* background: #fff;
    box-shadow: 2px 4px 4px 0 rgba(0,0,0,.2);*/
}

.squaremeterProductListing .product-quantity {
	display: inline-block;
	vertical-align: top;
	border: 1px solid #ddd;
	background: #fff;
}

.squaremeterProductListing .input-group-append {
	display: inherit;
	font-size: 12px;
}

.squaremeterProductListing .product-quantity input {
	padding: 8px 2px 10px 5px;
	text-align: center;
}

#products article.product-miniature.js-product-miniature,
article.product-miniature.js-product-miniature {
	margin-bottom: 30px;
}

.squaremeterProductListing button.btn-primary {
	display: inline-block;
	padding: 0.45rem 0.8rem;
}

.squaremeterProductListing .directinput {
	width: 44px;
	margin: 0 auto;
	text-align: center;
	border: 1px solid #fff;
	background: #fff;
}

.squaremeterProductListing .value-button {
	display: inline-block;
	margin: 0px;
	width: 35px;
	height: 25px;
	text-align: center;
	vertical-align: middle;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-family: verdana;
}

.squaremeterProductListing .value-button:hover {
	cursor: pointer;
}

div .decrease {
	margin-right: -4px;
}

div .increase {
	margin-left: -4px;
}

input#directinput,
#direct_input_p select,
#directinput_p select {
	text-align: center;
	border: none;
	margin: 0px;
	width: 44px;
	height: 40px;
	font-size: 13px;
}

div.directinput input[type=text]::-webkit-inner-spin-button,
div.directinput input[type=text]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.direct_input_p select,
.directinput_p select {
	width: 125px;
}

.product-price-and-shipping .totalpriceinfo {
	color: #7a7a7a;
	font-size: 14px;
}

.totalpriceinfo {
	display: block;
	text-align: center;
}

@media (max-device-width: 540px) {
	.squaremeterProductListing .value-button {
		width: 15px;
	}
}

/* Hide HTML5 number input’s spin box */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	/* display: none; <- Crashes Chrome on hover */
	-webkit-appearance: none;
	margin: 0;
	/* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
	-moz-appearance: textfield;
	/* Firefox */
}

/* Hide HTML5 number input’s spin box */
.ui-spinner-input {
	padding: .222em 0 !important;
}

.form-control:focus {
	outline: 0 !important;
}

.range-label {
	color: #7a7a7a;
	font-weight: 600;
}

.rangeval {
	color: #7a7a7a;
	font-style: italic;
}

.range_explanation {
	padding-right: 0 !important;
	white-space: nowrap;
	overflow: visible;
}

.range_explanation_multiplication {
	padding-right: 0 !important;
	white-space: nowrap;
	overflow: visible;
	font-size: xx-small;
	clear: both;
}

#dimension {
	font-size: 10px;
}

#squaremeter div table tbody tr,
.labels,
#dimension {
	display: flex;
	gap: 0.85rem;
	align-items: baseline;
}

#squaremeter div table tbody:not(.fields) tr {
	gap: 1.35rem;
}

#squaremeter div table tbody tr th,
.labels p,
.fields p,
.fields tr td p {
	margin-bottom: 0 !important;
}

#squaremeter div table tbody tr th {
	font-weight: unset;
	color: #7a7a7a;
}

.quantity_input {
	vertical-align: baseline;
}

.fields {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}

.dimfield {
	display: flex;
	flex-direction: column;
	/* input on top, range below */
	align-items: center;
}

.multiplicationsign {
	font-size: 1.2em;
}

#squaremeter,
#squaremeter_extrafee {
	margin-left: 0;
}