/* Quickie Reset */
* {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: Helvetica;
}

/* Minimum height on body helps preventDefault */
body {
	min-height: 316px;
}

/* Set our fixed elements above everything else */
#header, #footer {
	display: block;
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 49px;
	background: url("../images/navi-bg.png") repeat-x center bottom;
	z-index: 200;
}

/* Header */
#header h1 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	color: #fff;
	text-shadow: rgba(0.2, 0.2, 0.2, 0.6) 0px -1px 0px;
	font-size: 22px;
	text-align: center;
	line-height: 49px;
}

/* Footer */
#footer {
	position: absolute;
	top: 368px;
}

/* Reposition on orientation change */
body[orient="landscape"] #footer {
	display: none;
}

#footer ul {
	margin: 0 auto;
	padding: 3px 0 0;
	list-style: none;
	display: block;
	height: 46px;
	width: 320px;
	text-align: center;
	overflow: hidden;
}

#footer li {
	margin: 0 2px;
	float: left;
	position: relative;
}

#footer li.active {
	border: 3px solid;
	border-width: 0 3px;
	-webkit-border-image: url("../images/footer-hover.png") 0 3;
}

#footer li a {
	padding: 29px 3px 3px;
	float: left;
	width: 54px;
	color: #bbb;
	font-weight: bold;
	font-size: 10px;
	text-decoration: none;
	background: url("../images/footer-buttons.png") no-repeat -322px -50px;
}

#footer li.active a {
	padding-left: 0;
	padding-right: 0;
	color: #fff;
	background-position: -325px top;
}

#footer li#navi_edit a {
	background-position: -130px -50px;
}

#footer li#navi_edit.active a {
	background-position: -133px top;
}
#footer li#navi_up {
	background: none;
}
#footer li#navi_up a {
/*	width: 38px; */
	padding-top: 3px;
	background: none;
}

#footer li a.unread_bubble {
	position: absolute;
	background: url(../images/unread.png) no-repeat;
	top: 0;
	right: 0;
	width: 22px;
	height: 19px;
	padding: 3px 0 0 0;
	text-align: center;
	font-size: 11px;
	color: #fff;
	letter-spacing: 0;
	font-weight: bold;
	z-index: 9;
}
#footer li a.unread_bubble_triple {
	position: absolute;
	top: 0;
	right: 0;
	background: url(../images/unread-triple.png) no-repeat;
	width: 30px;
	height: 20px;
	padding: 4px 0 0 0;
	text-align: center;
	font-size: 11px;
	color: #fff;
	letter-spacing: 0;
	font-weight: bold;
	z-index: 9;
}
#footer li a#unread_posts {
	display: none;
}

#header ul {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0 auto;
	padding: 3px 0 0;
	list-style: none;
	display: block;
	height: 46px;
/*	width: 320px; */
	text-align: center;
	overflow: hidden;
	z-index: 500;
}

#header li {
	margin: 0 2px;
	float: right;
	position: relative;
}

#header li.active {
	border: 3px solid;
	border-width: 0 3px;
	-webkit-border-image: url("../images/footer-hover.png") 0 3;
}

#header li a {
	padding: 29px 3px 3px;
	float: left;
	width: 54px;
	color: #bbb;
	font-weight: bold;
	font-size: 10px;
	text-decoration: none;
	background: url("../images/footer-buttons.png") no-repeat -130px -50px;
}

#header li.active a {
	padding-left: 0;
	padding-right: 0;
	color: #fff;
	background-position: -325px top;
}

#header li#navi_search a {
	background-position: -322px -50px;
}

#header li#navi_search.active a {
	background-position: -325px top;
}

/* Container */
#container {
	height: 324px;
}

/* Reposition on scroll */
body.scrolled #container {
	height: 263px;
}

/* Reposition on orientation change */
body[orient="landscape"] #container {
	height: 225px;
}

/* Reposition on scroll */
body.scrolled[orient="landscape"] #container {
	height: 164px;
}

/* Content */
#content {
	position: relative;
	border-top: 1px solid #e0e0e0;
}
