/* CSS Document for Freescale Common Framework */

body {
	margin-left: 12px;
	margin-top: 12px;
	margin-right: 12px;
	margin-bottom: 12px;
	background-color: #FFF;
}

body,td,th {
	font-family: 'ＭＳ ＰＲゴシック', 'MS Gothic', 'ＭＳ Ｐ明朝', MingLiU, Helvetica, Arial, sans-serif;
	color: #000;
	font-size: 12px;
}
input {
	line-height:30px;
}
#calendarPanel input {
	line-height:16px;
}
input[type="button"], input[type="submit"] {
	cursor: pointer;
}

a:link {
	color: #333;
	text-decoration: none;
}

a:visited {
	color: #333;
	text-decoration: none;
}

a:hover {
	color: #333;
	text-decoration: underline;
}

a:active {
	color: #333;
	text-decoration: none;
}

header, footer {
	width: 100%;
}

#header, #footer {
	margin: 0 auto;
	width: 980px;
}

#header {
	height: 63px;
	position: relative;
}

#header .logo {
	float: left;
	width: 120px;
	height: 63px;
}

#header .current, #header .current a {
	color: #086DB4;
	font-weight: bold;
}

#header .shortcuts {
	float: right;
}

#header .nav {
	position: absolute;
	bottom: 0;
	left: 98px;
	line-height: 18px;
	max-height:62px;
	width: 822px;
}

#header .nav ul {
	margin: 0;
	margin-left: 12px;
	padding: 0;
	list-style: none;
}

#header .nav ul li {
	float: left;
	padding: 0px 11px 0px 12px;
	text-align: center;
}

#header .nav ul li:hover {
	background: #DDD;
}

#header .nav ul li a {
	text-decoration: none;
}

#header .nav ul li.current:hover {
	background: none;
}

#header .nav ul li.first {
}

#header .nav ul li.last {
}

#header .nav ul li.split {
	margin: 0;
	padding: 0;
	padding-left: 1px;
	font-size: 16px;
}

#header .nav ul li.split:hover {
	background: none;
}

#footer {
	height: 60px;
	line-height: 60px;
	background: #393636;
}

#footer, #footer a {
	color: #fff;
}

#footer span, #footer a {
	margin: 0 12px;
}

#main {
	border: 1px solid #E7E8E8;
	background: #EFEFEF;
	min-height: 560px;
	width: 978px;
	margin: 6px auto 12px;
	position: relative;
	clear: both;
	padding: 30px 0;
}

#main h1 {
	margin: 24px auto 6px;
	width: 900px;
}

#main .subnav {
	width: 900px;
	border-top: 1px solid #000;
	margin: 0 auto 0 auto;
	overflow:hidden;
}

#main .subnav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	height: 40px;
}

#main .subnav ul li {
	float: left;
	text-align: center;
	margin-right: 2px;
	background: #E1E1E2;
	padding-top: 11px;
	line-height: 18px;
	width: 190px;
	font-weight: bold;
    margin-bottom:-9990px;
    padding-bottom:10000px;
    word-wrap:break-word; 
}

#main .subnav ul li.current {
	background: #595757;
	color: #FFF;
}

#main .subnav ul li.last {
	margin-right: 0;
}

#main .content {
	border: 1px solid #B5B6B6;
	background: #fff;
	width: 898px;
	margin: 0 auto;
}


#main .content .datagrid thead th {
	height: 20px;
}

#main .content .datagrid tbody tr {
	height: 40px;
}
#main .content .datagrid td.first, #main .content .datagrid td.last {
	overflow: hidden;
	width: 3px;
	border-bottom: none !important;
}
#main .content .datagrid tr.last td {
	border-bottom: none !important;
}

#main .content .datagrid tbody img {
	border: 1px solid #076AB6;
	width: 80px;
	height: 80px;
	margin-top: 6px;
}

#main .content .datagrid tbody img.middle {
	width: 59px;
	height: 59px;
	border: 1px solid #CCC;
}

#main .content .datagrid tbody tr.odd td {
	background-color: #F6F7F7;
}

#main .content .datagrid tbody span.title {
	padding: 0 12px;
	display: block;
}

#main .content .datagrid input[name="del"] {
	border: none;
	background: url(../i/btn_cancel.png) no-repeat 0 0;
	width: 14px;
	height: 14px;
	margin-left: 20px;
}

#main .content .datagrid a {
	color: #076AB6;
}

#main .pagin {
	padding: 16px 0 12px;
	text-align: center;
	margin: 0 auto;
	width: 898px;
}

#main .pagin span.current {
	font-weight: bold;
	color: #F00;
}

#main .pagin select[name='pagesize'] {
	margin-right: 24px;
}

#main .pagin .pagesize {
	float: left;
	font-weight:bolder;
}

#main .pagin .pagenum {
/* 	float: right; */
	font-weight:bolder;
}

.pagenum a{
/* 	float: right; */
	font-family: 'ＭＳ ＰＲゴシック', 'MS Gothic', 'ＭＳ Ｐ明朝', MingLiU, Helvetica, Arial, sans-serif, verdana;
	margin:5px;
	line-height:28px;
	font-size:15px;
}

#login {
	display: block;
	position: absolute;
	width: 360px;
	height: 270px;
	margin: 0 auto;
	left: 50%;
	top: 50%;
	margin-left: -180px;
	margin-top: -135px;
}

#login h1 {
	width: 360px;
	text-align: center;
}

#login input {
	display: block;
}

#login label {
	display: block;
	width: 200px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	font-size: 16px;
	font-weight: bold;
	float: center;
}

#login input[name='username'], #login input[name='password'] {
	width: 300px;
	height: 30px;
	border: 1px solid #595656;
	background: #fff;
	margin-bottom: 24px;
}

#login input.button {
	float: center;
}

#login .msg {
	font-size: 14px;
	color: #F00;
	height: 30px;
	line-height: 30px;
	margin-bottom: 12px;
	overflow: hidden;
}

#login .msg p {
	margin: 0;
}

.b1, .b2, .b3, .b4 {
	cursor: pointer;
	border: 1px solid #666;
}

.b1 {
	cursor: pointer;
	background: url(../i/bg_buttons.png) repeat-x 0 -91px;
	font-size: 17px;
	font-weight: bold;
	font-family: 'ＭＳ ＰＲゴシック', 'MS Gothic', 'ＭＳ Ｐ明朝', MingLiU, Helvetica, Arial, sans-serif, verdana;
	color: #FFF;
	min-width: 150px;
	height: 54px;
	line-height: 54px;
	text-align: center;
	padding: 0 16px;
}

.b1:hover {
	background: url(../i/bg_buttons.png) repeat-x 0 -144px;
}

.b2 {
	height: 35px;
	width: 120px;
	background: url(../i/bg_buttons.png) repeat-x 0 -20px;
	color: #000;
}

.b3 {
	width: 140px;
	height: 40px;
	font-size: 16px;
	background: url(../i/bg_buttons.png) repeat-x 0 -53px;
	color: #FFF;
	font-weight: bold;
}

.b4 {
	height: 30px;
	width: 140px;
	background: url(../i/bg_buttons.png) repeat-x 0 -91px;
	color: #FFF;
}

.b5 {
	height: 22px;
	width: 140px;
	background: url(../i/bg_buttons.png) repeat-x 0 -20px;
	color: #333;
}

.e1, .e2 {
	color: #F00;
	margin: 6px 0;
}

.e1 {
	text-align: left;
}

.e2 {
	text-align: center;
}

.red {
	color: #F00;
}

.blue {
	color: #076AB6;
}

.bold {
	font-weight: bold;
}

.clear {
	clear: both;
}

#main .user {
	width: 900px;
	margin: 32px auto;
}
#main .user .info {
	float: left;
}
#main .user .info span {
	margin: 0 20px;
}
#main .user .link {
	float: right;
	padding-right: 20px;
}
#main .pagetitle {
	margin: 24px auto 6px;
	width: 900px;
}
#main .pagetitle span.title {
	font-size: 24px;
	font-weight: bold;
	line-height: 40px;
}
#main .pagetitle .sublinks {
	position: relative;
	bottom: -20px;
	right: 0px;
	text-align: right;
	float: right;
}
#main .pagetitle .sublinks a {
	color: #076AB6;
	margin-left: 12px;
}
#main .buttons {
	text-align: right;
	width: 900px;
	margin: 0 auto;
}
#main .buttons input {
	margin: 39px 6px;
}
#main .buttons input.last {
	margin-right: 0;
}
#main .subbuttons {
	width: 900px;
	margin: 24px auto 0px;
}
#main hr {
	width: 900px;
	margin: 24px auto;
	border-top: 1px solid #CCC;
	border-left: 1px solid #CCC;
	border-bottom: 1px solid #FFF;
	border-right: 1px solid #FFF;
}

/*
Uploader
Copyright (c) 2012 Strong Chen
*/

.uploader {
	position: relative;
	height: 150px;
}
.uploader .preview {
	position: absolute;
	left: 0;
	top: 0;
	border: 1px solid #666;
	width: 200px;
	height: 140px;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);
}
.uploader .selector {
	position: absolute;
	left: 210px;
	top: 0;
	z-index: 1000;
	cursor: pointer;
	overflow: hidden;
	width: 120px;
	height: 30px;
}
.uploader input[type="file"] {
	position: absolute;
	opacity: 0;
	width: 120px;
	height: 30px;
	z-index: 1001;
}
.uploader .uploader_buttons {
	position: absolute;
	left: 210px;
	top: 0;
}
.uploader .uploader_buttons input[type="button"] {
	width: 120px;
	height: 30px;
	line-height: 30px;
	background: url(../i/uploadify_button.png) no-repeat 0 0;
	border: none;
	color: #FFF;
	text-align: center;
	padding: 6px 6px 12px;
	margin-right: 6px;
	cursor: pointer;
}
.uploader .uploader_buttons input.hover {
	background: url(../i/uploadify_button.png) no-repeat 0 -30px;
}

.ui-dialog {
	padding: 0;
}

.ui-corner-all {
	border-radius: 0;
}

.ui-widget-header {
	border: none;
	border-bottom: 1px solid #AAA;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
    border-bottom-right-radius: 0;
}
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
    border-bottom-left-radius: 0;
}
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
    border-top-right-radius: 0;
}
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
    border-top-left-radius: 0;
}

.ui-widget .ui-icon-closethick {
	background: url(../i/btn_cancel.png) no-repeat 1px 1px;
	margin: 3px 1px !important;
}

.ui-state-hover .ui-icon-closethick {
	margin: 4px 0px !important;
}
.ui-dialog-titlebar-close {
	padding-left: 6px !important;
	border-left: 1px solid #AAA;
	height: 22px !important;
	margin: -12px 0 0 !important;
}

.ui-state-hover {
	background: none !important;
	border: none !important;
	border-left: 1px solid #AAA !important;
/* 	PADDING-LEFT: 7PX !IMPORTANT; */
/* 	HEIGHT: 24PX !IMPORTANT; */
/* 	MARGIN: -12PX 0 0 !IMPORTANT; */
}


.daterange input[type="text"] {
	line-height:normal;
	height:16px;
}

#main .user .link a {
	color: #076AB6;
}
