div.mheader {
	box-sizing: border-box;
	border: 1px solid #333333;
	padding: 0.3em;
	width: 100%;
	text-align: center;
	font-size: 120%;
	font-weight: bold;
	min-height: 2em;
	background-color: #ffffff;
}

div.mheader span {
	line-height: 2em;
	display: inline-block;
	padding: 0px 1em;
}

.btnback {
	float: left;
}

.btnfwd {
	float: right;
}

table.mtable {
	box-sizing: border-box;
	width: 100%;
	margin-top: 0px;
	margin-bottom: 1em;
	border-left: 1px solid #333333;
	border-right: 1px solid #333333;
	table-layout: fixed;
	text-align: center;
}

table.mtable th, table.mtable td {
	border-bottom: 1px solid #333333;
}

table.mtable th {
	width: 10em;
	text-align: right;
	padding: 1em 0px;
}

table.mtable td {
	cursor: pointer;
	padding: 1em 1em 0.5em 2em;
	text-align: left;
}

.evname, .registration {
	font-weight: bold;
	display: inline-block;
	margin-bottom: 0.5em;
}

.hasdesc .evname {
	color: #6700aa;
}

.evname .extras {
	font-sze: 90%;
	font-weight: normal;
	color: #333333;
}

.evdesc {
	display: none;
	margin-bottom: 0.5em;
}

.evmidrow, .evlastrow {
	display: none;
}

tr.participant, tr#registration {
	background-color: #ffcc99;
	border-color: #cc7700;
}

tr.attendee {
	background-color: #ddffdd;
	border-color: #00aa00;
}

tr.waitlist {
	background-color: #ccddff;
	border-color: #66aaff;
}

span.participant, span.attendee, span.waitlist {
	font-weight: bold;
}

span.participant {
	color: #cc7700;
}

span.attendee {
	color: #00aa00;
}

span.waitlist {
	color: #66aaff;
}

div.keyitem {
	display: inline-block;
	max-width: 90%;
	vertical-align: middle;
	padding: 0.2em 0px;
}

.taglist {
	margin-top: 0.5em;
	font-style: italic;
	font-size: 90%;
}

.upnext, #registration {
	xdisplay: none;
}

th div.flags {
	display: none;
}

div.flags {
	float: right;
}

div.flags div {
	margin-left: 0.5em;
}


@media only screen and (max-width: 800px)  {
	table.mtable th {
		font-size: 80%;
		width: 8em;
	}
}

@media only screen and (max-width: 500px)  {
	div.mheader	{
		font-size: 110%;
	}

	table.mtable th {
		font-size: 80%;
		width: auto;
		display: block;
		border-bottom: none;
		text-align: center;
		padding-bottom: 0px;
		padding-top: 0.5em;
	}

	table.mtable td {
		display: block;
		padding-top: 0.5em;
	}

	table.mtable td.evfirstrow, table.mtable td.evmidrow {
		display: none;
	}

	table.mtable td.evlastrow {
		display: block;
	}

	th div.flags {
		display: block;
		padding-right: 0.5em;
	}

	div.flags div {
		padding: 0px;
		line-height: 1em;
	}

	td div.flags {
		display: none;
	}

}