body
{
	font-family: Arial,Helvetica,sans-serif; 
	font-size:15px;
	margin:0px;
	text-align:left;
}

div.header
{
	background-image: url("header.png");
	font-family:Georgia,"Times New Roman",Times,serif;
	text-transform:uppercase;
	height:88px;	
}

div.logolink
{
	margin-left:90px;
	text-align:center;
}

div.logolink a
{
	padding:16px 0px 40px 0px;
	font-weight:bold;
	text-decoration:none;
	color:#FFF;
	display:block;
	height:100%;
	width:100%;
}

a.img 
{
	border:none;
}

div.wrongdata ul,
div.outerr,
div.confirmation
{
	border: solid 1px;
	padding-top:10px;
	padding-bottom:10px;
	margin-left:10px;
	margin-right:10px;
}

div.confirmation
{
	background-color:#FFFDFD;
}

div.confirmation p
{
	margin:2px;
}

div.outerr,
div.confirmation
{
	padding-left:20px;
	padding-right:20px;
}

div.content
{
	position:relative;
	top:-7px;
	background-color: #FEE;
	clear:both;
}

div.logo
{
	float:left;
}

label:after
{
	content:":";
}

label.checkbox:after
{
	content:"";
}

div.inlineselect div
{
	display:inline-block;
}


input[type=text],
input[type=email],
select
{
	border-top: solid 1px #777;
	border-right: solid 1px #BBB;
	border-left: solid 1px #888;
	border-bottom: solid 1px #CCC;
	height:22px;
	min-width:55px;
	font-size:15px;
}

input[type=text]:focus,
input[type=email]:focus,
div.confirmation,
select:focus	
{
	border-color: #4896E3;
	outline:0;
}

label
{
	margin-top:12px;
}

div.chklabel
{
	margin-top:14px;
}

select.frmerror,
fieldset.frmerror,
div.wrongdata ul,
div.outerr,
input[type=text].frmerror,
input[type=email].frmerror
{
	background-color:#FDD;
	border-color:#C66;
}

div.button
{
	display:inline-block;
}


button
{
	padding:5px;
	height:40px;
	text-decoration:none;
	border:solid 1px #777;
	border-radius:5px;
	font-size:14px;
	font-weight:bold;
	background-color:#36F;
	color:white;
	margin-right:6px;
	/* font-family: "Trebuchet MS","Helvetica neue",Helvetica,Arial,sans-serif; */
	box-shadow:1px 1px #999;
	cursor:pointer;
	margin-top:10px;
}


button b
{
	padding:3px 5px;
	border-radius:50%;
	margin-right:6px;
	text-shadow:1px 1px #555;
	box-shadow:1px 1px #333;
}

button
{
	text-shadow:2px 2px #333;
}

button.submit b
{
	background-color:#0B0;
}

button.correct b
{
	background-color:#F90;
}

button.cancel b
{
	background-color:red;
}

div.separator
{
	margin-top:26px;
}

fieldset
{
	border-top: solid 1px #CCC;
	border-right: solid 1px #888;
	border-left: solid 1px #BBB;
	border-bottom: solid 1px #777;
	padding:3px;
	background-color: #FFFDFD;
}

fieldset label
{
	margin:0px;
}

h3
{
	text-align:center;
	margin-top:60px;
}

table.dates
{
	border-spacing:0px;
	margin:auto;
}

table.dates th,
table.dates td
{
	text-align:center;
	padding:3px;
}

table.dates th
{
	background-color:#8B0800;
	color:#FEE;
	padding:5px;
}

table.dates tr.header td
{
	border-top:solid 1px #DCB5B5;
}

table.dates tr.header td
{
	font-weight:bold;
	text-align:left;
}

table.dates tr.line td:first-child
{
	padding-left:10px;
	text-align:left;
}

table.dates td s
{
	/* text-decoration: none; */
	color:#888;
}

a.inline
{
	color:#00C;
	text-decoration:none;
}

a.inline:hover
{
	text-decoration:underline;
}
	
/* ---------------------------------------------------------------------------------------------------------- */

@media (min-width: 795px)
{
	body
	{
		background-color:#DCB5B5;
	}
	
	div.header
	{
		width:510px;
		border-left:solid 30px #8B0800;
		border-right:solid 260px #8B0800;
		font-size:28px;
	}
	
	div.main
	{
		width:800px;
		margin:auto;
	}
	
	div.content
	{
		padding:30px;
		border:solid 3px #8B0800;
	}
	
	label,
	div.chklabel
	{
		display:inline-block;
		float:left;
		width:100px;
	}
	
	label.checkbox
	{
		float:none;
	}

	fieldset
	{
		margin-left:100px;
		margin-top:10px;
		width:295px;
	}
	
	input[type=text],
	input[type=email],
	select
	{
		margin-top:12px;
	}

	input[type=text],
	input[type=email]
	{
		width:300px;
	}

	table.dates
	{
		width:450px;
	}
}

/* ----------------------------------------------------------------------- */

@media (max-width: 794px)
{
	body
	{
		background-color:#8B0800;
	}
	
	div.header
	{
		max-width:510px;
		font-size:25px;
	}
	
	div.content
	{
		padding:10px 10px 50px 10px;
	}
	
	label,
	div.chklabel
	{
		display:block;
	}
	
	div.chklabel
	{
		margin-bottom:0px;
	}
	
	fieldset
	{
		margin-top:0px;
	}
	
	label.checkbox
	{
		display:inline-block;
		margin-right:20px;
	}

	input[type=text],
	input[type=email],
	select
	{
		margin-top:2px;
		min-width:80px; /* To allow better tapping */
	}
	
	input[type=text],
	input[type=email],
	fieldset
	{
		width:293px;
	}

	table.dates
	{
		width:100%;
	}

	
	table.dates th,
	table.dates td
	{
		font-size:13px;
	}
	
	table.dates tr td:first-child
	{
		width:200px;
	}
}

@media (max-width: 400px)
{
	table.dates th
	{
		font-size:11px;
	}
}