/*
  define some global styles to make sure all web browsers will use our
  defaults instead of their own
*/
html, body {
  margin: 0;
  padding: 0;
  border: none;
  background-color: #fff;
}

/*
  define the most common design properties first, use general selectors and
  rely on CSS inheritance to cascade all the way down to page elements
*/
body {
  /*
    the value of "font-size: 62.5%;" gives default font size of 10 pixels;
    do not ever declare this in pixels

    line-height: height of each line inside an inline box; allows to add
    some spacing between the bottom of one line and the top of the one that
    follows it

    font-family examples:
    font-family: Verdana,Arial,sans-serif;
    font-family: "Times New Roman",Helvetica,serif;
    font-family: cursive,fantasy, monospace;

    font: font-style font-variant font-weight font-size/line-height font-family;
  */
  color: #000;
  font: 0.8em/1.3em Verdana, Arial, sans-serif;
}

#header h3 {
  /*
    background: background-color background-image background-repeat background-attachment background-position;
  */
/*
  height: 150px;
  background: url(/images/lopata_760x150.png) no-repeat center top;
  text-indent: -999px;
  margin: 0;
*/
  height: 50px;
  padding: 0;
  background: #ff3300;
  margin: 0;
}

#header h3 a {
  text-decoration: none;
  font-size: 30px;
  color: #ffffe0;
  text-align: center;
  line-height: 50px;
  /*
    "you moved the inline box with that text out of view along with the
    link, all you need to do to return the link is make the link's anchor
    element a block-level box"; "it removes the effect of text-indent
    declaration from the <a> element itself, but not for the anchor text"
    (the anchor elements provide the clickable functionality, not the text
    they contain)
  */
  display: block;
  height: 100%;
}

#navigation {
  float: left;
  width: 15em;
  margin: 1em 0;
}

#notebook {
  float: right;
  right: 0;
  width: 20em;
  margin: 0 0 0 0.5em;
  padding: 1em 0.5em 0.5em 0.5em;
  background-color: #ffffe0;
}

#main {
  margin: 1em 20em 1em 15em;
  padding: 0 1em;
}

#footer {
  clear: both;
  border-top: 1px solid black;
  margin-top: 10em;
  text-align: center;
  font-size: smaller;
}

#navigation ul {
  margin: 0;
  padding: 0 1em;
  list-style-type: none;
}

#navigation ul li {
  font-size: 1.1em;
  line-height: 1.5em;
  font-weight: bold;
  text-transform: capitalize;
  font-variant: small-caps;

  position: relative;
  display: block;
  background-color: #ffffe0;
  margin: 2px 0;
}

#navigation ul li.selected {
  padding-left: 5px;
  color: #ffffe0;
  background-color: #ff3300;
  border-left: 4px solid #ff3300;
}

#navigation ul li a:hover {
  padding-left: 5px;
  color: #ff3300;
  border-left: 4px solid #ff3300;
}

#navigation ul li a {
  padding-left: 5px;
  color: #ff3300;
  border-left: 4px solid #ffffe0;
  text-decoration: none;
  display: block;
}

#notebook h4 + p {
  margin-top: 0;
}

#notebook h3 {
  margin-top: 0;
}

#notebook h4 {
  margin-bottom: 0;
}

#main h1, h2 {
  line-height: 1.2em;
}

img {
  border: 0;
}

.bazaritem h2, .pujcovnaitem h2 {
  padding-top: 1em;
  margin-right: 1em;
  border-top: 1px solid black;
}

.bazaritem h2 a, .pujcovnaitem h2 a {
  color: #000;
}

.bazar_sign, .bazar_sign a, .pujcovna_sign, .pujcovna_sign a {
  display: inline;
  color: #ff3300;
  font-size: 1.1em;
  line-height: 1.5em;
  font-weight: bold;
  text-transform: capitalize;
  font-variant: small-caps;
  text-decoration: none;
}

.bazaritem_heading, .pujcovnaitem_heading {
  font-size: 1.5em;
  line-height: 1.2em;
}

.imgcontainer {
  float: left;
  width: 168px;
  margin: 3px;
  text-align: right;
}

.gallery {
  text-align: center;
}

.gallery_nav {
  clear: left;
  margin: 0 0 2em 0;
  padding: 0;
}

.gallery_nav .gallery_nav_l {
  text-align: right;
  float: left;
  width: 49%;
}

.gallery_nav .gallery_nav_r {
  text-align: left;
  float: left;
  width: 49%;
}

.g_nav_link {
  display: block;
  text-align: center;
}

.gallery_nav + .bazaritemfeatures, .gallery_nav + .pujcovnaitemfeatures {
  clear: left;
}

.gallery_nav_l, .gallery_nav_r {
  display: none;
}

.gallery_nav_l a, .gallery_nav_r a {
  display: block;
  text-decoration: none;
}

.gallery_nav_l a:focus, .gallery_nav_r a:focus {
  outline: none;
}
