/*
Theme Name: KeibaLabo - ver.2017/10(editing now)
*/


@import url('css/tt_style.css');


.clear{ clear: both; }


/*-- Twenty-Twelve CSS Reset --*/

body{
	color: #111;
	font-size: 1em;
	/* japanese font-set. - 2017/02/24 kobayashi */
	font-family: 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, 'Meiryo',游ゴシック体, "Yu Gothic", YuGothic;
}
a{
	color: #1d3994;
	text-decoration: none;
}
a:hover{
	color: #39F;
}
body .site{
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}
.site-header{
	padding: 0;
}
.site-header h1, .site-header h2{
	margin: 0;
}
.site-content{
	margin: 1em 10px 0 10px;
}
.widget-area{
	margin: 1em 10px 0 10px;
}
footer[role="contentinfo"]{
	margin: 0;
	padding: 0;
	border-top: none;
}
@media screen and (min-width: 600px){
	.site, footer[role="contentinfo"]{
		max-width: 1000px;
	}
}
@media screen and (min-width: 1000px){
	.site-content{
		width: 715px;
		margin: 1em 0 0 10px;
	}
	.widget-area{
		width: 250px;
		margin: 1em 10px 0 0;
	}
}



/*---------- 競馬研究所CSS(2016.11) ----------*/



/*-- [header.php] ページ上部--*/
.pagetop {
  z-index: 30;
  position: relative;
	height: 100%; /* header lists-fix. by kobayashi.(2017/05/31) 2.6em -> 100% */
  /*width: 100%;*/
	border-top: #000 solid 10px;
	background: #e6e6e6;
}
.pagetop ul {
	float: right;
	margin: 0.5em 0.5em 0 0;
}
.pagetop li {
	display: inline-block;
	min-width: 7em;
	height: 100%; /* header lists-fix. by kobayashi.(2017/05/31) 1.2em -> 100% */
	padding: 0.2em 0.5em;
	line-height: 1.2em;
	border-left: #000 solid 1px;
}
.pagetop li:first-child {
	border: none;
}
.pagetop a, .pagetop a:hover {
	color: #333;
}
.pagetop img {
	height: 15px;
	margin: 0 0.4em;
}
@media screen and (min-width: 1000px){
	.pagetop {
		height: 2em;
	}
	.pagetop ul {
		float: right;
		margin: 0.3em 0.5em 0 0;
	}
}


/*-- [header.php] ロゴ＆メニュー--*/
.header {
	position: relative;
	background: #2f811e;
	line-height: 1px;
}
.logo {
	width: 100%;
}
.logo h1 {
	display: inline-block;
	width: 45%;
	line-height: 1px;
}
.logo h1 img {
	width: 100%;
}
#navOpener {
	z-index: 20;
	position: relative;
	float: right;
	width: 150px;
	margin: 0 2.5% 0 0;
	padding: 0 10px;
	background: #FFF;
}
#navOpener img {
	width: 150px;
}
.nav {
	z-index: 10;
	position: absolute;
	top: -170px;
	left: 0;
	float: right;
	width: 150px;
	margin: 0 2.5% 0 0;
	padding: 0 10px 10px 10px;
	list-style: none;
	text-align: center;
	background: #FFF;
}
.nav li a {
	display: block;
	height: 40px;
}
.nav li img {
	width: 150px;
}
@media screen and (min-width: 600px){
	.logo h1 {
		position: static;
		padding: 0;
	}
	#navOpener{
		display: none;
	}
	.nav{
		position: static;
		width: 100%;
		height: 42px;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.nav li {
		display: block;
		float: left;
		width: 24.5%;
		height: 30px;
		margin: 6px 0;
		text-align: center;
		border-left: #000 solid 1px;
	}
	.nav li:first-child {
		border: none;
	}
	#navCloser {
		display: none;
	}
	.nav li a {
		display: block;
		width: 100%;
	}
	.nav li img {
		width: 119px;
	}
}
@media screen and (min-width: 1000px){
	.logo {
		float: left;
		width: 375px;
	}
	.logo h1 {
		display: block;
		width: 100%;
		line-height: 1px;
	}
	.nav {
		float: right;
		width: 479px;
		height: 42px;
		margin: 0 20px 0 0;
	}
}




/*-- [sidebar.php] --*/
.sidebar_bannerBox {
	margin: 0 auto;
	padding: 0.2em;
	line-height: 1px;
	border: #000 solid 1px;
}
.sidebar_banner {
	width: 100%;
}
@media screen and (min-width: 1000px){
	max-width: 243px;
}
.sidebar_content {
	margin: 1em 0 0 0;
	padding: 0.2em;
	border: #000 solid 1px;
}
.sidebar_content h2 {
	padding: 0.5em 0 0.5em 1em;
	line-height: 1.6;
	text-align: center;
	background: #e6e6e6;
	font-weight: normal;
	font-size: 1.2em;
	letter-spacing: 0.1em;
}
.sidebar_content h3 {
	padding: 1em 0 0 1em;
	color: #333;
	font-weight: bold;
}
.sidebar_content h3 img {
	height: 18px;
	margin: 0 0.3em 0 0;
	vertical-align: bottom;
}
.sidebar_content ul {
	padding: 1em 1em 0.5em 1em;
	line-height: 1.2;
	font-size: 0.9em;
	color: #333;
}
.sidebar_firstList, .sidebar_secondList, .sidebar_thirdList {
	padding: 1em;
	border-bottom: #AAA solid 1px;
}
.sidebar_content li {
	padding: 0;
}
.sidebar_content strong {
	display: block;
	margin: 0 0 0.5em 0;
	color: #d61518;
	font-weight: normal;
}





/*-- [footer.php] --*/
.footer_menu{
	padding: 1em 0 0.2em 0;
}
.footer_menu ul{
	margin: 0;
	padding: 0;
	text-align: center;
}
.footer_menu ul li{
	margin: 0.5em 0;
	padding: 0;
}
.footer_menu li a{
	text-decoration: none;
	color: #333;
}
.footer_menu li a:hover{
	color: #333;
}
.footer p{
	padding: 0.2em 0;
	text-align: center;
}
@media screen and (min-width: 600px){
	.footer_menu ul{
		position: relative;
		left:50%;
		float: left;
	}
	.footer_menu ul li{
		position: relative;
		left:-50%;
		float: left;
		margin: 0 1.5em;
	}
}





/*-- [index.php] 各見出し --*/
.heading_info {
	margin: 0 0 1em 0;
	padding: 0 0 0 1em;
	font-size: 1.2em;
	letter-spacing: 0.2em;
}
.heading {
	margin: 1em 0;
	padding: 0.6em 0 1.1em 1em;
	background: url(images/heading_bottom.png) bottom repeat-x;
	background-color: #000;
	color: #FFF;
	font-size: 1.2em;
	font-weight: normal;
	letter-spacing: 0.2em;
}
.heading span {
	display: inline-block;
	margin: 0.2em 0.5em 0 0;
	font-size: 0.8em;
	font-weight: normal;
	letter-spacing: 0;
}
@media screen and (min-width: 880px){
	.heading span {
		display: inline-block;
		float: right;
		margin: 0.2em 0.5em 0 0;
	}
}

/*-- [index.php] 競馬研究所とは - 2017/10/03 kobayashi. --*/
#aboutbox {margin-bottom: 20px;}
#about_keibaken {width: 100%; background: none;}
.aboutImage {display: block; width: 100%;}
#about_keibaken a {display: block; width: 100%; height: 100%;}
#aboutTitle {margin: 20px auto 10px;}
#about_scroll {padding-top: 30px;}
#about_scroll p {padding: 0 5%; font-size: 1.2rem; line-height: 2;}
#aboutClose {margin: 0 auto; width: 85%;}
#aboutClose button {margin-top: 10px; width: 100%; font-size: 1rem;}
@media screen and (min-width: 1000px) {
	#aboutbox {margin-bottom: 30px;}
	#about_keibaken {
		width: 715px; height: 60px;
		background: url(images/btn_about-sprite.png) top/100% no-repeat;
	}
	#about_keibaken:hover {background-position: bottom;}
	#about_keibaken .aboutImage {display: none;}
	#aboutTexts .aboutImage {display: block; margin: 0 auto; width: 50%;}
	#aboutTitle {margin: 10px auto;}
}
/* featherlight-BOX CSS. */
.lightbox {display: none;}
/*.featherCSS {}*/


/*-- [index.php] INFORMATION --*/
.infolist {
	margin: 0;
	padding: 0 0 0.5em 1em;
	line-height: 1.6;
}
@media screen and (min-width: 880px){
	.infolist {
		padding: 0 0 0.5em 3em;
	}
}
.infolist li {
	margin: 0 0 0.2em 0;
	padding: 0 0 0 1.8em;
	text-indent: -1.8em;

}
.infolist a, .infolist a:hover {
	color: #d61518;
}
.infolist img {
	width: 21px;
	margin: 0px;
	vertical-align: -0.3em;
}
.infolist span {
	margin: 0 0 0 1em;
	color: #333;
}
.info_archive {
	margin: 0.2em 0 0.5em 0;
	text-align: right;
}
.info_archive a, .info_archive a:hover {
	color: #d61518;
}
.info_archive img {
	height: 10px;
	margin: 0 0.2em 0 0;
}


/*-- [index.php] 予想＆攻略コラム --*/
.columnBox {
	position: relative;
	width: 98%;
	margin: 0.5em 0 0.5em 1%;
	line-height: 1.5;
	border: #000 solid 1px;
}
@media screen and (min-width: 880px){
	.columnBox {
		float: left;
		width: 31.8%;
		margin: 0.5em 0 0.5em 1%;
	}
}
.columnBox a {
	display: block;
}
.columnBox h3 {
	padding: 0.3em 0 0.3em 0.5em;
	color: #333;
	font-size: 1.1em;
}
.columnBox h3 span {
	margin: 0 0.2em 0 0;
	font-size: 0.9em;
}
.columnBox p {
	display: block;
	margin: 0 0 5px 0;
	padding: 0.2em 0.5em 0 0;
	background: #2f811e;
	text-align: right;
	line-height: 1.2;
	color: #FFF;
	font-weight: normal;
}
.columnBox .icon_up {
	height: 9px;
	margin: 0 0 0 0.4em;
}
.columnBox div {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	text-align: right;
	line-height: 1px;
}
.columnBox div img {
	margin: -1px -1px 0 0;
}
.column_archive {
	margin: 0.2em 0 0.5em 0;
	text-align: right;
}
.column_archive a, .column_archive a:hover {
	color: #d61518;
}
.column_archive img {
	height: 10px;
	margin: 0 0.2em 0 0;
}


/*-- [index.php] 今週の重賞レース --*/
.raceBox {
	width: 98%;
	margin: 0.5em 0 0.5em 1%;
	line-height: 1.5;
	border: #000 solid 1px;
}
@media screen and (min-width: 880px){
	.raceBox {
		float: left;
		width: 31.8%;
		margin: 0.5em 0 0.5em 1%;
	}
}
.raceBox a, .raceBox a:hover {
	display: block;
	color: #333;
}
.raceBox_name {
	display: block;
	padding: 0.3em 0 0 0.5em;
	color: #333;
	font-size: 1.2em;
	font-weight: bold;
}
.raceBox_name img {
	height: 11px;
	margin: 0 0 0.2em 0.2em;
	vertical-align: middle;
}
.raceBox_data {
	display: block;
	padding: 0 0 0 0.5em;
	line-height: 1em;
	font-size: 0.9em;
}
.raceBox_link {
	display: block;
	margin: 10px 0 5px 0;
	padding: 0.2em 0.5em 0 0;
	background: #2f811e;
	text-align: right;
	line-height: 1.2;
	color: #FFF;
	font-size: 0.9em;
	font-weight: normal;
}
.raceBox .icon_arrow {
	height: 10px;
	margin: 0 0.2em 0 0;
}


/*-- [index.php] 今週のレース一覧：日程選択 --*/
.dateBox {
	margin: 0;
	border: #000 solid 1px;
}
.dateBox li {
	float: left;
	width: 49.5%;
	height: 1.8em;
	margin: 4px 0;
	line-height: 1.8em;
	text-align: center;
}
.dateBox li:nth-child(even) {
	border-left: #000 solid 1px;
}
.dateBox li.selected {
	font-weight: bold;
}
.dateBox a, .dateBox a:hover {
	color: #d61518;
}
.seachBox {
	margin: 0.5em 0 0 0;
	border: #000 solid 1px;
	height: 2.4em;
	line-height: 2.4em;
	text-align: center;
}
.seachBox a, .seachBox a:hover {
	color: #333;
}
.seachBox span {
	display: inline-block;
	float: right;
	width: 6em;
	height: 2.2em;
	text-align: center;
	line-height: 2.4em;
	background: #d61518;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
}
.icon_blood {
	width: 19px;
	height: 18px;
	margin: 0 0.2em 0 0;
	vertical-align: -0.3em;
}
@media screen and (min-width: 600px){
	.dateBox li {
		width:33%;
		border-left: #000 solid 1px;
	}
	.dateBox li:first-child, .dateBox li:nth-child(4) {
		border: none;
	}
}
@media screen and (min-width: 1000px){
	.dateBox {
		float: left;
		width: 70%;
		margin: 0;
		padding: 4px;
	}
	.dateBox li {
		float: left;
		width: 16.5%;
		height: 1.8em;
		margin: 0;
		line-height: 1.8em;
		text-align: center;
		border-left: #000 solid 1px;
	}
	.dateBox li:nth-child(4) {
		border-left: #000 solid 1px;
	}
	.dateBox li:first-child {
		border: none;
	}
	.seachBox {
		float: right;
		width: 26.5%;
		margin: 0;
		padding: 0 0 0 0.5em;
		border: #000 solid 1px;
		height: 2.4em;
		line-height: 2.4em;
		text-align: left;
	}
	.seachBox span {
		width: 3em;
		height: 2.2em;
		text-align: center;
		line-height: 2.4em;
		background: #d61518;
		color: #FFF;
		font-size: 1.1em;
		font-weight: bold;
	}
}


/*-- [index.php] 今週のレース一覧：出馬表 外枠DIV --*/
.raceTable_wrapper {
	display: block;
	width: 100%;
	margin: 1em 0 0 0;
}
.raceTable_cell {
	display: block;
	float: left;
	width: 100%;
}
/*-- 1000px幅以上で raceTable_cell を横並び --*/
@media screen and (min-width: 1000px){
	.raceTable_wrapper {
		display: table;
	}
	.raceTable_cell {
		display: table-cell;
		float: none;
		width: auto;
		padding: 0 1%;
	}
	.raceTable_cell:first-child {
		padding: 0 1% 0 0;
	}
}
.raceTable_cell h3 {
	height: 2.5em;
	line-height: 2em;
	font-size: 1em;
	font-weight: normal;
}
.raceTable_cell h3 span {
	display: inline-block;
	margin: 0 0.5em 0 0;
	padding: 0.5em 0.8em 0 0.8em;
	background: url(images/racetable_edge.png) right top no-repeat;
	background-color: #000;
	color: #FFF;
}


/*-- [index.php] 今週のレース一覧：出馬表 内枠テーブル --*/
.raceTable{
	width: 100%;
	margin: 0 0 1em 0;
	border-collapse:separate;
	border: #000 solid 1px;
}
.raceTable a, .raceTable a:hover {
	display: block;
	margin: 5px;
	padding: 3px;
	color: #000;
}
.raceTable a:hover {
	background: #e6e6e6;
}
.raceTable_data {
	padding: 5px 0 0 20px;
	line-height: 1.2em;
	font-size: 0.9em;
}
.raceTable_data span {
	display: block;
	text-align: right;
	font-size: 0.9em;
}
.raceTable_data img {
	height: 11px;
	margin: 0 0 0 0.2em;
}
.raceTable_data .icon_blood {
	height: 18px;
	margin: -0.2em 0 0 0.2em;
}
.raceTable_hr {
	height: 1px;
	padding: 0 5px;
}
.raceTable_hr hr{
	margin: 0;
	height: 1px;
	background: #000;
}
.raceTable .highlight {
	background: #ffff00;
}
.race1 { background: url(images/1r.png) top left no-repeat; }
.race2 { background: url(images/2r.png) top left no-repeat; }
.race3 { background: url(images/3r.png) top left no-repeat; }
.race4 { background: url(images/4r.png) top left no-repeat; }
.race5 { background: url(images/5r.png) top left no-repeat; }
.race6 { background: url(images/6r.png) top left no-repeat; }
.race7 { background: url(images/7r.png) top left no-repeat; }
.race8 { background: url(images/8r.png) top left no-repeat; }
.race9 { background: url(images/9r.png) top left no-repeat; }
.race10 { background: url(images/10r.png) top left no-repeat; }
.race11 { background: url(images/11r.png) top left no-repeat; }
.race12 { background: url(images/12r.png) top left no-repeat; }


/*-- [index.php] 今週のレース一覧：ブラッドバイアス枠 --*/
.bloodBox {
	padding: 10px 3px 3px 3px;
}
.bloodBox p {
	margin: 0.2em 0;
	padding: 0.5em 0;
	text-align: center;
	background: #2f811e;
	color: #FFF;
}
.bloodBox a, .bloodBox a:hover {
	display: block;
	float: left;
	width: 49%;
	margin: 0 0 1% 1%;
	padding: 0.5em 0;
	text-align: center;
	background: #f2f2f2;
}
.bloodBox a:nth-child(even) {
	width: 50%;
	margin: 0 0 1% 0;
}
.bloodBox a:hover {
	background: #e6e6e6;
}





/*-- [category.php] --*/
.archive-header {
	margin: 0;
	border: none;
}
.heading_category {
	margin: 0;
	padding: 0.6em 0 1.1em 1em;
	background: url(images/heading_bottom.png) bottom repeat-x;
	background-color: #000;
	color: #FFF;
	font-size: 1.2em;
	font-weight: normal;
	letter-spacing: 0.2em;
}




/*-- [content-list.php] --*/
article.contentListBox {
	margin: 0 0 1em 0;
	padding: 0 1em 0.5em 1em;
	border-bottom: #CCC dotted 1px;
}
.contentListBox a {
	display: block;
	width: 100%;
	color: #d61518;
}
.contentListBox a:hover {
	color: #d61518;
}
.contentListBox p {
	padding: 0 0 0 1.8em;
	text-indent: -1.8em;
}
.contentListBox img {
	width: 21px;
	margin: 0;
	vertical-align: -0.3em;
}
.contentListBox span {
	margin: 0 0 0 1em;
	color: #333;
}
#nav-below a, #nav-below a:hover {
	color: #d61518;
}





/*-- [single.php] --*/
.single_title {
	margin: 0 0 0 0.5em;
	line-height: 1.2;
	font-size: 1.3em;
	font-weight: normal;
}
.single_date {
	margin: 0.5em 0 0 0.5em;
	text-align: right;
	line-height: 13px;
}
.single_date img {
	height: 13px;
	margin: 0 0 0 0.2em;
	vertical-align: bottom;
}
.single_content p {
	margin: 1em 0 0 0.5em;
	line-height: 1.6;
}
.pageImage {
	margin: 0;
	padding: 3px;
	line-height: 1px;
	border: #000 solid 1px;
}
.pageImage img {
	width: 100%;
}
.heading_backnumber {
	margin: 1em 0;
	padding: 0.6em 0 1.1em 1em;
	background: url(images/heading_bottom.png) bottom repeat-x;
	background-color: #000;
	color: #FFF;
	font-size: 1.2em;
	font-weight: normal;
	letter-spacing: 0.2em;
}




/*-- [page-login.php] ログイン・会員登録ボックス --*/
.login_comment {
	margin: 0 1% 1em 1%;
	font-size: 1.1em;
	line-height: 1.6em;
}
.login_formbox, .login_signupbox {
	margin: 1em 1%;
	line-height :1.6;
	border: #000 solid 1px;
}
.login_formbox h2, .login_signupbox h2 {
	margin: 3px;
	padding: 0.3em 0;
	background: #E6E6E6;
	text-align: center;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.1em;
}
.login_formbox p, .login_signupbox p {
	margin: 0.5em;
}
.login_formbox a, .login_signupbox a {
	display: block;
	margin: 0.5em;
	color: #d61518;
}
.login_formbox a .login_arrowImg, .login_signupbox a .login_arrowImg {
	width: 12px;
	margin: 0 0.3em 0 0;
	vertical-align: baseline;
}


/*-- [page-login.php] ログインフォーム --*/
.login_fieldset {
	width: 90%;
	margin: 0 auto;
}
.login_fieldset label {
	display: block;
	width: 100%;
	height: 30px;
	margin: 1em 0 0 0;
	line-height: 30px;
	text-align: center;
	border-top: #000 solid 1px;
	border-right: #000 solid 1px;
	border-bottom: #000 solid 1px;
	border-left: #000 solid 1px;
	background: #d61518;
	color: #FFF;
}
.login_fieldset input {
	display: block;
	width: 90%;
	height: 30px;
	margin: 0 0 1em 0;
	padding: 0 5%;
	border-top: none;
	border-right: #000 solid 1px;
	border-bottom: #000 solid 1px;
	border-left: #000 solid 1px;
	border-radius: 0;
	line-height: 30px;
	font-size: 1em;
}
.login_fieldset input[type="image"] {
	width: 271px;
	height: 56px;
	margin: 0 auto 1em auto;
	padding: 0;
	border: none;
}
.joinBtn {
	display: block;
	margin: 1em auto;
	padding: 1em 0;
	text-align: center;
}
@media screen and (min-width: 600px){
	.login_fieldset {
		width: 70%;
	}
	.login_fieldset label {
		float: left;
		width: 35%;
		margin: 0.5em 0 0 0;
		text-align: center;
		border-top: #000 solid 1px;
		border-right: none;
		border-bottom: #000 solid 1px;
		border-left: #000 solid 1px;
	}
	.login_fieldset input {
		float: left;
		width: 54%;
		margin: 0.5em 0 0 0;
		border: #000 solid 1px;
	}
	.login_fieldset input[type="image"] {
		float: none;
		margin: 0 auto;
		padding: 1em 0;
		border: none;
	}
}
@media screen and (min-width: 880px){
	.login_formbox {
		float: left;
		width: 48.25%;
		min-height: 19em;
		margin: 1em 0 1% 1%;
	}
	.login_signupbox {
		float: right;
		width: 48.25%;
		min-height: 19em;
		margin: 1em 1% 1% 0;
	}
	.login_servicebox {
		clear: both;
	}
}





/*-- comingsoon --*/
.comingsoon {
	width: 100%;
	margin: 2em 0;
	text-align: center;
}
.comingsoon img {
	width: 240px;
}
@media screen and (min-width: 880px){
	.comingsoon img {
		width: 360px;
	}
}





/* add kk_themes' css. - 2017/0215 kobayashi */
table.race_detail {
	margin: 5px 0;
	width: 100%;
	font-size: 0.9em;
	border-collapse: collapse;
	white-space:nowrap;
}
@media screen and (orientation: landscape) {
	table.race_detail {font-size: 0.5em;}
}
@media screen  and (min-width: 800px) {
	table.race_detail {font-size: 0.9em;}
}
table.race_detail thead, table.race_detail tbody {}
table.race_detail th,
table.race_detail td {
	padding: 5px 10px;
	border: solid 1px #999;
	vertical-align: middle;
}
table.race_detail th {
	font-weight:normal;
	background-color: #e6e6e6;
	text-align: center;
}
table.race_detail td {
	line-height: 1.5em;
}
td.s-w1-cl  { background:white;         color:black;}
td.s-w2-cl  { background-color:black;   color:white;}
td.s-w3-cl  { background-color:red;     color:white;}
td.s-w4-cl  { background-color:#3366FF; color:white;}
td.s-w5-cl  { background-color:#FFFF33; color:black;}
td.s-w6-cl  { background-color:#339966; color:white;}
td.s-w7-cl  { background-color:#FF9900; color:black;}
td.s-w8-cl  { background-color:#FF99CC; color:black;}

.s-ta-l     { text-align:left; }
.s-ta-c     { text-align:center; }
.s-ta-r     { text-align:right; }
.d-ib       { display:inline-block;margin:0;padding:0;}
.s-small    { font-size:85%; line-height: 120%;}
.s-med      { font-size:140%;}
.s-b        { font-weight:bold;}
.s-red      { color:#d61518;}
.s-blue     { color:blue;}
.s-green    { color:green;}
.s-gray     { color:#ccc;}
.s-b-green  { font-weight:bold; color:green;}
.s-b-red    { font-weight:bold; color:#d61518;}
.s-b-blue   { font-weight:bold; color:blue;}
.s-b-green  { font-weight:bold; color:green;}
.s-b-gray   { font-weight:bold; color:#ccc;}
.note_red {color:#d61518; margin: 10px auto; font-size: 85%; line-height: 120%;}





/* add kk_theme's menu style. - 2017/02/15 kobayashi */
.flex {
	display: flex;
	flex-flow: row wrap;
	display: -webkit-flex;
	-webkit-flex-flow: row wrap;
}

#race_menus {
	justify-content: space-around;
	-webkit-justify-content: space-around;
	margin: 0 auto 20px auto;
	width: 98%;
	border: 1px solid #000;
	font-size: 0.9em;
}
.menu_item	{
	margin: 0 -1px;
	width: 50%;
	border-bottom: 1px solid #000;
	border-right: 1px solid #000;
	line-height: 2em;
	text-align: center;
}
.menu_item.selected {font-weight: bold;}
.menu_item:nth-child(7), .menu_item:nth-child(8)
	{border-bottom: none;}
.menu_item:nth-child(even) {border-right: none;}

@media screen and (min-width: 1000px){
	#race_name {width: 80%;}
	#race_menus {display: block;}
	.menu_item	{
		margin: 2px 0;
		padding: 0 20px;
		width: auto;
		border-right: 1px solid #000;
		border-bottom: none;
}
	.menu_item:nth-child(even) {border-right: 1px solid #000;}
	.menu_item:last-child      {border-right: none;}

	/* Safari-browser CSS-hacking. 2017/02/24 kobayashi */
	/*@media screen and (-webkit-min-device-pixel-ratio:0) {
		.menu_item {padding: 0 19px;}
	}*/
}

/* Safari-browser CSS-hacking　ver2. 2017/03/01 kobayashi
if Safari(macos) & width=1000px over, work it.
*/
@media screen and (min-width:1000px) and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0) {
	@media {.menu_item {padding: 0 19px;}}
}

#race_select {
	margin: 0 auto 10px auto;
	width: 95%;
}
#places, #race_name {display: block;}
#race_name {
	margin: 0 auto;
	padding-left: 10px;
	/*width: 90%;*/
	width: 100%;
	height: 30px;
	font-size: 1em;
	line-height: 1.6em;
}
#rounds {
	justify-content: flex-start;
	-webkit-justify-content: flex-start;
	margin: auto;
	width: 100%;
}
.round_box {
	margin: 3px;
	width: 65px;
	height: 20px;
	border: 1px solid #000;
	border-radius: 3px;
	background-color: #000;
	color: #fff;
	line-height: 1.6em;
	text-align: center;
	font-weight: bold;
}
.round_box a {
	display: block;
	color: #fff;
}
.round_box.selected {
	border-color: #f00;
	background-color: #f00;
}

@media screen and (min-width: 1000px){
	#places, #rounds {
		display: inline-flex;
		display: -webkit-inline-flex;
	}
	#places    {width: 15%;}
	#race_name {width: 150px;}
	#rounds    {
		width: 80%;
		justify-content: left;
		-webkit-justify-content: left;
	}
	.round_box {width: 50px;}
}

#title_continer	{
margin:0 auto 10px auto;
width: 95%;
}
#race_title {
	align-items: end;
	-webkit-align-items: flex-end;
	margin-bottom: 10px;
}
#race_round {
	width: 65px;
	height: 50px;
	border: 1px solid #2f811e;
	border-radius: 3px;
	background-color: #2f811e;
	color: #fff;
	line-height: 1.7em;
	font-size: 2.3em;
	font-weight: bold;
	text-align: center;
}
#round_name {padding: 0 5px;}
#title {
	display: inline-block;
	margin-bottom: 2px;
	font-size: 1.2em;
	font-weight: bold;
}
#status {font-size: 0.85em;}
@media screen and (min-width: 600px){
	#title_continer {
		align-items: center;
		-webkit-align-items: center;
	}
	#race_title {
	margin-right: 20px;
	width: auto;
	}
}
@media screen and (min-width: 800px) {
	#title {font-size: 2.5em;}
}


.tabs {
	margin: 0 1px 5px 0;
	width: 90px;
	height: 30px;
	background-color: #231815;
	background-image: url(./images/kado_white.png);
	background-repeat: no-repeat;
	background-position: right top;
	color: #fff;
	text-align: center;
	line-height: 2.5em;
}
.tabs a	{
	display: block;
	color:#fff;
}
.tabs.selected {
	background-color: #f00;
}
.tabs.blood {width: 110px;}
.tabgroup {
	justify-content: flex-start;
	-webkit-justify-content: flex-start;
	margin: 0 auto;
	width: 98%;
}
@media screen and (min-width: 600px) {

	/*.tabs, .tabs.blood
		{width: 80px;}*/
		.tabs {width: 80px;}
	.tabgroup {
		justify-content: flex-start;
		-webkit-justify-content: flex-start;
	}

}

div#button {margin: 0 0 30px 2%;}
@media screen and (min-width: 800px) {
	div#button {margin: 0 0 30px 20px;}
}
button#get_odds {
	background-color: #f00;
	border-color: #a00;
	color: #fff;
	font-weight: bold;
}
button#get_odds:hover {
border-color: #000;
	color: #000;
}
div#point_area {
	padding: 20px;
	margin: 0 auto;
	border: solid 1px #999;
}
@media screen and (min-width: 800px) {
		div#point_area {width: 95%;}
}

/* scroll - 2017/02/15 kobayashi */
#scroll_container {
	margin: 10px auto 0 auto;
	width: 98%;
	/*height: 600px;*/
}
.scroll-x  {overflow-x: scroll;}
.scroll-y  {overflow-y: scroll;}
.scroll    {overflow: scroll;}
.lock      {overflow: hidden;}

/* TOP-page line hider - 2017/03/02 kobayashi */
table.raceTable tr:last-child {display: none;}


/* table default CSS - 2017/03/04 kobayashi */
table.race_detail th {
	position: static;
        cursor: pointer;
	padding-right: 20px !important;
	margin-right: 3px;
	line-height: 1em;
	background-image: url(./images/arrow_down-off.png);
	background-repeat: no-repeat;
	background-position: 90% center;
}
table.race_detail th.false{background-image: none;}
table.race_detail th.down {background-image: url(./images/arrow_down-on.png);}
table.race_detail th.up   {background-image: url(./images/arrow_up-on.png);}

/* tablesorter CSS - 2017/03/04 kobayashi*/
table#sortable thead {height: 60px;}
th.tablesorter-header {
	position: static;
        cursor: pointer;
	padding-right: 20px !important;
	margin-right: 3px;
	line-height: 1em;
	background-image: url(./images/arrow_down-off.png);
	background-repeat: no-repeat;
	background-position: 90% center;
}
table.race_detail th.sorter-false{ background-image: none; }
/*
th.sorter-false {background-image: none; }
*/

/* css for tablrsorter - 2017/03/10 hideki.c */
th.tablesorter-headerAsc { background-image: url(./images/arrow_up-on.png) !important; }
th.tablesorter-headerDesc { background-image: url(./images/arrow_down-on.png) !important; }

/* css for alert library - 2017/03/10 hideki.c */
.alerts {
  position: fixed;
  z-index: 9999;
  top: 38vh;
  left: calc(50% - 155px);
  width: 310px;
  background: white;
  border-radius: 4px;
  padding: 20px;
  margin: 0 auto;
}
.alerts-overlay {
  position: fixed;
  z-index: 9998;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .5);
}
.alerts-message {
  margin-bottom: 20px;
}
.alerts-buttons {
  text-align: center;
}
.alerts-ok {
  padding: 6px 12px;
  margin-left: 4px;
  cursor: pointer;
}


/* css for page-myticket hideki.c */
/* additional-edit 2017/05/27 kobayashi */
.myticket_box {
	margin: 0 5px;
  line-height :1.6;
}
.myticket_box h2 {
  margin: 5px auto;
  padding: 0.3em 1em;
	height: 31px;
  font-size: 1.1em;
  letter-spacing: 0.1em;
	line-height: 2em;
  color: #fff;
  border: 3px solid #e4e4e4;
  border-radius: 6px;
  background-image: url(./images/mytitle_middle.png);
  background-repeat: repeat-x;
	background-position: 0 0;
}
table.myticket_table{
    margin-bottom: 10px;
    border: 1px solid #000;
    empty-cells:show;
    border-collapse: collapse;
    line-height: 1.2em;
    width:100%;
}
table.myticket_table th{
    width: 33%;
    background:#e6e6e6;
    text-align:center;
}
table.myticket_table td,
table.myticket_table th{
    border: 1px solid #000;
    padding:6px;
    line-height: 2em;
    word-break: break-all;
		vertical-align: middle;
}
table.myticket_table2{
    margin-bottom: 10px;
    border: 1px solid #000;
    empty-cells:show;
    border-collapse: collapse;
    line-height: 1.2em;
    width:100%;
}
table.myticket_table2 th{
    width: 25%;
    background:#e6e6e6;
    text-align:center;
}
table.myticket_table2 td,
table.myticket_table2 th{
    border: 1px solid #000;
    padding:6px;
    line-height: 2em;
    word-break: break-all;
		vertical-align: middle;
}
button, button:hover
  {background-color: transparent; background-image: none;} /* reset tt-style */
button.cancel
  {height: 35px; background-color: #ccc; color: #fff; border: 0;}
button.account, button.buy
  {height: 35px; background-color: #d61518; color: #fff; border: 0;}
button.account:hover, button.buy:hover, button.cancel:hover
  {background-color: #000;}
button.account {width: 150px;}
button.buy     {width: 100px;}
button.cancel  {width: 100px;}
td.th_color    {background-color: #e6e6e6;}
/* hideki.c 解約のリンクの文字が小さいのは流石に悪意を感じさせすぎるので標準サイズに変更します */
div.table_footnote {margin: 10px auto; font-size: 110%; line-height: 120%;}
div.table_box  {margin: auto; width: 100%;}
div.table_flex {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	margin: 0 auto;
	width: 100%;
}
div.flex_between {
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
div.flex_center {
  -webkit-justify-content: center;
  justify-content: center;
}
div.flex_box  {width: 100%; height: 35px; text-align: center; line-height: 2.5em;}
@media screen and (min-width: 1000px) {
  div.table_box  {margin: 0 0 0 5%; width: 80%;}
	div.table_flex {width: 95%;}
  .myticket_box  { margin: 0 10px; }
  div.flex_box   {width: 40%;}
	div.box_left  {text-align: left;}
	div.box_center{text-align: center;}
	div.box_right{text-align: right;}
  br.sp_br       {display: none;}
}


/* 2017/04/23 - column.php コラムニスト別記事一覧 */
.column_index {background-color: #666;}
div#content pre {
  margin: 0;
  font-family: 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, 'Meiryo',游ゴシック体, "Yu Gothic", YuGothic;
  font-size: 1em;
  white-space: pre-wrap;
  word-wrap: break-word;
}
@media screen and (min-width: 600px) {
  div#content pre { margin: 0 0 10px 30px;}
}
/* 2017/04/23 - index.php  コラムニスト別記事一覧リンク */
div#columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 0 auto;
  width: 100%;}
.columnBox {margin: 0 auto 10px auto; width: 100%; height: 80px;}
@media screen and (min-width: 1000px) {
  .columnBox {width: 350px;}
}
.columnBox H3 {font-size: 1.2em;}
.columnBox:after {
  content: "";
  position: absolute;
  top: -5px; right: -5px;
  width: 20px; height: 20px;
  background: url(./images/column_slash.png) right top no-repeat;
}
div.new_column {
  position: static;
  margin: 2px auto;
  width: 90%;
  overflow: hidden;
  font-size: 100%;
  line-height: 1.2em;
  white-space: nowrap;
  text-overflow: ellipsis;
	color: #d61518;
}
span.new_column {color: #d61518;}
span.new_column img {margin: 0 15px 0 -15px; vertical-align: 0;}
.columnBox .icon_up{margin: 0 5px 0 0; vertical-align: 0;}

/* hideki.c for kk_course_keikou */
.keikou_menus {
        justify-content: space-around;
        -webkit-justify-content: space-around;
        margin: 0 auto 8px auto;
        width: 98%;
        border: 1px solid #000;
        font-size: 0.9em;
}
.keikou_menu_item {
        margin: 0 -1px;
        width: 50%;
        border-bottom: 1px solid #000;
        border-right: 1px solid #000;
        line-height: 2em;
        text-align: center;
}
.keikou_menu_item.selected {font-weight: bold;}
/*.keikou_menu_item:nth-child(7), .menu_item:nth-child(8)
        {border-bottom: none;}
*/
.keikou_menu_item:nth-child(even) {border-right: none;}

@media screen and (min-width: 1000px){
        .keikou_menus {display: block;}
        .keikou_menu_item      {
                margin: 2px 0;
                padding: 0 8px;
                width: auto;
                border-right: 1px solid #000;
                border-bottom: none;
        }
        .keikou_menu_item:nth-child(even) {border-right: 1px solid #000;}
        .keikou_menu_item:last-child      {border-right: none;}
}
@media screen and (min-width:1000px) and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0) {
        @media {.keikou_menu_item {padding: 0 19px;}}
}

*{
  user-select: all !important;
  -webkit-user-select: all !important;
  -moz-user-select: all !important;
  -ms-user-select: all !important;
}
body, html, .site-container, .content {
  user-select: all !important;
}
