/* main.css
*
*  for Toyama WaterPolo Web
*  <Rev.hist>
*  2008/10/11 V2.00 KZY
*
*/
body
{
	font-family: sans-serif;
	background-color: white;
	color: black;
	margin: 0px;
	text-align: left;
	letter-spacing: 0.1em;
/*	text-indent: 0.2em;*/
	line-height: 1.2em;
}
/* ちょっと小さめの茶色にする */
span
{
	color: #990000;
	font-size: 85%;
	margin-top: 0px;
}
/* リンク */
a
{
	color: blue;
}
a:hover
{
	background-color: #CCFFFF;
}
/* 段落 */
p
{
	margin: 0px 0px 0px 30px;
	padding: 1em;
/*	width: 90%;*/
}
p.right
{
	text-align: right;
}
p.def
{
	background-color: #66CCFF;
	padding-left: 2px;
	margin: 0px 0px 2px 0px;
	font-weight: bold;
}
/* 大項目 */
h1
{
	padding-left: 1em;
	margin-left: 50px;
	font-style: italic;
	color: blue;
}
/* 中項目 */
h2
{
	margin: 10px 0px 0px 10px;
	padding: 3px;
	border: solid #66CCFF;
	border-width: 1px 1px 3px 8px;
	width: 95%;
	background-color: #CCFFFF;
}
h3
{
	margin: 10px 0px 0px 20px;
	padding: 3px;
	border: solid #66CCFF;
	border-width: 0px 0px 1px 6px;
	width: 93%;
}
h4
{
	margin: 0px 0px 0px 20px;
	padding: 0px 3px;
	border: solid #66CCFF;
	border-width: 0px 0px 0px 15px;
}
h5
{
	margin: 0px 0px 0px 30px;
	padding: 0px 3px;
	border: groove #66CCFF;
	border-width: 0px 0px 0px 3px;
}
blockquote
{
	margin-top: 2px;
	margin-left: 1em;
}
/* 画像 */
img
{
	margin: 0px;
	border: 0px;
}
img#illust
{
	position: absolute;
	left: 2px;
	top: 10px;
}
img#illust2
{
	position: absolute;
	right: 10px;
	top: 80px;
}
/*
img#counter
{
	position: absolute;
	top: 0px;
	right: 30px;
}*/
/* 表 */
caption
{
	caption-side: top;
	text-align: left;
	font-size: 150%;
	margin-bottom: 2px;
}

table
{
	margin: auto;
	margin-top: 5px;
/*	margin-bottom: 20px;*/
	width: 90%;
	font-size: 90%;
	border-collapse: collapse;
	border: 1px solid black;
}
table th, td
{
	border: 1px solid black;
	padding: 0px 2px;
}
table th
{
	background-color: #CCFFFF;
}
/* 著作 */
address
{
	text-align: center;
}
/*#####################################################*/
/* タイトル */
div#title
{
/*	text-align: center;*/
	margin: 0px;
	background-color: #CCFFFF;
	border: solid black;
	border-width: 1px 1px 1px 1px;
/*	margin-top: 5px;*/
}
div#title a
{
	text-decoration: none;
	background-color: transparent;
}

/*#####################################################*/
/* メニュー */
div#menu
{
	margin: 0px;
	background-color: blue;
	padding: 2px 2px;
	letter-spacing: 0px;
	border: solid black;
	border-width: 0px 1px 1px 1px;
}
/* メニューのリスト */
div#menu ul
{
	color: white;
	margin: 0px;
	margin-left: 70px;
}
/* メニューのリストの項目 */
div#menu li
{
	display: inline;
	list-style-type: none;
	font-size: 11pt;
	font-weight: bold;
	margin: 0px 0.3em;
}
/* メニューのリストのリンク */
div#menu a
{
	color: white;
}
div#menu a:hover
{
	color: #0000CC;
}

/*#####################################################*/
/* リスト */
div#list
{
	border: solid black;
	border-width: 0px 1px 1px 1px;
	width: 200px;
	float: right;
	font-size: 80%;
}
div#list p
{
	margin: 0px;
	padding: 2px 4px;
}
div#list a
{
	color: black;
}
/*#####################################################*/
/* ページ */
div#page
{
	margin-right: 210px;
}
div#page p
{
	margin-left: 1em;
}
div#page h2, h3, h4, p.right
{
	clear: left;
}
div#page h3 a:hover
{
	background-color: white;
}

/*#####################################################*/
/* 著作権 */
div#copyright
{
	margin: 0px;
/*	margin-bottom: 25px;*/
	text-align: center; 
	color: white;
	border: solid black;
	border-width: 1px 1px 1px 1px;
	font-size: 80%;
	background-color: blue;
	clear: both;
}

/*#####################################################*/
/* 印刷用 */
@media print{
*{
	color: black !important;
	background-color: white !important;
	border-color: black !important;
}
a{	text-decoration: none;}
div#menu, div#menu *, div#copyright{ background-color: #DDDDDD !important;}
img#illust, img#illust2, img#counter
{	top: 10px;
	display: none;
}


}