
/* discount checkbox */
.pt-discount-tumbler-switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 30px;
	background-color: #ccc;
	border-radius: 15px;
	cursor: pointer;
}

.pt-discount-tumbler-switch.checked {
	background-color: deepskyblue;
}

.pt-discount-checkbox-tumbler {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 26px;
	height: 26px;
	background-color: white;
	border-radius: 50%;
	transition: .3s;
}

.pt-form-group input[type="checkbox"].pt-discount-checkbox {
	display: none;
}

.pt-form-group input[type="checkbox"].pt-discount-checkbox:checked + .pt-discount-checkbox-tumbler {
	transform: translateX(30px);
}

.pt-form-group-field-discount-checkbox {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

@media screen and (max-width: 540px) {
	.pt-form-group-field-discount-checkbox, .pt-form-group .pt-discount-tumbler-switch {
		display: block;
	}
}

/* Quantity/Amount discount explanation table */
.pt-amount-discount-details thead tr, .pt-quantity-discount-details thead tr {
	background-color: #ff9800;
	color: #fff;
	font-weight: 500;
}

.pt-amount-discount-details table tr td, .pt-amount-discount-details table tr td:first-child, .pt-amount-discount-details table thead tr th, .pt-quantity-discount-details table tr td, .pt-quantity-discount-details table tr td:first-child, .pt-quantity-discount-details table thead tr th {
	padding: 10px 30px;
}

.pt-amount-discount-details tbody tr, .pt-quantity-discount-details tbody tr {
	background-color: #fff;
	border-left: 1px solid #e9e9e9;
	border-right: 1px solid #e9e9e9;
}

.pt-amount-discount-details tbody tr:nth-child(even), .pt-quantity-discount-details tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}
