/* Eric Meyer's browser reset (modded): */html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}body{color:#000;background:#fff;}ol,ul{list-style:none;}table{border-collapse:collapse;border-spacing:0;}caption,th,td{text-align:left;font-weight:normal;}blockquote:before,blockquote:after,q:before,q:after{content:"";}blockquote,q{quotes:"" "";}address{font-style:normal;}

/* Basic styling */

body {
	font-size: 62.5%;
	font-family: "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

strong {
	font-weight: bold;
}

h1, h2 {
	margin-bottom: 0.15em;
	font-weight: bold;
	text-align: center;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.6em;
}

p {
	margin: 1em 0;
}

p, caption, th, td {
	font-size: 1.3em;
}

table th {
	font-weight: bold;
}

table th, table td {
	padding: 0.25em 0.5em;
}

hr {
	background-color: #000;
	height: 2px;
	border: 0;
	clear: both;
}

a {
	color: #33c;
	text-decoration: none;
}

a:hover {
	color: #36f;
	text-decoration: underline;
}

a:active {
	color: #69f;
}

a:visited {
	color: #609;
}

div#BodyWrapper {
	margin: 10px auto;
	width: 60em;
}

p#ArticleLink {
	margin-top: 0;
	text-align: center;
}

div#Screenshots {
	margin-bottom: 1em;
}

div#Screenshots p {
	text-align: center;
	margin: 0;
}

body#Screenshot img {
	text-align: center;
}

body#Screenshot p#ScreenshotExplanation {
	height: 4.25em;
}

/* The problems */

table#Problem1And2 {
	border: 5px solid; /* No color is specified */
	border-right: 0;
	border-bottom: 0;
	caption-side: bottom;
}

table#Problem1And2 th, table#Problem1And2 td {
	border: 5px solid; /* No color is specified */
	border-top: 0;
	border-left: 0;
}

hr#Problem3And4 {
	color: #f00; /* Internet Explorer uses "color" */
	background-color: #090;
	height: 15px;
	border: 1px solid #000;
	width: 50%;
	float: left;
}

div#Problem5 {
	/* This div is empty and has no border or height specified, so it should be invisible */
	background-color: #f00;
	width: 50%;
	margin: 0 auto;
}

div#Problem6 {
	background-color: #f00; /* This div has no border or height specified, so the background-color declaration shouldn't affect the page */
	width: 100%;
}

div#Problem6 p {
	float: left;
	width: 24em;
}

div#Problem7Parent {
	width: 45em;
	height: 4em;
	margin-bottom: 5em;
	border: 1px solid #000;
	text-align: center;
	overflow: hidden; /* div#Problem7Child shouldn't be visible due to this line */
}

div#Problem7Child {
	display: inline;
	position: relative;
	top: 20px;
	border: 1px solid #000;
	background-color: #f00;
	padding: 0.5em;
}

div#Problem8 {
	background: #fff url('../images/bg.png') repeat fixed top left;
	width: 45em;
}

div#Problem8 p {
	background-color: inherit; /* This paragraph should inherit its parent div's background COLOR, not image */
	display: block;
	width: 100%;
	text-align: center;
	border: 1px solid #000;
	margin: 0;
}

div#Problem9 {
	border: 1px solid #000;
	height: 5em;
	width: 45em;
	padding-top: 2.5em;
	text-align: center;
}

div#Problem9 p {
	margin-top: 2.5em;
	display: block;
}

div#Problem10 {
	border: 1px solid #000;
	width: 45em;
	text-align: right; /* This line shouldn't affect the table inside this div */
}
