/*
   CSS Stickey Footer http://www.cssstickyfooter.com/using-sticky-footer-code.html
*/

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

#wrap {min-height: 100%;}

#main {
	overflow:auto;
	padding-bottom: 30px;	/* must be same height as the footer */
}

#header {
	background-color: #ccccff;
	height: 50px;
}

#header a { text-decoration: none; color: #000; }

#footer {
	position: relative;
	margin-top: -30px; /* negative value of footer height */
	height: 30px;
	clear:both;
	background-color: #ccccff;
}

/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;/
}

/* menu */
#menu {
	clear: both;
}

#menu ul {
	margin: 0;
	padding: 0;
	line-height: 1;
	background-color: #eee;
	list-style-type: none;
}

#menu ul li {
	margin: 0;
	padding: 0;
	float: left;
	/* 固定幅にしたかったら
	width: 110px;
	*/
	text-align: center;
	font-size: 12px; /* 文字サイズ */
}

#menu ul li a {
	border-right: 1px solid #666;
	padding: 7px 20px;
	display: block;
	position: relative; /* for IE6 */
	color: #fff;
	background-color: #333;
	text-decoration: none;
}

#menu ul li a:hover {
	border-color: #ccc;
	color: #333;
	background-color: #ccc;
}

/* ClearFix */

#menu ul {
	_height: 1px;
	min-height: 1px;
	/*\*//*/
	height: 1px;
	overflow: hidden;
	/**/
}

ul.menu:after {
	height: 0;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}


/*
.Aftermenu p {
   clear: left;
}
*/

h1 {
	font: 120% "Times New Roman", Times, serif;
	letter-spacing: 0.2em;
	margin: 0 0 2px 0;
	padding-bottom: 2px;
	padding-top: 5px;
}

h2 {
	font: 110% "Times New Roman", Times, serif;
	letter-spacing: 0.2em;
	margin: 15px 0 2px 0;
	padding-bottom: 2px;
}


#site-title {
	float: left;
	margin: 0 0 18px 0;
	width: 500px;
	font-size: 16px;
	line-height: 12px;
}

#loginbox {
	clear: right;
	float: right;
	font-style: italic;
	margin: 14px 0 18px 0;
	width: 220px;
}

.error {
	color: #ff0000;
	font-size: 90%;
	font-style: italic;
}

/* input table */
table.inp {
	width: 100%;
    border: 1px #E3E3E3 solid;
    border-collapse: collapse;
    border-spacing: 0;
}

table.inp th {
    padding: 2px;
    border: #E3E3E3 solid;
    border-width: 0 0 1px 1px;
    background: #F5F5F5;
    font-weight: normal;
    line-height: 120%;
    text-align: right;
}
table.inp td {
    padding: 2px;
    border: 1px #E3E3E3 solid;
    border-width: 0 0 1px 1px;
}

/* list table */
table.list {
	width: 100%;
    border: 1px #E3E3E3 solid;
    border-collapse: collapse;
    border-spacing: 0;
}

table.list th {
    padding: 2px;
    border: #E3E3E3 solid;
    border-width: 0 0 1px 1px;
    background: #F5F5F5;
    font-weight: normal;
    line-height: 120%;
    text-align: center;
}
table.list td {
    padding: 2px;
    border: 1px #E3E3E3 solid;
    border-width: 0 0 1px 1px;
}

#content {
	margin-left: 10px;
	margin-right: 10px;

/*	padding-left: 10px;
	padding-right: 10px; */
}