@charset "utf-8";

#squaremeter {
	border: 1px solid #ddd;
	border-radius: 6px;
	margin-bottom: 0.75rem;
	padding: 0.625rem;
	width: max-content;
	max-width: 100%;
}

#squaremeter legend {
	font-size: 0.75rem;
	padding: 0 0.25rem;
}

.squaremeter_disablecart {
	pointer-events: none;
}

.squaremeter_disablecart_wrapper {
	cursor: not-allowed;
}

.labels {
	gap: 0.5rem;
}

#width input,
#height input,
#depth input,
#quantitym input,
#quantity_wanted_p input,
#directinput_p input {
	width: 3.375rem;
	height: 2.625rem;
	font-size: 1rem;
	margin-right: 1rem;
}

#width input:focus,
#height input:focus,
#depth input:focus,
#quantitym input:focus,
#quantity_wanted_p input:focus,
#directinput_p input:focus {
	outline: 2px solid #2196F3;
	outline-offset: 1px;
}

#width select,
#height select,
#depth select,
#weight select,
#directinput_p select {
	width: 5.5rem;
	height: 3rem;
	border-radius: 4px;
	border: 1px solid #d3d3d3;
	padding: 0.2em 0;
	margin: 0.2em 0;
	font-size: 1em;
}

#totalpriceinfo {
	padding-top: 0.625rem;
	color: #555;
	font-weight: 700;
	font-size: 1.25rem;
	clear: left;
}

#preview {
	position: absolute;
	border: 1px solid #ccc;
	background: #333;
	padding: 5px;
	display: none;
	color: #fff;
}

.hint {
	width: 18px;
	margin-top: -5px;
}

#preview > img {
	max-width: 100%;
	max-height: 100%;
}

#preview {
	width: auto;
	height: auto;
}

#switchx {
	font-size: 0.75rem;
}

.switchx {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 17px;
}

.switchx input {
	opacity: 0;
	width: 0;
	height: 0;
}

.sliderx {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.3s;
}

.sliderx:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 2px;
	bottom: 2px;
	background-color: #fff;
	transition: 0.3s;
}

input:checked + .sliderx {
	background-color: #2196F3;
}

input:focus + .sliderx {
	box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.35);
}

input:checked + .sliderx:before {
	transform: translateX(13px);
}

#uniform-discretion.checked + .sliderx {
	background-color: #2196F3;
}

#uniform-discretion.checked + .sliderx:before {
	transform: translateX(13px);
}

.sliderx.roundx {
	border-radius: 34px;
}

.sliderx.roundx:before {
	border-radius: 50%;
}

div.checker,
div.checker span,
div.checker input {
	width: 0;
}

.extrafee,
.waste {
	border: 1px solid #ddd;
	padding: 0.625rem;
	display: block;
	border-radius: 4px;
	text-align: left;
	transition: background 0.15s;
}

.extrafee:hover,
.waste:hover {
	background: #f5f5f5;
	cursor: pointer;
}

#extrafee,
#waste {
	width: 20px;
	height: 20px;
	vertical-align: bottom;
	margin-right: 5px;
}

@media (max-width: 480px) {
	#squaremeter {
		width: 100%;
	}

	#width input,
	#height input,
	#depth input,
	#quantitym input,
	#quantity_wanted_p input,
	#directinput_p input {
		width: 2.75rem;
		margin-right: 0.5rem;
	}
}
