/*---------- 初期化 ----------*/
p {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
div {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
img {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: middle;
}
label {
	margin: 0;
	padding: 0;
}
button {
	overflow: visible;
	cursor: pointer;
	margin: 0;
	padding: 0;
}
button.logout {
	border-style: none;
	background-color: white;
	width: 55px;
	height: 20px;
}
strong {
	font-weight: bold;
}
/*---------- 全体 ----------*/
html, body {
	margin: 0;
	padding: 0;
	font-family: 'メイリオ',Meiryo;
}
div#frame {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: left;
	border-left: 1px solid #aaaaaa;
	border-right: 1px solid #aaaaaa;
}
div#header {
	position: fixed;
	top: 0;
	/* 左位置は javascript で設定*/
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0;
	text-align: center;
	background-image: url(../images/header.png);
	background-repeat: no-repeat;
	background-position: center;
}
div#logout {
	position: fixed;
	top: 40px;
	width: 100%;
	margin: 5px 0 0 0;
	padding: 0 5px 0 0;
	text-align: right;
}
div#content {
	width: 100%;
	height: 100%;
	margin: 40px 0 30px 0;
	padding: 10px 0 10px 0;
}
div#footer {
	position: fixed;
	/* 先頭位置は javascript で設定*/
	width: 100%;
	height: 30px;
	margin: 0;
	padding: 0;
	text-align: right;
	background-image: url(../images/footer.png);
	background-repeat: no-repeat;
	background-position: right;
	/* color: white; */
	/* background-color: #0067b6; */
}
div.spacer {
	height: 30px;
}
a:link { color: #0067b6; }
a:visited { color: #0067b6; }
a:hover { color: #ff0000; }
a:active { color: #ff8000; }
/*
h1 {
	height: 30px;
	width: 660px;
	margin: 0;
	padding: 0;
	font-size: 150%;
	border-bottom: 3px solid #0067b6;
}
*/
h2 {
	height: 30px;
	width: 660px;
	margin: 0;
	padding: 10px 0 0 0;
	font-size: 150%;
	border-bottom: 3px solid #0067b6;
}

/*---------- ログイン画面 ----------*/
div.login {
	width: 90%;
	margin: 0 auto;
	margin-top: 40px;
	margin-bottom: 40px;
	padding: 20px 10px 20px 10px;
	text-align: center;
	font-size: 120%;
	border: 1px solid #aaaaaa;
}
div.login p.notice {
	width: 100%;
	margin: 0;
	margin-bottom: 10px;
	padding: 0;
	color: red;
	font-size: 80%;
}
div.login label {
	display: block;
	float: left;
	text-align: right;
	width: 100px;
	margin-right: 10px;
}
div.login input {
	width: 150px;
	font-family: 'メイリオ',Meiryo;
}
div.notice {
	width: 100%;
	margin: 0 auto;
	margin-left: 20px;
	text-align: left;
}

/*---------- 予定画面 ----------*/
div.schedule {
	margin: 20px 10px 0 10px;
}

li.past {
	color: gray;
}

/*---------- 結果一覧画面 ----------*/
div.jid {
	width: 45%;
	margin-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	float: left;
}
div.jid h1 {
	height: 30px;
	margin: 0 0 5px 0;
	padding: 0;
	font-size: 150%;
	border-bottom: 3px solid #0067b6;
}
div.jid p {
	margin-left: 10px;
}

div.exam {
	width: 45%;
	margin-left: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	float: left;
}
div.exam h1 {
	height: 30px;
	margin: 0 0 5px 0;
	padding: 0;
	font-size: 150%;
	border-bottom: 3px solid #0067b6;
}
div.exam p, select {
	margin-left: 10px;
}

h2.result {
	height: 30px;
	width: 95%;
	margin: 0 0 0 10px;
	padding: 10px 0 0 0;
	font-size: 150%;
	border-bottom: 3px solid #0067b6;
}

div.legend {
	width: 95%;
	margin-left: 10px;
	padding: 10px 0 2px 0;
	text-align: right;
	font-size: 80%;
}
div.legend img {
	width: 23px;
	height: 24px;
}
table.result {
	width: 95%;
	margin-left: 10px;
	border-collapse: collapse;
	border: 1px solid #aaaaaa;
}
table.result td, th {
	border: 1px solid #aaaaaa;
}
table.result th {
	font-weight: bold;
	text-align: center;
}
table.result td.icon {
	text-align: center;
	width: 40px;
}
table.result td.dept {
	text-align: left;
	padding-left: 5px;
}
table.result td.result1 {
	text-align: center;
	color: red;
	width: 80px;
}
table.result td.result2 {
	text-align: center;
	width: 80px;
}
table.result td.detail {
	text-align: center;
	width: 80px;
}
table.result td.detail button {
	border: 0;
	background-color: white;
	width: 50px;
	height: 28px;
}

/*---------- エラー画面 ----------*/
p.error {
	margin: 30px 10px 0 20px;
}
p.totop {
	margin-top: 20px;
	margin-left: 20px;
}
