/*
Theme Name: LGm's World
Theme URI: http://www.lgmsworld.de/
Description: ...
Author: Tim Gerundt
Author URI: http://www.gerundt.de/
Version: 0.7.0
*/

body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: Verdana,sans-serif;
  font-size: small;
  background: #AAAAAA;
}

code,pre {
  font-family: 'Lucida Console',monospace;
  font-size: 1em;
  /*line-height: 120%;*/
}

h2,h3,h4,h5,h6 {
  font-family: Tahoma,Verdana,sans-serif;
}

/* Layout */
#wrap {
  min-width: 500px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  background: white url(images/wrap-bg.gif) repeat-y 70% 0;
}
#content {
  float: left;
  width: 70%;
}
#sidebar {
  float: right;
  width: 30%;
}

/* Gutters */
#content .gutter {
  margin: 0;
  padding: 10px;
}
#sidebar .gutter {
  margin: 0;
  padding: 10px;
}

/* Header */
#header {
  color: #004080;
  background: #99CCFF;
}
#header h1 {
  margin: 0;
  padding: 5px;
  font-size: xx-large;
}
#header p.description {
  margin: 0;
  padding: 0 0 5px 5px;
}
#header a:link,
#header a:hover,
#header a:focus,
#header a:active,
#header a:visited {
  color: white;
  text-decoration: none;
}

/* Tabs */
#tabs {
  clear: both;
  color: #99CCFF;
  background: #004080;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}
#tabs ul {
  margin: 0;
  padding: 5px;
  list-style-type: none;
}
#tabs ul li {
  display: inline;
  margin: 0;
  padding: 0 .5em 0 .5em;
  border-right: 1px solid white;
}
#tabs li:last-child {
  border: none;
}
#tabs li.current_page_item,
#tabs li.current_page_parent {
  font-weight: bold;
}
#tabs a:link{color:#FFFFFF;text-decoration:none;}
#tabs a:visited{color:#FFFFFF;text-decoration:none;}
#tabs a:hover{color:#FFFFFF;text-decoration:none;background:#000000;}
#tabs a:active{color:#000000;text-decoration:none;background:#FFFFFF;}
#tabs a:focus{color:#FFFFFF;text-decoration:none;background:#000000;}

/* Sidebar */
#sidebar h2 {
  margin: 0;
  padding: 2px 5px 2px 5px;
  font-size: medium;
  font-family: Verdana,sans-serif;
  color: white;
  background: #004080;
  border: 1px solid black;
}
#sidebar ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
#sidebar ul ul {
  margin: 0;
  margin-bottom: 1em;
  padding: 5px;
  list-style-type: square;
  color: #004080;
  background: #99CCFF;
  border: 1px solid black;
  border-top: 0;
}
#sidebar ul ul ul {
  margin: 0;
  padding: 0;
  border: none;
}
#sidebar li li {
  margin-left: 1.25em;
}
#sidebar select {
  width: 100%;
  margin: 0;
  margin-bottom: 1em;
  padding: 0;
  color: #FFFFFF;
  background: #99CCFF;
  border: 1px solid black;
  border-top: 0;
}
#sidebar li.current_page_item {
  font-weight: bold;
}
#sidebar li.current_page_item ul {
  font-weight: normal;
}
#sidebar a:link{color:#FFFFFF;text-decoration:none;}
#sidebar a:visited{color:#FFFFFF;text-decoration:none;}
#sidebar a:hover{color:#FFFFFF;text-decoration:none;background:#000000;}
#sidebar a:active{color:#000000;text-decoration:none;background:#FFFFFF;}
#sidebar a:focus{color:#FFFFFF;text-decoration:none;background:#000000;}

/* Tag cloud */
.widget_tag_cloud {
  margin-bottom: 1em;
  padding-bottom: 5px;
  text-align: center;
  color: #004080;
  background: #99CCFF;
  border: 1px solid black;
}
.widget_tag_cloud h2 {
  text-align: left;
  border: 0 !important;
  border-bottom: 1px solid black !important;
}

/* Calendar */
.widget_calendar h2 {
  display: none;
}
#wp-calendar {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: #004080;
  background: #99CCFF;
  border: 1px solid black;
}
#wp-calendar caption {
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 2px 5px 2px 5px;
  font-weight: bold;
  font-size: medium;
  font-family: Verdana,sans-serif;
  color: white;
  background: #004080;
  border: 1px solid black;
  border-bottom: 0;
}

/* Search */
#search {
  margin: 0;
  margin-bottom: 1em;
  padding: 0;
}
#search form {
  margin: 0;
  padding: 0;
}

/* Content */
#content h2 {
  margin: 0;
  padding: 0;
}
#content ul {
  list-style-type: square;
}
#content img {
  border: 0;
}
#content a:link{color:#004080;text-decoration:underline;}
#content a:visited{color:#004080;text-decoration:underline;}
#content a:hover{color:#004080;text-decoration:none;}
#content a:active{color:#99CCFF;text-decoration:none;}
#content a:focus{color:#004080;text-decoration:none;}

#content .posttitle a:link{color:#004080;text-decoration:none;}
#content .posttitle a:visited{color:#004080;text-decoration:none;}
#content .posttitle a:hover{color:#004080;text-decoration:underline;}
#content .posttitle a:active{color:#99CCFF;text-decoration:underline;}
#content .posttitle a:focus{color:#004080;text-decoration:underline;}

/* Footer */
#footer {
  clear: both;
  text-align: center;
  color: #99CCFF;
  background: #004080;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}
#footer p {
  margin: 0;
  padding: 5px;
}
#footer a:link{color:#FFFFFF;text-decoration:underline;}
#footer a:visited{color:#FFFFFF;text-decoration:underline;}
#footer a:hover{color:#FFFFFF;text-decoration:none;}
#footer a:active{color:#000000;text-decoration:none;}
#footer a:focus{color:#FFFFFF;text-decoration:none;}

/* Previous/Next Page Navigation */
.navigation {
  float: left;
  width: 100%;
  margin: 0;
  margin-bottom: 1em;
  padding: 0;
}
.navigation .previous {
  float: left;
}
.navigation .next {
  float: right;
}

/* Post */
.post {
  clear: both;
}
.posttitle {
  margin: 0;
}
p.posttime {
  margin: 0;
  padding-left: 20px;
  font-family: Tahoma,Verdana,sans-serif;
  color: gray;
  background: url(images/time.png) no-repeat center left;
}
ul.postmeta {
  margin: 0;
  margin-bottom: 4em;
  padding: 0;
  list-style-type: none;
  font-family: Tahoma,Verdana,sans-serif;
  color: gray;
}
ul.postmeta li {
  display: inline;
  margin: 0;
  margin-right: 1em;
}
ul.postmeta li.postcategory {
  padding-left: 20px;
  background: url(images/folder.png) no-repeat center left;
}
ul.postmeta li.posttags {
  padding-left: 20px;
  background: url(images/tag.png) no-repeat center left;
}
ul.postmeta li.postcomments {
  padding-left: 20px;
  background: url(images/comments.png) no-repeat center left;
}
ul.postmeta li.posttrackback {
  padding-left: 20px;
  background: url(images/link.png) no-repeat center left;
}
ul.postmeta li.postedit {
  padding-left: 20px;
  background: url(images/pencil.png) no-repeat center left;
}

/* Comments */
ul.commentsmeta {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-family: Tahoma,Verdana,sans-serif;
  color: gray;
}
ul.commentsmeta li {
  display: inline;
  margin: 0;
  margin-right: 1em;
}
ul.commentsmeta li.commentsrespond {
  padding-left: 20px;
  background: url(images/comment_add.png) no-repeat center left;
}
ul.commentsmeta li.commentsfeed {
  padding-left: 20px;
  background: url(images/feed.png) no-repeat center left;
}

#commentlist {
  margin-right: 1em;
  margin-bottom: 4em;
}
#commentlist li {
  margin-bottom: 1em;
  padding: 0;
  color: black;
  background: #EEEEEE;
  border: 1px solid black;
}
#commentlist li h4 {
  margin: 0;
  padding: 2px 5px 2px 5px;
  font-size: medium;
  font-family: Verdana,sans-serif;
  color: black;
  background: #CCCCCC;
}
#commentlist p {
  margin: 0;
  padding: 5px;
}
#commentlist p.commenttime {
  margin: 0;
  padding: 0 5px 2px 5px;
  font-size: x-small;
  color: black;
  background: #CCCCCC;
  border-bottom: 1px solid black;
}
#commentlist a:link{color:#000000;text-decoration:underline;}
#commentlist a:visited{color:#000000;text-decoration:underline;}
#commentlist a:hover{color:#000000;text-decoration:none;}
#commentlist a:active{color:#FFFFFF;text-decoration:none;}
#commentlist a:focus{color:#000000;text-decoration:none;}

#commentform {
  margin: 0;
  margin-left: 3em;
  padding: 0;
}
#commentform p {
  margin: 0;
  margin-bottom: 0.5em;
  padding: 0;
}
#commentform label {
  display: block;
  font-family: Tahoma,Verdana,sans-serif;
}
#commentform label em {
  color: gray;
}
#commentform span.required {
  color: red;
}
#commentform ul {
  margin: 0;
  margin-bottom: 1em;
  padding: 0;
  list-style-type: none;
  font-family: Tahoma,Verdana,sans-serif;
}
#commentform li {
  display: inline;
  margin: 0;
  margin-right: 1em;
}
#commentform li.logout {
  padding-left: 20px;
  background: url(images/door_open.png) no-repeat center left;
}

/* Quotes */
blockquote {
  font-size: x-small;
  border: 1px solid #CCCCCC;
  border-left: 7px solid #CCCCCC;
}
blockquote p {
  margin: 0;
  padding: 3px;
}

/* */
pre {
  padding: 5px;
  color: black;
  background: #EEEEEE;
  border: 1px solid #CCCCCC;
  
  /* http://sw-guide.de/2006-10/code-bloecke-pre-elemente-auf-webseiten/ */
  white-space: pre-wrap; /* css-3 */
  white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
  word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.hidden {
  display: none;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Changelog */
dl.changelog dt {
  font-weight: bold;
}
dl.changelog dd {
  padding-left: 10px;
  background-image: url(images/square.png);
  background-repeat: no-repeat;
  background-position: left;
}

/* IE fixes */
#header, #tabs, #content, #sidebar, #footer {
  height: 1%;
}