
/* Race/Archive listings */

.racepage {
	--container-max-width: 1140px;
}

/*
.racepage .page-content {
	max-width: var(--container-max-width);
	margin: 0 auto;
}
*/

/*
.racepage table {
	width: auto;
}
*/


.stats-table-wrapper {
	overflow-x: auto;
}

.stats-table {
	width: 100%;
	min-width: 700px;
	border-collapse: collapse;
}

.racepage-standings .stats-table {
	/* No select - disabled post-race.
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	 */
}
/*
.stats-table th, .stats-table td { padding: 5px; }
.stats-table tbody tr:nth-child(odd) { background-color: #EAF8FE; }
.stats-table tbody tr:nth-child(even) { background-color: #d1f0fd; }
*/

.stats-table tr.statusupdated, .statusupdated { background-color: #FFE180 !important; }

.show-insight {
	position: relative;
	cursor: pointer;

}

.insights { border-collapse: collapse; }
.insights td { border: none !important; padding: 10px; }
.insights th { border: none !important; text-align: left !important; font-size: 12px !important; }

#insight-bubble {
	position: absolute;
	border: 1px solid #55db55;
	background-color: #e0ffe0;
	padding: 5px;
	right: 30px;
	z-index: 10;
	min-width: 405px;
}

#insight-bubble-close {
	float: right;
	background: url(images/icon-close.png) no-repeat;
	height: 16px;
	width: 16px;
}

.stats-table th,
.stats-table td {
	border: none;
}

table.stats-table thead:first-child tr:first-child th {
	border: none;
	text-align: left;
}

/* Current Standings specific */
.current-standings.stats-table th {
	vertical-align: bottom;
	text-align: center;
	border: solid 1px #fff;
}
.current-standings.stats-table td {
	font-size: 11px;
	border: solid 1px #fff;
	text-align: center;
}

div.success, p.success {
	padding: 5px;
	border: 1px solid #55db55;
	background-color: #e0ffe0;
	color: #333;
}

div.error, p.error {
	padding: 5px;
	margin-bottom: 5px;
	border: 1px solid #e6db55;
	background-color: #ffffe0;
	color: #333;
}

/* Career archive table */
.career.stats-table th,
.stats-table.career td {
	text-align: center;
}

.career.stats-table td.label-prize,
.career.stats-table td.label-champion,
.career.stats-table td.label-top10 {
	text-align: right;
	font-weight: bold;
}

td.place-first, tr.place-first td {
	background-color: #DE8900 !important;
	/*color: white;*/
}
td.place-first a, tr.place-first td a {
	/*color: #eee;*/
}

td.place-top10, tr.place-top10 td {
	background-color: #EDA532 !important;
}

/* Registration forms, etc. */
/*
fieldset {
	margin: 10px 0;
	padding: 10px 15px;
	border: solid #006088 2px;
}

legend {
	font-weight: bold;
}
*/



/* Standings table sort */
.tablesorter-default .header,
.tablesorter-default .tablesorter-header {
	cursor: pointer;
	white-space: normal;
}

.tablesorter-default thead .headerSortUp .tablesorter-header-inner,
.tablesorter-default thead .tablesorter-headerSortUp .tablesorter-header-inner,
.tablesorter-default thead .tablesorter-headerAsc .tablesorter-header-inner {
	background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
	background-position: center right;
	background-repeat: no-repeat;
	padding-right: 20px;
}

.tablesorter-default thead .headerSortDown .tablesorter-header-inner,
.tablesorter-default thead .tablesorter-headerSortDown .tablesorter-header-inner,
.tablesorter-default thead .tablesorter-headerDesc .tablesorter-header-inner {
	background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
	background-position: center right;
	background-repeat: no-repeat;
	padding-right: 20px;
}



ul.itc-tabs {
	list-style-type: none;
	padding: 0;
	margin: 1em 0;
}

/* Top level menu items, not sub-menus */
ul.itc-tabs li {
	display: inline-block;
	font-weight: bold;
	font-size: 13px;
	height: 28px;
	margin-right: 5px;
	margin-bottom: 5px;
	line-height: 28px;
	color: #ffffff;
	background-color: #888;
}

ul.itc-tabs li.label {
	background-color: inherit;
	color: inherit;
}

ul.itc-tabs li a {
	color: inherit;
	padding: 0 16px;
	display: block;
	text-decoration: none;
}

ul.itc-tabs li.current a,
ul.itc-tabs li a:hover {
	background-color: #006C7F;
}

/* CHECKPOINTS */

.checkpoint-nav {
	font-size: 1.5em;
	font-weight: bold;
	margin: 1em 0;
}
.checkpoint-nav-prev { float: left; }
.checkpoint-nav-next { float: right; }

.racepage-checkpoint .location-photo {
	max-width: 300px;
	height: auto;
	float: right;
}
.racepage-checkpoint .checkpoint-map-link {
	
}

.racepage .musher-photos {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 15px;
}

.racepage .musher {
	flex: 0 0 90px;

	font-size: 14px;
	text-align: center;
	box-sizing: border-box;
}

.racepage .musher img { width: 90px; }



/* /race */
ul.video-category-tabs {
	list-style-type: none;
	padding: 0 28px;
	margin: 0;

	background-color: #FAFBFC;

	text-transform: uppercase;
	font-size: 18px;
	font-weight: bold;
	line-height: 2;

}

@media screen and (max-width: 910px) {
	ul.video-category-tabs {
		font-size: 14px;
	}
}

ul.video-category-tabs li {
	display: inline-block;
}

ul.video-category-tabs li:after {
	content: '|';
	padding: 0 15px;
}

ul.video-category-tabs li:last-child:after {
	content: '';
	padding-left: 0;
}

ul.video-category-tabs li a {
	color: black;
}

ul.video-category-tabs li.current a {
	color: #0A668D;
}

/* Video Library */

.video-library {
	background-color: #FAFBFC;
}

.main-video-player {
	background-color: #94B2CE;
}

.main-video-player.no-videos {
	text-align: center;
	padding: 50px 0;
	font-weight: bold;
	font-size: 2em;
	color: white;
}

/*
.itcv-video-thumbs .video {
	overflow: hidden;
	margin-bottom: 15px;
	margin-top: 15px;
}
*/

.itcv-video-thumbs .vidtitle {
	color: black;
	font-size: 1.1em;
	font-weight: bold;
	display: block;
}

.itcv-video-thumbs .vidtitle a {
	color: black;
}

.itcv-video-thumbs .viddesc {
	overflow: hidden;
	font-size: .9em;
}

.itcv-video-thumbs .viddate {
	color: #4F98BC;
}

.video-library .navigation {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.1em;
	overflow: hidden;
}

.video-library .navigation .nav-links {
	margin: 10px;
	text-align: center;
}

.video-library .navigation .nav-links > * {
	padding: 5px 10px;
}

.video-library .navigation .nav-links > a {
	color: #90adbb;
}

.video-library .navigation .nav-links > a:hover,
.video-library .navigation .current {
	color: #082239;
}



.video-thumbs-container {}

.video-thumbs {
	display: flex;
	flex-direction: column;
}

.video-thumbs .video {
	display: flex;
	column-gap: 1em;
	gap: 1em;
}

.video-thumbs .video-thumbnail {
	width: 100%;
	max-width: 250px;

	flex: 1 1 50%;
}

.video-thumbs .video-details {
	flex: 1 1 50%;
}

.video-thumbs-container .moreinfo {
	text-align: right;
	font-weight: bold;
	font-size: 1.1em;
}

img.vidthumb {
	width: 100%;
	height: auto;
}


.racecenter .itcv-video-thumbs {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 2em;
	margin: 1em;
}

.racecenter .itcv-video-thumbs .video {
	width: 45%;
	display: flex;
	gap: 1em;
}

.racecenter .col-sm-4 {
	width: 33%;
}

.racecenter .col-sm-8 {
	width: 66%;
}

#lognumber {
	display: inline-block;
	width: unset;
}