

.res-black tbody th a {
  color: #000 !important;
}


@media (max-width: 767px) {
  .res-width {
    min-width: -webkit-fill-available !important;
    width: -webkit-fill-available !important;
  }
  .responsive-table td {
    min-width: -webkit-fill-available !important;
    width: -webkit-fill-available !important;
  }
  .responsive-table > tbody th a {
    color: #fff !important;
  }
  .responsive-table tbody th[scope="row"],
  .responsive-table tbody td[scope="row"] {
    background-color: #3b84c4;
    color: white;
    border-top: 1px solid #3b84c4 !important;
  }
  .responsive-table tbody th[scope="row"],
  .responsive-table tbody td[scope="row"] a,
  .responsive-table tbody th[scope="row"] small,
  .responsive-table tbody td[scope="row"] small {
    color: white;
  }
  
  .res-navy>th[scope="row"] {
    background-color: #3b84c4;
    color: white;
    border-top: 1px solid #34495e !important;
  }
  .responsive-table tbody td div {
    text-align: center !important;
  }
  .responsive-table>tbody>tr>td {
    padding: 8px !important;
        min-height: 35px;
  }
  .responsive-table>tbody>tr {
    height: auto !important;
  }
  .responsive-table tbody tr {
    margin-bottom: 1em;
    border: 1px solid #3b84c4;
    /*border-bottom: 2px solid #3b84c4;*/
  }
  
  .table..responsive-table>tbody>tr>td {
    border-right: 1px solid #3b84c4 !important;
    border-left: 1px solid #3b84c4 !important;
    border-top: 1px solid #3b84c4 !important;
  }

  #purchases_table>tbody>tr>td,
  .table.taskey_table>tbody>tr>td,
  #leads_tasks_table>tbody>tr>td
    .responsive-table.table-bordered-red tbody tr {
    border-top: 0px solid #3b84c4 !important;
   }


  .responsive-table.table-bordered-red > tbody th a {
    color: #fff !important;
  }
  .responsive-table.table-bordered-red tbody th[scope="row"] {
    background-color: #c43b3b;
    color: white;
    border-top: 1px solid #c43b3b !important;
  }
  .responsive-table.table-bordered-red tbody tr {
    margin-bottom: 1em;
    border: 1px solid #c43b3b!important;
    border-bottom: 2px solid #c43b3b;
  }
  .responsive-table.table-bordered-red>tbody>tr>td {
    border-right: 1px solid #c43b3b !important;
    border-left: 1px solid #c43b3b !important;
    border-top: 1px solid #c43b3b !important;

  }

  .responsive-table.table-bordered-red>tbody>tr>td, .responsive-table.table-bordered-red>tbody>tr>th,
  .responsive-table.table-bordered-red>tfoot>tr>td, .responsive-table.table-bordered-red>tfoot>tr>th,
  .responsive-table.table-bordered-red>thead>tr>td
  {
    border: 1px solid #c43b3b !important;
  }

  .responsive-table thead th {
    background-color: #3b84c4;
    text-align: center;
  }

  .responsive-table tbody tr:nth-of-type(even) {
    /*background-color: rgba(94, 93, 82, 0.1);*/
  }

  .responsive-table tbody td {
    border-bottom: 1px solid #3b84c4;
  }

  .responsive-table th.visible-xs,
  .responsive-table td.visible-xs {
    display: block !important;
  }


  .responsive-table td {
    text-align: center !important;
  }


  th[scope="row"].visible-xs {
      display: block !important;
    }

  th[scope="row"].visible-xs {
      display: block !important;
    }

  .responsive-table tbody th[scope="row"] {
    padding: 7px !important;
    width: auto !important;
  }

  .responsive-table tbody th[scope="row"] {
      border: 0px !important;
  }

  .responsive-table.table-bordered-red {
      border: 0px !important;
  }
}


















.responsive-table {
  width: 100%;
  /*margin-bottom: 1.5em;*/
}

.responsive-table thead {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}




.responsive-table tbody,
.responsive-table tr,
.responsive-table th,
.responsive-table td {
  display: block;
  padding: 0;
  white-space: normal;
}



.responsive-table th,
.responsive-table td {
  padding: .5em;
  vertical-align: middle;
}


.responsive-table caption {
  margin-bottom: 1em;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
}





.responsive-table tbody tr:last-of-type {
  margin-bottom: 0;
}



.res-black tbody th[scope="row"] {
  background-color: #3b84c4;
  color: white;
}


/*
.responsive-table > tbody th a {
  color: #fff !important;
}
*/

.responsive-table .editable-click th,.responsive-table th a.editable-click,.responsive-table th a.editable-click:hover {
    text-decoration: none;
    border-bottom: dashed 1px #fff;
}



@media (min-width: 767px) {
  .responsive-table tr {
    display: table-row;
    /*border: 1px solid #3b84c4;*/
  }

  .responsive-table th,
  .responsive-table td {
    display: table-cell;
    padding: .5em;
  }

  .responsive-table thead {
    position: relative;
    clip: auto;
    height: auto;
    width: auto;
    overflow: auto;
  }

  .responsive-table tbody th[scope="row"] {
    /*border-bottom: 1px solid #3b84c4;*/
    background-color: transparent;
    /*color: #5e5d52;*/
    text-align: center;

  }
  .res-black tbody th[scope="row"] {
    background-color: transparent;
    color: #5e5d52;
    text-align: center;

  }

  /*
  .responsive-table > tbody th a {
    color: #000 !important;
  }
  */
  .responsive-table .editable-click th,.responsive-table th a.editable-click,.responsive-table th a.editable-click:hover {
    text-decoration: none;
    border-bottom: dashed 1px #0088cc;
  }

  .responsive-table caption {
    font-size: 1.5em;
  }

  .responsive-table tbody {
    display: table-row-group;
  }

  .responsive-table tbody tr {
    display: table-row;
    border-width: 1px;
  }

}


.responsive-table tbody td[data-title]:before {
  content: attr(data-title);
  float: right;
  font-size: 0.9em;
  font-weight: 700;
  /*padding: 8px !important;*/
  color: rgba(94, 93, 82, 0.75);
  width: 120px;
}
.data-title-white > td[data-title]:before {
  color: #fff !important;
}


@media (min-width: 767px) {
  .responsive-table tbody td[data-title]:before {
    content: none;
  }
}

