.sub-header{
  position:sticky;
  z-index:100000;
  top:0;
}
header,
header.background-header{
  position:sticky;
  top:46px;
  left:0;
  height:80px;
  background-color:#fff!important;
  box-shadow:0 1px 10px rgba(0,0,0,.1);
  transition:none;
}
header .navbar,
header.background-header .navbar{
  min-height:80px;
  padding:20px 0;
  transition:none;
}
header .navbar-brand,
header.background-header .navbar-brand{
  display:flex;
  align-items:center;
  height:40px;
  margin-top:0;
  padding:0;
}
header .navbar-brand img,
header.background-header .navbar-brand img{
  display:block;
  width:auto;
  max-width:180px;
  max-height:48px;
  object-fit:contain;
}
header .navbar-nav a.nav-link{color:#1e1e1e!important}
header .navbar-nav .nav-link:hover,
header .navbar-nav .nav-link:focus,
header .navbar-nav .nav-link.current{color:#9e6f0d!important}
html{scroll-padding-top:0}
[id]{scroll-margin-top:126px}

/* Fine-tuned menu destinations according to each section's heading layout. */
#projekt{scroll-margin-top:146px}
#produkty{scroll-margin-top:66px}
#contactus{scroll-margin-top:156px}

/* The sticky contact and navigation bars already occupy space in the page flow. */
.main-banner:empty{display:none}
.services{margin-top:55px}
.single-services.article-page{
  margin-top:0;
  padding-top:45px;
  background:linear-gradient(180deg,#f4f4f4 0,#fff 310px);
}
@media(max-width:991px){
  .contact-form-label{display:none}
}
@media(max-width:768px){
  header,header.background-header{position:fixed;top:0}
  header .navbar-brand,header.background-header .navbar-brand{height:45px}
  header .navbar-brand img,header.background-header .navbar-brand img{max-width:150px;max-height:42px}
  html{scroll-padding-top:0}
  [id]{scroll-margin-top:80px}
  #projekt{scroll-margin-top:100px}
  #produkty{scroll-margin-top:35px}
  #contactus{scroll-margin-top:110px}
  .services{margin-top:45px}
  .single-services.article-page{margin-top:0;padding-top:30px}
}
