@import url("blueprint.css");
@import url("apply.css");

#pagetitle{ 
	padding-left:15px;
	background-color:#F5FFAB;
	font:bold 16px/40px "lr oSVbN", Osaka, "qMmpS Pro W3";color:#000000;
}
			
#body{background-color:#FFFFFF;}
.headline{background-color:#312918;}
/* layout */
body, html {
	margin:0;
	padding:0;
	min-width:100%;
	min-height: 100%;
	width:auto !important;
	width:100%;
	height:auto !important;
	height:100%;
}
body, td, th, input, textarea, select {
	font-family:sans-serif;
	font-size:10pt;
	font-weight:normal;
}

/* header */
#header {
	margin:0;
	background-repeat:repeat-x;
	background-color:#3D1E0C;
	padding-top: 2em;
}
#header #headlogo {
	float:right;
	border:0 none;
	margin-right:2em;
}
#header h1 {
	font-size:12pt;
	padding:0.3em 0;
	color: #663300;
}
#mainmenu {
	clear:both;
}
#mainmenu .tab {
	display:block;
	float:left;
	padding:7px 15px;
	font-size:8pt;
	margin:0 6px 0 0;
}
#mainmenu a.tab, #submenu a.tab {
	text-decoration:none;
}
#mainmenu a.tab {
	color:#ffffff;
}
#mainmenu a.tab:hover {
	background-color:#DEC000;
}
#mainmenu a.selected, span.selected {
	background-color:#DEC000;
	font-weight:bold;
	color:white;
	letter-spacing:2px;
}

#submenu {
	background-color:#DEC000;
	position:relative;
	clear:both;
	padding: 1em 0 0 0;
}
#submenu #pagetitle {
	position:absolute;
	float:left;
	left:20px;
	top:18px;
	font-size:12pt;
	font-weight:bold;
	width:190px;
	line-height:12pt;
}
#submenu #tabs{
	border-bottom:1px solid #000;
}
#submenu .tab {
	display:block;
	float:left;
	padding:8px 12px;
	vertical-align:bottom;
	font-size:8pt;
	margin:0;
	
	color: #fff;
}
#submenu a.selected,
#submenu a.tab:hover {
	background-color:#F5FFAB;
	color:#000000;
}
#submenu a.selected{
	font-weight:bold;
	border:1px solid #000;
	border-bottom: none;
	margin-bottom: -1px;
	padding-bottom: 9px;
}
#submenu a.tab {
	color:#000000;
}
#plist {
	clear:both;
	padding:13px 0 0 15px;
	background-color: #F5FFAB;
	font-size:8pt;
	color:#000000;
}

#body {
	padding:2em 15px;
	margin: 0 2em;
}
/* contents */
div.navi {
	background-color:#F8FFEC;
	border: 1px solid #A8E67C;
	margin-top:1em;
	margin-bottom:1.5em;
	padding:0 !important;
}

div.navi div.resultButton{
	background-color: #A8E67C;
	border: none;
	padding: 0 15px;
	width: auto;
}

div.navi button{
	background: #fff;
	border: 1px solid #aaa;
	padding: 3px 5px;
	cursor: pointer;
}

/* re-define */
h2 {
	font-size:11pt;
	
	border: 1px solid #eee;
	margin-bottom: 1.5em;
	background: #fefefe;	
	padding: .3em .5em;
	
	border-left: 5px solid #A8E67C;
}
h3 {
	padding:3px;
	margin:3px;
	font-size:10pt;
	background-color:#eee;
}
label {
	padding:0;
}


/* for Editing */
th.postcard {
	background-color:#A8E67C !important;
}
th.sub {
	padding:3px !important;
	font-size:90% !important;
	background-color:#eee !important;
	white-space:normal !important;
	width:100px !important;
}
#completeMessage {
	margin:3em 3em 1em 3em;
	text-align:center;
	padding:3em 0;
	background-color: #fff09e;
	border: 1px solid #ec9800;
}
#completeButtons {
	padding:1em;
	text-align:center;
}

/* for searching */

table.SearchTable {
    /*
	width: 95%;
    margin-left:2%;
	*/
	border-collapse:collapse;
	empty-cells:show;
}

table.SearchTable td, table.SearchTable th {
	border:1px solid #ccc;
	font-weight:normal;
}

table.SearchTable th {
	background-color:#fefeff;
	color:#333;
	white-space:nowrap;
}
table.SearchTable td.buttons {
	background-color: #F8FFEC;
}
table.SearchTable td.buttons button {
	padding:3px 1em;
	margin:3px 0.5em;
	character-spacing:2px;
}


table.SearchTable th.head, table.EditTable th.head {
	background-color: #3D1E0C;
	color:white;
	padding-left:2em;
	font-weight:bold;
	text-align:left;
}
table.SearchTable .strong {
	background-color:#eee;
	color:black;
}

/* for ShadowDialog */
#dialogall {
	width:100%;
	height:100%;
}
#dialogHead {
	background-color:#333;
	border:1px solid white;
	color:white;
	font-weight:bold;
	padding:3px 1em;
	height:22px;
	margin:0 0 0.5em 0;
}
#dialogBody {
	padding:5px;
	vertical-align:top;
}
#dialogFoot {
	background-color:#999;
	border:1px solid white;
	padding:6px;
	height:30px;
	margin:0.5em 0 0 0;
}


/* general utility */
input.fill, textarea.fill {
	width:95%;
}
input.long, textarea.long {
	width:17em;
}
input.mid {
	width:8em;
}
input.short {
	width:3em;
}
table.noborder td {
	border:none !important;
}
td.longtext {
	padding:10px !important;
}
td.longtext a {
	text-decoration:none;
}

/* for smarty */
table.smarty_html_checkboxes {
	width:100%;
}
table.smarty_html_checkboxes td {
	border:none !important;
}

#footer {
	background-color:#eee;
	font-size:8pt;
	color:#666;
	text-align:center;
}
