/*
#main img{
    width: 100%;
}
*/

.w70center, .w50, .w30, .w50left, .w50right,.w30left, .w50left, .w30right {
    display: block;
    margin: 1%;
    padding: 1%;
    width: 100%;
    height: auto !important;
}
.w70center {
    max-width: 70%;
    margin: 0px auto;
}

.w50, .w50left, .w50right {
    max-width: 45%;
}

.w30, .w30left, .w30right {
    max-width: 28%;
}

.w50left, .w30left {
    float: left;
}

.w50right, .w30right {
    float: right;
}

@media screen and (max-width: 999px) {
    #main img {
	float: none;
    }
}


#fancybox-left-ico {
 left: 20px;
}

#fancybox-right-ico {
 right: 20px;
 left: auto;
}


/* Online katalog */

.knihaObalka {
    text-align: center;
}


  .katalog tr.radek:hover{
  background: #fe3;
  }
  .forreaders{
  max-width: 250px;
  padding: 2px;
  text-align: center;
  float: left;
  margin-right: 50px;
  height: 22px;
  font-weight: bold;
  }
  .autor,.name{
    font-weight: bold;
    clear: left;
    float: left;
    margin-left: 20px;
  }
    .name{
    padding-bottom: 20px;
    text-align: left;
    padding-left: 30px;

  }
    .autor{
    /* width: 280px; */
    padding-top: 20px;
    text-align: left;
    padding-left: 30px;
  }
  #novinky{
  width: 100%;
  margin: 0 auto 0 auto;
  padding: 0px;
  }

  .obalky_cover{
  width: 200px;
  vertical-align: top;
  margin: 2px auto 2px auto;
  padding: 25px 8px;
  float: right;
  }

  .obalky_thumb{
  width: 38px;
  height: 35px;
  vertical-align: middle;
  margin: 0px;
  padding: 0px;
  }
  .obalky_thumb,.obalky_cover{
  text-align: center;
  }
  .obalky_thumb img,.obalky_cover img{
  border: none;
  }

  div#pagination {
    text-align: right;
  }
  div#pagination a, div#pagination strong {
    display: inline-block;
    padding: 5pt 5pt 5pt;
  }
  div#pagination a:hover {
    background: #fe3;
  }


  @media screen and (min-width: 999px){
      #novinky{
        max-width: 666px;
      }
  }
  @media screen and (max-width: 630px){
    .obalky_cover{
    width: 33%;
    margin: 0px 8px;
    padding: 0px;
    }
    .obalky_cover img{
      width: 100%;
    }

    .obalky_thumb{
    width: 38px;
    height: 35px;
    margin: 0px;
    padding: 0px;
    }

  }
  @media screen and (min-width: 630px){
    .novinka p{
      text-indent: 10px;
      margin: 10px;
    }
    .novinka{
      padding: 0px;
      margin: 10px;
    }

  }
  .novinka p{
    text-indent: 20px;
    margin: 20px;
    clear: left;
  }
  .novinka{
    border: 1px black solid;
    min-height: 444px;
  }
  .find{
  background-color: #FFEB33;
  }

/* END online katalog */