body{
	background-color: #efefef;
}
#ses{
	background-color: #fff;
	margin-bottom: 6em;
	
	white-space: nowrap !important;
}
#ses thead {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 12;
}

#ses thead tr th.selected{
	background-color:#FBAA51;
	font-weight:bolder;
}
#ses thead tr th.selected2{
	background-color:#3f19fc;
	font-weight:bolder;
	color:#FFF;
}

thead th{
	cursor: pointer;
	font-size: 90%;
	background-color: #FBFD99 !important;
}
thead th:hover{
	background-color: #FBAA51;
}

tbody td{
	font-size: 95%;
}

tbody td.mstr{
	font-size: smaller;
	padding-right: 2px;
	padding-left: 2px;
}

tbody td.racedate0{
	background-color: #ebf9fd;
}

#ses tbody tr.selected{
	background-color:#FBAA51;
}

#ses_footer {
  	height: 4em;
	width: 100%;
	position: fixed;
	bottom: 0;
	z-index: 15;
	padding: 1em;
	background-color: #efefef;
  }

  td.waku1 ,.waku1, div.waku1{ background-color: #f7f7f7; }
  td.waku2 ,.waku2, div.waku2{ background-color:#666666; color:#FFFFFF;}
  td.waku3 ,.waku3, div.waku3{ background-color:#F04D5C; color:#FFFFFF;}
  td.waku4 ,.waku4, div.waku4{ background-color:#0066CC; color:#FFFFFF;}
  td.waku5 ,.waku5, div.waku5{ background-color:#F1D50A; color:#666666;}
  td.waku6 ,.waku6, div.waku6{ background-color:#2D882D; color:#FFFFFF;}
  td.waku7 ,.waku7, div.waku7{ background-color:#FA961B; color:#FFFFFF;}
  td.waku8 ,.waku8, div.waku8{ background-color:#FA70CA; color:#FFFFFF;}

.tyaku0, td.tyaku0{ background-color:#333333; color:#FFFFFF;}
.tyaku1, td.tyaku1{ background-color:#F95C3C; color:#FFFFFF;}
.tyaku2, td.tyaku2{ background-color:#EDC847; color:#2A2A2A;}
.tyaku3, td.tyaku3{ background-color:#6072EC; color:#FFFFFF;}

td.baba1, .baba1{ color: #777; }
td.baba2, .baba2{ color: #6869dd; }
td.baba3, .baba3{ color: #1f208d; }
td.baba4, .baba4{ background-color: #777 !important; color: #fff; }


td.ninki1, .ninki1{ background-color: #fdbcaf;}
td.ninki2, .ninki2{ background-color: #afdff3;}
td.ninki3, .ninki3{ background-color: #d5e2bf;}

.corner1{color:#FF0000;}
.corner2{color:#0000FF;}
.corner3{color:#0000FF;}
.corner4{color:#006600;}
.corner5{color:#006600;}

td.orangecell { background-color: #fee3c5;}
td.orangecell0 { background-color: #fee3c5;}
td.orangecell1 { background-color: #ffa033;}

#funcbuttons td { background-color: #FFF !important; cursor: pointer;}
#tblbody_funcbuttons td.selected{
	background-color: #fee3c5;
}

#ctn_filterhistory {
	position: fixed;
	bottom: 0;
	top: 0;
	left: -10px;
	width: 105%;
	z-index: 99;
	overflow-y: auto;
	background-color:rgba(255,255,255,0.9);
}
#ctn_filterhistory td {background-color: #FFF;}