.invalid-feedback {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #e3342f;
}


.modal-header {
    color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #428bca;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
 }

 .signature-wrapper {
    position: relative;
    width: 400px;
    height: 200px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .signature-pad {
    position: absolute;
    left: 0;
    top: 0;
    width: 500px;
    height: 200px;
    background-color: white;
  }

  .modal-dialog .timepicker{
    z-index:1151 !important;
  }


  /* CSS for BOLs */
  #modal-bol .modal-dialog,
  #modal-bol .modal-content {
    /* 80% of window height */
    height: 95%;
  }


  #modal-bol  input {
      width: 100%;
      height: 100%;
      background: yellow;
  }

  .modal-body {
      /* 100% = dialog height, 120px = header + footer */
      max-height: calc(100% - 120px);
      overflow-y: scroll;
  }




  #modal-bol .invoice-box {
    max-width: 1000px;
    margin: auto;
    padding: 8px;
/*         border: 1px solid #eee; */
/*         box-shadow: 0 0 10px rgba(0, 0, 0, .15); */
    font-size: 14px;
    line-height: 24px;
    font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
/*         color: #555; */
    color: 	#000000;
  }

  #modal-bol .invoice-box table {
      width: 100%;
      line-height: inherit;
      text-align: left;
  }

  #modal-bol .invoice-box table td {
  /*         padding: 5px; */
      vertical-align: top;
  }

  #modal-bol .invoice-box table tr td:nth-child(2) {
      text-align: right;
  }

  #modal-bol .invoice-box table tr.top table td {
      padding-bottom: 0px;
  }

  #modal-bol .invoice-box table tr.top table td.title {
      width: 41%;
      font-size: 45px;
      /* line-height: 45px; */
      color: #333;
      padding: 0px
  }


  #modal-bol .invoice-box table tr.information td {
      background: #eee;
      border-top: 1px solid black;
      border-bottom: 1px solid black;
      font-weight: bold;
      text-align: center;
      padding: 0px;
  }

  #modal-bol .invoice-box table tr.content td {
    padding: 0px;
  }

  #modal-bol tr.border_bottom td {
    border-bottom:1px solid black;
  }

  #modal-bol tr.border_top td {
    border-top:1px solid black;
  }

  #modal-bol .invoice-box table .shipTo  {
      background: #eee;
      border-bottom: 1px solid black;
      border-top:1px solid black;
      border-right:1px solid black;
      font-weight: bold;
      text-align: center;
      padding: 0px;
  }

  #modal-bol .invoice-box table .shipDateTime {
      border-top:1px solid black;
      padding: 0px;
  }

  #modal-bol .shipDateTime table tr td:nth-child(1){
      text-align: right;
      font-weight: bold;
  }

  #modal-bol .shipDateTime table tr td:nth-child(2){
      text-align: left;
      border-bottom: 1px solid black;
  }

  #modal-bol .invoice-box table .seal {
    padding: 0px;
  }

  #modal-bol .seal table tr td:nth-child(1){
    text-align: right;
    font-weight: bold;
  }

  #modal-bol  .seal table tr td:nth-child(2){
    text-align: left;
    border-bottom: 1px solid black;
  }

  #modal-bol  .invoice-box table .frieght  {
    background: #eee;
    border-bottom: 1px solid black;
    border-right:1px solid black;
    font-weight: bold;
    text-align: center;
    padding: 0px;
  }



  #modal-bol .invoice-box table tr.details td {
    padding-bottom: 5px;
    color: red;
    font-weight: bold;
    text-align:left
  }

  #modal-bol .invoice-box table tr.details td small {

    color:black;
    font-weight: normal;
    font-size: 14px;
  }

  #modal-bol .invoice-box table tr.item td{
  /*         border-bottom: 1px solid #eee; */
      text-align: center;
  }

  #modal-bol .invoice-box table tr.content_items.last td {
    border-bottom: none;
  }



  #modal-bol .invoice-box table tr.total td:nth-child(1) {
    font-weight: bold;
    text-align: right;
  }

  #modal-bol .invoice-box table tr.grand_total td:nth-child(1)     {
    font-weight: bold;
    text-align: right;
  }

  #modal-bol .invoice-box table tr.detail td{
      padding: 4px;
      border: 1px solid black;
      text-align: left;
      font-size: 12px;
      /* cell-margin:10px; */
  }

  #modal-bol .invoice-box table tr.shipment_detail td{
      font-size: 12px;
      padding: 4px;
  }

  /* @media  only screen and (max-width: 600px) {
    .invoice-box table tr.top table td {
        width: 100%;
        display: block;
        text-align: center;
    }

    .invoice-box table tr.information table td {
        width: 100%;
        display: block;
        text-align: center;
    }
  } */

  /** RTL **/
  /* .rtl {
    direction: rtl;
    font-family: Tahoma, 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
  }

  .rtl table {
    text-align: right;
  }

  .rtl table tr td:nth-child(2) {
    text-align: left;
  } */

  #modal-bol input[type=radio] {
    height: 14px;
    width: auto;
  }

  #modal-bol .custom-invoice-box {
    max-width: 800px;
    margin: auto;
    padding: 5px 10px 10px 10px;
    /* border: 1px solid #eee; */
    /* box-shadow: 0 0 10px rgba(0, 0, 0, .15); */
    font-size: 12px;
    line-height: 14px;
    font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
    color: black;
  }

  #modal-bol .custom-invoice-box table {
    width: 100%;
    line-height: 14px;
    text-align: left;

  }

  #modal-bol .custom-invoice-box table td {
    padding: 0 5px;
    vertical-align: top;
  }



  #modal-bol .custom-invoice-box table tr.top table td {
    padding-bottom: 0px;
    font-size: 12px;
    border: 0;
  }

  #modal-bol .custom-invoice-box table tr.top table td.title {
    font-size: 45px;
    /*         line-height: 45px; */
    padding-left: 0px;
    color: black;
    width: 9%;
  }

  #modal-bol .cci_content table tr.information td {
    padding-bottom: 0px;

  }

  #modal-bol .cci_content {
    border-collapse: collapse;
    border: 1px solid black;

  }

  #modal-bol .cci_content td {
    border: 1px solid black;
  }

  .inner_content p,
  .cci_content p {
      text-align: center;
      font-size: 13px;
  }

  #modal-bol .inner_content {
    /*       border-collapse: collapse; */
    /*       border: 1px solid black; */
    border-spacing: 0 !important;
  }



  #modal-bol .inner_content td {
    border: 0px solid black;
  }

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #e3342f;
    padding-right: calc(1.6em + 0.75rem);
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' hei…circle cx='6' cy='8.2' r='.6' fill='%23e3342f' stroke='none'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right calc(0.4em + 0.1875rem) center;
    background-size: calc(0.8em + 0.375rem) calc(0.8em + 0.375rem);
}

.navbar-nav>.user-menu>.dropdown-menu {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    padding: 1px 0 0 0;
    border-top-width: 0;
    width: 135px;
}


