body {
	background: #dddddd;
	background: whiteSmoke;
}

/** wrapper **/
#wrapper {
	
}

/** auto complete **/
.ui-autocomplete-loading {
    background: white url(../img/ui-anim_basic_16x16.gif) right center no-repeat;
}

/** user menu **/
#user-menu .user-controls {
}

#user-menu a.menu-header {
	font-size: 12px;
}

#user-menu.navbar-inner {
	position: relative;
	/*background: #060636;*/
}

#user-menu a.brand,
	#user-menu .user-controls .nav a {
	color: #fff;
	text-shadow: none;
	font-size: 14px;
}

#user-menu a.brand:hover,
	#user-menu .user-controls .nav a:hover {
	color: #D8DFEA;
	text-shadow: none;
}

/** container **/
#main-container {
	margin-top: 60px;	
}

/** user pages **/
#user-pages .well {
	float: none;
	margin: auto;
	background: #fff;
	border: 1px solid #ccc;
}

/** content **/
.content {
	background: #fff;
	padding: 20px;
	-webkit-box-shadow: 0px 10px 20px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:  0px 10px 20px rgba(50, 50, 50, 0.5);
	box-shadow: 0px 10px 20px rgba(50, 50, 50, 0.5);	
}

.content .image {
	margin: auto;
	width: 250px;
}

.content ul.collection {
	list-style: none;
	margin-left: 0;
}

.content ul.collection li {
	border-top: 1px solid #efefef;;
	padding-top: 5px;
	padding-bottom: 5px;
}

.content ul.collection li:first-child {
	border-top: 0;
}

.content .supplier-details,
	 .content .customer-details,
	 .content .branch-details,
	 .content .sales-order-details,
	 .content .unit-details {
	display: none;
	margin-top: -5px;
	margin-left: 190px;
	margin-bottom: 10px;
	font-size: 12px;
}

.content .supplier-details-error {
	margin-top: -5px;
	margin-left: 190px;
	margin-bottom: 10px;
	font-size: 12px;
}

.content ul.collection li.header {
	font-size: 12px;
	text-transform: uppercase;
	color: #999;
	font-weight: bold;
}
 
/** add items table **/
.content .add-items .notes {
	font-size: 12px;
}

.content .add-items .error {
	display: block;
}

.content .add-items .error ul {
	list-style: none;
	margin: 0;	
}

.content .add-items .error ul li {
	font-size: 11px;
	color: #B94A48;
}

.content  .add-items .product-selected {
	display: none;
}

.content .add-items  .table-collection .product select {
	width: 100%
}

.content .add-items  .table-collection .amount,
	.content .add-items  .table-collection .amount input {
	text-align: right;
}

.content .add-items .table-collection th.qty {
	width: 15%;
}

.content .add-items .table-collection th.inventory {
	width: 10%;
}

.content .add-items .table-collection th.on-hand {
	width: 7%;
}

.content .add-items .table-collection th.type {
	width: 12%;
}

.content .add-items .table-collection th.product {
	width: 42%;
}

.content .add-items .table-collection th.version {
	width: 30%;
}

.content .add-items .table-collection th.material {
	width: 25%;
}

.content .add-items .table-collection th.id {
	width: 10%;
}

.content .add-items .table-collection th.checkbox {
	width: 3%;
}

.content .add-items .table-collection th.unit-price {
	width: 10%;
}

.content .add-items .table-collection th.total {
	width: 15%;
}

.content .add-items .table-collection th.reference {
	width: 10%;
}

.content .add-items .table-collection th.memo {
	width: 30%;
}

.content .add-items .table-collection th.material-qty {
	width: 10%;
}

.content .add-items .table-collection th.line-total {
	width: 15%;
}

.content .add-items .table-collection th.action {
	width: 6%;
}

.content .add-items .table-collection th.product-return {
	width: 21%;
}

.content .add-items .table-collection th.reason-for-return {
	width: 21%;
}

.content .add-items .table-collection th.date {
	width: 12%;
}

.content .add-items .table-collection th.delivery-date {
	width: 12%;
}

.content .add-items .table-collection th.specs {
	width: 18%;
}

/** content - transactions (show forms) **/
.transaction-view {
	padding-right: 35px;
	border-right: 1px solid #eee; 
	padding-bottom: 100px; 
}

.transaction-view .transaction-heading {
	margin-top: 30px;
	margin-bottom: 15px;	
}

.transaction-view .transaction-heading .logo {
	margin-top: 20px;
	background: url(../img/logo.png) no-repeat;
	width: 463px;
	height: 82px;
}

/** content - transactions (show forms) - table **/
.table .amount {
	text-align: right;
}

/** content - transactions (show forms) - table - total **/
.transaction-view .total .title  {
	float: left;
	font-weight: bold;
	width: 100px;	
}

.transaction-view .total .amount  {
	float: right;
	text-align: right;
	width: 175px;
	font-size: 20px;
	margin-right: 10px;
}

/** reports **/
.report .group-label {
	text-align: center;
}

.report .group-label ul {
	margin-bottom: 0;
}

.report .table {
	font-size: 12px;
}

.report .table .id {
	width: 75px;
}

.report .table .customer {
	width: 150px;
}

.report .table .product {
	text-align: left;
}

.report .table .supplier {
	width: 120px;
}

.report .table .date {
	width: 90px;
}

.report .table .name {
	width: 80px;
}

.report .table .engine {
	width: 150px;
}

.report .table .branch, .report .table .investor {
	width: 120px;
}

.report .table .category {
	width: 230px;
}

.report .table .amount {
	width: 80px;
	text-align: right;
}

.report .table .total {
	font-size: 17px;
	font-weight: bold;
}

.report .table td.branchHeading {
	text-transform: uppercase;
	font-weight: bold;	
}

.report .table tr.subtotal .amount {
}

.report .table td.branchSubTotal {
	font-weight: bold;
}

.report .table td.heading {
	font-weight: bold;
}

.report .table td.indent1 {
	padding-left: 20px;
}

.report .table td.indent2 {
	padding-left: 60px;
}

.report .table td.indent3 {
	padding-left: 100px;
}

.report .table td.indent4 {
	padding-left: 140px;
}

/** dialog-content **/
.dialog-content {
	-webkit-box-shadow: none;
	-moz-box-shadow:  none;
	box-shadow: none;
}


/** bootstrap customizations **/
.table thead tr th {
	background: #efefef;
}

.table.view-record th, .table.view-record td {
	border: 0;
}

.table.view-record th {
	text-align: right;
}

.form-horizontal .control-label .optional {
	font-size: 11px;
}

.form-horizontal .control-group {
	margin-bottom: 10px;
}

.page-header {
	padding-bottom: 5px;
	margin: 5px 0 15px;
}

.page-header h1 {
	margin: 5px 0;
	font-size: 30px;
}

.form-horizontal .radio.inline input[type="radio"] {
	margin-bottom: 8px;
	margin-right: 10px;
}

.modal form {
	margin-bottom: 0px;
}

/** entity created/updated/deleted dates **/
.entity-dates p {
	margin: 0;
	font-size: 12px;
}

/** audit log **/
.audit-logs {
	margin: 30px 0;
}

.audit-log {
	font-size: 11px;
}

input.no-textbox {
	background: none;
	outline: none;
 	border: none !important;
  	box-shadow: none !important;
  	cursor: text !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.totals .descr {
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	color: #999;
}

.totals .labels {
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
}

.totals .amount {
	margin: 5px 0 15px 0px;
	text-align: right;
	font-size: 22px;
	font-weight: bold;
}

/** pnotify overrides **/
.ui-pnotify-text {
	font-size: 12px;
}

/** auto complete **/
.ui-autocomplete-loading {
    background: white url(../img/ui-anim_basic_16x16.gif) right center no-repeat;
}

.ui-autocomplete-loading-center {
    background: white url(../img/ui-anim_basic_16x16.gif) center center no-repeat;
}

/** notification **/
#noty-container {
	max-height: 300px;
	overflow-y: auto; 
	font-size: 12px;
}

#noty-container .new-noty {
	background: #fffcba;
}

#noty-container.dropdown-menu li > a {
	padding: 3px 35px 8px 15px;
	line-height: 16px;
}

.controls-plain-text {
	padding-top: 5px;
}

/** box **/
.widget {
	border: 1px solid #E5E5E5;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	padding: 5px;
	margin: 15px 0px
}

.widget-header {
	padding: 5px;
}

.widget-header h3 {
	border-bottom: 1px solid #E5E5E5;
	margin: 0;
	padding: 7px 0;
	color: #333;
}

.widget-header h4 {
	margin: 0;
	padding: 7px 0;
	border-bottom: 1px solid #E5E5E5;
	color: #333;
}


.widget-body {
	padding: 5px;
	font-size: 13px;
}

.widget-body .table thead tr th {
	background: none;
	color: #888;
}

.widget-footer {
    margin-top: 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    padding: 5px 10px;
    font-size: 10px;
    color: #999;
    border-top: 1px rgb(244,244,244) solid;
}

.ui-loading {
    background: white url(../img/ui-anim_basic_16x16.gif) right center no-repeat;
}

/** dashboard image **/
.dashboard-image {
	width: 150px;
	height: 100px;
}

/** search listing **/
.no-result-alert {
	margin-top: 30px;
}

/** jquery ui customizations **/
.ui-datepicker-trigger {
	margin-left: 4px;
}

div.product-image {
	margin: 10px;
}

tr.item input.code {
	font-weight: bold;
}

/** image thumbnail **/
.image-container {
	
}

.image-container .delete-image-btn {
	vertical-align: bottom;
}

.image-container .image-thumbnail a {
	display: inline-block;
}

form pre, .table.view-record pre, .table pre, .transaction-view pre {
	display: block;
	padding: 0;
	margin: 0;
	font-size: 13px;
	line-height: 20px;
	word-break: break-all;
	word-wrap: break-word;
	white-space: pre;
	white-space: pre-wrap;
	background-color: transparent !important;
	border: 0px solid #ccc;
	border: 0px solid rgba(0,0,0,0.15);
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.overflow-visible {
	overflow: visible;
}

.total .title  {
	float: left;
	font-weight: bold;
	width: 150px;	
}

.total .amount  {
	float: right;
	text-align: right;
	width: 175px;
	font-size: 20px;
	margin-right: 10px;
}

#total-well.affix {
    position: fixed;
    top: 50px;
    left: 71%;
    ;
}

/** SEARCH DIALOG **/
div#customer-results {
	height: 250px;
	overflow-y: scroll;
}

div#customer-results table tr:hover {
	cursor: pointer;
}

div#customer-item {
	width: 890px;
	margin-left: -450px;
}

th.text-center, .text-center {
	text-align: center;
}

.form-control-static {
	margin-bottom: 0;
	padding-top: 7px;
}

.text-center {
	text-align: center;
}

#table-of-contents-customer-service .modal-body {
	height: 300px;
}

/** ALERT LINKS **/
.alert .alert-link, .alert-important .alert-link {
	color: #66512c;
}

.alert-info .alert-link {
	color: #245269;
}

.alert-success .alert-link {
	color: #2b542c;
}

.alert-error .alert-link {
	color: #843534;
}

a.text-danger {
	color: #F00;
}

a.text-warning {
	color: #C90;
}

#new-salary-modal .modal-body {
	height: 400px;
}