/*   
Theme Name: Colours
Theme URI: http://chendo.net/
Description: Colours!
Author: Jack Chen
Author URI: http://chendo.net
Version: 0.8
*/


/* @group Reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
  outline: 0;
}
body {
  line-height: 1;
  color: black;
  background: white;
}
ol, ul {
  list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: separate;
  border-spacing: 0;
}
caption, th, td {
  text-align: left;
  font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
}
blockquote, q {
  quotes: "" "";
}



/* @end */

/* @group Common */



body {
  background: #222 url(images/bg.png);
  line-height: 1.5em;
  font-family: Helvetica, Tahoma, Arial, sans-serif;
  color: #ddd;
  letter-spacing: 0.5px;
  font-size: 15px;
}

.clear {
  clear: both;
}

pre {
  margin-top: 20px;
  background: #222;
  font-family: Courier, monospace;
  font-size: 14px;
  padding: 20px;
  padding-right: 0;
  margin-left: 20px;
  margin-bottom: 20px;
}

h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  letter-spacing: 0.03em;
  word-spacing: 0.1em;
  padding-bottom: 2px;
  border-bottom: solid 1px #333;
  color: #5DA9E6; /* orange FFA159 */
}

h1 a, h2 a, h3 a, h4 a {
  font-weight: normal !important;
  border: none !important;
}

p {
  margin-bottom: 1.2em;
}

h1 {
  font-size: 36px;
  font-weight: bold;
  line-height: 36px;
  padding-top: 0.5em;
}

h2 {
  font-size: 30px;
  font-weight: bold;
}

h3 {
  font-size: 26px;
  font-family: Georgia, serif;
}

.block {
  background: rgba(10,10,10, 0.6);
  border: solid 1px #151515;
  margin-bottom: 20px;
  overflow: hidden;
}

a, a:link, a:visited {
  color: #C7DE14;
  text-decoration: none;
  font-weight: bold;
  -webkit-transition-property: color;
  -webkit-transition-duration: 0.3s;
}

a:hover {
  color: #ddd;
  border-bottom: dotted 1px #666;
}

a:active, a:visited:active {
  color: #E9FBB2;
}

label {
  font-size: 13px;
  display: block;
  float: left;
  width: 120px;
  text-align: right;
}

textarea, input {
  background: #222;
  border: solid 1px #555;
  color: #fff;
  font-size: 14px;
  line-height: 1.5em;
  opacity: 0.5;
}

textarea:focus, input:focus {
  opacity: 1;
}

input[type=submit], input[type=button] {
  padding: 5px 10px;
  font-size: 13px;
  text-transform: lowercase;
}
/* @end */

/* @group Layout */

#wrap {
  background: url(images/headerfade.png) repeat-x;
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -200px;
}

#body {
  width: 1000px;
  margin: 0 auto;
}

#main {
  position: relative;
  z-index: 50;
  overflow: hidden;
}

#header {
  z-index: 100;
  height: 240px;
  background: url(images/headerbg.jpg) no-repeat center;
}

#header h1 {
  width: 1000px;
  padding: 0;
  text-indent: -9001px;
  margin: 0 auto;
  height: 240px;
  padding-top: 100px;
}

#header a {
  display: block;
  width: 350px;
  height: 100px;
  margin-left: 170px;
}

#subscribe {
  position: absolute;
  right: 0;
  text-indent: -9001px;
  width: 28px;
  height: 32px;
  background: url(images/rss.png) no-repeat top;
  opacity: 0.5;
  -webkit-transition-property: opacity;
  -webkit-transition-duration: 0.5s;
}

#subscribe:hover {
  background: url(images/rss.png) no-repeat bottom;
  opacity: 1;
  border: none;
}

#search_wrap {
  width: 1000px;
  margin: 0 auto;
  margin-top: -50px;
}

#search {
  opacity: 0.5;
  width: 200px;
  padding: 10px;
  padding-bottom: 9px;
  background: rgba(0,0,0,0.5);
  margin-left: 780px;
}

#search {
  opacity: 1;
}

#search input {
  opacity: 0.5;
  padding: 2px;
  width: 194px;
}

#search input:focus {
  opacity: 0.8;
}

#slogan {
  text-indent: -9001px;
}

#nav {
  float: left;
  top: -300px;
  width: 150px;
  padding-top: 30px;
  text-align: right;
  position: relative;
  z-index: -1;
}

#imagemap {
  position: absolute;
  top: 337px;
  left: 2px;
  width: 150px;
  height: 250px;
  z-index: 500;
}

#nav ul {
  position: relative;
  margin-top: -20px;
}

#nav li {
  height: 450px;
  top: 0;
  position: absolute;
  width: 500px;
  margin-left: 40px;
  opacity: 0.5;
}

#nav li:hover {
  opacity: 1;
}

#nav li a {
  color: rgba(0,0,0,0);
}

#nav li.home {
  background: url(images/nav/home.png) no-repeat 0 -10px;
  z-index: 5;
}

#nav li.blog {
  top: 40px;
  background: url(images/nav/blog.png) no-repeat 0 -9px;
  z-index: 6;
}

#nav li.projects {
  background: url(images/nav/projects.png) no-repeat 0 -8px;
  top: 80px;
  z-index: 7;
}

#nav li.about {
  background: url(images/nav/about.png) no-repeat 0 -7px;
  top: 120px;
  z-index: 8;
}

#content {
  z-index: 100;
  width: 610px;
  min-height: 500px;
  float: left;
  padding: 20px;
  padding-top: 10px;
}

#content .block {
  padding: 0 20px 20px;
  position: relative;
}

#content .block h3, #content .block h2 {
  font-family: Georgia, serif;
  font-weight: normal;
  margin-top: 0.5em;
}

#sidebar {
  float: right;
  width: 180px;
  padding-right: 20px;
  font-size: 13px;
  line-height: 1.5em;
  padding-top: 10px;
}

#content_wrap {
  margin-left: 150px;
  background: url(images/contentbg.png) repeat-x;
}

#sidebar .block {
  padding: 10px;
}

#footer, #footer_push {
  height: 200px;
}

#footer {
  font-size: 11px;
  color: #ddd;
  background: url(images/footerbg.png) repeat;
}

#footer_content {
  width: 800px;
  margin: 0 auto;
}

#footer div.column h4 {
  font-size: 13px;
  font-weight: bold;
  color: #ddd;
}

#footer div.column a {
  color: #999;
}

#footer div.column a:hover {
  color: #fff;
}

#footer div.column {
  float: left;
  margin-top: 20px;
  width: 150px;
  padding-left: 49px;
  border-left: solid 1px #111;
  height: 180px;
}

#about-image {
  float: left;
  margin-right: 5px;
  margin-top: 5px;
}

#sidebar h3 {
  font-size: 24px;
}

#breadcrumb {
  font-family: "Helvetica";
  padding: 10px 20px 0;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

#breadcrumb a {
  color: #555;
}

#breadcrumb a:hover {
  border: none;
  color: #ddd;
}

#wp_page_numbers ul, #wp_page_numbers li, #wp_page_numbers a {
  font-size: 14px;
  border: none;
}

#wp_page_numbers {
  width: 100%;
  font-weight: bold;
  background: rgba(10,10,10, 0.6);

}
#wp_page_numbers ul {
  
  width: 100%;
}
#wp_page_numbers li {
  float: left;
  display: block;
}

#wp_page_numbers a {
  padding: 6px;
  padding-left: 8px;
  padding-right: 8px;
  display: block;
  color: #ddd;
  -webkit-transition-property: background-color, color;
  -webkit-transition-duration: 0.3s, 0.3s;
}

#wp_page_numbers li a:hover {
  background: rgba(255,255,255,0.7);
  color: #333;
}

#wp_page_numbers li.space {
  padding: 6px;
  padding-left: 8px;
  padding-right: 8px;
}

#wp_page_numbers li.first_last_page {
  font-style: italic;
}

#wp_page_numbers li.active_page a {
  background: rgba(0,0,0,0.7);
  color: #ddd;
}
#wp_page_numbers li.active_page a:hover  {
  color: #fff; /* IE fix */
}

#wp_page_numbers li.page_info {
  float: left;
  display: block;
  padding: 6px;
  padding-right: 8px;
  color: #ddd;
  font-size: 11px;
}

/* @end */

/* @group Blog */

#content div.post {
  position: relative;
  margin-bottom: 20px;
  overflow: visible;
}

#content div.post.single {
  padding-top: 30px;
}

div.post h2 {
  clear: both;
  margin-top: 30px
}

div.post .comment_info {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  float: left;
  margin-top: -15px;
  font-family: Helvetica;
}

div.post div.date {
  display: none;
}
/*div.post div.date {
  position: absolute;
  top: 25px;
  left: -52px;
  background: url(images/calendar.png) no-repeat center center;
  width: 58px;
  height: 60px;
  text-align: center;
}

div.post div.month {
  color: #fff;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
  margin-top: 8px;
}

div.post div.day {
  font-size: 24px;
  font-weight: bold;
}*/
div.post_info {
  font-size: 11px;
  font-style: italic;
  margin-top: -15px;
  text-align: right;
}

div.post .navigation {
  font-size: 11px;
  margin-top: -25px;
  margin-bottom: 30px;
}

div.post .navigation .alignleft {
  float: left;
}

div.post .navigation .alignright {
  float: right;
}

#comment_box {
  width: 100%;
}

li.comment {
  margin-top: 1em;
  border-bottom: solid 1px #aaa;
  font-size: 13px;
}

li.comment .comment-info {
  width: 100px;
  float: left;
  margin-right: 10px;
}

li.comment .actions {
  font-size: 11px;
}

li.comment .posted_at {
  font-size: 11px;
  font-style: italic;
}

li.comment, #comment-form {
  padding-bottom: 1em;
}

li.comment .comment-body {
  margin-left: 120px;
  margin-right: 20px;
}

#content img {
  border: solid 1px #555;
}

/* @end */

/* @group Home */

#home_header h2 {
  color: #5DA9E6;
}

h4.subtle {
  font-size: 14px;
  color: #333;
  font-weight: bold;
  margin-top: 12px;
  line-height: 36px;
  margin-right: 3px;
  float: right;
  text-align: right;
  margin-bottom: 0;
  border: none;
  text-transform: uppercase;
}

/* @end */

/* @group Projects */

ul.projects li {
  clear: both;
  margin-bottom: 2em;
}

ul.projects li img {
  float: left;
  margin-right: 10px;
}

/* @end */

/* @group Twitter */

li.twitter-item {
  border-bottom: solid 1px #333;
  margin-bottom: 10px;
}

li.twitter-item span {
  display: block;
  text-align: right;
  font-size: 9px;
}

/* @end */

/* @group Error pages */

div.page_not_found .message {
  font-size: 24px;
  font-family: Georgia, serif;
  text-align: center;
  padding: 20px;
  margin-bottom: 30px;
}

div.page_not_found .subtext {
  font-size: 18px;
  font-family: Georgia, serif;
  text-align: center;
}

/* @end */