/* 
    Document   : styles
    Created on : Apr 30, 2013, 1:58:59 PM
    Author     : Fazri
    Description:
        Purpose of the stylesheet follows.
*/

body {
	background-color:transparent;
	background-image: url("../images/bg_top.png"), url("../images/bg.jpg");
	background-repeat: repeat-x, repeat;
	background-position: center top, 0% 0%;
	background-clip: border-box, border-box;
	background-origin: padding-box, padding-box;
	background-size: auto auto, auto auto;
	background-attachment: fixed;
	
	margin: 0;
	padding: 0;
	color: #000;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
}

/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 15px;
	padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
}
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: none;
        
}

/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
	color: #FF3300;
	text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {
	color: #FF3300;
	text-decoration: none;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: underline;
	color: #F00;
}

/* Table */
.page-table {
 
 	*border-collapse: separate; /* IE7 and lower */
    border-spacing: 0; 	
	border: #dddddd 1px solid;
	margin-bottom:10px;
    /*-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;*/	
}
.page-table th {
	color: #333;
	background-color:#F1F1F1;
	padding-top:8px;
	padding-bottom:8px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #dddddd;
	padding-left:4px;
	padding-right:4px;

}

.page-table td {
	padding-top:6px;
	padding-bottom:6px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #dddddd;
	padding-left:4px;
	padding-right:4px;
}
.page-table tr:last-child td {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
}
.page-table tr.zebra {
	background-color:#f9f9f9;
}
.page-table tr.active {
	background-color: #fcefa1;	/*border:#5C863A 2px solid;*/
	font-weight: bold;
}
.page-table tr:hover {
	/*border:#5C863A 2px solid;*/
	background-color:#f1f1f1;
}
.page-table tr.status {
	background-color:#ffffff;
	height:40px;	
}
/*
.pagination .pagenumber {
	border:#ccc 1px solid;
	padding:2px 4px;
	margin:1px;
}
*/
.page-table-col-center, .page-table-col-left, .page-table-col-right {
	line-height:1.5em;
}

.page-table-col-center {
	text-align:center;
	line-height:1.5em;
}
.page-table-col-left {
	text-align:left;
	line-height:1.5em;
}
.page-table-col-right {
	text-align:right;
	line-height:1.5em;
}
.page-table-col-top{
    vertical-align: top;
}

/* Pagination */
.page-pagination {
    float:left;
}
.page-pagination a {
    border:#ccc 1px solid;
    padding:2px 4px;
    margin:1px;
    background-color:#FFFFFF;
}

.page-pagination strong {
    border:#ccc 1px solid;
    padding:2px 4px;
    margin:1px;
    background-color: #F0B70C;
}

/* Forms Elements */
input {
	font-family:Tahoma, Geneva, sans-serif;
	font-size:12px;
    
}
input.text, textarea, select {
	padding:4px 2px;
	border:#CCC 1px solid;
	margin:2px 0px;
	font-size:100%;
}
input.curr {
	text-align:right;
}

textarea {
	font-family:Arial, Helvetica, sans-serif;
	font-size:100%;
}
input.btn {
	border:#666 1px solid;
	height:24px;
	min-width:60px;
	text-align:center;
	background-color:#EFEFEF;
	border-radius:3px;
}
input.btn:hover {
	background-color:#B2E0F9;
}
input.btn.new {
	padding-left:18px;
	background-image: url(../images/add.png);
	background-repeat: no-repeat;
	background-position: 2px 4px;		
}
input.btn.save {
    padding-left:18px;
	background-image: url(../images/page_save.png);
	background-repeat: no-repeat;
	background-position: 2px 3px;
}
input.btn.cancel {
    padding-left:18px;
	background-image: url(../images/cancel.png);
	background-repeat: no-repeat;
	background-position: 2px 2px;
}
input.btn.delete, input.btn.task-delete {
    padding-left:18px;
	background-image: url(../images/application_form_delete.png);
	background-repeat: no-repeat;
	background-position: 2px 2px;
}

a.submit-btn {
	padding: 4px 4px;
	margin:2px;
	text-align: left;
	font-weight:normal;
}
a.submit-btn.new {
	background-image: url(../images/application_form_add.png);
	background-repeat: no-repeat;
	background-position: 2px 4px;
	padding-left:20px;	
}
a.submit-btn.edit {
	background-image: url(../images/application_form_edit.png);
	background-repeat: no-repeat;
	background-position: 2px 4px;
	padding-left:20px;	
}

a.submit-btn.delete {
	background-image: url(../images/application_form_delete.png);
	background-repeat: no-repeat;
	background-position: 2px 4px;
	padding-left:20px;	
}
a.submit-btn.filter {
	background-image: url(../images/filter.png);
	background-repeat: no-repeat;
	background-position: 2px 4px;
	padding-left:20px;	
}
a.submit-btn.find {
	background-image: url(../images/find.png);
	background-repeat: no-repeat;
	background-position: 2px 4px;
	padding-left:20px;	
}
a.submit-btn.printer {
	background-image: url(../images/printer.png);
	background-repeat: no-repeat;
	background-position: 4px 2px;
	/*padding-left:20px;*/
	border:#CCC 1px solid;
	padding:4px 6px 2px 24px;
	color:#333333;
	text-decoration:none;
	background-color:#F1F1F1; 	
}

a.submit-btn.export {
	background-image: url(../images/table_go.png);
	background-repeat: no-repeat;
	background-position: 4px 2px;
	/*padding-left:20px;*/
	border:#CCC 1px solid;
	padding:4px 6px 2px 24px;
	color:#333333;
	text-decoration:none;
	background-color:#F1F1F1; 	
}

a.submit-btn.printer:hover {
	background-color:#FFFFFF;
}
a.submit-btn.cancel {
	background-image: url(../images/cancel.png);
	background-repeat: no-repeat;
	background-position: 4px 2px;
	/*padding-left:20px;*/
	border:#CCC 1px solid;
	padding:4px 6px 2px 24px;
	color:#333333;
	text-decoration:none;
	background-color:#F1F1F1; 	
}

a.submit-btn.detail {
    background-image: url(../images/application_view_detail.png);
    background-repeat: no-repeat;
    background-position: 2px 4px;
    padding-left:20px;    
}

a.link-btn.printer {
	background-image: url(../images/printer.png);
	background-repeat: no-repeat;
	background-position: 4px 2px;
	/*padding-left:20px;*/
	padding:4px 6px 4px 24px; 	
}
a.link-btn.details {
	background-image: url(../images/application_view_detail.png);
	background-repeat: no-repeat;
	background-position: 2px 2px;
	/*padding-left:20px;*/
	padding:4px 4px 2px 20px; 	
}
a.link-btn.new {
	background-image: url(../images/application_form_add.png);
	background-repeat: no-repeat;
	background-position: 2px 2px;
	/*padding-left:20px;*/
	padding:4px 4px 2px 20px; 	
}

a.submit-btn.up {
	background-image: url(../images/up-icon.png);
	background-repeat: no-repeat;
	background-position: 4px 2px;
	/* background-position: 2px 4px; */
	/* padding-left:20px;*/
	padding:4px 4px 2px 20px;
}

/* Forms */
.page-form {
 	*border-collapse: separate; /* IE7 and lower */
    border-spacing: 0; 	
	border: #dddddd 1px solid;
	margin-bottom:10px;
	font-size:100%;
	background-color:#F8F8F8;
    /*-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;*/	
}
.page-form tr {
	/*height:30px;*/
}
.page-form th {
	font-size:100%;
	color: #333;
	background-color:#F1F1F1;
    border-bottom: #DDDDDD 1px solid;
	padding-top:10px;
	padding-bottom:10px;	
	padding-left:4px;
	padding-right:4px;

}
.page-form td {
	padding-top:4px;
	padding-bottom:4px;	
	padding-left:4px;
	padding-right:4px;
}
.page-form tr:last-child td {
	padding-bottom:10px;	
}
.page-form tr:first-child td {
	padding-top:10px;	
}
.page-form td.head {
    background-color:#F1F1F1;
    height: 20px;
    font-weight: bold;
}

/* dataTables */
.page-table.dataTable {
	clear:both;
}
.dataTables_wrapper {
	/*float:left;*/
	display:block;
	/*width:100%;*/
	/*padding:10px 20px;*/
}
.dataTables_length, .dataTables_info {
	float:right;
	margin:5px;
}
.dataTables_filter, .dataTables_paginate {
	float:left;
	margin:5px;
}
.dataTables_length select, .dataTables_filter input  {
	padding:2px;
	border:#CCC 1px solid;
	margin:2px 0px;
}
.dataTables_paginate a {
	display:block;
	padding:2px 4px;
	float:left;
	margin:2px;
	border:#CCC 1px solid;
}
.dataTables_paginate a.paginate_active {
	background-color:#F0B70C;
	color:#FFFFFF;
}
.color-red {
	color:#F00;
}
.message {
	text-align:center;
	color:#FF0000;
	border:#F00 1px solid;
	padding:10px;
}

a.submit-btn.hotel-go {
	background-image: url(../images/building_go.png);
	background-repeat: no-repeat;
	background-position: 2px 4px;
	padding-left:20px;	
}

#job-tabs {
	margin:0 0 20px 0;
	padding:0;
}
#job-tabs ul {
	margin:0;
	padding:0;
}


#job-tabs ul li {
    display:inline;    
}

#job-tabs li a {
    float:left;
    display:block;
    padding: 10px 10px;
    margin:10px 0 0 0px;
    background-color:#EDF4DD;
    text-align:center;
    font-weight:bold;
	
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 0px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: none;
    border-left-style: solid;
    border-top-color: #CCC;
    border-right-color: #CCC;
    border-bottom-color: #CCC;
    border-left-color: #CCC;
}
#job-tabs li a.active {
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: none;
    border-left-style: solid;
    border-top-color: #CCC;
    border-right-color: #CCC;
    border-bottom-color: #CCC;
    border-left-color: #CCC;
    background-color:#FFFFFF;
}

.page-table th.part-request {
    background-color: #6699FF;
    color: #FFFFFF;
}
.page-table th.stock-request {
    background-color: #FFCC00;
    color: #000000;
}

#print {
    width: 700px;
}

#tabs {
	float:left;
	/*background-color:#F7F7F7;*/
	width:100%;
	margin-bottom:10px;
}
#tabs ul {
	padding:0;
	margin:0px 10px 10px 10px;
	list-style-type:none;
}
#tabs ul li {
	display:inline;	
}
#tabs li a {
	float:left;
	display:block;
	padding: 4px 10px;
	margin:10px 0 0 0px;
	background-color:#F1F1F1;
	text-align:center;
	font-weight:bold;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #CCC;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	border-left-color: #CCC;
}
#tabs li a.active {
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #CCC;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	border-left-color: #CCC;
	background-color:#FFFFFF;
}
/*
.page-table .dataTable {
	width:600px;
}
*/