/* tabellen */
table.margin_top {
	margin-top: 86px;	
}

td.park_row {
	max-width: 230px;
}

td.coaster_row {
	max-width: 260px;
}

#popup table.highlight,
#popup table.margin_top {
	margin-top: 0;	
}

td.space_line {
	width: 20px;
}

table {
	margin: auto;
	border-collapse: collapse;	
}

section.two_columns table:not(.no_expand),
section.three_columns table:not(.no_expand) {
	margin: 0;
	width: 100%;
}

table td {
	padding: 11px 12px;
	text-align: left;
}

table.layout td {
	padding: 0;
}

tr.gap_top td,
tr.gap_top th {
	padding-top: 55px;
}

table.calendar th {
	text-align: center;
	padding-top: 10px !important;
}

table.calendar td {
	padding: 0;
	font-size: 0;
}

table.break_all td pre,
table.break_all td {
	word-break: break-all;
}

table.calendar td > div {
	text-align: center;
	width: 45px;
	height: 32px;
	vertical-align: middle;
	display: table-cell;
}

th { 
	padding: 0 12px 3px 12px;
	text-align: left;
	vertical-align: bottom;
	text-align: center;
}

th[data-sort] {
	padding-right: 16px !important;
}

#popup section > div table {
	/*width: 100%;*/
}

td.credit {
	padding-top: 8px;
	padding-bottom: 8px;
}

table.responsive td.icon {
	padding-right: 0;
}

td.credit span {
	margin-left: 5px;
}

td.no_padding {
	padding: 0;
}

#popup .max_width_input td {
	width: 276px;
	word-wrap: break-word;
	word-break: break-all;
}

@media only screen and (max-width: 767.9px) {
	th:not(:first-child),	
	td:not(:first-child) {
		padding-left: 6px;
	}
	
	/*th:not(:last-child):not(.essential:last-of-type),
	td:not(:last-child):not(.essential:last-of-type) {
		padding-right: 6px;
	}*/
}

tr.empty td {
	height: 22px;
}

table tr:not(:first-child) th {
	padding-top: 23px;
}

table.calendar tr:not(:first-child) th {
	padding-top: 20px;
}

@media only screen and (max-width: 767.9px) {
	table:not(.responsive) {
		max-width: 100%;
	}

	body.table_fixed table.responsive td,
	body.table_flow table.responsive td {
		display: inline-block;
	}
	
	body.table_cell table.responsive td {
		display: block;
	}
	
	section.table table.scroll td,
	section.table table.scroll th,
	body.table_scroll section.table table.responsive td,
	body.table_scroll section.table table.responsive th {
		white-space: nowrap;
	}
	
	body.table_essential table.responsive th span,
	body.table_essential table.responsive th:not(.essential),
	body.table_essential table.responsive tr:not(.section) td:not(.essential) {
		display: none !important;
	}
	
	body.table_essential table.responsive td.essential span.essential {
		display: table-cell !important;
	}
	
	body.table_fixed table.responsive tr,
	body.table_flow table.responsive tr {
		display: block;
		text-align: left;
		padding: 15px 0;
	}
	
	body.table_cell table.responsive tr:first-child,
	body.table_fixed table.responsive tr:first-child,
	body.table_flow table.responsive tr:first-child {
		display: none;
	}
	
	table.responsive {
		min-width: 100%;
	}
}

@media only screen and (max-width: 374.9px) { /* iphone 5(SE */
	body.table_essential table.responsive th > span.essential_small {
		display: inline !important;
	}
}

@media only screen and (min-width: 375px) and (max-width: 767.9px) { /* iphone 6/7/8 */
	body.table_essential table.responsive th.essential_medium,
	body.table_essential table.responsive tr:not(.section) td.essential_medium {
		display: table-cell !important;
	}
	
	body.table_essential table.responsive th span.essential_medium {
		display: inline;
	}
}

@media only screen and (min-width: 412px) and (max-width: 767.9px) { /* iphone 6/7/8 PLUS */
	body.table_essential table.responsive th.essential_wide,
	body.table_essential table.responsive tr:not(.section) td.essential_wide {
		display: table-cell !important;
	}
}

@media only screen and (min-width: 480px) and (max-width: 767.9px) { /* iphone  */
	body.table_essential table.responsive th.essential_extrawide,
	body.table_essential table.responsive tr:not(.section) td.essential_extrawide {
		display: table-cell !important;
	}
}

@media only screen and (max-width: 1023.9px) {
	section.table > div:not(.no_scroll),
	section.table > div.no_scroll > div,
	body.table_scroll section.table > div:not(.no_scroll),
	body.table_scroll section.table > div.no_scroll > div {
		overflow: scroll;
	}
}

@media only screen and (min-width: 1024px) {
	section.table > div:not(.no_scroll) {
		overflow-x: auto;
	}
}

table.last_column_right td:last-child {
	text-align: right;
}

@media only screen and (max-width: 399.9px) {
	table.among {
		margin: 0;
		width: 100%;
	}
	
	table.tr {
		margin: 0;
	}
	
	table.among td {
		display: block;
		padding-left: 0;
		padding-right: 0;
	}
	
	table.among td:not(:last-child) {
		padding-bottom: 0;
	}
	
	table.among td:not(:first-child) {
		padding-top: 0;
	}
}

@media only screen and (min-width: 400px) and (max-width: 474.9px) {
	table.among td {
		padding-left: 0;
		padding-right: 0;
	}	
}

/* sorting */

th[data-sort] {
	-webkit-user-select: none;  /* Chrome all / Safari all */
  	-moz-user-select: none;     /* Firefox all */
  	-ms-user-select: none;      /* IE 10+ */
  	user-select: none;
}

th[data-sort] {
	background-size: 25px 25px;
	background-position: calc(100% + 7px) 70%;
}

tr.gap_top th[data-sort] {
	background-position: calc(100% + 7px) 104%;
}

th[data-sort].sorting-asc {
	background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiICB2aWV3Qm94PSIwIDAgMTAwMCA1MDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8ZyB0cmFuc2Zvcm09InNjYWxlKDEgMC41KSI+Cgo8cGF0aCBmaWxsPSIjMzMzMzMzIiBkPSJNNzE0LjMsNDMyLjFjLTIyLjEsMC00MTAuOCwwLTQyNi4xLDBjLTE5LjgsMC0zNC41LTIwLjUtMjMtNDAuN2M5LjMtMTYuMiwxOTYuNi0zNDAuMywyMTIuNi0zNjcuOWMxMC41LTE4LjIsMzUuNi0xNy45LDQ2LjIsMGMxMS44LDE5LjksMjAwLDM0NS4yLDIxMy4xLDM2OC44Qzc0Ni44LDQwOS41LDczNi4yLDQzMi4xLDcxNC4zLDQzMi4xeiIvPgo8L2c+Cjwvc3ZnPg==");
}

th[data-sort].sorting-desc {
	background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveG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2OC44Qzc0Ni44LDQwOS41LDczNi4yLDQzMi4xLDcxNC4zLDQzMi4xeiIvPgo8L2c+Cjwvc3ZnPg==");
}

td a.width_table_link {
	width: 96px;
}