/* clearfix */
.clearfix:after, .row:after {content:"."; display:block; height:0; clear:both; visibility:hidden;}
.clearfix, .row {display:inline-block;} /*Those two .clearfix have to be separate!)*/
.clearfix, .row {display:block;}

body {
  background-color: #fff;
  margin: 0px;
  padding: 0px;
}

.main {
  width: 960px;
  margin: 0 auto;
  position: relative;
}

.obsah {
  width: 960px;
  margin: 0 auto
}

#top {
  font-family: 'Poiret One', cursive;
  margin-top: 15px;
}

#top h1 {
  font-family: 'Poiret One', cursive;
  text-transform: uppercase;
  text-align: center;
  font-size: 50px;
  font-weight: 400;
  line-height: 1;
  display: block;
  margin: 0 auto;
  width: auto;
}

.logo {
  width: 120px;
  margin: 0 auto;
  float: none;
  text-align: center;
}

.logo img {
  max-width: 100%;
}

#menu {
  height: 55px;
  width: 100%;
  z-index: 999;
  position: relative;
}

#menu .main > ul {
  margin: 0px;
  padding: 0px;
  text-align: center;
  display: flex;
  align-items: center;
  border: 1px solid black;
  justify-content: space-between;
  border-left: none;
  border-right: none;
  height: 55px;
  box-sizing: border-box;
  margin-top: 28px;
}

#menu .main > ul > li {
  display: block;
  float: left;
  margin: 0px;
  margin: 0px 5px;
  box-sizing: border-box;
  line-height: 1.2;
  position: relative;
}

#menu a {
  text-decoration: none;
  color: #040404;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  display: block;
  box-sizing: border-box;
}

#menu a:after {
  content: "";
  display: block;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 0;
  height: 1px;
  transition: all 0.3s;
  background: #efb94c;
}

#menu a:hover:after {
  width: 100%;
}

#menu .submenu {
  display: none;
  position: absolute;
  text-align: left;
  padding: 20px 0px 0 0px;

}
#menu .submenu:after {
    top: 0px;
    left: 10px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-bottom-color: rgba(0, 0, 0, 1);
    border-width: 10px;
}




#menu .submenu li {
  position: relative;
  padding: 10px 10px;
  background: #000;
}

#menu .submenu a {
  color: #fff;
  position: relative;
}

#menu .main > ul > li:hover > .submenu {
  display: block;
  width: 200px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
  justify-content: center;
}

.thumbnail {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  /* this fixes the overflow:hidden in Chrome */
  -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
  border: 1px solid #000;
  box-sizing: border-box;
  margin: 10px;
}
.thumbnail img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 101%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}
.thumbnail img.portrait {
  width: 100%;
  height: auto;
}


#footer{
  width: 100%;
  padding-bottom: 30px;
  background-color: #000;
  margin-top: 70px;
  color: #fff;
  padding-top: 40px;
  box-sizing: border-box;
}

#footer ul {
  float: left;
  width: 225px;
  color: #fff;
  padding: 0px;
  margin: 0px;
}

#footer ul li {
  background: url("./../img/li.png") left center no-repeat;
  display: block;
  padding: 0px;
  margin: 8px 0;
  line-height: 1;
  padding-left: 14px;
}

#footer ul li a {
  color: #fcfcfc;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
}


.footerKontakt {
  width: 500px;
  float: left;
}

.kontaktMail {
  background: url("./../img/mail.png") left center no-repeat;
  width: 100%;
  height: 20px;
  line-height: 20px;
  margin-bottom: 24px;
  padding-left: 45px;
  box-sizing: border-box;
}

.kontaktPhone {
  background: url("./../img/phone.png") left center no-repeat;
  width: 100%;
  height: 20px;
  line-height: 20px;
  margin-bottom: 24px;
  padding-left: 45px;
  box-sizing: border-box;
}

.kontaktAdress {
  background: url("./../img/adress.png") left center no-repeat;
  width: 100%;
  height: 20px;
  line-height: 20px;
  margin-bottom: 40px;
  padding-left: 45px;
  box-sizing: border-box;
}

.kontaktInfo {
  background: url("./../img/info.png") left center no-repeat;
  width: 100%;
  height: 20px;
  line-height: 20px;
  margin-bottom: 24px;
  padding-left: 45px;
  box-sizing: border-box;
}

.social {
  text-align: center;
  font-size: 20px;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.social a {
  font-size: 24px;
  color: #fff;
  margin: 0px 10px;
}
.half .social {
  justify-content: flex-start;
}
.half .social a {
  color: #000;
}

.logoBottom {
  float: right;
}

.copyRight {
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
}

.copyRight a {
  color: #fff;
  text-decoration: none;
}


.category {
  width: 100%;
  border-top: none;
  border-bottom: none;
  box-sizing: border-box;
}


.category ul {
  text-align: center;
  padding: 0px;
  margin: 0px;
  display: block;
  margin-bottom: 0;
  line-height: 1;
  margin-top: 15px;
  margin-bottom: 25px;
}

.category ul li {
  padding: 0px;
  margin: 0px;
  line-height: 1;
  padding-left:10px;
  display: inline-block;
}

.category ul li:before {
  content: "-";
  padding-right: 10px;
}

.category ul li:first-child:before {
  content: "";
  padding-right: 0;
}

.category ul li a {
  color: #000;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1;
  box-sizing: border-box;
}

.category ul li a:hover{
  color: #efb94c;
}

.productList {
  width: 100%;
  margin-bottom: 0px;
}

.productItem {
  position: relative;
  width: 225px;
  height: 134px;
  overflow: hidden;
  /* this fixes the overflow:hidden in Chrome */
  -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
  border: 1px solid #000;
  box-sizing: border-box;
  margin-left: 20px;
  float: left;
  background-color: #fff;
  margin-bottom: 20px;
}

.productItem:nth-of-type(4n+1){
  margin-left: 0px !important;
}

.productItem img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 101%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}
.thumbnail img.portrait {
  width: 100%;
  height: auto;
}

.productItemHov {
  width: 100%;
  height: 53px;
  position: absolute;
  z-index: 100;
  bottom: 0px;
  background: rgba(0, 0, 0, 0.6);
  display: none;
}

.productItemHov p {
  color: #fff;
  font-size: 10px;
  opacity: 1;
  margin-left: 5px;
  margin-top: 5px;
  font-weight: normal;
}

.productItem:hover .productItemHov{
  display: block;
}

.objednatLine{
  background-image: url("./../img/jak_objednat.png");
  background-repeat: repeat-x;
  width: 100%;
  height: 120px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.objednatLine p {
  color: #fff;
  margin-top: 22px;
}

.contactForm {
  margin: 0 auto;
  float: none;
  width: 490px;
  text-align: center;
}

form {
  width: 490px;
  border: 1px solid #000;
  min-height: 400px;
  background-color: #fff;
  text-align: center;
  box-sizing: border-box;
}

.contactForm h3 {
  text-align: center;
  color: #010101;
  font-family: 'Poiret One', cursive;
  font-size: 36px;
  font-weight: 400;
  text-transform: uppercase;
  margin-top: 45px;
  margin-bottom: 0;
}

.contactForm p {
  color: #000;
  margin-bottom: 60px;
}

input {
  width: 80%;
  height: 46px;
  margin: 0 auto;
  margin-bottom: 8px;
  background-color: #f7f7f7;
  border: 1px solid #0c0c0c;
  padding-left: 5px;
  padding-right: 5px;
  box-sizing: border-box;
}

textarea {
  width: 80%;
  height: 210px;
  margin: 0 auto;
  background-color: #f7f7f7;
  border: 1px solid #0c0c0c;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  box-sizing: border-box;
}

input.send {
  width: 100px;
  float: right;
  margin-right: 10%;
  margin-top: 15px;
  color: #fff;
  background-color: #000;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 15px;
  cursor: pointer;
}

.productLeft {
  float: left;
  width: 630px;
}

.productLeft table{
  width: 100%;
  margin: 0 auto;
  font-size: 12px;
}

.openProductItem {
  position: relative;
  width: 300px;
  height: 185px;
  overflow: hidden;
  /* this fixes the overflow:hidden in Chrome */
  -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
  border: 1px solid #000;
  box-sizing: border-box;
  margin-left: 20px;
  float: left;
  background-color: #fff;
  margin-top: -60px;
}
.openProductItem img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 101%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}

.openproduct h2 {
  font-size: 18px;
  margin-bottom: 0;
  padding: 0;
}

.openproduct p {
  font-size: 12px;
}

/* zacatek objednavky */

#mask {
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color:black;
  display:none;
}

#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width: 465px;
  min-height:400px;
  display:none;
  z-index:9999;
  padding:0px;
}

#boxes .window .contactForm {
  position: absolute;
  right: 0px;
  z-index: 500;
}

.window form {
  margin: 0 auto;
}

#boxes #dialog {
  width: 465px;
  min-height:400px;
  padding:0px;
}


.close_div {
  position: absolute;
  right: -90px;
  top: 10px;
  width: 90px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  color: #fff;
  font-weight: bold;
}

/* konec objednavky */

/* -------------------------------------------------------- */

.firstImg{
  margin-left: 0px;
}

.half {
  width: 50%;
  float: left;
  padding-right: 40px;
  box-sizing: border-box;
  margin-top: 60px;
}

.black {
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  box-sizing: border-box;
  margin-bottom: 10px;
  margin-top: 5px;
  margin-left: 0px;
  margin-bottom: 50px;
}

.bigBottom {
  margin-bottom: 40px;
}

.black p {
  margin-bottom: 0px;
}

.half p {
  font-size: 14px;
}

.half p:first-child{
  margin-top: 30px;
}

img.border_img {
  border: 5px solid #8e7b59;
  width: 100%;
}

.bottom_href a{
    text-decoration: none;
    color: black;
}

a.obchodniPodminky {
  float: left;
  margin-left: 10%;
  color: #000;
  margin-top: 20px;
}

.overlay {
   background:transparent;
   position:absolute;
   width:100%;
   height:300px; /* your iframe height */
   top:420px;  /* your iframe height */
   margin-top:-300px;  /* your iframe height */
}

.smaller14 table {
  width: 100%;
}

.smaller14 table td {
  border: 1px solid #000;
  padding: 5px;
  text-align: center;
}

p.adresa {
  line-height: 2;
}
