/* table-3 — bordered grid, zebra rows (table-style1) */

.builder-table {
	display: block;
	margin: 1em auto;
	max-width: 100%;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	overscroll-behavior-x: contain;
}

.builder-table__table {
	display: table;
	width: 100%;
	margin-inline: auto;
	border-collapse: collapse;
	font-size: 16px;
	table-layout: auto;
	background-color: var(--builder-table-body-bg, transparent);
	color: var(--builder-table-body-color, inherit);
}

.builder-table__table th,
.builder-table__table td {
	border: 1px solid var(--builder-table-border-color, #ddd);
	padding: 12px;
	text-align: left;
	white-space: nowrap;
}

.builder-table__table th {
	background-color: var(--builder-table-header-bg, #f5f5f5);
	color: var(--builder-table-header-color, inherit);
	font-weight: bold;
}

.builder-table__table tbody tr {
	background-color: var(--builder-table-body-bg, transparent);
}

.builder-table__table tr:nth-child(even) {
	background-color: var(--builder-table-row-alt-bg, #fafafa);
}

.builder-table__toggle {
	display: none;
}

.site-theme .text_container .builder-table,
.megapari .text_container .builder-table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
	overflow-x: auto;
}

.site-theme .text_container .builder-table .builder-table__table,
.megapari .text_container .builder-table .builder-table__table {
	width: 100% !important;
	max-width: 100%;
	table-layout: auto;
}

@media (max-width: 1024px) {
	.site-theme .text_container .builder-table,
	.megapari .text_container .builder-table {
		width: fit-content;
	}

	.site-theme .text_container .builder-table .builder-table__table,
	.megapari .text_container .builder-table .builder-table__table {
		width: auto !important;
		max-width: none !important;
		min-width: 560px !important;
	}
}

@media (max-width: 768px) {
	.builder-table__table th,
	.builder-table__table td {
		padding: 10px 12px;
		font-size: 14px;
	}
}
