/* 
   Stylopis pro blog Vzhùru dolù
   Projekt: www.vzhurudolu.cz
   Autor: Martin Michalek, Studio Shortcat, michalek@shorcat.cz
*/

/* Importujeme Baseline */
@import "baseline.compress.css";

/* Importujeme stylopis pro komentarove reseni Disqus */
@import "disqus.css";


/* Oprava chovani Baseline */

div
{
  padding-bottom: 0;
}

p + p
{
  text-indent: 0;
}

p, pre, table, ul, ol
{
  margin-bottom: 18px;
  word-spacing: 0;
}

blockquote
{
  padding-bottom: 1px;
  padding-right: 0;
  padding-top: 8px;
  border-left: 8px solid #EEEEEE;
  margin-bottom: 18px;  
}

.post .regular blockquote p
{
  width: 400px;
  color: #666;
}

form
{
  overflow: hidden;
}

input[type="submit"], 
input[type="reset"], 
input[type="button"]
{
  height: auto;
  margin-left: 0;
  font-size: 12px;
  line-height: 18px;
  font-family: Arial, sans-serif;
}

/* Obecne prvky */

a 
{
  color: #5FA316;
	text-decoration: none;
	padding: 2px 1px;  
}

a:hover,
a:focus
{
	background: #5FA316;
	color: #fff;
}

pre
{
  background: #eee;
  padding: 9px;
  overflow: auto;
}

/* Layout */

#content
{
  width: 500px;
  margin-left: 100px;
}

/* Hlavicka */

#header
{
  background: #111;
  color: #fff;
  margin-left: -100px;
  padding-top: 36px;
  padding-bottom: 18px;
  padding-right: 70px;
  margin-bottom: 54px;    
}

#header #description {
  font-size: 28px;
  line-height: 32px;
  margin-left: 100px;  
}

#header h1 {
  display: inline;
  margin: 0;
  top: 0;
  font-size: 28px;
  line-height: 32px;  
}

#header h1 a {
  color: #FF33FF;
}

#header h1 a:hover {
  background-color: #FF33FF;
  color: #fff;
}



#header #search {
  margin-top: 36px;
  margin-left: 100px;    
}

/* Vyhledavaci input */
div#search input[type=text]
{
  font-size: 12px;
  color: #eee;
  background-color: #111;
  border: 1px solid #666;
  padding: 3px 5px 4px 5px;   
  display: inline;
  font-family: Arial, sans-serif;  
  vertical-align: middle;  
}

div#search input[type=text]:focus,
div#search input[type=text]:hover
{
  border-color: #eee;
  color: #eee; 
}

/* Vyhledavaci submit */
div#search input[type=submit]
{
  font-size: 12px;
  line-height: 1.3em; 
  letter-spacing: 0;
  color: #666;
  background-color: #111;
  border: 1px solid #666;
  padding: 3px 5px 3px 5px;
  display: inline;   
  vertical-align: middle;
}

div#search input[type=submit]:hover
{
  border-color: #eee;
  cursor: pointer;
  color: #eee;
}


/* Paticka */

#footer
{
  margin-top: 54px;
  border-top: #ccc 4px solid;
  padding-top: 6px;
  padding-bottom: 6px;
}

#footer a.paging
{
  font-size: 18px;
  line-height: 22px; 
  text-align: center;
}

#footer .tiny
{
  margin-top: 18px;
  font-size: 11px;
  font-family: Verdana, sans-serif;   
  text-transform: uppercase;  
}

#footer .tiny,
#footer .tiny a
{
	color: #999;
}

#footer .tiny a
{
  padding: 4px 2px;
}


#footer .tiny a:hover,
#footer .tiny a:focus
{
	background: #bbb;
	color: #fff;
}

#footer a.articles_archive
{
  padding: 4px 2px;
  margin-top: -1px;
  float: right;
  font-size: 11px;
  font-family: Verdana, sans-serif;   
  text-transform: uppercase;   
	color: #999;   
}

#footer a.articles_archive:hover,
#footer a.articles_archive:focus
{
	background: #bbb;
	color: #fff;
}


/* Odkazy s barevnymi mouseovery */

#footer .tiny a.facebook_link:hover
{
  background-color: #3B5998;
  color: #fff;
}

#footer .tiny a.twitter_link:hover
{
  background-color: #33CCFF;
  color: #fff;
}

#footer .tiny a.rss_link:hover
{
  background-color: #ff6600;
  color: #fff;
}





/* Datum zaznamu */

.date
{
  border-top: #333 4px solid;
  padding-top: 6px;
  padding-bottom: 6px;
  font-weight: bold;
}


/* Jedntotlive clanky (posty) */

.post
{
  position: relative;
  padding-bottom: 11px;
  margin-bottom: 54px;  
}




/* Nadpisy v postu */

.post h2
{
  margin-left: -2px;
  font-size: 28px; 
  line-height: 32px;
}

.post h3
{
  color: #999;
  margin-bottom: 9px;
  margin-top: 36px;
  font-size: 18px;
  line-height: 22px;
}

/* Tabulky v postu */

.post table {
  width: 490px;
}

.post table,
.post th,
.post td {
  border-color: #CCC;
}

.post tr:nth-child(2n+1) td {
  background-color: transparent;
}

/* Odkazy v postu */

.post a
{
  font-weight: bold;
}

.post h1 a,
.post h2 a,
.post h3 a,
.tags a,
.comments a
{
  font-weight: normal;
}

.comments
{
  margin-top: 27px;
}

.tags,
.comments
{
  margin-bottom: 0;
  text-transform: uppercase;
  font-family: Verdana, sans-serif;
  font-size: 11px;  
}

.tags a,
.comments a
{
  padding: 4px 2px; 
}

.tags,
.tags a
{
  color: #999;
}

.tags a:hover,
.tags a:focus
{
	background: #bbb;
	color: #fff;
}

.comments
{
  margin-left: -2px;
}

#content .post a.permalink
{
  z-index: 500;
  width: 18px;
  height: 18px;
  display: block;
  font-size: 11px;
  line-height: 11px;  
  font-family: Verdana, sans-serif;  
  position: absolute;
  bottom: 4px;
  right: -4px; 
  vertical-align: middle;  
}

#content .post a.permalink img
{
  vertical-align: middle; 
  margin-top: 2px;
  margin-left: 2px;
  margin-right: 6px;
}

#content .post a.permalink small
{
  display: none;
}

#content .post a.permalink:hover
{
  color: #fff;  
  background-color: #aaa;
  right: -105px;
  width: 120px;
}

#content .post a.permalink:hover small
{
  display: inline;
  font-weight: normal;
  vertical-align: middle;
  text-transform: uppercase;
  font-size: 11px;  
}

.post pre
{
  display: inline-block;
  min-width: 482px;
  overflow: auto;
  max-width: 860px;
}

.post code
{
  color: #666;
}

.post pre code
{
  white-space: nowrap;
  color: #222;  
}

/* Bezny post s textem */

/* Kratsi odstavce kvuli moznemu posunuti obrazku napravo */
.post .regular p
{
  width: 490px;
}

/* Posunuti obrazku napravo */
.post .regular p img[align=right]
{
  float: right;
  position: absolute;
  right: -110px;
}

/* Post s fotkou */

.post .photo a,
a.image
{
  display: inline-block;
  margin-bottom: 9px;
  padding: 0;  
  border: 4px solid #fff;
  position: relative;
  top: -4px;
  left: -4px;
}

.post .photo a:hover,
a.image:hover
{
  border-color: #5FA316;
}

.post .photo a img,
a.image img
{
  display: inline-block;
  margin-bottom: -4px;  /* TODO: Hack. Pod obrazky z nejakych duvodu zustava 4px prostor. */
}


.post .caption a
{
  display: inline;
  margin: 0;
  position: static;
	padding: 2px 1px;    
	border: 0;
}

/* Post s videem */

.post .video
{
  margin-bottom: 9px;
}

/* Post s citaci */

.post div.quote
{
  padding-left: 20px; 
  margin-top: 9px;
}

.post div.quote span.quote 
{
  font-size: 18px;
  color: #999;
  line-height: 22px;  
}

.post div.quote span.quote big.quote {
  font-size: 54px;
  font-weight: bold;
  line-height: 0;
  opacity: 0.5;
  vertical-align: -22px;
}

/* Horizontalni cara v postu */
.post hr {
  height: 1px;
}

/* Malym pismem */
.post small  {
  font-size: 11px;
}

/* Poznamka pod carou (podekovani, technicke poznamky atd.) */
.post .underline_note  {
  color: #999;
}

.post .underline_note a {
  color: #999;
  text-decoration: underline;
  font-weight: normal;
}

.post .underline_note a:hover {
  background: #bbb;
  color: #fff;
  text-decoration: none;
}



/* Velke odkazy pouzivane v textu - boxiky */

a.big_anchor
{
  border-top: 1px solid #eee;
  border-left: 1px solid #eee;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 10px;
  display: inline-block;
}

a.big_anchor:hover
{
  border-top: 1px solid #afd18b;
  border-left: 1px solid #afd18b;
  border-right: 1px solid #2f510b;
  border-bottom: 1px solid #2f510b;
}


/* === Odkaz "Cist dal" === */

.read_more
{
  margin-top: 25px;
}

.read_more a 
{
  border-top: 1px solid #eee;
  border-left: 1px solid #eee;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 10px;
  display: inline-block;
}

.read_more a:hover
{
  border-top: 1px solid #afd18b;
  border-left: 1px solid #afd18b;
  border-right: 1px solid #2f510b;
  border-bottom: 1px solid #2f510b;
}

/* === Staticky text === */

#static_text 
{
  margin-top: 54px;
}

#static_text a
{
  font-weight: bold;
}

#static_text h1 a
{
  font-weight: normal;
}


/* === Cufon fine-tuning === */

.cufon-active #header #description,
.cufon-active #header h1,
.cufon-active .post h2,
.cufon-active #static_text h1
{
  word-spacing: 1px;
}
