/* Order Forms */
.order-form-header h2 {
	color: #d2232a;
	font-size: 1.4em;
	text-transform: uppercase;
	margin-bottom: 1em;
}

/* Bootstrap 2 navbar styled as full-width order step bar */
.navbar.order-steps {
	margin: 0 0 1.25em;
}

.navbar.order-steps .navbar-inner {
	padding: 0;
	min-height: 0;
	background-color: #d9eef5;
	background-image: none;
	filter: none;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.navbar.order-steps .nav {
	display: table;
	width: 100%;
	table-layout: fixed;
	margin: 0;
	float: none;
}

.navbar.order-steps .nav > li {
	display: table-cell;
	float: none;
	position: relative;
	width: 33.333%;
	text-align: center;
	vertical-align: middle;
	background-color: #d9eef5;
}

.navbar.order-steps.order-steps--two .nav > li {
	width: 50%;
}

.navbar.order-steps.order-steps--four .nav > li {
	width: 25%;
}

.navbar.order-steps .nav > li > a {
	display: block;
	padding: 12px 18px 12px 28px;
	margin: 0;
	color: #006687;
	font-size: 1em;
	font-weight: bold;
	line-height: 1.3;
	text-shadow: none;
}

.navbar.order-steps .nav > li > span {
	display: block;
	padding: 12px 18px 12px 28px;
	margin: 0;
	color: #7aa8b8;
	font-size: 1em;
	font-weight: bold;
	line-height: 1.3;
	cursor: default;
}

.navbar.order-steps .nav > li > a:hover,
.navbar.order-steps .nav > li > a:focus {
	color: #d2232a;
	background-color: transparent;
}

.navbar.order-steps .nav > li.active > a,
.navbar.order-steps .nav > li.active > a:hover,
.navbar.order-steps .nav > li.active > a:focus {
	color: #fff;
	background-color: #d2232a;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	cursor: default;
}

.navbar.order-steps .nav > li.active {
	background-color: #d2232a;
}

/* Chevron tips between steps */
.navbar.order-steps .nav > li:not(:last-child):after,
.navbar.order-steps .nav > li:not(:last-child):before {
	content: "";
	position: absolute;
	top: 50%;
	z-index: 2;
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent;
	pointer-events: none;
}

.navbar.order-steps .nav > li:not(:last-child):before {
	right: -14px;
	margin-top: -22px;
	border-width: 22px 0 22px 14px;
	border-left-color: #fff;
}

.navbar.order-steps .nav > li:not(:last-child):after {
	right: -12px;
	margin-top: -20px;
	border-width: 20px 0 20px 12px;
	border-left-color: #d9eef5;
}

.navbar.order-steps .nav > li.active:not(:last-child):after {
	border-left-color: #d2232a;
}

.order-step-panel[hidden] {
	display: none !important;
}

.order-pack-section {
	margin-bottom: 1.75em;
}

.order-pack-heading {
	margin: 0 0 0.5em;
	padding: 0.4em 0.6em;
	background-color: #d9eef5;
	color: #006687;
	font-size: 1.05em;
	font-weight: bold;
}

.order-pack-table .col-qty {
	width: 8%;
	text-align: center;
}

.order-form-actions {
	margin-bottom: 1em;
	text-align: right;
}

.order-form-table {
	font-size: 0.95em;
}

.order-form-table th {
	background: #009bc3;
	color: #fff;
	font-weight: bold;
	text-align: center;
}

.order-form-table td {
	vertical-align: middle;
}

.order-form-section td {
	background: #d2232a;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	text-align: left;
	padding: 6px 8px;
}

.order-form-table .col-image { width: 60px; text-align: center; }
.order-form-table .col-part { width: 10%; }
.order-form-table .col-description { width: 40%; }
.order-form-table .col-unit { width: 13%; text-align: center; }
.order-form-table .col-price { width: 12%; text-align: right; }
.order-form-table .col-qty { width: 8%; text-align: center; }
.order-form-table--service-fees .col-description { width: auto; }
.order-form-table--service-fees .col-price { width: 15%; }
.order-form-table--service-fees .col-qty { width: 10%; }
.order-form-table--service-checks .col-result { width: 9.5em; white-space: nowrap; }
.order-form-table--service-checks .col-notes { width: 22%; min-width: 8em; }
.order-form-table--service-checks .col-price { width: 5.5em; text-align: right; }
.order-form-table--service-checks .service-check-cell { display: inline-block; }
.order-form-service-check-block { margin-bottom: 1.25em; }
.order-form-service-check-title {
	margin: 0 0 0.5em;
	font-size: 1em;
	font-weight: 600;
}
.order-form-service-offering { margin: 0 0 1em; }
.order-form-service-offering-title {
	margin: 0 0 0.35em;
	font-size: 0.95em;
	font-weight: 600;
}
.order-form-service-frequency {
	margin: 0 0 0.5em;
	font-size: 0.9em;
}
.order-form-service-offering-total {
	margin: 0.5em 0 0;
	text-align: right;
	font-size: 0.95em;
}
.order-form-service-offering-total .service-offering-total-amount {
	display: inline-block;
	min-width: 4.5em;
	text-align: right;
}
.order-form-table--service-checks .service-check-radio {
	display: inline-block;
	margin: 0 0.75em 0 0;
	font-weight: normal;
}
.order-form-table--service-checks .service-check-notes {
	margin: 0;
	width: 100%;
	box-sizing: border-box;
	min-height: 2.5em;
}
.order-service-checks-display {
	white-space: pre-wrap;
}
.order-form-table .col-qty-cabinet { width: 4.5em; text-align: center; font-size: 0.85em; white-space: normal; }
.order-form-table .col-qty-total { width: 3.5em; text-align: center; font-weight: bold; }

.order-form-table--multi .col-description { width: auto; }

.order-form-table-wrap {
	margin-bottom: 1em;
}

.order-form-stations {
	margin-top: 1.5em;
	margin-bottom: 1em;
}

.order-form-stations-heading {
	margin: 0 0 0.5em;
	font-size: 1.15em;
}

.order-form-qty {
	width: 2.75em;
	text-align: center;
}

@media (max-width: 767px) {
	.order-form-table-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

.order-form-qty-total {
	display: inline-block;
	min-width: 1.5em;
	font-weight: bold;
}

.cart-item-meta p,
.order-item-meta div {
	margin: 0.15em 0 0;
	font-size: 0.9em;
	color: #555;
}

.cart-item-cabinet,
.order-item-cabinet,
.product-qty-total {
	font-size: 0.9em;
	color: #333;
}

.product-qty-total {
	margin-top: 0.35em;
}

.cart-cabinet-breakdown {
	list-style: none;
	margin: 0.5em 0 0;
	padding: 0;
}

.cart-cabinet-row {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin: 0.25em 0;
	font-size: 0.9em;
}

.cart-cabinet-name {
	min-width: 7em;
	color: #555;
}

.cart-cabinet-name:after {
	content: ":";
}

.cart-cabinet-qty {
	width: 3em;
	margin: 0;
	text-align: center;
}

.cart-group-qty-total {
	font-weight: bold;
}

tr.cart-line-grouped {
	display: none !important;
}

/* Product thumbnail with hover preview */
.order-form-thumb {
	position: relative;
	display: inline-block;
}

.order-form-thumb-img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border: 1px solid #ccc;
	border-radius: 3px;
	cursor: zoom-in;
	background: #fff;
}

.order-form-thumb-full {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	z-index: 100;
	top: 50%;
	left: 100%;
	transform: translateY(-50%);
	margin-left: 8px;
	width: 300px;
	height: 300px;
	padding: 4px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
	pointer-events: none;
}

.order-form-thumb:hover .order-form-thumb-full {
	visibility: visible;
	opacity: 1;
}

/* Product title + description */
.order-form-title {
	display: block;
	font-weight: bold;
}

.order-form-desc-toggle {
	margin-top: 2px;
}

.order-form-desc-toggle summary {
	display: inline-block;
	font-size: 0.85em;
	color: #08c;
	cursor: pointer;
	list-style: none;
}

.order-form-desc-toggle summary::-webkit-details-marker {
	display: none;
}

.order-form-desc-toggle summary:hover {
	text-decoration: underline;
}

.order-form-desc {
	margin-top: 4px;
	font-size: 0.85em;
	color: #666;
	line-height: 1.3;
}

.order-form-footer {
	margin-top: 1.5em;
	padding-top: 1em;
	border-top: 1px solid #ccc;
}

.order-form-subtotal {
	font-size: 1.2em;
	margin: 0;
	padding-top: 0.5em;
}


.order-form-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.order-form-list li {
	margin-bottom: 0.5em;
}

.order-form-list a {
	font-size: 1.1em;
	font-weight: bold;
}

.order-form-list .order-form-item,
.cabinets-form-list .cabinets-form-item {
	list-style: none;
	margin: 0 0 1em;
	padding: 1em 0;
	border-bottom: 1px solid #ddd;
}

.order-form-list .order-form-item:last-child,
.cabinets-form-list .cabinets-form-item:last-child {
	border-bottom: none;
}

.order-form-item-label,
.cabinets-form-item-label {
	margin-bottom: 0.5em;
}

.order-form-meta,
.cabinets-form-meta {
	display: inline-block;
	margin-left: 0.5em;
	color: #666;
	font-size: 0.9em;
	font-weight: normal;
}

.order-form-item-actions .btn,
.cabinets-form-item-actions .btn {
	margin-right: 0.35em;
	margin-bottom: 0.35em;
}

.order-form-item-actions .btn-danger,
.cabinets-form-item-actions .btn-danger,
.order-form-item-actions .btn-danger:hover,
.cabinets-form-item-actions .btn-danger:hover,
.order-form-item-actions .btn-danger:focus,
.cabinets-form-item-actions .btn-danger:focus {
	color: #fff;
}

.cabinets-rows {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
}

.cabinets-row {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin-bottom: 0.5em;
}

.cabinets-row .cabinet-name {
	margin-bottom: 0;
}

.cabinets-row-actions {
	white-space: nowrap;
}

.cabinets-row-actions .btn {
	margin-left: 0.15em;
}

.cabinets-location {
	margin-top: 0;
}

@media print {
	.no-print,
	#header,
	#main,
	#footer,
	#search,
	#top-nav {
		display: none !important;
	}

	body#order {
		min-width: 0;
	}

	.order-form-header h2 {
		font-size: 1.2em;
	}

	.order-form-table {
		font-size: 10pt;
	}

	.order-form-qty {
		border: none;
		background: transparent;
	}

	.order-step-panel[hidden] {
		display: none !important;
	}

	.order-pack-heading {
		background: #eee !important;
		color: #000 !important;
		border: 1px solid #999;
	}
}
