table { 
  width: 100%; 
  border-collapse: collapse; 
}
/* Zebra striping */
tr:nth-of-type(odd) { 
  background: #eee; 
}
th { 
  background: #337ab7; 
  color: white; 
  font-weight: bold; 
}
td, th { 
  padding: 6px; 
  border: 1px solid #8C82B6; 
  text-align: left; 
}
@media 
only screen and (max-width: 800px),
(min-device-width: 800px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	td.a1 { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td.a1:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	td.b1 { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td.b1:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	/*
	Label the data
	*/
	
	td.a1:nth-of-type(1):before { content: "Food"; }
	td.a1:nth-of-type(2):before { content: "Amount"; }
	td.a1:nth-of-type(3):before { content: "Fat (gms.)"; }
	td.a1:nth-of-type(4):before { content: "Cholesterol (mgs.)"; }
	td.a1:nth-of-type(5):before { content: "Calories (Kcals.)"; }
	
	
	td.b1:nth-of-type(1):before { content: "Food Group"; }
	td.b1:nth-of-type(2):before { content: "Approx Serving"; }
	td.b1:nth-of-type(3):before { content: "1200 (Kcal)*"; }
	td.b1:nth-of-type(4):before { content: "1500 (Kcal)*"; }
	td.b1:nth-of-type(5):before { content: "1800 (Kcal)*"; }
	td.b1:nth-of-type(6):before { content: "2000 (Kcal)*"; }
	
	td.c1:nth-of-type(1):before { content: "Std Blood Levels"; }
	td.c1:nth-of-type(2):before { content: "Normal Values"; }
	
	td.d1:nth-of-type(1):before { content: ""; }
	
	td.e1:nth-of-type(1):before { content: ""; }
	td.e1:nth-of-type(2):before { content: "Excellent"; }
	td.e1:nth-of-type(3):before { content: "Good"; }
	td.e1:nth-of-type(4):before { content: "Average"; }
	td.e1:nth-of-type(5):before { content: "High"; }
	td.e1:nth-of-type(6):before { content: "Extreme"; }
	
	td.f1:nth-of-type(1):before { content: ""; }
	td.f1:nth-of-type(2):before { content: "Sedantary"; }
	td.f1:nth-of-type(3):before { content: "Moderate"; }
	td.f1:nth-of-type(4):before { content: "Strenuous"; }
	
	td.g1:nth-of-type(1):before { content: "Height in ft"; }
	td.g1:nth-of-type(2):before { content: "Height in cm"; }
	td.g1:nth-of-type(3):before { content: "Weight(Men)Kg"; }
	td.g1:nth-of-type(4):before { content: "Weight(Women)Kg"; }
	
	td.i1:nth-of-type(1):before { content: "Activities"; }
	td.i1:nth-of-type(2):before { content: "50 kgs"; }
	td.i1:nth-of-type(3):before { content: "58 kgs"; }
	td.i1:nth-of-type(4):before { content: "65 kgs"; }
	td.i1:nth-of-type(5):before { content: "75 kgs"; }
	td.i1:nth-of-type(6):before { content: "85 kgs"; }
	td.i1:nth-of-type(7):before { content: "95 kgs"; }
	
	td.j1:nth-of-type(1):before { content: "BMI"; }
	td.j1:nth-of-type(2):before { content: "Rating"; }
	td.j1:nth-of-type(3):before { content: "Waist Size <40"; }
	td.j1:nth-of-type(4):before { content: "Waist Size >40"; }
	
	td.k1:nth-of-type(1):before { content: "Independent States"; }
	td.k1:nth-of-type(2):before { content: "1985 population"; }
	td.k1:nth-of-type(3):before { content: "Growth per annum"; }
	td.k1:nth-of-type(4):before { content: "2000 population"; }
	
	td.l1:nth-of-type(1):before { content: "Successor States"; }
	td.l1:nth-of-type(2):before { content: "1985 population"; }
	td.l1:nth-of-type(3):before { content: "Growth per annum"; }
	td.l1:nth-of-type(4):before { content: "2000 population"; }
	
	td.m1:nth-of-type(1):before { content: "League of Nations"; }
	td.m1:nth-of-type(2):before { content: "1985 population"; }
	td.m1:nth-of-type(3):before { content: "Growth per annum"; }
	td.m1:nth-of-type(4):before { content: "2000 population"; }
	
	td.n1:nth-of-type(1):before { content: ""; }
	td.n1:nth-of-type(2):before { content: "1985 population"; }
	td.n1:nth-of-type(3):before { content: "Growth per annum"; }
	td.n1:nth-of-type(4):before { content: "2000 population"; }
	
	td.o1:nth-of-type(1):before { content: "Country"; }
	td.o1:nth-of-type(2):before { content: "Indian population"; }
	td.o1:nth-of-type(3):before { content: "% total population"; }
	
	td.p1:nth-of-type(1):before { content: "Continent/Country"; }
	td.p1:nth-of-type(2):before { content: "Indians"; }
	
	td.q1:nth-of-type(1):before { content: "States"; }
	td.q1:nth-of-type(2):before { content: "Total Population"; }
	td.q1:nth-of-type(3):before { content: "Indians"; }
	
	td.r1:nth-of-type(1):before { content: "Rank"; }
	td.r1:nth-of-type(2):before { content: "Country"; }
	td.r1:nth-of-type(3):before { content: "Percent"; }
	td.r1:nth-of-type(4):before { content: "No of Indians"; }
	
	td.s1:nth-of-type(1):before { content: ""; }
	td.s1:nth-of-type(2):before { content: "NZ"; }
	td.s1:nth-of-type(3):before { content: "Fiji"; }
	td.s1:nth-of-type(4):before { content: "India"; }
	td.s1:nth-of-type(5):before { content: "Other"; }
	td.s1:nth-of-type(6):before { content: "Total"; }
	
	td.t1:nth-of-type(1):before { content: "Metropolitan Areas"; }
	td.t1:nth-of-type(2):before { content: "Indian Population"; }
	
	td.u1:nth-of-type(1):before { content: "Year"; }
	td.u1:nth-of-type(2):before { content: "Number"; }
	
	td.v1:nth-of-type(1):before { content: "Rank"; }
	td.v1:nth-of-type(2):before { content: "Country"; }
	td.v1:nth-of-type(3):before { content: "Number"; }
	
	td.x1:nth-of-type(1):before { content: "Foreign Student Rank"; }
	td.x1:nth-of-type(2):before { content: "Indian Students(USA)"; }
	td.x1:nth-of-type(3):before { content: "Students"; }
	td.x1:nth-of-type(4):before { content: "Proportion"; }
	
	td.y1:nth-of-type(1):before { content: "year"; }
	td.y1:nth-of-type(2):before { content: "Indian Students(USA)"; }
	td.y1:nth-of-type(3):before { content: "Indian Students %"; }

	
}