/*  
Theme Name: ItalicSmile ;)
Theme URI: http://italicsmile.com/
Description: Theme to help travelers or photographers easily create a site to share their journey. It's clean, simple and smart.  Pretty cool, eh? ;)
Author: Tim Bowen & Jake Snyder
Author URI: http://creativeslice.com/
Version: 1.2
Tags: two-columns, fixed-width, white, light, silver, blue, theme-options, photoblogging
.
Released under the <a href="http://www.opensource.org/licenses/gpl-license.php">GPL</a>.
.
*/

ul,ol { list-style:none }h1,h2,h3,h4,h5,h6,pre,code { font-size:1em; }
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input { margin:0; padding:0 }
a img,:link img,:visited img { border:none }
.clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
.clearfix {display: inline-block;}
* html .clearfix {height: 1%;}
.clearfix {display: block;}

body {
font: 77% verdana, arial, helvetica, sans-serif;
border-top: px solid #fff;
min-width: 970px; /* hack for firefox */
text-align: left;
color: #000;
background-color: #eeeeee;
background: #eeeeee url("bg-main.png") repeat-y center top;
}

a:link {
	color: #0033ff;
	text-decoration: none;
}
a:visited {
	color: #000099;
	text-decoration: none;
}
a:hover {
	color: #ff3300;
	text-decoration: underline;
}
a:active, a:focus {
	color: #ff9900;
	text-decoration: underline;
}

.aligncenter,div.aligncenter {display: block;margin: 0 auto;}
.alignleft {float: left; margin: 3px 10px 3px 0;}
.alignright {float: right; margin: 3px 0 3px 10px;}

hr {
border-top: 1px solid #eee;
border-bottom: 1px solid #ccc;
border-right: none;
border-left: none;
text-align: center;
margin: 2em 0;
}

.wrapper {
width: 900px;
width: 970px; 
margin: 0 auto;
}

strong {font-weight: bold;}

#main {
margin: 15px 0 25px 0;
}

h1 {
font-size: 3.6em;
font-weight: normal;
font-family: georgia, times, serif;
}

h2 {
font-size: 2em;
font-family: georgia, times, serif;
}

h3 {
font-size: 1.6em;
line-height: 1.8em;
font-family: georgia, times, serif;
}

h4 {
font-size: 1.3em;
font-family: georgia, times, serif;
}

h5 {
font-size: 1.3em;
font-family: georgia, times, serif;
color: #666;
}

h6 {
font-size: 1.3em;
font-family: georgia, times, serif;
color: #999;
}

/* -------------------- Header -------------------- */

#header {
height: 88px;
}

#header h1 {
margin: 10px 0 0 10px; margin: 10px 0 0 0px;
float: left;
font-style: normal;
font-weight: bold;
font-size: 4.2em;
letter-spacing: 2px;
}

#toptext {
margin: 30px 0 0 2em;
color: #666;
font-family: georgia, times, serif;
float: left;
font-size: 1.6em;
}

#topsearch {
background: #fff;
float: right;
padding: 4px;
  margin: 10px 0 15px 0;
}

#searchform .textfield {
color: #666;
padding: 1px 2px;
border: 1px solid #ccc;
background: #eee;
float: right;
}

#searchform #mag {
float: right;
padding: 3px 0 0 6px;
}

/* ---------------------- Sidebar ---------------------- */
#sidebar {
float:right;
display:inline;
width:166px;
padding: 0px 22px 10px 0;
text-align:left;
voice-family:inherit;
width:250px; float:left ; padding: 0px 0px 10px 0;
}

#sidebar h2 {
text-transform: uppercase;
font-weight: normal;
font-size: 1.2em;
letter-spacing: 1px;
}

#sidebar li {list-style: none; 
  font-family: Arial, Helvetica, sans-serif; line-height: 130%; 
}
#sidebar li li {margin-bottom: 3px; }

#sidebar li li, .widget_tag_cloud div {
  padding-left: 5px;
}
.widget_tag_cloud a {
  margin-right: 10px;
  font-size: 12px !important;
}

.sidebarpages h2 {
margin: 1.2em 0 5px 0;
border-bottom:1px solid #999;
}



/* II. a další úroveň kategorií na řádku */
.widget_categories ul li {
font-weight: bold;
}
.widget_categories ul ul {
display: inline;
padding: 0; margin: 0;
}
.widget_categories ul ul li {
display: inline;
font-weight: normal;
margin: 0 0 0 4px !important;
padding: 0 0 0 4px !important;
border-left: 1px solid #666;
}

/* odkazy na řádku */
.widget_links ul {
display: block;
padding: 0; margin: 0 0 0 5px;
}
.widget_links ul li {
display: inline;
font-weight: normal;
margin: 0 0 0 4px !important;
padding: 0 0 0 4px !important;
border-left: 1px solid #666;
}
.widget_links ul li:first-child {
border-left: none;
margin: 0 !important;
padding: 0 !important;
}


/* ------------------------------ Content ---------------------------- */


#content {
text-align: left;
float: right;
width: 700px;
}

#content .entry {
padding: 20px;
}

.blogpost, .post {
background: #fff;
margin-bottom: 10px;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ccc;
}

#content p {
font-size: 1.1em;
margin: 0 0 1.1em 0;
line-height: 1.4em;
}

#content h2 {
color: black;
}

#content h2.pagetitle  {
padding-bottom: .5em;

font-size: 1.4em;
}

#content h3 {
color: #666;
font-weight: normal;
padding-bottom: .3em;
}

#content ul {
list-style:disc;
padding-bottom: .6em;
}

#content ol {
list-style-type:decimal;
}

#content li {
margin-left: 30px;
padding-bottom: .3em;
line-height: 1.3em;
}

#content ul ul {
padding-top: .5em;
padding-bottom: 0;
}

#content ol {
margin-left: 5px;
}

#content blockquote {
padding-left: 1em;
border-left: 2px solid #ccc;
font-size: .9em;
color: #666;
}

#content img {
max-width: 660px;
}

.postmetadata {
font-size: .9em;
color: #666;
font-style: italic;
margin: .5em 0 2em 0;
}

#content .wp-caption {
border: 2px solid #ccc;
text-align: center;
background-color: #eee;
padding: 4px 0 0 0;
}

#content .wp-caption p.wp-caption-text {
padding: 4px;
margin:0;
color: #333;
font-size: 1em;
}

.gallery-caption {
color: #666;
font-size: .9em;
}

h1.four  {
font-size: 20em;
font-style: italic;
color: #ccc;
margin-left: .3em;
}

/* -------- Edit Post/Page Button for admins ------------- */

#content .edit a,
#content .edit a:visited {
background: #999;
color: #fff;
text-decoration: none;
font-size: .7em;
font-weight: bold;
padding: 1px 4px;
border: 1px solid #ccc;
}

#content .edit a:hover {
background: #e16f00;
border: 1px solid #e16f00;
color: #fff;
}

/* ----------- Comments ----------- */

#content #commentarea {
padding: 15px 20px;
border: 10px solid #ddd;
margin-top: -10px;
}

.commentlist .alt {background: #fff;}

ol.commentlist { list-style:none; margin:0; padding:0; }
ol.commentlist li { border:1px solid #ddd;  margin:0 0 10px; padding:5px 7px 5px 66px; position:relative; }
ol.commentlist li.pingback comment-author { padding:0 170px 0 0; }
ol.commentlist li div.vcard { font-weight:bold; font-size: 14px; line-height: 16px;}
ol.commentlist li div.vcard cite.fn { font-style:normal;  }
ol.commentlist li div.vcard img.avatar { background: #fff; border:1px solid #ccc; padding: 2px; left:5px; position:absolute; top:5px; }
ol.commentlist li div.comment-meta { font-weight:bold; font-size: 10px; line-height: 16px; position:absolute; right:10px; text-align:right; top:5px; }
ol.commentlist li div.comment-meta a { color:#999; text-decoration:none; }
ol.commentlist li p { font-weight:normal; font-size: 12px; line-height: 16px; margin:5px 0 12px; }
ol.commentlist li ul { font-weight:normal; font-size: 12px; line-height: 16px; list-style:square; margin:0 0 12px; padding:0; }
ol.commentlist li div.reply { background:#ddd; border:1px solid #fff; padding:1px 4px; width:33px; }
ol.commentlist li div.reply:hover { background:#fef0b6;}
ol.commentlist li div.reply a { text-decoration:none; font-weight: bold; font-size: 10px; text-transform: uppercase; }
ol.commentlist li ul.children { list-style:none; margin:12px 0 0; text-indent:0; }
ol.commentlist li ul.children li.depth-2 { margin:0 0 3px; list-style: none; }
ol.commentlist li ul.children li.depth-3 { margin:0 0 3px; }
ol.commentlist li ul.children li.depth-4 { margin:0 0 3px; }
ol.commentlist li ul.children li.depth-5 { margin:0 0 3px; }
ol.commentlist ul.children li.odd { background:#fff; }
ol.commentlist ul.children li.even { background:#f6f6f6; }
ol.commentlist li.pingback div.vcard { padding:0 170px 0 0; }

#commentform textarea {
width: 100%;
}
/* --------------------------- Footer ---------------------------- */

#footer {
clear: both;
border-top: 1px solid #ccc;
line-height: 1.8em;
font-size: 1em;
color: #333;
width: 970px; 
margin: 0 auto;
}

#footertext {
font-size: 0.9em;
clear: both;
text-align: center;
padding: 2em 1em;
}



.more-link { display: block; clear: both; }

.entry img.alignleft, .entry img.alignnone,  
.entry img.alignright, .entry img.aligncenter,
.entry img.attachment-thumbnail  
{ border: 1px solid silver; padding: 2px; }



#fbox  {
  padding-top: 10px;
  text-align: left;
  font-size: 11px !important;
  line-height: 125% !important;
  font-family: Arial, Helvetica, sans-serif;
  color: #555;
}
#fbox .fbox1, #fbox .fbox2 {
  width: 225px;
  float: left;
  margin: 0px 0 10px 10px;
  padding: 0 0 0 10px;
  border-left: 1px solid #ccc;
}
#fbox .fbox1 {
  margin: 0px 0 10px 0px;
  padding: 0;
  border-left: none;
}
#fbox hr {
  clear: both;
  border: none;
  border-top: 1px solid #ccc;
  height: 2px;
  margin: 10px 0px 0 0; padding: 0;
  display: block !important; 
}
#fbox p  { margin: 1px 0; text-align: left; }
#fbox ul { margin: 1px 0; padding: 0; list-style-type: square; }
#fbox li { margin: 0 0 0 1.2em; padding: 0; }
#fbox strong  { color: #333; }
#fbox a:link, #fbox a:visited { color: #336; text-decoration: none; }
#fbox a:hover                 { color: #c30; text-decoration: none; }
#fbox a:active, #fbox a:focus { color: #f90; text-decoration: none; }

p.attachment {
  text-align: center;
  clear: both;
}

p.attachment img {
  margin: 10px 0;
   border: 1px solid silver; padding: 2px;
}
