/*
 Author Name : Taras Kalapun
 Author Site : http://kalapun.com
 Style Name  : Slim
 Style URI   : http://kalapun.com
 Version     : 0.1
 Comments    : Made from saphire
 Copyright   : Taras kalapun
 Licence     : GNU/GPL
 Header Text Color: #fff
 Header Height: 180px
 Style Footer: 
*/


/* ====================================================
**  Sapphire adaptation to K2.
** ====================================================
*/

body {
 background: #141d2e url(sapphire-background.png) center top repeat-x;
}

/* Main font color */
body,
h2, h2 a, h2 a:visited,
h3, h3 a, h3 a:visited,
h4, h4 a, h4 a:visited,
.entry-content,
input[type=text], textarea,
blockquote {
 color: #333;
}

/* Make some place before the header to let us see rounded corners */
#page {
 border: 0;
 margin-top: 20px;
 padding-top: 0;
}

#header {
 background: #3272a0 none center bottom no-repeat;
 height: 180px; /* Reduced from 200px */
}

.columns-one   #header {background-image: url(sapphire-header-sidebar-none.png)}
.columns-two   #header {background-image: url(sapphire-header-sidebar-single.png)}
.columns-three #header {background-image: url(sapphire-header-sidebar-dual.png)}

#header h1 {
 padding-top: 65px; /* Original is 75px. We changed it because header heigh was reduced to 180px */
}

#header h1, #header .description {
 text-align: center;
}

#header .description {
 color: #ccc;
}

#footer {
 background: #2f75a9 none center bottom no-repeat;
 color: #ccc;
 padding-top: 14px; /* default value: 20px. Too big IMHO. */
 padding-bottom: 14px; /* default value: 20px. Too big IMHO. */
 margin-bottom: 20px; /* same as #page top margin */
}

.columns-one   #footer {width: 560px; background-image: url(sapphire-footer-sidebar-none.png);}
.columns-two   #footer {width: 780px; background-image: url(sapphire-footer-sidebar-single.png);}
.columns-three #footer {width: 950px; background-image: url(sapphire-footer-sidebar-dual.png);}

#footer a {
 color: #eee;
 border: 0;
}


/* ====================================================
**  K2 bug fixes: should be commited in K2 trunk but
**  i'm too lazy yet to submit a bug report...
** ====================================================
*/

/* Bug Fix: display second level lists in comments and make list look the same in comments as in posts.
** Test case:
**   - for <ul>: http://kev.coolcavemen.com/2006/08/e107-to-wordpress-migration-here-is-why/#comment-92
**     should look like http://kev.coolcavemen.com/2006/08/e107-to-wordpress-migration-here-is-why/
**   - for <ol>: http://kev.coolcavemen.com/2006/08/konqueror-config-file-disable-menu-bar/#comment-2893
**     should look like http://kev.coolcavemen.com/2007/04/how-to-block-ads-in-konqueror/
*/
#commentlist ul, #commentlist ol {
 padding-left: 35px;
 margin-top: 13px;
 margin-bottom: 13px;
}
#commentlist li li {
 margin-top: 0;
 margin-bottom: 3px;
 padding-top: 0;
 padding-right: 0;
 padding-bottom: 0;
 list-style-type: inherit;
 list-style-image: inherit;
 list-style-position: inherit;
}

/* Margins are not consistent in original K2 theme for images inside a post.
** This is particularly obvious when several images are displayed side by side.
** This rule put the same 5px margin for each side of the image.
** Test case: http://kev.coolcavemen.com/2006/09/cd-templates-for-jewel-case-in-svg/
*/
#primary .entry-content img {
 margin: 5px;
}
/* Previous rule mess all posts up if one post end with an "imagelink".
** This rule fix this bad behaviour, on front page and on single post view
** (=view with comments).
*/
#primary .hentry,
#primary div.comments {
 clear: both;
}
/* Same as above but for list below images.
** Test case: http://kev.coolcavemen.com/2007/04/how-to-block-ads-in-konqueror/
*/
#primary ul, #primary ol {
 clear: both;
}
/* Reset smileys 5px margin rule to their default value.
** Test case: http://kev.coolcavemen.com/2007/06/how-to-launch-a-kde-application-in-another-language/
*/
#primary .entry-content img.wp-smiley {
 margin: 0;
}


/* ====================================================
**  Other K2 style customisations: Mainly coded for my
**  personnal blog. It's not a bad idea to remove all
**  the CSS code below to revert to default K2
**  behaviour.
** ====================================================
*/

/* Consistent unordered list style.
*/
ul, ul li {
 list-style-position: inside;
 list-style-type: disc;
}

/* This kind of blockquote is more efficient: it is wider thant K2 default bloquotes as it use a thicker left border instead of padding.
*/
blockquote {
 background-color: #eee;
 border-width: 1px 1px 1px 3px;
 border-color: #ccc;
 border-style: dotted dotted dotted solid;
 padding-right: 1em;
 padding-left: 1em;
}

/* It's easier for the user to spot some widget listing if we show a
** graphical element before each one, because the visibility of the post
** list is reduced when long titles get rendered on multiple lines.
*/
div.sb-latest  ul li,
div.sb-related ul li {
 list-style-type: disc;
}

/* Make image link easier to spot by using a subtile blue color.
*/
/*
#primary .entry-content a.imagelink img {
 border-color: #a7c0de;
}
#primary .entry-content a.imagelink:hover img {
 border-color: #277ade;
 background-color: #eee;
}
*/

/* Float each image within a post to left,
** except for images with 'center' class, and smileys.
*/
/*
#primary .entry-content img {
 float: left;
}

#primary .entry-content img.center,
#primary .entry-content img.wp-smiley {
 float: inherit;
}
*/
/* Center image with "center" class
*/
#primary .entry-content img.center {
 display: block;
 margin-right: auto;
 margin-left: auto;
}

/* Sometimes I add images within titles tags as icons.
** Test case: http://kev.coolcavemen.com/linux-scripts/
*/
#primary .entry-content h4 img {
 border: 0;
 padding: 0;
 margin: 0;
 margin-right: 5px;
}

/* Style comment form to make input fields thicker and flat (easier to spot)
*/
.comments input[type='text'], textarea#comment {
 border: 2px solid #ccc;
}

/* Separate bottom navigation using a light dotted line
*/
.comments .navigation {
 border-top: 1px dotted #ccc;
 padding-top: .6em;
}


/* Display all pingbacks in a single box.
** Inspired by True Blue v1.4 theme: http://stevelam.org/2007/03/true-blue-14/
*/
.comments #pinglist {
 background: #e4e9ef;
 border-width: 3px 1px 1px;
 border-color: #d2d7dd;
 border-style: solid;
}



/* ====================================================
**  Backports from K2 v0.9.6
** ====================================================
*/

/* Keep admin tab on the right */
.admintab {
 position: absolute;
 right: 0;
}
* html .admintab { padding: 5px 15px 6px } /* IE hack */

/* Keep image auto-sizing to column width */
/*
.entry-content img {
 margin: 0 5px;
 padding: 4px;
 border: 1px solid #ccc;
 max-width: 100%;
}
primary table img {
  max-width: none;
}
*/
a.commentslink span {
  display: none;
}
form#searchform input#s {
  width: 120px;
  border-width: 1px 1px;
  border-color: #24689e;
  border-style: solid;
}
form#searchform input#searchsubmit {
  border-width: 1px 1px;
  border-color: #24689e;
  border-style: solid;
}
div.entry-meta div.entry-categories {
 display: none;
}
div.entry-meta span.meta-start {
  display: none;
}
div.entry-meta span.meta-end {
  display: none;
}

div.nav-previous {
  font-size: 1.2em;
}
.secondary h4 {
  font-weight: bold;
  font-size: 1.6em;
}
#commentlist li .comment-meta {
  background: none;
  padding: 2px 0 2px 2px
}
.entry-edit a {
  color: #ffffff;
}
.comment-edit a {
  color: #ffffff;
}
div#tag_cloud {
  text-align: center;/*justify;*/
}
.entry-content h3 {
  clear: both;
}