body {
  font-family: Verdana,Geneva,sans-serif;
  font-size: 15px;
  background-color: #fbfbfb;
}

#index main {
  text-align: center;
}
.btn-primary {
  border-radius: 0;
  border-bottom: 3px solid #d8d8b7;
}
h1 {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 45px;
}
h2 {
  color: #777;
  text-transform: uppercase;
}
#index h2 {
  margin: 60px auto;
  font-weight: bold;
}

.article-detail h2, #index h2, #support h2 {
  color: #444;
  text-transform: uppercase;
  background: #FFD700;
  padding: 14px;
}


.thumbnail {
  border: none;
  box-shadow: 2px 2px 1px 2px #d2d2d2;
}
.item-photo .thumbnail {
  box-shadow: none;
}
/*---------header------------*/
header {
  padding-top: 1em;
  background: #FFD700;
}
#logo {
  position: absolute;
  z-index: 1000;
}
#topbar .btn-default {
  color: #000;
  background-color: transparent;
  border-color: #000;
  border-radius: 0;
}
#topbar {
  position: relative;
  top: -15px;
  z-index: 1200;
}

div#topbar > div {
  width: 52%;
  float: right;
}
#topbar input.form-control {
  background: transparent;
  border: 1px solid #000;
}
#cartsum {
  border: 1px solid #000;
  padding-bottom: 6px;
  padding-top: 7px;
  color: #777;
  font-size: 13px;
}
.form-control::-webkit-input-placeholder {
  padding-left: 7px;
}
/*---------menu----------*/
.navbar {
  border: none;
  z-index: 600;
  border-bottom: 1px solid grey;
}
.navbar-nav {
  float: right;
}
.navbar-nav > li {
  border: none;
}
.navbar .navbar-nav > li:last-child > a {
  color: red;
  font-weight: bold;
  font-size: 11px;
  max-width: 117px;
  text-align: center;
  padding: 5px;
}
.navbar-default .navbar-toggle {
  border-color: #000;
  color: #000;
  border-radius: 0;
}

/*----------motiv-----*/
#motive {
  height: 300px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid grey;
}
#motive .container {
  display: flex;
  justify-content: center;
}

div#motto {
  background: rgba(0, 0, 0, 0.68);
  padding: 20px 50px;
  text-align: center;
}
#motto #motto-title {
  color: #FFD700;
  margin-top: 0;
}

@media (max-width: 1199px){
  #motive {
    height: 300px;
  }
}
@media (max-width: 991px){
  #motive {
    height: 300px;
  }
}
@media (max-width: 767px){
  #motive {
    height: auto;
    min-height:300px;
  }
  div#motto {
    margin:20px auto;
  }
}
/*-----prehled produktu uvod----*/
.hlavni-produkty ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-left: 0;
  justify-content: space-between;
}

.hlavni-produkty li {
  list-style-type: none;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 0px;
  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  box-shadow: 2px 2px 1px 2px #d2d2d2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hlavni-produkty a {
  color: #585858;
  font-size: 1.1em;
  font-weight: bold;
  display: block;
  padding: 18px;
  flex-grow: 1;
}
.hlavni-produkty a:hover {
  text-decoration: none;
  background: #FFD700;
}
.hlavni-produkty li:last-child {
  margin-left: auto;
  margin-right: auto;
}

/*-------akcni-kola uvod---*/
.akcni-kola h2 {
  color: #e63030 !important;
  margin-bottom: 10px !important;
}

.akcni-kola span {
  display: block;
  margin-bottom: 60px;
}
.akcni-kola .thumbnail img {
  max-width: 240px;
}

/* oprava pomeru stran obrazku na uvodni strane */
#index #akcni-kola h2 {
  margin-top: 15px;
}
#index .akcni-kola .thumbnail img {
  max-width: 100%;
}
.item-eshop-category .thumbnail .link-thumbnail {
  height: auto !important;
}

/*------produkty v kamenne prodejne uvod---*/
.znacky-kol { /* stranka jizdni kola */
  text-align: center;
}
.znacky-kol small {
  display: block;
  padding-bottom: 24px;
  color: #000;
  font-weight: bold;
}
.znacky-kol p {
  color: #585858;
}
.znacky-kol a.btn.btn-primary {
  margin-top: 25px;
}
.znacky-kol img {
  padding: 20px 25px 0;
}
.znacky-kol p.h2 {
  font-weight: bold;
}
/*-------paticka------*/
#bar-poweredby {
  display: none;
}
div#box-custom-footer {
  background: #404040;
  color: #f3f3f3;
  font-size: 13px;
  padding-top: 30px;
  margin-top: 50px;
}
div#box-custom-footer .table td {
  border: none;
  padding-left: 0;
}
#box-custom-footer a:hover {
  color: #f3f3f3;
}
/*----kontakty------*/
.kontakty .table td {
  border: none;
  padding-left: 0;
}

.kontakty > div:nth-child(5) {
  clear: both;
}
.row.kontakty.mapy {
  margin-top: 40px;
  margin-bottom: 60px;
}
.mapy img, .mapy iframe {
  border: 1px solid #e8e8e8
}


/*-------loga produktů v článcích---*/
li > img {
  padding: 18px;
}

.loga img {
  max-height: 90px;
  padding: 18px;
  width: auto;
}
.loga h2, #index h2 {
  margin-top: 70px;
}
/*----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);
}

/*------eshop----*/
.table td > p {
  margin-bottom: 0;
}
#col-image .img-thumbnail {
  border: 0;
}
.item-eshop-category dl {
  display: none;
}
/*---nahled kategorii eshopu--*/
.category-detail .thumbnail .price {
  text-align: right;
  padding-right: 10px;
  display: inline-block;
  margin-left: 140px;
}
.category-detail .item-eshop-product .thumbnail .more {
  text-align: right;
  display: inline;
  float: right;
  position: relative;
}

#detail-product h1.title {
  font-size: 1.5em;

}
.product-detail .dl-horizontal dd {
  margin-left: 155px;
}
.product-detail .dl-horizontal dt {
  width: 115px;
}
#tabs-product h2.subtitle {
  text-transform: none;
  color: #000;
}

#tab-related .item-eshop-product .thumbnail .link-thumbnail {
  height: 220px;

}
#eshop-products .item-eshop-product .thumbnail .link-thumbnail {
  height: 215px;
}
.item-eshop-category .thumbnail .link-thumbnail {
  height: 146px;
}
#tab-related .item-eshop-product .thumbnail .link-thumbnail, #eshop-products .item-eshop-product .thumbnail .link-thumbnail, .item-eshop-category .thumbnail .link-thumbnail {
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.item-eshop-product .thumbnail .img-thumbnail, .item-eshop-category .thumbnail .img-thumbnail {
  border: 0;
  /*  height: auto !important;*/
  max-height: 215px;
}
.item-eshop-product h2 > a, #search h2 > a { 
  color: #000;
}
#eshop-categories {
  text-align: center;
}
#eshop-categories {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-right: -15px;
    margin-left: -15px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    clear: both;
}


.item-eshop-category .thumbnail {
    height: calc(100% - 20px);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: white;
}

#filter-form .form-group {
  padding-right: 14px;
}
#filter-form .form-group:first-child label:after {
  content: ' např.: elektrokolo, jízdní kolo, horské kolo';
  font-size: 11px;
  font-weight: bold;
}

/* eshop oprava radkove zobrazeni */
.category-detail .display-type-table .thumbnail .price {
  margin-left: 0;
  width: 100%;
}
.display-type-table .item-eshop-product .thumbnail .img-thumbnail {
  height: auto !important;
}
.category-detail .display-type-table .item-eshop-product .thumbnail .more {
  float: none;
  top: 0;
  display: block;
  margin: 0;
}

@media screen and (max-width: 767px) { /*zobrazení pro mobil*/ 
  #logo img {
    max-height: 70px;
  }
  .navbar {
    margin-top: -25px;
  }
  .nav > li > a {
    padding: 5px 10px;
    font-size: 13px;
  }
  .navbar .navbar-nav li > a {
    text-align: right;
  }
  .dropdown-menu {
    background-color: transparent;
    border: none;
  }
  .dropdown-menu > li > a { 
    font-size: small;
    color: #717070;
  }
  .navbar .navbar-nav > li:last-child > a {
    font-size: 12px;
    max-width: 100%;
    text-align: right;
    padding: 9px;
    background: transparent;
  }
  .article-detail h2, #index h2, #support h2 {
    font-size: 1.2em;
  }
  .hlavni-produkty li {
    flex-basis: 100%;

  }
}

@media screen and (min-width: 768px) { /*zobrazení pro tablet*/
  .nav > li > a {
    padding: 15px 15px;
    font-size: 12px;
  }
  #logo img {
    max-height: 70px;
  }
  .kontakty > div:nth-child(3) {
    clear: both;
  }
  .article-detail h2, #index h2, #support h2 {
    font-size: 1.3em;
  }
  .item-eshop-product h2 > a {
    font-size: 19px;
  }
  .hlavni-produkty li {
    flex-basis: 47%;
  }

}

@media screen and (min-width: 992px) { /*zobrazení pro malý notebook*/
  .nav > li > a {
    padding: 15px 20px;
    font-size: 15px;
  }

  #logo img {
    max-height: 90px;
  }
  .kontakty > div:nth-child(3) {
    clear: none;
  }
  .article-detail h2, #index h2, #support h2 {
    font-size: 1.3em;
  }
  .category-detail .item-eshop-product .thumbnail .more {
    top: 6px;
  }
  .item-eshop-product h2 > a {
    font-size: 19px;
  }
  .hlavni-produkty li {
    flex-basis: 30%;
  }


}

@media screen and (min-width: 1200px) { /*zobrazení pro monitor*/
  .nav > li > a {
    padding: 15px 20px;
    font-size: 15px;
  }

  #logo img {
    max-height: 90px;
  }
  .article-detail h2, #index h2, #support h2 {
    font-size: 1.5em;
  }
  .category-detail .item-eshop-product .thumbnail .more {
    top: 17px;
  }
  .item-eshop-product h2 > a {
    font-size: 22px;
  }
  .hlavni-produkty li {
    flex-basis: 30%;
  }


}


/*tabulky v produktech*/
#tabs-product .web__container {width:100%!important;}
#tabs-product .web__content {width:100%!important;}
#tabs-product .web__content .table-params {width:100%}

