body {
  width: 720px;
  margin: 0 auto;
  font-family: Verdana, "Geneva CE", lucida, sans-serif; font-size: 10pt;
  line-height: 1.5;
  color: black; background-color: white;
}
article, aside, footer, header, nav, section { display: block; } /* HTML5 */
table { border-spacing: 0; }
table td, table th { text-align: left; vertical-align: top; }
a { color: #124080; }
a:visited { color: #071a33; }
a img { border: none; }

#header {
  height: 120px;
  margin: 1em 0 2px 0; border-top-left-radius: 5px; border-top-right-radius: 5px; -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
  background: black url("/images/header.jpg");
}
#header a { display: block; height: 120px; }

#menu {
  margin-bottom: 1em; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; -moz-border-radius-bottomright: 5px; -moz-border-radius-bottomleft: 5px; padding: .3em .7em;
  text-align: center;
  background-color: black; color: gray;
}
#menu a { text-decoration: none; color: white; }
#menu a:hover { color: #ffffc0; }
#menu a.current { font-weight: bold; color: #ffff80; }
#menu .separator { padding: 0 .4em; }
#menu #language-switcher { float: right; }

#breadcrumbs { margin-top: 2.5em; font-size: 80%; }

#sidebar { float: right; width: 160px; margin-top: 1em; }
#sidebar .box {
  margin-bottom: 20px; border-radius: 5px; -moz-border-radius: 5px; padding: 5px 10px;
  font-size: 90%; line-height: 1.4;
  color: #a3a396; background-color: #f0f0dc;
}
#sidebar .box h1 {
  margin: 0; border: none;
  font-family: "Trebuchet MS", "Geneva CE", lucida, sans-serif; font-size: 120%;
}
#sidebar .box ul { margin: .5em 0; padding-left: 1.5em; }
#sidebar #recent-articles li { padding: .25em  0; }
#sidebar #archive         li { padding: .125em 0; }
#sidebar #rss             ul { list-style-type: none; padding-left: 0; }
#sidebar #rss             li { background: url("/images/rss.png") left center no-repeat; padding: .25em 0 .25em 1.75em; }

#footer {
  clear: both;
  margin: 2em 0 1em 0;
  text-align: center; font-size: 70%;
  color: #a3a396;
}
#footer a { color: #a3a396; }

#content { margin-top: 1.5em; }
#content.with-sidebar { margin-right: 200px; }

#content h1 {
  margin: 0 0 1em 0;
  border-bottom: 2px solid #a3a396;
  font-family: "Trebuchet MS", "Geneva CE", lucida, sans-serif; font-size: 175%;
}
#content h2 {
  margin: 1.25em 0 .75em 0;
  font-family: "Trebuchet MS", "Geneva CE", lucida, sans-serif; font-size: 140%; font-weight: normal;
}
#content h3 {
  margin: 1.25em 0 .75em 0;
  font-family: "Trebuchet MS", "Geneva CE", lucida, sans-serif; font-size: 120%;
}
#content li { margin: .5em 0; }
#content dt { font-weight: bold; }
#content dd { margin-top: 1em; margin-bottom: 1em; }
#content pre {
  overflow: auto;
  border-radius: 5px; -moz-border-radius: 5px; padding: .5em 1em;
  color: white; background-color: #141414;
}
#content blockquote {
  margin: 0 0 0 .2em; border-left: 4px solid #a3a396; padding: 0 1.5em;
}
#content hr { height: 1px; margin: 1em 0; border: none; background-color: #a3a396; }

#content table.real { border-collapse: collapse; border: 1px solid #a3a396; }
#content table.real td, #content table.real th { padding: .25em .5em; border: 1px solid #a3a396; }
#content table.real td.left,   #content table.real th.left   { text-align: left; }
#content table.real td.center, #content table.real th.center { text-align: center; }
#content table.real td.right,  #content table.real th.right  { text-align: right; }
#content table.real th { text-align: center; background-color: #f0f0dc; }

#content a.rss { float: right; }

#content .left   { text-align: left;   }
#content .center { text-align: center; }
#content .right  { text-align: right;  }

#content .link-details { font-size: 80%; color: #a3a396; }

#content #info-messages, #content #error-messages {
  margin: 1em 0; border-radius: 5px; -moz-border-radius: 5px; padding: .5em 1em;
}
#content #info-messages  { background-color: #c0ffc0; }
#content #error-messages { background-color: orange;  }
#content #info-messages ul, #content #error-messages ul {
  margin: 0; padding-left: 2em;
}

/* Titulní stránka */

#content #intro { width: 90%; margin: 3em auto 0 auto; }
#content #intro #intro-image { float: left; }
#content #intro #intro-text { margin-left: 140px; }

#content #recent-writings td { width: 50%; font-size: 90%; }
#content #recent-writings #recent-notebook-items { padding-right: 1.5em; }
#content #recent-writings #recent-twitter-items  { padding-left:  1.5em; }
#content #recent-writings ul { padding-left: 2em; }
#content #recent-writings li { margin-bottom: .75em; }
#content #recent-writings ul.notebook li { line-height: 1.2; }

/* Kdo jsem */

#content #bluebar { float: right; width: 160px; margin: 0 0 20px 20px; }
#content #bluebar .box {
  margin-bottom: 20px; border-radius: 5px; -moz-border-radius: 5px; padding: 5px 10px;
  font-size: 90%; line-height: 1.4;
  color: #7e948a; background-color: #dae6e1;
}
#content #bluebar .box h1 { margin: 0; border: none; font-size: 120%; }
#content #bluebar .box ul { margin: .5em 0; padding-left: 1.5em; }
#content #bluebar .box li { padding: .125em 0; }
#content #bluebar .box .link-details { color: #97b2a7; }
#content #bluebar #profiles ul { list-style-type: none; padding-left: 0; }
#content #bluebar #profiles li { padding-left: 24px; background-position: center left; background-repeat: no-repeat; }
#content #bluebar #profiles li.twitter  { background-image: url("/images/who-am-i/twitter.png");  }
#content #bluebar #profiles li.github   { background-image: url("/images/who-am-i/github.png");   }
#content #bluebar #profiles li.linkedin { background-image: url("/images/who-am-i/linkedin.png"); }
#content #bluebar #profiles li.facebook { background-image: url("/images/who-am-i/facebook.png"); }

#content table.minigallery { margin: 0 auto; }
#content table.minigallery td { padding: 0 .75em; vertical-align: middle; }

/* Zápisník */

#content article h1 a { text-decoration: none; color: inherit; }
#content article footer { margin-bottom: 2em; text-align: right; font-size: 80%; }

/* Compatibility with old content. */
#content .color-000000 { color: white;   }
#content .color-800000 { color: #ff8080; }
#content .color-008000 { color: #80ff80; }
#content .color-000080 { color: #8080ff; }
#content .highlight {
  margin-left: 2em; margin-right: 2em; border: 2px solid #808000; border-radius: 5px; -moz-border-radius: 5px; padding: .5em 1em;
  background-color: #ffffc0;
}
#content .indented { margin-left: 4em; }

#content table.comments { width: 100%; margin: 1em 0; font-size: 90%; }
#content table.comments tr.odd { background-color: #f7f7ed; }
#content table.comments tr.even.preview,
#content table.comments tr.odd.preview { background-color: #ffffc0; }
#content table.comments td { padding: 10px 0; }
#content table.comments td.gravatar-and-index { width: 50px; padding-right: 10px; text-align: center; }
#content table.comments td.gravatar-and-index a.permalink { margin-top: 10px; font-size: 80%; text-decoration: none; color: #a3a396; }
#content table.comments td.author-info { width: 115px; padding-right: 5px; font-size: 80%; color: #a3a396; }
#content table.comments td.author-info a { color: #a3a396; }
#content table.comments td.author-info h3 { margin: 0; font-size: 150%; color: black; }
#content table.comments td.text {
  max-width: 330px; /* Avoids overflow with wide <pre>. */
  padding-right: 10px;
}
#content table.comments td.text .ugly-wrapper { margin: -1em 0; }

#content #add-comment #comment-preview-description { font-size: 80%; }

#content #add-comment-form table { width: 100%; }
#content #add-comment-form table tr.buttons td { text-align: right; }
#content #add-comment-form table th,
#content #add-comment-form table td { padding-bottom: .75em; }
#content #add-comment-form table th { font-weight: normal; padding-right: .5em; }
#content #add-comment-form #add-comment-form-name  { width: 18em; }
#content #add-comment-form #add-comment-form-email { width: 18em; }
#content #add-comment-form #add-comment-form-web   { width: 18em; }
#content #add-comment-form #add-comment-form-text  { width: 100%; height: 20em;}
#content #add-comment-form #add-comment-form-check { width: 18em; }
#content #add-comment-form .not-required-info { font-size: 70%; color: #a3a396; }
#content #add-comment-form .note { font-size: 70%; }

/* Projekty */

#content table.projects td { padding-bottom: 2em; }
#content table.projects td.icon {
  width: 200px;
  padding-right: 60px;
  text-align: center; vertical-align: middle;
}
#content table.projects td h2 { margin: 0 0 .25em 0; }
#content table.projects td h2 a { text-decoration: none; color: inherit; }
#content table.projects td p { margin: .25em 0; }

/* 404 */

#black-hole { margin: 3em 0; text-align: center; }
