div#navbar {
       background-color: #f3f3f3;
    text-align: right;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}
div#navbar li.list-inline-item a {
  font-family: 'opensans-semibold', sans-serif;
    color: #946F45;
    font-size: 13px;
}
.bg-grey {
    position: relative;
    z-index: 1;
    background-color: #4b4e50;
    border-bottom: 1px solid #454749;
    color: #dddddd;
}
.bg-grey a {color: #dddddd;}


.bg-dark-grey {
    position: relative;
    z-index: 1;
    background-color: #343536;
    padding-bottom: 10px;
    text-shadow: none;
}

/* uklad logotypów dla marek - strona glowna */
.manufacturers .logos img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 102px;
}
.manufacturers .logos.medium li:nth-child(1) {
    width: 33%;
}
.manufacturers .logos.medium li {
    width: 25%;
    padding-top: 15px;
    padding-bottom: 15px;
}
@media (min-width: 769px) {
    .manufacturers .logos li {
        border-bottom: 1px solid #ddd;
    }
}
.manufacturers .logos li {
    float: left;
    max-height: 103px;
    height: 102px;
    display: table;
    padding: 0;
    table-layout: fixed;
}
.manufacturers .logos ul {
    list-style: none;
    padding-left: 0;
    overflow: hidden;
    height: auto;
    width: 100%;
    max-width: 100%;
    clear: both;
    margin-bottom: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: baseline;
    -moz-align-items: baseline;
    -ms-align-items: baseline;
    align-items: baseline;
}

/*style dla qa na glownej*/

.faq-toggle {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}
.faq-toggle:hover,
.faq-toggle:focus {
  color: inherit;
  text-decoration: underline;
}

.hero-bootstrap-carousel,
.hero-bootstrap-carousel .carousel-inner,
.hero-bootstrap-carousel .carousel-item {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-bootstrap-carousel .carousel-item .hero {
  height: 100vh;
}

.hero-bootstrap-carousel .carousel-indicators {
  z-index: 20;
}

.hero-bootstrap-carousel .carousel-control-prev,
.hero-bootstrap-carousel .carousel-control-next {
  z-index: 20;
}
/* FIX: pełna szerokość banera Bootstrap */
.hero-region-bootstrap,
.hero-region-bootstrap .views-element-container,
.hero-region-bootstrap .block,
.hero-bootstrap-carousel {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.hero-bootstrap-carousel,
.hero-bootstrap-carousel .carousel-inner,
.hero-bootstrap-carousel .carousel-item,
.hero-bootstrap-carousel .hero {
  height: 100vh;
  width: 100%;
}

.hero-bootstrap-carousel .hero picture,
.hero-bootstrap-carousel .hero__image,
.hero-bootstrap-carousel img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bootstrap-carousel img {
  object-fit: cover;
  object-position: center center;
}

html,
body {
  overflow-x: hidden;
}

.hero-link-wrapper {
  display: block;
  text-decoration: none;
  color: inherit;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
  z-index: 1;
}



.hero__title {
  font-size: 48px;
  font-weight: 700;
}

.hero__subtitle {
  font-size: 22px;
  margin-top: 10px;
}

.hero__text {
  margin-top: 15px;
  font-size: 16px;
}

.hero__button {
  margin-top: 20px;
}
.hero__text {
  display: block;
  margin-top: 15px;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
  position: relative;
  z-index: 3;
}

.hero__title,
.hero__subtitle,
.hero__button {
  position: relative;
  z-index: 3;
}
.hero__button {
  margin-top: 25px;
}

/* bazuje na bootstrap .btn */
.hero__button a {
  display: inline-block;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;

  background: rgba(23, 26, 32, 0.85);
  color: #fff;

  transition: all 0.3s ease;
}

/* hover */
.hero__button a:hover {
  background: rgba(23, 26, 32, 1);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* opcjonalny wariant jasny */
.hero__button a.light {
  background: rgba(255,255,255,0.9);
  color: #000;
}

.hero__button a.light:hover {
  background: #fff;
}
@media (max-width: 768px) {

  .hero__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* ile linii */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

}.hero__button a:empty {
  display: none;
}
.hero {
  position: relative;
}

.hero-full-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero__button {
  position: relative;
  z-index: 4;
}


.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 3;

  width: calc(100% - 40px);
  max-width: 1200px;

  height: 82vh;

  padding: 40px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  text-align: center;
  color: #fff;
}

/* GÓRA */
.hero__top {
  margin-top: -110px;
}

/* TYTUŁ */
.hero__title {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.1;
  margin: 0;
}

/* PODTYTUŁ */
.hero__subtitle {
  margin-top: 20px;
  font-size: clamp(20px, 2vw, 32px);
}

/* ŚRODEK */
.hero__text {
  max-width: 1100px;
  margin: 0 auto;

  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.7;
}

/* DÓŁ */
.hero__button {
  margin-bottom: 40px;
}

.hero__button a {
  display: inline-block;
  padding: 16px 42px;
  border-radius: 50px;
}


/* ŚRODEK */
.hero__text {
  max-width: 1100px;
  margin: 0 auto;

  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.6;
}

/* DÓŁ */
.hero__button {
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  margin: 0;
}

.hero__subtitle {
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.3;
  margin-top: 18px;
}

.hero__text {
  margin-top: 520px;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.55;
  padding-bottom:20px;
  color: #fff;
}

.hero__button {
  margin-top: auto;
  text-align: center;
}

.hero__button a {
  display: inline-block;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  background: rgba(23, 26, 32, 0.85);
  color: #fff;
}
@media (max-width: 992px) {
  .hero__content {
    min-height: 460px;
    max-width: 760px;
    padding: 35px 25px;
  }

  .hero__text {
    margin-top: 55px;
  }
}
@media (max-width: 768px) {
  .hero__content {
    width: calc(100% - 30px);
    min-height: 420px;
    padding: 30px 20px;
  }

  .hero__text {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.45;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero__button {
    margin-top: 30px;
  }

  .hero__button a {
    padding: 12px 28px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .hero__content {
    min-height: 380px;
    padding: 25px 15px;
  }

  .hero__text {
    margin-top: 30px;
    -webkit-line-clamp: 3;
  }

  .hero__button a {
    padding: 11px 24px;
  }
}
/* wyglad sekcji na glownej*/
.image-hover-card {
  position: relative;
  display: block;
  min-height: 350px;
  overflow: hidden;
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
}

.image-hover-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: inherit;
  background-size: cover;
  background-position: center;

  transition: transform .5s ease;

  z-index: 1;
}

.image-hover-card:hover::before {
  transform: scale(1.08);
}

.image-hover-card__overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 35px;

  background: linear-gradient(
    to top,
    rgba(0,0,0,.65),
    rgba(0,0,0,.25)
  );

  z-index: 2;
}


.image-hover-card__content {
  position: relative;
  z-index: 3;
}

.image-hover-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
  
}

.image-hover-card p {
  margin-bottom: 20px;
  text-align: left;
}
.image-hover-card:hover .btn {
  transform: translateY(-3px);
}

@media (min-width: 769px) {
  .image-hover-card .btn {
  display: inline-block;

  background: #fff200;
  border: 2px solid #fff200;

  color: #000;
  font-weight: 700;
  text-transform: uppercase;

  padding: 12px 34px;
  margin-top:110px;
  margin-bottom:30px;

  border-radius: 10px;

  transition: all .3s ease;
}

}
/* HOVER */

.image-hover-card .btn:hover {
  background: transparent;

  border-color: #fff200;
  color: #fff200;

  transform: translateY(-3px);
}
@media (max-width: 768px) {

  .image-hover-card {
    min-height: 260px;
  }

  .image-hover-card h3 {
    font-size: 22px;
    margin-top: 0px;
  }
  .image-hover-card .btn {
  display: inline-block;

  background: #fff200;
  border: 2px solid #fff200;

  color: #000;
  font-weight: 700;
  text-transform: uppercase;

  padding: 12px 34px;
  margin-top:20px;
  margin-bottom:10px;

  border-radius: 10px;

  transition: all .3s ease;
}

}
@media (max-width: 768px) {

  .hero__content {
    height: 75vh;
    padding: 25px 20px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 20px;
    margin-top: 12px;
  }

  .hero__text {
    font-size: 16px;
    line-height: 1.5;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero__button {
    margin-bottom: 10px;
  }

}