/* Layout */
#page {
    padding-top: 60px;
}
html,
body {
	height: 100%;
}
.container-fluid { /* set a max-width for horizontal fluid layout and make it centered */
	margin-right: auto;
	margin-left: auto;
	max-width: 1600px; /* or 950px */
}
#wrap { /* Wrapper for page content to push down footer */
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -60px; /* Negative indent footer by it's height */
}
#push,
#footer {
	height: 60px;
}
#footer {
	text-align: center;
	background-color: #eee;
}

/* Orders */
table .order-status-awaits_payment td, table .order-status-awaits_payment th {
	background-color: #eee !important;
}
table .order-status-prepare_parts td, table .order-status-prepare_parts th {
	background-color: #fec !important;
}
table .order-status-awaits_parts td, table .order-status-awaits_parts th {
	background-color: #ffc !important;
}
table .order-status-ready_to_send td, table .order-status-ready_to_send th {
	background-color: #cfb !important;
}
table .order-status-sent_not_paid td, table .order-status-sent_not_paid th {
	background-color: #fc9 !important;
}
table .order-status-sent_and_paid td, table .order-status-sent_and_paid th {
	background-color: #9f9 !important;
}
table .order-status-canceled td, table .order-status-canceled th {
	background-color: #fff !important;
}

table .part-status-unknown td, table .part-status-unknown th {
	background-color: #eee !important;
}
table .part-status-ordered td, table .part-status-ordered th {
	background-color: #ffc !important;
}
table .part-status-received td, table .part-status-received th {
	background-color: #cfb !important;
}
table .part-status-ready td, table .part-status-ready th {
	background-color: #9f9 !important;
}

table .supplierorder-status-open td, table .supplierorder-status-open th {
	background-color: #eee !important;
}
table .supplierorder-status-sent td, table .supplierorder-status-sent th {
	background-color: #ffc !important;
}
table .supplierorder-status-received_partial td, table .supplierorder-status-received_partial th {
	background-color: #cfb !important;
}
table .supplierorder-status-received_complete td, table .supplierorder-status-received_complete th {
	background-color: #9f9 !important;
}

table .supplierpart-status-ordered td, table .supplierpart-status-ordered th {
	background-color: #ffc !important;
}
table .supplierpart-status-received td, table .supplierpart-status-received th {
	background-color: #9f9 !important;
}

#partFormGroup .accordion-group {
	border: none;
}

/* Dialogs */
.modal {
	top: 50px !important; /* override fade-in */
}
.modal-body {
	max-height: 670px;
}


/* Generic */
.grid-view table.items tr.selected td {
	background: #99f !important;
}
.grid-view.clickableRows tbody tr:hover {
	cursor: pointer;
}
.grid-view .search-form {
	float: left;
}
.grid-view .search-form form {
	margin-bottom: 2px;
}
.grid-view .search-form label {
	margin-right: 5px !important;
}
.grid-view .summary {
	float: right;
}
.table-striped tbody > tr:nth-child(odd) > td,
.table-striped tbody > tr:nth-child(odd) > th {
	background-color: #f0f0f0;
}
.help-block {
	color: #999;
}

.grid-view .shrink {
    white-space: nowrap;
}