@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&subset=latin-ext');

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

a, a:focus {
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  color: #126c80;
}
a:hover {
  color: #1b9fb8;
}

h1 {
  font-size: 2em;
  text-align: center;
  color: #1c9eb8;
  font-weight: 600;
  margin-bottom: 10px;
}
h3 {
  text-align: center;
  color: #000;
  margin-top: 5px;
  font-size: 1.2em;
}
body[class*='rubric'] h1 {
  margin-bottom: 40px;
}
#list-pages h2 {
  text-align: left;
  font-size: 1.5em;
  color: #000;
  margin-bottom: 10px;
}


ul {margin-bottom: 0;}
.mg-bottom {margin-bottom: 40px;}

/* header */
.navbar-nav > li {
  font-family: 'Montserrat', sans-serif;
  text-transform: none;
  font-size: 14px;
}

.navbar-nav > li a {
  padding: 23px 15px 22px 15px;
}

.navbar-nav {margin: 0;}

.navbar-fixed-top {
  background: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:focus,
.navbar .navbar-nav > li.active a,
.navbar .navbar-nav > .active > a:hover {
  background: #126c80;
  color: #fff;
}

#logo img {
  max-height: 35px;
}

#logo {
  /*background: #fff;*/
  display: block;
  height: 100%;
  width: 150%;
  text-align: center;
}

body.gallery-detail #logo,
body.rubric #logo,
body[class*='rubric'] #logo,
#galleries #logo {
  border-left: 1px solid #1c9eb8;
  border-bottom: 1px solid #1c9eb8;
}

header nav .container { background: #1b9fb8; }
#index header nav .container { width: 100%; }
.navbar-inner { padding: 0; }
.navbar-default .navbar-nav > li > a { color: #fff; }
.navbar-nav.navbar-right:last-child { margin-right: 0; }
.container > .navbar-header { margin-right: 0; }
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background: #1c9eb8;
}
.navbar > .container .navbar-brand {margin-left: 0;}

.dropdown-menu {padding: 0; border: none; background: #126c80;}
.dropdown-menu > li > a {color: #fff;}
.navbar .dropdown-menu > li > a:hover,
.navbar .dropdown-menu > li > a:focus,
.navbar .dropdown-menu > .active > a,
.navbar .dropdown-menu > .active > a:hover,
.navbar .dropdown-menu > .active > a:focus {
  background-color: #116375;
}
.navbar-default .navbar-toggle {color: #fff;}


/* content */
#mainContainer {
  background: none;
  padding-top: 0 !important;
}

#content {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  margin-top: 0;
  background: transparent;
  padding-top: 0;
}

body:not(#galleries):not(.gallery-detail):not(.rubric):not([class*="rubric"]):not(#webmap):not(#download):not(.folder-detail):not(#support) #content {
  width: 100%;
}

#content main {
  padding: 0;
}

.title-head {
  padding: 40px 15px;
}

.bgbox {
  background: rgba(28, 158, 184, .1);
  padding: 30px 15px;
  line-height: 1.6;
}

.bgbox .col-sm-12 {
  text-align: center;
}

.bgbox p {margin-bottom: 0;}

.photo {margin-bottom: 40px; padding: 15px;}
.photo-item img {max-width: 100%; height: 100%;}
.photo-item {
  height: 150px;
  text-align: center;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;}
.photo .photo-item:not(:last-of-type):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);
}
.photo .photo-item:last-of-type {line-height: 150px;}


/* fotogalerie */
.gallery-detail .back-link {
  display: none;
}
.thumbnail {
  border-color: #d2d2d2;
  padding: 10px;
  min-height: 156px;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #d2d2d2;
  background: rgba(28, 158, 184, .1);
}
body.gallery-detail h1, #webmap h1, #download h1, body.folder-detail h1 {
  margin-bottom: 40px;
}
.img-thumbnail {padding: 0; max-height: 134px;}
.photos {margin: 0;}

/* btn */
.btn-default,
.btn-primary {
  background: #126c80;
  border-color: #126c80;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.btn {
  padding: 12px 30px;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  color: #fff;
}
.btn span {
  margin-left: 15px;
  margin-right: -10px;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: #116375;
  border-color: #116375;
  color: #fff;
}


/* contact */
.contact > div {
  margin-bottom: 30px;
}
.contact > div > .box {
  border: 1px solid #d2d2d2;
  padding: 15px;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}
.contact a {text-decoration: none;}
.contact p {margin: 0;}
.contact .name {
  font-weight: 600;
  margin-bottom: 15px;
  color: #1c9eb8;
}
.contact .name img {vertical-align: inherit;}
.contact .position {
  margin-bottom: 20px;
}
.contact > div > .box:hover {
  background: rgba(28, 158, 184, .1);
}
.contact img {max-width: 100%;}

/* poptavka */
#poptavka {
  background: rgba(28, 158, 184, .1);
  padding: 15px;
}

.form-control {
  margin-bottom: 10px;
  border: 1px solid #b1d7e0;
}
.form-control:focus {
  border-color: #1c9eb8;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(28,158,184,.1), 0 0 8px rgba(28,158,184, .2);
  box-shadow: inset 0 1px 1px rgba(28,158,184,.1), 0 0 8px rgba(28,158,184, .2);
}

#poptavka .zajem label {margin-right: 10px;}


/* big box */
.bigBox {
  margin: 0;
  background: #126c80;
  padding: 25px;
  color: #fff;
}
.bigBox-2, .bigBox-6 { background: #1c9eb8; }
.bigBox-3, .bigBox-4 { background: rgba(28, 158, 184, .7); }

.bigBox-2:hover, .bigBox-6:hover { background: #1c9eb8 !important; }
.bigBox-3:hover, .bigBox-4:hover { background: rgba(28, 158, 184, .7) !important; }
.bigBox-1:hover, .bigBox-5:hover {background: #126c80 !important;}

.bigBox .title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 20px;
}
.bigBox .button {text-align: right; margin-bottom: 0; margin-top: 30px;}
.bigBox .btn-default {background: #116375; border: 1px solid #128da5;}
.bigBox .btn-default:hover {background: #126c80;}

.more {text-align: center;}


/* media */
.media {
  border: 1px solid #d2d2d2;
  padding: 15px;
}

.rubric hr {display: none;}
#list-pages {margin-bottom: 40px;}

/* fotogalerie s popiskama */
.photos .item-photo a span {
  display: block;
  text-align: center;
  margin-top: 8px;
}
.photos .item-photo a {
  text-decoration: none;
}

/* stahnout */
#listdata h2 {
  text-align: left;
  font-size: 1em;
  margin-top: 0;
}
#listdata ul {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}
#listdata li {
  border: 1px solid #d2d2d2;
  padding: 10px;
  width: calc(25% - 15px);
  display: inline-block;
  margin-right: 15px;
}
#listdata li p {
  margin: 0;
}



/* responsive */
@media (max-width: 990px) {
  #logo {width: 100%;}
  .navbar-nav > li a {
    padding: 23px 5px 22px 5px;
  }
}

@media (max-width: 768px) {
  #logo {width: 100%; text-align: left; margin-left: 15px;}
  .photo-item {margin-bottom: 10px;}
  .photo .photo-item:last-of-type {line-height: 1; height: auto;}
  .copy > div:last-of-type {text-align: center;}
  .title-head {padding-top: 0;}
  .home .box {margin-bottom: 15px;}
  .home > div > div > div:last-child .box {margin-bottom: 0;}
  #contentBox {margin-top: 15px; margin-bottom: 20px;}
  .title-head {padding: 0px 15px 20px 15px; }
  #footer-top .btn {margin-top: 15px;}
  .navbar-nav > li a {padding: 15px 10px 15px 10px;}
}

@media (min-width: 1400px) {
  #index #logo {width: 100%; margin-left: 280px; text-align: left;}
  #index #list-navbar {margin-right: 280px;}
}

/* photos in article */
body.article-detail .photos {
  margin: auto;
}
@media (min-width: 768px) {
  body.article-detail .photos {
    width: 750px;
  }
}
@media (min-width: 992px) {
  body.article-detail .photos {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  body.article-detail .photos {
    width: 1170px;
  }
}



.folder-detail hr {
  display: none;
}
img {
  max-width: 100%;
  height: auto;
}
body {
  margin-top: 100px;
  margin-bottom: 50px;
}
.main-gallery > div {
  margin: 15px 0;
}
#index .bgbox {
  margin: 50px 0;
}
footer, #bar-poweredby {
  display: none;
}
#listdata {
  width: calc(100% - 30px);
  margin: auto;
}
@media (min-width: 768px) {
  .mainH1 {display: inline;}
}
h1.title {
  margin-bottom: 25px;
}