

table { 
  width: 100%; 
  border-collapse: collapse; 
  font-family: sans-serif;
}
/* Zebra striping */
tr:nth-of-type(odd) { 
  background: #eee; 
}
th { 
  background: #454545; 
  color: white; 
  font-weight: bold; 
}
td { 
  padding: 8px; 
  border: 0; 
  text-align: left; 
  color:#454545;
}

th { 
  padding: 8px; 
  border: 0; 
  text-align: left;
}

table.education { 
  width: 100%; 
  border-collapse: collapse; 
  font-family: sans-serif;
}
/* Zebra striping */
tr.education:nth-of-type(odd) { 
  background: #eee; 
}
th.education { 
  background: #454545; 
  color: white; 
  font-weight: bold; 
}
td.education { 
  padding: 8px; 
  border: 0; 
  color:#454545;
}

th.education { 
  padding: 8px; 
  border: 0; 
  text-align: left;
}



table.policies { 
  width: 100%; 
  border-collapse: collapse; 
  font-family: sans-serif;
}
/* Zebra striping */
tr.policies:nth-of-type(odd) { 
  background-color: #eee; 
}
th.policies { 
  background: #828282; 
  color: white; 
  font-weight: bold; 
}
td.policies { 
  padding: 15px; 
  border: 0; 
  
  color:#454545;
}

th.policies { 
  padding: 15px; 
  border: 0; 
  
}

table.centers { 
  width: 100%; 
  border-collapse: collapse; 
  font-family: sans-serif;
}
/* Zebra striping */
tr.centers:nth-of-type(odd) { 
  background: #eee; 
}
th.centers { 
  background: #454545; 
  color: white; 
  font-weight: bold; 
}
td.centers { 
  padding: 8px; 
  border: 0; 
  
  color:#454545;
}

th.centers { 
  padding: 8px; 
  border: 0; 
  
}

.txright {
	text-align: right;
}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 560px),
(min-device-width: 568px) and (max-device-width: 600px)  {

	/* 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 #dddddd; }
	tr:nth-of-type(odd) { 
  background: #eee; 
}
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #dddddd; 
		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;
	}
	
		/* Force table to not be like tables anymore */
	table.policies, thead.policies, tbody.policies, th.policies, td.policies, tr.policies { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead.policies tr.policies { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr.policies { border: 1px solid #dddddd; }
	tr.policies:nth-of-type(odd) { 
  background: #eee; 
}
	td.policies { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #dddddd; 
		position: relative;
		padding-left: 50%;
	}
	
	td.policies:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 15px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		color: #063456;
	}

	table.centers, thead.centers, tbody.centers, th.centers, td.centers, tr.centers { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead.centers tr.centers { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr.centers { border: 1px solid #dddddd; }
	tr.centers:nth-of-type(odd) { 
  background: #eee; 
}
	td.centers { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #dddddd; 
		position: relative;
		padding-left: 50%; 
	}
	
	td.centers: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;
	}
	.txright {
	text-align: left;
}

table.education { 
  width: 100%; 
  border-collapse: collapse; 
  font-family: sans-serif;
}
/* Zebra striping */
tr.education:nth-of-type(odd) { 
  background: #eee; 
}
th.education { 
  background: #454545; 
  color: white; 
  font-weight: bold; 
}
td.education { 
  padding: 8px; 
  border: 0; 
  color:#454545;
}

th.education { 
  padding: 8px; 
  border: 0; 
  text-align: left;
}

	/*
	Label the data
	*/
td:nth-of-type(1):before { content: "Organization"; font-weight: bold; }
	td:nth-of-type(2):before { content: "Website"; font-weight: bold; }
	td:nth-of-type(3):before { content: "State"; font-weight: bold; }

	td.policies:nth-of-type(1):before { content: "Annual Membership"; font-weight: bold; }
	td.policies:nth-of-type(2):before { content: "Terms"; font-weight: bold; }
	td.policies:nth-of-type(3):before { content: "Price"; font-weight: bold; }

	td.centers:nth-of-type(1):before { content: "Organization"; font-weight: bold; }
	td.centers:nth-of-type(2):before { content: "Location"; font-weight: bold; }
	td.centers:nth-of-type(3):before { content: "Website"; font-weight: bold; }

	td.education:nth-of-type(1):before { content: ""; font-weight: bold; }
	td.education:nth-of-type(2):before { content: ""; font-weight: bold; }
}