body {
  color: #000;
  font-size: 15px;
  line-height: 21px;
  font-family: 'Open Sans', sans-serif;
  background-color: #f4f4f4;
  /* -webkit-transform: translate3d(0,0,0); */
}

a {
  color: #f5891d;
}
a:hover {
  color: #000;
}

#modal {
  display: none;
}

h1 {
  font-size: 36px;
  font-weight: bold;
  margin: 0;
  margin-bottom: 50px;
  text-align: center;
}
h2 {
  font-size: 26px;
  font-weight: bold;
  margin: 0;
  margin-bottom: 50px;
  line-height: 36px;
}
#page-index h2 {
  margin-bottom: 34px;
}

header {
  height: 433px;
  background-color: #cdcdcf;
  background-image: url(../img/header-bg.jpg);
  background-position: top left;
  background-repeat: repeat-x;
}

.header-content {
  height: 433px;
  width: 100%;
  position: relative;
}

.header-vana {
  display: none;
  width: 371px;
  height: 433px;
  background-image: url(../img/header-vana.jpg);
  background-position: center bottom;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
}

.header-badge {
  display: none;
  width: 221px;
  height: 221px;
  background-image: url(../img/header-badge.png);
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  top: 100px;
  left: 360px;
}

.header-text {
  display: none;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  position: absolute;
  top: 45px;
  right: 60px;
}

.header-text .text1 {
  font-size: 38px;
  line-height: 45px;
  margin-bottom: 20px;
}
.header-text .text1 a {
  color: #000;
  display: block;
  padding-right: 35px;
  background-image: url(../img/header-arrow.png);
  background-position: right center;
  background-repeat: no-repeat;
}
.header-text .text1 a:hover {
  color: #fff;
  text-decoration: none;
}
.header-text .text2 {
  font-size: 41px;
  color: #fff;
  line-height: 45px;
  margin-top: 20px;
}

.top-bar {
  background-color: #f5891d;
  color: #fff;
}
.top-left a.logo {
  display: inline-block;
  font-size: 19px;
  /*background: url(../img/cssd-logo.png) center left no-repeat;*/
  padding: 19px 0 19px 40px;
  padding-left: 0;
  color: #fff;
  text-decoration: none;
}
.top-left a.logo:hover {
  text-decoration: underline;
}
.top-right a.mail {
  color: #fff;
  display: inline-block;
  background: url(../img/email-ico.png) center right no-repeat;
  padding: 10px 28px 10px 0;
  margin-top: 10px;
}
.top-right {
  text-align: right;
}

.nav {
  padding: 12px 0;
}
.nav>li>a {
  font-size: 26px;
  color: #000;
  font-weight: bold;
  padding: 12px;
  position: relative;
}
.nav>li>a:hover,
.nav>li.active>a {
  background-color: #f5891d;
  color: #fff;
}
.nav>li>a:hover:after,
.nav>li.active>a:after {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #f5891d;
	border-width: 10px;
	margin-left: -10px;
}

.nav>li>a.search, .nav>li>a.home {
  width: 50%;
  display: inline;
}
.nav>li>a.search:hover, .nav>li>a.home:hover {
  background: none;
  opacity: 0.8;
}
.nav>li>a.search:hover:after, .nav>li>a.home:hover:after {
  display: none;
}

footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
}

.fb-link:hover {
  opacity: 0.7;
}

.copy-text {
  margin-top: 24px;
}

#page-kontakt .copy-text {
  font-size: 24px;
  margin-top: 40px;
}

.blog-item {
  margin-bottom: 50px;
}
.blog-item-title {
  font-size: 18px;
  color: #f5891d;
  font-weight: bold;
  margin-bottom: 4px;
}
.blog-item-date {
  color: #585858;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: bold;
}
.blog-more a {
  text-decoration: underline;
}
.blog-item a:hover {
  text-decoration: none;
}
.blog-item a:hover img {
  opacity: 0.7;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-backface-visibility: hidden;
}

#page-blog .blog-item-title {
  font-size: 26px;
  line-height: 26px;
  margin-bottom: 8px;
}
#page-blog .blog-item-date {
  font-size: 20px;
  margin-bottom: 12px;
}

.blog-detail-img {
  text-align: center;
  margin-bottom: 20px;
}
.blog-detail-img img {
  max-width: 160px;
}
#page-blog-detail h1 {
  color: #f5891d;
  margin-bottom: 10px;
}
.blog-detail-date {
  color: #585858;
  font-size: 20px;
  margin-bottom: 50px;
  font-weight: bold;
  text-align: center;
}

.content-wrapper {
  background-color: #f4f4f4;
  padding-bottom: 40px;
}
.content-wrapper .container {
  background-color: #fff;
}
.content {
  padding: 40px 20px 40px 20px;
  background-color: #fff;
}
.content-wide {
  position: relative;
  padding: 40px 60px;
  background-color: #fff;
}
.content-full {
  padding-top: 40px;
  background-color: #fff;
}
.sidebar {
  padding: 40px 35px 30px 35px;
  background-color: #f9f9f9;
}
.video {
  position: relative;
  margin-bottom: 10px;
}
.video a {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/video-play.png) 50% 40% no-repeat;
}
.video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px 15px;
  font-size: 16px;
  color: #fff;
  background: #f5891d url(../img/video-caption.png) right 12px center no-repeat;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-backface-visibility: hidden;
}
.video:hover .video-caption {
  color: #f5891d;
  background: #fff url(../img/video-caption-hover.png) right 12px center no-repeat;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-backface-visibility: hidden;
}
.video:hover img {
  opacity: 0.7;
}
.video-more {
  margin-top: 30px;
}
.video-more a {
  text-decoration: underline;
  color: #727272;
}
.video-more a:hover {
  color: #000;
}

.tisk {
  margin-bottom: 50px;
}
.tisk:last-of-type {
  margin-bottom: 20px;
}
.tisk-title {
  font-size: 26px;
  color: #f5891d;
  line-height: 32px;
  font-weight: bold;
}
.tisk-date {
  font-size: 20px;
  color: #585858;
  line-height: 32px;
  margin-bottom: 16px;
  font-weight: bold;
}
.tisk-more {
  display: inline-block;
  color: #fff;
  background-color: #f5891d;
  padding: 5px 34px;
  border-radius: 15px;
  font-size: 17px;
}
.tisk-more:hover {
  background-color: #727272;
  color: #fff;
  text-decoration: none;
}

#page-kdo-jsem .content-wide p:first-of-type {
  font-size: 20px;
  color: #6b6b6b;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
  margin-bottom: 50px;
}

#page-kdo-jsem .content-wide h2 {
  color: #f5891d;
  margin-bottom: 20px;
  margin-top: 40px;
}

#page-kdo-jsem .content-wide img {
  margin-top: 36px;
  margin-bottom: 30px;
  /*display: inline-block;
  max-width: 100%;
  height: auto;
  padding: 4px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;*/
}
#page-kdo-jsem .content-wide img[align=left] {
  margin-right: 30px;
}
#page-kdo-jsem .content-wide img[align=right] {
  margin-left: 30px;
}

#page-videa .content-wrapper .container {
  /*padding: 0;*/
}
#page-videa .content-wrapper .container .content-wide {
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 0;
}
#page-videa .video {
  margin-bottom: 30px;
}
#page-index .video a {
  background-size: 20%;
  background-position: 50% 40%;
}

#page-404 h1 {
  font-size: 200px;
}

.come-in {
  transform: translateY(150px);
  animation: come-in 0.8s ease forwards;
  -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
}
.come-in:nth-child(odd) {
  /*animation-duration: 0.6s;  So they look staggered */
}

@keyframes come-in {
  to {
    transform: translateY(0);
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
  }
}

.content-wrapper1 {
  background-color: #dbdbdb;
}
.content-wrapper1 .container {
  background-color: #dbdbdb;
}
.content-wrapper1 .container .content-wide {
  padding: 40px 60px;
  background-color: #dbdbdb;
}

#page-kdo-jsem .content-wrapper1 .container .content-wide h2 {
  margin: 0;
  margin-bottom: 40px;
  font-size: 36px;
  text-align: center;
}

.content-wrapper1 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-wrapper1 ul li {
  padding-left: 1em; 
  text-indent: -.7em;
  margin: 1px 0;
}

.content-wrapper1 ul li::before {
  content: "\002022";
  padding-right: 7px;
  color: #f5891d;
  font-weight: bold;
}

.content-wrapper1 ul li ul li {
  padding-left: 2em; 
  text-indent: -.7em;
  font-style: italic;
}

.content-wrapper1 ul li ul li::before {
  content: ">";
  padding-right: 7px;
  color: #f5891d;
  font-weight: bold;
  font-style: normal;
}

.btn-warning {
  background-color: #f5891d;
}

.photo-wrapper {
  margin-bottom: 30px;
  text-align: center;
}

.photo {
  position: relative;
  margin-bottom: 10px;
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px 12px;
  font-size: 15px;
  color: #fff;
  background-color: #f5891d;
  text-align: left;
  line-height: 16px;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-backface-visibility: hidden;
}
.photo:hover .photo-caption {
  /*color: #f5891d;
  background-color: #fff;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-backface-visibility: hidden;*/
}

.photo-img {
  display: block;
  text-align: center;
}
.photo-name {
  font-size: 12px;
}
.photo img {
  height: 240px;
}
.photo:hover img {
  opacity: 0.7;
}
.photo-wrapper .btn-wd {
  width: 120px;
}

.photo-rate {
  padding-top: 7px;
}

.btn-add {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 17px;
  font-weight: bold;
}

/* responsive */

@media (max-width: 1200px) {
  .nav>li>a {
    font-size: 20px;
  }
  header .container {
    width: 100%;
  }
  .header-text .text1,
  .header-text .text2 {
    font-size: 30px;
    line-height: 40px;
  }
  .header-text .text1 {
    padding-right: 45px;
  }
  .header-text {
    right: 30px;
    top: 60px;
  }
  .header-badge {
    left: 35%;
  }
}

@media (max-width:992px) {
  .nav>li>a {
    font-size: 18px;
    padding: 12px 6px;
  }
  .container {
    width: 100%;
  }  
  .blog-item {
    text-align: center;
  }
  .blog-item a img {
    max-width: 160px;
    margin-bottom: 20px;
  }
  .content-wide,
  .content-wrapper1 .container .content-wide {
    padding: 40px 20px;
  }
  .header-text .text1,
  .header-text .text2 {
    font-size: 24px;
    line-height: 34px;
  }
  .header-text {
    top: 70px;
  }
  .header-badge {
    left: 28%;
  }
  .header-vana {
    left: -10%;
  }
}

@media (max-width:768px) {
  .nav>li>a {
    padding: 6px;
  }
  #page-kdo-jsem .content-wide img {
    width: 100%;
    height: auto;
  }
  .content-wide,
  .content-wrapper1 .container .content-wide {
    padding: 40px 10px;
  }
  header .container {
    padding: 0;
  }
  .header-vana {
    width: 100%;
    left: 0;
    background-position: left center;
  }
  .header-text {
    top: auto;
    bottom: 20px;
  }
  .header-text .text1,
  .header-text .text2 {
    font-size: 16px;
    line-height: 24px;
  }
  .header-text .text1 {
    margin-bottom: 10px;
  }
  .header-text .text1 a {
    color: #fff;
  }
  .header-text .text1 a:hover {
    text-decoration: underline;
  }
  .header-text .text2 {
    margin-top: 10px;
  }
  .header-text img {
    width: 90px;
    height: auto;
  }
  .header-badge {
    width: 140px;
    height: 140px;
    top: 40px;
    right: 70px;
    left: auto;
    background-size: 140px 140px;
  }
}
@media (max-width:550px) {
  .header-vana {
    background-position: left -100px center;
  }
  .header-badge {
    right: 30px;
  }
} 