* {
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;

	background-repeat: no-repeat;
}

.tt-dropdown-menu {
	padding:4px 6px;
    background-color: white;
    width: 165px;
}

.typeAheadItem {
	border-bottom: 1px solid #ccc;
	padding-bottom: 3px;
	padding-top: 3px;
}

.typeAheadItem:hover {
	background-color: #bcd4ec;
}

.wrapper {
	max-width: 960px;
	margin: auto;
	position: relative;
}

section {
	overflow: hidden;
}
ul {
	list-style: none;
}
.logo {
	float: left;
}

#login {
	max-width: 300px;
	margin: 50px auto;
	background: #F7F7F7;
	border: solid 1px #f1f1f1;
	padding: 25px;
	border-radius: 2px;
	float: none; !important;
}

#login h2 {
	border-bottom: solid 1px #f1f1f1;
	padding-bottom: 10px;
	margin-bottom: 20px;
}

header {
	width: auto;
	position: relative;
	margin: auto;
	background-color: #ffffff;
	height: 125px;
	padding-top: 20px;
	border-bottom: solid 4px #7D0D01;
}

header.main nav {
	position: absolute;
	right: 0;
	top: 50%;
	margin-top: -16px;
	display: block;
	min-width:500px;
}

header.main nav li.username{
	margin-left: 30px;
	cursor: pointer;
}

section.main {
	padding-top: 40px;
}
section.main div.page > div {
	float: left;
	padding: 50px 20px;
}

div#mainContent > * {
	float:left;
	margin-bottom: 25px;
}

div#content {
	padding-left: 40px;
}

footer{
	position: relative;
	bottom: 0;
	height: auto;
	background-color: #FFFFFF;
	color: #000000;
	width: 100%;
	overflow: hidden;
	padding: 30px 0 10px 0;
	border-top: solid 4px #7D0D01;
	text-align: center;
}

footer ul{
	list-style: none;
	margin: 0 20px;
	display: inline-block;
	vertical-align: top;
	text-align: left;
	font-size: 12px;
	line-height: 14px;
}

footer ul li{
	padding-bottom: 5px;
}

footer ul > i{
	float: left;
	margin-left: -40px;
	font-size: 24px;
}

footer a{
	color: #444;
}

footer a:hover{
	color: #444;
}

.copyright{
	font-size: 80%;
	margin: 10px 0;
	opacity: .8;
}

.page, .section{
	display: none;
}

.float{
	float: left;
}

.float{
	padding-right: 40px;
}

.floatrt{
	float: right;
}

.floatrt{
	padding-left: 40px;
}

.section .float:last-of-type{
	padding-right: 0;
}

.control-bar{
	text-align: right;
}

/****** FORM VALIDATION ******/



div.uk-form-row{
	position: relative;
}

label.error{
	position: absolute;
	left: 100%;
	top: -1px;
	margin-left: 10px;
	background: rgb(223, 127, 127);
	padding: 6px 10px;
	border-radius: 3px;
	white-space: nowrap;
	color: white;
	box-shadow: 1px 1px 2px rgba(0,0,0,.2);
}

label.error:after {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(136, 183, 213, 0);
	border-right-color: rgb(223, 127, 127);
	border-width: 6px;
	margin-top: -6px;
}
#contacts-list, #contacts-list_wrapper {
	width: 100% !important;
}

/************** Forms ***********************/
.form-row{
	width: 100%;
	margin-bottom: 5px;
	padding-top: 10px;
	display: table-row;
	/* background-color: pink; */
}

.form-section {
	border-color: #000000;
	border-style: solid;
	border-width: 2px;
}
.form-row-error.form-section {
	border-color: red;
	border-style: solid;
	border-width: 2px;
}
.form-section .form-title{
	background-color: #bfbfbf;
	font-size: 8px;
	font-weight: 800;
	padding-left: 5px;
	text-transform: uppercase;
}
.form-section .form-title,
table.form-data thead td{
	background-color: #bfbfbf;
	font-weight: 800;
	padding-left: 5px;
	text-transform: uppercase;
}
.form-section.form-title-top .form-title{
	font-size: 8px;
	border-bottom: 2px solid #000000;
}
.form-section.form-title-left .form-title{
	border-right: 2px solid #000000;
	padding-right: 10px;
	margin-right: 5px;
	float: left;
}
.form-box {
	float: left;
	display: table-cell;
}
.form-box-po {width: 400px; margin-right: 20px; overflow: hidden;}
.form-box-team {width: 225px; margin-right: 20px; overflow: hidden;}
.form-box-date {width: 175px; overflow: hidden;}
.form-box-customer {width: 410px; margin-right: 20px; overflow: hidden;}
.form-box-shipto {width: 410px; overflow: hidden;}
.form-box-factory {width: 200px; margin-right: 20px; overflow: hidden;}
.form-box-tagjob {width: 400px; margin-right: 20px; overflow: hidden;}
.form-box-weight {width: 200px; overflow: hidden;}
.form-box-subtotal, .form-box-total,  .form-box-total {width: 180px; float: right; overflow: hidden; margin-right: 10px; margin-bottom: 25px;}
.form-box-invoicegroup {width: 250px; float: right; overflow: hidden; margin-right: 10px; margin-bottom: 25px;}
/*inputs*/

.form-box-po input[type="text"] {width: 300px; border: none; background: transparent;  }
.form-box-team input[type="text"] {width: 175px; border: none; background: transparent; }
.form-box-date input[type="text"] {width: 125px; border: none; background: transparent;}
.form-box-factory input[type="text"] {width: 200px; border: none; background: transparent; }
.form-box-tagjob input[type="text"] {width: 400px; border: none; background: transparent;}
.form-box-weight input[type="text"] {width: 200px; border: none; background: transparent;}

.form-box-shipto > .form-content  input { border: none; background: transparent;}
.form-box-customer > .form-content > ul  { list-style: none; }
.form-box-shipto > .form-content > ul  { list-style: none; }
.form-box-shipto > .form-content > ul > li:nth-child(1) > input {width: 310px; float: right;}
.form-box-shipto > .form-content > ul > li:nth-child(2) > input {width: 310px; float: right;}
.form-box-shipto > .form-content > ul > li:nth-child(3) > input {width: 310px; float: right;}
.form-box-shipto > .form-content > ul > li:nth-child(4) > input {width: 310px; float: right;}
.form-box-shipto > .form-content > ul > li:nth-child(5) {padding-left: 65px;}
.form-box-shipto > .form-content > ul > li:nth-child(5) > input:nth-child(1) {width: 190px;}
.form-box-shipto > .form-content > ul > li:nth-child(5) > input:nth-child(2) {width: 40px;}
.form-box-shipto > .form-content > ul > li:nth-child(5) > input:nth-child(3) {width: 60px;}
.form-box-shipto > .form-content > ul > li:nth-child(6) > input {width: 190px; margin-left: 15px; margin-right: 35px;}

.form-box-shelf {width: 200px; overflow: hidden;}
.form-box-shelf input[type="text"] {width: 145px; border: none; background: transparent; }

#subtotal {width: 90px; border: none; background: transparent;}
#total {width: 105px; border: none; background: transparent;}
input#invoice {width: 105px; border: none; background: transparent;}

table.form-data {
	width: 840px;
	border: 2px solid #000000;
}
table.form-data > thead > tr > td {
	border: 2px solid #000000;
	font-size: 8px;
}
table.form-data > tbody > tr > td {
	border: 1px solid #000000;
}
table.form-data > tbody > tr:last-child > td {
	text-align: center;
}
table.data-fee  tr:not(:last-child) > td:last-child {width: 175px;}
table.data-fee  tr:not(:last-child) > td:first-child input[type="text"] {width: 650px;}
table.data-fee  tr:not(:last-child) > td:last-child input[type="text"] {width: 155px;}


table.data-items  tr:not(:last-child) > td:nth-child(1) { width: 50px; overflow: hidden;}
table.data-items  tr:not(:last-child) > td:nth-child(2) { width: 50px; overflow: hidden;}
table.data-items  tr:not(:last-child) > td:nth-child(3) { width: 50px; overflow: hidden;}
table.data-items  tr:not(:last-child) > td:nth-child(5) { width: 75px; overflow: hidden;}
table.data-items  tr:not(:last-child) > td:nth-child(6) { width: 100px; overflow: hidden;}

table.data-items  tr:not(:last-child) > td:nth-child(1) > input[type="text"] { width: 50px; border: none; background: transparent;}
table.data-items  tr:not(:last-child) > td:nth-child(2) > input[type="text"] { width: 50px; border: none; background: transparent; }
table.data-items  tr:not(:last-child) > td:nth-child(3) > input[type="text"] { width: 50px; border: none; background: transparent; }
table.data-items  tr:not(:last-child) > td:nth-child(4) > input[type="text"] { width: 100%; border: none; background: transparent; }
table.data-items  tr:not(:last-child) > td:nth-child(5) > input[type="text"] { width: 60px; border: none; background: transparent; }
table.data-items  tr:not(:last-child) > td:nth-child(6) > input[type="text"] { width: 80px; border: none; background: transparent; }


table.data-shipping tr:not(:last-child) > td:nth-child(1) { width: 100px; overflow: hidden;}
table.data-shipping tr:not(:last-child) > td:nth-child(2) { width: 200px; overflow: hidden;}
table.data-shipping tr:not(:last-child) > td:nth-child(3) { width: 500px; overflow: hidden;}
table.data-shipping tr:not(:last-child) > td:nth-child(4) { width: 100px; text-align: center;}

table.data-shipping tr:not(:last-child) > td:nth-child(1) > input[type="text"]  { width: 100px; border: none; background: transparent; }
table.data-shipping tr:not(:last-child) > td:nth-child(2) > input[type="text"]  { width: 200px; border: none; background: transparent; }
table.data-shipping tr:not(:last-child) > td:nth-child(3) > input[type="text"]  { width: 500px; border: none; background: transparent; }

table.list-orders tr td {overflow: hidden;}


#form-status { margin-left: 400px;}
.img-sign {
	max-height: 300px;
	height: auto;
	width: auto;
}


form#settings-order-move-filter label {
	width: 85px;
	display: inline-block;
}
form#settings-order-move-filter button,
form#settings-order-move-filter input{
	width: 250px;
	display: inline-block;
}

ul.order-select {
	margin-left: -25px;
}
ul.order-select li {
	height: 30px;
	margin-bottom: 5px;
	font-size: 15px;
	padding-bottom: 10px;
	line-height  : 30px;
	vertical-align: top;
}
ul.order-select li:hover{
	
	background-color: rgba(187,187,187,1.00);
}
ul.order-select li input[type=checkbox]:not(old),
ul.order-select li input[type=radio   ]:not(old){
  width   : 28px;
  margin  : 0;
  padding : 0;
  opacity : 0;
}

ul.order-select li input[type=checkbox]:not(old) + label,
ul.order-select li input[type=radio   ]:not(old) + label{
  display      : inline-block;
  margin-left  : -28px;
  margin-bottom  : 5px;
  padding-left : 28px;
	padding-bottom: 5px;
	padding-top: 5px;
  background   : url('/ui/images/checks.png') no-repeat 0 0;
  line-height  : 25px;
	width: 130px;
	margin-right: 5px;
	height: 25px;
}

ul.order-select li input[type=checkbox]:not(old):checked + label{
  background-position : 0 -24px;
}

ul.order-select li input[type=radio]:not(old):checked + label{
  background-position : 0 -48px;
}

ul.order-select li div{ padding-top: 5px;}

ul.order-select li div.list-po{
	display: inline-block;
	width: 300px;
	height: 25px;
	margin-right: 5px;
	overflow: hidden;
}
ul.order-select li div.list-tag{
	display: inline-block;
	width: 400px;
	height: 25px;
	margin-top: 2px;
	margin-right: 5px;
	overflow: hidden;
}