/*!
 * Start Bootstrap - Stylish Portfolio v5.0.6 (https://startbootstrap.com/template-overviews/stylish-portfolio)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-stylish-portfolio/blob/master/LICENSE)
 */

body,
html {
  width: 100%;
  height: 100%;
}

body {
    font-family: 'Open Sans', 'Arial', sans-serif;
}
img {
    max-width: 100%;
    height: auto;
    margin-bottom: 5px;
}
hr {
    width: 100%;
    margin-left: 0;
    border-color: #C0C0C0; 
}
.katalog {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px 20px;
    height: 420px;
    margin-bottom:10px;
}
.katalog:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
section.contact {
   padding-top: 4rem;
  padding-bottom: 2rem; 
}
section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
section.head {
    padding-top: 10rem;
}
section.no-margin {
    padding-top: 0rem;
    margin: 0px;
}
h2 {
  font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 50px;
}
h3 {
      font-size: 1.8rem;
    margin: 45px 0px;  
    }
h5 {
       font-size: 1.2rem;
    margin-top: 30px; 
    margin-bottom: 30px; 
    }
p {
    font-size: 18px;
}
.stempel {
    position: absolute;
    margin-left:-320px;
    margin-top:160px;
}
ul.check {
    list-style-image: url(../img/check.png);
    padding: 0 25px;
    line-height: 30px;
}
.mergines {
  margin-top: 60px;  
}
.zero {
        display: block;
    }

@media (max-width: 768px){
    .katalog {
    display: 20px 10px;
    height: 480px;
}
   section.contact {
   padding-top: 4rem;
  padding-bottom: 2rem; 
}
section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
section.no-margin {
    padding-top: 6rem;
    margin: 0px;
}
h2 {
  font-size: 2rem;
    margin-bottom: 20px;
}
    h3 {
      font-size: 1.2rem;
    margin: 20px 0px;  
    }
    h5 {
       font-size: 1rem;
     margin-top: 30px; 
    margin-bottom: 20px;  
    }
p {
    font-size: 16px;
}
    ul.check {
    list-style-image: url(../img/check.png);
    padding: 0 25px;
    line-height: 25px;
}
.mergines {
  margin-top:20px;  
}
.zero {
        display: none;
    }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
    line-height: normal;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

.scroll-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  display: none;
  width: 50px;
  height: 50px;
  text-align: center;
  color: white;
  background: rgba(52, 58, 64, 0.5);
  line-height: 45px;
}

.scroll-to-top:focus, .scroll-to-top:hover {
  color: white;
}

.scroll-to-top:hover {
  background: #343a40;
}

.scroll-to-top i {
  font-weight: 800;
}
article {
   padding: 4rem 0;
    background:  -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.2))), url("../img/bg.jpg");
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%), url("../img/bg.jpg");
    background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
    background-attachment: scroll;
    color:white;
    font-weight: 600;
}
article p {
    font-size: 22px;
}
article a {
    color: white;
}
article a:hover {
    color: #DFDFDF;
}
@media (max-width: 767px) {
    article {
    background-attachment: scroll;
    }
    article p {
    font-size: 16px;
}
}
article.clients {
    padding: 10rem 0;
    background:  -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.4)), to(rgba(0, 0, 0, 0))), url("../img/pudelka2.jpg");
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%), url("../img/pudelka2.jpg");
    background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
    background-attachment: fixed;
    color:white;
}
article.clients p {
    font-size: 18px;
    font-weight: 600;
}
article.clients a {
    font-weight: 700;
    color: white;
}
article.clients a:hover {
    color: #DFDFDF;
}
@media (max-width: 767px) {
    article.clients {
    background-attachment: scroll;
    }
}
.bg-light {
    background-color: rgba(0, 0, 0, 0.05) !important;
}
.masthead {
  position: relative;
  display: table;
  width: 100%;
  height: auto;
  padding-top: 8rem;
  padding-bottom: 6rem;
  background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.1))), url("../img/bg.jpg");
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%), url("../img/bg.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
    background-attachment: scroll;
    color: white;
}

.masthead h1 {
  font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 2rem;
   text-shadow: 8px 8px 15px black;
}
.masthead h2 {
  font-size: 1.1rem;
  line-height: 1.8rem;
    font-weight: bold;
    padding-top: 10px;
        padding-bottom: 0px;
    padding-bottom: 20px;
    text-shadow: 8px 8px 15px black;
}
@media (min-width: 992px) {
  .masthead {
    height: auto;
      padding-top: 11.5rem;
  padding-bottom: 8rem;
      background-attachment: fixed;
  }
  .masthead h1 {
    font-size: 3.4rem;
line-height: 4rem;
  }
    .masthead h2 {
  font-size: 1.8rem;
  line-height: 2.7rem;
        font-weight: bold;
        padding-top: 10px;
        padding-bottom: 10px;
}
}
.masthead-page {
  position: relative;
  display: table;
  width: 100%;
  height: auto;
  padding-top: 6rem;
  padding-bottom: 1.5rem;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
    background-attachment: scroll;
}

.masthead-page h1 {
  font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.8rem;
    color: rgba(50, 166, 203, 1);
}

@media (min-width: 992px) {
  .masthead-page {
    height: auto;
      padding-top: 6.5rem;
  padding-bottom: 1rem;
      background-attachment: fixed;
  }
  .masthead-page h1 {
    font-size: 1rem;
line-height: 2rem;
  }
}
.text-primary {
    color: rgba(50, 166, 203, 1) !important;
}
/* Side Menu */
#mainNav {
  border-bottom: 1px solid rgba(33, 37, 41, 0.1);
  background-color: white;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
    box-shadow: 0 0 20px black;
}

#mainNav .navbar-brand {
    font-size: 1.5rem;
  font-weight: 400;
  text-transform: inherit;
  color: black;
    max-height: 50px;
}

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: black;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.9);
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: rgba(0, 0, 0, 0.5);
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: rgba(0, 0, 0, 0.5) !important;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
 color: rgba(0, 0, 0, 0.5) !important;
}

@media (min-width: 992px) {
  #mainNav {
     padding:15px;
    border-color: transparent;
    background-color: rgba(255, 255, 255, 1);
      box-shadow: none;
  }
  #mainNav .navbar-brand {
       font-size: 1.5rem;
    color: black;
      max-height: 50px;
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: black;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5rem 1rem;
      font-size: 16px;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    color: rgba(0, 0, 0, 0.9);
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: rgba(0, 0, 0, 0.5);
  }
  #mainNav.navbar-shrink {
    border-bottom: none;
    background-color: white;
      transition: 0.5s;
      box-shadow: 0 0 20px black;
  }
  #mainNav.navbar-shrink .navbar-brand {
      font-size: 1.8rem;
    color: black;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: black;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
    color: rgba(0, 0, 0, 0.9);
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: rgba(0, 0, 0, 0.5);
  }
}
.service-icon {
  background-color: #fff;
  color: rgba(50, 166, 203, 1);
  height: 7rem;
  width: 7rem;
  display: block;
  line-height: 7rem;
  font-size: 3rem;
  -webkit-box-shadow: 1px 5px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 1px 5px 3px rgba(0, 0, 0, 0.2);
}

.produkty-item {
  display: block;
  position: relative;
  overflow: hidden;
  max-width: 530px;
  margin: 10px;
}

.produkty-item .caption {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  width: 100%;
  background-color: rgba(50, 166, 203, 0.3);
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.produkty-item .caption .caption-content {
  color: #fff;
  margin: 1rem 1rem;
}
.produkty-item .caption .caption-content p {
  font-weight: 300;
  font-size: 16px;
    font-weight: 600;
    line-height: normal;
}

@media (min-width: 992px) {
  .produkty-item {
    max-width: none;
    margin: 20px;
  }
  .produkty-item .caption {
    -webkit-transition: -webkit-clip-path 0.25s ease-out, background-color 0.7s;
    -webkit-clip-path: inset(0px);
    clip-path: inset(0px);
  }
  .produkty-item .caption .caption-content {
    -webkit-transition: opacity 0.25s;
    transition: opacity 0.25s;
    
  }
  .produkty-item img {
    -webkit-transition: -webkit-clip-path 0.25s ease-out;
    -webkit-clip-path: inset(-1px);
    clip-path: inset(-1px);
  }
  .produkty-item:hover img {
    -webkit-clip-path: inset(0.5rem);
    clip-path: inset(0.5rem);
  }
  .produkty-item:hover .caption {
    background-color: rgba(50, 166, 203, 0.9);
    -webkit-clip-path: inset(0.5rem);
    clip-path: inset(0.5rem);
  }
}

footer.footer {
  padding-top: 2rem;
  padding-bottom: 1rem;
}
a {
  color: #02769B;
    text-decoration: none !important;
}

a:hover, a:focus, a:active {
  color: rgba(50, 166, 203, 1);
    text-decoration: none !important;
}
a.catalog {
    color: grey;
}
a.catalog:hover, a.catalog:focus, a.catalog:active {
    color: #02769B;
}
.title {
    color:  rgba(50, 166, 203, 1);
}
.btn-xl {
  padding: 10px 15px;
}
.btn-header {
    background-color: rgba(50, 166, 203, 1);
    border: 2px solid rgba(50, 166, 203, 1);
    color:white;
    box-shadow: 0 10px 15px black;
}
.btn-header:hover, .btn-header:focus, btn-header:active {
    background-color: rgba(50, 166, 203, 1);
    border: 2px solid rgba(50, 166, 203, 1);
    color:rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
}
.btn-primary {
  background-color: transparent!important;
  border: 2px solid #32a6cb !important;
  color: #32a6cb !important;
    font-weight: 600;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #32a6cb !important;
  border: 2px solid #32a6cb !important;
    color: white !important;
}
.btn-article {
  background-color: rgba(0, 0, 0, 0.4);
  border: 2px solid white !important;
  color: white !important;
    font-weight: 600;
    box-shadow: 0 10px 15px black;
}
.btn-article:hover, .btn-article:focus, .btn-article:active {
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
}

.bg-primary {
  background-color: #FFA020 !important;
}
#portfolio {
    padding-top: 30px;
}

#portfolio .portfolio-item {
  right: 0;
  margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all ease 0.5s;
  opacity: 0;
  background: rgba(50, 166, 203, 0.8);
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
  opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: white;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
  margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
  margin: 0;
}

#portfolio .portfolio-item .portfolio-caption {
  max-width: 400px;
    height: 80px;
  margin: 0 auto;
  padding: 15px;
  text-align: center;
  background-color: #fff;
    border: 1px solid lightgrey;
}

#portfolio .portfolio-item .portfolio-caption h4 {
  margin: 0;
  text-transform: none;
}

#portfolio .portfolio-item .portfolio-caption p {
  font-size: 16px;
  margin: 0;
  font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

#portfolio * {
  z-index: 2;
}

@media (min-width: 767px) {
    #portfolio {
    padding-top: 50px;
}
  #portfolio .portfolio-item {
    margin: 0 0 30px;
  }
}

.portfolio-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
}

.portfolio-modal .modal-content {
  padding: 100px 0;
  text-align: center;
}

.portfolio-modal .modal-content h2 {
  font-size: 3em;
  margin-bottom: 15px;
}

.portfolio-modal .modal-content p {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
  font-size: 16px;
  font-style: italic;
  margin: 20px 0 30px;
  font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.portfolio-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
}

.portfolio-modal .modal-content img {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content button {
  cursor: pointer;
}

.portfolio-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 75px;
  height: 75px;
  cursor: pointer;
  background-color: transparent;
}

.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}

.portfolio-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 1px;
  height: 45px;
  margin-left: 35px;
  /* IE 9 */
  transform: rotate(45deg);
  background-color: #212529;
}

.portfolio-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 1px;
  height: 45px;
  /* IE 9 */
  transform: rotate(90deg);
  background-color: #212529;
}
.skala img {
    transition-duration: 3s;
    margin: 0 auto;
    display: block;
}
.skala img:hover {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    z-index: 0;
}
.box {
  padding: 15px 20px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  background: #fff;
  transition: 0.4s;
}

.box:hover {
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.23);
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
}