body {font-family: 'Gotu', sans-serif;}
h1, h2, h3, h4, h5 {
  font-weight: bold;
  font-family: 'Gotu', sans-serif;
}
.navbar-collapse {
  flex-grow: 0;
}
.navbar {border-bottom:1px solid #cfdfd5}
section {
  padding: 3.2rem 0;
}
section a {font-weight:bold}
section h2 {
  color:#222;
  font-size: 2.1rem;
  line-height: 2.5rem;
}

.scroll-to-top {
  z-index: 1042;
  right: 1rem;
  bottom: 1rem;
  display: none;
}

.scroll-to-top a {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(33, 37, 41, 0.5);
  line-height: 3.1rem;
}

#mainNav {
  padding-top: 1.0rem;
  padding-bottom: 1.0rem;
  font-weight: bold;
}

#mainNav .navbar-brand {
  color: #fff;
}

#mainNav .navbar-nav {
  margin-top: 1rem;
  letter-spacing: 0.01rem;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
  color: #222;
  font-weight: bold;
  font-size: 1.2rem
}

#mainNav .navbar-nav li.nav-item a.nav-link:hover {
  color: #15aa0f;
}

#mainNav .navbar-nav li.nav-item a.nav-link:active, #mainNav .navbar-nav li.nav-item a.nav-link:focus {
  color: #15aa0f;
}

#mainNav .navbar-nav li.nav-item a.nav-link.active {
  color: #15aa0f;
}

#mainNav .navbar-toggler {
  font-size: 95%;
  padding: 0.7rem 1.2rem;
  background: #15aa0f;
}

#mainNav .navbar-brand img {
  width: 220px;
  position:relative;
  top:0;
  left:-4px    
}

header.masthead {
  padding-top: 72px;
  padding-bottom: 0;
}

#lang {position:fixed;margin-left:920px;z-index:1100}
#lang a {margin-right:4px}
#lang a img {border:1px solid #bbb}
#lang a.active img {opacity:0.4}

@media (min-width: 992px) {
  header.masthead {
    padding-top: 93px;
    padding-bottom: 0;
  }
  #mainNav {
    padding-top: 1.0rem;
    padding-bottom: 1.0rem;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
  }
  #mainNav .navbar-brand {
    font-size: 2em;
    -webkit-transition: font-size 0.3s;
    transition: font-size 0.3s;
  }
  #mainNav .navbar-nav {
    margin-top: 0;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
    color: #fff;
    background: #15aa0f;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active:active, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
    color: #fff;
    background: #15aa0f;
  }
  #mainNav.navbar-shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.5em;
  }
}

.portfolio .portfolio-item {
  position: relative;
  display: block;
  max-width: 25rem;
  margin-bottom: 15px;
}

.portfolio .portfolio-item .portfolio-item-caption {
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background-color: rgba(24, 188, 156, 0.9);
}

.portfolio .portfolio-item .portfolio-item-caption:hover {
  opacity: 1;
}

.portfolio .portfolio-item .portfolio-item-caption .portfolio-item-caption-content {
  font-size: 1.5rem;
}

.footer {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  background-color: #222;
  color: #aaa;
  font-size: 0.9rem !important;
}

section a {font-weight: normal;text-decoration: underline;}
section a:hover {font-weight: normal;text-decoration: underline;color:#247e46}
a {color: #222}
a:focus, a:hover, a:active {color: #444;}

.btn {border-width: 2px;}

.bg-primary {
  background-color: #cbecc7 !important;
}

.bg-secondary {
  background-color: #fff !important;
}

.text-primary {
  color: rgb(19, 184, 129) !important;
}

.text-secondary {
  color: #2C3E50 !important;
}

.btn-primary {
  background-color: rgb(19, 184, 129);
  border-color: rgb(19, 184, 129);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #128f76;
  border-color: #128f76;
}

.btn-secondary {
  background-color: #2C3E50;
  border-color: #2C3E50;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: #1a252f;
  border-color: #1a252f;
}
small.copy {color:#a8a8a8}

.portfolio p {line-height:1.9rem;font-size:1.2rem;margin-top:1.2rem}
.portfolio h3 {font-size:1.7rem;color:#15aa0f}

.photos-mt-4 {margin-top:1rem}

#galery div a img {height:165px;width:240px}

.navbar-brand span {color:#88b8cc}

.pl-lg-3, .px-lg-3 {padding-left: 0.6rem !important;}
.pr-lg-3, .px-lg-3 {padding-right: 0.6rem !important;}

.section-left-img {max-width:295px;margin-right:55px}
.section-right-img {max-width:295px;margin-left:25px}

.table-responsive {max-width:850px !important;margin:0 auto}

.table-bordered thead td, .table-bordered thead th {
  text-align: center;
  vertical-align: middle;
  padding: 8px 0 8px 0;
  background-color: #f0f0f0
}

#nasesluzby, #contact {background:#cbecc7}

.map-responsive {
    overflow:hidden;
    padding-bottom:40%;
    position:relative;
    height:0;
}
.map-responsive iframe {
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
    border: 1px solid #a5d6a0 !important;
    border-radius: 3px;
}

#about p {padding-left:20px}
img.header {position: relative;top:0;left:-30px}

@media (max-width: 1200px) {
  #lang {position:fixed;top:33px;right:15px;z-index:1100;margin-left:0}
}

@media (max-width: 1000px) {
  #lang {position:fixed;top:24px;right:15px;z-index:1100;margin-left:0}
  #galery div a img {height:120px}
  img.header {position: relative;top:0;left:0}
}

@media (max-width: 576px) {
  section {padding:1.5rem 0}
  section#galery a img {padding-bottom:0.5rem !important}
  .portfolio .portfolio-item {
    margin-bottom: 30px;
  }
  section.portfolio {
    padding: 2rem 0 2.2rem 0;
  }
  section p, .portfolio p {font-size:0.95rem;line-height:1.5rem}
  #mainNav .navbar-brand img {
    width: 170px;
    position:relative;
    top:2px;
    left:-2px    
  }
  .mobile-hidden {display: none}
  section h2 {
    font-size: 1.6rem;
    line-height: 1.5rem;
  }
  .section-left-img {max-width:100%;margin-right:0;margin-bottom:15px;float:none !important}
  .section-right-img {max-width:100%;margin-left:0;margin-bottom:15px;float:none !important}
  .table-bordered thead td, .table-bordered thead th, .table-bordered tbody td {
     font-size:0.85rem    
  }
  ul li {
    font-size:0.96rem
  }
  #galery div a img {height:235px;width:96%}
  .portfolio h3 {font-size:1.25rem}
  .portfolio h2 {
    font-size: 1.3rem
  }
  header.masthead {
    padding-top: 72px;
    padding-bottom: 0;
  }
  .pt-3, .py-3 {
    padding-top: 0.4rem !important;
  }
  .pb-3, .py-3 {
    padding-bottom: 0.4rem !important;
  }
  #about p {padding-left:0}
}
