@charset "UTF-8";
.sp-content {
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", 'ヒラギノ角ゴ Pro W3', Meiryo, 'メイリオ', sans-serif !important;
}
.sp-content .wrap { background: #fff; }
div.overflowTableWrap{width: 100%; height: auto; overflow-x: scroll; padding-bottom: 5px; top: 0; left: 0; position: relative;}
table.overflowTable{ position: relative;}
.stcTrackName{ position: sticky !important; left: 0px; z-index: 10; border-left: none !important; }

.sp-content h2.title {
    position: relative;
    padding: 0.3em 1%;
    font-size: 22px;
    line-height: 1.4;
    color: #333 !important;
    background: #eee;
    height: 43.9844px;
}

.sp-content h2.title:after {
    position: absolute;
    top: -5px;
    left: 0;
    content: "";
    width: 100%;
    height: 5px;
}

.setting-contents {
	padding: 0px 10px !important;
}

.sp-content small {
    font-size: small;
}

.bg-4-pl { background:#EBF6FF !important; color:#333; }
table.xsmall td, table.xsmall th, div.small, span.xsmall   { font-size:x-small; }

.label-year,
.label-month {
	top: 1px;  
}


#cmbYear, #cmbMonth {
	font-size: 20px;
	font-weight: bold;
	text-align: left;
}

.sp-content ul.btn-month {
	display: flex;
	align-items: center;
}

.sp-content ul.btn-month li.btn-month-prev,
.sp-content ul.btn-month li.btn-month-next {
	width: 17.5%;
}

.sp-content ul.btn-month li.cmb-area {
	width: 65%;
}

.sp-content ul.btn-month li a {
	font-size: 17px;
	top: 1px;
}

.sp-content ul.navG li {
    float: left;
    padding: 0 2px 0 0;
    width: 50%;
    font-size: 17px;
    font-weight: bold;
}

.select-code {
	text-align: center;
	background-color: #eee !important;
}

#cmbPlaceCd, #cmbNighterCd {
	font-size: 16px;
	margin: 10px 15px;
}

/* 開催スケジュール 
==================================================*/

/*　開催テーブル　*/
.tbSched { width:100%; margin:0; padding:0; border:1px #d7d7d7 solid; border-collapse:collapse; text-align:center; font-size:10pt; }
.tbSched th { padding:1px; color:#222; font-weight:bold; line-height:1.2; text-align:center; background: #f2f6f8;border: 1px #d7d7d7 solid; vertical-align: middle; }
.tbSched td { padding:1px 0; min-height:26px; border:1px #d7d7d7 solid; vertical-align:middle;  }
.tbSched tr.dayofweek td { vertical-align:middle !important; }

.tbSched td a, .tbSched th a,.tbSched td a:visited,.tbSched th a:visited{ color:#000; text-decoration:none;}
.tbSched th.blank:hover { background:#f2f6f8 !important;}
.tbSched th.noborder { background-color: #fff; }

table.tbSched td.today, table.tbSched th.today{ background:#FEF1C4; border-right:2px solid #666 !important;border-left:2px solid #666 !important; }
/* アイコン共通事項 */
table.tbSched td div,table.tbSched2 td div { display:block; width:22px; height:14px; color:#000; margin:1px auto; padding:0; text-align:center; letter-spacing:-0.03em; text-indent:-9999px;}
table.tbSched td div a { display:block; width:100%; height:100%;}

/* 開催　*/
div.ico-kaisai { background:url(../autorace/shared/images/ico_kaisai.gif) no-repeat; }

/* 取止め　*/
div.ico-chusi { background:url(../autorace/shared/images/ico_abort.gif) no-repeat; }
div.ico-toriyame { background:url(../autorace/shared/images/ico_toriyame.gif) no-repeat; }
/* グレード　*/
div.ico-g1 { background:url(../autorace/shared/images/ico_g1.gif) no-repeat; }
div.ico-g2 { background:url(../autorace/shared/images/ico_g2.gif) no-repeat; }
div.ico-g3 { background:url(../autorace/shared/images/ico_g3.gif) no-repeat; }

div.ico-jpn1 { background:url(../autorace/shared/images/ico_jpn1.gif) no-repeat; }
div.ico-jpn2 { background:url(../autorace/shared/images/ico_jpn2.gif) no-repeat; }
div.ico-jpn3 { background:url(../autorace/shared/images/ico_jpn3.gif) no-repeat; }

div.ico-f1 { background:url(../autorace/shared/images/ico_f1.gif) no-repeat; }
div.ico-f2 { background:url(../autorace/shared/images/ico_f2.gif) no-repeat; }

div.ico-gp  { background:url(../autorace/shared/images/ico_gp.gif) no-repeat; }
div.ico-sg  { background:url(../autorace/shared/images/ico_sg.gif) no-repeat; }
div.ico-jusho  { background:url(../autorace/shared/images/ico_jusho.gif) no-repeat; }

td div a:hover { filter: alpha(opacity=30); -moz-opacity:0.3;  opacity:0.3;}

/* グレードアンカー　*/
div.ico-kaisai a { background:url(../autorace/shared/images/ico_kaisai_a.gif) no-repeat;}
div.ico-chusi a { background:url(../autorace/shared/images/ico_abort_a.gif) no-repeat; }
div.ico-toriyame a { background:url(../autorace/shared/images/ico_toriyame_a.gif) no-repeat; }

div.ico-g1 a { background:url(../autorace/shared/images/ico_g1_a.gif) no-repeat; }
div.ico-g2 a { background:url(../autorace/shared/images/ico_g2_a.gif) no-repeat; }
div.ico-g3 a { background:url(../autorace/shared/images/ico_g3_a.gif) no-repeat; }

div.ico-jpn1 a { background:url(../autorace/shared/images/ico_jpn1_a.gif) no-repeat; }
div.ico-jpn2 a { background:url(../autorace/shared/images/ico_jpn2_a.gif) no-repeat; }
div.ico-jpn3 a { background:url(../autorace/shared/images/ico_jpn3_a.gif) no-repeat; }

div.ico-f1 a { background:url(../autorace/shared/images/ico_f1_a.gif) no-repeat; }
div.ico-f2 a { background:url(../autorace/shared/images/ico_f2_a.gif) no-repeat; }

div.ico-gp a { background:url(../autorace/shared/images/ico_gp_a.gif) no-repeat; }
div.ico-sg a { background:url(../autorace/shared/images/ico_sg_a.gif) no-repeat; }
div.ico-jusho a  { background:url(../autorace/shared/images/ico_jusho_a.gif) no-repeat; }

h3 span.note{display:inline-block; width:300px; height:18px; text-align:right; position:absolute; top:0; right:10px; line-height:30px; font-size:small; }
input.tx_Mid { font-size:20pt !important;}

.val-middle {
    vertical-align: middle !important;
}

/* グレードレース
==================================================*/
.sp-content .p-scheduleTable {
	display: block;
	border: solid 4px #ffffff;
	background-color: #fff;
    border: 0px;
    color: black;
    font: bold 14px Helvetica;
    margin: 0;
    padding: 0;
}

@media only screen and (min-width: 560px) {
	.sp-content .p-scheduleTable {
		display: table;
		width: 100%;
	}
}

.sp-content .p-scheduleTable th {
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1em;
	letter-spacing: 0;
	font-weight: 400;
	background-color: #fff;
	text-align: center;
	padding-bottom: 6px;
}

@media only screen and (min-width: 560px) {
	.sp-content .p-scheduleTable td {
		padding-top: 2px;
	}
}

.sp-content .p-scheduleTable__box
	{
	display: flex;
	flex-wrap: wrap;
	background-color: #f5e5f6;
	margin-bottom: 5px;
	padding: 5px 0 10px;
}

.sp-content .p-scheduleTable__badge
	{
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	width: 60px;
	height: 30px;
	background-color: #E61C24;
	color: #ffffff;
	margin: 0 10px 10px 0;
}

@media only screen and (min-width: 560px) {
	.sp-content .p-scheduleTable__badge
		{
		display: table-cell;
		text-align: center;
		width: 50px;
	}
}

.sp-content .p-scheduleTable__badge--GII,
	.sp-content .p-scheduleTable__badge--JpnII
	{
	background-color: #003EB3;
}

.sp-content .p-scheduleTable__badge--GIII,
	.sp-content .p-scheduleTable__badge--JpnIII
	{
	background-color: #85BF3F;
}

.sp-content .p-scheduleTable__badge--hp
	{
	background-color: #856239;
}

.sp-content .p-scheduleTable__place
	{
	display: flex;
	align-items: center;
	width: 100%;
	height: 30px;
	margin-left: 3%;
	line-height: 1;
}

@media only screen and (min-width: 560px) {
	.sp-content .p-scheduleTable__place
		{
		display: table-cell;
		text-align: left;
		margin-left: 0;
	}
}

.sp-content .p-scheduleTable__place span
	{
	display: block;
	font-size: 9pt;
	line-height: 1;
	padding: 2px 4px;
	background-color: #ffffff;
	margin-right: 2px;
}

@media only screen and (min-width: 560px) {
	.sp-content .p-scheduleTable__place span
		{
		display: inline-block;
		width: 50px;
	}
}

.sp-content .p-scheduleTable__place .small
	{
	letter-spacing: -1.5px;
}

.sp-content .p-scheduleTable__date
	{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	white-space: nowrap;
}

@media only screen and (min-width: 560px) {
	.sp-content .p-scheduleTable__date
		{
		display: table-cell;
		width: 112px;
		padding-left: 10px;
	}
}

.sp-content .p-scheduleTable__title
	{
	width: 100%;
	font-weight: 700;
	margin: 0 3% 10px 3%;
}

@media only screen and (min-width: 560px) {
	.sp-content .p-scheduleTable__title
		{
		display: table-cell;
		width: auto;
		padding-left: 10px;
	}
}

.sp-content .p-scheduleTable__title a
	{
	text-decoration: underline;
	color: #0071B5;
}

.sp-content .p-scheduleTable__winning
	{
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0 0 0 3%;
	line-height: 1;
}

@media only screen and (min-width: 560px) {
	.sp-content .p-scheduleTable__winning
		{
		display: table-cell;
		text-align: left;
		margin-left: 0;
	}
}

.sp-content .p-scheduleTable__winning a
	{
	text-decoration: underline;
	color: #0071B5;
}

.sp-content .p-scheduleTable__winning img
	{
	width: 30px;
	margin-right: 5px;
}

@media only screen and (min-width: 560px) {
	.sp-content .p-scheduleTable__winning img
		{
		display: none;
	}
}

.sp-content .p-scheduleTable__winning span
	{
	display: block;
	font-size: 9pt;
	line-height: 1;
	padding: 2px 4px;
	background-color: #ffffff;
	margin-right: 2px;
}

@media only screen and (min-width: 560px) {
	.sp-content .p-scheduleTable__winning span
		{
		display: inline-block;
		width: 50px;
	}
}

.sp-content .p-scheduleTables__mini .p-scheduleTable th:nth-child(2)
	{
	text-align: left;
	padding-left: 70px;
}

.sp-content .p-scheduleTables__mini .p-scheduleTable__title
	{
	width: calc(100% - 70px);
	margin: 0;
	padding: 2px 10px 0 0;
}


/* グレードアイコン　*/
.sp-content span.raceGrade, span.stop {
    display: inline-block;
    width: 26px;
    border: none;
    border-radius: 3px;
    letter-spacing: -0.05em;
    color: #fff !important;
    font-size: 11px;
    text-align: center;
    font-weight: normal !important;
    height: 15px;
}
.sp-content span.raceGrade::after, span.stop {
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", 'ヒラギノ角ゴ Pro W3', Meiryo, 'メイリオ', sans-serif !important;
}

.sp-content span.stop, .sp-content span.link-stop{
    background: red !important;;
}

.sp-content span.g1{
    background: #ef999b !important;
}

.sp-content span.g2{
    background: #7fcdf4 !important;
}

.sp-content span.sg{
    background: #ff89c4 !important;
}

.sp-content span.kaisai{
    background: #ccc !important;
}

.sp-content span.link-g1{
    background: #ef3639 !important;
}

.sp-content span.link-g2{
    background: #299bfc !important;
}
 
.sp-content span.link-kaisai{
    background: #636363 !important;
}

.sp-content span.link-sg{
    background: #f428cc !important;
}

.stop:after, .link-stop:after{
    content: "中止";
}

.link-g1:after {
    content: "GI";
}

.link-g2:after {
    content: "GII";
}

.link-sg:after {
    content: "SG";
}

.kaisai:after, .link-kaisai:after {
    content: "開催";
}

.tr-padding td {
	padding-bottom: 5px;
}

@media only screen and (min-width: 560px) {
	.sp-content .p-scheduleTables__mini .p-scheduleTable__title
		{
		width: auto;
		padding: 0 0 0 10px;
	}
}