body {
	background-color: #121212;
}
div.container {
	background-color: #121212;
}
table.tablesorter thead tr .header {
	background-image: url(bg.gif);
	background-repeat: no-repeat;
  	background-position: center right;
	cursor: pointer;
}
table {
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	width: 100%;
}
.container table tr th h1 {
	font-weight: bold;
	color: #C0C0C0;
}
table.resize{
	width:auto;
}
table.tablesorter-default {
	font-family: verdana,arial,sans-serif;
	font-size: 11px;
	color: #BCBCBC;
	/* border-width: 1px;
	border-color: #000000; */
}
table.tablesorter-default th, table.tablesorter-default th span {
	border-width: 2px;
	padding: 4px;
	outline: none;
	color:#333 !important;
	/* border-style: solid;
	border-color: rgb(123, 123, 123); */
}
table.tablesorter-default td {
	/* border-width: 2px;
	border-style: solid;
	border-color: rgb(123, 123, 123); */
	padding-top: 4px;
	padding-right: 3px;
	padding-bottom: 4px;
	padding-left: 3px;
	position: relative;
}
table.tablesorter-default#alternatecolor3 tr td:first-child{
	padding-left: 1%;
	text-align: left;
 }
table.tablesorter-default#alternatecolor tr td:nth-child(2), 
table.tablesorter-default#alternatecolor tr td:nth-child(3),
table.tablesorter-default#alternatecolor2 tr td:nth-child(2), 
table.tablesorter-default#alternatecolor2 tr td:nth-child(4),
table.tablesorter-default#alternatecolor3 tr td:nth-child(2), 
table.tablesorter-default#alternatecolor3 tr td:nth-child(4) {
	text-align: right;
	padding-right: 7px;
 }
table.tablesorter-default tr{
	transform: skew(-10deg);
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(../img/images/black-asc.gif);
	box-align: center;
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(../img/images/black-desc.gif);
	box-align: center;
}
th.headerSortDown, 
th.headerSortUp,
th.tablesorter-headerAsc,
th.tablesorter-headerDesc {
	color: orange;
	box-align: center;
	outline: none;
}
.tablesorter-results tbody > tr.hover > td,
.tablesorter-results tbody > tr:hover > td {
  background-color: #d9d9d9;
}
.tablesorter-results tbody > tr:hover + tr.odd.tablesorter-childRow > td,
.tablesorter-results tbody > tr:hover + tr.odd.tablesorter-childRow + tr.tablesorter-childRow > td {
  background-color: #ebf2fa;
}
.tablesorter-results tbody > tr:hover + tr.even.tablesorter-childRow > td,
.tablesorter-results tbody > tr:hover + tr.even.tablesorter-childRow + tr.tablesorter-childRow > td {
  background-color: #fff;
}
tr.clicked {
	background-color: #c5c891;
}
tr.clicked:hover{
	background-color: #b3b770;
}
table#alternatecolor2.tablesorter thead tr .tablesorter-header > div {
	padding-left: 10px;
	margin-bottom: -7px;
	text-align: left;
	background-position: center left;
}
table.tablesorter thead tr .tablesorter-header > div {
    background-repeat: no-repeat;
    cursor: pointer;
}
.tablesorter thead tr:last-of-type :not(.sorttable_nosort).tablesorter-headerUnSorted > div {
    background-image: url('../img/images/black-unsorted.gif');  
}
.tablesorter thead tr:last-of-type .tablesorter-headerAsc > div {
    background-image: url('../img/images/black-asc.gif'); 
}
.tablesorter thead tr:last-of-type .tablesorter-headerDesc > div {
    background-image: url('../img/images/black-desc.gif'); 
}
a.ranking {
	text-decoration: none;
	color: #333;
	font-style: normal;
}
a:visited.ranking {
	text-decoration: none;
	color:#333;
	font-style: normal;
}
a:hover.ranking {
	text-decoration: none;
	color:rgb(141, 141, 141);
	font-style: normal;
}
.group-hidden {
	display: none !important;
}
.group-header, .group-header td {
	user-select: none;
	-moz-user-select: none;
}
.clickable-row {
	cursor: pointer;
}
/* collapsed arrow */
tr.group-header td i {
	display: inline-block;
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid #888;
	border-right: 4px solid #888;
	border-left: 4px solid transparent;
	margin-right: 7px;
	user-select: none;
	-moz-user-select: none;
}
tr.group-header.collapsed td i {
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 5px solid #888;
	border-right: 0;
	margin-right: 10px;
}
.odd{
	background-color: #333;/*#2D002A*/
	box-align: center;
}
.even{
	background-color: #555; /*#31102F;*/
	box-align: center;
}
.odd:hover{
	background-color:#919090;
}
.even:hover{
	background-color:#919090;
}
.strikethrough {
    position: relative;
}

.strikethrough::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 30%; /* extend line to the left */
    width: 40%; /* extend line to the right */
    border-top: 2px solid black; /* adjust color and thickness as needed */
}

#alternatecolor2 {
	width:98%;
	float: left;
}
#alternatecolor2 th {
	/* Something you can count on */
	height: 175px;
	white-space: nowrap;
	padding-bottom: 0;
}
#alternatecolor2 thead tr th{
	background-color:#121212 !important;
}
#alternatecolor2 th > div {
	transform: 
		/* Magic Numbers */
		translate(6px, 58px)
		/* 45 is really 360 - 45 */
		rotate(270deg);
	width: 30px;
}
#alternatecolor2 th > div > span {
	border-bottom: 1px solid #ccc;
	padding: 5px 10px;
}
.ROO{
	background-color: #b19c77 !important; 
	color: #333 !important;
}
.AMA, .AM{
	background-color: #e25c52 !important;
	color: #333 !important;
}
.SEM{
	background-color: #b9b9b9 !important;
	color: #333 !important;
}
.SIL{
	background-color: #8d8d8d !important;
	color: #333 !important;
}
.PRO{
	background-color: #ffffff !important;
	color: #333 !important;
}
.OVR{
	border: solid #ffffff !important;
	border-width: 1px !important;
	color: #ffffff !important;
}
.rank:after, .subnavbtn:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    right: 0;
    border-style: solid;
    border-width: 15px 15px 0 0;
	border-color: transparent transparent transparent transparent;
}
.gt4:after{
	border-color: transparent blue transparent transparent;
}
.gt2:after{
	border-color: transparent rgb(143, 6, 6) transparent transparent;
}
.cup:after{
	border-color: transparent rgb(8, 111, 8) transparent transparent;
}
.m2:after{
	border-color: transparent rgb(195, 169, 0) transparent transparent;
}
p{
	margin: 0px !important;
}
#class_selection{
	text-align: center;
}
div#header {
	color: #D0D0D0;
	font-family: verdana;
	font-size: 12px;
	margin-right: auto;
	margin-left: auto;
	height: 100px;
	width: 768px;
	margin-top: 0px;
	text-align: left;
}
div#header img {
	margin-left: -40px;
}
div#right {
	display:none;
}
section{
	padding: 12px;
}
.namehiscore{
	font-size: 1.8rem;
	text-transform: uppercase;
	font-family: 'David Libre', serif;
}
a:visited{
	color:lightblue;
}
/**site legend**/
input[class=trackhigh]{
	padding:9px 45px !important;
	width: inherit !important;
}
input[type=submit], input[type=button] {
	width: 200px;
	padding:5px 15px;
	background:orange;
	border:0 none;
	cursor:pointer;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
}
/* button {
  padding:5px 15px;
  background: orange;
  border:0 none;
  cursor:pointer;
  -webkit-border-radius: 5px;
  border-radius: 5px;
} */
.banner {
	float: right;
	max-width: 220px;
	width: auto !important;
  }
.clearfix {
	overflow: auto;
}
.center{
	text-align: center !important;
}
.navbar {
	overflow: hidden;
	background-color: #333;
	padding: 4px 10px;
}
.navbar a {
	float: left;
	font-size: 16px;
	color: white;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	transform: skew(-10deg);
	margin-top: 4px;
}
  
.navbar .icon {
	display: none;
}

.subnav {
	float: left;
	overflow: hidden;
	padding: 4px;
}

.subnav .subnavbtn, #class_selection .subnavbtn {
	font-size: 16px;  
	border: none;
	outline: none;
	color: white;
	padding: 14px 16px;
	background-color: inherit;
	font-family: inherit;
	margin: 0px 2px 0px 2px;
	transform: skew(-10deg);
}
  
.navbar a:hover, .subnav:hover .subnavbtn {
	background-color: rgb(141, 141, 141);
}

.navbar a.active, .navbar div.active, .subnav .subnavbtn.active {
	background-color: #c59613;
}

.subnav-content {
	display: none;
	position: absolute;
	left: 0;
	background-color: rgb(141, 141, 141);
	width: 100%;
	z-index: 1;
}
  
.subnav-content a {
	float: left;
	color: white;
	text-decoration: none;
	margin-top: 0;
}
  
.subnav-content a:hover {
	background-color: #eee;
	color: black;
}
  
.subnav:hover .subnav-content {
	display: block;
  }

.inputoption{
	 width: 50%;
}
#rankbar{
	text-align: center;
}
#selDates, #selRacenumber{
	margin: 0;
    /* position: relative; */
    vertical-align: middle;
    /* display: block; */
    padding-left: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    height: 28px;
    user-select: none;
    -webkit-user-select: none;
}

#modwrap{
	margin-bottom: 10px;
	display: grid;
	grid-template-columns: 1fr 2fr;
}
.standings{
	display: none;
	margin-top: -100px;
	padding-top: 100px;
}

.showpoints{
	/* display: block; */
	margin: 20px 10px 10px;
}

.showdrop{
	display: block;
	color: #ccc;
	margin: 20px 10px 10px;
}

.showpos{
	/* display: block; */
	margin: 20px 10px 10px;
}

td.showpoints, td.showpos {
	color: #333 !important;
}

.tickedBtn, #class_selection > button:nth-child(1).OVR.tickedBtn {
	color: #e37d03 !important;
}

.AM.tickedBtn {
	color: #fcd604 !important;
}

.playerlaps{
	transform: none !important;
}

.invalid{
	color: red;
}
.s1g,.s2g,.s3g,.lapg{
	color: rgb(37, 204, 37);
}

.lastg{
	color: #e621cb;
}

.tablesorter-childRow{
	transform: none !important;
}

.child-td{
	z-index: 6 !important;
	width: 80%;
	position: relative;
	background-color: #d2d2d2;
}

.acptable td {
	width: 33%;
}

.acptable form {
	margin-block-end: 0;
}

/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
	opacity: 0;
	width: 0;
	height: 0;
  }
  
  /* The slider */
  .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
  }
  
  .slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
  }
  
  input:checked + .slider {
	background-color: orange;
  }
  
  input:focus + .slider {
	box-shadow: 0 0 1px orange;
  }
  
  input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
	border-radius: 34px;
  }
  
  .slider.round:before {
	border-radius: 50%;
  }
  
@media screen and (max-width: 600px) {
	.navbar a#home{display: none;}
	/* .navbar button:not(:first-child) {display: none;} */
	.navbar a.icon {
		float: right;
		display: block;
	}
}
  
@media screen and (max-width: 600px) {
	.navbar.responsive {position: relative;}
	.navbar.responsive .icon {
		position: absolute;
		right: 0;
		top: 0;
	}
	.navbar.responsive .subnav {
		float: none;
		display: block;
		text-align: left;
	}
	.navbar.responsive .subnav:hover .subnav-content{
		width: 180px;
		margin-left: 100px;
		top: 0px;
	}
	.navbar.responsive .subnav:hover .subnav-content a{
		margin-left:12px;
	}
	/* .navbar.responsive .subnav-content {
		width: 200px;
	} */
	/* .navbar.responsive .subnav:hover .subnavbtn {
		display: contents;
	} */
}