/*   
Theme Name: Alan
Theme URI: http://cox.net.nz
Description: Style for Alan Cox’s website
Author: Matt Powell
Author URI: http://robo.tk
*/

/* Basic styles {{{ */

body {
  background: #111 url(images/header.png) repeat-x 0px 0px;
  color: #eee;
  border-bottom: 8px solid #5b8323;
}

a { color: #8cb169; }
a:hover { color: #5b8323; }

/* }}} */

/* Header {{{ */

#header {
  height: 80px;
  width: 992px;
  position: relative;
}

#header .logo {
  position: absolute;
  left: 56px;
  top: 0px;
  width: 192px;
  height: 128px;
  text-decoration: none;
  text-indent: -100em;
  overflow: none;
  background: url(images/coxnetnz.png) no-repeat 0px 0px;
}

#header .rss {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 64px;
  height: 64px;
  text-decoration: none;
  text-indent: -100em;
  overflow: none;
  background: url(images/rss.png) no-repeat 0px 0px;
  opacity: 0.75;
}

#header .rss:hover { opacity: 1.0; }

#splash {
  height: 240px;
  position: relative;
  background: url(images/sunburst.png) no-repeat 520px 0px;
}

#splash .intro {
  position: absolute;
  left: 80px;
  bottom: 64px;
}

#splash h2 {
  font: normal 48px/1.0 Georgia, serif;
  margin: 0px;
  color: #eee;
}

#splash p {
  margin: 0px;
  padding: 0px;
  font-size: 125%;
  width: 480px;
  line-height: 1.8;
  color: #7a7c78;
  font-weight: 100;
}

#caricature {
	position: absolute;
	left: 580px;
	top: -128px;
	z-index: 10;
}

/* }}} */

/* Navigation {{{ */

.navigation {
  margin: -40px 0px 0px 80px;
  height: 56px;
  position: relative;
  z-index: 100;
}

.navigation ul {
  margin: 0px;
  padding: 0px;
  background: url(images/navigation.png) no-repeat 0px 0px;
  float: left;
}

.navigation li {
  display: block;
  list-style: none;
  float: left;
  border-top: 1px solid #52544e;
  height: 55px;
  line-height: 40px;
  font-size: 24px;
  vertical-align: middle;
}

.navigation li.page_item {
  padding-left: 24px;
  background: url(images/navigation-item.png) no-repeat 0px 100%;
}

.navigation li a {
  display: block;
  color: #52544e;
  text-decoration: none;
  text-shadow: black 0px 2px 4px;
  line-height: 40px;
  height: 55px;
  vertical-align: middle;
  background: url(images/navigation-item.png) repeat-x 0px 100%;
}

.navigation li.current_page_item a {
  color: #eee;
  background: url(images/navigation-selected.png) repeat-x 50% 100%;
}

.navigation li a:hover {
  color: #5b8323;
}

/* }}} */

/* Body {{{ */

#body {
  background: #222 url(images/body-bottom.png) repeat-x 0px 100%;
  padding: 0px 0px 24px 40px;
  position: relative;
}

#body .container {
  margin: 0px;
}

#main {
  padding-top: 16px;
}

#main h1 {
  font: normal 300% "Georgia", serif;
  color: white;
  text-shadow: black 0px 2px 4px;
  margin-bottom: 8px;
}

/* }}} */

/* Blog entry {{{ */

.hentry {
  color: #ccc;
}

.hentry .date .day {
  display: block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  vertical-align: middle;
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  background: #5b8323;
  color: #222;
  text-shadow: #adc191 0px 1px 1px;
  -webkit-box-shadow: black 0px 0px 2px;
}

.hentry .date .month {
  display: block;
  line-height: 1.0;
  text-transform: uppercase;
  text-align: center;
  color: #5b8323;
}

.hentry .entry-title {
  font: normal 32px/1.0 Georgia, serif;
}

.hentry .entry-title a {
  color: #eee;
  text-decoration: none;
}

.hentry .entry-title a:hover {
  text-decoration: underline;
}

.hentry .entry-meta {
  font: italic 100% Georgia, serif;
  color: #999;
  margin: 1em 0px 1.5em;
  padding-top: 0.5em;
  border-top: 1px solid #333;
}

.post-links {
  font-size: 150%;
  height: 2em;
}

.post-links a {
  text-decoration: none;
}

.post-links a:hover {
  text-decoration: underline;
}

.post-links .alignleft {
  float: left;
}

.post-links .alignright {
  float: right;
}

.entry-summary h3,
.entry-body h3 {
  font-family: Georgia, serif;
  color: #fe7d14;
  font-size: 175%;
  margin: 0.5em 0px;
}

.entry-summary .intro,
.entry-body .intro {
  font-size: 125%;
  color: white;
}

/* }}} */

/* Comments {{{ */

#comments {
  
}

#comments h2 {
  font-size: 150%;
  color: #eee;
  font-family: Georgia, serif;
  font-weight: normal;
  margin-bottom: 0px;
}

.commentlist {
  margin: 0px;
  padding: 0px;
}

.commentlist .comment {
  display: block;
  list-style: none;
  margin: 0px 0px 1em -48px;
  padding: 7px 7px 7px 47px;
  position: relative;
  border: 1px solid #222;
}

.commentlist .byuser {
  border-color: #666;
  background: #111111;
}

.commentlist .comment .avatar {
  position: absolute;
  left: 7px;
  top: 7px;
}

.commentlist .comment-author .fn {
  font-style: normal;
  font-weight: bold;
  font-size: 150%;
}

#commentform #submit {
  width: 256px;
  height: 56px;
  outline: none;
  border: none;
  margin: 0px;
  padding: 0px;
  background: url(images/comment-button.png) no-repeat 0px 0px;
  text-indent: -100em;
  overflow: none;
  cursor: pointer;
  position: relative;
  left: -8px;
  opacity: 0.75;
}

#commentform #submit:hover {
  opacity: 1.0;
}

/* }}} */

/* Gallery {{{ */

.page-template-gallery-php #body {
  background: #222 url(images/gallery-wallpaper.png) repeat-x 0px 16px;
  height: 528px;
}

#gallery {
  height: 488px;
  background: url(images/gallery-frames.jpg) no-repeat 32px 40px;
  position: relative;
}

.ffg_img_css {
  display: none;
}

.ffg_link_css {
  position: absolute;
  border: none;
  display: block;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

#ffg_link_0 { left: 74px; top: 82px; width: 132px; height: 132px; }
#ffg_link_1 { left: 124px; top: 284px; width: 106px; height: 109px; }
#ffg_link_2 { left: 292px; top: 156px; width: 99px; height: 122px; }
#ffg_link_3 { left: 296px; top: 364px; width: 92px; height: 92px; }
#ffg_link_4 { left: 468px; top: 98px; width: 115px; height: 114px; }
#ffg_link_5 { left: 496px; top: 312px; width: 56px; height: 56px; }
#ffg_link_6 { left: 644px; top: 67px; width: 89px; height: 88px; }
#ffg_link_7 { left: 667px; top: 236px; width: 143px; height: 140px; }

#gallery .flickr-link {
  position: absolute;
  right: 96px;
  bottom: 0px;
  width: 272px;
  height: 44px;
  background: url(images/flickr-link.png) no-repeat 0px 0px;
  text-indent: -100em;
  overflow: none;
  outline: none;
}

/* }}} */

/* Bookshelf {{{ */

.bookshelf h2 {
  margin: 0px;
  color: #eee;
}

.book {
  clear: left;
  margin: 0px 0px 16px;
  height: 160px;
}

.book .image {
  float: left;
  width: 160px;
  text-align: left;
}

.book .title-and-author {
  color: #eee;
  text-decoration: none;
}

.book .title {
  display: block;
  font-size: 125%;
}

.book .author {
  display: block;
  color: #999;
  margin-top: 0.5em;
  text-transform: uppercase;
}

.book .image img {
  -webkit-box-shadow: black 0px 0px 4px;
}

.book .image:hover img {
  -webkit-box-shadow: #ffc 0px 0px 4px;
}

/* }}} */

/* Archive {{{ */

h2.year {
  color: #eee;
}

h3.month, ul.archive small {
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* }}} */

/* Sidebar {{{ */

#sidebar {
  margin-top: -16px;
  background: #191919 url(images/sidebar-bottom.png) no-repeat 0px 100%;
  border-top: 1px solid #333;
  padding: 8px 0px;
}

#sidebar .tag-cloud {
  margin: 0px 8px 16px;
  text-align: center;
  padding-top: 64px;
  position: relative;
  z-index: 30;
}

#sidebar .tag-cloud a {
  text-decoration: none;
}

/* }}} */

/* Twitter {{{ */

#recent-tweets {
  
}

#recent-tweets h2 {
  margin: 0px -8px;
  background: url(images/twitter.png) no-repeat 0px 0px;
  padding: 28px 8px 8px 60px;
  font-family: Georgia, serif;
  color: #eee;
}

#recent-tweets ul {
  margin: 0px 16px;
  font-size: 85%;
  color: #999;
}

#recent-tweets ul li {
  display: block;
  margin: 0px 0px 8px;
}

#recent-tweets ul li abbr {
  font-size: 85%;
  border: none;
  color: #666;
  letter-spacing: 0.2em;
}

#recent-tweets .follow-me {
  font-size: 150%;
  text-decoration: none;
  display: block;
  margin: 0px 16px;
}

#recent-tweets .follow-me:hover {
  text-decoration: underline;
}

/* }}} */

/* Footer {{{ */

#footer {
  padding: 16px 0px 100px 80px;
}

#footer a {
  color: #5b8323;
}

#footer .copyright {
  color: #999;
  
}

/* }}} */
