/* 
    Document   : no-more-tables
    Created on : 28/02/2012, 11:01:54 AM
    Author     : Simon Elvery
    Description:
        Demonstration of the responsive tables method described at by Chris Coyier
		at http://css-tricks.com/responsive-data-tables/
*/

@media only screen and (max-width: 800px) {
	
    /*
    #no-more-tables .table-hover > tbody > tr:hover > td,
    #no-more-tables .table-hover > tbody > tr:hover > th
    {
        background: none;
    }
    */

    #disableByNoPlace {
        display: none;
    }

	/* Force table to not be like tables anymore */
	#no-more-tables > table, 
	#no-more-tables > table > thead, 
	#no-more-tables > table > tbody, 
	#no-more-tables > table > thead > th, 
	#no-more-tables > table > tbody > tr > td, 
	#no-more-tables > table > tbody > tr { 
		display: block; 
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	#no-more-tables > table > thead > tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	#no-more-tables > table > tbody > tr {
	    border: 1px solid #ccc;
   }

	#no-more-tables > table > tbody > tr > td { 
		/* Behave  like a "row" */
		border: none;
		/*border-bottom: 1px solid #eee; */
		position: relative;
		padding-left: 50%; 
		white-space: normal;
		text-align: left;
	}

	#no-more-tables > table > tbody > tr > td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 3px;
		left: 6px;
		width: 30%; 
		padding-right: 10px;
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
	}

	/*
	Label the data
	*/
	#no-more-tables > table > tbody > tr > td:before { content: attr(data-title); }


/*************************************************************************************
   Beginning for special variation without labels (single row) used in npdch-about us
**************************************************************************************/
    #no-more-tables-single-col > table, 
	#no-more-tables-single-col > table > thead, 
	#no-more-tables-single-col > table > tbody, 
	#no-more-tables-single-col > table > thead > th, 
	#no-more-tables-single-col > table > tbody > tr > td, 
	#no-more-tables-single-col > table > tbody > tr { 
		display: block; 
	}
	#no-more-tables-single-col > table > thead > tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	#no-more-tables-single-col > table > tbody > tr > td { 
		border: none;
		position: relative;
		white-space: normal;
		text-align: center;
	    margin-left: auto;
	    margin-right: auto;
	}
	#no-more-tables-single-col > table > tbody > tr > td:before { 
		position: absolute;
		top: 3px;
		left: 6px;
		width: 30%; 
		padding-right: 10px;
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
	}
    #no-more-tables-single-col > table > tbody > tr > td:before { 
		position: absolute;
		top: 3px;
		left: 6px;
		width: 30%; 
		padding-right: 10px;
		white-space: nowrap;
		font-weight: bold;
        display: none;
	}
}
	