/*   
Theme Name: grunge
Theme URI: http://www.dotwired.de/
Description: WordPress-Theme für den privaten Blog von Daniel Zeilbauer
Author: .wired
Author URI: http://www.dotwired.de/
Version: 1.0
*/



/* overall  */

* {
  margin: 0;
  padding: 0;
}

body, html {
  font-family: Georgia, Serif;
  width: 100%;
  height: 100%;
}

body {
  background: url(images/bg.jpg);
  font-size: 13px;
}

a img {
  border: none;
}

ul {
  list-style-type: none;
}

.clear {
  clear: both;
}

.tabs-hide {
  display: none;
}

a {
  color: #CC0000;
  text-decoration: none;
}

/* HTML5 tags */
header, section, footer, aside, nav, article, figure {
	display: block;
}

/* header */

#header {
  position: relative;
  margin: 0 auto;
  width: 979px;
  height: 251px;
  background: url(images/header.jpg) no-repeat;
}

#header-left {
  position: absolute;
  width: 266px;
  height: 781px;
  background: url(images/header-left.jpg) no-repeat;
  left: -266px;
}

#header-right {
  position: absolute;
  width: 114px;
  height: 691px;
  background: url(images/header-right.jpg) no-repeat;
  right: -114px;
}

#logo {
  position: absolute;
  width: 430px;
  height: 70px;
  left: 160px;
  top: 70px;
  display: block;
}

#header-twitterlink, #header-feedlink {
  position: absolute;
  width: 115px;
  top: 188px;
  height: 31px;
  left: 603px;
}

#header-feedlink {
  left: 723px;
}

nav {
  position: absolute;
  top: 182px;
  left: 140px;
}

nav a {
  color: #746b72;
  font-size: 19px;
  padding: 7px 0;
  text-align: center;
  display: block;
}

.page-item-1 a {
  width: 88px;
  margin-right: 12px;
}
.page-item-702 a {
  width: 100px;
  margin-right: 12px;
}
.page-item-704 a {
  width: 119px;
  margin-right: 10px;
}
.page-item-706 a {
  width: 89px;
}

nav li {
  float: left;
}


/* content */

#main {
  margin: 0 auto;
  width: 979px;
}

#main-left, #main-center, #main-right {
  float: left;
}

#main-left {
  background: url(images/main-left.jpg) repeat-y;
  width: 23px;
}

#main-left-top {
  background: url(images/main-left-top.jpg) no-repeat;
  width: 23px;
  height: 600px;
}

#main-center {
  width: 903px;
  background: url(images/content-bg.jpg) repeat-y;
  background-position: 0 -6px;
  position: relative;
}

#content-top {
  position: absolute;
  width: 903px;
  background: url(images/content-top.jpg) no-repeat;
  height: 312px;
  left: 0;
}

#main-right {
  background: url(images/main-right.jpg) repeat-y;
  width: 53px;
}

#main-right-top {
  background: url(images/main-right-top.jpg) no-repeat;
  width: 53px;
  height: 600px;
}

#content {
  position: relative;
  width: 568px;
  float: left;
  margin-left: 18px;
  padding-top: 30px;
}


/* posts */

.post {
  border-bottom: 1px #dddddd solid;
  margin-bottom: 45px;
  padding-bottom: 15px;
}

.post p {
  margin-bottom: 8px;
}

.the-header {
  width: 568px;
  height: 95px;
  position: relative;
  background: #fff url(images/the-header.png) no-repeat;
  margin-bottom: 20px;
}

.the-header h2 {
  position: absolute;
  left: 120px;
  font-size: 20px;
  font-style: italic;
  font-weight: 100;
}

.the-header h2 a {
  color: #211710;
  text-decoration: none;
}

.comments-link {
  position: absolute;
  right: 0;
  bottom: 11px;
  width: 112px;
  font-size: 12px;
  font-style: italic;
}
.comments-link a {
  color: #838282;
}

.comments-link-count {
  font-size: 16px;
  font-style: normal;
  color: #767676 !important;
  margin-right: 14px;
}

.the-category {
  position: absolute;
  left: 120px;
  top: 42px;
  color: #22160f;
  font-size: 11px;
}

.the-category a {
  color: #22160f;
  border-bottom: 1px #22160f dotted;
}

.the-postdate {
  position: absolute;
  left: 10px;
  top: 10px;
}

.the-day {
  font-size: 21px;
  color: #4c4c4c;
  text-decoration: underline;
}

.the-month {
  font-size: 21px;
  color: #4c4c4c;
}

.the-year {
  font-size: 12px;
  color: #4c4c4c;
  line-height: 20px;
}

.post-content {
  line-height: 20px;
  margin-bottom: 18px;
}

.socialize {
  float: left;
  margin-left: 30px;
}

.socialize a {
  margin-right: 8px;
  float: left;
  display: block;
}

.socialize .arrow {
  margin-top: 4px;
}

.read-on {
  float: right;
}

.preview {
  float: left;
  border: 1px #dddddd solid;
  margin-right: 14px;
}

.preview a {
  display: block;
}

.preview img {
  padding: 6px 6px 4px 6px;
}

.alignleft {
  float: left;
  margin-right: 9px;
}

.alignright {
  float: right;
  margin-left: 9px;
}

.post-content ul, .post-content ol {
  margin: 0 0 10px 26px;
}

.post-content ul {
  list-style-type: disc;
}

blockquote {
  padding: 3px 0 0 15px;
  margin-bottom: 10px;
  color: #444;
  border-left: 2px #999 solid;
} 


/* comments */

#comments {
  border-top: 1px #dddddd solid;
  margin: 25px 0 0 0;
  padding: 15px;
}

.comment_respond, #trackback_h {
  font-size: 18px;
  font-style: italic;
  font-weight: 100;
  margin: 7px 0 5px 0;
}

#comment-required {
  color: #777;
  font-size: 10px;
  padding: 3px;
}

.comment {
  line-height: 20px;
  padding: 10px;
  margin: 10px 0;
  border-bottom: 1px #efefef dotted;
  border-top: 1px #efefef dotted;
}

.comment-author-name {
  font-style: italic;
  margin-bottom: 10px;
  font-size: 15px;
}

.gravatar {
  float: left;
  margin-right: 12px;
}

.comment-count {
  float: right;
  font-size: 15px;
  font-style: italic;
}

#commentform {
  margin: 10px 0;
}

.comment-input input{
  margin-bottom: 6px;
  border: 1px #ddd solid;
  padding: 3px;
  color: #666;
  width: 200px;
  font-family: Georgia, Serif !important;
  margin-right: 5px;
}

#comment {
  border: 1px #ddd solid;
  width: 100%;
  height: 125px;
  font-family: Georgia, Serif !important;
  font-size: 12px;
  color: #555;
  padding: 3px;
}

#comment-submit {
  cursor: pointer;
  border: 1px #dedede solid;
  background: #fafafa;
  font-style: italic;
  margin: 9px 0 0 0;
  padding: 3px;
  font-family: Georgia, Serif !important;
}


/* Sidebar */

aside {
  position: relative;
  float: left;
  margin-left: 20px;
  padding-top: 30px;
}

#search {
  padding: 16px 0 0 26px;
}

#s {
  border: none;
  background: transparent;
  padding: 3px;
  width: 157px;
  font-family: Georgia, Serif;
}

#searchsubmit {
  width: 55px;
  padding: 3px;
  border: none;
  background: transparent;
  cursor: pointer;
}

#grungetabbox {
  background: url(images/grungetab-bg.png) repeat-y;
  width: 277px;
  margin-bottom: 45px;
  padding-bottom: 20px;
  position: relative;
}

#grungetabbox-top {
  background: url(images/grungetab-top.png) no-repeat;
  width: 277px;
  height: 208px;
}

#grungetabbox-bottom {
  float: none;
  clear: both;
  width: 277px;
  height: 90px;
  background: url(images/grungetab-bottom.png) no-repeat;
  position: absolute;
  bottom: -20px;
  z-index: 1;
}

#the-tab {
  margin-top: -145px;
  position: relative;
  z-index: 99;
  margin-bottom: -10px;
}

.tabs-nav {
  margin: 0 0 0 18px;
  padding-top: 2px;
  zoom: 1;
}

.tabs-nav li, .tabs-nav a {
  display: block;
  width: 76px;
  height: 32px;
  float: left;
}

.tabs-nav .clear {
  width: 0 !important;
  height: 0 !important;
  float: none !important;
  clear: both !important;
}

.tabs-selected a {
  background: url(images/grungetab-current.png) no-repeat;
}

.tabs-selected .tabbox-mid-nav {
  background: url(images/grungetab-current.png) no-repeat;
  background-position: 3px 0;
}

.tabs-selected .tabbox-last-nav {
  background: url(images/grungetab-current.png) no-repeat;
  background-position: 10px 0;
}

.tabbox-latest-list {
  padding: 7px 0;
}

.tabbox-latest-list li {
  margin: 0 26px 0 20px;
  border-bottom: 1px #e4d7a3 solid;
  padding: 15px 0 0 0;
  background: url(images/sidebar-list-off.png) no-repeat;
  background-position: 0 28px;
}

.tabbox-latest-list li:hover {
  background: url(images/sidebar-list-on.png) no-repeat;
  background-position: 0 27px;
}

.tabbox-latest-list li.clear {
  border: none !important;
  padding: 0 !important;
}

.valign-center {
  float: left;
  padding-left: 25px;
}

#grungetabbox h4 {
  font-style: italic;
  font-size: 12px;
  font-weight: 100;
  width: 155px;
  display: table-cell;
  vertical-align: middle;
  height: 39px;
}

#grungetabbox h4 a {
  color: #3f3a3a;
}

.tabbox-preview {
  width: 32px;
  height: 32px;
  display: block;
  float: right;
  overflow: hidden;
  border: 1px #e4d7a3 solid;
  padding: 3px;
  margin-bottom: -1px;
}

#tabbox-comments-list {
  padding: 7px 0;
}

#tabbox-comments-list li {
  margin: 0 16px 0 20px;
  border-bottom: 1px #e4d7a3 solid;
  padding: 15px 0 0 0;
  background: url(images/sidebar-list-off.png) no-repeat;
  background-position: 0 16px;
}

#tabbox-comments-list li:hover {
  background: url(images/sidebar-list-on.png) no-repeat;
  background-position: 0 15px;
}

#tabbox-comments-list li.clear {
  border: none !important;
  padding: 0 !important;
  height: 0 !important;
}

#tabbox-comments-list a {
  color: #3f3a3a;
  font-style: italic;
  padding-left: 24px;
}

#grungecategories {
  width: 277px;
  margin-bottom: 35px;
  margin-top: -10px;
}

#grungecategories ul {
  padding-left: 15px;
  background: url(images/grungecategories-bg.png) repeat-y;
  padding-bottom: 7px;
}

#grungecategories-top {
  background: url(images/grungecategories-top.png) no-repeat;
  width: 277px;
  height: 75px;
}

#grungecategories-bottom {
  background: url(images/grungecategories-bottom.png) no-repeat;
  width: 277px;
  height: 43px;
  margin-top: -30px;
}

#grungecategories a {
  color: #3f3a3a;
  font-style: italic;
  background: url(images/sidebar-list-off.png) no-repeat;
  background-position: 0 4px;
  padding: 3px 0 3px 25px;
  line-height: 22px;
}

#grungecategories a:hover {
  background: url(images/sidebar-list-on.png) no-repeat;
  background-position: 0 3px;
}

#grungetags {
  background: url(images/grungetags-header.png) no-repeat;
  padding: 86px 13px 0 13px;
  width: 251px;
  text-align: center;
}

#grungetags h3 {
  text-transform: uppercase;
  font-size: 12px;
  color: #6c6a6a;
  font-weight: 900;
  margin-top: -56px;
  margin-bottom: 30px;
}

#grungetags a {
  color: #696860;
}



/* footer */

footer {
  height: 334px;
  width: 1009px;
  position: relative;
  left: 50%;
  background: url(images/footer.jpg) no-repeat;
  margin-left: -520px; 
}

#impressum {
  position: absolute;
  top: 102px;
  left: 450px;
  height: 20px;
  width: 100px;
}

#footer-twitterlink, #footer-feedlink, #footer-fblink {
  height: 34px;
  width: 34px;
  position: absolute;
  top: 148px;
  left: 680px;
}

#footer-feedlink {
  left: 725px;
}

#footer-fblink {
  left: 766px;
}

#footer-wplink {
  height: 40px;
  width: 40px;
  position: absolute;
  top: 126px;
  left: 836px;
}




