/*

For use with CSS3 Foundations: Styling the Modern Web
CSS3 Foundations Book: www.wiley.com/go/treehouse/css3foundations

Project Files: complete

 */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 


body {
	background-color: #f5f5f5;
	background-image: url("../images/bg-body.jpg");
	margin: 2.5em auto 0 auto;
	max-width: 960px;
	font: 62.5% Average, Georgia, serif, "微軟正黑體";
}
.group:before,.group:after {, "微軟正黑體"
	content: "";
	display: table;
}
.group:after {
	clear: both;
}
.group {
	zoom: 1;
}

#header,#main,#footer {
	font-size: 1.8em; /* inherited value (10px) x 1.8em = 18px */
}
h1,h2,h3,h4 {
	font-weight: bold;
	font-family: Belgrano, Georgia, serif, "微軟正黑體";
}
#main {
	background-color: white;
	background-color: rgba(255, 255, 255, 0.6);
	border: #ccc solid 1px;
	-webkit-box-shadow: 0 3px 8px 0 #ccc;
	box-shadow: 0 3px 8px 0 #ccc;
	padding: 2.5em;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	-ms-perspective: 1000px;
	-o-perspective: 1000px;
	perspective: 1000px;
}


#footer {
	background: #ccc url("../images/bg-footer.jpg");
	border-top: #999 dotted 4px;
	-webkit-border-image: url("../images/bdr-footer.png") 4 repeat;
	-moz-border-image: url("../images/bdr-footer.png") 4 repeat;
	-ms-border-image: url("../images/bdr-footer.png") 4 repeat;
	-o-border-image: url("../images/bdr-footer.png") 4 repeat;
	border-image: url("../images/bdr-footer.png") 4 repeat;
	margin-top: 2.5em;
	padding: 1.4em 0;
	left: 0;
	position: absolute;
	width: 100%;
}


#header nav > ul {
	border-radius: 20px;
	border: #ccc solid 1px;
}

#header nav > ul > li {
	background: white;
	display: inline-block;
}
#header nav > ul > li:first-child {
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
}
#header nav > ul > li:last-child {
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
}
#header nav ul > li:hover {
	background: #f5f5f5;
}
#header nav ul ul > li:hover {
	background: white;
}
#header nav ul li a {
	color: black;
	display: block;
	padding: 10px 20px;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
}


#header {
	margin: 0 0 2em 0;
}

#header nav {
	margin-top: 2em;
	float: right;
}


#content h1,#content h2,#content h3,#content h4 {
	margin: 0 0 1.8em 0;
}
#content p,#content ul {
	margin: 0 0 1.25em 0;
	line-height: 1.4em;
}






