table.dataTable tbody tr { position:relative; }
.dataTables_wrapper table.menuitem_table td:nth-of-type(5) md-fab-speed-dial.md-fab-top-right { position:relative !important; }
md-fab-speed-dial.md-fab-top-right { position:relative !important; }

md-dialog { overflow:hidden !important;}

@media (max-width: 600px) {
    table { width:100%; border-collapse:collapse; }
    table.dataTable tbody td:first-child { padding:16px 8px !important; }
    .dataTables_wrapper table, .dataTables_wrapper thead, .dataTables_wrapper tbody, .dataTables_wrapper th, .dataTables_wrapper td, .dataTables_wrapper 			 	tr { display:block; }
    .dataTables_wrapper thead tr { position:absolute; top:-9999px; left:-9999px; }
    table.dataTable.row-border tbody tr td { border:none; border-bottom:1px solid #eee;  position:relative; padding-left:50% !important; }
    table.dataTable.row-border tbody tr td:before { font-weight:bold; position:absolute; top:16px; left:10px; width:45%; padding-right:10px;  white-space:nowrap; }

    /* Default For All Table */
    .dataTables_wrapper td:nth-of-type(1):before { content: "Image"; }
    .dataTables_wrapper td:nth-of-type(2):before { content: "Contact Name"; }
    .dataTables_wrapper td:nth-of-type(3):before { content: "Company Name"; }
    .dataTables_wrapper td:nth-of-type(4):before { content: "Email"; }
    .dataTables_wrapper td:nth-of-type(5):before { content: "Role"; }
    .dataTables_wrapper td:nth-of-type(6):before { content: "Payment Type"; }
    .dataTables_wrapper td:nth-of-type(7):before { content: "Status"; }
    .dataTables_wrapper td:nth-of-type(8):before { content: "Actions"; }

    /* Order Table */
    .dataTables_wrapper table.order_table td:nth-of-type(1):before { content: ""; }
    .dataTables_wrapper table.order_table td:nth-of-type(2):before { content: "Order Number"; }
    .dataTables_wrapper table.order_table td:nth-of-type(3):before { content: "Contact Name"; }
    .dataTables_wrapper table.order_table td:nth-of-type(4):before { content: "Role"; }
    .dataTables_wrapper table.order_table td:nth-of-type(5):before { content: "Order Date"; }
    .dataTables_wrapper table.order_table td:nth-of-type(6):before { content: "Catering Date"; }
    .dataTables_wrapper table.order_table td:nth-of-type(7):before { content: "Status"; }
    .dataTables_wrapper table.order_table td:nth-of-type(8):before { content: "Actions"; }

    /* Air Craft Table */
    .dataTables_wrapper table.aircraft_table td:nth-of-type(1):before { content: "Aircraft Type"; }
    .dataTables_wrapper table.aircraft_table td:nth-of-type(2):before { content: "Tail Number"; }
    .dataTables_wrapper table.aircraft_table td:nth-of-type(3):before { content: "Trolly Size"; }
    .dataTables_wrapper table.aircraft_table td:nth-of-type(4):before { content: "Status"; }
    .dataTables_wrapper table.aircraft_table td:nth-of-type(5):before { content: "Actions"; }
    .dataTables_wrapper table.aircraft_table td:nth-of-type(5) { min-height:50px; }


    /* Menu Item Table */
    .dataTables_wrapper table.menuitem_table td:nth-of-type(1):before { content: "Image"; }
    .dataTables_wrapper table.menuitem_table td:nth-of-type(2):before { content: "Item Name"; }
    .dataTables_wrapper table.menuitem_table td:nth-of-type(3):before { content: "Category Name"; }
    .dataTables_wrapper table.menuitem_table td:nth-of-type(4):before { content: "Price"; }
    .dataTables_wrapper table.menuitem_table td:nth-of-type(5):before { content: "Status"; }
    .dataTables_wrapper table.menuitem_table td:nth-of-type(6):before { content: "Actions"; }
    .dataTables_wrapper table.menuitem_table td:nth-of-type(6) { min-height:50px; }



    /* Menu Package Table */
    .dataTables_wrapper table.menupackage_table td:nth-of-type(1):before { content: "Package Name"; }
    .dataTables_wrapper table.menupackage_table td:nth-of-type(2):before { content: "Aircraft Type"; }
    .dataTables_wrapper table.menupackage_table td:nth-of-type(3):before { content: "Price"; }
    .dataTables_wrapper table.menupackage_table td:nth-of-type(4):before { content: "Status"; }
    .dataTables_wrapper table.menupackage_table td:nth-of-type(5):before { content: "Actions"; }
    .dataTables_wrapper table.menupackage_table td:nth-of-type(5) { min-height:50px; }
    
    /* Category Table */
    .dataTables_wrapper table.category_table td:nth-of-type(1):before { content: "Name"; }
    .dataTables_wrapper table.category_table td:nth-of-type(2):before { content: "Status"; }
    .dataTables_wrapper table.category_table td:nth-of-type(3):before { content: "Action"; }
    .dataTables_wrapper table.category_table td:nth-of-type(3) { min-height:50px; }
    
    /* Dry good Table */
    .dataTables_wrapper table.drygood_table td:nth-of-type(1):before { content: "Image"; }
    .dataTables_wrapper table.drygood_table td:nth-of-type(2):before { content: "Name"; }
    .dataTables_wrapper table.drygood_table td:nth-of-type(3):before { content: "Price"; }
    .dataTables_wrapper table.drygood_table td:nth-of-type(4):before { content: "Status"; }
    .dataTables_wrapper table.drygood_table td:nth-of-type(5):before { content: "Action"; }
    .dataTables_wrapper table.drygood_table td:nth-of-type(5) { min-height:50px; }


    table.user_table md-fab-speed-dial.md-fab-top-right { top:auto !important; left:-130px !important; position:relative; transform:none !important; }
    table.dataTable tbody tr.even, table.dataTable.hover tbody tr.even:hover { background-color:#ccc; }
    table.dataTable tbody tr.odd { background-color:#f5f5f5; }


}
@media (min-width: 720px) {
    table.aircraft_table tbody td {
        padding-bottom: 0;
        padding-top: 0;
    }
    table.menuitem_table tbody td {
        padding-bottom: 0;
        padding-top: 0;
    }
    table.menupackage_table tbody td {
        padding-bottom: 0;
        padding-top: 0;
    }
    table.category_table tbody td {
        padding-bottom: 0;
        padding-top: 0;
    }
    table.drygood_table tbody td {
        padding-bottom: 0;
        padding-top: 0;
    }
}