body{
	font-size: 11px;
}
body, input, button, textarea, select{
	font-family: tahoma;
}
h1 {
	font-size: 16px;
}
h2 {
	font-size: 14px;
}
input[type=text], input[type=email], input[type=password], textarea, select{
	border: 1px solid #ccc;
	background: #fff none;
	font-size: 11px;
	color: #0d0d0d;
	font-weight: normal;
	margin: 0;
}
input[type=text], input[type=password], input[type=email]{
	padding: 1px 5px;
}
textarea{
	padding: 5px 5px;
}
.qq-upload-list{
	display: none;
}
.hidden{
	display: none !important;
}
.block{
	border: 1px solid #CCC;
}
.text_right{
	text-align: right;
}

.horizontal-sep{
	display: block;
	clear: both;
	height: 1px;
	overflow: hidden;
	border-top: 1px dotted #000;
	margin-bottom: 15px;
}

.info-block-item label.error {
	display: none !important;
}

input.error {
	border-color: red;
}

label.error {
	display: block;
	width: 460px;
	text-align: right;
	padding-bottom: 10px;
	color: #f00;
}

/* Common button */
.button{
	display: inline-block;
	border: 1px solid #2c2c2c;
	background: transparent url('../media/template/button-bg.png') repeat-x 0 0;
	font-size: 10px;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
	border-radius: 3px;
	cursor: pointer;
}
input.button, button.button{
	height: 22px;
	padding: 0 12px;
}
a.button{
	height: 20px;
	line-height: 20px;
	white-space: nowrap;
	padding: 0 15px;
}

/* Grey button */
.grey-button{
	background: transparent url('../media/template/button-grey-bg.png') repeat-x 0 0;
	border: 1px solid #c8c8c8;
	color: #231f20;
	font-size: 11px;
	font-weight: normal;
}

/* List */
#list-wrapper{
}
	#list-wrapper h1{
		font-size: 14px;
		font-weight: bold;
		color: #151515;
		margin-bottom: 10px;
	}
table.list{
	width: 100%;
	border-collapse: collapse;
	border-bottom: 1px solid #edecec;
}
	table.list th{
		padding: 2px 5px;
		border-bottom: 1px solid #d1d1d1;
		background: #e1e1e1 url(../media/template/table-head-bg.gif) repeat-x 0 0;
		color: #797979;
		vertical-align: middle;
		white-space: nowrap;
		font-weight: bold;
	}
	table.list td{
		border-top: 1px solid #edecec;
		padding: 2px 5px;
	}
	table.list td, table.list a{
		color: #0d0d0d;
		text-decoration: none;
	}
	table.list th, table.list td{
		font-size: 11px;
		padding-top: 3px;
		padding-bottom: 3px;
	}
	.nomove td {
		background-color: #EEEEEE;
	}
/* Inline filters for list */
.list-filters{
	clear: both;
}
	.list-filters input[type=text], .list-filters input[type=password], .list-filters select{
		margin-right: 10px;
	}
	.list-filters .reset-date{
		display: inline-block;
		margin-left: -8px;
		margin-right: 10px;
	}
		.list-filters .reset-date a{
			text-decoration: none;
			color: #ccc;
		}
	.list-filters label{
		margin-right: 10px;
		color: #797979;
	}
	.list-filters input, .list-filters select, .list-filters label{
		vertical-align: top;
		margin-bottom: 10px;
	}

/* Action buttons for list items */
.start-button-list, .pause-button-list, .finish-button-list{
	display: inline-block;
	width: 16px;
	height: 16px;
	overflow: hidden;
	text-indent: -9999px;
}
.start-button-list{
	background: transparent url(../media/template/button-start.png) no-repeat 0 0;
}
.pause-button-list{
	background: transparent url(../media/template/button-pause.png) no-repeat 0 0;
}
.finish-button-list{
	background: transparent url(../media/template/button-stop.png) no-repeat 0 0;
}

/* Statuses on a list */
.status{
	display: block;
	height: 15px;
	padding-left: 22px;
}
.status-active{
	background: transparent url(../media/template/icon-status-active.png) no-repeat 0 -4px;
}
.status-inactive{
	background: transparent url(../media/template/icon-status-inactive.png) no-repeat 0 -4px;
}

/* Common body of pages to print */
@media screen{
	#print-body{
		width: 750px; /* ~185mm */
		margin: 0 auto;
	}
}

#print-label {
	width: 750px;
	height: 50px;
	margin: 0 auto;
}
#print-body h1, #print-body h2{
	font-size: 16px;
	font-weight: bold;
	color: #0d0d0d;
	margin-bottom: 10px;
	display: block;
	text-align: center;
}
	#print-body h1 {
		font-size: 16px;
	}
	#print-body h2 {
		font-size: 13px;
	}
	#print-body hr {
		border-bottom: 1px solid #000;
	}
#print-body table{
	border-collapse: collapse;
	margin-bottom: 15px;
}
#print-body table.common-table{
	border-collapse: collapse;
	border: 1px solid #aaa;
	font-size: 12px;
}
	#print-body table.common-table td, #print-body table.common-table th{
		padding: 5px;
		border: 1px solid #aaa;
	}
	#print-body table.common-table th{
		font-weight: bold;
		text-align: left;
	}

#content{
	overflow-x: hidden;
}

/* -= Intro login =- */
#login-logo-wrapper{
	text-align: center;
	margin: 5% 0;
}
	#login-logo-wrapper a{
		width: 290px;
		height: 60px;
		text-indent: -9999px;
		display: block;
		margin: 0 auto;
		overflow: hidden;  
		background: transparent url(../media/template/service-logo.png) no-repeat 0 0;
	}
#login{
	display: block;
	margin: 5% auto;
	width: 493px;
	border: 1px solid #CCC;
	overflow: hidden;
	padding-bottom: 20px;
	background-color: #f9f9f9;
	box-shadow: 0 0 5px #888;
}
	#login_header{
		display: block;
		width: 489px;
		height: 43px;
		margin: 2px 0 20px 2px;
		background-color: #333;
	}
	#login input[type=text], #login input[type=password]{
		width: 336px;
		height: 19px;
		border: 1px solid #cdcdcd;
		margin-bottom: 4px;
	}
	#login .label{
		float: left;
		width: 119px;
		height: 21px;
		line-height: 21px;
		text-align: right;
		color: #797979;
		margin: 0 12px 4px 0;
	}
	#login input[type=submit]{
		float: right;
		margin: 15px 25px 0 0;
	}

/* Main wrapper */
#wrapper{
	width: 100%;
	min-width: 1000px;
	min-height: 100%;
}

/* Copyright */
#copyright{
	height: 20px;
	line-height: 20px;
	border-bottom: 11px solid #333;
	margin-top: -31px;
	font-size: 10px;
	color: #757575;
	font-weight: normal;
	text-align: right;
}

/* Header */
#wrapper-header{
	background: transparent url(../media/template/header-bg.png) repeat-x 0 0;
	height: 46px;
}
	#header{
		height: 46px;
		background: transparent url(../media/template/logo.png) no-repeat 0 0;
	}
	#logout-button {
		margin-top: 6px;
		padding: 0 10px;
	}
	
	/* parent menu in header */
	#parent_menu {
		height: 30px;
		margin-top: 5px;
	}
		#parent_menu li {
			display: inline-block;
			height: 30px;
			margin-right: 3px;
		}
			#parent_menu li a {
				display: block;
				line-height: 30px;
				padding: 0 15px 0 15px;
				text-decoration: none;
				color: #231f20;
				background-color: #fff;
				font-size: 13px;
				border-top-left-radius: 2px;
				border-top-right-radius: 2px;
			}
			#parent_menu li a:hover, #parent_menu li.active a {
				color: #fff;
				background: #cd1627 none;
			}
	
	/* User info in header */
	#header_user_info{
		height: 35px;
		color: #231f20;
		font-size: 11px;
		font-weight: normal;
	}
		#header_user_info span{
			display: inline-block;
			vertical-align: middle;
			overflow: hidden;
			line-height: 1.2;
		}
		#header_user_info .user-position{
			max-width: 100px;
			margin-left: 15px;
			text-align: left;
		}
		#header_user_info .user-name{
			max-width: 175px;
		}
		#header_user_info .aligner{
			height: 35px;
			width: 5px;
		}

/* Child menu */
#wrapper-child-menu{
	height: 57px;
	background: transparent url(../media/template/header-bg.png) repeat-x 0 -46px;
}
	#child_menu{
		height: 57px;
	}
		#child_menu li{
			display: block;
			float: left;
			white-space: nowrap;
		}
		#child_menu li:hover, #child_menu li.active{
			background: transparent url(../media/template/child-menu-bg.png) repeat-x 0 0;
		}
			#child_menu li a{
				height: 57px;
				display: block;
				padding: 35px 15px 0 18px;
				height: 21px;
				font-size: 11px;
				font-weight: normal;
				color: #333;
				text-decoration: none;
				background-position: 50% 3px;
				background-repeat: no-repeat;
			}

/* Bottom actions */
.actions{
	margin-bottom: 15px;
}

/* Top Actions */
#actions-wrapper{
	height: 31px;
	margin-bottom: 10px;
	background: transparent url(../media/template/header-bg.png) repeat-x 0 -103px;
}
	#actions {
		height: 31px;
		line-height: 31px;
	}
		#actions ul{
			float: right;
		}
			#actions ul li{
				display: block;
				float: left;
				font-size: 11px;
				font-weight: bold;
				margin: 0 5px;
			}
			#actions ul li, #actions ul li a{
				color: #333;
				text-decoration: none;
			}
				#actions ul li a{
					display: block;
					padding-left: 22px;
				}
				/* New item action button */
				#actions ul li a.action-new{
					background: transparent url('../media/template/icon-new.png') no-repeat 0 50%;
				}
				/* Item(s) deletion button */
				#actions ul li a.action-delete{
					background: transparent url('../media/template/icon-delete.png') no-repeat 0 50%;
				}
				/* Print button */
				#actions ul li a.action-print{
					background: transparent url('../media/template/icon-print.png') no-repeat 0 50%;
				}
				/* Report button */
				#actions ul li a.action-report{
					background: transparent url('../media/template/icon-report-small.png') no-repeat 0 50%;
				}
				
/* -= Storage upload print template =- */
table.storage-print-header{
	width: 100%;
	margin-top: 15px;
	margin-bottom: 30px;
	border-collapse: collapse;
}
	/* Barcode image */
	table.storage-print-header td.storage-print-barcode{
		width: 1%;
		padding-left: 10px;
	}
		table.storage-print-header td.storage-print-barcode img{
			display: block;
			float: right;
		}
	/* Client data */
	table.storage-print-header table{
		width: 100%;
		border-collapse: collapse;
	}
		table.storage-print-header table td{
			padding: 5px;
			border: 1px solid #aaa;
			font-size: 12px;
		}
		table.storage-print-header table td.label_form{
			width: 1%;
			white-space: nowrap;
			font-weight: bold;
		}
		table.storage-print-header table td.value_form{
			white-space: pre-line;
			text-align: justify;
		}
		table td.value_form{
			vertical-align: middle !important;
		}
	/* Cariage and products to be uploaded */
	table.storage-print-carriage{
		width: 100%;
		border-collapse: collapse;
		border: 1px solid #aaa;
		margin-bottom: 15px;
		font-size: 12px;
	}
		table.storage-print-carriage h2{
			font-size: 14px;
			font-weight: bold;
			color: #0d0d0d;
			margin-bottom: 10px;
		}
		
		/* Details about transport, in which products have to be uploaded */
		table.storage-print-carriage td.storage-print-cariage-details{
			padding: 5px;
			border-bottom: 1px solid #aaa;
		}
			table.storage-print-carriage td.storage-print-cariage-details table{
				width: 100%;
				border-collapse: collapse;
				margin-top: 10px;
			}
			table.storage-print-carriage td.storage-print-cariage-details table:first-child{
				margin-top: 0;
			}
				table.storage-print-carriage td.storage-print-cariage-details table td,
				table.storage-print-carriage td.storage-print-cariage-details table th{
					padding: 5px;
					border: 1px solid #aaa;
				}
				table.storage-print-carriage td.storage-print-cariage-details table th{
					font-weight: bold;
					text-align: left;
				}
				table.storage-print-carriage td.storage-print-cariage-details table td.label_form{
					white-space: nowrap;
					font-weight: bold;
					width: 1%;
				}
				table.storage-print-carriage td.storage-print-cariage-details table td.value_form{
					white-space: pre-line;
					text-align: justify;
				}
			
			/* List of product to be uploaded to transport */
			table.storage-print-carriage td.storage-print-cariage-items{
				padding: 5px;
			}
				/* Item to be uploaded */
				table.storage-print-carriage td.storage-print-cariage-items .storage-print-cariage-item-wrap{
					border: 1px solid #aaa;
					margin-top: 5px;
				}
				table.storage-print-carriage td.storage-print-cariage-items .storage-print-cariage-item-wrap:first-child{
					margin-top: 0;
				}
				table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-item{
					width: 100%;
					border-collapse: collapse;
					margin-bottom: 5px;
				}
					table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-item th,
					table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-item td{
						border-left: 1px solid #aaa;
						border-bottom: 1px solid #aaa;
						padding: 5px;
					}
					table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-item th:first-child,
					table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-item td:first-child{
						border-left: 0 none;
					}
					table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-item th{
						border-top: 0 none;
						font-weight: bold;
					}
					/* Packaging/repackaging */
					table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-repackage{
						width: 100%;
						border-collapse: collapse;
						margin-bottom: 5px;
					}
						table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-repackage h3{
							font-size: 12px;
							font-weight: bold;
							color: #0d0d0d;
						}
						table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-repackage td,
						table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-repackage th{
							border-left: 1px solid #aaa;
							border-bottom: 1px solid #aaa;
							padding: 5px;
						}
						table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-repackage td:first-child,
						table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-repackage th:first-child{
							border-left: 0 none;
						}
						table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-repackage th{
							font-weight: bold;
						}
					/* Comments about item to be uploaded */
					table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-precomments{
						width: 100%;
						border-collapse: collapse;
						margin-bottom: 5px;
					}
						table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-precomments td{
							padding: 5px;
						}
						table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-precomments td.label_form{
							font-weight: bold;
							width: 1%;
							white-space: nowrap;
						}
						table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-precomments td.value_form{
							white-space: pre-line;
							text-align: justify;
						}
					/* After comments about item to be uploaded */
					table.storage-print-carriage td.storage-print-cariage-items table.storage-print-cariage-aftercomments{
						border-collapse: collapse;
						width: 100%;
					}
						#print-body td.label_form{
							width: 1%;
							white-space: nowrap;
							padding: 5px;
						}
							#print-body td.value_form .handwrite-field-small{
									display: block;
									width: 100px;
									padding: 3px;
									margin: 2px;
									border: 1px solid #aaa;
									margin-right: 5px;
								}
								#print-body td.value_form .handwrite-field-middle{
									display: block;
									padding: 3px;
									margin: 2px;
									border: 1px solid #aaa;
									margin-right: 5px;
								}
								#print-body td.value_form .handwrite-field-large{
									height: 70px;
									display: block;
									padding: 3px;
									margin: 2px;
									border: 1px solid #aaa;
									margin-right: 5px;
									margin-bottom: 5px;
								}
								
/* -= Unloads/uploads =- */
.receiving-list-wrap{
	margin-bottom: 15px;
}
	.receiving-list-wrap table.list{
		margin-bottom: 10px;
	}
.new_row_block{
	text-align: center;
	margin-bottom: 15px;
}
.blocks-load-order{
	margin-bottom: 10px;
	overflow: hidden;
}
	.blocks-load-order .block-load-order{
		border: 1px solid #ccc;
		background: #f9f9f9 none;
		padding: 10px 10px 35px 10px;
		margin-bottom: 15px;
		overflow: hidden;
		position: relative;
	}
		.blocks-load-order .block-load-order .new_row_button_wrap{
			width: 475px;
			height: 22px;
			line-height: 22px;
			position: absolute;
			bottom: 5px;
			padding: 0 5px;
		}
			.blocks-load-order .block-load-order .new_row_button_wrap a{
				display: block;
				text-decoration: none;
				color: #000;
				background-image: url(../media/template/icon-file-upload.png);
				background-repeat: no-repeat;
				padding: 0 20px;
			}
		.blocks-load-order .block-load-order .new_row_product{
			left: 10px;
		}
			.blocks-load-order .block-load-order .new_row_product a{
				float: left;
				background-position: 0 50%;
			}
		.blocks-load-order .block-load-order .new_row_transport{
			right: 10px;
		}
			.blocks-load-order .block-load-order .new_row_transport a{
				float: right;
				background-position: 100% 50%;
			}
		.blocks-load-order .block-load-order .rows_products{
			width: 485px;
			float: left;
		}
		.blocks-load-order .block-load-order .rows_transports{
			width: 485px;
			float: right;
		}
		.blocks-load-order .block-load-order .block-load-order-item{
			margin-top: 10px;
			padding: 30px 5px 5px 5px;
			border: 1px solid #ccc;
			overflow: hidden;
			position: relative;
		}
			.blocks-load-order .block-load-order .block-load-order-item .info-block{
				overflow: hidden;
			}
				.blocks-load-order .block-load-order .block-load-order-item .info-block-item select{
					width: 315px;
				}
				.blocks-load-order .block-load-order .block-load-order-item .info-block .info-block-item textarea{
					height: 50px;
				}
				.blocks-load-order .block-load-order .block-load-order-item .info-block .info-block-item input[type=text],
				.blocks-load-order .block-load-order .block-load-order-item .info-block .info-block-item input[type=number],
				.blocks-load-order .block-load-order .block-load-order-item .info-block .info-block-item input[type=password],
				.blocks-load-order .block-load-order .block-load-order-item .info-block .info-block-item textarea{
					width: 303px;
				}
				.blocks-load-order .block-load-order .block-load-order-item .info-block-item .info-block-addendum-items{
					width: 315px;
					float: right;
					display: block;
					margin-bottom: 5px;
				}
			.blocks-load-order .block-load-order .block-load-order-item .repackage-list{
			}
				.blocks-load-order .block-load-order .block-load-order-item .repackage-list h2 .button{
					float: right;
				}
				.blocks-load-order .block-load-order .block-load-order-item .repackage-list .repackage-item{
					padding: 30px 5px 5px 5px;
					border: 1px solid #ccc;
					margin-top: 5px;
				}
				.blocks-load-order .block-load-order .block-load-order-item .repackage-list .repackage-item:first-child{
					margin-top: 0;
				}
					.blocks-load-order .block-load-order .block-load-order-item .repackage-list .repackage-item .info-block-item{
					}
						.blocks-load-order .block-load-order .block-load-order-item .repackage-list .repackage-item .info-block-item select{
							width: 307px;
						}
						.blocks-load-order .block-load-order .block-load-order-item .repackage-list .repackage-item .info-block-item input[type=text],
						.blocks-load-order .block-load-order .block-load-order-item .repackage-list .repackage-item .info-block-item input[type=number],
						.blocks-load-order .block-load-order .block-load-order-item .repackage-list .repackage-item .info-block-item input[type=password],
						.blocks-load-order .block-load-order .block-load-order-item .repackage-list .repackage-item .info-block-item textarea{
							width: 295px;
						}
		.blocks-load-order .block-load-order .block-load-order-item:first-child{
			margin-top: 0;
		}
			.blocks-load-order .block-load-order .block-load-order-item .link-remove, .delete-product-formula{
				position: absolute;
				top: 0;
				right: 0;
				display: block;
				width: 22px;
				height: 22px;
				text-indent: -9999px;
				overflow: hidden;
				background: transparent url(../media/template/icon-trash.png) no-repeat 0 0;
			}
			
/* Filter period block */
.period-filter-block{
}
	.period-filter-block input[type=submit]{
		display: block;
		margin: 0 auto;
	}
	.period-filter-block .field-wrap{
		margin-bottom: 10px;
	}

/* Common wrapper for view */
#view-wrapper{
}
	#view-wrapper h1{
		font-size: 14px;
		color: #151515;
		font-weight: bold;
		margin-bottom: 5px;
		padding-top: 10px;
	}

/* Common info block */
.info-block{
	border: 1px solid #ccc;
	background: #f9f9f9 none;
	margin-bottom: 15px;
	padding: 10px;
	overflow: hidden;
	position: relative;
}
	.info-block h2{
		display: block;
		overflow: hidden;
		margin: -10px -10px 10px -10px;
		padding: 4px 10px;
		background: #e1e1e1 none;
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e1e1e1');
		background: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#e1e1e1));
		background: -moz-linear-gradient(top,  #f9f9f9,  #e1e1e1);
		border-bottom: 1px solid #ccc;
		font-size: 12px;
		color: #4a4a4a;
		font-weight: normal;
	}
	.info-block label, .info-block input, .info-block textarea, .info-block select{
		vertical-align: top;
	}
	.info-block .info-block-item{
		clear: both;
		/*margin-bottom: 5px;*/
	}
		.info-block .info-block-item label{
			color: #797979;
			display: block;
			float: left;
			width: 25%;
			text-align: right;
			margin-bottom: 5px;
		}
		.info-block .info-block-item select{
			width: 330px;
		}
		.info-block .info-block-item input[type=text], .info-block .info-block-item input[type=number], .info-block .info-block-item input[type=password], .info-block .info-block-item input[type=email], .info-block .info-block-item textarea{
			width: 318px;
		}
		.info-block .info-block-item textarea{
			height: 125px;
		}
		.info-block .info-block-item input[type=text], .info-block .info-block-item input[type=number] .info-block .info-block-item input[type=password], .info-block .info-block-item input[type=email], .info-block .info-block-item textarea, .info-block select{
			float: right;
			margin-bottom: 5px;
		}
		.info-block .info-block-item input[disabled=disabled]{
			background: transparent none;
			border: 0 none;
		}
		.info-block .info-block-item .info-block-addendum-items{
			width: 330px;
			float: right;
			display: block;
			margin-bottom: 5px;
		}
	.info-block table.list{
		width: 494px;
		position: relative;
		left: -10px;
		top: -9px;
	}
	.info-block-unlabeled .info-block-item{
	}
		.info-block-unlabeled .info-block-item input[type=text], .info-block-unlabeled .info-block-item input[type=number], .info-block-unlabeled .info-block-item input[type=password],
		.info-block-unlabeled .info-block-item textarea{
			width: 465px;
		}
	
/* Common input styles in info blocks */
/*Date block*/
input.datepicker{
	padding-right: 20px;
	background: #fff url('/media/template/icon-calendar2.png') no-repeat 100% -2px;
}
.info-block .info-block-item input.datepicker{
	width: 57px !important;
	float: left;
	margin-left: 26px;
}
.info-block .info-block-item input.percent{
	width: 52px;
	float: left;
	margin-left: 26px;
	padding-right: 30px;
	text-align: right;
	font-weight: bold;
	background: #fff url('../media/template/bg-percent.png') no-repeat 100% 50%;
}
.info-block .info-block-item input.currency{
	width: 52px;
	float: left;
	margin-left: 26px;
	padding-right: 30px;
	text-align: right;
	color: #cd1627;
	font-weight: bold;
}
.info-block .info-block-item input.currency-ltl{
	background: #fff url('../media/template/bg-currency-ltl.gif') no-repeat 100% 50%;
}

/* Common data block */
.data-block{
	border: 1px solid #ccc;
	background: #f9f9f9 none;
	margin-bottom: 15px;
	padding: 10px;
}
	.data-block .data-block-item{
		clear: both;
		margin-top: 2px;
		padding-top: 2px;
		font-size: 12px;
		border-top: 1px solid #ccc;
	}
	.data-block .data-block-item:first-child{
		margin-top: 0;
		padding-top: 0;
		border-top: 0 none;
	}
		.data-block .data-block-item label{
			display: block;
			float: left;
			margin-right: 15px;
		}
		.data-block .data-block-item span{
			display: block;
			float: right;
			font-weight: bold;
		}

/* Common file uploading block */
#upload_file{
	height: 22px;
	line-height: 22px;
	position: absolute;
	top: 1px;
	right: 1px;
	font-size: 11px;
	color: #333;
	font-weight: normal;
	background: #e1e1e1 none;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e1e1e1');
	background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e1e1e1));
	background: -moz-linear-gradient(top,  #ffffff,  #e1e1e1);
}
	#upload_file .qq-uploader{
		padding: 0 30px 0 12px !important;
		background: transparent url(../media/template/icon-file-upload.png) no-repeat 97% 50%;
	}
table#files_rows{
	margin: -9px -10px 0 -10px;
}
	table#files_rows{
		top: 0;
		left: 0;
		border-top: 1px solid #edecec;
		border-bottom: 1px solid #edecec;
	}
		table#files_rows td, table#files_rows th{
			padding: 2px;
			vertical-align: middle;
		}
		table#files_rows .order-number{
			text-align: center;
			font-size: 10px;
		}
		table#files_rows .title{
			width: 135px;
		}
			table#files_rows .title input{
				width: 125px;
			}
		table#files_rows .date{
			width: 80px;
		}
			table#files_rows .date input{
				width: 60px;
			}
		table#files_rows .notes{
			width: 190px;
		}
			table#files_rows .notes input{
				width: 180px;
			}
		table#files_rows .icon{
			width: 22px;
		}
			table#files_rows .icon a{
				display: block;
				width: 22px;
				height: 22px;
				text-indent: -9999px;
				overflow: hidden;
			}
			table#files_rows .icon a.link-to-file{
				background: transparent url(../media/template/icon-link.png) no-repeat 0 0;
			}
			table#files_rows .icon a.link-remove{
				background: transparent url(../media/template/icon-trash.png) no-repeat 0 0;
			}

/* Data summary wrap */		
.summary-wrap{
	background: #333 none;
	padding: 2px 5px;
	font-size: 10px;
	margin-bottom: 10px;
}
.summary-wrap, .summary-wrap a{
	color: #fff;
}
	.summary-wrap dl{
	}
		.summary-wrap dl dt, .summary-wrap dl dd{
			float: left;
		}
		.summary-wrap dl dt{
			margin-right: 5px;
		}
		.summary-wrap dl dd{
			font-weight: bold;
			margin-right: 20px;
		}
		
/* Calendar widget */
table.calendar-widget{
	border-collapse: collapse;
	width: 100%;
	border: 1px solid #ccc;
}
	table.calendar-widget th, table.calendar-widget td{
		text-align: center;
		vertical-align: middle;
	}
		table.calendar-widget th a, table.calendar-widget td a{
			text-decoration: none;
		}
	table.calendar-widget tr.navigation th{
		position: relative;
		text-align: center;
		font-size: 13px;
		font-weight: normal;
		height: 23px;
		line-height: 23px;
		vertical-align: middle;
		text-transform: uppercase;
		background: #efefef none;
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#efefef', endColorstr='#e1e1e1');
		background: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#e1e1e1));
		background: -moz-linear-gradient(top,  #efefef,  #e1e1e1);
	}
		table.calendar-widget tr.navigation th a.nav-link{
			width: 22px;
			height: 22px;
			display: block;
			position: absolute;
			text-indent: -9999px;
			overflow: hidden;
			top: 1px;
		}
		table.calendar-widget tr.navigation th a.prev-month{
			background: transparent url(../media/template/prev-bg-cal.gif) no-repeat 0 0;
			left: 1px;
		}
		table.calendar-widget tr.navigation th a.next-month{
			background: transparent url(../media/template/next-bg-cal.gif) no-repeat 0 0;
			right: 1px;
		}
		table.calendar-widget tr.navigation th span{
			display: block;
			margin: 0 35px;
		}
	table.calendar-widget tr.weekdays th{
		height: 25px;
		vertical-align: middle;
		text-align: center;
		font-size: 11px;
		font-weight: bold;
		color: #0d0d0d;
		background: #ffffff none;
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee');
		background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));
		background: -moz-linear-gradient(top,  #ffffff,  #eeeeee);
	}
	table.calendar-widget tbody tr td{
		height: 25px;
		font-size: 11px;
		font-weight: normal;
		border-top: 1px solid #edecec;
	}
	table.calendar-widget tbody tr:first-child td{
		border-top: 0 none;
	}
	table.calendar-widget tbody tr td, table.calendar-widget tbody tr td a{
		color: #333;
	}
		table.calendar-widget tbody tr td a{
			line-height: 19px;
			display: block;
			margin: 3px 5px;
		}
		table.calendar-widget tbody tr td a:hover, table.calendar-widget tbody tr td.current-day a{
			border: 1px solid #cd1627;
			margin: 1px 3px
		}
		table.calendar-widget tbody tr td.today a{
			background-color: #cd1627;
			color: #fff;
		}

/* Filter by user widget */
ul.users-filter{
	display: block;
	overflow: hidden;
}
.info-block ul.users-filter{
	margin: -10px;
}
	ul.users-filter li{
		display: block;
		clear: both;
	}
	ul.users-filter li, ul.users-filter li a{
		color: #0d0d0d;
	}
		ul.users-filter li span{
			font-size: 10px;
		}
		ul.users-filter li a{
			display: block;
			padding: 5px 10px;
			text-decoration: none;
			border: 1px solid #fff;
			border-top: 1px solid #edecec;
			background: #ffffff none;
			filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee');
			background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));
			background: -moz-linear-gradient(top,  #ffffff,  #eeeeee);
		}
		ul.users-filter li a:hover, ul.users-filter li.active a{
			border: 1px solid #cd1627;
			color: #cd1627;
		}

/* Jobs */
.actions-job .finished-job-label{
	color: #f00;
}
.important-task{
	display: inline-block;
	width: 16px;
	height: 16px;
	background: transparent url('../media/template/icon-a-fire.gif') repeat-x 0 0;
	vertical-align: bottom;
	overflow: hidden;
	text-indent: 9999px;
}

/* Jobs' Reports */

/* Common printing styles */
table.print-header{
	width: 100%;
	margin-top: 15px;
	margin-bottom: 30px;
	border-collapse: collapse;
}
	table.print-header td{
		padding: 5px;
	}
	table.print-header td.print-header-data{
	}
		table.print-header td.print-header-data h2{
			font-size: 12px;
			font-weight: bold;
			color: #000;
			margin-bottom: 5px;
		}
		table.print-header td.print-header-data table{
			border-collapse: collapse;
		}
			table.print-header td.print-header-data table td{
				padding: 5px;
				border: 1px solid #aaa;
			}
			table.print-header td.print-header-data table td.label{
				font-weight: bold;
			}
table.print-body{
	width: 100%;
}
	table.print-body td.print-body-item{
		padding: 5px;
	}
		table.print-body td.print-body-item table{
			width: 100%;
		}
			table.print-body td.print-body-item table th, table.print-body td.print-body-item table td{
				padding: 5px;
				border: 1px solid #aaa;
			}
			table.print-body td.print-body-item table th{
				font-weight: bold;
			}


#shroud {
	display: none;
	position: absolute;
	background-color: #FFF;
	opacity: 0.5;
	z-index: 999;
}

#new_upload_invoice span input[type="text"] {
	width: 80%;
}


#pages a {
	float: left;
	margin: 3px;
	font-size: 13px;
	text-decoration: none;
}

.active_page {
	font-weight: bold;
}

.uploaded td {
	background-color: #CCC;
}

.order_move_button {
	color: #FFF !important;
}

/* -= Jobs print template =- */
table.jobs-print-parameters{
	width: 100%;
}
	table.jobs-print-parameters td{
		padding: 2px 5px;
	}
	table.jobs-print-parameters .label-cell, table.jobs-print-parameters .value-cell{
		border: 1px solid #aaa;
	}
	table.jobs-print-parameters .label-cell{
		text-align: right;
		width: 15%;
		white-space: nowrap;
		font-weight: bold;
	}
	table.jobs-print-parameters .value-cell{
		text-align: left;
	}

table.jobs-print-list{
	width: 100%;
}
	table.jobs-print-list td{
		padding: 2px 5px;
	}
	table.jobs-print-list .jobs-print-list-row td, table.jobs-print-list .jobs-print-list-head td{
		border: 1px solid #aaa;
	}
	table.jobs-print-list .jobs-print-list-head td{
		font-style: italic;
		font-weight: bold;
	}
	
/* Wap of list table */
.table-list-wrap{
	clear: both;
	overflow: hidden;
	position: relative;
	margin-bottom: 15px;
}

.nowrap{
	white-space: nowrap;
}

.status_upload_invoice__prepared {
	background-color: #F0DFAB;
}

.status_upload_invoice__ready {
	background-color: #A9D19D;
}

.status_upload_invoice__empty {
	font-style: italic;
}

.upload_invoice_signed, .upload_invoice_not_signed {
	display: none;
}

.upload_invoice_signed {
	background-color: #A9D19D;
}

.upload_invoice_not_signed {
	background-color: #F0DFAB;
}

.upload_invoice__status-1 .upload_invoice_not_signed {
	display: inline;
}

.upload_invoice__status-2 .upload_invoice_signed {
	display: inline;
}

.info-block-task{
  border-bottom: 1px solid #000;
  overflow: hidden;
  margin-top: 5px;
  padding-top: 5px;
}

.select2-container {
	min-width: 200px !important;
	width: auto !important;
  }
  .select2-product-select .select2-container{  
    margin-left: 23px; 
	margin-bottom : 5px;
	min-width : 315px !important;
}
.select2-product-repackage-page .select2-container{
	margin-left: 25px; 
	margin-bottom : 5px;
	min-width : 330px !important; 
}
.select2-product-repackage-view .select2-container{
	margin-left: 42px; 
	margin-bottom : 5px;
	min-width : 330px !important; 
}
.info-block .info-block-item .recipe-product-label{
	width : 21% !important;
  }

.info-block-item .weight-input-initial,
.info-block-item .weight-input-uploaded,
.info-block-item .weight-input-product {
  margin-left: 23px;
  margin-bottom: 5px;
}
/* Ajax-appended "Sunaudotos žaliavos" rows (repackage / unload_order): their
   searchable pickers must sit where the native selects used to. */
.waste_product_row .select2-container{
	width: 330px !important;
	min-width: 0 !important;
	float: right;
	margin-bottom: 5px;
}
