.customer-details
  {
    color:  #333;
    cursor: pointer;
    /* float: right; */
    display: inline-flex !important;
    overflow: hidden;
    text-align: center;
    transition: .2s all;

    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */

    /* Rules below not implemented in browsers yet */
    -o-user-select: none;
    user-select: none;
  }
.customer-details:hover
  {
    overflow: visible;
  }
.customer-details b
  {
    margin-left: 5px;
  }
.box-customer-details
  {
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    color: #333;
    cursor:  default;
    display: block;
    min-width: 200px;
    padding: 5px 10px;
    position: absolute;
    right: 0;
    text-align: left;
    width: calc(100% + 20px);
  }
.box-customer-details .data
  {
    display: block;

  }
.box-customer-details .data a
  {
    display: inline;

  }
.box-customer-details .data:not(:first-of-type)
  {
      border: 1px dotted transparent;
      border-top: 1px dotted #ccc;
  }
.box-customer-details .data:first-child
  {
    text-align: center;
    height: 35px;
    border-top-color: transparent;
  }
.box-customer-details .data:last-child
  {
    text-align: right;
  }


.box-customer-details label
  {
    margin-bottom: 0;
  }
.box-customer-details strong
  {
    float: right;
    display: inline-block;

    white-space: nowrap;
  }


@media (max-width: 480px) {
  .customer-details
    {
      /* border: 1px solid #000; */
      width: 100%;
      line-height: 3rem;
      background-color: lightgray;
    }
  .box-customer-details
    {
        width: 100%;
        /* position: fixed; */
        /* right: 0; */
        /* padding: 15px; */
        /* padding-top: 25px; */
        /* padding-bottom: 20px; */
    }
  .box-customer-details .data a
    {
      color:  #333 !important;
      display: inline;
    }
  .box-customer-details .data a:hover
    {
      background: none;
    }
  .box-customer-details:before
    {
        content: "\f00d ";
        cursor: pointer;
        display: block;
        font-family: fontawesome;
        font-size: 1.2em;
        padding-top: 0;
        padding: 10px;
        position: absolute;
        right: 5px;
        top: -2px;
    }
}
