#TB_window {
	min-width: 817px !important;
	max-height: 542px !important;
}

#TB_ajaxContent {
	text-align: center !important;
	min-width: 780px !important;
	overflow: hidden !important;
}

#pricematrix_table {
	max-height: 500px;
	overflow-x: hidden;
	overflow-y: scroll;
}

#pricematrix_table .wrapper {
	margin: 0 auto;
	padding: 40px;
	max-width: 800px;
}

#pricematrix_table .header {
	position: sticky;
	top: 0;
}

#pricematrix_table .table {
	width: 100%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	display: table;
}

@media screen and (max-width: 580px) {
	#pricematrix_table .table {
		display: block;
	}
}

#pricematrix_table .row {
	display: table-row;
	background: #f6f6f6;
}

#pricematrix_table .row:nth-of-type(odd) {
	background: #e9e9e9;
}

#pricematrix_table .row.header {
	font-weight: 900;
	color: #ffffff;
	background: #135e96;
}

@media screen and (max-width: 580px) {
	#pricematrix_table .row {
		padding: 14px 0 7px;
		display: block;
	}

	#pricematrix_table .row.header {
		padding: 0;
		height: 6px;
	}

	#pricematrix_table .row.header .cell {
		display: none;
	}

	#pricematrix_table .row .cell {
		margin-bottom: 10px;
	}

	#pricematrix_table .row .cell:before {
		margin-bottom: 3px;
		content: attr(data-title);
		min-width: 98px;
		font-size: 10px;
		line-height: 10px;
		font-weight: bold;
		text-transform: uppercase;
		color: #969696;
		display: block;
	}
}

#pricematrix_table .cell {
	padding: 6px 12px;
	display: table-cell;
}

@media screen and (max-width: 580px) {
	#pricematrix_table .cell {
		padding: 2px 16px;
		display: block;
	}
}