hr {
  border: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 10px; }

.btn .icon-small {
  font-size: 12px !important;
  top: 0 !important; }

header {
  background: #0e0e0e;
  /* Old browsers */
  background: -moz-linear-gradient(top, #0e0e0e 6%, #7d7e7d 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(6%, #0e0e0e), color-stop(100%, #7d7e7d));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #0e0e0e 6%, #7d7e7d 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #0e0e0e 6%, #7d7e7d 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #0e0e0e 6%, #7d7e7d 100%);
  /* IE10+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(6%, #0e0e0e), to(#7d7e7d));
  background: linear-gradient(to bottom, #0e0e0e 6%, #7d7e7d 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e0e0e', endColorstr='#7d7e7d',GradientType=0 );
  /* IE6-9 */ }

.primary-msg, .positive-msg, .negative-msg {
  border-radius: 6px;
  border: 1px solid #ddd;
  margin-bottom: 5px;
  color: #fff;
  padding: 10px;
  font-size: 14px !important; }
  .primary-msg h5, .positive-msg h5, .negative-msg h5 {
    margin: 0; }

.primary-msg {
  background: #428bca; }

.positive-msg {
  background: #5cb85c; }

.negative-msg {
  background: #d9534f; }

.primary-txt {
  color: #428bca; }

.positive-txt {
  color: #5cb85c; }

.negative-txt {
  color: #d9534f; }

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: #ddd !important; }

h1 {
  color: #fff !important;
  font-weight: bold;
  text-shadow: 1px 1px 0 #4f4f4f; }
  h1.title {
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #111; }

.none {
  display: none; }

.isNaN {
  background: #FFEAEA !important; }

.content-padded .card {
  margin: 10px 0;
  padding: 10px; }

.segmented-control {
  border: none; }
  .segmented-control .control-item {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
    font-weight: bold;
    background: #5697d0;
    border-color: #5697d0;
    font-size: 16px;
    position: relative; }
    .segmented-control .control-item.active, .segmented-control .control-item:focus, .segmented-control .control-item:hover, .segmented-control .control-item :active {
      background: #428bca;
      border-color: #428bca;
      -webkit-box-shadow: 0 0 8px 0 #3071a9 inset;
      box-shadow: 0 0 8px 0 #3071a9 inset; }
    .segmented-control .control-item:after {
      background: none repeat scroll 0 0 #2f76b8;
      -webkit-box-shadow: 0 0 1px 0 #6e90b0;
      box-shadow: 0 0 1px 0 #6e90b0;
      content: "";
      height: 100%;
      position: absolute;
      right: 0;
      top: 0;
      width: 1px;
      z-index: 9; }
    .segmented-control .control-item:last-child:after {
      background: none !important;
      content: "" !important;
      width: 0 !important;
      -webkit-box-shadow: 0 !important;
      box-shadow: 0 !important; }

.required {
  -webkit-box-shadow: 0 0 20px 0 #F7ABAB inset;
  box-shadow: 0 0 20px 0 #F7ABAB inset; }

select {
  background-color: #ffffff;
  background-image: url(/Skins/SalesRep3/images/select.jpg);
  background-position: right;
  background-repeat: no-repeat;
  padding-left: 2px; }

[readonly=""], [readonly="readonly"], [disabled=""], [disabled="disabled"] {
  background: #EAEAEA !important; }

.img-responsive {
  display: block;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto; }

.margin-auto {
  margin: auto; }

table {
  background-color: transparent;
  max-width: 100%;
  table-layout: fixed; }

.responsive-table {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  overflow-x: scroll; }

thead th {
  text-align: left;
  color: #fff;
  background: #428bca; }

thead.positive th {
  text-align: left;
  color: #fff;
  background: #5cb85c !important; }

thead.negative th {
  text-align: left;
  color: #fff;
  background: #d9534f !important; }

.table {
  margin-bottom: 20px;
  width: 100%; }
  .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    border-top: 1px solid #ddd;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top; }
  .table > thead > tr > th {
    border-bottom: 2px solid #ddd;
    vertical-align: top; }
  .table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {
    border-top: 0 none; }
  .table > tbody + tbody {
    border-top: 2px solid #ddd; }
  .table .table {
    background-color: #fff; }

.table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td {
  padding: 5px; }

.table-bordered {
  border: 1px solid #ddd; }
  .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border: 1px solid #ddd; }
  .table-bordered > thead > tr > th, .table-bordered > thead > tr > td {
    border-bottom-width: 2px; }

.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
  background-color: #f9f9f9; }

.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
  background-color: #f5f5f5; }

table col[class*="col-"] {
  display: table-column;
  float: none;
  position: static; }

table td[class*="col-"], table th[class*="col-"] {
  display: table-cell;
  float: none;
  position: static; }

.table > thead > tr > td.active, .table > tbody > tr > td.active, .table > tfoot > tr > td.active, .table > thead > tr > th.active, .table > tbody > tr > th.active, .table > tfoot > tr > th.active, .table > thead > tr.active > td, .table > tbody > tr.active > td, .table > tfoot > tr.active > td, .table > thead > tr.active > th, .table > tbody > tr.active > th, .table > tfoot > tr.active > th {
  background-color: #f5f5f5; }

.table-hover > tbody > tr > td.active:hover, .table-hover > tbody > tr > th.active:hover {
  background-color: #e8e8e8; }

.table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr.active:hover > th {
  background-color: #e8e8e8; }

.table > thead > tr > td.success, .table > tbody > tr > td.success, .table > tfoot > tr > td.success, .table > thead > tr > th.success, .table > tbody > tr > th.success, .table > tfoot > tr > th.success, .table > thead > tr.success > td, .table > tbody > tr.success > td, .table > tfoot > tr.success > td, .table > thead > tr.success > th, .table > tbody > tr.success > th, .table > tfoot > tr.success > th {
  background-color: #dff0d8; }

.table-hover > tbody > tr > td.success:hover, .table-hover > tbody > tr > th.success:hover {
  background-color: #d0e9c6; }

.table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr.success:hover > th {
  background-color: #d0e9c6; }

.table > thead > tr > td.info, .table > tbody > tr > td.info, .table > tfoot > tr > td.info, .table > thead > tr > th.info, .table > tbody > tr > th.info, .table > tfoot > tr > th.info, .table > thead > tr.info > td, .table > tbody > tr.info > td, .table > tfoot > tr.info > td, .table > thead > tr.info > th, .table > tbody > tr.info > th, .table > tfoot > tr.info > th {
  background-color: #d9edf7; }

.table-hover > tbody > tr > td.info:hover, .table-hover > tbody > tr > th.info:hover {
  background-color: #c4e3f3; }

.table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr.info:hover > th {
  background-color: #c4e3f3; }

.table > thead > tr > td.warning, .table > tbody > tr > td.warning, .table > tfoot > tr > td.warning, .table > thead > tr > th.warning, .table > tbody > tr > th.warning, .table > tfoot > tr > th.warning, .table > thead > tr.warning > td, .table > tbody > tr.warning > td, .table > tfoot > tr.warning > td, .table > thead > tr.warning > th, .table > tbody > tr.warning > th, .table > tfoot > tr.warning > th {
  background-color: #fcf8e3; }

.table-hover > tbody > tr > td.warning:hover, .table-hover > tbody > tr > th.warning:hover {
  background-color: #faf2cc; }

.table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr.warning:hover > th {
  background-color: #faf2cc; }

.table > thead > tr > td.danger, .table > tbody > tr > td.danger, .table > tfoot > tr > td.danger, .table > thead > tr > th.danger, .table > tbody > tr > th.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > tbody > tr.danger > td, .table > tfoot > tr.danger > td, .table > thead > tr.danger > th, .table > tbody > tr.danger > th, .table > tfoot > tr.danger > th {
  background-color: #f2dede; }

.table-hover > tbody > tr > td.danger:hover, .table-hover > tbody > tr > th.danger:hover {
  background-color: #ebcccc; }

.table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr.danger:hover > th {
  background-color: #ebcccc; }

table.pricecell {
  text-align: right; }

table td {
  font-size: 14px !important; }
  table td input {
    width: 100px !important;
    font-size: 14px !important;
    text-align: right;
    float: left; }
  table td input[type="checkbox"] {
    width: 20px !important;
    float: left;
    height: 35px;
    margin-left: 3px; }
  table td div {
    position: relative; }

table#ordergrid tbody tr.summary {
  background: #FFFEDC; }

table#ordergrid tbody tr.cspsplit {
  background: #FFFEE6; }

.table-mb .tr-b {
  border-bottom: 2px solid #ccc; }

.table-mb td {
  border: none !important; }

.login-container {
  background: none repeat scroll 0 0 #f1f1f1;
  left: 50%;
  margin: -23% 0 0 -25%;
  overflow: auto;
  padding: 5%;
  position: absolute;
  top: 50%;
  width: 55%;
  -webkit-filter: blur(10px);
  filter: blur(10px);
  border: 1px solid #ddd;
  border-radius: 6px; }

.table-view li input {
  margin-bottom: 0; }

.rep-actions ul {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
  overflow: auto; }
  .rep-actions ul li {
    width: 33.33333%;
    float: left;
    padding: 0 0 15px 0; }
    .rep-actions ul li:nth-child(3n+2) {
      padding: 0 15px 15px 15px; }
    .rep-actions ul li a {
      border: 1px solid #357ebd;
      display: block;
      font-size: 14px;
      padding: 15px;
      height: 80px;
      max-height: 100px;
      overflow: hidden;
      line-height: 50px;
      border-raidus: 3px;
      color: #fff;
      text-shadow: 0 1px 0 #777;
      border-radius: 3px;
      background: #428BCA; }

.inlinequantity {
  width: 70px !important;
  text-align: center; }

/* Chrome, Safari, Edge, Opera */
.inlinequantity::-webkit-outer-spin-button,
.inlinequantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0; }

/* Firefox */
.inlinequantity[type=number] {
  -moz-appearance: textfield; }

.minvalue .badge:empty {
  display: none; }

.txtsearchproduct {
  margin: 0;
  padding: 10px 0; }
  .txtsearchproduct li {
    width: 50%;
    float: left;
    padding: 0 5px; }
    .txtsearchproduct li .btn-block {
      padding: 6px; }

.voucherdetails {
  padding: 10px;
  border: 1px solid #ccc;
  background: #ddd; }
  .voucherdetails .validatevoucher {
    padding-left: 0px;
    float: left;
    width: 24.5%;
    margin-left: 0px !important; }
  .voucherdetails #nothingtopay {
    margin-top: 15px; }
  .voucherdetails #amounttopay {
    width: 74.34%;
    display: block;
    float: left;
    font-size: 15px;
    font-weight: bold;
    height: 50px;
    margin-left: 1%;
    padding: 0 5px; }

.orderbtns button, .orderbtns > a {
  float: left;
  width: 32.66667%; }
  .orderbtns button:nth-child(2n), .orderbtns > a:nth-child(2n) {
    margin: 0 1%; }

.historyBtns button {
  float: left;
  width: 24.25%; }
  .historyBtns button:nth-child(2n) {
    margin: 0 1%; }
  .historyBtns button:last-child {
    margin: 0 0 0 1%; }

.qtyCntrls {
  border: none; }
  .qtyCntrls a, .qtyCntrls input {
    float: left; }
  .qtyCntrls a {
    width: 25px !important;
    height: 35px !important;
    display: block !important;
    /*line-height: 25px !important;*/
    text-align: center !important;
    font-size: 14px !important;
    color: #fff !important;
    cursor: pointer; }
    .qtyCntrls a:focus, .qtyCntrls a:active, .qtyCntrls a:hover, .qtyCntrls a.active {
      background: #428bca !important; }
  .qtyCntrls input {
    width: 48px !important;
    padding: 3px !important;
    margin-bottom: 0px; }

#productinfocontainer li img {
  border: 1px solid #ddd;
  -webkit-box-shadow: 0 0 5px 0 #ddd;
  box-shadow: 0 0 5px 0 #ddd;
  display: inline-block;
  height: 100px;
  margin-right: 1%;
  padding: 5px;
  position: relative;
  vertical-align: top;
  width: auto; }

.supplynow, .supplylater {
  color: #fff;
  font-weight: bold; }

.supplynow {
  background: #5cb85c; }

.supplylater {
  background: #d9534f; }

.newOrderLine {
  background-color: #ffa; }

.discountcell.pricecell {
  position: relative; }
  .discountcell.pricecell .currencyinput {
    left: 15px;
    position: absolute;
    top: 15px; }

.product-list .grid-wrap ul .loader {
  text-align: center; }
  .product-list .grid-wrap ul .loader i {
    font-size: 56px;
    height: 50px;
    margin: 20px;
    text-align: center;
    width: 50px; }

.product-list .grid-wrap ul .table-view-cell {
  width: 100%;
  cursor: pointer; }
  .product-list .grid-wrap ul .table-view-cell img {
    width: 55px; }

.product-list .slideshow li {
  display: none; }

.slideshow ul {
  list-style: none; }

.slideshow .slide--active {
  background: #fff;
  display: list-item;
  height: 80%;
  left: 10%;
  position: fixed;
  top: 10%;
  width: 80%;
  z-index: 9999;
  padding: 20px; }

.slideshow .slide--close {
  background: rgba(0, 0, 0, 0.8) none repeat scroll 0 0;
  color: #fff;
  cursor: pointer;
  height: 40px;
  line-height: 40px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 40px; }

.slideshow .slide--navs {
  height: 116px;
  left: 2.5%;
  margin-top: -58px;
  position: fixed;
  top: 50%;
  width: 95%;
  z-index: 9998; }
  .slideshow .slide--navs .slide--nav {
    background: rgba(0, 0, 0, 0.6) none repeat scroll 0 0;
    color: #fff;
    cursor: pointer;
    display: block;
    float: left;
    font-size: 50px;
    opacity: 0.8;
    padding: 33px 29px;
    position: relative;
    text-align: center;
    -webkit-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out; }
    .slideshow .slide--navs .slide--nav:hover {
      background: rgba(0, 0, 0, 0.8); }
    .slideshow .slide--navs .slide--nav.next {
      float: right; }

.slideshow .slide--desc {
  height: 20%;
  overflow: scroll; }
  .slideshow .slide--desc p {
    white-space: pre-line; }

.slideshow .slide--img {
  padding: 10px 0;
  position: relative;
  height: 70%; }
  .slideshow .slide--img img {
    position: relative;
    z-index: 999;
    margin: auto; }
  .slideshow .slide--img span {
    color: #E0E0E0;
    font-size: 40px;
    height: 40px;
    left: 50%;
    margin-left: -20px;
    margin-top: -20px;
    position: absolute;
    top: 50%;
    width: 40px;
    z-index: 998; }

.blocker {
  background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999; }

/*.fancybox-inner {
    ul {
        list-style: none;
    }

    li[id*='product_'] {
        h3 {
            padding: 0 0 10px 0;
        }
    }

    .slide--img {
        background: #ffffff none repeat scroll 0 0;
        height: 350px;
        margin-bottom: 10px;
    }
}*/
#ordergrid .productinfo, #ordergrid .pcodebutton {
  float: left;
  width: 100%; }

#ordergrid .pcodebutton {
  width: 40%; }

#custlist .table-view-cell {
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out; }
  #custlist .table-view-cell.active, #custlist .table-view-cell:hover, #custlist .table-view-cell:focus, #custlist .table-view-cell:active {
    background: #f9f8f8; }

.form-item label {
  font-size: 14px;
  color: #333;
  padding-bottom: 5px; }

.dates > div {
  float: left;
  width: 49%; }
  .dates > div:nth-child(1) {
    margin-right: 2%; }

.media-body > span {
  margin-bottom: 5px;
  display: block; }

.crm-notes-wrap .crm-filters {
  position: absolute;
  background: #fefefe;
  z-index: 9;
  min-width: 200px;
  overflow: visible;
  margin-top: 7px;
  -webkit-box-shadow: 0 0 25px 0 #dddddd;
  box-shadow: 0 0 25px 0 #dddddd; }
  .crm-notes-wrap .crm-filters input, .crm-notes-wrap .crm-filters select {
    margin-bottom: 3px;
    height: 30px;
    font-size: 16px; }
  .crm-notes-wrap .crm-filters:before {
    content: "";
    position: absolute;
    top: -9px;
    left: 9px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5px 8.7px 5px;
    border-color: transparent transparent #dddddd transparent; }

.crm-notes-wrap a, .crm-notes-wrap span, .crm-notes-wrap div {
  leter-spacing: 0.025em; }

.crm-notes-wrap .crm-loading {
  display: none;
  text-align: center;
  padding: 25px;
  font-size: 30px;
  position: absolute;
  left: -15px;
  top: -15px; }

.crm-notes-wrap li {
  padding-left: 0px !important;
  padding-right: 0px !important;
  margin-left: -10px !important;
  margin-right: -10px !important; }
  .crm-notes-wrap li a {
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding-left: 15px !important;
    padding-right: 15px !important; }
    .crm-notes-wrap li a.active, .crm-notes-wrap li a:hover, .crm-notes-wrap li a:active, .crm-notes-wrap li a:focus {
      background: #f5f5f5; }

.crm-notes-wrap .crm-editing {
  background: rgba(0, 0, 0, 0.3) none repeat scroll 0 0;
  content: "";
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1; }

.crm-notes-wrap .crm-back {
  display: none !important; }

.crm-notes-wrap .crm-notes-detail {
  position: relative;
  z-index: 9;
  min-height: 110px; }

.crm-notes-wrap .crm-subject {
  margin: 4px 0;
  color: #555555;
  max-width: 75%; }

.crm-notes-wrap .crm-divider {
  padding: 0 5px; }

.crm-notes-wrap .crm-author {
  font-size: 12px;
  color: #999999; }

.crm-notes-wrap .crm-help {
  font-size: 14px;
  color: #999999;
  text-align: center;
  padding: 35px; }

.crm-notes-wrap .crm-details label, .crm-notes-wrap .crm-filters label {
  color: #777;
  display: block;
  font-size: 14px;
  padding: 5px 0 !important; }

.crm-notes-wrap .crm-details input, .crm-notes-wrap .crm-details textarea, .crm-notes-wrap .crm-filters input, .crm-notes-wrap .crm-filters textarea {
  padding: 3px 5px;
  font-size: 14px; }

.bar-tab > ul {
  background: #7d7e7d;
  /* Old browsers */
  background: -moz-linear-gradient(top, #7d7e7d 0%, #0e0e0e 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7d7e7d), color-stop(100%, #0e0e0e));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #7d7e7d 0%, #0e0e0e 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #7d7e7d 0%, #0e0e0e 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #7d7e7d 0%, #0e0e0e 100%);
  /* IE10+ */
  background: -webkit-gradient(linear, left top, left bottom, from(#7d7e7d), to(#0e0e0e));
  background: linear-gradient(to bottom, #7d7e7d 0%, #0e0e0e 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#0e0e0e',GradientType=0 );
  /* IE6-9 */
  margin: 0;
  padding: 0; }
  .bar-tab > ul > li {
    position: relative;
    padding: 15px 0;
    border-right: 1px solid #1d1d1d; }
    .bar-tab > ul > li > a {
      color: #929292;
      -webkit-transition: .3s all ease-in-out;
      -o-transition: .3s all ease-in-out;
      transition: .3s all ease-in-out;
      display: block; }
      .bar-tab > ul > li > a:hover {
        color: #428bca; }

.foot-popover:hover ul {
  visibility: visible;
  opacity: 1; }

.foot-popover ul {
  border-radius: 3px;
  padding: 0;
  list-style: none;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 100%;
  /*left: -15%;*/
  right: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  -webkit-transition: 0.2s ease-out;
  -moz-transition: 0.2s ease-out;
  -o-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
  -webkit-transition-property: opacity, padding, visibility;
  -moz-transition-property: opacity, padding, visibility;
  -o-transition-property: opacity, padding, visibility;
  transition-property: opacity, padding, visibility;
  -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(0, 0, 0, 0.1); }
  .foot-popover ul:before, .foot-popover ul:after {
    content: '';
    display: block;
    position: absolute;
    left: 40%;
    width: 0;
    height: 0;
    border: 7px outset transparent; }

.foot-popover ul:before {
  bottom: -14px;
  border-top: 7px solid #ddd; }

.foot-popover li:first-child:after {
  bottom: -13px;
  border-top: 7px solid white; }

.foot-popover ul:after {
  bottom: -12px;
  border-top: 7px solid #fff; }

.foot-popover li {
  text-align: left;
  color: #838ca2;
  text-shadow: 0 1px white; }
  .foot-popover li i {
    margin-right: 5px; }
  .foot-popover li a {
    display: block;
    position: relative;
    padding: 15px;
    color: #929292;
    text-decoration: none;
    border: 1px solid transparent;
    font-size: 14px; }
    .foot-popover li a:hover {
      color: #313a4f;
      text-shadow: 0 1px #fff;
      background: #eee; }

.grid .one {
  width: 100%;
  float: left; }

.grid .two {
  width: 50%;
  float: left; }

.grid .three {
  width: 33.33333%;
  float: left; }

.grid .four {
  width: 25%;
  float: left; }

.grid .five {
  width: 20%;
  float: left; }

.grid .six {
  width: 16.66667%;
  float: left; }

.grid .seven {
  width: 14.28571%;
  float: left; }

.grid .eight {
  width: 12.5%;
  float: left; }

.grid .nine {
  width: 11.11111%;
  float: left; }

.grid .ten {
  width: 10%;
  float: left; }

.grid .eleven {
  width: 9.09091%;
  float: left; }

.grid .twelve {
  width: 8.33333%;
  float: left; }

/*Fix iOS 8 Safari bug for modal popup windows*/
header.bar.bar-nav {
  -webkit-transform: translateZ(0); }

/*Phone portrait*/
@media only screen and (min-width: 240px) and (max-width: 640px) and (orientation: portrait) {
  .slideshow .slide--navs {
    width: 100% !important;
    left: 0 !important; }
  .slideshow .slide--nav {
    padding: 30px 9px !important; } }

/*Phone*/
@media only screen and (min-width: 240px) and (max-width: 640px) {
  h3 {
    font-size: 16px; }
  thead th {
    font-size: 14px; }
  #ordergrid td input.inlinequantity {
    border-radius: 0px; }
  #ordergrid td input {
    width: 100% !important; }
  .segmented-control .control-item {
    height: unset !important;
    width: 100% !important; }
  #ordergrid .pcodebutton {
    width: 100%; }
  header .title {
    font-size: 14px; }
  .login-container {
    width: 100%;
    margin: -50% 0 0 -50%; }
  .foot-popover ul {
    width: 175%;
    left: 0%; }
    .foot-popover ul li a {
      font-size: 12px; }
    .foot-popover ul::before, .foot-popover ul:after {
      left: 23%; }
  .hide-mb {
    display: none; }
  header .btn {
    font-size: 17px;
    padding: 6px 10px 7px !important; }
  .table-view-cell > a:not(.btn) {
    font-size: 14px; }
  .historyBtns button {
    width: 49.5% !important;
    float: left;
    margin: 0 0 5px 0 !important; }
    .historyBtns button:nth-child(2n) {
      margin-left: 1% !important; }
  .customerDetails .two {
    width: 100%;
    margin-bottom: 5px; }
  #frmProductSearch .form-item {
    width: 48% !important;
    float: left;
    margin-right: 2%; }
  .grid strong {
    display: block !important;
    width: 100% !important;
    margin-bottom: 2px !important; }
  .slideshow .slide--img {
    height: 55%; }
  .slideshow .slide--desc {
    height: 32%; }
  .txtsearchproduct > li {
    width: 100%;
    margin-bottom: 5px; }
    .txtsearchproduct > li:last-child {
      margin-bottom: 0px; }
  /*
        change grids to 100% width on mobile as we will be using slide and swipe
    */
  .modal .content {
    overflow-x: hidden; }
  .crm-notes-wrap .crm-list-wrap {
    overflow: hidden; }
    .crm-notes-wrap .crm-list-wrap .two {
      width: 100%;
      padding-right: 0px !important; }
    .crm-notes-wrap .crm-list-wrap .crm-details-wrap {
      -webkit-transition: all .25s ease-in-out;
      -o-transition: all .25s ease-in-out;
      transition: all .25s ease-in-out;
      -webkit-transform: translateX(125%);
      -ms-transform: translateX(125%);
      transform: translateX(125%);
      position: fixed;
      top: 50px;
      width: 95%;
      height: 90%;
      overflow: auto;
      z-index: 9; }
      .crm-notes-wrap .crm-list-wrap .crm-details-wrap .crm-back {
        display: block !important; }
      .crm-notes-wrap .crm-list-wrap .crm-details-wrap.crm-note-visible {
        -webkit-transform: translateX(0px);
        -ms-transform: translateX(0px);
        transform: translateX(0px); } }

/* iPad Landscape*/
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .slideshow .slide--img {
    height: 60%; }
  .slideshow .slide--desc {
    height: 30%; } }

table.nstablewrapcells td {
  white-space: normal;
  -ms-word-break: break-word;
  word-break: break-word; }
