﻿
@media (max-width: 767px)
{
    table.responsive-table{
      box-shadow: none;  
    }
    
    
    table.responsive-table thead{
      display: none; 
    }
  table.display th,
  table.display td{
    padding: .5em;
  }
    
  table.responsive-table td:nth-child(1):before{
    content: 'Product Name';
  }
  table.responsive-table td:nth-child(2):before{
    content: 'Company Name';
  }
  
  table.responsive-table td:nth-child(3):before{
    content: 'SoldIn';
  }
  table.responsive-table td:nth-child(4):before{
    content: 'Marketing Type';
  }
  
  table.responsive-table td:nth-child(5):before{
    content: 'Product Type';
  }
  
  table.responsive-table td:nth-child(6):before{
    content: 'Product Code';
  }
  
  table.responsive-table td:nth-child(7):before{
    content: 'Logo';
  }
  
  table.responsive-table td:nth-child(8):before{
    content: 'Ifanca Code';
  }
  
  table.responsive-table td:nth-child(1),
  table.responsive-table td:nth-child(2),
  table.responsive-table td:nth-child(3),
  table.responsive-table td:nth-child(4),
  table.responsive-table td:nth-child(5),
  table.responsive-table td:nth-child(6),
  table.responsive-table td:nth-child(7),
  table.responsive-table td:nth-child(8)
  {
    margin-left:120px;
  }
  
  
  table.responsive-table td:nth-child(1):before,
  table.responsive-table td:nth-child(2):before{
    position: absolute;
    left: .5em;
    font-weight: bold;
  }
  
  table.responsive-table td:nth-child(3):before{
    position: absolute;
    left: .5em;
    font-weight: bold;
  }
  
  table.responsive-table td:nth-child(4):before{
    position: absolute;
    left: .5em;
    font-weight: bold;
  }
  
  
  table.responsive-table td:nth-child(5):before{
    position: absolute;
    left: .5em;
    font-weight: bold;
  }
  
  table.responsive-table td:nth-child(6):before{
    position: absolute;
    left: .5em;
    font-weight: bold;
  }
  
  
  table.responsive-table td:nth-child(7):before{
    position: absolute;
    left: .5em;
    font-weight: bold;
  }
  
  table.responsive-table td:nth-child(8):before{
    position: absolute;
    left: .5em;
    
    font-weight: bold;
  }
  
    table.responsive-table tr,
    table.responsive-table td{
        display: block;
    }
    table.responsive-table tr{
        position: relative;
        margin-bottom: 1em;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    }
    table.responsive-table td{
        border-top: none;
    }
    
}





@media (min-width:300px) and (max-width:480px) {
    div.dataTables_wrapper .ui-widget-header {
        float: left;
        height: auto;
    }

    div.dataTables_wrapper .ui-widget-header {
        height: auto;
    }
    .dataTables_length{width:100%;}
}