/* accountsnew - extra styling layered on top of the site's existing
   bootstrap / fs-style css. Only adds to it, does not override site-wide
   rules. */

.anw-wrap {
	padding-top: 10px;
}

.anw-card {
	background: #ffffff;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.anw-card h3 {
	margin-top: 0;
}

.anw-narrow {
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

.anw-medium {
	max-width: 940px;
	margin-left: auto;
	margin-right: auto;
}

.anw-address-col {
	margin-bottom: 10px;
}

.anw-actions {
	margin-bottom: 18px;
}

.anw-actions .btn {
	margin-right: 8px;
	margin-bottom: 8px;
}

.anw-btn-icon {
	margin-right: 8px;
}

.anw-wrap .btn-default {
	background-color: #55606b !important;
	border-color: #55606b !important;
	color: #ffffff !important;
	border-radius: 4px !important;
}

.anw-wrap .btn-default:hover,
.anw-wrap .btn-default:focus,
.anw-wrap .btn-default:active {
	background-color: #434c55 !important;
	border-color: #434c55 !important;
	color: #ffffff !important;
}

.anw-order-table {
	width: 100%;
	border-collapse: collapse;
}

.anw-order-table th {
	background: #f5f5f5;
	text-align: left;
	padding: 10px 12px;
	border-bottom: 2px solid #ddd;
}

.anw-order-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}

.anw-order-table tr:hover td {
	background: #fafafa;
}

.anw-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	color: #ffffff;
	white-space: nowrap;
}

.anw-badge-success { background-color: #3c9a3c; }
.anw-badge-danger  { background-color: #c9302c; }
.anw-badge-warning { background-color: #d9a441; }
.anw-badge-info    { background-color: #3a7fbf; }

.anw-error-box {
	background: #fdecea;
	border: 1px solid #f5c2c0;
	color: #8a1f1a;
	padding: 12px 16px;
	border-radius: 5px;
	margin-bottom: 18px;
}

.anw-success-box {
	background: #eaf7ea;
	border: 1px solid #bfe3bf;
	color: #1f5c1f;
	padding: 12px 16px;
	border-radius: 5px;
	margin-bottom: 18px;
}

.anw-help-text {
	color: #777777;
	font-size: 13px;
	margin-top: 4px;
}

.anw-order-summary-table td {
	padding: 6px 10px;
}

.anw-order-summary-table .anw-grand-total {
	font-weight: 700;
	background: #eef7ee;
}

.anw-item-lines-table th:nth-child(2),
.anw-item-lines-table td:nth-child(2) {
	text-align: right;
	width: 160px;
}

.anw-item-lines-table th:nth-child(3),
.anw-item-lines-table td:nth-child(3) {
	text-align: right;
	width: 110px;
}

.anw-orders-list-table th:nth-child(4),
.anw-orders-list-table td:nth-child(4) {
	text-align: right;
}

.anw-orders-list-table th:nth-child(5),
.anw-orders-list-table td:nth-child(5) {
	text-align: center;
}

.anw-amount-table td:last-child {
	text-align: right;
	width: 110px;
}

.g-recaptcha {
	margin-bottom: 16px;
}

.anw-print-header {
	display: none;
}

@media print {

	.wsmenucontainer,
	.header,
	.menubg,
	footer.footermenu,
	.anw-actions,
	.anw-no-print {
		display: none !important;
	}

	.anw-print-header {
		display: block;
		width: 100%;
		background: #e8e8e8;
		text-align: left;
		padding: 12px 20px;
		margin-bottom: 10px;
	}

	.anw-print-header img {
		max-height: 55px;
	}

	.anw-wrap {
		padding-top: 0;
	}

	.anw-card {
		box-shadow: none;
		border: 1px solid #999999;
		page-break-inside: avoid;
	}

	body, .container {
		background: #ffffff !important;
	}

}
