.offer-wrapper {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.offer-contents {
	margin: 20px 0;
	margin-top: 0;
	overflow-y: auto;
	background-color: #fff;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 14px;
	line-height: 22px;
	line-height: 1.8;
	color: #1a1b1c;
}
.offer-contents a {
	text-decoration: none !important;
	color: #1a1b1c !important;
}
.offer-contents .order-summary {
	font-size: 18px;
	margin-bottom: 5px;
}
.offer-contents .address-details-wrapper {
	line-height: 1.2 !important;
	max-width: 45%;
}
.offer-contents .address-details {
	font-size: 16.5px;
	margin-bottom: 5px;
	line-height: 1.8 !important;
	/*text-decoration: underline;*/
}
.table-assumptions {
	font-size: 14px;
	line-height: 22px;
	margin: 25px 0 10px;
}
.offer-contents .footer {
	-webkit-box-flex: 1;
	-webkit-flex-grow: 1;
	-moz-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
}
.offer-contents .footer-text:last-child {
	font-size: 18px;
}
.offer-contents .footer-text {
	margin-top: 10px;
	color: #2f4b8d;
	font-size: 16px;
	font-weight: 700;
}
.offer-contents .page-counter {
	padding-top: 10px;
	font-size: 12px;
	-webkit-align-self: center;
	-ms-flex-item-align: center;
	-ms-grid-row-align: center;
	align-self: center;
}
.offer-contents .header-info {
	font-size: 14px;
	color: #1a1b1c;
	font-weight: 300;
	line-height: 22px;
}
.client_intro {
	margin: 30px 0;
}
.offer-contents .project-name {
	font-size: 18px;
	color: #c15935;
	font-weight: 700;
	line-height: 24px;
}
.offer-contents .project-code {
	font-size: 18px;
	color: #c15935;
	font-weight: 300;
	line-height: 24px;
}
.offer-contents .user-data-header {
	color: #1a1b1c;
	font-size: 16px;
	line-height: 24px;
}
.offer-contents .date,
.offer-contents .user-data {
	font-weight: 600;
	color: #1a1b1c;
	font-size: 16px;
	line-height: 24px;
}
.offer-contents {
	width: 100%;
}
.offer-contents table,
.offer-contents table th,
.offer-contents table td {
	border: 1px solid #1a1b1c;
	border-collapse: collapse;
	text-align: center;
	vertical-align: middle;
	padding: 5px 5px 10px 5px;
	font-size: 12px;
}
.item-description {
	vertical-align: top;
	text-align: left !important;
	padding: 20px !important;
	line-height: 22px;
	font-size: 12px;
	color: #1a1b1c;
}
.manager-notes {
	color: #b60000;
	display: block;
}
.admin-notes {
	color: #b60000;
}
.total-calculations {
	margin-top: 20px;
}
.all-items .cart-item-row {
	table-layout: fixed;
	width: 100%;
	border: 1px solid #1a1b1c;
	border-collapse: collapse;
	font-size: 14px;
}
.cart-item-row th,
.cart-item-row td {
	padding: 8px;
	border: 1px solid #1a1b1c;
	text-align: center;
}
.offer_pdf {
	padding: 0 15mm; /* Default page padding for printing 2.5 cm */
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background: #fff;
	overflow: hidden;
}

/* this makes the table look good. do not touch START */

.all-items .cart-item-row > * > tr > * {
	padding: 10px 5px;
	border: 1px solid #1a1b1c;
}
.all-items .cart-item-row > * > tr:first-child > * {
	text-align: center;
}
.all-items .cart-item-row > * > tr > *:nth-child(1) {
	width: 3%;
}
.all-items .cart-item-row > * > tr > *:nth-child(3) {
	width: 15%;
}
.all-items .cart-item-row > * > tr > *:nth-child(4) {
	width: 10%;
}
.all-items .cart-item-row > * > tr > *:nth-child(5) {
	width: 15%;
}
.all-items .cart-item-row > * > tr:last-child {
	vertical-align: top;
}

/* this makes the table look good. do not touch END */

.offer_pdf table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	table-layout: fixed;
	color: #1a1b1c;
}
.offer_pdf > table {
	height: 100vh;
}
.offer_pdf > table td {
	vertical-align: top;
}
.cart-item-header {
	font-weight: 600;
	background-color: #ddd;
}

.price_table {
	font-size: 14px;
	line-height: 20px;
	margin: 20px 0;
	color: #1a1b1c;
}
.net_price,
.user_discount,
.user_discount,
.extra_discount_percent,
.taxes,
.total_price,
.shipping_cost {
	color: #1a1b1c;
	font-size: 14px;
	line-height: 20px;
}
.total_qty,
.total_area,
.total_perimeter,
.total_qty b,
.total_area b,
.total_perimeter b {
	font-size: 14px;
	line-height: 18px;
	font-weight: normal !important;
}
.total_perimeter {
	border-bottom: 1px solid #585d60;
	padding-bottom: 30px;
	margin-bottom: 10px;
}
.total_qty {
	margin-top: 20px;
	padding-top: 10px;
}
.total_price {
	color: #1a1b1c;
	font-size: 16px;
	line-height: 25px;
	font-weight: 500;
	margin-top: 5px;
}
.header-address,
.header-phone,
.header-phone a,
.header-email,
.header-email a,
.header_text {
	font-size: 16px;
	line-height: 18px;
	font-weight: 500;
	color: #1a1b1c !important;
	text-decoration: none !important;
}
.header-email {
	margin-top: 10px;
	margin-bottom: 5px;
}
.header-title {
	margin-top: 3px;
	font-weight: 600;
	font-size: 17.5px;
	color: #008ad2;
}
.header_bw {
	margin: 50px 0;
	justify-content: space-between;
}
.header_bw .logo {
	width: 300px;
	align-self: flex-start;
}
.header_bw div {
	text-align: right;
	margin-left: 5px;
}
.footer {
	font-size: 13px;
	height: 80px;
	font-size: 14px;
}

.item_image {
	width: 55%;
	line-height: 14px;
}
.item_image span {
	text-align: center;
	font-size: 13px;
	line-height: 25px;
	color: #1a1b1c;
}
#root > table:last-of-type {
	width: 100%;
}
#root > table ~ table {
	page-break-before: always;
}
.table_totals {
	page-break-before: always;
}
.table_totals + table {
	page-break-before: always;
}
.offer-price-confirmed {
	color: #b60000;
	margin-top: 20px;
}
.pdf-resources a {
	color: #008ad2 !important;
	text-decoration: underline !important;
	text-decoration-color: #008ad2 !important;
}

@media printer {
	@page {
		margin: 0;
		size: 210mm 297mm;
	}

	body {
		margin: 0;
	}

	.offer-contents {
		margin: 0;
		width: 210mm;
		height: 297mm;
		-webkit-box-shadow: 0;
		-moz-box-shadow: 0;
		box-shadow: 0;
		page-break-after: always;
	}
}
