

#items  div {
	margin: 20px 0;
  z-index: 0;
}

#items a {
	display: block;
	position: relative;
}

@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	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: 40% !important;
	}

	td:before {
		/* Now like a table header */
		position: absolute;
		left: 6px;
		width: 40%;
		white-space: nowrap;
		font-weight: bold;
	}

	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "Last Name"; }
	td:nth-of-type(2):before { content: "First Name"; }
	td:nth-of-type(3):before { content: "Title"; }
	
	tbody tr:nth-of-type(2n) {background-color: #f0f0f0;}

}

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
	body {
		padding: 0;
		margin: 0;
		width: 320px; }
	}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	body {
		width: 495px;
	}
}