body {background: #fff; line-height: 1.6;}
#form-search {margin-top: 20px;}
#topbar .row > div {float: right;}
#bar-poweredby {background: #2f2f2f; color: #9c9c9c;}
#bar-poweredby a {color: #9c9c9c;}
#footer {background: #444445; padding: 20px 0; color: #fff;}
#footer a {color: #fff;}
#logo img {
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;}
#logo img:hover {opacity: 0.8;}
h1.title {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}
#index h2 {
  font-size: 1.7em;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;  
}
a {
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
  color: #000;
}
a:hover, a:focus {color: #444445;}

hr {display: none;}
#list-rubrics .details,
#list-pages .details {
  display: none;
}

.navbar-default {background-color: #f3f3f3;}
.navbar-nav > li {border-color: #e7e7e7;}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  background-color: #e7e7e7;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  background-color: #444445;
}

li.media {
  float: left;
  width: 33%;
}
.media:first-child {margin-top: 15px;}
.perex img {
  max-width: 100%;
  max-height: 300px;
}
li.media .perex img:hover {opacity: 0.8;}
li.media h2 {font-weight: bold;}

#footer-copy {
  font-size: 90%;
  margin-top: 40px;
  display: block;
  text-align: center;
}

#footer p {border-bottom: 1px solid #636363; padding-bottom: 8px; margin-bottom: 20px; font-size: 110%; font-weight: bold;}
#footer ul {padding-left: 17px; color: #636363;}
#footer ul span {color: #fff;}
#footer {margin-top: 20px;}

.product-detail {clear: both; padding-top: 20px;}
.product-detail tr td:nth-child(2) {font-weight: bold; width: 70%;}

#box-custom-motive {
  margin: 0 auto;
  margin-bottom: 2em;
  height: 390px;
  height: 350px;
  border-bottom: 1px solid #E7E7E7;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #f5f5f5;
  background-image: url(/obrazek/3/uvodni/);
}

#box-custom-motive h1 {
  margin: 0 0 15px 0;
  text-align: center;
  font-size: 3em;
  color: #fff;
  text-shadow: 0px 0px 1px #000;
}
#box-custom-motive p {
  text-align: center;
  font-size: 1.4em;
  background: rgba(255,255,255,0.7);
  padding: 15px;
}

#motiveBox {
  display: table;
  max-width: 1170px;
  margin: auto;
  padding: 15px;
  height: 100%;
}
#motiveBoxInner {
  display: table-cell;
  vertical-align: middle;
}

a.thumbnail:hover, 
a.thumbnail:focus, 
a.thumbnail.active {
  border-color: #444445; 
}
.photos {margin-top: 60px;}
#index main {
  padding: 15px 0 40px 0;
}
main {
  padding-bottom: 40px;
}
.breadcrumb {
  padding-left: 0;
  margin-bottom: 40px;
}

@media (max-width: 1199px){
  #box-custom-motive{
    height: 390px;
  }
}
@media (max-width: 991px){
  #box-custom-motive{
    height: 250px;
  }
  #box-custom-motive p {
    font-size: 1em;
  }
  #box-custom-motive h1 {
    font-size: 2em;
  }
}
@media (max-width: 767px){
  #box-custom-motive{
    height: 200px;
  }
}

@media (max-width: 770px) {
  li.media {width: 50%;}
}

@media (max-width: 400px) {
  li.media {width: 100%; text-align: center;}
}



/* motiv */
#box-custom-motive h1 {
  font-size: 4em;
}
#motiveBoxInner {
  display: none;
}
.navbar {
  margin-bottom: 0;
}
#support #box-custom-motive {
  background-image: url("/obrazek/3/kontakt-jpg");
}
#box-custom-motive {
  background-attachment: fixed;
}