@charset "UTF-8";

/*
 * Main flex layout for the containers
 */

* {
  box-sizing: border-box;
}

html,
body {
  position: relative;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1;
  color: #222;
  text-rendering: optimizelegibility;
  /*min-height: 650px;
  min-width: 1024px;*/
}

html.display,
html.display body {
  height: 100%;
  min-height: 600px;
  /* overflow: hidden; */
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
}

html.print body {
  position: relative;
  height: auto;
  display: block !important;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  height: auto !important;
  min-height: 50px;
}

html.print body > * {
  padding: 0;
  margin: 0;
  -webkit-box-flex: none;
  flex: none;
}

@media screen and (max-height: 600px) {
  html,
  body {
    overflow-y: auto;
  }
}

body > * {
  padding: 0;
  margin: 0;
  -webkit-box-flex: 1;
  flex: 1;
}

body .ajax-loader {
  position: fixed;
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: white;
  z-index: 9000;
  border-radius: 100px;
  border: 1px solid #efefef;
  padding: 10px;
  box-shadow: 0px 0px 20px -2px rgba(0, 0, 0, 0.5);
  display: none;
  -webkit-animation: scaling 1s infinite alternate;
}

@-webkit-keyframes scaling {
  from {
    -webkit-transform: scale(1);
  }

  to {
    -webkit-transform: scale(1.25);
  }
}

body .ajax-loader img {
  width: 25%;
  height: 25%;
  margin: 0 auto;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  position: absolute;
  /* width: 100%;
  height: 100%; */
}

body.show-loader .ajax-loader {
  display: block;
}

header {
  background-color: skyblue;
  box-shadow: 0 1px 5px 2px rgba(0, 0, 0, 0.1);
  z-index: 999;
  width: 100%;
  -webkit-box-flex: none;
  flex: none;
}

footer {
  background-color: purple;
  display: none;
}

main {
  background-color: beige;
  -webkit-box-flex: 3 0px;
  flex: 3 0px;
  display: -webkit-box;
  display: flex;
  -webkit-box-flex-direction: row;
  -moz-box-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

main > * {
  -webkit-box-flex: 1;
  flex: 1;
}

main > nav {
  -webkit-box-flex: none;
  flex: none;  
  z-index: 1;
  box-shadow: 2px 0 2px 1px rgba(0, 0, 0, 0.1);
}

main > aside.aside-wrapper {
  max-width: 400px;
  width: 100%;
  box-shadow: -2px 0 5px 1px rgba(0, 0, 0, 0.2);
  right: 0px;
  z-index: 1;
  height: 100%;
  overflow-y: auto;
  display: none;
  position: absolute;
  top: 0px;
  right: -400px;
  z-index: 900;
  -webkit-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
}

main > nav.nav-wrapper.show,
main > aside.aside-wrapper.show {
  -webkit-box-flex: none;
  flex: none;
}

main .content-wrapper {
  width: calc(100% - 120px);
}

.blue-bg h1 {
  text-shadow: 1px 1px 0 #000000;
}

main > aside.aside-wrapper.show {
  right: 0;
  -webkit-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}

main > aside.aside-wrapper .content {
  padding: 0px 15px;
}

main > aside.aside-wrapper .content .title {
  position: relative;
  padding: 24px 15px 10px;
  border-bottom: 1px solid #337ab7;
  margin-bottom: 20px;
  color: white;
}

main > aside.aside-wrapper .quit {
  position: absolute;
  right: 15px;
  top: 25px;
  z-index: 1091;
}

main > aside.aside-wrapper .content .box {
  padding: 0px;
}

main > aside.aside-wrapper .content .box .item {
  cursor: pointer;
  margin-bottom: 10px;
  border-bottom: 1px solid #a5a6a7;
  padding: 15px 0px;
}

main > aside.aside-wrapper .box .item .remove.btn {
  padding: 3px;
  position: absolute;
  top: 0;
  right: 0px;
}

main > aside.aside-wrapper .box .item .remove.btn button {
  padding: 3px;
}

#orderWrapper {
  display: block;
  min-height: 250px;
  padding: 0;
}

#order {
  font-family: "Lucida Console", Monaco, monospace;
  line-height: 1.5em;
}

#order td.dis input[type=text] {
  min-width: 10px;
  margin: 0 auto;
}

#order td i {
  margin-left: 0;
}

#order tfoot tr {
  color: #fff;
  font-weight: bold;
}

#order td.qty .select2-container {
  width: 100%;
  display: inline-block;
}

#order tbody td {
  padding: 10px;
  border: 1px solid #ccc;
  border-collapse: collapse;
  text-align: center;
}

#order td.qty {
  position: relative;
  min-width: 80px !important;
}

#order td.qty input {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

#order td.desc {
  text-align: left;
}

#order td.hsn {
  text-align: center;
}

button > * {
  display: inline-block;
  vertical-align: middle !important;
}

.btn {
  position: relative;
  padding: 4px 10px;
}

.btn.status {
  padding: 2px 10px;
}

span.badge,
.btn .badge {
  background: #ff0a0a !important;
  color: white;
  padding: 5px;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  position: absolute;
  top: -5px;
  left: -5px;
  font-size: 10px;
}

table.dataTable .action .btn {
  min-width: 100%;
}

table.dataTable tbody tr td {
  vertical-align: top !important;
}

/* table.dataTable tbody tr{
      cursor: pointer;
}

table.dataTable tbody>tr:hover,
table.dataTable tbody>tr.active{
      background-color: #f5f5f5;
} */

table.dataTable tr td:first-child {
  text-align: center;
}

table.dataTable td {
  text-align: left;
  line-height: 1.4;
}

table.dataTable td span {
  display: block;
}

table.dataTable td span.title {
  font-size: 12px;
  color: black;
  font-weight: 500;
}

table.dataTable td span.desc {
  font-size: 12px;
  color: #001F3F;
}

table.dataTable tbody tr.selected,
table.dataTable tbody th.selected,
table.dataTable tbody td.selected {
  color: white;
}

table.dataTable tbody > tr.selected,
table.dataTable tbody > tr > .selected {
  background-color: #0275d8;
}

table.table-bordered.dataTable tbody td.text-center {
  text-align: center !important;
}

table.table-bordered.dataTable tbody td.text-left {
  text-align: left !important;
}

table.table-bordered.dataTable tbody td.text-right {
  text-align: right !important;
}

table.table-bordered.dataTable tbody tr.return {
  background: #ffefef !important;
}

div.mdl-layout__drawer > nav.mdl-navigation > a.mdl-navigation__link {
  display: -webkit-inline-box;
  display: inline-flex;
  vertical-align: middle;
}

div.dataTables_wrapper .dataTables_scrollBody {
  margin: 0 0 20px;
}

div.dataTables_wrapper div.dataTables_filter {
  height: 34px;
}

div.dataTables_wrapper .dataTables_filter label {
  margin: 2px 0;
  height: 100%;
}

div.dataTables_wrapper div.dataTables_filter input {
  min-width: 250px;
  margin-top: 0;
  height: 100%;
  padding: 6px 10px !important;
  margin-left: 10px !important;
}

div.dataTables_wrapper .row-detail,
div.dataTables_wrapper .row-detail .detail,
div.dataTables_wrapper .row-detail .actions {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-flex-direction: row;
  -moz-box-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  -webkit-box-flex: 1;
          flex: 1;
  -webkit-box-align: start;
          align-items: flex-start;
}

div.dataTables_wrapper .row-detail .link,
div.dataTables_wrapper .row-detail .actions {
  -webkit-box-flex: 0;
          flex: none;
  -webkit-box-align: end;
          align-items: flex-end;
}

div.dataTables_wrapper .row-detail .link {
  border-right: 1px solid #ddd;
  padding-right: 7px;
}

div.dataTables_wrapper .row-detail .btn {
  padding: 4px 0px !important;
}

div.dataTables_wrapper .row-detail i.material-icons {
  font-size: 20px;
}

div.dataTables_wrapper .row-detail .actions {
  /* border-left: 1px solid #ddd; */
  padding-left: 4px;
  width: 200px;
  text-align: right;
  -webkit-box-pack: end;
          justify-content: flex-end;
}

div.dataTables_wrapper .row-detail .actions > div {
  margin-left: 5px;
}

div.dataTables_wrapper .row-detail .detail .item {
  position: relative;
  margin-right: 20px;
}

div.dataTables_wrapper .row-detail .detail .item span {
  display: block;
  text-align: left;
}

div.dataTables_wrapper .row-detail .detail .item .desc {
  font-size: 11px;
  color: #777;
}

div.dataTables_wrapper .row-detail .detail .item a .title {
  color: #0000FF;
  cursor: pointer;
}

.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
  border-bottom-width: 0px;
}

div.dataTables_wrapper .footer-detail,
div.dataTables_wrapper .footer-detail .result {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-flex-direction: row;
  -moz-box-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  -webkit-box-flex: 1;
          flex: 1;
  -webkit-box-align: start;
          align-items: flex-start;
  -webkit-box-pack: end;
          justify-content: flex-end;
}

div.dataTables_wrapper .footer-detail .result {
  -webkit-box-align: end;
          align-items: flex-end;
}

div.dataTables_wrapper .footer-detail .item {
  margin-left: 10px;
  text-align: right;
}

div.dataTables_wrapper .footer-detail .item .desc {
  font-size: 12px;
}

/* Rules for sizing the icon. */

.fs-9 {
  font-size: 9px !important;
}

.fs-10 {
  font-size: 10px !important;
}

.fs-11 {
  font-size: 11px !important;
}

.fs-12 {
  font-size: 12px !important;
}

.fs-14 {
  font-size: 14px !important;
}

.fs-16 {
  font-size: 16px !important;
}

.fs-18 {
  font-size: 18px !important;
}

.fs-20 {
  font-size: 20px !important;
}

.fs-22 {
  font-size: 22px !important;
}

.fs-24 {
  font-size: 24px !important;
}

.fs-26 {
  font-size: 26px !important;
}

.fs-28 {
  font-size: 28px !important;
}

.fs-30 {
  font-size: 30px !important;
}

.fs-32 {
  font-size: 32px !important;
}

.fs-34 {
  font-size: 34px !important;
}

.fs-36 {
  font-size: 36px !important;
}

.fs-40 {
  font-size: 40px !important;
}

.fs-44 {
  font-size: 44px !important;
}

.fs-48 {
  font-size: 48px !important;
}

.fs-60 {
  font-size: 60px !important;
}

.fs-72 {
  font-size: 72px !important;
}

.form-group .form-control {
  /*padding: 10px 16px;*/
  letter-spacing: normal;
  text-indent: 0.25em;
  border-radius: 2px;
  line-height: 1.42857;
  min-height: 40px;
  display: inline-block;
}

.picker__frame .picker__select--year {
  min-width: 70px;
  padding: 0.2em;
}

.picker__frame .picker__select--month {
  min-width: 120px;
  padding: 0.2em;
}

.form-group select.form-control {
  width: auto;
  float: right;
  min-width: 18%;
  height: 40px;
  line-height: 20px;
  text-indent: 10px;
}

.inline {
  display: inline !important;
  margin: 0;
}

.inline-block {
  display: inline-block !important;
}

.white-space-nowrap {
  white-space: nowrap;
}

.bold {
  font-weight: bold;
}

.relative {
  position: relative;
}

.ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
}

.btn-group.bootstrap-select.show {
  display: inline-block !important;
}

span.ellipsis {
  max-width: 165px;
  display: inline-block;
  white-space: nowrap;
}

.w-au {
  width: auto;
}

.w-01 {
  width: 1%;
}

.w-02 {
  width: 2%;
}

.w-03 {
  width: 3%;
}

.w-04 {
  width: 4%;
}

.w-05 {
  width: 5%;
}

.w-08 {
  width: 8%;
}

.w-10 {
  width: 10%;
}

.w-12 {
  width: 12%;
}

.w-15 {
  width: 15%;
}

.w-18 {
  width: 18%;
}

.w-20 {
  width: 20%;
}

.w-22 {
  width: 22%;
}

.w-25 {
  width: 25%;
}

.w-28 {
  width: 28%;
}

.w-30 {
  width: 30%;
}

.w-32 {
  width: 32%;
}

.w-34 {
  width: 34%;
}

.w-35 {
  width: 35%;
}

.w-38 {
  width: 38%;
}

.w-40 {
  width: 30%;
}

.w-42 {
  width: 42%;
}

.w-45 {
  width: 45%;
}

.w-48 {
  width: 48%;
}

.w-50 {
  width: 50%;
}

.w-52 {
  width: 52%;
}

.w-55 {
  width: 55%;
}

.w-58 {
  width: 58%;
}

.w-60 {
  width: 60%;
}

.w-62 {
  width: 62%;
}

.w-65 {
  width: 65%;
}

.w-68 {
  width: 68%;
}

.w-70 {
  width: 70%;
}

.w-72 {
  width: 72%;
}

.w-75 {
  width: 75%;
}

.w-78 {
  width: 78%;
}

.w-80 {
  width: 80%;
}

.w-82 {
  width: 82%;
}

.w-85 {
  width: 85%;
}

.w-88 {
  width: 88%;
}

.w-90 {
  width: 90%;
}

.w-92 {
  width: 92%;
}

.w-95 {
  width: 95%;
}

.w-98 {
  width: 98%;
}

.w-100 {
  width: 100%;
}

/* percentage based padding and margins */

.pd-01-pt {
  padding: 1%;
}

.pd-02-pt {
  padding: 2%;
}

.pd-03-pt {
  padding: 3%;
}

.pd-04-pt {
  padding: 4%;
}

.pd-05-pt {
  padding: 5%;
}

.pd-06-pt {
  padding: 6%;
}

.pd-07-pt {
  padding: 7%;
}

.pd-08-pt {
  padding: 8%;
}

.pd-09-pt {
  padding: 9%;
}

.pd-10-pt {
  padding: 10%;
}

.pdl-01-pt {
  padding-left: 1%;
}

.pdl-02-pt {
  padding-left: 2%;
}

.pdl-03-pt {
  padding-left: 3%;
}

.pdl-04-pt {
  padding-left: 4%;
}

.pdl-05-pt {
  padding-left: 5%;
}

.pdl-06-pt {
  padding-left: 6%;
}

.pdl-07-pt {
  padding-left: 7%;
}

.pdl-08-pt {
  padding-left: 8%;
}

.pdl-09-pt {
  padding-left: 9%;
}

.pdl-10-pt {
  padding-left: 10%;
}

.pdr-01-pt {
  padding-right: 1%;
}

.pdr-02-pt {
  padding-right: 2%;
}

.pdr-03-pt {
  padding-right: 3%;
}

.pdr-04-pt {
  padding-right: 4%;
}

.pdr-05-pt {
  padding-right: 5%;
}

.pdr-06-pt {
  padding-right: 6%;
}

.pdr-07-pt {
  padding-right: 7%;
}

.pdr-08-pt {
  padding-right: 8%;
}

.pdr-09-pt {
  padding-right: 9%;
}

.pdr-10-pt {
  padding-right: 10%;
}

.pdt-01-pt {
  padding-top: 1%;
}

.pdt-02-pt {
  padding-top: 2%;
}

.pdt-03-pt {
  padding-top: 3%;
}

.pdt-04-pt {
  padding-top: 4%;
}

.pdt-05-pt {
  padding-top: 5%;
}

.pdt-06-pt {
  padding-top: 6%;
}

.pdt-07-pt {
  padding-top: 7%;
}

.pdt-08-pt {
  padding-top: 8%;
}

.pdt-09-pt {
  padding-top: 9%;
}

.pdt-10-pt {
  padding-top: 10%;
}

.pdb-01-pt {
  padding-bottom: 1%;
}

.pdb-02-pt {
  padding-bottom: 2%;
}

.pdb-03-pt {
  padding-bottom: 3%;
}

.pdb-04-pt {
  padding-bottom: 4%;
}

.pdb-05-pt {
  padding-bottom: 5%;
}

.pdb-06-pt {
  padding-bottom: 6%;
}

.pdb-07-pt {
  padding-bottom: 7%;
}

.pdb-08-pt {
  padding-bottom: 8%;
}

.pdb-09-pt {
  padding-bottom: 9%;
}

.pdb-10-pt {
  padding-bottom: 10%;
}

.mr-au {
  margin: 0 auto;
}

.mr-01-pt {
  margin: 1%;
}

.mr-02-pt {
  margin: 2%;
}

.mr-03-pt {
  margin: 3%;
}

.mr-04-pt {
  margin: 4%;
}

.mr-05-pt {
  margin: 5%;
}

.mr-06-pt {
  margin: 6%;
}

.mr-07-pt {
  margin: 7%;
}

.mr-08-pt {
  margin: 8%;
}

.mr-09-pt {
  margin: 9%;
}

.mr-10-pt {
  margin: 10%;
}

.mrl-01-pt {
  margin-left: 1%;
}

.mrl-02-pt {
  margin-left: 2%;
}

.mrl-03-pt {
  margin-left: 3%;
}

.mrl-04-pt {
  margin-left: 4%;
}

.mrl-05-pt {
  margin-left: 5%;
}

.mrl-06-pt {
  margin-left: 6%;
}

.mrl-07-pt {
  margin-left: 7%;
}

.mrl-08-pt {
  margin-left: 8%;
}

.mrl-09-pt {
  margin-left: 9%;
}

.mrl-10-pt {
  margin-left: 10%;
}

.mrr-01-pt {
  margin-right: 1%;
}

.mrr-02-pt {
  margin-right: 2%;
}

.mrr-03-pt {
  margin-right: 3%;
}

.mrr-04-pt {
  margin-right: 4%;
}

.mrr-05-pt {
  margin-right: 5%;
}

.mrr-06-pt {
  margin-right: 6%;
}

.mrr-07-pt {
  margin-right: 7%;
}

.mrr-08-pt {
  margin-right: 8%;
}

.mrr-09-pt {
  margin-right: 9%;
}

.mrr-10-pt {
  margin-right: 10%;
}

.mrt-01-pt {
  margin-top: 1%;
}

.mrt-02-pt {
  margin-top: 2%;
}

.mrt-03-pt {
  margin-top: 3%;
}

.mrt-04-pt {
  margin-top: 4%;
}

.mrt-05-pt {
  margin-top: 5%;
}

.mrt-06-pt {
  margin-top: 6%;
}

.mrt-07-pt {
  margin-top: 7%;
}

.mrt-08-pt {
  margin-top: 8%;
}

.mrt-09-pt {
  margin-top: 9%;
}

.mrt-10-pt {
  margin-top: 10%;
}

.mrb-01-pt {
  margin-bottom: 1%;
}

.mrb-02-pt {
  margin-bottom: 2%;
}

.mrb-03-pt {
  margin-bottom: 3%;
}

.mrb-04-pt {
  margin-bottom: 4%;
}

.mrb-05-pt {
  margin-bottom: 5%;
}

.mrb-06-pt {
  margin-bottom: 6%;
}

.mrb-07-pt {
  margin-bottom: 7%;
}

.mrb-08-pt {
  margin-bottom: 8%;
}

.mrb-09-pt {
  margin-bottom: 9%;
}

.mrb-10-pt {
  margin-bottom: 10%;
}

.title .select-wrapper {
  min-width: 220px;
}

.action button.btn:not(.select-wrapper .btn.dropdown-toggle.btn-default),
.status button.btn {
  display: inline-block;
  margin-right: 5px;
  padding: 3px;
}

.action button.btn i,
.status button.btn i {
  font-size: 16px;
}

.action .select-wrapper .btn,
.action input, {
  height: 34px;
}

.action .select-wrapper {
  margin-right: 5px;
}

.ui-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  float: left;
  display: none;
  min-width: 160px;
  _width: 160px;
  margin: 2px 0 0 0;
  list-style: none;
  background-color: #ffffff;
  border-color: #ccc;
  border-color: rgba(0, 0, 0, 0.2);
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  *border-right-width: 2px;
  *border-bottom-width: 2px;
}

.ui-menu-item > a.ui-corner-all {
  display: block;
  padding: 3px 15px;
  clear: both;
  font-weight: normal;
  line-height: 18px;
  color: #555555;
  white-space: nowrap;
}

/*.ui-state-hover,
.ui-state-active {
  color: #fff;
  text-decoration: none;
  background-color: #337ab7;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  background-image: none;
}*/

.cs-autocomplete {
  padding: 0 !important;
  min-width: auto;
}

.cs-autocomplete ul {
  width: 100% !important;
  min-width: auto;
}

.cs-autocomplete .ui-menu-item-wrapper {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  text-align: left;
  line-height: 1.2em;
  font-size: 12px;
}

.cs-autocomplete .ui-menu-item:last-child .ui-menu-item-wrapper {
  border-bottom: none !important;
}

.cs-autocomplete .ui-menu-item-wrapper.ui-state-active {
  background: #2e6da4;
  color: white;
}

.ui-autocomplete li .item {
  padding: 8px 14px;
  font-family: inherit;
}

.ui-autocomplete li .item .title {
  font-size: 12px;
  color: #2e6da4;
  line-height: 1.3em;
  margin-bottom: 4px;
}

.ui-autocomplete li .item .desc {
  font-size: 11px;
  color: #444;
}

.ui-menu-item-wrapper.ui-state-active .title {
  /* color: #fff !important; */
  color: #ff0 !important;
}

.ui-menu-item-wrapper.ui-state-active .desc {
  color: #f1f1f1 !important;
}

form .row > div {
  margin-bottom: 20px;
}

form .row:last-child > div {
  margin-bottom: 0px;
}

div.wrapper {
  position: relative;
  height: 100%;
  box-sizing: border-box;
}

.wrapper input.form-control:not(input.no-min-w) {
  min-width: 100px;
}

div.wrapper > .outer {
  /* padding: 16px; */
  height: 100%;
  overflow: hidden;
}

div.wrapper > .outer .panel {
  height: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-flex-direction: column;
  -moz-box-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  margin: 0px;
}

div.wrapper > .outer .panel-heading {
  -webkit-box-flex: none;
  flex: none;
  font-size: 20px;
  padding: 6px 0;
  text-transform: capitalize;
  text-align: right;
}

div.wrapper > .outer .panel-heading > div {
  /* display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center; */
}

div.wrapper > .outer .panel-heading .invoice-action {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  flex-wrap: nowrap;
  -webkit-box-align: end;
          align-items: flex-end;
  -webkit-box-pack: justify;
          justify-content: space-between;
  padding-left: 0;
}

div.wrapper > .outer .panel-heading .invoice-action > div {
  position: relative;
  -webkit-box-flex: 1;
          flex: 1;
  margin: 0 5px;
}

div.wrapper > .outer .panel-heading .invoice-action > div > * {
  width: 100%;
}

div.wrapper > .outer .panel-body {
  -webkit-box-flex: 10;
  flex: 10;
  position: relative;
  overflow: auto;
  padding: 8px 16px;
  display: -webkit-box;
  display: flex;
}

.vertical-bottom {
  vertical-align: bottom !important;
}

.vertical-top {
  vertical-align: top !important;
}

.vertical-middle {
  vertical-align: middle !important;
}

div.wrapper > .outer .panel-body form,
div.wrapper > .outer .panel-body .form-container,
div.wrapper > .outer .panel-body .tables-wrapper,
div.wrapper > .outer .panel-body .tables-wrapper .tabs-animated {
  -webkit-box-flex: 1 1 100%;
  flex: 1 1 100%;
  position: relative;
  /* display: flex; */
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  min-height: 100%;
}

div.wrapper > .outer .panel-body .tables-wrapper .tabs-animated .tab-content {
  width: 100%;
}

div.wrapper > .outer .panel-body .form-container {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  align-content: stretch;
}

div.wrapper > .outer .panel-heading > .title {
  text-align: left;
  font-size: 20px;
  -webkit-box-flex: 0;
          flex: none;
  margin-left: 15px;
  text-transform: uppercase;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
}

div.wrapper > .outer .panel-heading > .title > span:first-child {
  margin-right: 10px;
}

.flex-1 {
  -webkit-box-flex: 1;
          flex: 1;
}

.flex-none {
  -webkit-box-flex: 0;
          flex: none;
}

div.wrapper > .outer .panel-heading > .title > div {
  vertical-align: middle;
}

div.wrapper > .outer .panel-heading > .action {
  text-align: right;
  -webkit-box-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  flex-wrap: wrap;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  align-content: stretch;
  place-content: center flex-end;
  margin-right: 10px;
}

div.wrapper > .outer .panel-heading > .action button span {
  text-transform: uppercase;
}

div.wrapper > .outer .panel-heading > .action > a {
  margin-left: 10px;
}

div.wrapper > .outer .panel-footer > div {
  -webkit-box-flex: 1;
          flex: 1;
  text-align: center;
}

div.wrapper > .outer .panel-footer .row > div:first-child {
  text-align: left;
}

div.wrapper > .outer .panel-footer .row > div:last-child {
  text-align: right;
}

input[type=text],
select.select {
  padding: 6px !important;
  background: #f9f9f9;
  height: 30px;
  border-radius: 4px;
}

input[readonly],
select[readonly] {
  background: #c9c9c9;
}

.swal2-modal {
  font-family: inherit !important;
}

.tables-wrapper > .action {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100;
}

.cs-autocomplete .custom-autocomplete-item-link {
  color: #007bff !important;
  font-weight: bold !important;
  background-color: transparent !important;
}

.cs-autocomplete .item.ui-state-active .custom-autocomplete-item-link,
.cs-autocomplete .ui-menu .ui-menu-item:hover .custom-autocomplete-item-link,
.cs-autocomplete .custom-autocomplete-item-link:hover {
  color: #ff0 !important;
  background-color: transparent !important;
}

.customer .updateStock,
.customer .printRemarks {
  position: absolute;
  right: 1px;
  top: 2px;
  font-size: 14px;
  cursor: pointer;
  color: red;
  background: #fff;
  padding: 5px 10px 0px;
  border-radius: 6px;
}

.customer .updateStock input[type=checkbox],
.customer .printRemarks input[type=checkbox] {
  cursor: pointer;
}

.customer .updateStock.disable,
.customer .printRemarks.disable {
  color: #aaa;
  pointer-events: none;
}

.customer .updateStock.disable input[type=checkbox],
.customer .printRemarks.disable input[type=checkbox] {
  pointer-events: none;
}

.bootstrap-select .btn,
.dataTables_wrapper a.btn,
.pagination > li > a,
.pagination > li > span {
  padding: 4px 10px;
}

.action .bootstrap-select .btn {
  padding-top: 6px;
  padding-bottom: 6px;
}

div.dataTables_wrapper div.dataTables_filter,
.dataTables_length select.form-control {
  height: 30px;
}

.control-label {
  color: #555;
  margin: 0px 0 10px !important;
}

.home .form-control {
  padding: 6px 10px;
}

.home .control-group {
  margin: 2px 0px;
  padding: 0 5px;
}

.form-control {
  height: 30px;
  font-size: 13px;
}

.select-wrapper .bootstrap-select {
  width: 100% !important;
  background: #f9f9f9;
}

.dataTables_scroll {
  overflow: auto;
}

.dataTables_length select.form-control {
  background: #f9f9f9;
  height: 35px;
  text-indent: 10px;
  padding-left: 10px;
}

.table-wrapper {
  width: 100%;
  overflow-x: scroll;
}

.picker__holder {
  min-width: 280px !important;
  /* right: 0; */
}

.help-block {
  color: red;
  font-weight: 300;
}

textarea {
  resize: none;
}

.no-resize {
  resize: none;
}

.border-none {
  border: 0;
}

.padding-none {
  padding: 0;
}

.margin-none {
  margin: 0;
}

i.flipX {
  -webkit-transform: scaleX(-1);
          transform: scaleX(-1);
}

i.flipY {
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
}

i.material-icons + btn-lg {
  margin-left: 0;
  margin-right: 10px;
}

.disabled {
  /*background: #ffffe1;*/
  background: #f5f5f5;
}

.disabled input,
.disabled.btn-default {
  pointer-events: none;
  background-color: #eee;
}

table.dataTable tr th.select-checkbox.selected::after {
  content: "\2714";
  margin-top: -11px;
  margin-left: 6px;
  text-align: center;
  color: #5cb85c;
  cursor: pointer;
}

table.dataTable tr th.select-checkbox::after {
  content: "\2714";
  margin-top: -11px;
  margin-left: 6px;
  text-align: center;
  color: #aaa;
  cursor: pointer;
}

table.dataTable tr th.select-checkbox::before table.dataTable tr th.select-checkbox.selected::before {
  display: none;
}

table.dataTable tbody > tr.selected,
table.dataTable tbody > tr > .selected {
  background-color: #fcf8e3 !important;
}

div.dataTables_wrapper div.dt-header,
div.dataTables_wrapper div.dt-footer {
  margin: 12px 0;
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6 */
  /* OLD - Firefox 19- (buggy but mostly works) */
  /* TWEENER - IE 10 */
  /* NEW - Chrome */
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  -webkit-box-pack: start;
          justify-content: flex-start;
  flex-wrap: wrap;
  /*align-items: flex-start;
  align-content: stretch;*/
}

div.dataTables_wrapper div.dt-header > *,
div.dataTables_wrapper div.dt-footer > * {
  -webkit-box-flex: 1;
          flex: 1;
}

div.dataTables_wrapper div.dt-header div.dataTables_filter {
  -webkit-box-flex: 0;
          flex: none;
  text-align: left !important;
  position: relative;
}

div.dataTables_wrapper div.dt-header .dt-buttons.btn-group {
  text-align: left !important;
}

div.dataTables_wrapper div.dt-header .dataTables_paginate {
  /*align-items: right;*/
  min-width: 145px;
  white-space: nowrap;
}

div.dataTables_wrapper div.dt-footer div.dataTables_info {
  text-align: left !important;
}

div.dataTables_wrapper div.dt-footer .dataTables_length {
  text-align: right !important;
}

div.dataTables_wrapper div.dataTables_filter input {
  min-width: 200px;
  max-width: 450px;
  position: relative;
}

div.dataTables_wrapper div.dataTables_filter label {
  line-height: 30px;
}

div.dataTables_wrapper div.dataTables_filter span.deleteicon {
  top: 0;
  height: 30px;
}

div.dataTables_wrapper div.dataTables_filter span.deleteicon span {
  position: absolute;
  display: block;
  top: 0px;
  right: 0px;
  bottom: 0px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

div.dataTables_wrapper div.dataTables_filter span.deleteicon span:after {
  content: "X";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  margin: auto;
  padding: 8px;
  border-radius: 2px;
  text-align: center;
  font-weight: normal;
  font-size: 14px;
  /* cursor: pointer; */
  background-color: red;
  color: white;
  line-height: normal;
}

div.dataTables_wrapper div.dataTables_filter span.deleteicon input:not(:valid) ~ span {
  display: none;
}

/*div.dataTables_wrapper  div.dt-page{
	display: inline-block;
	margin: 10px 0;
}
div.dataTables_wrapper  div.dt-info,
div.dataTables_wrapper  div.dt-length{
	display: inline-block;
	margin: 10px 0;
}
div.dataTables_wrapper  div.dt-page,
div.dataTables_wrapper  div.dt-length{
	float: right;
}
div.dataTables_wrapper  div.dt-search > *{
	display: inline-block;
}
div.dataTables_wrapper  div.dt-search div.dataTables_filter{
	text-align: left !important;
}*/

.nav-wrapper.top-navbar {
  display: none;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  float: left;
}

div.dataTables_wrapper div.dataTables_info {
  text-align: right;
}

.dataTables_wrapper .dt-buttons.btn-group a.btn {
  padding: 3px 10px 0px 2px;
}

.dataTables_wrapper .dt-buttons.btn-group a.btn i,
.dataTables_wrapper .dt-buttons.btn-group a.btn span {
  display: inline-block;
  vertical-align: middle;
}

/* table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before{
	top: 30px !important;
	left:25px !important;
} */

table.dataTable > tbody > tr.child ul.dtr-details {
  display: -webkit-box !important;
  display: flex !important;
  -webkit-box-align: start;
          align-items: flex-start;
  justify-content: space-around;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child {
  padding-left: 0 !important;
}

/*
@media all and (min-width: 600px) {
  .aside { flex: 1 auto; }
}

@media all and (min-width: 800px) {
  .main    { flex: 3 0px; }
  .aside-1 { order: 1; }
  .main    { order: 2; }
  .aside-2 { order: 3; }
  .footer  { order: 4; }
}*/

*,
select {
  outline: none !important;
  box-sizing: border-box;
}

a:link,
a:focus,
a:visited,
a:active,
a:hover {
  text-decoration: none;
  cursor: pointer;
}

a img {
  border: medium none;
}

h1,
h2,
h3,
h4 {
  font-weight: 300;
}

h1 {
  margin-top: 0px;
  text-shadow: 1px 1px 0 #FFFFFF;
}

small {
  color: #000000 !important;
}

label {
  font-size: 14px;
  font-weight: 400;
}

ul {
  list-style: none;
}

p {
  font-size: 16px;
}

strong {
  font-weight: 500;
}

textarea {
  resize: none;
}

i {
  margin-left: 5px;
  margin-right: 5px;
}

hr {
  border-color: #999999;
}

.blue {
  color: #2e6da4;
}

.blue-bg {
  background-color: #2e6da4;
}

.green-bg {
  background-color: #5bb85b;
}

.btn-blue {
  background-color: #2e6da4;
  border-color: #2e6da4;
  padding: 10px 12px;
}

.btn-blue:hover {
  background-color: #2e6da4;
  border-color: #2e6da4;
}

.btn-export {
  margin: 2px 4px !important;
}

.btn-group > .btn.btn-export:first-child {
  margin-left: 10px !important;
}

.tab-content .tab-pane {
  margin-top: 10px;
}

.card {
  padding: 40px 0 0;
  border: 1px solid #aaa;
  margin-bottom: 30px;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border-radius: 6px;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.card i {
  margin-bottom: 30px;
}

.card .title {
  background: #2e6da4;
  padding: 16px 0;
  color: white;
  font-size: 16px;
}

#order td .title {
  color: #2e6da4;
  line-height: 1.2em;
}

#order td .desc {
  color: #444;
  font-size: 90%;
}

.tableWrapper {
  overflow: auto;
}

td.details-control {
  background: url("/img/details_open.png") no-repeat center center;
  cursor: pointer;
}

tr.shown td.details-control {
  background: url("/img/details_close.png") no-repeat center center;
}

.modal-body div.background {
  display: none;
}

.bootstrap-dialog .bootstrap-dialog-close-button {
  font-size: 16px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 0 #fff;
  opacity: 1;
  position: absolute;
  top: 8px;
  right: 8px;
  /*background: #2e6da4;*/
  background: white;
  border-radius: 30px;
  text-align: center;
  padding: 6px;
  width: 30px;
  height: 30px;
}

.bootstrap-dialog .bootstrap-dialog-close-button button.close {
  float: none;
  opacity: 1;
  color: #337ab7;
}

.mfp-wrap {
  overflow: auto !important;
}

.dataTables_wrapper {
  position: relative;
  width: 100% !important;
  font-size: 1rem;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
}

.dataTables_wrapper > * {
  -webkit-box-flex: 1;
          flex: 1;
  width: 100%;
}

.dataTables_wrapper table.dataTable {
  border-collapse: collapse !important;
  width: 100% !important;
}

.dataTables_wrapper .table-hover tbody tr:hover {
  color: #212529;
  background-color: rgba(0, 0, 0, 0.025);
}

.dataTables_wrapper .action {
  position: relative;
}

.dataTables_wrapper .dt-buttons.btn-group .btn {
  margin: 0 !important;
}

.dataTables_wrapper div.dataTables_filter label {
  margin: 0 !important;
}

.dataTables_wrapper .dt-nav {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  -webkit-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: stretch;
          align-items: stretch;
}

.dataTables_wrapper .dt-nav .dt-nav-item {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  margin: 0;
  -webkit-box-flex: 1;
          flex: 1;
}

.dataTables_wrapper .dt-nav .dt-nav-item.left {
  -webkit-box-pack: start;
          justify-content: flex-start;
  min-width: 25%;
}

.dataTables_wrapper .dt-nav .dt-nav-item.left > *:not(:first-child) {
  margin: 0 5px;
}

.dataTables_wrapper .dt-nav .dt-nav-item.right {
  -webkit-box-pack: end;
          justify-content: flex-end;
  min-width: 25%;
}

.dataTables_wrapper .dt-nav .dt-nav-item.right > *:not(:last-child) {
  margin: 0 5px;
}

.dataTables_wrapper .dt-nav .dt-nav-item.center {
  -webkit-box-flex: 1;
          flex: 1;
  -webkit-box-pack: center;
          justify-content: center;
}

.dataTables_wrapper .dt-nav .dt-nav-item.group-actions {
  display: none;
}

.dataTables_wrapper .dt-nav .dt-nav-item.group-actions.show {
  display: -webkit-box;
  display: flex;
}

.dataTables_wrapper .dt-nav .dataTables_length select {
  margin: 0 10px;
}

.dataTables_wrapper .dt-buttons.btn-group .btn {
  border: none;
  font-size: 0.8rem;
  height: 32px;
}

.dataTables_wrapper .inline-block {
  display: inline-block !important;
  vertical-align: top;
}

.dataTables_wrapper div.btn-warning .inline-block,
.dataTables_wrapper div.btn-info .inline-block,
.dataTables_wrapper div.btn-danger .inline-block,
.dataTables_wrapper div.btn-primary .inline-block,
.dataTables_wrapper div.btn-success .inline-block {
  color: white;
}

.dataTables_wrapper .pull-none {
  float: none;
}

.dataTables_wrapper .dataTables_info {
  padding-top: 0.12rem !important;
}

.dataTables_wrapper div.dataTables_filter input {
  max-width: 250px;
  background: white;
  padding: 0.375rem 0.75rem;
  border: 1px solid #8798AD;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0;
  padding: 6px 10px !important;
}

.dataTables_wrapper div.dataTables_filter label {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0 !important;
}

.dataTables_wrapper div.dataTables_filter .inline-block {
  margin: 0px 10px !important;
}

.dataTables_wrapper div.dt-button-collection.dropdown-menu {
  left: -100% !important;
  right: 0 !important;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
  padding: 0 !important;
  max-height: 400px;
  overflow: auto;
}

.dataTables_wrapper div.dt-button-collection.dropdown-menu .dt-button.dropdown-item.buttons-columnVisibility {
  background: white;
  color: theme-color("secondary");
  font-size: 0.8rem;
  border-bottom: 1px solid theme-color("secondary-soft");
  padding-left: 30px;
  position: relative;
}

.dataTables_wrapper div.dt-button-collection.dropdown-menu .dt-button.dropdown-item.buttons-columnVisibility::before {
  content: "\1F5D9";
  position: absolute;
  left: 10px;
  top: 5px;
  height: 16px;
  width: 16px;
  font-weight: 500;
  color: theme-color("secondary") !important;
}

.dataTables_wrapper div.dt-button-collection.dropdown-menu .dt-button.dropdown-item.buttons-columnVisibility.active {
  color: theme-color("primary") !important;
}

.dataTables_wrapper div.dt-button-collection.dropdown-menu .dt-button.dropdown-item.buttons-columnVisibility.active::before {
  content: "\2714";
  font-weight: 500;
  color: theme-color("primary") !important;
}

.dataTables_wrapper div.dt-button-collection.dropdown-menu .dt-button.dropdown-item.btn-export {
  background: white;
  color: theme-color("secondary");
  font-size: 0.8rem;
  border-bottom: 1px solid theme-color("secondary-soft");
  padding: 8px 15px 6px;
  position: relative;
}

.dataTables_wrapper div.dt-button-collection.dropdown-menu .dt-button.dropdown-item.btn-export:hover {
  color: theme-color("dark");
  background-color: theme-color("primary-soft") !important;
}

.dataTables_wrapper table tr,
.dataTables_wrapper table td,
.dataTables_wrapper table th {
  position: relative;
}

.dataTables_wrapper table th {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 500;
}

.dataTables_wrapper table.table td.select-checkbox,
.dataTables_wrapper table.table th.select-checkbox {
  position: relative;
}

.dataTables_wrapper table.table tbody tr td.select-checkbox:before,
.dataTables_wrapper table.table thead tr th.select-checkbox:before {
  content: "";
  position: absolute;
  border: 1px solid theme-color("primary");
  border-radius: 0px;
  font-size: 1rem;
  width: 12px;
  height: 12px;
  top: 15px !important;
  left: 12px !important;
  margin-left: 0;
  margin-top: 0;
}

.dataTables_wrapper table.dataTable tr.selected td.select-checkbox:after,
.dataTables_wrapper table.dataTable tr.selected th.select-checkbox:after {
  content: "\2714";
  position: absolute;
  top: 11px;
  left: 13px;
  text-align: center;
  font-size: 0.8rem;
  margin-left: 0;
  margin-top: 0;
  text-shadow: none;
}

.dataTables_wrapper table.table tbody tr.selected {
  color: theme-color("dark");
  background-color: theme-color("primary-soft");
  border-color: theme-color("dark");
}

.dataTables_wrapper div.dataTables_length label {
  margin: 0;
}

/**** Page Not Found *****/

.pagenot {
  margin: 0px auto;
  text-align: center;
  position: relative;
}

.pagenot h2 {
  font-size: 25em;
  color: #314D68;
  font-weight: bold;
  padding: 0;
}

.pagenot-text {
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
  width: 100%;
  top: 12em;
}

.pagenot-text h3 {
  font-size: 1.2em;
  color: #314D68;
  padding: 0px;
  font-size: 2em;
}

.pagenot p {
  font-size: 1.5em;
  color: #858585;
  line-height: 1.6em;
  padding: 0;
  font-weight: 400;
  width: 60%;
  margin: 0px auto;
}

.navbar {
  color: #fff;
  /*border-bottom: 1px solid #ddd;*/
  /*box-shadow: 0 0 0 1px #FFFFFF inset;*/
  /* box-shadow: 0 2px 5px 2px rgba(0, 0, 0, 0.2); */
  margin: 0;
  border: none;
  padding: 2px 2px 2px 0;
  border-radius: 0;
}

.navbar-collapse {
  padding: 0;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #fff;
}

.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
  background-color: #2e6da4;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border: none;
}

.navbar-brand {
  padding: 0 0 0 5px;
}

.navbar-default .navbar-brand {
  max-width: 265px;
  margin: 1px 5px;
}

.navbar-brand .navbar-brand-link {
  margin: 0;
  color: #fff;
  font-size: 46px;
  font-weight: lighter;
}

.navbar-default .navbar-toggle {
  border: none;
}

.navbar-brand img.logo {
  margin-top: 4px;
  width: auto;
  max-width: 100%;
  height: 26px;
}

.navbar-brand h3 {
  color: #fff;
  font-size: 13px;
  margin-top: 4px;
  font-weight: lighter;
  text-transform: uppercase;
  margin-bottom: 0px;
}

/*.navbar li a:not(.btn) {
    color: #fff;
    text-align: right;
    padding-top: 5px;
    padding-bottom: 6px;
    font-size: 16px;
    font-weight: lighter;
}*/

.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
  color: #f2f2f2 !important;
  text-shadow: 1px 3px 1px #222;
}

.navbar li a.btn {
  background-color: #f1f1f1 !important;
  color: #2e6da4 !important;
}

.navbar li a.btn:hover,
.navbar li a.btn:focus {
  background-color: #f1f1f1 !important;
  color: #2e6da4 !important;
  text-shadow: none;
}

.navbar ul {
  display: -webkit-box;
  display: flex;
  vertical-align: middle;
  -webkit-box-align: stretch;
          align-items: stretch;
}

.navbar ul li {
  -webkit-box-flex: 1;
  flex: 1;
  display: inline-block;
  text-align: center;
}

.navbar .dropdown-menu.inner ul li {
  width: 100% !important;
  text-align: !important;
}

.navbar ul li a {
  margin: 0 auto;
}

.navbar ul li i {
  color: #337ab7;
  font-size: 18px;
}

.navbar ul li p {
  font-size: 14px;
  margin-bottom: 2px;
}

ul.nav li.logout {
  -webkit-box-flex: 0;
          flex: none;
  background: red;
  align-self: center;
}

ul.nav li.logout a {
  color: white;
  padding: 7px 10px;
  margin: 0;
}

ul.nav li.logout a > i {
  color: white;
  margin: 4px auto 0;
}

ul.nav.global > li.logout a > p {
  color: white;
  margin: 4px auto 0;
  font-size: 14px;
}

ul.nav li.logout a:hover {
  background: #d20001;
}

.box-container {
  margin: 15px 0px;
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6 */
  /* OLD - Firefox 19- (buggy but mostly works) */
  /* TWEENER - IE 10 */
  /* NEW - Chrome */
  display: flex;
  -webkit-box-flex-direction: row;
  /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex-direction: row;
  /* OLD - Firefox 19- */
  /* Chrome */
  /* IE 10 */
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  -webkit-box-flex-wrap: wrap;
  /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex-wrap: wrap;
  /* OLD - Firefox 19- */
  /* Chrome */
  /* IE 10 */
  flex-wrap: wrap;
  -webkit-box-flex: 1;
          flex: 1 1 100%;
  min-height: calc(100% - 30px);
}

.box-container .box-item {
  padding: 1em 1.2em;
  border: 1px solid #337ab7;
  border-radius: 6px;
  margin: 0 15px 0px;
  position: relative;
  -webkit-box-flex: 1;
  /* OLD - iOS 6-, Safari 3.1-6 */
  /* OLD - Firefox 19- */
  /* Chrome */
  /* IE 10 */
  flex: 1;
  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.box-container .box-item .row {
  position: relative;
  clear: both;
}

.box-container .break,
.flex-break {
  -webkit-box-flex-basis: 100%;
  /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex-basis: 100%;
  /* OLD - Firefox 19- */
  /* Chrome */
  -ms-flex-basis: 100%;
  /* IE 10 */
  flex-basis: 100%;
  width: 0px;
  height: 0px;
  overflow: hidden;
}

legend {
  float: left;
  display: block;
  clear: both !important;
  width: auto;
  padding: 8px 10px;
  margin-bottom: 20px;
  font-size: 20px;
  line-height: inherit;
  color: #337ab7;
  border: 0px solid #337ab7;
  border-radius: 5px;
  background: #fff;
  margin-top: -34px;
  /* border-bottom: 1px solid #e5e5e5; */
}

ul.nav.global {
  display: block;
  list-style: none;
  padding: 0px;
}

ul.nav.global > li a {
  display: block;
  border-bottom: 1px solid #a5a6a7;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
}

ul.nav.global > li a {
  background: none;
}

ul.nav.global > li a > p {
  text-align: center;
  color: #2e6da4;
  font-weight: 500;
  padding-right: 8px;
  font-size: 12px;
}

ul.nav.global > li a > i {
  font-size: 20px;
  width: 20px;
  display:inline-block;
}

ul.nav.global > li.active a {
  background-color: #2e6da4;
  background-image: url(/img/bg.png);
}

ul.nav.global > li.active a > p,
ul.nav.global > li.active a > i {
  color: #fff;
}

ul.nav.global > li:hover {
  background-color: #cacaca;
  background-image: url(/img/bg.png);
}

.top-navbar ul.nav {
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6 */
  /* OLD - Firefox 19- (buggy but mostly works) */
  /* TWEENER - IE 10 */
  /* NEW - Chrome */
  display: flex;
  -webkit-box-align: stretch;
          align-items: stretch;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

.top-navbar ul.nav > li {
  display: inline-block;
  -webkit-box-flex: 1;
          flex: 1;
}

.top-navbar ul.nav > li a {
  border-bottom: none;
  padding: 10px 8px 3px;
  border-bottom: 0px solid #a5a6a7;
  border-right: 1px solid #a5a6a7;
  min-width: 60px;
}

.top-navbar ul.nav > li a > p {
  margin-bottom: 6px;
}

.top-navbar ul.nav > li.active a {
  background-color: #2e6da4;
}

.saved-bar {
  border-bottom: 1px solid #ddd;
  position: relative;
  display: block;
  background: #f0ad4e;
  padding: 2px 2px 2px 20px;
  color: #222;
  cursor: pointer;
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6 */
  /* OLD - Firefox 19- (buggy but mostly works) */
  /* TWEENER - IE 10 */
  /* NEW - Chrome */
  display: flex;
  -webkit-box-flex-direction: row;
  /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex-direction: row;
  /* OLD - Firefox 19- */
  /* Chrome */
  /* IE 10 */
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
}

.saved-bar .content {
  vertical-align: middle;
  margin: 0;
  z-index: 0;
  font-size: 16px;
  align-self: center;
  -webkit-box-flex: 1;
  /* OLD - iOS 6-, Safari 3.1-6 */
  /* OLD - Firefox 19- */
  /* Chrome */
  /* IE 10 */
  flex: 1;
  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.saved-bar .btn {
  -webkit-box-flex: none;
  /* OLD - iOS 6-, Safari 3.1-6 */
  /* OLD - Firefox 19- */
  /* Chrome */
  /* IE 10 */
  flex: none;
  margin: 4px 6px;
}

.color-red {
  color: red !important;
}

.text-danger {
  color: #d9534f !important;
}

.text-success {
  color: #5cb85c !important;
}

.text-warning {
  color: #f0ad4e !important;
}

.btn {
  padding: 6px 8px;
  font-size: 14px !important;
  /* border-radius: 0; */
}

.table .btn {
  padding: 2px 4px !important;
}
.table .action .btn {
  padding: 2px !important;
  margin:2px !important;
  font-size: 12px !important;
}

.btn.btn-default.dropdown-toggle {
  border-radius: 0 !important;
  /* padding: 4px 20px 4px 12px !important; */
}

.border-primary {
  border-color: #2e6da4 !important;
}

.bs-caret,
.caret {
  margin-left: 6px;
}

.date-range {
  padding: 8px 12px !important;
}

.clockdate-wrapper {
  padding: 0px 10px;
  text-align: center;
  border-radius: 0px;
  margin: 0 auto;
  font-size: 90%;
  font-family: sans-serif;
  display: inline-block;
  vertical-align: middle;
  margin-right: 1px;
  height: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  width: 175px;
}

.clockdate-wrapper .clock {
  border-radius: 4px;
  padding: 4px;
  color: #2e6da4;
  /*max-width: 200px;*/
  /*width: 100%;*/
  text-align: center;
  margin: 0 auto;
}

.clockdate-wrapper .clock .timer {
  font-size: 20px;
  text-shadow: 0px 0px 1px #fff;
  margin-top: 4px;
  display: inline-block;
}

.clockdate-wrapper .clock .timer span {
  display: inline-block;
  position: relative;
}

.clockdate-wrapper .clock .date {
  font-size: 12px;
  font-family: arial, sans-serif;
  margin: 2px 0;
}

.date-range {
  background: #fff;
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid #ccc;
  /*margin-top: 6px;*/
  width: auto;
  max-width: 250px;
  float: right;
}

.action .date-range {
  /*float: right;*/
  /*max-width: 240px;*/
}

.daterangepicker .input-mini {
  padding: 0 6px 0 30px !important;
}

.collapse.navbar-collapse ul.nav {
  -webkit-box-flex: 1;
          flex: 1;
  -webkit-box-pack: justify;
          justify-content: space-between;
  display: -webkit-box;
  display: flex;
  float: none;
}

.collapse.navbar-collapse ul.nav {
  max-width: calc(100% - 0px) !important;
  margin: 0 auto;
}

.collapsing {
  -webkit-transition: none;
  transition: none;
  display: none;
}

input.loading,
.ui-autocomplete-loading {
  background-color: #ffffff;
  background-image: url(/images/loading.gif?00a44d1fc8ee52701007b17ad96c6f7b);
  background-size: 15px 15px;
  background-position: 98% center;
  background-repeat: no-repeat;
}

.nav-wrapper.side-navbar {
  display: block;
}

.nav-wrapper.top-navbar {
  display: none !important;
}

.brand-right-nav {
  position: relative;
  float: right;
  text-align: right;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: stretch;
          align-items: stretch;
}

.brand-right-nav > * {
  -webkit-box-flex: 1;
          flex: 1;
}

input[type=checkbox],
input[type=radio] {
  margin: 0;
}

div.wrapper > .outer .panel-heading {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  -webkit-box-align: center;
          align-items: center;
}

div.wrapper > .outer .panel-heading > div {
  -webkit-box-flex: 1;
          flex: 1;
}

div.wrapper > .outer .panel-heading .title {
  font-size: 18px;
  text-align: left;
  line-height: 34px;
}

div.wrapper > .outer .panel-heading .ui-autocomplete .title {
  font-size: 12px;
  text-align: left;
  line-height: 14px;
}

div.wrapper > .outer .panel-heading .action {
  text-align: right;
}

@media (max-width: 1024px) {
  .navbar-toggle {
    display: none;
  }

  .nav-wrapper.top-navbar.show {
    display: -webkit-box !important;
    display: flex !important;
    width: 100%;
    overflow: auto;
  }

  header .navbar {
    padding: 6px 0 0;
  }

  .navbar-default .navbar-brand {
    max-width: 265px;
    padding: 0 10px;
    height: 56px;
  }

  .navbar-default .navbar-brand h3 {
    font-size: 12px;
  }

  .collapse.navbar-collapse {
    padding-left: 0;
    padding-right: 0;
    /* margin-top: 6px; */
  }

  .collapse.navbar-collapse .top-navbar {
    margin: 0;
  }

  div.dataTables_wrapper div.dt-header div.dataTables_filter {
    -webkit-box-flex: 1;
            flex: 1;
    text-align: left !important;
  }

  div.dataTables_wrapper div.dt-header .dt-buttons.btn-group {
    text-align: right !important;
  }

  div.dataTables_wrapper div.dt-header .dataTables_info {
    min-width: 250px;
    margin: 0 auto;
    text-align: center !important;
  }

  /* div.wrapper > .outer .panel-heading .action a button span{
  	display: none;
  } */
}

@media (max-width: 768px) {
  .nav-wrapper.side-navbar {
    display: none;
  }

  .clockdate-wrapper-parent {
    display: none !important;
  }

  .navbar-toggle {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  main .content-wrapper {
    width: 100%;
    position: relative;
    overflow-x: hidden;
  }

  div.wrapper > .outer .panel-heading .title,
  div.wrapper > .outer .panel-heading .action {
    text-align: center;
    margin: 5px auto;
  }

  .orderno-wrapper {
    clear: both;
    margin-bottom: 5px;
  }

  .home-action {
    margin-top: 10px;
    clear: both;
  }

  .user-details {
    display: none !important;
  }

  .navbar-brand img.logo {
    height: 20px;
  }

  .navbar-default .navbar-brand {
    height: 64px;
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  .navbar-default .navbar-brand {
    max-width: 250px;
  }

  .navbar-brand h3 {
    font-size: 12px;
  }

  .absCenter {
    width: 90%;
  }

  .absCenter .authForm {
    padding: 20px;
  }

  div.wrapper > .outer {
    padding: 0px;
  }

  div.wrapper > .outer .panel {
    height: 100%;
    padding: 0;
  }

  div.wrapper > .outer .panel-body {
    padding: 10px;
    display: block;
  }

  /*div.wrapper > .outer .panel-heading{
  	font-size: 16px;
  	padding: 0;
  }

  .panel-heading > .title{
  	background-color: #2e6da4;
  	color: white;
  	text-transform: uppercase;
  	font-size: 18px;
  }
  .panel-heading > .title,
  .panel-heading > .action{
  	width: 100%;
  	margin:0px auto;
  	text-align: center;
  	padding: 6px;
  	flex-wrap: wrap-reverse !important;

  }

  .panel-heading > .action button.btn{
  	font-size: 16px !important;
  }*/

  .panel-heading > .action > .clockdate-wrapper {
    margin: 0px 10px 10px;
    width: 100%;
  }

  .action .date-range {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  .top-navbar ul.nav > li a {
    padding: 8px 10px 4px;
  }

  .dt-search {
    display: block;
    width: 100%;
  }

  .dt-search .dataTables_filter,
  .dt-search .dt-buttons.btn-group {
    display: inline-block;
    width: 49%;
  }

  .dt-search .dt-buttons.btn-group {
    text-align: right;
  }

  div.dataTables_wrapper div.dt-page {
    float: none;
    margin: 0 auto;
    text-align: center;
    display: block;
  }

  table.dataTable {
    width: 100% !important;
  }

  main .content-wrapper {
    -webkit-box-align: stretch;
            align-items: stretch;
  }

  .absCenter .authForm {
    height: 100%;
  }

  div.dataTables_wrapper div.dataTables_filter input {
    min-width: 180px;
  }

  .dataTables_wrapper .dt-buttons.btn-group a.btn {
    padding: 2px;
  }

  .dataTables_wrapper .dt-buttons.btn-group a.btn > span > span {
    display: none;
  }
}

.paymentInvoiceWrapper {
  width: auto;
  margin: 0 auto;
  padding: 12px;
  text-align: center;
  position: relative;
  height: 100%;
  width: 100%;
  min-width: 800px;
  max-width: 80%;
}

.paymentInvoiceWrapper .box-container .box-item {
  padding: 0 !important;
  border: 0 !important;
}

.paymentInvoiceWrapper legend {
  margin-top: -40px;
}

.paymentInvoiceWrapper .payment-body {
  clear: both;
  position: relative;
  min-width: 600px;
}

.paymentInvoiceWrapper .payment-body .nav a {
  position: relative;
  display: block;
  border-radius: 0;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  -webkit-box-align: center;
          align-items: center;
  background: #337ab7;
  color: white;
  padding-right: 15px;
}

.paymentInvoiceWrapper .payment-body .nav a.active {
  background: #286090;
}

.paymentInvoiceWrapper .payment-body .dropdown-toggle::after {
  margin-left: -10px;
}

.paymentInvoiceWrapper .payment-body .preview-invoice-box {
  width: 360px;
  position: relative;
}

.paymentInvoiceWrapper .payment-body .preview-box {
  padding: 0 5px;
  max-height: 450px;
  overflow-y: auto;
  overflow-x: hidden;
}

@media screen, print {
  .retailInvoiceWrapper {
    width: auto;
    margin: 0 auto;
    padding: 12px;
    max-width: 388px;
    text-align: center;
    position: relative;
    height: auto;
    -webkit-transform: scale(1.5) translate(50px, 0px) !important;
            transform: scale(1.5) translate(50px, 0px) !important;
    -webkit-transform-origin: top center;
            transform-origin: top center;
  }

  .paymentInvoiceWrapper .retailInvoiceWrapper {
    -webkit-transform: scale(1) translate(0, 0) !important;
            transform: scale(1) translate(0, 0) !important;
  }

  .retailInvoiceWrapper legend {
    margin: -10px auto 30px;
  }

  .retailInvoiceWrapper .mfp-close {
    font-size: 16px;
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: 1;
    position: absolute;
    top: 8px;
    right: 8px;
    /*background: #2e6da4;*/
    background: red;
    border-radius: 30px;
    text-align: center;
    padding: 6px;
    width: 30px;
    height: 30px;
  }

  .retail.invoice {
    position: relative;
    text-align: center;
    color: black;
    line-height: 1.2em;
    font-size: 12px;
    font-family: "Lucida Console", Monaco, monospace;
    height: 100%;
  }

  .retailInvoiceWrapper,
  .retail.invoice form,
  .retail.invoice .box-container,
  .retail.invoice .box-container .box-item {
    min-height: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
  }

  .retail.invoice .box-container .box-item {
    margin: 0;
    padding: 12px;
    border: none;
  }

  .retail.invoice .title {
    font-weight: bold;
    text-decoration: underline;
  }

  .retail.invoice .row {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    flex-wrap: wrap;
    -webkit-box-pack: start;
            justify-content: flex-start;
  }

  .retail.invoice .row > div {
    margin: 2px auto;
  }

  .retail.invoice .row > div span {
    display: inline-block;
  }

  .retail.invoice .rule {
    border: none;
    border-bottom: dashed 2px #2e6da4;
    margin: 10px auto;
  }

  .retail.invoice .logo {
    margin: 10px auto 0px;
    max-width: 100%;
    width: 100%;
    padding: 10px 2px;
  }

  .retail.invoice .unit {
    margin: 0 auto 10px;
    font-size: 14px;
  }

  .retail.invoice .cart {
    position: relative;
    margin-bottom: 20px;
  }

  .retail.invoice .bill,
  .retail.invoice .cust {
    display: -webkit-box;
    display: flex;
    direction: ltr;
    margin: 0 auto;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: stretch;
            align-items: stretch;
    /*white-space: nowrap;*/
  }

  .retail.invoice .item {
    margin-bottom: 6px;
  }

  .retail.invoice .item > span:first-child {
    display: inline-block;
  }

  .retail.invoice .bill .item:nth-child(odd),
  .retail.invoice .cust .item:nth-child(odd) {
    width: 60%;
    position: relative;
  }

  .retail.invoice .bill .item:nth-child(even),
  .retail.invoice .cust .item:nth-child(even) {
    width: 40%;
    position: relative;
  }

  .retail.invoice .bill .item span,
  .retail.invoice .cust .item span {
    min-width: 32px;
    vertical-align: middle;
    text-align: left;
    /*display: inline-block;*/
  }

  /*.retail.invoice .bill .item:nth-child(odd) span:last-child,
  .retail.invoice .cust .item:nth-child(odd) span:last-child{
      width: 140px;
  }*/

  /*.retail.invoice .bill .item:nth-child(even) span:last-child,
  .retail.invoice .cust .item:nth-child(even) span:last-child{
      width: 105px;
  }*/

  .retail.invoice .cust .name,
  .retail.invoice .cust .address {
    margin-left: 0;
  }

  .retail.invoice .cust .name span:last-child,
  .retail.invoice .cust .address span:last-child {
    vertical-align: top;
  }

  .retail.invoice .cust.wrap-reverse .name {
    -webkit-box-ordinal-group: 2;
            order: 1;
  }

  .flex-100 {
    -webkit-box-flex: 1;
            flex: auto;
  }

  .wrap {
    flex-wrap: wrap;
  }

  .wrap-no {
    flex-wrap: nowrap;
  }

  .wrap-reverse {
    flex-wrap: wrap-reverse;
  }

  .retail.invoice .cart .row {
    display: -webkit-box;
    display: flex;
    direction: ltr;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    -webkit-box-pack: justify;
            justify-content: space-between;
    margin: 0 auto;
  }

  .retail.invoice .cart .item {
    -webkit-box-flex: 1;
            flex: auto;
    text-align: center;
  }

  .retail.invoice .cart .item:last-child {
    text-align: right;
    min-width: 60px;
  }

  .retail.invoice .cart .item:first-child,
  .retail.invoice .cust .item:first-child {
    text-align: left;
  }

  .retail.invoice .cart .footer .row {
    -webkit-box-pack: start;
            justify-content: flex-start;
  }

  .retail.invoice .cart .footer .row:last-child {
    -webkit-box-pack: center;
            justify-content: center;
    margin: 20px auto;
  }

  .retail.invoice .cart .header .item:nth-child(1),
  .retail.invoice .cart .items .item:nth-child(1) {
    width: 40%;
    text-align: left;
  }

  .retail.invoice .cart .header .item:nth-child(2),
  .retail.invoice .cart .items .item:nth-child(2) {
    width: 14%;
    text-align: right;
  }

  .retail.invoice .cart .header .item:nth-child(3),
  .retail.invoice .cart .items .item:nth-child(3) {
    width: 14%;
    text-align: right;
  }

  .retail.invoice .cart .header .item:nth-child(4),
  .retail.invoice .cart .items .item:nth-child(4) {
    width: 10%;
    text-align: right;
  }

  .retail.invoice .cart .header .item:nth-child(5),
  .retail.invoice .cart .items .item:nth-child(5) {
    width: auto;
    text-align: right;
  }
}

@media print {
@page {
    /* this affects the margin in the printer settings */
    margin: 0 8px;
    size: auto;
    padding: 0;
    text-align: center;
    top: 0;
}

  .mfp-content,
  .mfp-container {
    /* this affects the margin on the content before sending to printer */
    margin: 0 auto;
    padding: 0;
    text-align: center;
    top: 0;
    page-break-after: always;
  }

  header,
  nav,
  aside,
  main {
    display: none;
  }

  .retailInvoiceWrapper {
    width: 76.2mm;
    margin: 0 auto;
    padding: 0px;
    display: block;
  }

  .retail.invoice {
    padding: 0;
    margin: 0 auto;
    font-size: 9px;
    line-height: 1.2em;
  }

  .retail.invoice .unit {
    font-size: 12px !important;
    text-align: center;
    margin: 0;
    margin-bottom: 10px;
  }

  .box-container .box-item {
    padding: 0;
    border: 0;
    margin: 0 15px;
  }

  .retail.invoice .company {
    padding: 0 8px;
  }

  .retail.invoice .cust .row span {
    min-width: 36px;
    display: inline-block;
    vertical-align: middle;
  }

  .retail.invoice .cart .header .item:nth-child(1),
  .retail.invoice .cart .items .item:nth-child(1) {
    width: 34%;
    text-align: left;
  }

  .retail.invoice .cart .header .item:nth-child(2),
  .retail.invoice .cart .items .item:nth-child(2) {
    width: 14%;
    text-align: right;
  }

  .retail.invoice .cart .header .item:nth-child(3),
  .retail.invoice .cart .items .item:nth-child(3) {
    width: 14%;
    text-align: right;
  }

  .retail.invoice .cart .header .item:nth-child(4),
  .retail.invoice .cart .items .item:nth-child(4) {
    width: 10%;
    text-align: right;
  }

  .retail.invoice .cart .header .item:nth-child(5),
  .retail.invoice .cart .items .item:nth-child(5) {
    width: auto;
    text-align: right;
  }

  #btnRetailSubmit,
  .retailInvoiceWrapper legend,
  .retailInvoiceWrapper .mfp-close {
    display: none;
  }
}

@media screen, print {
  .wholesaleInvoiceWrapper {
    margin: 0 auto;
    padding: 12px;
    text-align: center;
    position: relative;
    background: #fff;
  }

  .wholesaleInvoiceWrapper legend {
    margin: -10px auto 30px;
  }

  .wholesaleInvoiceWrapper .mfp-close {
    font-size: 16px;
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: 1;
    position: absolute;
    top: 8px;
    right: 8px;
    /*background: #2e6da4;*/
    background: red;
    border-radius: 30px;
    text-align: center;
    padding: 6px;
    width: 30px;
    height: 30px;
  }

  .wholesale.invoice {
    position: relative;
    text-align: center;
    color: black;
    line-height: 1.2em;
    font-size: 14px;
    font-family: "Lucida Console", Monaco, monospace;
    height: 100%;
  }

  .wholesaleInvoiceWrapper,
  .wholesale.invoice form,
  .wholesale.invoice .box-container,
  .wholesale.invoice .box-container .box-item {
    min-height: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
  }

  .wholesale.invoice .box-container .box-item {
    margin: 0;
    padding: 12px;
    border: none;
  }

  .wholesale.invoice .title {
    font-weight: bold;
    text-decoration: underline;
    margin: 0px auto 20px;
    font-size: 20px;
  }

  .wholesale.invoice .row {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
  }

  .wholesale.invoice .rule {
    border: dashed 1px #2e6da4;
    margin: 10px auto;
  }

  .wholesale.invoice .logo {
    margin: 0px auto 5px;
    max-width: 100%;
    width: 100%;
    padding: 10px 2px;
  }

  .wholesale.invoice .cart {
    position: relative;
    margin-bottom: 20px;
  }

  .wholesale.invoice .header {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    margin-bottom: 20px;
  }

  .wholesale.invoice .header > div {
    -webkit-box-flex: 1;
            flex: 1;
    border: 1px solid #222;
    box-shadow: 2px 2px 0 black;
    border-radius: 0px;
    padding: 10px 20px;
  }

  .wholesale.invoice .header .details {
    -webkit-box-flex: 1;
            flex: 1;
    margin-left: 20px;
  }

  .wholesale.invoice .header .details .rule {
    border: dashed 1px #111;
  }

  .wholesale.invoice .bill,
  .wholesale.invoice .cust {
    -webkit-box-flex: 1;
            flex: 1;
    padding: 10px;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: stretch;
            align-items: stretch;
  }

  .wholesale.invoice .item {
    margin-bottom: 6px;
  }

  .wholesale.invoice .item > span:first-child {
    display: inline-block;
  }

  .wholesale.invoice .bill .item span {
    min-width: 40px;
    vertical-align: middle;
    text-align: left;
  }

  .wholesale.invoice .item {
    min-width: 50%;
  }

  .wholesale.invoice .bill .item:nth-child(odd) span:last-child {
    width: 140px;
  }

  .wholesale.invoice .bill .item:nth-child(even) span:last-child {
    width: 105px;
  }

  .wholesale.invoice .cust .name,
  .wholesale.invoice .cust .address {
    margin-left: 0;
  }

  .wholesale.invoice .cust .row {
    margin-bottom: 4px;
    flex-basis: 100%;
    text-align: left;
  }

  .wholesale.invoice .cust .item span:last-child,
  .wholesale.invoice .cust .item span:last-child {
    -webkit-box-flex: 1;
            flex: 1;
    width: 100%;
    display: inline;
  }

  .wholesale.invoice .cust .name span:last-child,
  .wholesale.invoice .cust .address span:last-child {
    vertical-align: top;
  }

  .wholesale.invoice .cust .name span:last-child,
  .wholesale.invoice .cust .address span:last-child {
    -webkit-box-flex: 1;
            flex: 1;
    width: 100%;
    display: inline;
  }

  .wholesale.invoice .cust.wrap-reverse .name {
    -webkit-box-ordinal-group: 2;
            order: 1;
  }

  .flex-100 {
    -webkit-box-flex: 1;
            flex: auto;
  }

  .wrap {
    flex-wrap: wrap;
  }

  .wrap-no {
    flex-wrap: nowrap;
  }

  .wrap-reverse {
    flex-wrap: wrap-reverse;
  }

  .wholesale.invoice .cart .row {
    display: -webkit-box;
    display: flex;
    direction: ltr;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    -webkit-box-pack: justify;
            justify-content: space-between;
    margin: 0 auto;
  }

  .wholesale.invoice .cart .item {
    -webkit-box-flex: 1;
            flex: auto;
    text-align: center;
  }

  .wholesale.invoice .cart .item:last-child {
    text-align: right;
  }

  .wholesale.invoice .cart .item:first-child,
  .wholesale.invoice .cust .item:first-child {
    text-align: left;
  }

  .wholesale.invoice .cart .header .item:first-child,
  .wholesale.invoice .cart .items .item:first-child {
    width: 100px;
  }

  .wholesale.invoice .cart .footer .row {
    -webkit-box-pack: start;
            justify-content: flex-start;
  }

  .wholesale.invoice .cart .footer .row:last-child {
    -webkit-box-pack: center;
            justify-content: center;
    margin: 20px auto;
  }

  td .title {
    color: #2e6da4;
    line-height: 1.3em;
  }
}

@media print {
@page {
    /* this affects the margin in the printer settings */
    height: 100%;
    margin: 0;
    size: auto;
    padding: 0;
}

  html,
  body {
    /* this affects the margin on the content before sending to printer */
    margin: 0 auto;
    padding: 0;
  }

  .aside-wrapper legend,
  .aside-wrapper .mfp-close {
    display: none;
  }

  .wholesaleInvoiceWrapper {
    margin: 0;
    padding: 0px;
  }

  .wholesale.invoice {
    padding: 0;
    margin: 0 auto;
    font-size: 9px;
    line-height: 1.2;
  }

  .wholesale.invoice .row {
    margin: 0 auto;
  }

  .wholesale.invoice .item {
    margin-left: auto;
    margin-right: auto;
  }

  .box-container .box-item {
    padding: 0;
    border: 0;
    margin: 0 15px;
  }

  .wholesale.invoice .company {
    padding: 0 8px;
  }

  .wholesale.invoice .cust .row span {
    min-width: 36px;
    display: inline-block;
    vertical-align: middle;
  }

  .wholesale.invoice .cart .header .item:first-child,
  .wholesale.invoice .cart .items .item:first-child {
    width: 100px;
  }
}

div.row.products {
  position: relative;
  padding: 40px;
  overflow: scroll;
  max-height: 100%;
  overflow: scroll;
}

.modal {
  background: rgba(0, 0, 0, 0.35);
}

.bootstrap-select span.bs-caret {
  display: none;
}

.modal-header .close {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 30px;
  opacity: 1;
  color: red !important;
  margin-right: 0.5rem !important;
}

