body {
	font-family: Arial, Sans-serif;
}
div.grayBorder {
	border-style: solid;
	border-width: 1px;
	border-color: #a0a0a0;
	padding: 0.25em;
}
div.padded {
	padding: 0.25em;
}

.left {
	text-align: left;
}
.right {
	text-align: right;
}
.center {
	text-align: center;
}
.nowrap {
	white-space: nowrap;
}

.darkGray {
	color: #404040;
}
.gray {
	color: #808080;
}

span.weak {
	color: #808080;
	font-size: smaller;
}

a:link, a:visited {
	color: blue;
	text-decoration: none;
}

a:hover {
	background-color: #c0c0ff;
}

li {
	list-style-type: none;
}

table {
	border-collapse: collapse;
}
td, th {
	padding: 2px;
	vertical-align: middle;
	min-width: 1ex;
}
th {
	font-weight: normal;
	text-align: center;
}
table.grayBorder, table.grayBorder th, table.grayBorder td {
	border: 1px solid gray;
}
table.noBorder, table.noBorder th, table.noBorder td {
	border: 0px;
}
table.cellCenter td, th.cellCenter, td.cellCenter {
	text-align: center;
}
table.cellRight td, th.cellRight, td.cellRight {
	text-align: right;
}

tr.weak th, tr.weak td {
	color: #808080;
	font-size: smaller;
}

td.gapLeft {
	padding-left: 1ex;
}
td.horiGap, th.horiGap {
	border-top: hidden;
	border-bottom: hidden;
	background-color: white;
}

tr.notApplicable, td.notApplicable {
	background-color: #e0e0e0
}
tr.legalHoliday, td.legalHoliday {
	background-color: #ffe0e0;
}
tr.holiday, td.holiday {
	background-color: #e0e8ff;
}

td.notApplicable, th.notApplicable, a.notApplicable {
	color: gray;
}
td.legalHoliday, th.legalHoliday, a.legalHoliday {
	color: red;
}
td.holiday, th.holiday, a.holiday {
	color: blue;
}
td.workingDay, th.workingDay, a.workingDay {
	color: black;
}

input, select {
	margin: 1px;
}
input {
	padding-right: 1px; /* IE: 0 だと空の時カーソルが見えない */
}

input[type = 'submit'], input[type = 'button'] {
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 2px;
	padding-right: 2px;
}

input.number {
	width: 3em;
	text-align: right;
}
input.date {
	width: 5.5em;
}
input.time {
	width: 3em;
	text-align: right;
}
input.timestamp {
	width: 20ex;
}

#header, #footer {
	font-size: 0.9em;
}

#header {
	position: fixed;
	width: 100%;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
	background-color: #1a67a7;
	color: white;
}
#header a:link, #header a:visited {
	color: #c0c0ff;
	text-decoration: none;
}
#header a:hover {
	color: white;
	background-color: #c0c0ff;
}

#nav {
	left: 0.25em;
	margin-bottom: 0.5em;
}

#navBottomContainer {
	 clear: both;
	 position: relative;
	 z-index: 10;
	 height: 4.5em;
	 margin-top: -4.5em;
}

#nav, #navBottom {
	font-size: 0.9em;
	padding-left: 0.5em;
	border-style: solid;
	border-width: 1px;
	border-color: #a0a0a0;
}

#nav ul, #navBottom ul {
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}

#nav li, #navBottom li {
	display: inline; 
	margin-left: 0.5em;
	margin-right: 0.5em;
}

#com {
	margin-top: 0.25em;
	margin-bottom: 0.25em;
	background-color: #ffff00;
}

#container2 {
	padding-left: 0.25em;
	padding-top: 1.75em;
	padding-right: 0.25em;
}

.error {
	color: red;
	font-weight: bold;
}
.warn {
	color: #f08000;
	font-weight: bold;
}

#blind {
	display:none;
	top: 0;
	left:0;
	width: 100%;
	height: 100%;
	position: fixed;
	background-color: #e0ffff;
	filter: alpha(opacity=0.5);
	-ms-filter: "alpha(opacity=50)"; /* IE8 */
	moz-opacity: 0.5;
	opacity: 0.5;
	z-index: 100;
}

#monthlyTable {
	margin-top: 0.25em;
}

/* http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/ */
#footer {
	 clear: both;
	 position: relative;
	 z-index: 10;
	 height: 3em;
	 margin-top: -3em;
}
#content {
	padding-bottom: 5em;
}
html, body, #container {
	height: 99%; /* making this 100% causes the vertical scrollbar to show up when the content is small, in IE8, FireFox6, Chrome13 */
}
body #container {
	padding: 0;
	height: auto;
	min-height: 100%;
}

/* http://norisfactory.com/stylesheetlab/000046.php */
.clearfix:after {
	content: "";
	display: block;
	clear: both;
	height: 0;
}
.clearfix { display: inline-block; }
.clearfix { display: block; }

.dialog {
	display: none;
	top: 40%;
	left: 40%;
	position: fixed;
	border: 0.5em ridge #1a67a7;
	padding: 0.5em 0.5em 0.5em 0.5em;
	font-size: 80%;
	background-color: #add8e6;
	filter: alpha(opacity=0.9);
	-ms-filter: "alpha(opacity=90)"; /* IE8 */
	moz-opacity: 0.9;
	opacity: 0.9;
	z-index: 200;
}

input.decoratedButton {
	width: 8em;
	margin: 0.3em 0em 0.3em 1em;
	padding: 0.2em 0em 0.3em 0em;
	font-size: small;
	color: #2b78c9;
	background: #ffffff;
	border: solid 0.1em #2b78c9;
	border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	cursor: pointer;
}
input.decoratedButton:focus {
	color: #ffffff;
	background: #2b78c9;
	font-weight: bold;
}
input.decoratedButton:hover { /* IE6 では a 以外の hover に未対応 */
	color: #ffffff;
	background: #2b78c9;
	font-weight: bold;
}
