html {
  /*height: 100%;*/
}

a {
	color: #313a07;
	outline: none;
}

body {
  background-image: url(../images/body_bg.gif);
  background-repeat: repeat-x;
  background-color: #b4d13a;
  
  padding: 0;
  margin: 0;
  height: 100%;
  text-align: center;
}

#header {
  margin: 0;
  padding: 0;
  text-indent: -1500px;
  width: 812px;
  height: 173px;
  background-image: url(../images/header.jpg);
}

a img {
  border: 0;
}

#main {
  width: 812px;
  margin-left: auto;
  margin-right: auto;
  
  background-image: url(../images/main_bg.gif);
  background-repeat: repeat-y;
  /*height: 100%;*/
}

/* menu */
#menu {
  list-style-type: none;
  padding: 0 0 0 30px;
  margin: 0;
  height: 41px;
  clear: both;
  background-image: url(../images/menu_bg.gif);
}

#menu li {
  display: block;
  float: left;
  margin-left: 1px;
  height: 41px;
}

#menu li a {
  height: 41px;
  display: block;
  text-indent: -2500px;
  overflow: hidden;
  text-decoration: none;
}

/* menu -- design */
li.menu_design a:link, 
li.menu_design a:visited {
  width: 64px;
  background-image: url(../images/menu_design.gif);
}

/* menu -- web */
li.menu_web a:link, 
li.menu_web a:visited {
  width: 52px;
  background-image: url(../images/menu_web.gif);
}

/* menu -- programming */
li.menu_programming a:link, 
li.menu_programming a:visited {
  width: 123px;
  background-image: url(../images/menu_programming.gif);
}

/* menu -- blog */
li.menu_blog a:link, 
li.menu_blog a:visited {
  width: 52px;
  background-image: url(../images/menu_blog.gif);
}

/* menu -- contact */
li.menu_contact a:link, 
li.menu_contact a:visited {
  width: 94px;
  background-image: url(../images/menu_contact.gif);
}

/* menu -- logo*/
#menu li.menu_logo {
	margin-left: 260px;
	background-image: url(../images/logo_mini.gif);
	width: 105px;
	height: 41px;
}

#menu li a:hover,
#menu li.selected a {
  background-position: 0 41px;
}

/* content */
#content {
	margin: 0;
	clear: both;
	text-align: center;
	
  background-image: url(../images/content_bg.jpg);
  background-repeat: no-repeat;
  
  font-family: Verdana, Tahoma, sans-serif;
  font-size: 11px;
  
  min-height: 540px;
  height: 100%;
  
  padding-bottom: 15px;
}

/* works */
#works_list {
  
  list-style-type: none;
  /*padding: 5px auto 5px 5px;*/
  padding: auto;
  margin: 0 auto 0 auto;

  min-height: 78px;
  overflow: auto;
  
  width: 710px;
  
  border: 1px solid #eaeece;
  background-image: url(../images/works_bg.gif);
  -moz-border-radius: 3px;
}

#works_list li {
  display: inline;
  float: left;
  
  width: 74px;
  height: 74px;
  
  background-image: url(../images/work_thumb.gif);
  background-position: center;
  background-repeat: no-repeat;
  
  /*text-indent: -750px;*/
  margin: 2px 5px 2px 5px;
  overflow: hidden;
  /*text-align: center;*/
}

#works_list li a {
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  margin: 8px 0 0 9px;
}

#works_list li a img {
  margin-top: -56px;
  padding-top: -56px;
}

#works_list li a:hover img {
  margin-top: 0px;
  padding-top: 0px;
}


/* work */

#work img {
	margin: 1em auto;
}


#work {
  display: table;
  margin: auto auto;
  padding-bottom: 8px;
  
  border: 1px solid #eaeece;
  -moz-border-radius: 3px;
  background-image: url(../images/works_bg.gif);
  text-align: center;
}


#pages, 
#works_nav {
  margin: 0;
  padding: 0;
  list-style-type: none;
  
  display: table;
  margin: 0 auto 0 auto;
  height: 17px;
}

#works_nav {
    margin-top: 4px;
	padding-top: -13px;
}

#pages {
	margin-bottom: -11px;
	margin-top: 7px;
}



#pages li, 
#works_nav li {
  display: block;
  float: left;
  overflow: hidden;

}

/* image work */

#work img {
  clear: both;
  display: block;
  border: 1px solid #e5eac7;
}

/* pages */

#pages li {
  width: 19px;
  height: 19px;
  background-image: url(../images/pages_bg.gif);
  text-align: center;
  margin: 0 auto 0 auto;
}

#pages li.first {
  width: 24px;
  background-image: url(../images/pages_first.gif);
}

#pages li.last {
  width: 24px;
  background-image: url(../images/pages_last.gif);
}

#pages li a {
  display: block;
  margin-top: 1px;
  padding-top: 2px;
  height: 14px;
  border-left: 1px solid #607021;
  border-right: 1px solid #7b8e2e;
  
  text-decoration: none;
  color: #d3ef53;
  font-weight: bold;
}

#pages li a:hover,
#pages li a.selected {
  color: #687926;
  background-image: url(../images/pages_hover.gif);
}

#pages li.first a {
  border-left: 0;
  width: 17px;
  margin-left: 7px;
}

#pages li.last a {
  border-right: 0;
  width: 17px;
}


/* works nav */

#works_nav {
  margin-top: 10px;
  width: 258px;
}

#works_nav li a {
  display: block;
  text-decoration: none;
}

#works_nav li {
  height: 17px;
  text-indent: -2500px;
}

#works_nav li a {
  background-image: url(../images/works_nav.gif);
  height: 17px;
}

#works_nav li.prev a {
  width: 90px;
}

#works_nav li.prev a:hover {
  background-position: 0px 17px;
}

#works_nav li.back a {
  width: 68px;
  background-position: -90px 0px;
}

#works_nav li.back a:hover {
  background-position: -90px 17px;
}

#works_nav li.next a {
  width: 100px;
  background-position: -158px 0px;
}

#works_nav li.next a:hover {
  background-position: -158px 17px;
}

/* work description */

#description {
  margin: 1em auto -3px auto;
  padding: 3px !important;
  font-size: 11px;
  color: #313a07;
  text-align: left;
  background-color: #f1f7d4;

}

#description ul {
    list-style-position: inside;
    margin: 4px 1px;
    padding: 0 0 0 7px;
    
}

#description p {
	padding: 0px;
}


/* blog */

#blog_menu {
  padding: 0;
  margin: 0;
  list-style-type: none;
  margin-left: 19px;
  background-image: url(../images/blog_menu_bg.gif);
  background-repeat: no-repeat;
  overflow: none;
  
  float: left;
	width: 130px;
}

#blog_menu li {
  width: 131px;
  background-repeat: no-repeat;
  font-size: 11px;
  text-align: left;
}

#blog_menu li.blog_menu_top {
  background-image: url(../images/blog_menu_top.gif);
  height: 13px;
}

#blog_menu li.blog_menu_bottom {
  background-image: url(../images/blog_menu_bottom.gif);
  height: 13px;
}

#blog_menu li.blog_menu_categories {
  background-image: url(../images/blog_menu_categories.png);
  height: 24px;
  text-indent: -1500px;
}

#blog_menu li.blog_menu_archive {
  background-image: url(../images/blog_menu_archive.png);
  height: 24px;
  text-indent: -1500px;
}

#blog_menu li.blog_menu_feeds {
  background-image: url(../images/blog_menu_feeds.png);
  height: 24px;
  text-indent: -1500px;
}

#blog_menu li.blog_menu_links {
  background-image: url(../images/blog_menu_links.png);
  height: 24px;
  text-indent: -1500px;
}



#blog_menu li a {
  display: block;
  color: #fff;
  text-decoration: none;
  height: 15px;
  padding: 2px 0 1px 8px;
}

#blog_menu li a:hover {
  background-image: url(../images/blog_category_hover_b.gif);
  background-repeat: no-repeat;
  background-position: 0 4px;
}

#blog_menu li.blog_category {
  border-bottom: 1px dashed #90a546;
  width: 122px;
  background-image: url(../images/blog_category_hover.gif);
  background-position: 0 4px;
}

#blog_menu li.blog_menu_atom {
	line-height: 20px;
	height: 23px;
	padding-left: 5px;
}

#blog_menu li.blog_menu_atom img {
}

#blog_menu li.blog_menu_atom a {
	background-image: url(../images/feed_icon.gif);
	background-repeat: no-repeat;
	background-position: left 7px;
	margin-bottom: 5px;
	padding-left: 15px;
}

#blog_menu li.blog_menu_atom a:hover {
	background-image: url(../images/feed_icon.gif);
		background-position: left 7px;
}



#blog_posts, #contact {
	padding: 8px 5px 0 5px;
	margin-left: 160px;
	width: 613px;
	
	color: #313a07;
	
  border: 1px solid #eaeece;
  background-image: url(../images/works_bg.gif);
  -moz-border-radius: 3px;
  
  text-align: left;
}

.blog_post {
	margin-bottom: 12px;
	
	background-color: #fff;
	background-image: url(../images/blog_post_bg.gif);
	background-repeat: repeat-x;
	
	width: 613px;
}

.blog_post h3 {
	color: #fdfefa;
	font-size: 12px;
	
	margin: 0;
	padding: 5px 0 0 8px;
	background-image: url(../images/blog_post_header.gif);
	background-repeat: no-repeat;
	
	height: 27px;
}

.blog_post_text ul,
.blog_post_text ol  {
	margin: 0;
	padding: 0 0 0 12px;
	list-style-position: inside;
	list-style-type: square;
}

.blog_post_text li {
	padding-left: 2px;
}

.blog_post_text {
	margin: 0;
	padding: 5px;
	line-height: 16px;
}

.blog_post_text img {
	border: 1px solid #eef0e4;
	padding: 2px;
}


ul.blog_post_footer {
	width: 600px;
	margin: 0 0 0 5px;
	padding: 2px 0 5px 0;
	list-style-type: none;
	
	border-top: 1px solid #eef0e4;
}

ul.blog_post_footer a {
	color: #313a07;
}

ul.blog_post_footer li {
	display: inline;
	margin-right: 5px;
}

li.blog_post_footer_comments {
	color: #313a07;
	padding-left: 20px;
	border-left: 1px solid #eef0e4;
	
	background-image: url(../images/blog_comment_icon.gif);
	background-repeat: no-repeat;
	background-position: 3px;
}

li.blog_post_footer_permlink,
li.blog_post_footer_category {
	border-left: 1px solid #eef0e4;
	padding-left: 10px;
}

.read_more {
	text-align: center;
	margin: 0;
	padding: 0;
}

.read_more img {
	margin-top: -20px;	
}

.blog_post_text a {
  background-image: url(../images/blog_href.png);
  background-repeat: no-repeat;
  background-position: left 7px;
  padding-left: 9px;
}

.blog_post_text a img {
  background-image: none;
}

#blog_navigation {
	/*background-image: url(../images/blog_post_bg.gif);*/
	background-position: 0 -20px;
	text-align: center;
	/*background-color: #fdfefa;*/
	padding: 3px;
	margin: 0 0 5px 0;
	-moz-border-radius: 3px;
	color: #fff;
}

#blog_navigation a {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

#blog_navigation a:hover {
	text-decoration: underline;
}

/* comments */
.post_comment {
	border-top: 2px solid #f2f3eb;
	padding: 5px;
	text-align: left;
}

.post_comment a {
	text-decoration: none;
	color: #313a07;
	border-bottom: 1px solid #d0d5b4;
	padding: 0 1px 1px 1px;
}



.post_comment_author {
	font-style: italic;
	margin-bottom: 3px;
	font-weight: bold;
}

.post_comment_date {
	font-size: 10px;
}

.post_comment_text {
	margin-top: 5px;
}

#post_comments {
	padding: 5px;
}

.post_comment * {
	font-size: 11px;
}

.post_comment hr {
	display: none;
}

fieldset label {
	display: block;
	float: left;
	width: 100px;
	text-decoration: underline;
}

fieldset input {
	font-size: 11px;
}

fieldset input.textfield {
	width: 300px;
}

fieldset textarea {
	width: 400px;
	height: 100px;
	font-family: Verdana, sans-serif;
	font-size: 11px;
}

fieldset legend {
	font-weight: bold;
}

fieldset div {
	background-color: #f2f3eb;
	padding: 3px 3px 3px 8px;
	margin-bottom: 3px;
}

fieldset {
	border: 1px solid #919968;
}


#contact_content {
	background-color: #fdfefa;
	padding: 5px;
}

fieldset.contact {

}


#contact {
	margin-left: 30px;
	width: 730px;
	padding-bottom: 10px;
}

img.gravatar {
	float: right;
	border: 1px solid #eef0e4;
	padding: 2px;
	margin-left: 4px;
}

pre {
	border: 1px solid #eef0e4;
	padding: 5px;
	overflow: auto;
}

img.emote {
	border: 0;
	vertical-align: middle;
}

#blog_posts h4 {
	padding: 0 1px 0 1px;
	margin-bottom: 0;
	display: inline;
	border-bottom: 1px solid;
}

#captcha {
  display: block;
  float: left;
  margin-right: 5px;
}
