@charset "utf-8";

/*タブ制御*/
#grace_tab_ul li {
	cursor: pointer;
}
#grace_tab_ul li.select {
	cursor: auto;
}
#grace_tab_ul li.noselect {
	border-right: 1px solid #9CA7E2;
	background: #ccc;
	cursor: text;
}

.disnon {
	display: none;
}
.tab_content_wrap {
	clear: left;
	width: auto;
}

/*タブ外観*/
#grace_tab_ul {
	margin-bottom: 2px;
	list-style-type: none;
}
#grace_tab_ul li {
	float: left;
	width: 80px;
	padding: 4px 10px;
	border-right: 1px solid #076cc7;
	list-style-type: none;
	text-align: center;
	font-weight: bold;
	color: #fff;
	background: #7ac1ff;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #076cc7), color-stop(1.00, #7ac1ff));
	background: -webkit-linear-gradient(top, #076cc7 0%, #7ac1ff 100%);
	background: -moz-linear-gradient(top, #076cc7 0%, #7ac1ff 100%);
}
#grace_tab_ul li.select {
	border: none;
	color: #0E1077;
	background: #f6c501;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #ffe860), color-stop(1.00, #f6c501));
	background: -webkit-linear-gradient(top, #ffe860 0%, #f6c501 100%);
	background: -moz-linear-gradient(top, #ffe860 0%, #f6c501 100%);
}
#grace_tab_ul li:last-child {
	border-right: none;
}

/*レース情報テーブル*/


.grace_table {
	width: 100%;
	cell-spacing: none;
	border-collapse: collapse;
}

.grace_table th,
.grace_table td {
	padding: 4px 2px;
	border: 1px solid #ccc;
	text-align: center;
}

.grace_table tr:nth-child(2n) {
	background: #fafafa !important;
}

.nograytable .grace_table tr:nth-child(2n) {
	background: #ffffff !important;
}

.grace_table th {
	background: #F0F0E1;
}

.grace_table td {
}

.grace_table.singleline td {
	/*1行の場合に上下padding追加*/
	padding: 8px 2px;
}

.grace_table .text_left {text-align:left;}
.grace_table .text_right {text-align:right;}
.grace_table .text_center {text-align:center;}
.grace_table .text_bold {font-weight: bold;}

.grace_table_th_order,
.grace_table_th_order2 {
	position: relative;
	padding-right: 20px !important;
	/*background: url( /common/img/graderace/grace_table_u_bg.png ) repeat-y;
	background-position: right 20px center;*/
}

.grace_table_order {	/*セルの結合を使うとソートが機能しないのでpositionで対応*/
	position: absolute;
	top: 30%;
	right: 2px;
	display: block;
	width: 16px;
	text-align: center;
	font-size: 13px;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.grace_table_th_order2 .grace_table_order {
		top:50% !important;	/*IE対策*/
	}
}

.grace_table_note1,
.grace_table_note2,
.grace_table_note3 {
	font-size: 12px !important;
}

.grace_table td.td_user_icon {
	width: 50px;
}

.grace_table td.td_name {
	padding: 8px 5px;
}

.grace_table td.td_bet_icon {
	width: 54px;
	border-right: none;
}
.grace_table td.td_bet_other {
	width: 16px;
	border-left: none;
}

