
/*
	Generate Sales Sheet Page
*/

body {
	-webkit-print-color-adjust: exact;
}

.bare-title {
	margin: 2rem;
	font-size: 1.8rem;
	text-align: center;
}

.sales-sheet-type-box {
	margin-top: 4rem;
	box-shadow: 0 2px 3px rgba(0,0,0,0.5);
	border-radius: 2px;
	width: 20rem;
	background-color: #fff;
	padding: 1rem 2rem;
	font-size: 1.1rem;
}

.sales-sheet-type-title {
	font-weight: normal;
	margin-top: 1rem;
}

.sales-sheet-type-items {
	margin: 0.5rem;
}

/* .sales-sheet-type-item {
	font-size: 1.4rem;
} */

.sales-sheet-type-select {
	margin: 0.7rem 0 1.3rem;
}

/* .selection-box-container {
	margin: 2rem;
} */

/* .selection-box {
	color: #fff;
	background-color: #CC0000;
	width: 14rem;
	height: 8rem;
	display: table-cell; 
	vertical-align: middle; 
	text-align: center;
	box-shadow: 0 2px 3px rgba(0,0,0,0.5);
	border-radius: 2px;
	padding: 0.5rem;
} */

.customer-info-container {
	margin: 4rem;
}

.customer-info-label {
	text-align: right;
	text-decoration: underline;
	width: 20%;
}

.customer-info-item {
	border-bottom: 1px solid #979797;
	width: 40%;
}

.customer-info-table {
	border-spacing: 2rem 1rem;
	border-collapse: separate;
	font-size: 1.3rem;
	width: 80%;
}


/*
	Toner Profile Page
*/

.tp-customer-name {
	font-size: 1.9rem;
	font-weight: bold;
}

.tp-customer-id {
	font-size: 1.3rem;
}

.tp-menu-column {
	text-align: center;
	background: #fff;
	border-right: 1px solid #D8D8D8;
	min-height: 80vh;
}

.tp-menu-item {
	padding: 0.5rem 0;
	margin: 1rem 0;
	color: #646363;
	cursor: pointer;
}

/* .tp-right-container {
} */

.tp-header-container {
	display: flex;
	width: 100%;
}

.tp-header-container > div {
	flex-basis: 100%;
}

.tp-header-right {
	margin-top: 1rem;
	margin-bottom: 1rem;
	text-align: right;
}

.tp-title {
	padding: 0.5rem 1rem;
	margin-left: -15px;
	margin-top: -2px;
	color: #fff;
	background-image: linear-gradient(#CC0000, #9F041B);
}

.tp-staples-business-advantage {
	height: 30px;
}

.tp-company-name {
	font-size: 3rem;
	color: #646363;
}

.tp-company-id {
	color: #646363;
	font-weight: normal;
	margin-left: 0.5rem;
}

.tp-high-yield-container {
	text-align: center;
	color: #222;
}

.tp-high-yield-label {
	font-size: 1.5rem;
	padding-right: 0.8rem;
	border-right: 1px solid #D8D8D8;
	vertical-align: super;
	font-weight: normal;
}

.tp-high-yield-number {
	font-size: 2.3rem;
	padding-left: 0.8rem;
	font-weight: bold;
}

.tp-why-upgrade-container {
	background-color: #BD0309;
	border-radius: 3px;
	box-shadow: 0 2px 3px rgba(0,0,0,0.5);
	color: #fff;
	padding: 0.8rem 2rem;
}

.tp-why-upgrade-title {
	font-size: 1.6rem;
}

.tp-why-upgrade-description {
	font-size: 1.3rem;
}

.tp-why-upgrade-benefits {
	font-size: 1.1rem;
	margin-top: 1rem;
}

.tp-toner-section {
	margin-top: 2rem;
}

.tp-comparison-section-border {
	border-left: 0.5px solid #4D5156;
}

.tp-comparison-title-section {
	display: inline-block;
}

.tp-comparison-logo {
	vertical-align: top;
}

.comparison-section {
	background-color: #3D4146;
	box-shadow: 0 2px 3px rgba(0,0,0,0.5);
	color: #fff;
	padding: 1rem;
}

.tp-comparison-title {
	font-size: 1.2rem;
}

.tp-comparison-desc {
	font-size: 1.2rem;
}

.no-padding {
	padding: 0;
}

.tp-benchmark-bars {
	margin-top: 2rem;
}

.tp-bar-title {
	font-size: 0.9rem;
}

.tp-bar-description {
	font-size: 0.9rem;
	text-align: center;
	margin-top: 0.4rem;
}

.tp-bar {
	height: 3rem;
	width: 100%;
	background-color: #D8D8D8;
	text-align: right;
	display: table-cell; 
	vertical-align: middle; 
	color: #222;
	box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.tp-bar-alt {
	background-color: #CC0000;
}

.tp-bar-alt > .tp-bar-mark {
	border-right: 3px dashed #fff;
}

.tp-bar-percentage {
	color: #222;
	position: absolute;
	right: 1.5em;
	top: 0.7rem;
}

.tp-bar-container {
	display: table;
	width: 100%;
}

.tp-bar-mark {
	border-right: 3px dashed #222;
	height: 100%;
}

.tp-comparison-bars-container {
	margin-top: 2rem;
	margin-left: 15px;
}

.tp-comparison-bars {
	display: flex;
	margin-top: 0.7rem;
	margin-bottom: 1rem;
}

.tp-comparison-bars-description {
	display: inline-block;
	width: 10%;
	font-size: 0.8rem;
	vertical-align: top;
}

.tp-comparison-bars-description-p {
	display: inline-block;
	width: 20%;
	padding-right: 0.5rem;
	font-size: 0.9rem;
	line-height: 1rem;
	vertical-align: middle;
}

.tp-comparison-bars-description-p--value {
	width: 10%;
	padding-left: 0.5rem;
}

.tp-comparison-bar {
	display: inline-block;
	height: 1rem;
	background-color: #CC0000;
	box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.tp-comparison-bars-legend {
	color: #fff;
	text-align: center;
	font-size: 0.9rem;
}

.tp-comparison-bars-circle {
	color: #CC0000;
	padding-right: 0.5rem;
}

.tp-table-toner-purchases {
	margin: auto;
}

.tp-table-toner-purchases td {
	padding: 0.1rem 0.7rem;
}

.tp-td-left {
	text-align: right;
}

.tp-td-large {
	font-size: 1.5rem;
	border-left: .5px solid #333;
	text-align: center;
	font-weight: normal;
}

.tp-savings-table {
	color: #fff;
	margin-top: 3rem;
}

.tp-savings-table td {
	padding: 1rem 0;
}

.tp-savings-table-number {
	font-size: 2.3rem;
	text-align: right;
	font-weight: normal;
}

.tp-savings-table-desc {
	padding: 1rem !important;
	font-size: 1.2rem;
}

.tp-savings-table-border {
	border-top: 1px solid #979797;
}

.tp-footnote {
	margin: 1rem 1rem 0.5rem;
}

.ssal-select-container {
	text-align: center;
	margin: 1rem;
}

.td-right {
	text-align: right;
}

.ssal-toggles-container {
	margin: 1rem;
}

@media print {
	.header-container {
		display: none !important;
	}
	.tp-menu-column {
		display: none;
	}
	.btn-print {
		display: none !important;
	}
	#download-pdf {
		display: none !important;
	}
	.pdf-break {
		break-before: page !important;
	}
	.site-box .site-row.site-content {
		overflow: visible !important;
	}
	/* @page {
		size: letter;
		margin: 1cm;
	} */
	/* html, body {
		width: 210mm;
		height: 297mm; 
		height: 282mm;
		font-size: 11px;
		background: #FFF;
		overflow: visible;
	} */
	/* body {
		padding-top: 15mm;
	} */
}

.sub-sales-sheet {
	margin-bottom: 5rem;
}

#sales-sheet-printer-container {
	margin-bottom: 4rem;	
	font-weight: bold;
	background-color: #fff;
	padding-top: 2rem;
	padding-bottom: 4rem;
}

.ssp-top-title {
	margin-bottom: 0;
}

/* The switch - the box around the slider */

.toggle-switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

/* Hide default HTML checkbox */

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */

.toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.toggle-slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

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

input:focus + .toggle-slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .toggle-slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */

.toggle-slider.toggle-round {
	border-radius: 34px;
}

.toggle-slider.toggle-round:before {
	border-radius: 50%;
}

/* Printer Table */

.printer_table .color-printer-row {
	display: none;
}

.printer_table .color-printer-row--visible {
	display: table-row;
}

.printer_table td img.printer_img {
	margin: 5px 0;
	height: 120px;
}

.printer_table td.title {
	font-size: 1.6em;
	padding-left: 4px;
}

.printer_table td:first-child {
	padding-left: 20px;
}

.printer_table tr td {
	vertical-align: middle;
}

.printer_table tr.total td {
	border-top: 2px solid #ccc;
}

.printer_table td:first-child {
	padding-left: 20px;
}

.printer_table tr td {
	vertical-align: middle;
}

.printer_table td {
	border-color: #f0f0f0;
	vertical-align: top;
	position: relative;
}

.printer_table th, 
.printer_table td {
	font-size: 15px;
}

.printer_table .input-group {
	display: flex;
	justify-content: flex-end;
}

.printer_table .input-group > .input-group-addon {
	display: flex;
	width: 30px;
	align-items: center;
	justify-content: center;
}

.printer_table .input-group > input[type=text] {
	width: 70px;
}

.printer_table .input-group-addon:first-child {
		border-right: 0;
}

.printer_table .input-group .form-control:first-child, 
.input-group-addon:first-child, 
.input-group-btn:first-child > .btn, 
.input-group-btn:first-child > .btn-group > .btn, 
.input-group-btn:first-child > .dropdown-toggle, 
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), 
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
}

.printer_table .input-group-addon {
	padding: 6px 12px;
	font-size: 14px;
	font-weight: normal;
	line-height: 1;
	color: #555555;
	text-align: center;
	background-color: #eeeeee;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.printer_table .input-group-addon, .input-group-btn {
	width: 1%;
	white-space: nowrap;
	vertical-align: middle;
}

/* .printer_table .input-group-addon,  */
.input-group-btn, 
.input-group .form-control {
	display: table-cell;
}

.printer_table td .input-group input[type=text] {
	float: left;
}

.printer_table .input-group .form-control:last-child, 
.input-group-addon:last-child, 
.input-group-btn:last-child > .btn, 
.input-group-btn:last-child > .btn-group > .btn, 
.input-group-btn:last-child > .dropdown-toggle, 
.input-group-btn:first-child > .btn:not(:first-child), 
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}

.printer_table td input[type=text] {
	text-align: right;
	width: 70px;
	float: right;
	font-size: 12px;
}

/* .printer_table .input-group-addon,  */
.input-group-btn, 
.input-group .form-control {
	display: table-cell;
}

.printer_table .input-group .form-control {
	position: relative;
	z-index: 2;
	float: left;
	width: 60%;
	margin-bottom: 0;
}

.printer_table .form-control {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control--select2-container {
	display: block;
	margin-left: auto;
}

.form-control--select2-container .select2-selection--single {
	border: 1px solid #ccc;
	border-radius: 4px;
	height: calc(2.25rem + 2px);
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #495057;
	margin-top: 0.5rem;
}

.form-control--select2-container .form-control--select2-selection,
.form-control--select2-results .select2-results__option {
	display: flex;
	align-items: center;
	position: relative;
	margin-top: 0;
	padding: 0.375rem 1.5rem 0.375rem 0.75rem;
	color: #555555;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.42857143;	
}

.select2-container--default .form-control--select2-results.form-control--select2-groups .select2-results__option[role=group] {
	align-items: flex-start;
	flex-direction: column;
	padding: 0 0 0.375rem 0;
}

.select2-container--default .form-control--select2-results.form-control--select2-groups .select2-results__option[role=group] .new-printer-select__optgroup {
	width: 100%;
	padding: 0.375rem 1.5rem 0.375rem 1.5rem;
}

.select2-container--default .form-control--select2-results.form-control--select2-groups .select2-results__option[role=group] .new-printer-select__optgroup--expand {
	position: relative;
	cursor: pointer;
}

.form-control--select2-groups .new-printer-select__optgroup--plus::before,
.form-control--select2-groups .new-printer-select__optgroup--minus::before {
	position: absolute;
	left: 5px;
	font-family: Font Awesome\ 5 Pro;
	font-weight: 900;
}

.form-control--select2-groups .new-printer-select__optgroup--plus::before {
	content: "\f055";
}

.form-control--select2-groups .new-printer-select__optgroup--minus::before {
	content: "\f056";
}

.select2-container--default .form-control--select2-groups .select2-results__options {
	width: 100%;
	max-height: none;
}

.select2-container--default .form-control--select2-results.form-control--select2-groups .select2-results__option[role=group] .select2-results__options .new-printer-select__option {
	padding: 0.375rem 1.5rem 0.375rem 2rem;
}

.form-control--select2-results.form-control--select2-groups .new-printer-select__option--hidden {
	display: none;
}

.form-control--select2-results.form-control--select2-groups .new-printer-select__option--visible {
	display: flex;
}

.select2-container--default .form-control--select2-results .new-printer-select__option--subgroup {
	color: #555555;
	font-weight: 700;
}

.select2-container--default .form-control--select2-results.form-control--select2-groups .select2-results__option[role=group] .select2-results__options .new-printer-select__option--suboption-indent {
	padding-left: 2.5rem;
}

.form-control--select2-container .form-control--select2-selection .select2-selection__rendered {
	padding: 0;
	color: #555555;
	line-height: inherit;
	text-align: left;
}

.form-control--select2-container .form-control--select2-selection .select2-selection__arrow {
	top: 5px;
}

.form-control--select2-container .form-control--select2-selection .select2-selection__arrow b {
	border-color: #000000 transparent transparent transparent;
}

.form-control--select2-container.select2-container--open .form-control--select2-selection .select2-selection__arrow b {
	border-color: transparent transparent #000000 transparent;
}

.model_content .alert input[type=text] {
	width: 40px;
	text-align: center;
}

.printer_table td .input-group input[type=text] {
	float: left;
}

.printer_table .input-group .form-control:last-child, 
.input-group-addon:last-child, 
.input-group-btn:last-child > .btn, 
.input-group-btn:last-child > .btn-group > .btn, 
.input-group-btn:last-child > .dropdown-toggle, 
.input-group-btn:first-child > .btn:not(:first-child), 
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}

.printer_table td input[type=text] {
	text-align: right;
	width: 70px;
	float: right;
	font-size: 12px;
}

/* .printer_table .input-group-addon,  */
.input-group-btn, 
.input-group .form-control {
	display: table-cell;
}

.printer_table td:first-child {
	padding-left: 20px;
}

.printer_table tr td {
	vertical-align: middle;
}

.printer_table td {
	border-color: #f0f0f0;
	vertical-align: top;
	position: relative;
}

.printer_table tbody th:nth-child(3), 
.printer_table td:nth-child(3) {
	text-align: right;
}

.printer_table tr td {
	vertical-align: middle;
}

.printer_table td {
	border-color: #f0f0f0;
	vertical-align: top;
	position: relative;
}

.printer_table th, 
.printer_table td {
	font-size: 15px;
}

.printer_table tbody tr.total td:last-child {
	border-top: 2px solid #ccc;
}

.printer_table tbody tr.total td.no-border:last-child {
	border: none;
}

.printer_table tr.total td {
	border-top: 2px solid #ccc;
}

.printer_table .printer-detail--green,
.pdf-content .printer-detail--green {
	color: #3c763d;
	background: #dff0d8;
}

.printer_table .printer-detail--red,
.pdf-content .printer-detail--red {
	color: #a94442;
	background: #f2dede;
}

.printer_table td.noBg {
	background: none;
}

.printer_table td.green {
	background: #dff0d8;
	color: #3c763d;
}

.printer_table tbody th:last-child, 
.printer_table td:last-child {
	text-align: right;
	border: 0;
}

.printer_table tr.total td {
	border-top: 2px solid #ccc;
}

.printer_table tbody th:nth-child(2), 
.printer_table td:nth-child(2) {
	text-align: right;
}

.printer_table thead th {
	padding: 10px;
	text-align: center;
}

.printer_table td .input-group {
	float: right;
	width: 100px;
}

.printer_table .input-group {
	position: relative;
	/* display: table; */
	border-collapse: separate;
}

.printer_table td:first-child {
	padding-left: 20px;
}

.printer_table tr td {
	vertical-align: middle;
}

.printer_table td {
	border-color: #f0f0f0;
	vertical-align: top;
	position: relative;
}

.printer_table th, 
.printer_table td {
	font-size: 15px;
}

.printer_table td[colspan="2"] div:first-child  {
	display: inline-block;
}

.printer_table td[colspan="2"] .input-group--investment {
	display: inline-flex;
	float: none !important;
}

.pdf-content {
	display: none;
	position: absolute;
	left: -999999px;
	visibility: hidden;
}

.generic-ss-notes {
	margin-top: 2rem;
}

.generic-ss-box {
	margin-top: 2rem;
	box-shadow: 0 2px 3px rgba(0,0,0,0.5);
	border-radius: 2px;
	width: 26rem;
	background-color: #fff;
	padding: 1rem 2rem;
	font-size: 1.1rem;
}

.generic-ss-box .select2-container--default .select2-selection--single {
	border: 1px solid #ccc;
	border-radius: 4px;
	height: calc(2.25rem + 2px);
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #495057;
	margin-top: 0.5rem;
}

.sales-sheet-type-printer-select {
	margin-bottom: 1rem;
}

.sales-sheet-upgrade-pdf,
.sales-sheet-benefits {
	position: absolute;
	left: 0;
	width: 270px;
	height: auto;
}

.sales-sheet-upgrade-pdf {
	bottom: 1rem;
	text-align: center;
}

.sales-sheet-upgrade-pdf__link-container {
	padding: 0 1.25rem;
}

.sales-sheet-benefits {
	top: 0;
	text-align: left;
}


.sales-sheet-cookie-crumb-container {
	margin: 0 1rem 1.3rem 1rem;
}

.sales-sheets-cookie-crumb-container {
	margin-bottom: 1.3rem;
}

@media print {
	.sales-sheet-cookie-crumb-container {
		display: none;
	}
}

#saved-sales-sheets-container {
	margin: 0.7rem;
}

.save-success {
	color: #96C93F;
	opacity: 0;
	transition: opacity 0.5s;
}

.save-success-sheets {
	margin-top: 1rem;
}

.btn-spacer {
	margin-left: 0.4rem;
	margin-right: 0.4rem;
}

.saved-sales-sheet-delete {
	color: #969697;
	cursor: pointer;
}
