.responsive-table {
  width: 100%;
  margin-bottom: 1.5em;
}
@media (min-width: 768px) {
  .responsive-table {
    font-size: .9em;
  }
}
@media (min-width: 992px) {
  .responsive-table {
    font-size: 1em;
  }
}
.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;
}
@media (min-width: 768px) {
  .responsive-table thead {
    position: relative;
    clip: auto;
    height: auto;
    width: auto;
    overflow: auto;
  }
}
.responsive-table thead th:first-of-type {
  text-align: left;
}
.responsive-table tbody,
.responsive-table tr,
.responsive-table th,
.responsive-table td {
  display: block;
  padding: 0;
  /*text-align: left !important;*/
  white-space: normal;
}
.responsive-table td {
  text-align: center;
}
@media (min-width: 768px) {
  .responsive-table tr {
    display: table-row;
  }
}
.responsive-table th,
.responsive-table td {
  padding: .5em;
  vertical-align: middle;
}
@media (min-width: 480px) {
  .responsive-table th,
  .responsive-table td {
    padding: .75em .5em;
  }
}
@media (min-width: 768px) {
  .responsive-table th,
  .responsive-table td {
    display: table-cell;
    padding: .5em;
  }
}
@media (min-width: 992px) {
  .responsive-table th,
  .responsive-table td {
    padding: .75em .5em;
  }
}
@media (min-width: 1200px) {
  .responsive-table th,
  .responsive-table td {
    padding: .75em;
  }
}
@media (min-width: 768px) {
  .responsive-table tbody {
    display: table-row-group;
  }
}
.responsive-table tbody tr {
  margin-bottom: 1em;
}

@media (min-width: 768px) {
  .responsive-table tbody tr {
    display: table-row;
    border-width: 1px;
  }
}
.responsive-table tbody tr:last-of-type {
  margin-bottom: 0;
}
.responsive-table tbody th[scope="rowspan"], .responsive-table tbody td[scope="rowspan"] {
display: none;
}
@media (min-width: 768px) {
  .responsive-table tbody th[scope="row"] {
    background-color: transparent;
    /*color: #5e5d52*/;
    color: white;
    text-align: left;
  }
}
.responsive-table tbody td {
  text-align: left;
}
@media (min-width: 480px) {
  .responsive-table tbody td {
    border-bottom: 1px solid #1d96b2;
  }
}
@media (min-width: 768px) {
  .responsive-table tbody td {
    text-align: center;
  }
}
.responsive-table tbody td[data-type=currency] {
  text-align: left;
}
.responsive-table tbody td[data-title]:before {
  content: attr(data-title);
  font-size: 14px;
  color: #656565;
  font-weight:600;
}
@media (min-width: 480px) {
  .responsive-table tbody td[data-title]:before {
    font-size: .9em;
  }
}
@media (min-width: 768px) {
  .responsive-table tbody td[data-title]:before {
    content: none;
  }
}
/* FOR MOBILE MEDIA ONLY*/
@media (max-width: 480px) {
  .responsive-table tbody td{
    white-space: normal!important;
    border-collapse: collapse; 
  }
  .responsive-table tbody td[scope="hidden"] {
    display: none;
  }
  .responsive-table tbody td[scope="rowspan"] {
    background-color: #1d96b2;
    color: white;
    display: block;
  }
  .responsive-table tbody td[data-title]{
    padding: 10px 35px;
    text-align: left;
  }
  .responsive-table tbody td[data-title]:before{
    margin-left:-30px;
    display: block;
    margin-bottom: 5px;
  }
  .responsive-table tbody td[scope="row"]{
    border:0;border-collapse: collapse;
  }
  .red-cart .responsive-table tbody td[scope="row"], .blue-cart .responsive-table tbody td[scope="row"]{
    color:white;
  }
  .responsive-table tbody td[scope="row"] .blue-text, .responsive-table tbody td[scope="row"] .red-text{
    color:white;
  }
  .responsive-table tbody td .custom-input-text{
    text-align: left;
  }
  .gray-cart .table > tbody > tr > td[scope="row"], .gray-cart .table > tbody > tr > td[scope="rowspan"] {
    text-align: left;
    vertical-align: middle;
    color: #fff;
    background-color: #808080;
    font-weight: 600;
  }
  .red-cart .table > tbody > tr > td[scope="row"], .red-cart .table > tbody > tr > td[scope="rowspan"] {
    text-align: left;
    vertical-align: middle;
    color: #fff;
    background-color: #e0584b;
    font-weight: 600;
  }
  .blue-cart .table > tbody > tr > td[scope="row"], .blue-cart .table > tbody > tr > td[scope="rowspan"] {
    text-align: left;
    vertical-align: middle;
    color: #fff;
    background-color: #497ebd;
    font-weight: 600;
  }
  .yellow-cart .table > tbody > tr > td[scope="row"], .yellow-cart .table > tbody > tr > td[scope="rowspan"] {
    text-align: left;
    vertical-align: middle;
    color: #fff;
    background-color: #fba800;
    font-weight: 600;
  }
  .green-cart .table > tbody > tr > td[scope="row"], .green-cart .table > tbody > tr > td[scope="rowspan"] {
    text-align: left;
    vertical-align: middle;
    color: #fff;
    background-color: #abd430;
    font-weight: 600;
  }
  .red-cart .responsive-table-header,.blue-cart .responsive-table-header,.yellow-cart .responsive-table-header,.green-cart .responsive-table-header, .gray-cart .responsive-table-header,.green-cart .responsive-table-header{
    display: block;
    text-align: left;
    vertical-align: middle;
    color: #fff;
    font-weight: 600;
    padding: 8px;
    line-height: 1.42857143;
  }
  .gray-cart .responsive-table-header{
    background-color: #808080;
  }
  .red-cart .responsive-table-header{
    background-color: #e0584b;
  }
  .blue-cart .responsive-table-header{
    background-color: #497ebd;
  }
  .yellow-cart .responsive-table-header{
    background-color: #fba800;
  }
  .green-cart .responsive-table-header{
    background-color: #abd430;
  }
}