/* Print-specific CSS for Bulma components */

/* Print-only elements - show only when printing */
@media print {
	.printonly {
		display: block !important;
	}
}

@media screen {
	.printonly {
		display: none !important;
	}
}

/* No-print elements - hide when printing */
@media print {
	
}

/* Content organization classes */
.content_section {
	margin-bottom: 2rem;
	padding: 1rem;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
}

@media print {
	.content_section {
		border: none;
		padding: 0;
		margin-bottom: 1rem;
	}
}

.section_item {
	margin-bottom: 1.5rem;
	page-break-inside: avoid;
}

.section_item .title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #e0e0e0;
}

@media print {
	.section_item .title {
		border-bottom: 1px solid #000;
	}
}

.section_item .content {
	padding-left: 0;
}

/* Current prices styling */
.current-prices-grid .table {
	margin-bottom: 0;
}

@media print {
	.current-prices-grid .table {
		border: 1px solid #000;
	}

	.current-prices-grid .table th,
	.current-prices-grid .table td {
		border: 1px solid #000;
		padding: 8px;
	}

	.current-prices-grid .table thead th {
		background-color: #f5f5f5;
		font-weight: bold;
	}
}

/* Price display components */
.price-item {
	white-space: nowrap;
}

.price-values {
	font-size: 0.75rem;
	line-height: 1.2;
}

.label-text {
	opacity: 0.7;
}

/* Print layout adjustments */
@media print {
	.columns {
		display: flex !important;
	}

	.column {
		flex: 1;
		padding: 0.75rem;
	}

	.is-4 {
		width: 33.33333% !important;
	}

	.is-offset-4 {
		margin-left: 33.33333% !important;
	}

	.has-text-right {
		text-align: right !important;
	}

	.has-text-centered {
		text-align: center !important;
	}

	/* Ensure proper spacing in print */
	.mb-6 {
		margin-bottom: 3rem !important;
	}

	.mb-4 {
		margin-bottom: 2rem !important;
	}

	.mt-6 {
		margin-top: 3rem !important;
	}

	/* Print-friendly typography */
	.title.is-4 {
		font-size: 1.25rem !important;
		font-weight: bold !important;
		margin-bottom: 0.5rem !important;
	}

	.subtitle.is-5 {
		font-size: 1.125rem !important;
		margin-bottom: 0.5rem !important;
	}

	/* Ensure table borders show in print */
	.table.is-bordered {
		border-collapse: collapse !important;
	}

	/* Page breaks */
	.section_item {
		page-break-inside: avoid !important;
	}

	/* Hide Bulma responsive helpers in print */
	.is-hidden-desktop,
	.is-hidden-touch {
		display: block !important;
	}
}

/* Top Info Bar Layout */
.topInfoBar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.topInfoBar-left {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.topInfoBar-right {
	display: flex;
	align-items: center;
}

/* Header Prices Styling */
.header-prices-desktop .price-item {
	font-size: 0.8rem;
}

.header-prices-desktop .price-values {
	min-width: 80px;
}

.header-prices-mobile .dropdown-content {
	min-width: 180px;
}

.header-prices-mobile .dropdown-item {
	padding: 0.5rem 1rem;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
	.topInfoBar {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.topInfoBar-left {
		width: 100%;
		justify-content: space-between;
	}

	.topInfoBar-right {
		width: 100%;
		justify-content: center;
	}
}

/* Ensure prices don't break layout */
.header-prices-desktop,
.header-prices-mobile {
	flex-shrink: 0;
}

/* Print - hide header prices */
@media print {
	.header-prices-desktop,
	.header-prices-mobile {
		display: none !important;
	}
}


@media all
{
	.printonly
	{
		display: none;
	}
}

@media print
{

	html, body
	{
		background: none;
	}
	div#page-wrapper
	{
		width: 100%;
	}
	div#page-wrapper-layer-2,div#page-wrapper-layer-1,div#page-wrapper
	{
		background: none;
	}


	div#f div.app_version
	{
		display: block;
	}
	div.hr
	{
		display: none;
	}
	.noprint
	{
		display: none!important;
	}
	
	.printonly
	{
		display: inherit;
	}
	
	#b
	{
		width: 100%;
		padding: 0px;
	}
	
	div#subhead
	{
		float: none;
		clear: none;
		width: auto;
	}
	
	div#b
	{
		padding: 0px;
	}
	nav,aside
	{
		display: none;
	}
	#subhead #title-bar
	{
		display: none;
	}

	body#public a#helpspot-widget-tab, body#public a#helpspot-widget-tab:link,
	body#member a#helpspot-widget-tab, body#member a#helpspot-widget-tab:link
	{
		display: none !important;
	}

	.page-right, #f
	{
		background: none;
		border: none;
		box-shadow: none;
	}
	.page-full, div#f, div#f a
	{
		background: none;
		border: none;
		box-shadow: none;
		-moz-box-shadow: none;
	}
	div#f
	{
		border-top: .015in solid black;
	}

	table.user-account-value tr>th {
		background: white;
		color: black;
		font-weight: bold;
		font-size: 110%;
	}
}

