
body, div, dl, dt, dd, ul, ol, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, p, blockquote, th, td { margin: 0em; padding: 0em; }
table {margin-left:auto ; margin-right:auto}

/*////////// GENERAL //////////*/
body {
  margin: 0;
  width:100%;
  min-width:800px;
  background: #fff url(images/bg.jpg) repeat-x left top;
  color: #333;
  font-size: 10px;
  font-family: Verdana, Arial, Tahoma, sans-serif;
}

#container { 
  width: 100%;
}

#middle
{
	width:100%;
	position:relative;
	overflow:hidden;
}

/*////////// TYPEOGRAPHY //////////*/
		
h1 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-weight: bold;
  letter-spacing: 0px;
  font-size: 200%;
  line-height: 0.9em;
  color: #777;
}

h2 { 
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 150%;
  color: #545454;
  text-align: left;
}
		
h3 {}
	
h4 {}

p {
  font-size: 1em;
  line-height: 1.5em;
  margin-bottom: 1em;
}

a:link, a:visited, a:active {
  color: #006DA3;
  text-decoration: none;
}

a:hover {
text-decoration: underline;
}
		
/*///////// HEADERS //////////*/
#header 
{
	clear:both;
	float:left;
 width:100%;
  height: 60px;
}
#header p,
#header h1,
#header form {
	padding:5px 10px 0 10px;
	margin:0;
}

#header img{
	padding:10px 0px 0 37px;
	margin:0;
}

#header h2
{
	padding:2px 40px 0 0;
}

#header #logo h1 {
	padding: 0px 0px 0 10px;
  margin: 0.8em 0 4px 106px;
  text-align: left;
  font-size: 2.5em;
	font-weight: bold;
}

#header #logo p {
	padding: 0px 0px 0 10px;
  margin: 0.3em 0 0 106px;
  color: #666666;
	font-size: 1.05em;
}

#header #logo h1 a {
  color: #000000;
}

#logo {
  float: left;
}

#search {
  float: right;
  width: 20%;
}

#navlist
{	
}

/*////////// CONTENT //////////*/
#content {
  float: left;
  width: auto;
  padding: 2em 1em 0 0;
  margin-left:40px;
	font-size: 1.25em;
	position:relative;
}

#content h1, #content h1 a {
  color: #777;
	font-size: 1.25em;
}

#content ul, #content ol{
  margin: 0 0 .25em 1em;
}

#content ul li, #content ol li {
  margin: 0 0 .75em 2em;
}

#content .postmetadata, #content .postmetadata2 {
  font-size: 0.9em;
  margin-bottom: 1em;
}

#content .postmetadata2 {
  border-top: double #C0C0C0;
}

h1.pagetitle {
  margin-bottom: .5em;
}

h2 a:link, h2 a:visited, h2 a:active {
  text-transform: none;
  color: #777;
  font-family: "Trebuchet MS", "Lucida Sans", Verdana, sans-serif;
  font-size: 2em;
}

p.rssfeed 
{
	float:right;
  display: block;
  width: 270px;
  height: 95px;
	padding: 0 20px;
  background: url('images/rss-feed.jpg') no-repeat;
}

.rsslink {
	display: block;
	width: 270px;
	height: 95px;
	margin: 0;
	padding: 0;
}

code {
  font-family: 'Courier New', Courier, Monospace;
  font-size: 1.1em;
  padding: 1em 0 1em 0;
}

blockquote {
  margin: 0 0 1em 1em;
  padding: 1em 1em 0 1em;
  border: 1px solid #eee;
  background-color: #F9FDFF;
  width: 90%;
}

/*////////// SIDEBARS //////////*/
#sidebar {
  float: right;
  width: 20%;
  margin-top: 0.5em;
  margin-right:40px;
  position:relative;
}

#sidebar h2 {
  font-family: "Trebuchet MS", "Lucida Sans", Arial, Tahoma, sans-serif;
  letter-spacing: 0px;
  font-weight: bold;
  font-size: 165%;
  color: #989797;
  text-align: left;
}

#sidebar ul {
  margin-bottom: 1em;
}

#sidebar ul li {
  list-style-type: none;
}

#sidebar ul li a {
  border-bottom: 1px solid #ededed;
}

#sidebar ul li a, #sidebar ul li a:visited {
  display: block;
  background: url('images/arrow.gif') no-repeat left center;
  padding: 5px 0 5px 2em;
  color: #555;
  text-decoration: none;
  font-size: 1.25em;
}

#sidebar ul li a:hover {
  background-color: #F4F8FC;
}

#sidebar ul li ul li {
  padding-left: 1em;
}

/*////////// BOTTOM NAV //////////*/

#top_navlist {
  float: right;
  margin: 48px 40px 0;
  position:relative;
  z-index:2;
}

#top_navlist ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: center;
  position:relative;
  z-index:2;
}

#top_navlist ul li { 
  float: left; 
}

#top_navlist ul li a {
  text-decoration: none;
  background: url('images/navbar.jpg') no-repeat top left;
  float: left;
  margin: 0 0 0 0;
  padding-top: 7px;
  width: 75px;
  height: 35px;
}

#top_navlist ul li.current_page_item a {
  background-position: -75px 0;
  width: 75px;
  height: 35px;  
}

#top_navlist ul li a, #top_navlist ul li a:visited {
  font-size: 1.25em;
  color: #000;
  font-weight: normal;
}

#top_navlist ul li a:hover, #top_navlist ul li.current_page_item a {
  font-weight: bold;
}

/*////////// TOP NAV //////////*/

#top_navlist2 {
  float: left;
  margin: 0 0 0 15px;
  position:absolute;
  top:0;
  left:290px;
  z-index:20;
}

#top_navlist2 ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: center; 
}

#top_navlist2 ul li { 
  float: left;
}

#top_navlist2 ul li a {
  text-decoration: none;
  background: url('images/navbar2.jpg') no-repeat top left;
  float: left;
  margin: 0 0 0 0;
  padding-top: 7px;
  width: 75px;
  height: 35px;
}

#top_navlist2 ul li.current_page_item a {
  background-position: -75px 0;
  width: 75px;
  height: 35px;  
}

#top_navlist2 ul li a, #top_navlist2 ul li a:visited {
  font-size: 1.25em;
  color: #000;
  font-weight: normal;
}

#top_navlist2 ul li a:hover, #top_navlist2 ul li.current_page_item a {
  font-weight: bold;
}

/*////////// BLOG ELEMENTS //////////*/
#commentform { 
  margin:0;
  padding:1em 1em 0 0;
}

#commentform label {
  display:block;
  margin:0;
}

#commentform input {
  width: 12em;
  margin:0 0.5em 1em 0;
  padding:0.1em;
}

#commentform textarea {
  width:35em;
  margin:0 0 10px;
  padding:0;
}

#commentform #submit {
  margin:0 0 20px;
}

#commentform p {
  margin:5px 0;
}

#content ol.commentlist li:hover {
  background:none;
}

#content ol.commentlist li {
  margin-top: 2em;
  padding:0;
}
		
/*////////// FORMS //////////*/
form#searchform 
{
	float:left;
	width:96%;
	padding-top: 2px;
}

form#searchform h2
{
	text-align:left;
}

form#searchform input 
{
	float:left;
  background-color: rgb(245, 245, 245);
  color: #777;
  width:95%;
  font-size: 1.1em;
}

form#searchform input:hover, form#search input:focus {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}

/*////////// FOOTER //////////*/
#footer-container {
  clear: both;
  width:100%;
  background: #F4F8FC url('images/bg-footer.jpg') repeat-x left top;
/*  min-height: 24em; */
  font-size: 0.9em;
  color: #507699;
  text-align: center;
  padding-bottom: 1em;
}

#footer 
{
	float:left;
  margin: 1em 0 0 0;
 padding: 3em 0px 0 40px;
  color: #507699;
  font-size: 1.1em;
  text-align: left;
}

#footerleft {
	float: left;
	width: 30em;
	margin-bottom: 1.5em;
	padding-right: 15px;
	overflow: hidden;
}
	
#footermid {
	float: right;
	width: 21em;
	margin-bottom: 1.5em;
	padding-right: 15px;
	overflow: hidden;
}
	
#footerright {
	float: right;
	width: 21em;
	margin-bottom: 1.5em;
	padding-right:30px;
	overflow: hidden;
}

#footer ul {
  margin-bottom: 1em;
}

#footer ul li {
  list-style-type: none;
  border-bottom: 1px solid #ededed;
}

#footer ul li a, #footer ul li a:visited {
  display: block;
  padding: 5px 0 5px 0;
  color: #507699;
  text-decoration: none;
}

#footer ul li a:hover {
  background-color: #F5F5F5;
}

#footer-container div.copyright {
  clear: both;
  margin-top: 1em;
}
  
  
/*////////// IMAGES //////////*/		
img {
  border: none;
}

img.avatar {
  float: right;
  margin-right: 1em;
}

.alignright {
  float: right;
  clear: right;
  margin: 0 0 5px 10px;
  background: #fff;
 }
 
.alignleft { 
  float: left;
  clear: left;
  margin: 0 10px 5px 0px;
  background: #fff;
}

.aligncenter, div.aligncenter {
  display: block;
  margin: 0 auto 20px auto;
  float: none;
  clear: both;
}

/* =Hoverbox Code
----------------------------------------------------------------------*/

.hoverbox
{
	cursor: default;
	list-style: none;
}

.hoverbox a
{
	cursor: default;
}

.hoverbox a .preview
{
	display: none;
}

.hoverbox a:hover .preview
{
	display: block;
	position: absolute;
	top: -33px;
	left: -45px;
	z-index: 1;
}

.hoverbox img
{
	background: #fff;
	border-color: #aaa #ccc #ddd #bbb;
	border-style: solid;
	border-width: 1px;
	color: inherit;
	padding: 2px;
	vertical-align: top;
	width: 100px;
	height: 75px;
}

.hoverbox li
{
	background: #eee;
	border-color: #ddd #bbb #aaa #ccc;
	border-style: solid;
	border-width: 1px;
	color: inherit;
	display: inline;
	float: left;
	margin: 3px;
	padding: 5px;
	position: relative;
}

.hoverbox .preview
{
	border-color: #000;
	width: 200px;
	height: 150px;
}