@import url('https://fonts.googleapis.com/css?family=Rubik:300,400,500,700&subset=latin-ext');
*{outline:none;}
body {
  font-family: 'Rubik', sans-serif;
  font-weight: 300;
  color: #7A7F82;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  color: #0E1722;
}

h1 {
  font-size: 25px;
}

h2 {
  font-size: 32px;
  font-weight: 500;
}

#homepage h1 span, #homepage h2 span {
  display: block;
  font-weight: 300;
}

h3 {
  font-size: 19px;
  font-weight: 700;
}

strong, b {
  color: #0E1722;
  font-weight: 400;
}

a.link {
  color: #E73B3B;
  font-weight: 300;
  position: relative;
  padding-bottom: 5px;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
}

a.link:after {
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #E73B3B;
  -webkit-transition: all .3s;
  transition: all .3s;
}

a:hover.link:after {
  bottom: 3px;
}
.paginator .shadow-page a {
    padding: 5px 10px;
    border: solid 1px #ccc;
    color: #0E1722;
}
.paginator .shadow-page a.active{
    color: #E73B3B;
    font-weight: 400;
}
.paginator{
  text-align: center;
  border-top: solid 1px #EAEAEA;
    display: block;
    margin-top: 50px;
    padding-top: 30px;
}
.paginator .prev{margin-right: 20px;}
.paginator .next{margin-left: 20px;}
.animation {
  visibility: hidden
}

aside#loading {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  z-index: 999;
  background-color: #fff;
  -webkit-animation: loading 1s ease 0.4s forwards;
  -moz-animation: loading 1s ease 0.4s forwards;
  -ms-animation: loading 1s ease 0.4s forwards;
  animation: loading 1s ease 0.4s forwards
}

@-webkit-keyframes loading {
  0% {
    opacity: 1
  }

  100% {
    opacity: 0;
  }

}

@-moz-keyframes loading {
  0% {
    opacity: 1
  }

  100% {
    opacity: 0;
  }

}

@-ms-keyframes loading {
  0% {
    opacity: 1
  }

  100% {
    opacity: 0;
  }

}

@keyframes loading {
  0% {
    opacity: 1
  }

  100% {
    opacity: 0;
  }

}

article {
  margin-top: 50px;
  padding: 0px 40px;
}

article h1, article h2, article h3 {
  font-weight: 500;
  margin: 20px 0px;
}

article h1 {
  font-size: 36px;
}

article h2 {
  font-size: 32px;
}

article h3 {
  font-size: 25px;
}

article img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 20px 35px 0 rgba(0, 0, 0, 0.30);
  margin-bottom: 40px;
}
.page-8 article img {
  box-shadow: none;
}

.navbar-custom {
  padding-top: 0px;
  padding-bottom: 0px;
  background-color: #0E1722;
}

.navbar-bg .navbar-nav .nav-item .nav-link {
  color: #3C474F !important;
}

.nav-link {
  padding: 0;
}

.navbar-custom .navbar-nav .nav-item .nav-link {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  padding: 1rem 0.8rem;
  position: relative;
}

.navbar-custom .navbar-nav .nav-item.active .nav-link:after {
  content: "";
  position: absolute;
  width: 38px;
  height: 5px;
  left: 50%;
  bottom: 0;
  background: #E73B3B;
  transform: translate(-50%, 0%);
}

.navbar-nav.language-switcher .nav-item.active .nav-link:after {
  display: none;
}

.navbar-nav.fast-contact {
  font-weight: 300;
  position: relative;
}

.navbar-nav.fast-contact:before {
  content: "";
  position: absolute;
  height: 30px;
  width: 1px;
  top: 50%;
  left: 0;
  background: #5A5A5A;
  transform: translate(0%, -50%);
}
/*
.navbar-nav.fast-contact:after {
  content: "";
  position: absolute;
  height: 30px;
  width: 1px;
  top: 50%;
  right: 0;
  background: #5A5A5A;
  transform: translate(0%, -50%);
}
*/

.navbar-nav.fast-contact .nav-item .nav-link, .navbar-nav.language-switcher .nav-item .nav-link {
  font-weight: 300;
  font-size: 12px;
}

.navbar-nav.fast-contact .nav-item .nav-link img {
  margin-right: 10px;
  width: 20px;
  height: auto;
}

.navbar-nav.language-switcher {
  padding-left: 20px;
}

.navbar-nav.language-switcher .nav-item .nav-link {
  border: solid 1px #5A5A5A;
  color: #5A5A5A;
  padding: 3px !important;
  margin-right: 10px;
  font-size: 11px;
  text-transform: uppercase;
}

.navbar-nav.language-switcher .nav-item.active .nav-link {
  color: #fff;
  border: solid 1px #E73B3B;
}

.navbar-nav.language-switcher .nav-item:hover a.nav-link {
  color: #fff;
}

.navbar-nav.language-switcher .nav-item:last-child .nav-link {
  margin-right: 0px;
}

div.masthead {
  position: relative;
  overflow: hidden;
  padding-top: calc(7rem + 72px);
  padding-bottom: 13rem;
  background: url('../img/main-bg-home.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: scroll;
  background-size: cover;
}

div.masthead .masthead-content {
  z-index: 1;
  position: relative;
  max-width: 600px;
  margin-left: 50px;
}

div.masthead .masthead-content h1 {
  line-height: 45px;
  font-size: 40px;
  font-weight: 300;
  margin-bottom: 20px;
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  color: #fff;
}

div.masthead .masthead-content h1 span {
  font-weight: 700;
}

div.masthead .masthead-content h2 {
  line-height: 28px;
  font-size: 17px;
}

#cms header {
  margin-top: 110px;
  z-index: 100;
  border-bottom: solid 1px #EAEAEA;
  padding-bottom: 50px;
}

#cms header h1 {
  font-size: 45px;
  font-weight: 500;
  position: relative;
}

#cms header h1:after {
  content: ".";
  position: absolute;
  color: #E73B3B;
}

#cms header h1 span {
  font-weight: 300;
}

section#about img {
  margin-top: 90px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 20px 35px 0 rgba(0, 0, 0, 0.30);
}

section#about .aboutContent {
  padding: 0px 80px;
}

#about h1 {
  font-size: 45px;
  font-weight: 500;
  margin-left: 50px;
}

#about h1 span {
  display: block;
  font-weight: 300;
}

#about h2 {
  font-size: 32px;
  font-weight: 500;
  position: relative;
  margin-bottom: 60px;
  margin-top: -50px;
  margin-left: 50px;
}

#about h2 span {
  display: block;
  font-weight: 300;
}

#about h2:after {
  content: ".";
  position: absolute;
  color: #E73B3B;
}

#about .home-services {
  margin-left: 50px;
}

#about .home-services a {
  display: block;
  margin: 25px 0px;
  position: relative;
  float: left;
  padding-left: 55px;
  text-decoration: none;
  font-weight: 300;
  color: #20242B;
  font-size: 18px;
}

#about .home-services a span {
  position: relative;
}

#about .home-services a span:after {
  content: " ";
  position: absolute;
  bottom: -10px;
  right: 0;
  background-color: #D8D8D8;
  width: 100%;
  height: 1px;
  -webkit-transition: all .3s;
  transition: all .3s;
}

#about .home-services a:hover span:after {
  bottom: -5px;
}

#about .home-services a:before {
  content: " ";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  -moz-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  -o-transform: translate(0%, -50%);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 30px;
  height: 30px;
}

#about .home-services a.interierove:before {
  background-image: url('../img/interierove.svg');
}

#about .home-services a.prumyslove:before {
  background-image: url('../img/prumyslove.svg');
}

#about .home-services a.venkovni:before {
  background-image: url('../img/venkovni.svg');
}

#about .home-services a.sportoviste:before {
  background-image: url('../img/sportoviste.svg');
}

#reference {
  background-color: #F7F7F7;
  border-top: solid 1px #EAEAEA;
  border-bottom: solid 1px #EAEAEA;
  padding: 50px 0px;
}

#reference h1 {
  font-size: 32px;
  position: relative;
  margin-bottom: 40px;
}

#reference h1 span {
  display: block;
  font-weight: 300;
}

#reference h1:after {
  content: ".";
  position: absolute;
  color: #E73B3B;
}

#reference .gallery .gal-item {
  position: relative;
  margin: 0;
  padding: 0;
  height: 280px;
    background-size: cover;
    background-position: center;
}

#reference .gallery .gal-item span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  color: #fff;
  visibility: hidden;
  font-weight: 500;
  text-align: center;
  display: inline-block;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  z-index: 3;
  max-width: 300px;
}

#reference .gallery .gal-item:hover span, #reference .gallery .gal-item:focus span {
  visibility: visible;
}

#reference .gallery .gal-item:after {
  content: " ";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #FB1D2F;
  left: 0;
  top: 0;
  opacity: 0;
  z-index: 1;
  -webkit-transition: all .3s;
  transition: all .3s;
}

#reference .gallery .gal-item:hover:after {
  opacity: .8;
}
#news .row{
  margin-bottom: 20px;
}
.gallery-row{
  margin-top: 30px;
    margin-bottom: 30px;
}
#reference .gallery .gal-item:before {
  content: " ";
  position: absolute;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: solid 1px #fff;
  margin: 10px;
  left: 0;
  top: 0;
  opacity: 0;
  z-index: 2;
  -webkit-transition: all .3s;
  transition: all .3s;
}

#reference .gallery .gal-item:hover:before {
  opacity: .5;
}

#zastoupeni {
  position: relative;
  overflow: hidden;
  padding: 60px 0px;
}

#zastoupeni h1 {
  font-size: 23px;
  font-weight: 400;
  margin-bottom: 50px;
  position: relative;
}

#zastoupeni h1:after {
  content: ".";
  position: absolute;
  color: #E73B3B;
  font-weight: 500;
}

#zastoupeni img {
  max-width: 100%;
  height: auto;
}

#fast-contact {
  background-color: #0E1722;
  padding: 60px 0px;
  font-size: 13px;
  color: #fff;
}

#fast-contact strong {
  color: #fff;
  font-weight: 500;
}

#fast-contact h1 {
  font-size: 32px;
  position: relative;
  margin-bottom: 40px;
  color: #fff;
}

#fast-contact h1 span {
  display: block;
  font-weight: 300;
}

#fast-contact h1:after {
  content: ".";
  position: absolute;
  color: #E73B3B;
}

#fast-contact .contacts a.link {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

#fast-contact .contacts {
  margin-bottom: 40px;
}

span.separator {
  padding: 0px 10px;
  color: #D8D8D8;
}

#fast-contact .contacts a.link:after {
  background-color: #fff;
}

#contact {
  position: relative;
  padding: 60px 0px;
  border-bottom: solid 1px #EAEAEA;
}

#contact .contact {
  padding-left: 140px;
  position: relative;
}

#contact .contact:before {
  content: "";
  position: absolute;
  width: 80px;
  height: 76px;
  background-image: url('../img/contact-ico.svg');
  background-repeat: no-repeat;
  top: 50%;
  left: 0%;
  transform: translate(0%, -50%);
}

#contact .contact a.link {
  color: #0E1722;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 40px;
}

#contact .contact .napiste a.link {
  margin-bottom: 0px;
}

#contact .contact a.link:after {
  background-color: #0E1722;
}

#contact .company-info h3 {
  margin-bottom: 40px;
  font-weight: 500;
}

#people {
  padding: 60px 0px;
}

#people  h1 {
  font-size: 32px;
  font-weight: 500;
  position: relative;
  margin-bottom: 30px;
}

#people  h1:after {
  content: ".";
  position: absolute;
  color: #E73B3B;
}

#people  h1 span {
  font-weight: 300;
}

#people .worker .photo {
  float: left;
  margin-right: 20px;
  display: inline-block;
}

#people .worker .info .phone {
  margin-bottom: 0;
}
#people .worker .pozice{
  font-size: 13px;
}

#people .worker .info h3 {
  font-weight: 500;
  margin-bottom: 0;
  margin-top: 5px;
  font-size: 18px;
}

#people .worker .photo img {
  height: 120px;
  max-width: 100%;
}

#people .worker {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  margin: 20px 0px;
}
#people .worker a.link{
  font-size: 13px;
}

@media (min-width:768px) {
  #people .worker {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

}

@media (min-width:992px) {
  #people .worker {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .navbar-custom .navbar-nav .nav-item .nav-link {
    font-size: 12px;
    font-weight: 300;
    color: #fff;
    padding: 1rem 0.6rem;
    position: relative;
}

}

@media (min-width:1200px){
  .navbar-custom .navbar-nav .nav-item .nav-link {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    padding: 1rem 0.8rem;
    position: relative;
}
}

#people .worker .info {
  float: left;
  display: inline-block;
}

.bg-primary {
  background-color: #ee0979 !important;
}

.btn-primary, .button {
  background-color: #E73B3B;
  border-color: #E73B3B;
  border-radius: 5px;
  padding: 15px 25px;
  font-weight: 300;
  color:#fff;
}
.button {
  color:#fff;
}
input.text, #frmcareerForm-note{
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    width: 100%;
    padding: .8em 1em;
    border: solid 1px #ccc;
}

.btn-secondary {
  background-color: #fff;
  border-color: #fff;
  border-radius: 5px;
  padding: 15px 25px;
  font-weight: 300;
  color: #3C474F;
  box-shadow: 0 10px 20px 0 rgba(143, 143, 143, 0.30);
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #C02121 !important;
  border-color: #C02121 !important;
}

footer {
  font-size: 13px;
  font-weight: 300;
  border-top: solid 1px #EAEAEA;
}

section {
  position: relative;
  overflow: hidden;
  padding: 90px 0px;
}

article #news img {
    max-width: 100%;
    height: auto;
    box-shadow: none;
    margin-bottom: 0px;
}

.fancybox-button--play, .fancybox-button--fullscreen, .fancybox-button--thumbs, .fancybox-button--share, .fancybox-infobar {
  display: none !important;
}

.icon-bar {
  width: 22px;
  height: 2px;
  background-color: #fff;
  display: block;
  transition: all 0.2s;
  margin-top: 4px
}

.navbar-toggler {
  border: none;
  background: transparent !important;
  position: relative;
  outline: none;
  width: 90px;
}

.navbar-toggler:hover, .navbar-toggler:focus {
  outline: none;
}

.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
  opacity: 0;
}

.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}

.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}

.menubtn {
  position: absolute;
  top: 9px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  right: 0;
}

.vypocetUspor{
  background-color: #F7F7F7;
  padding: 2rem 3rem;
}
.calculatorPhoto{
  background-image: url(../img/calculator_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 400px;
}
#calculatorResults p{
  margin-bottom: 0;
}
#about .vypocetUspor h2{
  margin: 0;
    margin-bottom: 30px;
    font-size: 28px;
}
#about .vypocetUspor h2:after{
  display: none;
}
.vypocetUspor .row{
  -ms-flex-align: center!important;
    align-items: center!important;
}
.vypocetUspor input.text, .vypocetUspor select{
  margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    width: 100%;
    padding: .4em .6em;
    border: solid 1px #ccc;
}
.error{
  font-size: 10px;
  color: red;
  margin-top: 3px;
  margin-bottom: 10px;
}

@media (min-width:992px) {
  div.masthead {
    padding-top: calc(3rem + 55px);
    padding-bottom: calc(3rem + 55px);
    margin-top: 50px;
  }

  div.masthead .masthead-content .masthead-heading {
    font-size: 6rem;
  }

  div.masthead .masthead-content .masthead-subheading {
    font-size: 4rem;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }

}

.shop a {
  border: solid 2px #E73B3B;
  padding: 5px 10px !important;
  margin-right: 10px;
  margin-top: 10px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

@media (max-width:992px) {
  .navbar-custom {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .navbar-collapse {
    text-align: center;
    background: #222D39;
    padding: 10px 10px 30px 10px;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .navbar-nav.fast-contact:before {
    content: "";
    position: absolute;
    height: 1px;
    width: 70%;
    top: 0;
    left: 50%;
    background: #5A5A5A;
    transform: translate(-50%, 0%);
  }

  .navbar-nav.fast-contact:after {
    content: "";
    position: absolute;
    height: 1px;
    width: 70%;
    bottom: 0;
    top: 100%;
    left: 50%;
    background: #5A5A5A;
    transform: translate(-50%, 0%);
  }

  .navbar-nav.fast-contact {
    margin-bottom: 30px;
  }

  .navbar-nav.language-switcher {
    padding-left: 0;
    display: block;
    position: relative;
    text-align: center;
  }

  .navbar-nav.language-switcher .nav-item .nav-link {
    font-size: 14px;
  }

  .language-switcher .nav-item {
    float: left;
    width: 50%;
  }

  div.masthead .masthead-content {
    margin-left: 0;
  }

  div.masthead {
    padding-bottom: 6rem;
    padding-top: 6rem;
    padding-top: calc(5rem + 72px);
    background-position: 40% center;
  }

  div.masthead .masthead-content h1 {
    font-size: 35px;
    margin-bottom: 10px;
  }

  section {
    padding: 60px 0px;
  }

}

@media (max-width:992px) {
  #contact .contact {
    margin-bottom: 50px;
    padding-left: 0px;
  }

  #contact .contact:before {
    display: none;
  }

  #contact .napiste, #contact .zavolejte {
    float: left;
    width: 50%;
    padding: 0px 15px;
  }

  #cms header h1 {
    font-size: 35px;
  }

  #cms header {
    margin-top: 80px;
    padding-bottom: 20px;
  }

  #contact {
    padding: 40px 0px;
  }

  #people {
    padding: 40px 0px;
  }

  #people h1 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  #zastoupeni {
    position: relative;
    overflow: hidden;
    padding: 40px 0px;
  }

  section#about .aboutContent {
    padding: 0px 20px;
    font-size: 14px;
  }

  #about h1 {
    font-size: 35px;
    margin-left: 30px;
  }

  section#about img {
    margin-top: 50px;
  }

  #about h2 {
    font-size: 28px;
    font-weight: 500;
    position: relative;
    margin-bottom: 50px;
    margin-top: -70px;
    margin-left: 30px;
  }

  #about .home-services {
    margin-left: 20px;
  }

}

@media (max-width:768px) {
  div.masthead .masthead-content {
    margin-left: 0;
  }

  div.masthead {
    padding-bottom: 6rem;
    padding-top: 6rem;
    padding-top: calc(5rem + 72px);
    background-position: 40% center;
  }

  div.masthead .masthead-content h1 {
    font-size: 35px;
    margin-bottom: 10px;
  }

  article {
    margin-top: 30px;
    padding: 0px 15px;
  }

  .nav-pills .nav-item .nav-link span {
    display: block;
    background-image: url(../img/pin-inactive.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
    height: 46px;
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
    line-height: 46px;
    font-size: 15px;
    font-weight: 800;
    color: #ACB5BC;
    transition: all .3s;
  }

  #about h1 {
    font-size: 35px;
    margin-left: 0;
    margin-bottom: 30px;
  }

  section#about .aboutContent {
    padding: 0;
    font-size: 14px;
    margin-top: 45px;
  }

  section#about img {
    margin-top: 10px;
  }

  #about h2 {
    font-size: 28px;
    font-weight: 500;
    position: relative;
    margin-bottom: 30px;
    margin-top: 45px;
    margin-left: 0;
  }

  #about .home-services {
    margin-left: 0;
  }

  #about h2 span {
    display: initial;
  }

  #about h1 span {
    display: initial;
  }

  #reference h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  #reference h1 span {
    display: initial;
  }

  #reference .gallery {
    margin-top: 30px;
  }

  #fast-contact h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  #fast-contact .contacts {
    margin-bottom: 30px;
    margin-top: 30px;
  }

  #fast-contact h1 span {
    display: initial;
  }

  .nav-pills .nav-link {
    font-size: 12px;
  }

  .nav-pills .nav-item {
    padding: 0;
  }

  .nav-pills:after {
    display: none;
  }

}

@media (max-width:575px) {
  .nav-pills .nav-item .nav-link span {
    display: block;
    background-image: url(../img/pin-inactive.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
    height: 46px;
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
    line-height: 46px;
    font-size: 15px;
    font-weight: 800;
    color: #ACB5BC;
    transition: all .3s;
  }

  #contact .napiste, #contact .zavolejte {
    float: left;
    width: 100%;
    padding: 0px 15px;
  }

  #contact .contact, #contact .company-info {
    text-align: center;
  }

  #contact .company-info .link {
    margin-bottom: 30px;
  }

  #contact {
    padding: 40px 0px;
  }

  #people {
    padding: 40px 0px;
  }

  #people h1 {
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
  }

  #people .worker {
    position: relative;
    width: auto;
    margin: 20px auto;
  }

  #cms header h1 {
    font-size: 35px;
    text-align: center;
  }

  #cms header {
    margin-top: 80px;
    padding-bottom: 20px;
  }

  #about h1 {
    text-align: center;
    font-size: 26px;
  }

  section#about .aboutContent {
    margin-top: 35px;
    text-align: center;
  }

  #about h2 {
    font-size: 23px;
    margin-bottom: 20px;
    margin-top: 45px;
    text-align: center;
  }

  #about .home-services a {
    margin: 20px 0px;
    font-size: 15px;
  }

  section#about img {
    max-width: 80%;
  }

  section#about .about-image {
    text-align: center;
  }

  div.masthead .masthead-content {
    max-width: 600px;
    margin-left: 0;
    text-align: center;
  }

  #reference {
    padding: 40px 0px;
    text-align: center;
  }

  #reference h1 {
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
  }

  #zastoupeni h1 {
    font-size: 18px;
    margin-bottom: 40px;
  }

  span.separator {
    display: block;
    margin: 10px 0px;
  }

  #fast-contact {
    padding: 40px 0px;
    text-align: center;
  }

  #fast-contact h1 {
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
  }

  .nav-pills .nav-link {
    font-size: 12px;
  }

  .nav-pills .nav-item {
    padding: 0;
  }

  .nav-pills:after {
    display: none;
  }

  div.masthead {
    padding-bottom: 5rem;
    padding-top: 5rem;
    padding-top: calc(5rem + 72px);
  }

  div.masthead .masthead-content h1 {
    font-size: 30px;
  }

}
