.box-custom {
  border:none;
  margin:0 auto;
  max-width:1138px;
}

.perex .perex-image-link {
  float: left;                      /*použijete, pokud si přejete mít text vpravo od obrázku, v opačném případě tento řádek smažte*/
  margin-right: 5px;               /*mezera mezi obrázkem a textem*/
}
.perex .perex-image-link img {
  max-width: 300px;                     /* zde si zvolíte libovolnou maximální šířku obrázku */
}

.embed-responsive iframe {
  border:0;
  bottom:0;
  height:100%;
  left:0;
  position:absolute;
  top:0;
  width:100%;
}

.embed-responsive-4by3 {
  padding-bottom:75%;
}

.embed-responsive-16by9 {
  padding-bottom:56.25%;
}

.embed-responsive {
  display:block;
  height:0;
  overflow:hidden;
  padding:0;
  position:relative;
}
/*----uprava fotogalerie---*/
.photos a.thumbnail {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.photos a.thumbnail img {
  position: absolute;
  max-width: 300px!important;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -moz-transform: translateY(-50%) translateX(-50%);
  -o-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  min-width: 100%;
  width: auto;
  min-height: 100%;
  height: auto;
}
.photos .img-thumbnail, .photos .thumbnail {
  background-color: transparent;
  border: 0;
}
.photos .thumbnail:hover {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
}
/*----konec upravy fotogalerie---*/

/*karousel*/	 	 
.inpage-snippet.inpage-snippet-carousel {	 	 
  min-height: 220px;	 	 
}	 	 
.inpage-snippet.inpage-snippet-carousel .inpage-snippet-carousel-item {	 	 
  min-height: 220px !important;	 	 
}	 	 
.inpage-snippet.inpage-snippet-carousel .inpage-snippet-carousel-item .carousel-caption {	 	 
  background-repeat: no-repeat;	 	 
  background-position: right top;	 	 
  padding-bottom: 50px;
  padding-top: 0px;	 	 
  width: 70%;	 	 
}	 	 
.inpage-snippet.inpage-snippet-carousel .inpage-snippet-carousel-item .carousel-caption .carousel-caption-text p {	 	 
  margin: 0 0;	 	 
}	 	 
.inpage-snippet.inpage-snippet-carousel .inpage-snippet-carousel-item .carousel-caption .carousel-caption-text img {	 	 
  display:none;	 	 
}	 	 
.inpage-snippet.inpage-snippet-carousel .inpage-snippet-carousel-item .carousel-caption .carousel-caption-text img:first-of-type {	 	 
  float:none;	 	 
  display:inline-block;	 	 
}	 	 
.inpage-snippet.inpage-snippet-carousel .inpage-snippet-carousel-item .carousel-caption .carousel-btn {	 	 
  margin-top: 20px;	 	 
}	 	 
/*karousel rubrika*/	 	 
.inpage-snippet-carousel-folder .carousel-inner,	 	 
.inpage-snippet-carousel-eshop_category .carousel-inner,	 	 
.inpage-snippet-carousel-rubric .carousel-inner {	 	 
  background-color:#dddddd;	 	 
}	 	 
.inpage-snippet.inpage-snippet-carousel .inpage-snippet-carousel-item-file .carousel-caption,	 	 
.inpage-snippet.inpage-snippet-carousel .inpage-snippet-carousel-item-eshop_product .carousel-caption,	 	 
.inpage-snippet.inpage-snippet-carousel .inpage-snippet-carousel-item-article .carousel-caption {	 	 
  background-repeat: no-repeat;	 	 
  background-position: right top;	 	 
  padding-bottom: 50px;	 
  padding-top: 50px;	 	 
  width: 70%;	 	 
  position: relative;	 	 
  color:#191919;	 	 
  text-shadow:none;	 	 
}	 	 
@media (min-width: 768px) {	 	 
  .inpage-snippet.inpage-snippet-carousel .inpage-snippet-carousel-item .carousel-caption {	 	 
    width: 60%;	 	 
  }	 	 
}