/*
Theme Name: k9
Theme URI: http://zeo.unic.net.my
Description: Safirul Alredha's k2 lite.
Version: 1.0
Author: Safirul Alredha
Author URI: http://zeo.unic.net.my
Tags: fixed width, two columns, widgets

License: GPL
*/

@import url('reset.css');

body {font:0.84em/1.333 Arial, sans-serif;background:#ededed;padding-bottom:20px;}
#wrapper {width:950px;margin:0 auto;background:#ededed;border:1px solid #ddd;border-top:none;}
#wrapper-inner {padding:3em 1.5em 2em;background:#fff;}

#header {background:#3371a3;color:#fff;border-top:20px solid #fff;height:160px;position:relative;}
#header-inner {width:900px;margin:0 auto;padding:55px 0 0;}

#header h1,
#header .description {text-indent:1em;}

#header h1 a {color:#fff;font-size:2em;}

h2.entry-title,
h2.page-title {font-size:1.33em;}
h3 {font-size:1.1em;}
h4 {font-size:1em;}
h5 {font-size:.85em}

#content,
.entry-date,
.edit-this,
#entry-comment .avatar,
#entry-respond dt,
#secondary h2 {float:left;}

#header-inner h1,
#header-inner .description,
#content,
#secondary,
#entry-comment, 
#entry-respond {width:720px;}

.hentry,
.edit-this,
.entry-meta,
#pagednav,
#imagenav,
#secondary,
#entry-comment,
.comment,
#entry-respond,
#entry-respond dt {clear:both;}

#primary {float:right;}

.entry-date,
.edit-this,
#entry-respond dt,
#primary,
#secondary h2 {width:180px;}

.entry-title,
.entry-content,
.entry-meta, 
#imagenav,
.comment-body,
#entry-respond dd,
#secondary ul ul,
#secondary ul div,
#secondary ul dl {width:510px;float:right;}

.hentry,
#pagednav,
.comment-body,
#entry-respond dd,
#secondary ul ul {padding-right:1em;}

#pagednav,
#imagenav,
#postnav ul {text-align:center;}

#pagednav {margin-left:195px;width:510px;}

#imagenav {margin:1em 0;height:160px;}
#imagenav .next {}
#imagenav .previous {}
#imagenav img {border:5px solid #e0e0d5;margin-bottom:-5.5em;}

/* menu */
#menu {padding-top:1.5em;}
#menu ul {overflow:hidden;position:absolute;bottom:0;}
#menu ul li {float:left;}
#menu ul li a {float:left;padding:.5em 1em;color:#fff;}
#menu ul li a:hover {color:#fff;background:#000;}

#menu ul li.current_page_item,
#menu ul li.current_page_item a:hover,
#menu ul li.current_page_ancestor,
#menu ul li.current_page_ancestor a:hover {background:#fff;color:#000;}

#menu ul li.current_page_item a,
#menu ul li.current_page_ancestor a {color:#000;}

blockquote {margin:.77em 0; padding:0 1em;border-left:10px solid #e0e0d5;}
pre {margin:1em 0 1em 0;}
p {margin:0 0 1em 0;}

pre,
code,
tt,
kbd {font-size:115%;}

.description,
#menu,
.entry-content,
.comment-body,
.sidebar,
#pagednav,
#postnav,
#imagenav {font-size:1em;}

h3#comments,
h3#respond {font-size:.95em;}

.hentry {margin-bottom:2.5em;padding-top:1em;}
#content {margin-bottom:2em;}

#content ol {list-style:decimal;}
#content ol ol {list-style:lower-alpha;}
#content ol ol ol {list-style:lower-roman;}
#content ul {list-style:disc;}
#content ul ul {list-style:circle;}
#content ul ul ul {list-style:square;}

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

#content li {margin-bottom:.5em;}

#content ul ul,
#content ul ol,
#content ol ul,
#content ol ol {margin-bottom:0;}

#content .entry-content {margin-top:1em;}
#content .entry-content h3,
#content .entry-content h4 {margin-bottom:.5em;}
#content .entry-meta ul {list-style:none;padding-left:0;margin:.5em 0 0;}
#content .entry-meta ul li {margin-bottom:.5em;}

.hentry,
.sidebar li,
#footer {border-top:1px solid #e0e0d5;}

#content dl {margin:0 0 1em 0;}

/*
.sidebar ol ul,
.sidebar ul ol,
.sidebar ul ul ul,
.sidebar ol ol ol {margin-left:1.5em;}
*/

.sidebar li {padding:1em 0;margin-bottom:.33em;}
.sidebar li li {font-size:.95em;}

#primary li li {padding:0;margin:0 1em .33em;border:none;}
#secondary li li {padding:0;margin-bottom:.33em;border:none;}

#secondary ul ul,
#secondary ul div,
#secondary ul dl {padding:0;margin-right:1em;}

#secondary ul ul ul {float:none;margin-right:0;}

#primary ul div,
#primary ul dl {padding:0;margin:0 1em;border:none;}

#searchform input#s {width:95%;}

#primary h2 {margin-bottom:.5em;}

.page-title {margin-bottom:1em;text-indent:.7em;}
#search-terms {}

.entry-date,
#entry-comment h3,
#entry-respond h3,
#entry-respond dt,
.sidebar h2 {text-transform:uppercase;padding-left:1em;}

.edit-this {text-indent:2.5em;}

.entry-date {background-image:url('images/date-button.gif');background-repeat:no-repeat;background-position:14px 2px;text-indent:1.5em;font-weight:bold;}

li.tags {background-image:url('images/tag.gif');}
li.categories {background-image:url('images/category.gif');}
li.sizes {background-image:url('images/photo.gif');}
li.author {background-image:url('images/author.gif');}

li.comments,
li.tags,
li.categories,
li.sizes,
li.author {background-repeat:no-repeat;background-position:left .5px;text-indent:1.5em;}

li.comments,
h3#comments {background-image:url('images/comments.gif');}

h3#respond {background-image:url('images/reply.gif');}

h3#comments,
h3#respond {background-repeat:no-repeat;background-position:15px 13px;text-indent:2.5em;}

/* image & alignment */
/*p:first-child>img:first-child,
p>a:first-child>img:first-child,*/
.alignleft {float:left;}
	
.alignright {float:right;}
.aligncenter {text-align:center;}

/*p:first-child>img:first-child,
p>a:first-child>img:first-child,*/
img.alignleft {margin:.1em 1em 1em 0;}

img.alignright {margin:.1em 0 1em 1em;}

img.attachment-medium,
img.attachment-full,
img.aligncenter {margin:.1em auto 1em;display:block;}

img.alignleft,	
img.alignright,
img.aligncenter,
img.attachment-thumb,
img.attachment-thumbnail,
img.attachment-medium,
img.attachment-full,
img.alignnone,
img.border {border:5px solid #e0e0d5;}

img.noborder {border:none !important;}

/* gallery */
.gallery {margin:0 auto;}
.gallery-item {float:left;margin-top:10px;text-align:center;width:33%;}
.gallery-caption {margin-left:0;}

.entry-attachment {margin-top:.5em;}
.entry-caption {text-align:center;}

/* comment */
#entry-comment {}

.page-title,
h3#comments,
h3#respond {border:1px solid #e0e0d5;border-right:none;border-left:none;padding:1em 0;}

.commentlist {margin:1em 0 2em;}
.commentlist .alt {background:#efefef;}

.comment,
.trackback,
.pingback {padding:1em 0;border-bottom:1px solid #e0e0d5;}

#entry-comment .avatar {margin-left:1em;padding:.3em;border:1px solid #e0e0d5;background:#fff;}
.comment-body {}
.comment-body cite {font-weight:bold;}
.comment-entry {margin-top:1em;}

.edit-comment {float:right;}

#entry-respond {}
#entry-respond dl {margin:1em 0;padding:1em 0;}
#entry-respond dt {line-height:1.6;text-transform:none;margin-bottom:1em;font-weight:bold;}
#entry-respond dd {margin-bottom:.5em;}

#searchform input#s,
#entry-respond input,
#entry-respond textarea {padding:.2em 0;}

#entry-respond input {width:49.5%;}
#entry-respond textarea {width:99%;height:15em;}
#entry-respond #submit {}

#footer {text-align:right;margin:2em 0 0;padding:.5em 1em 0;}

/* Begin Calendar */
#wp-calendar {empty-cells:show;margin:10px auto 0;width:100%;}
#wp-calendar #next a {padding-right:10px;text-align:right;}
#wp-calendar #prev a {padding-left:10px;text-align:left;}
#wp-calendar #today {background:#ededed;}
#wp-calendar a {display:block;}
#wp-calendar caption {text-align:center;width:100%;}
#wp-calendar td {padding:3px 0;text-align:center;}
#wp-calendar td.pad:hover {background-color:#fff;/* Doesn't work in IE */}


/* hacks */
#wrapper-inner:after,
.hentry:after,
.gallery:after,
.comment:after,
.pingback:after,
.trackback:after,
#entry-respond dl:after,
#secondary ul:after,
#secondary li:after {content:".";display:block;height:0;clear:both;visibility:hidden;}

* html #wrapper-inner,
* html .hentry,
* html .gallery,
* html .comment,
* html .pingback,
* html .trackback,
* html #entry-respond dl,
* html #secondary ul,
* html #secondary li {height:1%;}

* html pre,
* html code,
* html tt,
* html kbd {font-size:95%;}

*:first-child+html pre,
*:first-child+html code,
*:first-child+html tt,
*:first-child+html kbd {font-size:95%;}

*:first-child+html #wrapper-inner,
*:first-child+html .hentry,
*:first-child+html .gallery,
*:first-child+html .comment,
*:first-child+html .pingback,
*:first-child+html .trackback,
*:first-child+html #entry-respond dl,
*:first-child+html #secondary ul,
*:first-child+html #secondary li {min-height:1px;}
