/**
 * Product list
 */

	/* Table layout */
		.spnet-products-table h2 {
			font-size: 1em;
		}

/**
 * Product details
 */

	.spnet-variations-grid {
		font-size: 0.875rem;
		width: auto;
	}

/* Responsive tables */

	.spnet-responsive-table-active thead {
		display: none;
	}

	.spnet-responsive-table-active,
	.spnet-responsive-table-active tbody,
	.spnet-responsive-table-active th {
	  display: block;
	  width: 100%;
	}

	.spnet-responsive-table-active tr {
		display: table;
		width: 100%;
		padding-top: 4vh;
		padding-bottom: 4vh;
	}

	.spnet-responsive-table-active tr + tr {
		border-top: 1px solid #ccc;
	}

	.spnet-responsive-table-active [data-spnet_th] {
	  display: table-row;
	  width: 100%;
	  text-align: left;
	  padding: 0;
	  line-height: initial;
	  border: 0;
	}

	.spnet-responsive-table-active [data-spnet_th]::before,
	.spnet-responsive-table-active [data-spnet_th] .spnet-responsive-cell {
		padding-top: 1vh;
		padding-bottom: 1vh;
	  display: table-cell;
	}

	.spnet-responsive-table-active [data-spnet_th]:empty {
	  display: none;
	}
	.spnet-responsive-table-active [data-spnet_th]::before {
	  content: attr(data-spnet_th);
	  font-weight: bold;
	  padding-right: 5vw;
	  white-space: nowrap;
	  width: 1vw;
	  vertical-align: top;
	}

/* Quantity breaks table */

	.quantity-breaks {
		margin: 0;
		font-size: smaller;
		width: auto;
	}
	.quantity-breaks .quantity-break td {
		padding: 1em 0 0;
	}
	.quantity-breaks .quantity-break td + td {
		padding-left: 1.41575em;
	}

	.quantity-break-active td {
		font-weight: bold;
	}

/* Ordering grid */

	.spnet-variations-grid {
		display: table;
    margin-bottom: 1rem;
	}

	.spnet-variations-grid-head {
		display: table-header-group;
	}

	.spnet-variations-grid-body {
		display: table-row-group;
	}

	.spnet-variations-grid-row {
		display: table-row;
	}

	.spnet-variations-grid-cell-container {
		display: contents;
	}

	.spnet-variations-grid-cell {
		display: table-cell;
		padding: 0.3rem;
	}

	.spnet-variations-grid-head .spnet-variations-grid-heading-cell {
		text-align: center;
	}

	.spnet-variations-grid-heading-cell {
		display: table-cell;
		padding: 0.3rem;
		font-weight: bold;
	}

	.spnet-variations-grid.spnet-responsive-table-active {
		border-top: 1px solid #ddd;
	}

  .spnet-variations-grid.spnet-responsive-table-active .spnet-variations-grid-head {
  	display: none;
  }

  .spnet-variations-grid.spnet-responsive-table-active .spnet-variations-grid-heading-cell {
		border-bottom: 1px solid #ddd;
  }

	.spnet-variations-grid.spnet-responsive-table-active .spnet-variations-grid-cell-container {
		display: table-cell;
		border-bottom: 1px solid #ddd;
		padding: 0.5rem;
	}
	.spnet-variations-grid.spnet-responsive-table-active .spnet-variations-grid-cell {
		display: inline-block;
	}

	.spnet-variations-grid.spnet-responsive-table-active [data-label]::before {
		content: attr(data-label);
		font-weight: bold;
		display: block;
		text-align: center;
	}

/**
 * Financials/templates sections
 */

	.spnet-no-results {
		padding: 1.41575em;
	}

	/* Invoice type links */

		.storefront-full-width-content ul li.woocommerce-MyAccount-navigation-link--financials a:before {
			content: "\f155";
		}

		.spnet-tabs {
			display: flex;
			flex-wrap: wrap;
			justify-content: space-around;
			line-height: 4em;
			text-align: center;
			margin-bottom: 2vh;
		}

		.spnet-tabs a {
			flex: 1;
			background-color: #f0f0f0;
			margin: 0.5vw;
			padding: 0 1em;
			white-space: nowrap;
		}

		.spnet-tabs a.active,
		.spnet-tabs a:hover
		{
			font-weight: bold;
			color: #000;
		}

	/* Financials lists */

		.spnet-financials {
			font-size: 14px;
		}

		.spnet-financials a {
			display: block;
		}

		.spnet-financials-heading {
			text-align: left;
		}

		.spnet-financials-currency-type-heading,
		.spnet-financials-currency-type-cell,
		.spnet-financials-float-type-heading,
		.spnet-financials-float-type-cell
		{
			text-align: right;
		}

		.spnet-financials-heading-pdf-type-heading,
		.spnet-financials-heading-pdf-type-cell {
			text-align: center;
		}

	/* Financials details */
		.spnet-financial-details {
			margin-bottom: 2em;
		}

		.spnet-financial-lines {
			font-size: 0.875rem;
		}

		.spnet-financial-pdf-request-form {
			float: right;
		}

		.pdf-request-button {
			line-height: initial;
			margin: 0;
		}

	/* Templates */
		.woocommerce-MyAccount-content table h2 {
			font-size: inherit;
			font-weight: inherit;
		}

/**
 * Admin bar
 */

	/* Fix flatsome annoyance */

		.kint dt,
		.kint dl
		 {
			text-transform: none;
		}

	/* Product details dump */
		.spnet-product-details-dump {
			overflow: auto;
			border-bottom: 1px solid #ccc;
		}

		.spnet-product-dump {
			padding-top: 2em;
			padding-bottom: 2em;
		}
		.spnet-product-dump .spnet-product-dump {
			margin-left: 2em;
		}

		.spnet-product-dump + .spnet-product-dump {
			border-top: 1px solid #ccc;
		}

		#debug-menu-target-SPNet_Debug_Bar_Panel .spnet-product-details-dump table {
			width: auto;
			margin-bottom: 0;
		}

		.spnet-product-details-dump th {
			font-weight: bold;
		}

		#debug-menu-target-SPNet_Debug_Bar_Panel .spnet-product-details-dump th,
		#debug-menu-target-SPNet_Debug_Bar_Panel .spnet-product-details-dump td {
			padding: 0 0.707875em;
			border: 1px solid #ccc;
		}

		#debug-menu-target-SPNet_Debug_Bar_Panel .spnet-product-details-dump table table {
			margin-bottom: 0;
		}

		.quantity-breaks-cell {
			padding: 0;
		}
		.quantity-breaks-cell table {
			width: 100%;
		}

		.spnet-debug-dump-special-prices .section_head {
			font-size: inherit;
		}

/**
 * Theme specific
 */

	/* Storefront */
	.spnet-no-ordering #site-header-cart,
	/* Flatsome */
	.spnet-no-ordering .cart-item,
	.spnet-no-ordering .header-nav .header-divider
	{
		display: none;
	}

