
a:link {
  text-decoration: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

h1, h2 {
  font-size: 1.5em;
  margin: 0;
  font-family: serif;
}

h1 a {
  color: black;
  text-decoration: none;
}

h1 a:hover {
  color: red;
}

h2 a {
  font-weight: normal;
  color: black;
  text-decoration: none;
}

img {
  border: none;
}

.detail-thumb-div {
  width: 380px;
  height: 17px;
  float: left;
}

#detail-thumb-div-last {
  width: auto;
}

.detail-thumb-div > img {
  width: 380px;
  height: 17px;
}

.detail-thumb-div > a {
  text-decoration: none;
  color: black;
}

.detail-thumb-div > a:hover {
  font-weight: bold;
}

.float-break {
  clear: both;
}

.type-div {
  float: left;
  padding: 5px 0 20px 0;
  font-size: 0.8em;
}

.work-div, #header > div, .detail-description, .detail-thumb-div /* aby tam byl stejny padding */ {
  padding: 8px;
}

.work-div-h > a, .work-div-h > a > span {
  display: block;
  width: 380px;
  height: 17px;
}

.work-div-v > a, .work-div-v > a > span {
  display: block;
  width: 17px;
  height: 380px;
}


.work-div-h > a > span {
  background: url(/content/overlay_h.17.png) no-repeat 0px 17px;
}

.work-div-h > a:visited > span {
  background-position: 0px 0px;
}

.work-div-h > a:hover > span {
  background-position: 0px -17px;
}

.work-div-h > a:active > span {
  background-position: 0px -34px;
}


.work-div-v > a > span {
  background: url(/content/overlay_v.17.png) no-repeat 17px 0px;
}

.work-div-v > a:visited > span {
  background-position: -34px 0px;
}

.work-div-v > a:hover > span {
  background-position: -17px 0px;
}

.work-div-v > a:active > span {
  background-position: 0px 0px;
}


#header {
  position: fixed;
  z-index: 5;
  height: 50px;
  width: 100%;
}

#header-dummy { /* so that other content is positioned okay */
  height: 50px;
}

#header > div {
  float: left;
  width: 380px;
}

#header > div#header-last {
  width: auto;
}

#thumb-holder {
  position: absolute;
  left: -500px;
  top: 0px;
  z-index: 10;
}

#subheader {
  position: fixed;
  height: 33px;
  width: 100%;
}

#subheader-dummy { /* so that other content is positioned okay */
  height: 33px;
}

#detail-description {
  position: fixed;
  padding: 0.5em;
  margin-top: 5px; /* aby se to zarovnalo s obrazkem */
  width: 11em;
}

#detail-images {
  margin-left: 12em; /* 11 + 2*0.5 */
}

#detail-description, #detail-images {
  padding-top: 20px;
}

#detail-description p, .popup p {
  font-size: 0.8em;
  margin: 0.2em 0;
}

#detail-description .cz, .popup .cz {
  color: gray;
}

#detail-images img {
  margin: 5px;
}

.popup {
  position: absolute;
  left: 8px;
  width: 380px;
  overflow: auto;
  background: white;
  z-index: 2;
}

#pavla-popup {
  top: -1800px;
  height: 1800px;
}

#srdicko-popup {
  top: -150px;
  height: 150px;
}

#ponozka-header > div {
  width: 19px;
  height: 19px;
  background: url('/ponozka.png') no-repeat 0px 0px;
  float: right;
}

#ponozka-header:hover > div {
  background-position: 0px -19px;
}

#noticky-header > div {
  margin-left: 10px;
  width: 19px;
  height: 19px;
  background: url('/noticky.png') no-repeat 0px 0px;
  float: right;
}

#noticky-header:hover > div {
  background-position: 0px -19px;
}

#srdicko-header > div {
  margin-left: 10px;
  width: 19px;
  height: 19px;
  background: url('/srdicko.png') no-repeat 0px 0px;
  float: right;
}

#srdicko-header:hover > div {
  background-position: 0px -19px;
}
