 /*
	----------
	style.css
	----------
	Program Name: style
	Description:
		whole site stylesheet
	
	Type: 	stylesheet
	Created By: Bede Yeung
	Created On:	24/8/2012
	Version: 2.0.0
	
	Description:
		salesRecords class change input box style and width
	
	Type: 		stylesheet
	Modify By: Ho Li
	Modify On:	13/9/2012
	Version: 2.0.1
*/

html{
	height:100%;
	font-size:14px;
	background-color: #EEE;
}

body{
	height:100%;
	display:table;
	margin: 0 auto;
	background-color: #FFF;
	padding: 0 50px;
	box-shadow: 10px 10px 5px #888888;
}

.header{
	display:table-row;
	height:75px;
}

.header .logoContain{
	width: 195px;
	height: 71px;
	background-image: url(../images/mpeglogo.jpg);
}

.main{
	display:table-row;
	/*text-align:center;*/
}
	
#footer{
	display:table-row;
	height:50px;
}

.footer .copyright{
	text-align:center;
	font-size: 10px;
}

#errMgsBox{
	display:none;
	background:#FFFF99;
	color:#FF6600;
	border:1px solid #990000;
	padding:40px;
	position:fixed;
	top:50%;
	left: 40%;
	text-align:center;
	font-weight:bold;
	width:250px;
	height:25px;
	z-index:1;
	_position: absolute; /* position fixed for IE6 */
	_top:expression(documentElement.scrollTop+(documentElement.clientHeight-this.clientHeight)/2);
	_margin-top:0;
}

/* salesRecord.php */
#attendanceLayout{
	margin:20px auto;
	padding:20px 20px;
	width: 600px;
}

#salesRecordTbl{
	margin:20px auto;
	border-collapse:collapse;
}

#salesRecordTbl th{
	padding: 3px;
	text-align:center;
	border: 1px solid #ccc;
}

#salesRecordTbl td{
	padding: 3px;
	border: 1px solid #ccc;
}

#salesRecordTbl td:last-child{
	width:100px;
	text-align:center;
}

#salesRecordTbl tfoot td:first-child{
	font-weight:bold;
}

.calSales{
	/*border-style: none;
	border-top-width:0px;*/
	text-align:center;
}

#total{
	text-align:center;
}

#buttonLayout{
	text-align:center;
}

.salesRecordFormLabel{
	float:left;
	width:200px;
}

.salesRecordFormP{
	margin-left: 120px;
}

.salesRecordFormInput{
	width:200px;
}

.salesRecordFormInput_small{
	width:20px;
}

.salesRecordFormInput_middle{
	width:50px;
}

.salesRecordFormInput_large{
	width:70px;
}

#remarkMgs{
	margin-left: 200px;
}

.selectionBox_large{
	width:210px;
}

.suspend{
	color:#FF0000;
	margin-left:20px;
	font-weight:bold;
	
}
/* salesRecord.php end */

/* salesRecordReport.php start */
#salesRecordReportLayout{
	min-width: 600px;
}

#salesRecordReport{
	border-collapse:collapse;
}

#salesRecordReport td{
	padding: 5px;
	border: 1px solid #ccc;
}

#delBtn, #saveBtn{
	display:none;
}

.salesRecordReportTd{
	text-align:center;
}

.salesRecordReportText td:first-child{
	min-width:120px;	
}

.salesRecordReportText td:nth-child(2){
	min-width:120px;	
}

.salesRecordReportText td:nth-child(3){
	min-width:120px;	
}

.suspendMsg{
	color: red;
}
.salesRecordsSortBtnDown{
	height: auto;
	min-height:40px;
	background-image: url(../css/images/demo-spindown-open.gif);
	background-repeat:no-repeat;
	background-position:center bottom; 
}

.salesRecordsSortBtnUp{
	height: auto;
	min-height:40px;
	background-image: url(../css/images/demo-spinup-open.gif);
	background-repeat:no-repeat;
	background-position:center bottom; 
}

#salesRecordsTd{
	background-color: #C0C0C0;
}

/* salesRecordReport.php end */

/* Login.php */
#loginLayout{
	display:table-cell;
	vertical-align:middle;
	width: 800px;
}

#loginTbl{
	width:320px;
	margin:0 auto;
	display:table;
	min-height:100px;
}

#loginTbl .btn{
	text-align:right;
}

#loginCell{
	display:table-cell;
}

#systemTitle{
	text-align:center;
	text-decoration:underline;
	font-weight:bold;
}

#forgetPasswordP{
	text-align:right;
}

#forgetPasswordLink{
	text-decoration:underline;
	font-size:12px;
	cursor:pointer;
}

#functionBox{
	background-color:#ccc;
}
/* Login.php end */

/* forgetPassword.php start */
#passwordLayout{
	padding:20px;
	display:table-cell;
	vertical-align:middle;
	width: 800px;
}

#passwordTbl{
	width:320px;
	margin:0 auto;
	display:table;
	min-height:100px;
}

#passwordTbl .btn{
	text-align:right;
}

#passwordCell{
	display:table-cell;
}
/* forgetPassword.php end */

/* Navigation bar start */
#pageSelector{
	display: inline-block;
	margin:0px;
}

#logoutFn{
	display: inline-block;
	margin:0px;
	float:right;
}
/* Navigation bar end */

/* userManagement start */
.userManagementFormP{
	margin-left: 120px;
}

.userManagementFormInput{
	width:200px;
}
/* userManagement end */

/* mapping.php start */
#userManagementLayout{
	min-width:500px;
}
#mapping table{
	margin-top: 20px;
	width:100%;
	text-align:center;
	border-collapse:collapse;
}

#mapping td,#mapping th{
	padding: 3px;
	border: 1px solid #ccc;
}

.mappingInputStyle{
	border-style: none;
	border-top-width:0px;
	text-align:center;
}

.mappingInput{
	text-align:center;
}

/* mapping.php end */