/*Styles for paddle pages*/
tbody .paddle_page {
	width: 100%;
}
.paddle_page tr {
	border: none;
}
td.top_left {
	/*min-width: 150px;*/
	border: none;
	padding-right: 20px;
	vertical-align: top;
}
td.top_right {
	border: none;
	text-align: justify;
	vertical-align:text-top;
}
td.bottom {
	border: none;
}

/* Styles for the paddle parameter tables*/
table.paddle_table {
	width: 100%;
}
tbody.paddle_table{
	width: 100%;
	padding: 0;
	margin: 0;
	border: 1px none;
	border-color: #005F7F;
	padding: 1px;
}
.paddle_table td { 
	border: 1px none;
	padding-left: 3px;
	padding-right: 3px;
	text-align: center;
}
.paddle_table tbody  th {
	/*background:#A3B9C1;*/
	font-family: Arial, Helvetica, sans-serif;;
	font-size: 12px;
	font-weight: 400;
	line-height: 100%;
	text-align: center;
	border: #005F7F 1px none;
	border-spacing: 0;
	/* padding-left: 3px; */
	/* padding-right: 3px; */
	padding: 9px 10px;
	height: 42px !important;
}

table.paddle_table tr td:first-child{
	white-space: nowrap;
	border-style: solid;
	border-color: #005F7F;
}

table.paddle_table tr:nth-child(n+3){
	font-family: Arial, Helvetica, sans-serif;;
	font-size: 12px;
	font-weight: 400;
	line-height: 100%;
	text-align: center;
	border: #005F7F 1px;
	border-style: solid;
	height: 60px;
}

table.paddle_table tr:nth-child(2n+3){
	/*background:#CDDBE0;*/
	background:#E4E7F3;
	
}

td.dark_bg{
	background:#E4E7F3;
}

td.light_bg{
	background:#FFFFFF;
}

.new{
	font-weight: 800;
	color: red;
	margin-right: 5px;
}

img.new_icon{
	margin-left: -35px;
	position: absolute;
	display: block;
}

.top_left span {
    position: relative;
    top: 20px;
}

.top_left img {
    display: none;
}

table.paddle_table .top_left {
	border-style: none !important;
    font-weight: 700;
    vertical-align: middle;
}
table.paddle_table .top_row {
	border-style: solid solid none solid;
	padding-top: 9px;
	padding-bottom: 9px;
	border-color: #005F7F;
}
table.paddle_table .full_border {
	border-style: solid;
	border-color: #005F7F;
}
table.paddle_table .right_border {
	border-right-style: solid !important;
	border-color: #005F7F;
}
table.paddle_table .bottom_left_row {
	border-style: none none solid solid;
	padding-top: 0;
	border-color: #005F7F;
}
table.paddle_table .bottom_right_row {
	border-style: none solid solid none;
	padding-top: 0;
	border-color: #005F7F;
}
table.paddle_table .bottom_middle_row {
	border-style: none none solid none;
	padding-top: 0;
	border-color: #005F7F;
}

/* Paddle tables with fixed (pinned) columns on narrow screens
   Use INSTEAD of "responsive" (do not combine them - responsive_tables.js would
   still split the table). Pure CSS (position: sticky), so rowspans are fine.

   Markup:
     <table class="paddle_table pin_cols_1">   first column fixed  (e.g. handles-grips)
     <table class="paddle_table pin_cols_2">   first two columns fixed (e.g. blade pages)

   How the fixed cells are found (no extra classes needed on the cells):
     column 1 = td.top_left (the two header rows) and every td with a rowspan
                that starts a row (Sculls / Sweeps)
     column 2 = the cell right after those, and the first cell of the rows
                inside a rowspan group (Max, ...)
   So every group in column 1 must have a rowspan - a group of only one row
   needs rowspan="1" on its first cell.

   Below 1200px the table scrolls sideways inside itself; the scroll.png hint in
   td.top_left is shown by responsive_tables.css. Column 1 of pin_cols_2 has a
   fixed width (70px) so column 2 knows where to stick. */
@media only screen and (max-width: 1200px) {
	table.paddle_table.pin_cols_1,
	table.paddle_table.pin_cols_2 {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		margin-bottom: 20px;
	}

	/* Borders: with collapsed borders the lines of the fixed cells stay behind
	   and scrolled text shows through, so switch to separate borders and
	   rebuild the lines that paddle_table.css draws on the rows (tr borders do
	   not show in this mode), without doubling the ones two cells share. */
	table.paddle_table.pin_cols_1,
	table.paddle_table.pin_cols_2 {
		border-collapse: separate;
		border-spacing: 0;
	}

	/* line under every data cell, and down the right edge of the table */
	table.paddle_table.pin_cols_1 tr:nth-child(n+3) > td,
	table.paddle_table.pin_cols_2 tr:nth-child(n+3) > td {
		border-bottom: 1px solid #005F7F;
	}

	table.paddle_table.pin_cols_1 tr:nth-child(n+3) > td:last-child,
	table.paddle_table.pin_cols_2 tr:nth-child(n+3) > td:last-child {
		border-right: 1px solid #005F7F;
	}

	/* no top line from the second data row on: the row above draws it */
	table.paddle_table.pin_cols_1 tr:nth-child(n+4) > td,
	table.paddle_table.pin_cols_2 tr:nth-child(n+4) > td {
		border-top-style: none;
	}

	/* no left line on the cells right of column 1: column 1 draws it */
	table.paddle_table.pin_cols_1 tr > td[rowspan]:first-child + td,
	table.paddle_table.pin_cols_1 tr > td:first-child:not([rowspan]):not(.top_left),
	table.paddle_table.pin_cols_2 tr > td[rowspan]:first-child + td,
	table.paddle_table.pin_cols_2 tr > td:first-child:not([rowspan]):not(.top_left) {
		border-left-style: none;
	}

	/* The header cells draw their dividers on the left, the data cells
	   (.right_border) on the right, which puts them 1px apart here. So data
	   dividers move to the left of the next cell... */
	table.paddle_table.pin_cols_1 td.right_border:not(:last-child),
	table.paddle_table.pin_cols_2 td.right_border:not(:last-child) {
		border-right-style: none !important;
	}

	table.paddle_table.pin_cols_1 td.right_border + td,
	table.paddle_table.pin_cols_2 td.right_border + td {
		border-left: 1px solid #005F7F;
	}

	/* ...and the divider after the fixed columns belongs to the fixed header
	   cell (so it stays when scrolling), not to the first scrolling header */
	table.paddle_table.pin_cols_1 tr > td.top_left:first-child,
	table.paddle_table.pin_cols_2 tr > td.top_left:first-child + td {
		border-right: 1px solid #005F7F !important;
	}

	table.paddle_table.pin_cols_1 tr > td.top_left:first-child + th,
	table.paddle_table.pin_cols_2 tr > td.top_left:first-child + td + th {
		border-left-style: none;
	}

	/* top header groups (Dimensions | Volume | ...): each draws only its left
	   line, the last one also its right line */
	table.paddle_table.pin_cols_1 th.top_row,
	table.paddle_table.pin_cols_2 th.top_row {
		border-right-style: none;
	}

	table.paddle_table.pin_cols_1 th.top_row:last-child,
	table.paddle_table.pin_cols_2 th.top_row:last-child {
		border-right-style: solid;
	}

	table.paddle_table.pin_cols_1 > tbody,
	table.paddle_table.pin_cols_2 > tbody {
		display: table;
		width: 100%;
	}

	table.paddle_table.pin_cols_1 td,
	table.paddle_table.pin_cols_1 th,
	table.paddle_table.pin_cols_2 td,
	table.paddle_table.pin_cols_2 th {
		white-space: nowrap;
	}

	/* Fixed cells need a solid background, or the scrolled cells show through:
	   rows get white unless striped, the fixed cells take the row colour, and
	   :where() keeps this weaker than td.light_bg / td.dark_bg */
	table.paddle_table.pin_cols_1 tr:not(:nth-child(2n+3)),
	table.paddle_table.pin_cols_2 tr:not(:nth-child(2n+3)) {
		background: #FFFFFF;
	}

	/* column 1 */
	:where(table.paddle_table.pin_cols_1, table.paddle_table.pin_cols_2) :where(tr > td.top_left, tr > td[rowspan]:first-child) {
		position: -webkit-sticky;
		position: sticky;
		left: 0;
		z-index: 2;
		background-color: inherit;
	}

	table.paddle_table.pin_cols_2 tr > td.top_left,
	table.paddle_table.pin_cols_2 tr > td[rowspan]:first-child {
		box-sizing: border-box;
		width: 70px;
		min-width: 70px;
		max-width: 70px;
		padding-left: 3px;
		padding-right: 3px;
	}

	/* column 2 */
	:where(table.paddle_table.pin_cols_2) :where(tr > td.top_left + td, tr > td[rowspan]:first-child + td, tr > td:first-child:not([rowspan]):not(.top_left)) {
		position: -webkit-sticky;
		position: sticky;
		left: 70px;
		z-index: 2;
		background-color: inherit;
	}
}

/* Fully gridded paddle table (every cell .full_border), with pin_cols_1/2
   Markup: <table class="paddle_table pin_cols_2 full_grid">  (e.g. spanish-oars)
   With the separate borders pin_cols needs, two .full_border neighbours each
   draw their shared line, so it shows 2px thick. Here each cell draws only its
   right and bottom line; header cells add the top edge, column 1 the left edge,
   and the fixed header cells the line above the first data row. */
@media only screen and (max-width: 1200px) {
	table.paddle_table.full_grid .full_border {
		border-style: none solid solid none;
	}

	table.paddle_table.full_grid th.full_border {
		border-top-style: solid;
	}

	table.paddle_table.full_grid tr > td[rowspan]:first-child {
		border-left-style: solid;
	}

	table.paddle_table.pin_cols_1.full_grid tr > td.top_left:first-child,
	table.paddle_table.pin_cols_2.full_grid tr > td.top_left:first-child,
	table.paddle_table.pin_cols_2.full_grid tr > td.top_left:first-child + td {
		border-bottom: 1px solid #005F7F !important;
	}
}

/* Paddle table with ONE header row (e.g. spanish-oars)
   Markup: add "one_header_row" to the table's classes
   The data-row font above starts at row 3 (two header rows), so the first
   data row would keep the page's body font; start it at row 2 instead. */
table.paddle_table.one_header_row tr:nth-child(n+2) {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 100%;
	text-align: center;
	height: 60px;
}
