body, .navbar a, .justified-gallery>a>.caption, .justified-gallery>div>.caption {
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif !important;
}

h1, h1.title {
  margin: 20px auto 40px;
  text-transform: uppercase;
  font-size: 2em;
  color: #de9922;
}
h1, h1.title, h2 {
  text-align: center;

}
a {
  color: #de9922;
}
a:hover {
  text-decoration: none;
}
.btn-link {
  color: #de9922;
}
.btn-primary {
  color: #fff;
  background-color: #de9922;
  border-color: #de9922;
  border-radius: 0;
}
span.logo {
  position: absolute;
  z-index: 1200;
}
span.logo a:hover {
  color: #fff;
}
/*---------menu----------*/
.navbar {
  background-color: rgba(0, 0, 0, 0.45);
  border: none;
  position: relative;
}
#index .navbar {
  top: 0;
}
.navbar .navbar-nav > li > a {
  color: #fff;
}
.navbar .navbar-nav > li {
  border: none;
}
.navbar .navbar-nav > .active > a, .navbar .navbar-nav > .active > a:hover, .navbar .navbar-nav > .active > a:focus {
  color: #de9922;
  background-color: transparent;
}
.navbar .navbar-nav > li > a:hover, .navbar .navbar-nav > li > a:focus {
  color: #de9922;
  background-color: transparent;
}
.navbar-nav {
  float: right;
}
.navbar-default .navbar-toggle {
  border-color: #fff;
  color: #fff;
}
.navbar-collapse .navbar-nav > li > a {
  color: #fff;
  text-align: right;
}
/*----------------uvodni stranka-------------*/
body#index {
  color: #252525;
  background: transparent;
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
}
#index main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.index-nadpis {
  background: rgba(0, 0, 0, 0.69);
  padding: 46px;
  font-size: 16px;
}
.index-nadpis h2 {
  color: #b3b3b3;
}
/*---------motiv ostatni stranky------------*/
header {
  background-image: url(/obrazek/3/motiv-cb-jpg/);
  background-size: cover;
  background-position: center;
}
#index header {
  background-image: none;
  height: 0;
  padding-top: 0;
}
/*-------uprava sablony--------*/
#content, #box-custom-motive {
  background: none;
  box-shadow: none;
}
#mainContainer {
  background-image: none;
}
/*----uprava fotogalerie---*/
#photogalleries a.link-thumbnail  {
  height: 230px;
  position: relative;
  overflow: hidden;
}
#photogalleries .thumbnail {
  padding: 0;
  text-align: center;
}
#photogalleries a.link-thumbnail img {
  height: auto!important;
  padding: 0;
  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%;
}
#photogalleries .img-thumbnail, 
#photogalleries  .thumbnail {
  background-color: transparent;
  border: 0;
}
#photogalleries .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);
}
#photogalleries .caption {
  position: relative;
  top: -73px;
  padding: 0;
}
#photogalleries h2.subtitle a {
  padding: 15px 0;
  display: block;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
}
dl.count.count-photos, 
dl.count.count-date, 
#photogalleries .thumbnail .more, 
#photogalleries p.description {
  display: none;
}
.photos .img-thumbnail,
.photos .thumbnail {
  background-color: transparent;
}
/*-----------uprava css justified-----------*/
.justified-gallery {
  width: 100%;
  position: relative;
  overflow: visible !important;
}
.justified-gallery>a>.caption, .justified-gallery>div>.caption {
  left: 15px !important;
  right: 15px !important;
  padding: 14px !important;
  text-align: center !important;
  font-size: 14px !important;
}
/*----------------slide uvodni stranka-----------*/
ul.cb-slideshow li {
  list-style-type: none;
}
.cb-slideshow,
.cb-slideshow:after { 
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: 0; 
}
.cb-slideshow li span { 
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  color: transparent;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
  opacity: 0;
  z-index: 0;
  -webkit-backface-visibility: hidden;
  -webkit-animation: imageAnimation 36s linear infinite 0s;
  -moz-animation: imageAnimation 36s linear infinite 0s;
  -o-animation: imageAnimation 36s linear infinite 0s;
  -ms-animation: imageAnimation 36s linear infinite 0s;
  animation: imageAnimation 36s linear infinite 0s; 
}
.cb-slideshow li:nth-child(1) span { 
  background-image: url(/obrazek/3/motiv-strana-cb-jpg/) 
}
.cb-slideshow li:nth-child(2) span { 
  background-image: url(/obrazek/3/motiv2-jpg/);
  -webkit-animation-delay: 6s;
  -moz-animation-delay: 6s;
  -o-animation-delay: 6s;
  -ms-animation-delay: 6s;
  animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) span { 
  background-image: url(/obrazek/3/motiv3-jpg/);
  -webkit-animation-delay: 12s;
  -moz-animation-delay: 12s;
  -o-animation-delay: 12s;
  -ms-animation-delay: 12s;
  animation-delay: 12s; 
}
.cb-slideshow li:nth-child(4) span { 
  background-image: url(/obrazek/3/motiv-strana-cb-jpg/);
  -webkit-animation-delay: 18s;
  -moz-animation-delay: 18s;
  -o-animation-delay: 18s;
  -ms-animation-delay: 18s;
  animation-delay: 18s; 
}
.cb-slideshow li:nth-child(5) span { 
  background-image: url(/obrazek/3/motiv2-jpg/);
  -webkit-animation-delay: 24s;
  -moz-animation-delay: 24s;
  -o-animation-delay: 24s;
  -ms-animation-delay: 24s;
  animation-delay: 24s; 
}
.cb-slideshow li:nth-child(6) span { 
  background-image: url(/obrazek/3/motiv3-jpg/);
  -webkit-animation-delay: 30s;
  -moz-animation-delay: 30s;
  -o-animation-delay: 30s;
  -ms-animation-delay: 30s;
  animation-delay: 30s; 
}
/* Animation for the slideshow images */
@-webkit-keyframes imageAnimation { 
  0% { opacity: 0.2;
    -webkit-animation-timing-function: ease-in; }
  8% { opacity: 1;
    -webkit-animation-timing-function: ease-out; }
  17% { opacity: 1 }
  25% { opacity: 0 }
  100% { opacity: 0 }
}
@-moz-keyframes imageAnimation { 
  0% { opacity: 0.2;
    -moz-animation-timing-function: ease-in; }
  8% { opacity: 1;
    -moz-animation-timing-function: ease-out; }
  17% { opacity: 1 }
  25% { opacity: 0 }
  100% { opacity: 0 }
}
@-o-keyframes imageAnimation { 
  0% { opacity: 0.2;
    -o-animation-timing-function: ease-in; }
  8% { opacity: 1;
    -o-animation-timing-function: ease-out; }
  17% { opacity: 1 }
  25% { opacity: 0 }
  100% { opacity: 0 }
}
@-ms-keyframes imageAnimation { 
  0% { opacity: 0.2;
    -ms-animation-timing-function: ease-in; }
  8% { opacity: 1;
    -ms-animation-timing-function: ease-out; }
  17% { opacity: 1 }
  25% { opacity: 0 }
  100% { opacity: 0 }
}
@keyframes imageAnimation { 
  0% { opacity: 0.2;
    animation-timing-function: ease-in; }
  8% { opacity: 1;
    animation-timing-function: ease-out; }
  17% { opacity: 1 }
  25% { opacity: 0 }
  100% { opacity: 0 }
}

/* Show at least something when animations not supported */
.no-cssanimations .cb-slideshow li span{
  opacity: 1;
}

/*-----------drobeckova navigace----------*/
#breadcrumb {
  display: none;
}
#breadcrumb a, .breadcrumb > .active {
  color: #777;
}
#galleries #breadcrumb, .gallery-detail #breadcrumb {
  display: inline-block;
  background: none;
}
#breadcrumb li:first-child {
  display: none;
}
/*------------fotogalerie------*/
.item-photo .thumbnail {
  border: none;
}
/*--------- stranka oblibene odkazy ----------*/
ul#oblibene-odkazy li {
  list-style-type: none;
  margin: 12px;
  padding: 11px;
  background: #fff1bf;
  text-align: center;
  color: #252525;
}
#oblibene-odkazy strong, #oblibene-odkazy strong a {
  color: #b98122;
  font-weight: normal;
  font-size: 1.1em;
}
#oblibene-odkazy strong {
  display: block;
  margin-bottom: 12px;
}
ul#oblibene-odkazy {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
}
ul#oblibene-odkazy li: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);
}
/*--------- stranka navstevni kniha ----------*/
.panel {
  background-color: #fff1bf;
}
#article-361026 .panel-heading {
  display: none;
}
#article-361026 .panel-primary {
  border: none;
  box-shadow: none;
  padding: 30px 15px 10px;
  margin-bottom: 41px;
}
input#submit {
  float: right;
}

/*---------rubrika fotocesty----*/
#list-pages li.media {
  display: inline-block;
  background: #fbfbfb;
  border: none;
  margin: 7px;
  padding: 15px;
  text-align: center;
  padding: 0;
}
#list-pages li.media: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);
}
#list-pages img.perex-image {
  max-width: 100%;
  margin-bottom: 0;
}
.rubric h2.subtitle.media-heading {
  position: relative;
  background: rgba(0, 0, 0, 0.58);
  padding: 15px 0;

}
.rubric h2.subtitle.media-heading a {
  color: #fff;
}
/*--------pagination---------*/
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  background-color: #de9922;
  border-color: #de9922;
}
.pagination > li > a, .pagination > li > span {
  color: #de9922;
}
.pagination > li:first-child > a, .pagination > li:first-child > span {
  border-radius: 0;
}
/*-------------footer paticka------------------*/
#bar-poweredby {
  display: none;
}
p.copy {
  text-align: center;
  padding: 0 15px;
  margin-top: 50px;
  color: #777;
}
p.copy a {
  color: #777;
}
/*--------------responsivni zobrazeni-------------*/

@media screen and (max-width: 500px) { /*zobrazení pro mobil*/ 
  .nav > li > a {      padding: 8px 20px 9px;	}
  span.logo a {    font-size: 15px;}
  span.logo {  left: 2%; top: 18px;}
  header { height: 220px;}
  .navbar {  top: -220px;}
  #list-pages li.media {  width: 90%; margin-left: 7px; height: 210px;}
  .rubric h2.subtitle.media-heading {  top: 157px;}
  header { height: 220px;}
  .navbar {  top: -220px;}

  #content {    margin-top: -35px;}

  ul#oblibene-odkazy li {  width: 96%;}

  /*----uvodni motiv---*/
  #box-custom-motive {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-image: url(/obrazek/3/motiv-strana-cb-jpg/);
    background-size: cover;
    background-position: center center;
  }
  .cb-slideshow, .cb-slideshow:after {  
    display: none;
  }
  body#index {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
  }

}

@media screen and (min-width: 501px) { /*zobrazení pro mobil*/ 
  .nav > li > a {      padding: 8px 20px 9px;	}
  span.logo a {    font-size: 15px;}
  span.logo {  left: 2%; top: 18px;}
  header { height: 220px;}
  .navbar {  top: -220px;}
  #list-pages li.media {  width: 74%; margin-left: 10%; height: 263px;}
  .rubric h2.subtitle.media-heading {  top: 210px;}

  #content {    margin-top: -35px;}

  ul#oblibene-odkazy li {  width: 45%;}

}

@media screen and (min-width: 768px) { /*zobrazení pro tablet*/
  .nav > li > a {      padding: 8px 20px 9px;	}

  span.logo a {    font-size: 18px;}
  span.logo {  left: 8%; top: 12px;}
  .navbar-nav {   padding-top: 41px;}
  header { height: 330px;}
  .navbar {  top: -330px;}

  #list-pages li.media {  width: 72%; margin-left: 14%; height: auto;}
  .rubric h2.subtitle.media-heading {  top: 351px;}

  ul#oblibene-odkazy li {  width: 30%;}

  #content {    margin-top: 0;}

}

@media screen and (min-width: 992px) { /*zobrazení pro malý notebook*/
  .nav > li > a {    padding: 15px 13px; text-align: left;		}
  span.logo a {    font-size: 16px;}
  span.logo {  left: 10%;}
  .navbar-nav {   padding-top: 0;}
  #list-pages li.media {  width: 48%; margin-left: 7px;}
  .rubric h2.subtitle.media-heading {  top: 304px;}

  ul#oblibene-odkazy li {  width: 22%;}

}

@media screen and (min-width: 1200px) { /*zobrazení pro monitor*/
  .nav > li > a {    padding: 15px 20px;	}
  span.logo a {    font-size: 18px;}
  span.logo {  left: 14%;}
  #list-pages li.media {  width: 31%; margin-left: 7px;}
  .rubric h2.subtitle.media-heading {  top: 240px;}

}
