/* global reset */

blockquote,body,caption,div,dl,dt,dd,form,fieldset,h1,h2,h3,h4,h5,h6,html,li,ul,ol,p,pre,textarea,table,td,th {
	margin:0;
	padding:0;
}

html {
	font-size: 100%;
}

body {
	background: #333 url("../images/template/bg-flower.gif") repeat;
	margin: 0;
	padding: 0;
	font: 1em/1.5 verdana, tahoma, sans-serif;
	color: #000;
}

#container {	/* container of entire page */
	width: 60em;
	margin: 0 auto;
}

#header {	/* entire header */
	width: 100%;
	height: 60px;
	margin: .05em auto 0 auto;
	z-index: 10;
	position: relative;
}

#header-l {		/* left side containing logo */
	width: 100%;
	height: 60px;
	background: #ba2c12;
	position: relative;
	float: left;
}	

#header-l .tl {	/* left side rounded corner */
	height: 60px;
	background: url("../images/template/header-tl.png") no-repeat top left;
}

#header-l img {		/* logo positioning */
	position: absolute;
	left: 1.25em;
	bottom: 0;
	border: none;
}

#header-r { 	/* right side containing graphic */
	height: 60px;
	width: 50%;
	background: url("../images/template/header-bg-red.jpg") repeat-x top left;
	position: absolute;
	top: 0;
	right: 0;
}

#header-r .tr {	/* right side rounded corner */
	height: 60px;
	background: url("../images/template/header-tr.png") no-repeat top right;
}

#topbarwrapper {	/* topbar container */
	width: 60em;
	height: 5.6em;
	background: #efb629;
	overflow: hidden;
	position: relative;
	z-index: 10;
}

#topbar {	/* top bar */
	width: 100%;
	font-size: .8em;
	font-weight: bold;
	height: 3em;
	background: #5c7549;
	margin: 2em auto;
	padding: 0;
	z-index: 10;
}

#topbar li {	/* top bar menu */
	float: right;
	margin: 0; 
	padding: 0 .8em;
	display: inline;
	list-style: none;
	line-height: 3em;
	color: #fff;
}

#topbar a {
	text-decoration: none;
	color: #fff;
}

#topbar a:hover, #topbar a:active {
	border-bottom: 2px solid #fc0;
}	

#main{		/* main section containing side bar and content */
	width: 100%;
	background: #efb629;
	margin: 0 auto;
	overflow: hidden;
}

#sidebar {		/* entire side bar */
	font-size: .8em;
	float: left;
	width: 22%;
	position: relative;
	margin: 0 0 1.5em 2.5%;
	color: #fff;
	background: #efb629;
	z-index: 3;
}

#sidebar #menu {	/*side bar menu area */
	width: 100%;
	position: relative;
	background: #ba2c12;
}

#sidebar #menu ul {
	list-style-type: none;
	margin: 0 auto;
	padding: 0;
	width: 80%;
} 

#sidebar #menu ul li {
	position: relative;
}

#sidebar #menu ul li a {
	text-align: left;
	text-decoration: none;
	color: #fff;
	font-size: 1em;
	display: block;
	line-height: 3em;
	height: 3em;
	border-bottom: 1px solid #efb629;
	padding: 0 0.5em;
	overflow: hidden;
}

#sidebar #menu ul li a.last {	/* last menu item not underlined */
	border-bottom: 1px solid #ba2c12;
}	

#sidebar #menu a:hover, #sidebar #menu a:active {
	color: #000;
	background-color: #96aa84;
}
#sidebar #menu .toplevel {
	background: url("../images/template/menu-arrow.jpg") no-repeat 95% 50%;
}

#sidebar #menu a.toplevel:hover, #sidebar #menu a.toplevel:active {
	background: #96aa84 url("../images/template/menu-arrow-hover.jpg") no-repeat 95% 50%;
}

#sidebar #menu ul li ul {	/* submenu */
	position: absolute;
	top: 0;
	width: 15em;
	background: #ba2c12;
	font-size: 0.9em;
	visibility: hidden;
}

#sidebar #menu ul li ul li a {
	background: #ba2c12;
	line-height: 3em;
	height: 3em;
	margin-left: -.1em;
	padding-left: .5em;
	border-left: 1px solid #fc0;
	border-style: none none none solid;
}

#sidebar .share {	/* share button in side bar */
	padding: 1em 2em 2em 1em;
	position: relative;
}

#content {		/* content area */
	font-size: 0.75em;
	float: right;
	width: 67%;
	background: #fff;
	padding: 1.5em;
	margin: 0 2.5% 1.6em 0;
	line-height: 1.5;
	position: relative;
}

#footer {		/* footer */
	font-size: 0.75em;
	width: 100%;
	margin: 0 auto .1em auto;
	height: 3em;
	position: relative;
	line-height: 3em;
	background: #fff;
	text-align: center;
}

#footer .bl {	/* footer left rounded corner */
	background: url("../images/template/footer-bl.png") no-repeat bottom left;
}

#footer .br {	/* footer right rounded corner */
	background: url("../images/template/footer-br.png") no-repeat bottom right;
}

#search {	/* search box in top bar */
	line-height: 3em;
	margin-left: 2em;
	float: left;
}

#search input.box {
	width: 170px;
}

#fixedbar {		/* fixed bar at page top */
	width: 75em;
	background: #5c7549;
	position: fixed;
	top: 0;
	font-size: .8em;
	font-weight: bold;
	height: 3em;
	margin: 0 auto;
	padding: 0;
	z-index: 5;

}

#fixedbar li {	/* fixed bar menu */
	float: right;
	margin: 0; 
	padding: 0 .8em;
	display: inline;
	list-style: none;
	line-height: 3em;
	color: #fff;
}

#fixedbar a {
	text-decoration: none;
	color: #fff;
}

#fixedbar a:hover, #fixedbar a:active {
	border-bottom: 2px solid #fc0;
}	

#fixedbar input.box {
	width: 250px;
}