header {
  background: #fff;
}
.sluzby .thumbnail {
  display: block;
  padding: 6px;
  margin-bottom: 20px;
  background-color: #eee;
  border: 1px solid darkgrey;
  border-radius: 20px;
  height: 350px;
}  
.sluzby2 .thumbnail {
  display: block;
  padding: 6px;
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid darkgrey;
  border-radius: 20px;
  height: 350px;
}
.sluzby .thumbnail, .sluzby2 .thumbnail{
  padding-bottom:55px; /*misto na tlačitko*/
}

.sluzby .thumbnail .caption {
  max-height:100%; /*maximalni vyska popisku velikosti thumbnailu*/
  overflow:hidden; /*co přeteče je skryto*/
}

.sluzby .btn, .sluzby2 .btn {
  position:absolute; /*vyjmutí tlačítka a možnost jej pozicovat*/
  bottom:35px; /*pozice tlačítka 35px od spodního okraje thumbnailu*/
}
.btn-tertiary {
  color: #fff;
  background-color: #dd2020;
  border-color: #7B0000;
}
.btn-tertiary:hover {
  color: #fff;
  background-color: #971515;
  border-color: #7B0000;
}
body {
  background: #fff;
}
/*-----ukotveni menu a header---*/
@media screen and (max-width:767px) {
  #content img {display:none;}

  /* motiv a vlastní motiv */ 
  #motive, 
  #box-custom-motive {display:none}

  /* fotogalerie */
  #foto img,
  .photos img {display:block;}

  /* obchod */
  #eshop-categories img,
  #detail-product img,
  #content .thumbnail a > img {display:block;}
}
@media screen and (min-width: 768px) { /*tablet*/

  @media screen and (min-width: 1024px) { /*zobrazení pro malý notebook*/
    body {
      padding-top: 157px;
    }
    header {
      position: fixed;
      width: 100%;
      z-index: 1000;
      top: 0;
    }
    nav.navbar {
      position: fixed;
      width: 100%;
      z-index: 1000;
      top: 105px;
    }
    #form-search {
      padding-left: 125px;
      margin-right: -321px;
    }
  }

  @media screen and (min-width: 1200px) { /*zobrazení pro monitor*/
    body {
      padding-top: 157px;
    }
    header {
      position: fixed;
      width: 100%;
      z-index: 1000;
      top: 0;
    }
    nav.navbar {
      position: fixed;
      width: 100%;
      z-index: 1000;
      top: 105px;
    }
    #form-search {
      padding-left: 260px;
      margin-right: -390px;
    }
  }

  #bar-poweredby {display: none;} /* zruší viditelnost inpage patičky */
  
  /*formular uvodka*/

/*vlastní formulář*/
.own-form div.panel {
  padding:0;
  background-color:transparent;
  color:white;
}

.own-form .panel-heading {
  display:none;
}

.own-form .panel,
.own-form .panel-body {
  box-shadow:none;
  border:0;
  padding:0;
}

.own-form   form {
  padding-left:0!important;
  padding-bottom:0!important;
  padding-right:0!important;

}

.own-form .form-group {
  margin-bottom: 0px;
}

.own-form   .form-control {
  height:30px;
}

.own-form  .form-group:nth-of-type(2) {
  padding-top:15px!important;
}
.own-form .btn {
  margin-top:10px
}
@media (min-width:768px) {
  .own-form .col-sm-8 {
    max-width:300px;
  }
  .own-form   form {
    width:70%;
    margin:0 auto;
  }
}

@media (min-width:992px) {
  .own-form   form {
    max-width:50%;
    margin:0 auto;
  }
}
