/* ************************************************************************** */
/* 共通                                                                       */
/* ************************************************************************** */
BODY
{
	background-color: #fff;
	color: #000;
	margin: 0;
	padding: 10px;
	font-size: small;
	text-align: left;
}

IMG
{
	border: none;
}

H1
{
	height: 25px;
	font-weight: bold;
	font-size: large;
	padding: 0 0 0 20px;
	background-repeat: no-repeat;
}

H1.pg1 {background-image: url("/images/pagetitle1.png");}
H1.pg2 {background-image: url("/images/pagetitle2.png");}
H1.pg3 {background-image: url("/images/pagetitle3.png");}
H1.pg4 {background-image: url("/images/pagetitle4.png");}
H1.pg5 {background-image: url("/images/pagetitle5.png");}
H1.pg6 {background-image: url("/images/pagetitle6.png");}
H1.pg7 {background-image: url("/images/pagetitle7.png");}
H1.pgb {background-image: url("/images/pagetitle_sr.png");}
H1.il	{display: inline; padding: 0;}


H2
{
	display: inline;
	font-weight: bold;
	font-size: medium;
	padding: 0 5px;
}
H2.head:before
{
	margin: 0 5px 0 0;
	content: url("/images_com/hizume.png");
}

H3
{
	font-size: small;
	display: inline;
	margin: 10px 0 10px 10px;
}

H3.head:before
{
	content: url("/images_com/marker.png");
}

H4
{
	font-weight: bold;
	font-size: small;
	display: inline;
}

HR
{
	margin: 10px 0;
	border-bottom: 1px solid #9c9;
}

TABLE
{
	border: none;
	border-collapse: collapse;
}

TABLE.new
{
	border: none;
}

TD
{
	vertical-align: middle;
	border: 1px solid #000;
	padding-left: 3px;
}

TD.noborder
{
	border: none;
	vertical-align: top;
}

OL
{
	list-style-position: outside;
}

/* ************************************************************************** */
/* ページの構成(全ページ共通)                                                 */
/* ************************************************************************** */
/* ページ全体 */
#wrapper
{
	width: 900px;
	margin: 0 auto;
	background-image: url("/images_com/background.png");
	background-color: #fff;
	padding: 0;
}

/* タイトル部 */
#title
{
	width: 880px;
	height: 267px;
	margin: 0 10px;
	padding: 0;
	background-image: url("/images/topimage.jpg");
	border-bottom: 2px solid #000;
	text-align: right;
}

#title_m
{
	width: 880px;
	height: 98px;
	margin: 0 10px;
	padding: 0;
	background-image: url("/images/title_mem.jpg");
}

#title_sbm
{
	width: 880px;
	height: 150px;
	margin: 0 10px;
	padding: 0;
	background-image: url("/images/title_sbm.jpg");
	border-bottom: 1px solid #000;
}

/* Java Scriptが無効の時の画像 */
#topimagenoscript
{
	width: 339px;
	height: 120px;
	float: right;
}

/* メニュー */
#menubar
{
	width: 870px;
	margin: 0 10px;
	padding: 0 5px;
	height: 25px;
	background-color: #fff;

}

/* メインの部分 */
#content
{
	width: 850px;
	margin: 0 10px;
	padding: 10px 15px;
	background-color: #fff;
	color: #000;
	text-align: left;
	border-top: 1px solid #000;
}

/* POGのヘッダ部分 */
#pogheader
{
	width: 840px;
	margin: 0 10px;
	padding: 0 20px;
	border-top: 1px solid #000;
}

/* タブの部分 */
#tab_main
{
	width: 840px;
	text-align: right;
	border-bottom: 2px solid #393;
	margin:10px 0;
	padding: 10px 0;
	font-size: medium;
}

#tab1area
{
	display: block;
}

#tab2area,#tab3area
{
	display: none;
}

.tab_on
{
	margin: 10px 0px;
	padding: 5px 8px 0 8px;
	border: 1px solid #393;
	background-color: #393;
	color:#fff;
	font-weight: bold;
}
.tab_off
{
	margin: 10px 0px;
	padding: 5px 8px 0 8px;
	border: 1px solid #393;
	background-color: #fff;
	color:#393;
	font-weight: bold;
}

/* メインの部分 */
#content_message
{
	width: 840px;
	margin: 0 10px;
	padding: 20px;
	background-color: #fff;
	color: #000;
	text-align: left;
	border-top: 1px solid #000;
}

#content_sr
{
	width: 860px;
	margin: 0 10px;
	padding: 10px;
	background-color: #fff;
	color: #000;
	text-align: left;
	border-top: 1px solid #000;
}

/* フッタの部分 */
#contentfoot
{
	width: 870px;
	margin: 0 10px;
	padding: 10px 5px;
	clear: both;
	background-color:#fff;
	color: #000;
}

/* ページの一番下 */
#footer
{
	width: 900px;
	margin: 0 auto;
	height: 20px;
	vertical-align: top;
}

/* メニューを飛ばすリンク(通常表示しない) */
#skip
{
	display: none;
}

.skip
{
	display: none;
}

/* ************************************************************************** */
/* ページの構成(wwwのみ)                                                      */
/* コンテンツの中身                                                           */
/* ************************************************************************** */
/* 各内容の枠 */

/* Box Hack使用 *********************
 * IE5&5.5はmargin:0とする。
 * それ以外のブラウザはmargin:8px 0
 */
.main
{
	width: 830px;
	padding: 5px;
	margin: 0;
	voice-family: "\"}\"";
	voice-family: inherit;
	margin: 8px 0;
	clear: both;
}

/* 段組み左 */
.dan_l
{
	width: 47%;
	float: left;
	padding: 0;
}

/* 段組み右 */
.dan_r
{
	width: 47%;
	float: right;
	padding: 0;
}

/* サイドメニュー */
.sidemenu
{
	width: 165px;
	float: left;
	border-right: 2px groove #393;
	margin-right: -2px;
	padding: 5px 10px 0 6px;
}

.mainpart
{
	width: 650px;
	float: right;
	border-left: 2px groove #393;
	margin-left: -2px;
	padding: 5px 0 0 17px;
}

/* ************************************************************************** */
/* ページの構成(blogのみ)                                                     */
/* ************************************************************************** */
/* タイトル部(blog) */
#title_sr
{
	width: 880px;
	height: 80px;
	margin: 0 10px;
	padding: 0;
	background-color: #eff;
	color: #000;
	border-bottom: 1px solid #000;
}

/* 段組み左(blog) */
.dan_blog_l
{
	width: 670px;
	float: right;
	padding: 5px 0 0 0;
}

/* 段組み右(blog) */
.topic_sr
{
	width: 160px;
	float: left;
	border-right: 2px dashed #00f;
	padding: 5px 10px 0 0;
}

/* ************************************************************************** */
/* テキスト関連                                                               */
/* ************************************************************************** */
/* 文字大きめ */
.main_l
{
	font-size: large;
}

/* 文字やや大きめ */
.main_m
{
	font-size: medium;
}

/* 文字小さめ */
.main_s
{
	font-size: x-small;
}
/* 文字小さめ */
.main_ss
{
	font-size: xx-small;
}

/* 太文字 */
.bold
{
	font-weight: bold;
}

/* 赤文字 */
.moji_r,.caution
{
	color: #F33;
	font-weight: bold;
}

/* 赤文字 */
.caution:before
{
	content: url("/images/caution.png");
}

/* 緑文字 */
.moji_g
{
	background-color: #fff;
	color: #060;
	font-weight: bold;
}

/* 青文字 */
.moji_b
{
	color: #33f;
	font-weight: bold;
}

/* G1/1着(赤の箱) */
.G1
{
	padding: 2px;
	background-color: #ff9f9f;
	border: solid 1px #000
}

/* G2/2着(青の箱) */
.G2
{
	padding: 2px;
	background-color: #9f9fff;
	border: solid 1px #000
}

/* G3/3着(緑の箱) */
.G3
{
	padding: 2px;
	background-color: #9fff9f;
	border: solid 1px #000
}

/* 枠番につける枠 */
.waku
{
	padding: 2px;
	border: 1px solid #000;
}

/* 枠番 */
.waku1 {background-color: #fff; color: #000; }
.waku2 {background-color: #9f9f9f; color: #000;}
.waku3 {background-color: #ff9f9f; color: #000;}
.waku4 {background-color: #9f9fff; color: #000;}
.waku5 {background-color: #ffff9f; color: #000;}
.waku6 {background-color: #9fff9f; color: #000;}
.waku7 {background-color: #ffbf9f; color: #000;}
.waku8 {background-color: #ff9fbf; color: #000;}

/* 着順 */
.chaku1 {background-color: #fff0f0; color: #000;}
.chaku2 {background-color: #f0f0ff; color: #000;}
.chaku3 {background-color: #e0ffe0; color: #000;}

.bg-no1	{ padding: 2px; border-radius: 0.2em; background-color: #000099; color: #ffffff; font-weight: bold; }
.bg-no2	{ padding: 2px; border-radius: 0.2em; background-color: #990033; color: #ffffff; font-weight: bold; }
.bg-no3	{ padding: 2px; border-radius: 0.2em; background-color: #006600; color: #ffffff; font-weight: bold; }
.bg-no4	{ padding: 2px; border-radius: 0.2em; background-color: #000000; color: #ffff9f; font-weight: bold; }
.bg-no5	{ padding: 2px; border-radius: 0.2em; background-color: #ffffff; color: #000099; border: solid 0.05em black; font-weight: bold; }
.bg-no6	{ padding: 2px;	border-radius: 0.2em; color: #000099; font-weight: bold; }
.bg-no7	{ padding: 2px; border-radius: 0.2em; color: #990033; font-weight: bold; }
.bg-no8	{ padding: 2px; border-radius: 0.2em; color: #006600; font-weight: bold; }

.category { padding: 2px 4px; margin:2px; border-radius: 1em; border: solid 1px #000;font-weight: bold; }
.categ_1 { background-color: #0000ff; color:#ffffff; } /* クラシック */
.categ_2 { background-color: #00FFFF; color:#000000; } /* 短距離 */
.categ_3 { background-color: #FFA500; color:#ffffff; } /* マイル */
.categ_4 { background-color: #A52A2A; color:#ffffff; } /* 砂 */
.categ_5 { background-color: #ADFF2F; color:#000000; } /* 即戦力 */
.categ_6 { background-color: #ff0000; color:#ffffff; -webkit-animation: 0.5s linear 0s alternate none infinite running blink; -moz-animation: 0.5s linear 0s alternate none infinite running blink; animation: 0.5s linear 0s alternate none infinite running blink; } /* べた */
.categ_7 { background-color: #FFFF00; color:#000000; } /* 奇襲 */

@-webkit-keyframes blink {
	   0% { opacity: 0; }
	19.9% { opacity: 0; }
	  20% { opacity: 1; }
	 100% { opacity: 1; }
}
@-moz-keyframes blink {
	   0% { opacity: 0; }
	19.9% { opacity: 0; }
	  20% { opacity: 1; }
	 100% { opacity: 1; }
}
@keyframes blink {
	   0% { opacity: 0; }
	19.9% { opacity: 0; }
	  20% { opacity: 1; }
	 100% { opacity: 1; }
}

/* テキスト真ん中寄せ */
.text-c
{
	text-align: center;
}

/* テキスト右寄せ */
.text-r
{
	text-align: right;
}

/* テキスト右寄せ */
.text-l
{
	text-align: left;
}

/* テキスト上寄せ */
.text-u
{
	vertical-align: top;
}

/* 改行なし */
.nowrap
{
	white-space: nowrap;
}

/* 行間広め(1.8) */
.linewide
{
	line-height: 1.8;
}
/* 行間やや広め(1.3) */
.line13
{
	line-height: 1.3;
}
/* 行間やや広め(1.5) */
.line15
{
	line-height: 1.5;
}
/* 行間せまめ(1.1) */
.line10
{
	line-height: 1.1;
}

/* ************************************************************************** */
/* イメージ関連                                                               */
/* ************************************************************************** */
/* 黄色い四角 */
.soonimg
{
	padding: 5px 0;
	vertical-align: middle;
}

/* 天気予報 */
.weatherimg
{
	vertical-align: middle;
	width: 25px;
	height: 16px;
}

/* 天気予報 new */
.img_weather
{
	vertical-align: middle;
	width: 24px;
	height: 24px;
}

.img_weather_min
{
	width: 16px;
	height: 16px;
}

/* ブラウザアイコン(readme) */
.browser
{
	width: 32px;
	height: 32px;
}

/* topicの各アイコン */
.topicicon
{
	width: 30px;
	height: 30px;
	vertical-align: middle;
	float: left;
	margin: 0 5px 0 0;
}

/* 「的中」「ハズレ」アイコン */
.tipimg_m
{
	vertical-align: middle;

}

/* ************************************************************************** */
/* フォーム関連                                                               */
/* ************************************************************************** */
/* フォームのプルダウン */
.form-select
{
	background-color: #36e;
	color: #fff;
	border: 3px solid #25d;
	font-weight: bold;
}

/* フォームのテキストボックス */
.form-text
{
	border: 2px ridge #006;
	font-weight: bold;
	margin: 5px;
}

/* フォームのボタン(中央) */
.form-button
{
	background-color: #006;
	color: #fff;
	font-size:medium;
	font-weight: bold;
	border: 3px outset #003;
	padding: 2px;
}

/* フォームのボタン小(中央) */
.form-button-min
{
	background-color: #006;
	color: #fff;
	font-size:x-small;
	font-weight: bold;
	border: 3px outset #003;
	padding: 2px;
}

/* フォームのボタン(地方) */
.form-button-nar
{
	background-color: #363;
	color: #fff;
	border: 3px outset #252;
	width: 100%;
	padding: 2px;
}

/* フォームのボタン:マウスオーバー */
/*.form-button:hover
{
	color: #ff0;
	background-color: #00f;
}*/

/* ************************************************************************** */
/* 各ページ固有のスタイル                                                     */
/* ************************************************************************** */
/* 競走馬詳細の血統：父の枠 */
.male
{
	background-color: #f0f0ff;
}

/* 競走馬詳細の血統：母の枠 */
.female
{
	background-color: #fff0f0;
}

/* 来週の出走予定馬(index,sitemap) のなか */
.entry
{
	padding: 3px 0;
}

/* 更新履歴(index) */
.lastupd
{
	white-space: nowrap;
	vertical-align: top;
}

/* サイトマップ内の枠 */
.sitemap
{
	border: 1px solid #396;
	margin: 10px;
	padding: 5px;
}

/* 前レース(entry,racedetail) */
.befrace
{
	float: left;
}

/* 次レース(entry,racedetail) */
.nexrace
{
	float: right;
}

/* 着順(entry) */
.order
{
	font-size: medium;
	font-weight: bold;
	display: inline;
}

/* コンテンツ高さ500px固定(entrytmp,votevote) */
.height500
{
	height: 500px;
	overflow: auto;
}

/* 払戻金速報のボタン */
.sokuhobtn
{
	width: 15%;
	font-size: x-small;
}

.sokuhobutton
{
	width: 80px;
	font-size: x-small;
}

dd.entry
{
	border:1px dotted #999;
}

/* リスト系共通(メニューのプルダウン、タブ) */
ul
{
	padding:0;
}

li
{
	list-style-type: none;
	float:left;
	vertical-align: middle;
}


/***** メニューバーのプルダウン用 *****/
ul.menu
{
	text-align: left;
	margin: 0;
}

ul.hd
{
	display: none;
	position:absolute;
	top:25px;
	left:0;
}
.hd a {display: block; border:1px #999 solid; width: 180px; padding:5px; background-color: #fff}
.hd div {display: block; border:1px #999 solid; width: 300px; padding:5px; background-color: #fff}
.hd a:hover {background-color: #fff}
.on {position:relative;}
.on .hd {display: block}
.off,.on
{
	height:15px;
	padding:5px;
}

li.tab
{
	padding: 0 5px;
}

/* タブの選択された部分 */
ul.tab li a.selected
{
	font-weight: bold;
	text-decoration: none;
	cursor: default;
	color: #000;
}

/* 初期表示、パネルを消しておく */
ul.panel {
	display: none;
}
div.loading {
	display:block;
	height: 100px;
	background: url('/images/load.gif') no-repeat center center;
}


/* タブの各パネル */
ul.panel li
{
	width: 640px;
	padding: 5px;
}

/** 新しいBOX **/
.subbox
{
	border-collapse:collapse;
}

.subbox-lt
{
	border: none;
	width: 25px;
	padding: 0;
	background-image: url('/images/subbox-lt.png');
	background-repeat: no-repeat;
}

.subbox-top
{
	border: none;
	background-image: url('/images/subbox-top.png');
	background-repeat: repeat-x;
	padding: 5px 0 0 0;
}

.subbox-rt
{
	border: none;
	width: 25px;
	padding: 0;
	background-image: url('/images/subbox-rt.png');
	background-repeat: no-repeat;
}

.subbox-l
{
	border: none;
	width: 25px;
	padding: 0;
	background-image: url('/images/subbox-left.png');
	background-repeat: repeat-y;
}

.subbox-r
{
	border: none;
	width: 25px;
	padding: 0;
	background-image: url('/images/subbox-right.png');
	background-repeat: repeat-y;
}

.subbox-lb
{
	border: none;
	width: 25px;
	height: 25px;
	padding: 0;
	background-image: url('/images/subbox-lb.png');
	background-repeat: no-repeat;
}

.subbox-bottom
{
	border: none;
	background-image: url('/images/subbox-bottom.png');
	background-repeat: repeat-x;
	padding: 0;
}

.subbox-rb
{
	border: none;
	width: 25px;
	padding: 0;
	background-image: url('/images/subbox-rb.png');
	background-repeat: no-repeat;
}

/* 読み込み中画像 */
.loading
{
	height: 100px;
	background: url('/images/load.gif') no-repeat center center;
}

button.sokuho
{
	padding:2px;
	border: solid 1px #030;
	background-color: #030;
	color: #fff;
	font-size:x-small;
	font-weight: bold;
}

span.head
{
	background-color: #ff6;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	padding: 3px;

}

div#modal {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
}

div#modal div.background {
	position: fixed;
	width: 100%;
	height: 100%;
}

div#modal div.container {
	position: relative;
	width: 265px;
	height: 150px;
	background-color: #fff;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border: solid 2px #696;
}

/* ツールチップ */
div#title-tip {
	margin: 0 1em 0 0;
	text-align: left;
	border: solid #ccc 1px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	padding: .3em .5em;
	background: #fff;
}

.sat	{background-color:#ddf;}
.sun	{background-color:#fdd;}

.tablehead {
	background-color:#dfd;
	padding:3px;
	font-weight: bold;
}

.twtr-hd	{ display: none; }
.twtr-ft	{ display: none; }
.twtr-user	{ display: none !important; }
.twtr-avatar	{ display: none !important; }
.twtr-tweet-text { margin-left: 0 !important; width:158px !important; }

.twtr-tweet-wrap {
	margin: 0;
	padding: 8px 0 !important;
}

.header_search {
	color:#969696;
	background-image: url('/images/textback150.gif');
	width:170px;
	height: 19px;
	padding: 3px 5px;
	border:none;
	vertical-align:top;
}

.search-text {
	color:#969696;
}

.inithide { display: none; }

.topinfo {
	background-color:#fff;
	color:#000;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	width:200px;
	padding: 5px;
	float:right;
	filter: alpha(opacity=50);
	-moz-opacity:0.50;
	opacity:0.50;
}

.topinfo_sbm {
	background-color:#fff;
	color:#000;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	width:auto;
	padding: 10px 20px;
	float:right;
	filter: alpha(opacity=80);
	-moz-opacity:0.80;
	opacity:0.80;
}

dt.sitemap {
	font-size: medium;
	font-weight: bold;
}

iframe.twitter-timeline {
	width: 160px !important;
}
#twitter-widget-0 {
	width: 160px !important;
	min-width: 160px !important;
}

iframe.twitter-timeline.head {
	display: none;
}

.h_name_1,.h_name_3
{
	color: #0000ff;
	font-weight: bold;
}
.h_name_2
{
	color: #FF0000;
	font-weight: bold;
}


.scroll table {
	width:auto;
}

.scroll {
	overflow: auto;
	white-space: nowrap;
}

.scroll::-webkit-scrollbar {
	height: 5px;
}

.scroll::-webkit-scrollbar-track {
	background: #F1F1F1;
}

.scroll::-webkit-scrollbar-thumb {
	background: #BCBCBC;
}
/* ツールチップ */
div#title-tip {
	margin: 0 1em 0 0;
	text-align: left;
	border: solid #ccc 1px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	padding: .3em .5em;
	background: #fff;
}
