/*
Theme Name: Bamaru
Theme URI: http://bamaru.com/
Description: The first bamaru.com Wordpress theme
Version: 0.1
Author: Jonas Thiel

This is just a basic layout, with only the bare minimum defined.
*/

/************************************************************************/
/*                     RESET TO BASE                                    */
/************************************************************************/
/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */
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,
b, u, i, center,
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-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
ins {
  text-decoration: none;
}
del {
  text-decoration: line-through;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}


/************************************************************************/
/*                     GENERAL STYLE                                    */
/************************************************************************/

body, input, textarea, select {
  font-family: 'Lucida Grande',Verdana,Arial,Sans-Serif;
  font-size: 87.5%; /*87,5*/
  font-style:normal;
  font-variant:normal;
  font-weight:normal;
}
/* 
      Textelements 
*/
p{
  margin: 1.5em 0 0 0;
}

p, li, blockquote, dd, dt {
  line-height: 1.522em;
  font-size: 1em;    
}

h1 {
  font-family: "trebuchet ms",sans-serif;
  font-size: 1.5em;  
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1em;
  margin: 1em 0;
}

h2 {
  font-family: "trebuchet ms";
  font-size: 1.6em; /*1.1667em*/
  font-style: normal;
  font-variant: normal;
  font-weight: bold;
  line-height: 1.2em;
  margin: 1em 0 0 0;
}

h3 {
  font-weight: bold;
  font-size: 1.1em; /*1*/
  line-height: 1.5em;
  margin: 1.4667em 0 -1.53em 0; /* pull the first paragraph 1 line up */
}

a:link, a:visited, a:active {
  color: blue;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
  color: #000;
}

cite {
  font-style: italic;
  color: #333;
}

abbr{
  border-bottom: 1px dashed #AA7DEA;
  cursor: help;
}

small{
  font-size: 0.8em;
  color: #777777;
}

/* 
      Structureelements 
*/
ul{
  margin: 1.5em 0 0 0.3em;
  padding: 0 0 0 1em;   
}

ul li{
  list-style: square outside;
}

ol {
  margin: 1.5em 0 0 0.5em;
  padding: 0 0 0 1em; 
}

ol li {
  list-style: decimal outside; 
}

pre{
  color: #444;
  margin: 1.5em 0;
  border-left:5px solid #88cc33;
  padding-left:20px; 
  font-size: 1.2887em; 
  line-height: 1.4437em;
}

blockquote {
  color: #444;
  margin: 1.5em 0;
  border-left:5px solid #ddd;
  padding-left:20px;
}

blockquote blockquote {
  border-left:5px solid #dfdfdf;
}

blockquote blockquote blockquote{
  border-left:5px solid #eee;
}

dl dt{
  font-weight: bold;
}
dl dd{
  margin: 0 0 1.5em 0;
  border-left:5px solid #AA7DEA;
  padding-left:20px;  
}

/*
  Images
*/
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */


/* Basic Style Elements */
div.center {
  text-align: center;
}


/************************************************************************/
/*                     GENERAL LAYOUT                                   */
/************************************************************************/

div.article, div.box, div#respond{
  border-radius: 6px;
}

html{
  background: url(images/html_background.jpg) repeat-x left bottom; 
}

body {
  background: url(images/cloud_background.jpg) no-repeat center 12em;  
}

div#wrapper {
  width: 965px;
  margin: 0 auto;
}

div#header {
  background: url(images/header_background.png) no-repeat center -47px;   
  height: 147px;
  position: relative;
}
  div#header img.blank{
    width: 300px;
    height: 95px;
    position: absolute;
    top: 0;
    left: 0;
  }

  div#header h1{
    display: none; 
  }
  
  div#header div#usermenu {
    float: right;
    margin: 5.9em 10px 0 0;
  }
  
  div#header ul#navigation {
    float: left;
    margin: 7.2em 0 0 10px; 
    padding: 0;
  }
  
    div#header ul#navigation li{
      list-style: none;
      float: left;      
    }
    
    div#header ul#navigation li a:link, div#header ul#navigation li a:visited, div#header ul#navigation li a:active{
      text-decoration: none;
      padding: 0 10px;
      font-weight: bold;
      color: #fff;
    }
    div#header ul#navigation li.active a{
      text-decoration: underline;
    }
    div#header ul#navigation li a:hover{
      color: #000;
    }

div#content {
  width: 680px;
  min-height: 800px;
  float: left;
  padding: 0 0 0 10px;
}
  div#content div.article{
    background: #fff;
    border: 1px solid #f0f0f0;
    margin: 0.88em 12px 0.88em 0;
    padding: 0  10px 10px 10px;  
  }
    div#content div.article h2 a{
      color: #000000;
      text-decoration: none;
    }
  
    div#content div.article a.more-link {
      font-weight: bold;
      padding: 10px 0;
      
    }
    
    div#content div.article p.footer{
      text-align: center;
    	border: 1px dashed #777;
    	color: #777;
    	margin-top: 20px;
    	padding: 10px;
    	clear: both;
    }
    div#content div.article p.tags{
      margin-bottom: 10px;
    }
  
  div#content div.navigation{
    height: 1em;
    padding-right: 10px;
  }
  div#content div.navigation_top{
    margin-bottom: 1em;
  }

/* MUCH STUFF FOR COMMENTS */ 
  div#content ol#comments {
    margin: 0;
    padding: 0;
  }
  div#content ol#comments li.comment{
    list-style: none;
    margin: 1.45em 0;
  }
  div#content ol#comments li.comment div.author{
    width: 80px;
    padding-top: 5px;
  }
    div#content ol#comments li.comment div.author p.author{
      line-height: 0;
      margin: 0.8em 0;
    }
    div#content ol#comments li.comment div.author p.meta{
      color: #666;
      font-size: 0.8em;
      margin: 1em 0;
    }
  div#content ol#comments li.comment table.bubble {
    width: 600px;
  }    
  /* Loading the sprite */
  div#content ol#comments li.comment table.bubble td,
  div#content ol#comments li.byuser table.bubble td.right div,
  div#content ol#comments li.comment table.bubble td.left div{
    background: url(images/comment-sprite.png) no-repeat top left;
  }
  
  div#content ol#comments li.comment table.bubble td.center {
    padding: 0.3em;
  }
    div#content ol#comments li.comment table.bubble td.center p{
      margin: 0 0 1.5em 0;
    }
    div#content ol#comments li.comment table.bubble td.center div.functions{
      text-align: right;
    } 
  div#content ol#comments li.comment table.bubble td.topleft{
    width: 17px;
    height: 7px;
    background-position: -930px -67px; 
  }
  div#content ol#comments li.comment table.bubble td.top{
    height: 7px;
    background-position: -930px -30px;
  }
  div#content ol#comments li.comment table.bubble td.topright{
    width: 17px;
    height: 7px;
    background-position: -930px -104px;
  }
  div#content ol#comments li.comment table.bubble td.left{
    vertical-align: top;
    width: 17px;
    background-position: 0 -147px;
  }
  div#content ol#comments li.comment table.bubble td.center{
    vertical-align: top;
    background: #F5F5F5;
  }
  div#content ol#comments li.comment table.bubble td.right{
    width: 17px;
    background-position: 0 -1077px;
  }
  div#content ol#comments li.comment table.bubble td.bottomleft{
    width: 17px;
    height: 9px;
    background-position: 0 -69px;
  }
  div#content ol#comments li.comment table.bubble td.bottom{
     height: 9px;
     background-position: 0 -30px;
  }
  div#content ol#comments li.comment table.bubble td.bottomright{
     width: 17px;
     height: 9px;
     background-position: 0 -108px;
  }
  /* Special for visitors */
  div#content ol#comments li.comment div.author{
     float: left;
   }
   div#content ol#comments li.comment table.bubble {
     float: left;
   }
  div#content ol#comments li.comment table.bubble td.left div{
    height: 19px;
    width: 17px;
    background-position: -930px -190px;
  }  
  div#content ol#comments li.comment div.clear{
    clear: left;
  }
  /* Special for registred users */
  div#content ol#comments li.byuser div.author{
    float: right;
    margin-right: 10px;
  }
  div#content ol#comments li.byuser table.bubble{
    width: 574px;
    float: right;
  }
  div#content ol#comments li.byuser table.bubble td.left div{
    height: 1px;
    width: 1px;
    background: none;
  }
  div#content ol#comments li.byuser table.bubble td.right div{
    height: 19px;
    background-position: -930px -141px;
  }
  div#content ol#comments li.byuser div.clear{
    clear: right;
  }
/* END MUCH STUFF FOR COMMENTS */

  div#content div.comment_navigation{
    margin-bottom: 10px;
  }

  div#content div#respond{
    border: 1px solid #CCCCCC;
    background: #FFFFFF;
    padding: 10px;
    margin-right: 10px;
  }
    div#content div#respond h3{
      margin-top: 0;
      margin-bottom: 0;
    }
    div#content div#respond p{
      margin-top: 0.5em;
    }
    div#content div#respond textarea{
      width: 100%;
      height: 100px;
    }

div#sidebar{
  float: right;
  width: 255px;
  padding: 0 10px 0 0;
}
div#sidebar.single{
  padding-top: 1em;
}
  div#sidebar div.box{
    background: #fff;
    border: 1px solid #f0f0f0;
    margin: 0.84em 0 1.435em 0;
    padding: 0 10px 10px 10px;
  }
  div#sidebar div.box h2{
    font-size: 1.1em;
    line-height: 1.5em;
    margin: 0 0 -1.53em 0; /* pull the first paragraph 1 line up */
  }
  div#sidebar div.box img.people{
    margin: 1em 0 -0.8em 0;
  }
  div#sidebar div.notice{
    background: #FDF8DD;
    border-color: #F5EABF;
  }
  div#sidebar div.twitter-box {
    background: url(images/twitter.gif) top right no-repeat #fff;
  }
  div#sidebar div.twitter-box a {
    color: #0af;
  }
  div#sidebar div.favorite-box {
    background: url(images/favorite.gif) top right no-repeat #fff;
  }  
  div#sidebar div.box li {
    margin: 5px;
  }
  div#sidebar div.rss-box {
    background: url(images/rss.gif) top right no-repeat #fff;
    height: 50px;
    font-size: 1.1em;
  }
  div#sidebar div.rss-box h3{
    margin-top: 20px;
    margin-bottom: 0;
  }
  div#sidebar div.rss-box a {
    color: #da5e00;
    padding: 5px 0 5px 0;
  }
div#footer{
  padding: 0 0.6em;
}

/************************************************************************/
/*                     HELPER CLASSES                                   */
/************************************************************************/
div.clear_both{
  clear: both;
}

