/*   
Theme Name: Czaj na zamku
Theme URI: http://czajnazamku.com/ 
Description: Czadowo czajowo grafika. 
Author: Eva Kasakova
Version: 1.0
.
Coded by Chester P. :)
.
*/

body {
  margin: 0;
  padding: 0;
  background: #A9CF94 url('./images/menu_bar_bg.png') 0 200px repeat-x;
  font-family: Verdana, sans-serif;
  font-size: 10pt;
}

h1, h2, h3, li, ol, p, ul {
  margin: 0;
  padding: 0;
}

hr.clear {
  visibility: hidden;
  clear: both;
}

a:link, a:visited {
  color: #166F38;
}

a:hover {
  text-decoration: none;
}

/* Header */

#header {
  height: 200px; /* Alas size of header logo */
}

.cz {
  background: url('./images/header_bg_cz.png') 0 0 no-repeat;
}

.pl {
  background: url('./images/header_bg_pl.png') 0 0 no-repeat;
}

.cz #logo {
  margin-left: 218px; 
}

.pl #logo {
  margin-left: 184px; 
}

#header img {
  border: 0;
}

/* Page */
#page {
  margin: 5px 25px 30px;
  width: 950px;
}

/* Menu */
#menu {
  width: 95%;
  float: left;
  position: relative; top: -5px;  
}

#menu ul {
  list-style: none;
} 

#menu li {
  display: block;
  float: left;
  position: relative;
}

#menu ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;  
  z-index: 500;
  background: black;
}

#menu ul li:hover ul {
  display: block;
}

#menu ul ul li {
  width: 100%;
  white-space: nowrap;
}

#menu a:link, #menu a:visited {
  display: block;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;  
}

#menu a:hover {
  background: #1A8A43;
}

#menu li a {
  padding: 7px 15px;
}

#menu li li a {
  padding: 7px 12px;
}

/*
#menu li li a:link, #menu li li a:visited {
  float: none;
  width: 40px;
}
*/

/* Search box */
#search_box {
  float: right;
  width: 18%;
  display: none; /* not needed */
}

#search_box input {
  position: relative; top: -2px;
}

#search_box #s {
  width: 100px;
}

label.screen-reader-text {
  display: none;
}

#main {
  clear: both;
}

.breadcrumb {
  padding: 4px 0px 4px 15px;
  font-size: 10pt;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Content */
#content_box {
  float: left;
  width: 620px;
  background: url('./images/content_bg.png') repeat-y;
}

.content_top_box {
  height: 12px;
  background: url('./images/content_bg_top.png') no-repeat;
}

.content_bottom_box {
  height: 12px;
  background: url('./images/content_bg_bottom.png') no-repeat;
}

#content {
  padding: 20px 30px 20px;
  position: relative; top: -3px;
}

.page-id-29 #content { /* O festivalu */
  background: url('./images/photo.jpg') center top no-repeat;
  padding: 120px 30px 20px;
}

#content h1, #content h2 {
  margin: 0.5em 0;
  color: #1A8A43;
  font-family: Georgia, serif;
  font-weight: normal; 
}

#content h2 {
  margin-top: 1.5em;
}

#content p {
  margin-top: 1em;
}

#content{
  line-height: 1.4;
  text-align: justify;
}

#content ul {
  margin-top: 15px;
}

#content ul li {
  margin-left: 40px;
}

.entry a img {
  border: 0px;
}

.post a h2 {
  text-decoration: none;
}

.post a:hover h2 {
  text-decoration: underline;
}

.attachment-blog-thumbnail {
  float: left;
  margin-right: 20px;
  border: #1a8a43 2px solid; 
}

/* */
/*
img.alignleft {
  float: left;
}

img.alignright {
  float: right;
}
*/

/* Sidebar */
#sidebar {
  float: right;
  width: 320px;
}

.sidebox {
  margin: 0 0 20px;
  background: url('./images/sidebox_bg.png') repeat-y;
  position: relative; top: 1px;
}

.sidebox_top {
  height: 12px;
  background: url('./images/sidebox_bg_top.png') no-repeat;
}

.sidebox_bottom {
  height: 12px;
  background: url('./images/sidebox_bg_bottom.png') no-repeat;
}

.sidebox_content {
  padding: 10px 20px;
}

.sidebox h2 {
  margin-bottom: 5px;
  border-bottom: solid 3px #166F38;
  color: white;
  font-family: Georgia, serif;
  font-weight: normal;
}

.sidebox p {
  margin: 1em 0;
  color: white;
  font-family: Verdana, sans-serif;
  font-size: 9pt;
  line-height: 140%;
}

.sidebox a:link, .sidebox a:visited {
  color: white;
}

.sidebox a:hover {
  text-decoration: none;
}

.textwidget {
  text-align: center;
}


/* Guestbook page */
#commentlist {
  list-style-position: inside;
  list-style-type: none;  
}

#commentlist li {
  border-bottom: #A9CF94 dotted 1px;
  padding: 1ex 0 1em;
}

h2#comments, h2#postcomment {
  margin-top: 1.5em;
} 

/* XLanguage plugin */
#xlanguage-list-1 {
  list-style-position: inside;
  font-family: Georgia, serif;  
}

#xlanguage-list-1 li {
  margin-bottom: 0.5ex;
  list-style-type: none;
}

#xlanguage-list-1 a:link, #xlanguage-list-1 a:visited {
  color: white;  
}

.language_item img {
  margin-right: 4px;
}

.language_item a img {
  border: none;
}

/* Picasa widget */
#picasa-widget img {
  margin: 1px;
  border-color: #166F38;
}

/* Facebook widget */
#text-2 .sidebox_content {
  /* Facebook widget with 5 mordkas is too wide for default padding, so we shrink it a little. */
  padding-left: 13px;
  padding-right: 13px;
}

#text-2 h2 {
/* We're using shrinked padding (13px instead 20px), so we need to increase margin on both sides */
  margin-left: 7px;
  margin-right: 7px;
}

.facebook_link {
/* Similar as above + some margin from top */
  margin: 10px 7px 0;
  font-family: Verdana, sans-serif;
  font-size: 8pt;
}
