#container > header {
	min-height: 9em;
	background-image: url(images/SouthCountyDublin_by_McGarry@Flickr_CC-NC-BY-SA.jpg);
	background-position: center 70%;
	background-size: cover;
	background-color: #160;
}
header h1 {
	color: white;
	text-shadow: black 1px 1px 0;
	min-height: 4.8em;
	text-align: right;
	padding: 0 0.4em;
}
header h1 strong {
	float: left;
	margin-right: 1em;
	white-space: nowrap;
}
#whenwhere {
	color: white;
	text-shadow: black 1px 1px 0;
	text-align: right;
	padding: 0 0.6em;
	white-space: nowrap;
}
header nav {
	background-color: #282;
	min-height: 1em;
	-webkit-box-shadow: inset 0 8px 6px -6px black;
	-moz-box-shadow: inset 0 8px 6px -6px black;
	box-shadow: inset 0 8px 6px -6px black;
	text-shadow: black 1px 1px 0;
	overflow: hidden;
}
header nav:before, header nav:after, article:before, article:after { /* clearfix */
	content: "";
	display: table;
	clear: both;
}
header nav a {
	width: 16.6%;
	float: left;
	color: white;
	text-align: center;
	white-space: nowrap;
	text-decoration: none;
	padding: 0.3em 0 0.2em;
}
header nav a+a {
	border-left: 1px solid #160;
	border-bottom: none;
	margin-right: -1px;
}
header nav a:hover {
	background-color: #060;
	color: #DED;
	-webkit-box-shadow: inset 0 8px 6px -6px black;
	-moz-box-shadow: inset 0 8px 6px -6px black;
	box-shadow: inset 0 8px 6px -6px black;
}
section header {
	color: white;
	background-color: #4A4;
	text-shadow: #160 1px 1px 0;
	-webkit-box-shadow: inset 0 8px 6px -6px black;
	-moz-box-shadow: inset 0 8px 6px -6px black;
	box-shadow: inset 0 8px 6px -6px black;
}
article {
	padding: 1em;
	text-shadow: white 0 1px 0;
	-webkit-box-shadow: inset 0 8px 6px -6px black;
	-moz-box-shadow: inset 0 8px 6px -6px black;
	box-shadow: inset 0 8px 6px -6px black;
}
code {
	display: block;
	font-family: consolas, "Courier New", monospace;
	font-size: 87%;
	padding: 0.8em 1em;
	border: 1px dashed #160;
	background-color: white;
	margin: 0.5em 0;
	line-height: 1.3;
	overflow: hidden;
}
#committee h3 {
	margin: 0;
}
#committee ol {
	margin: 0 0 0.5em 1.3em;
}
#committee div.column {
	float: left;
	min-width: 48%;
}
#committee span {
	display: none;
}
#committee span.noemail {
	display: inline;
}
#tpc article {
	-moz-column-count: 2;
	-moz-column-gap: 2em;
	-webkit-column-count: 2;
	-webkit-column-gap: 2em;
	column-count: 2;
	column-gap: 2em;
}
#tpc ul {
	margin-top: 0;
}
#topics div {
	float: left;
	width: 48%;
}
#topics div.half1 {
	clear: left;
	margin-right: 2%;
}

/* Colors */

body {
	background-color: #EFE;
}
a {
	color: #160;
}

img.right {
	float: right;
	clear: right;
	margin: 0 0 0.5em 0.5em;
	width: 33%;
	max-width: 18em;
}

/* Typography */

body {
	/* font-family: Sabon, Garamond, Palatino, "Times New Roman", serif; */
	font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande"," Lucida Sans", Arial, sans-serif;
	font-size: 16px;
}
#committee ol {
	list-style-type: disc;
	font-weight: normal;
}
time {
	font-weight: bold;
}

/* General structure */

body {
	margin: 0;
}
header h1 {
	margin: 0;
}
header h1 strong {
	font-size: 200%;
}
header h1 span.hide {
	display: block;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
section {
}
section header {
}
section header h2 {
	margin: 0;
	padding: 0.4em 0.5em;
}

/* Details */
#dates li {
	position: relative;
	width: 50%;
}
time {
	position: absolute;
	top: 0;
	left: 12em;
	width: 15em;
	text-align: right;
}
header h1 span.nobr {
	white-space: nowrap;
}
@media only screen and (max-width: 512px) { /* menu orientation switch */
	header h1 strong {
		width: 100%;
	}
	#container header nav a {
		font-size: 100%;
		display: block;
		float: none;
		width: auto;
		border-top: 1px solid #160;
		border-left: none;
	}
	#container header nav a+a:hover {
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		background-image: none; /* IE8 needs this */
	}
	#container header nav strong {
		display: inline;
		font-size: 100%;
		font-weight: bold;
	}
}
@media only screen and (max-width: 1100px) { /* menu width switch */
	header nav a {
		font-size: 71%;
		padding: 0.5em 0 0.4em;
	}
	header nav strong {
		display: block;
		font-size: 141%;
		font-weight: normal;
	}
	/* sponsors hack */
	#about #sponsors {
		position: relative;
		left: 0;
		width: 100%;
	}
	#sponsors h3 {
		margin: 0;
	}
	#dates li {
		width: 100%;
	}
}
@media only screen and (max-width : 720px) { /* committee 1-line 1-column switch */
	#committee span, #committee div.from {
		display: inline;
	}
	/*
	#committee div.from:before {
		content: ", ";
	}
	*/
}
@media only screen and (max-width: 720px) {	/* important dates position switch */
	#dates li {
		position: relative;
	}
	time {
		display: block;
		position: relative;
		left: 0;
		text-align: left;
	}
}
@media only screen and (max-width: 768px) {	/* TPC 1-column switch */
	#tpc article {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
	}
}
@media only screen and (min-width : 1024px) { /* committee 1-line 2-column switch */
	#committee span, #committee div.from {
		display: inline;
	}
	/*
	#committee div.from:before {
		content: ", ";
	}
	*/
}
@media only screen and (min-width: 1280px) { /* topics 3 columns switch */
	#container #topics div {
		clear: none;
		width: 31%;
		margin-right: 0;
	}
}
@media only screen and (min-width: 1280px) { /* TPC 3-column switch */
	#tpc article {
		-moz-column-count: 3;
		-moz-column-gap: 2em;
		-webkit-column-count: 3;
		-webkit-column-gap: 2em;
		column-count: 3;
		column-gap: 2em;
	}
}
@media only print {
	#container * {
		color: black;
		background-color: white;
		background-image: none;
		text-shadow: none;
	}
	body {
		font-size: 14px;
	}
}
/* sponsors hack */
#about article {
	position: relative;
}
#sponsors {
	xbackground-color: blue;
	position: absolute;
	right: 2em;
	width: 50%;
	text-align: center;
}
#sponsors a {
	xbackground-color: green;
	display: inline-block;
	max-height: 6em;
	padding: 0 3%;
}
#sponsors img {
	xbackground-color: yellow;
	max-height: 6em;
}
#sponsors h3 {
	margin: 0;
}
#email {
	width: 20em;
}
#submit {
	padding: 0 1em;
}
#paper {
	width: 20em;
}
#program ul li {
	list-style-type: none;
	padding-left: 3em;
}
#program ul li b {
	float: left;
	margin-left: -3em;
}
#program ul li.sub {
	padding-left: 4em;
}
#program ul li.sub b {
	margin-left: -4em;
}
@media print {
	* {
		background: none;
	}
	#container > header {
		background: none;
	}
	body {
		font-size: 12px;
	}
	nav {
		display: none;
	}
	a {
		text-decoration: none;
	}
	section header {
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	article {
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	#sponsors {
		position: relative;
		width: 100%;
	}
	#sponsors img {
		height: 96px;
	}
}
