#header {
	width: 95%;
	background-color: #000080;
	/*
	background-image: url("./cube.gif");
	background-repeat: no-repeat;
	background-position: right bottom;
	*/
	padding: 0px 7px;
}
#contents {
	width: 95%;
	padding: 20px 5px;
	border-top: 0px solid #000080;
	border-bottom: 2px solid #000080;
	border-left: 2px solid #000080;
	border-right: 2px solid #000080;
}
#footer {
	width: 95%;
}

#system_title {
	font-size: 18px;
	color: #EEF;
	margin-top: 10px;
	margin-left: 5px;
}

#main_menu {
	height:40px;  
	margin: 0 10px; 
	padding :0;
}
#main_menu ul { 
	margin: 0; 
	padding :0; 
	list-style-type : none; 
}
#main_menu li { 
	display : inline; 
	padding :0; 
	margin:0; 
	float:left;
}
#main_menu a {
	display:block;
	border-bottom:1px solid #aac; 
	border-top:1px solid #aac; 
	border-left:1px solid #aac;
	background-color:#dde;
	font-size:14px;
	padding: 5px 0px 1px 0px;
	text-decoration:none;
	color:#557;
	width:110px;
	height:20px;
	margin:1px 0px;
	text-align:center;
}
#main_menu a:hover {
	border-top:1px solid #aca; 
	border-bottom:1px solid #aca; 
	border-left:1px solid #aca; 
	background-color: #edd;
	color:#575;
}

#sub_menu {

}
#sub_menu ul {
	list-style-type: none;
	margin: 0px;
	padding: 5px;
	padding-bottom: 5px;
}
#sub_menu li {
	display: inline;
	font-size: 14px;
	float:left;
}
#sub_menu a {
	display:block;
	width: 120px;
	text-align: center;
	border-top: 5px solid #339;
	border-left: 5px solid #339;
	border-right: 5px solid #339;
	text-decoration: none;
	margin: 0px 5px;
	padding: 5px 10px;
}
#sub_menu a:link {
	color: #009;
}
#sub_menu a:visited {
	color: #009;
}
#sub_menu a:hover {
	color: #F33;
	text-decoration: underline;
}
#sub_menu a:active {
	color: #F33;
}
#sub_menu a.active {
	background-color: #FCFCFC;
}
#sub_menu a.inactive {
	background-color: #CCC;
}


#page_title {
	background-color: #FFF;
	border-left: 5px solid #339;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	font-size: 18px;
	padding: 5px 15px;
}

#input_form {
	background-color: #FFF;
	font-size: 12px;
	border: 3px ridge #CCC;
}
#input_form caption {
	font-size:14px;
	text-align: left;
	font-weight: bold;
	padding-left: 1em;
}
#input_form th {
	width: 200px;
	background-color: #EEE;
	border: 1px double #AAA;
	font-weight: normal;
	text-align: left;
	padding: 3px 12px;
}
#input_form td {
	padding: 3px 12px;
}

#input_confirm {
	background-color: #FFF;
	font-size: 12px;
	border: 3px ridge #CCC;
}
#input_confirm caption {
	font-size:14px;
	text-align: left;
	font-weight: bold;
	padding-left: 1em;
}
#input_confirm th {
	width: 200px;
	background-color: #EEE;
	border: 1px double #AAA;
	font-weight: normal;
	text-align: left;
	padding: 3px 12px;
}
#input_confirm td {
	padding: 3px 12px;
}
#input_confirm ul {
	margin: 0px;
	list-style-type: none;
}

tfoot.right_button {
	text-align: right;
}
tfoot.pager {
	font-size: 12px;
}

#caution {
	font-weight:bold;
	font-size: 14px;
	color: #F66;
}

#data_grid {
	border: 1px solid #999;
	font-size: 14px;
}
#data_grid caption {
	font-size:14px;
	text-align: left;
	font-weight: bold;
	padding-left: 1em;
}
#data_grid th {
	color: #FFF;
	background-color: #339;
	padding: 3px 12px;
}
#data_grid td {
	padding: 3px 12px;
}
#data_grid tr.odd {
	background-color: #EEF;
}
#data_grid tr.even {
	background-color: #DDE;
}
.current_page {
	color: #F33;
	font-weight: bold;
}
.other_page {
	color: #33F;
}
a.last_page {
	color: #33F;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	color: #900;
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}


	
#status_grid {
	border: 1px solid #999;
	font-size: 12px;
	width: 480px;
	margin: 0;
	padding: 0;
}
#status_grid th {
	color: #FFF;
	width: 60px;
	font-weight: normal;
	background-color: #339;
	text-align: center;
}
#status_grid td {
	width: 60px;
	text-align: right;
}
#status_grid tr.odd {
	background-color: #EEF;
}
#status_grid tr.even {
	background-color: #DDE;
}


#auth_grid {
	border: 1px solid #999;
	font-size: 12px;
	margin: 0;
	padding: 0;
}
#auth_grid caption {
	font-size:14px;
	text-align: left;
	font-weight: bold;
	padding-left: 1em;
}
#auth_grid th {
	color: #FFF;
	font-weight: normal;
	background-color: #339;
	text-align: center;
}
#auth_grid td.auth {
	width: 4em;
	text-align: center;
}
#auth_grid tr.odd {
	background-color: #EEF;
}
#auth_grid tr.even {
	background-color: #DDE;
}
	
#history_grid {
	border: 1px solid #999;
	font-size: 14px;
	border-collapse: collapse;
}
#history_grid caption {
	font-size:14px;
	text-align: left;
	font-weight: bold;
	padding-left: 1em;
}
#history_grid th {
	color: #FFF;
	background-color: #339;
	padding: 3px 12px;
}
#history_grid td {
	vertical-align: top;
	padding: 3px 12px;
}
#history_grid tr.odd {
	background-color: #EEF;
}
#history_grid tr.even {
	background-color: #DDE;
}
	
	
div.pager {
    margin-top: 20px;
    font-size: 85%;
}

div.pager a,
div.pager span {
    margin-right: 0.1em;
    padding: 0.2em 0.5em;
}

div.pager a {
    color: #105cb6;
    background-color: #fff;
    border: 1px solid #9aafe5;
    text-decoration: none;
}

div.pager a:hover {
    color: #003;
    background-color: #fff;
    border: 1px solid #2e6ab1;
}

div.pager span.current {
    color: #fff;
    background-color: #2e6ab1;
    border: 1px solid #2e6ab1;
    font-weight: bold;
}

div.pager span.nextprev {
    border: 1px solid #ddd;
    color: #999;
    background-color: #fff;
}

div.pager a.nextprev {
    font-weight: bold;
} 