body {
  position: relative;
  padding-top: 60px;

}

form {
   clear: both;
}

div.error,
span.error {
   color: #D64949;
}
.js_open_waybill_page {
   cursor: hand;
   cursor: pointer;
}

.input-append input,
.input-append a {
   font-size: 14px !important;
   z-index: auto !important;
}

.text-centered { text-align: center; }
.validation_error {
   color: #b94a48;
   text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}




.footer {
   clear: both;
}

.inline-btn-group {
   vertical-align: top;
   margin-right: 15px;
}
.inline-label {
   vertical-align: middle;
   margin-bottom: 0;
   line-height: 30px;
}
.inline-select-wrapper {
   margin: 0 20px 0 5px !important
}

.no-background {
   background: none !important;
}
.no-float { float: none !important; }

.batch_from_shop .span4 {
   
}
.batch_from_shop .span4 table tr,
.batch_to_shop .span4 table tr,
.batch_to_parter table tr  {
   height: 47px;
}
.batch_from_shop .span4 table td,
.batch_to_shop .span4 table td,
.batch_to_parter .span4 talbe td {
   vertical-align: middle;
}
.batch_from_shop textarea, 
.batch_to_shop textarea {
   height: 147px;
}
.batch_to_parter textarea {
   height: 100px
}
.no-bottom-margin {
   margin-bottom: 0;
}

.export-excel {
	margin-right: 20px;
}
.dropdown-select-wrapper {
	float: none; 
	display: inline-block; 
	margin: 0 30px 0 5px;
	vertical-align: middle;
	font-size: 0;
	line-height:0;
}
.dropdown-select-wrapper .ui-combobox {
   display: block;
   height: 20px;
   
}

/* TABLE FILTERS */

.ui-combobox {
   position: relative;
   overflow: hidden;
}

.ui-combobox .ui-combobox-toggle {
   position: absolute;
   top: 1px;
   right: 1px;
   display: block;
   width: 26px;
   height: 26px;
   background: red;
   cursor: pointer;
   cursor: hand;
   background: url('../img/glyphicons-halflings.png') white -306px -114px no-repeat;
   -webkit-border-radius: 4px;
   -moz-border-radius: 4px;
   border-radius: 4px;
}
.js_search_filter span.ui-combobox,
.inline-custom-filter span.ui-combobox {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  height: 30px;
   padding: 0 6px;
  font-size: 14px;

  color: #555555;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
          
  display: inline-block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.js_search_filter span.ui-combobox input,
.inline-custom-filter span.ui-combobox input {
   background: transparent;
   border: 0;
   width: 100%;
   display: block;
   color: #555555;
   font-weight: normal;
   line-height: 20px;
   padding: 4px 0;
}
.js_search_filter span.ui-combobox input:focus,
.inline-custom-filter span.ui-combobox input:focus  {
   outline: 0;
}
.inline-custom-filter .select-field {
   padding: 0 20px;
}
.inline-custom-filter label { margin-top: 5px; }

.inline-text-margin { margin-right: 1em; }


/* TABLE */

.side-border tbody .no-side-borders,
.side-border tbody .no-side-borders td {
   border-left: 0 !important;
   border-right: 0 !important;
}

.side-border tbody td,
.side-border tbody th {
   border-left: 1px solid #dddddd !important;
   border-right: 1px solid #dddddd !important;
}
.side-border.border-bottom {
   border-bottom: 1px solid #dddddd;
}

.no-side-borders th .ui-combobox {
   display: block;
}
.no-top-borders td,
.no-top-borders th {
   border-top: 0 !important;
}

.table select,
.table input[type="text"],
.table input[type="password"],
.table textarea {
   margin-bottom: 0;
}
.table tbody .disable-table-hover:hover td,
.table tbody .disable-table-hover:hover th {
	background-color: white; /*transparent*/
}




/* PAGINATOR */

.pagination {
   margin-bottom: 0;
}
.pagination .per-page {
  float: left;
  padding: 0 4px 0 14px;
  line-height: 38px;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-left-width: 0;
   -webkit-border-radius: 0 3px 3px 0;
     -moz-border-radius: 0 3px 3px 0;
          border-radius: 0 3px 3px 0;
}
.pagination .per-page:first-child {
   border-left-width: 1px;
   border-left-width: 1px;
   -webkit-border-radius: 3px 0 0 3px;
     -moz-border-radius: 3px 0 0 3px;
          border-radius: 3px 0 0 3px;
}
.pagination .per-page label {
   display: inline;
}
.pagination .per-page select {
   vertical-align: baseline;
   width: 65px;
   margin: 0;
}

/* LOGIN */

.login.container {
   margin-top: 100px;
   width: 300px;
}
.login.container > .content {
   background-color: #fff;
   padding: 20px;
   margin: 0 -20px; 
   -webkit-border-radius: 10px 10px 10px 10px;
   -moz-border-radius: 10px 10px 10px 10px;
   border-radius: 10px 10px 10px 10px;
   -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
   -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
   box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.login .login-form {
   margin-left: 65px;
}
.login .alert {
   width: 173px;
}
.login legend {
   margin-right: -50px;
   font-weight: bold;
   color: #404040;
}


/* PRINT */

@media print {
  .navbar,
  .footer.row-fluid { display: none; }
  table td { vertical-align: top; }
  
}


/* Desktop large
------------------------- */
@media (min-width: 1200px) {
  .bs-docs-container {
    max-width: 970px;
  }
  .bs-docs-sidenav {
    width: 258px;
  }
}

/* Desktop
------------------------- */
@media (max-width: 980px) {
  /* Unfloat brand */
  body > .navbar-fixed-top .brand {
    float: left;
    margin-left: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Inline-block quick links for more spacing */
  .quick-links li {
    display: inline-block;
    margin: 5px;
  }

}

/* Tablet to desktop
------------------------- */
@media (min-width: 768px) and (max-width: 980px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }
 
}

/* Tablet
------------------------- */
@media (max-width: 767px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }

  
}

/* Landscape phones
------------------------- */
@media (max-width: 480px) {
  /* Remove padding above jumbotron */
  body {
    padding-top: 0;
  }

  /* Change up some type stuff */
  h2 small {
    display: block;
  }


  /* center align subhead text like the masthead */
  .subhead h1,
  .subhead p {
    text-align: center;
  }

  /* Do our best to make tables work in narrow viewports */
  table code {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
  }

  /* Modal example */
  .modal-example .modal {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  /* Unfloat the back to top in footer to prevent odd text wrapping */
  .footer .pull-right {
    float: none;
  }
}
.floatingHeader {
   z-index: 99;
   position: fixed;
   top: 40px;
   visibility: hidden;
   background: #e2e2e2;
}

.message {
    background: #e6ffea none repeat scroll 0% 0%;
    border: 1px solid #00ff02;
    padding: 10px;
    margin: 5px 0;
}
.error_message {
    background: #ffe5e5 none repeat scroll 0% 0%; 
    border: 1px solid red;
    padding: 10px;
    margin: 5px 0;
}

table.message_rules td {
    vertical-align: top;
}
table.message_rules td label {
    margin-bottom: 0;
}

table.message_rules input,
table.message_rules select,
table.message_rules textarea {
    margin-bottom: 5px;
}

.universal_report .report_label {
    white-space: nowrap;
    padding-right:20px
}
.universal_report .is_number .report_value {
    text-align: right;
}
.universal_report .is_hidden {
    color:#999;
}

.material-icons {
    font-size: 16px;
    line-height: 16px;
    display: inline-flex;
    vertical-align: text-bottom;
}

.nowrap {
    white-space: nowrap;
}

.compact {
    font-family: "Open Sans Condensed", "Arial Narrow", sans-serif;
}

table.floating_header thead {
    background-color: rgba(230, 230, 230, 0.9);
}

.ace_editor {
    border: 1px solid lightgray;
    padding-bottom: 1ex;
}
.ace_gutter-cell {
    color: #c1c1c1;
}

div.hint {
    margin: 1ex 0; 
    color: gray;
    font-size: 90%;
}

input.slim_date {
    width: 5em;
}

.nobr {
    white-space: nowrap;
}

input[type="radio"], input[type="checkbox"].middle {
  margin-top: -1px;
  vertical-align: middle;
}

.number {
  text-align: right !important;
}
.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all .2s linear;
    white-space: nowrap;
}
.ellipsis:focus, .ellipsis:hover {
    color:transparent;
}
.ellipsis:focus:after,.ellipsis:hover:after{
    content:attr(data-text);
    overflow: visible;
    text-overflow: inherit;
    background: #fff;
    position: absolute;
    left:auto;
    top:auto;
    width: auto;
    border: 1px solid #eaebec;
    white-space: normal;
    word-wrap: break-word;
    display:block;
    color:black;
    margin-top:-1.25rem;
    padding: 5px;
}
select.ng-invalid, input.ng-invalid {
  color: red;
  border: 1px solid red;
}
.js_calculate_total .ui-autocomplete-input {
    color: #000;
    font-weight: normal;
}
.js_calculate_total .ui-combobox-toggle {
   position: absolute;
   top: 1px;
   right: 1px;
   display: block;
   width: 26px;
   height: 16px;
   background: red;
   cursor: pointer;
   cursor: hand;
   background: url('../img/glyphicons-halflings.png') white -305px -118px no-repeat;
   -webkit-border-radius: 4px;
   -moz-border-radius: 4px;
   border-radius: 4px;
}
