.factory-logo {
  max-height: 70px;
}

.quotes {
  background: #eeeeee;
}

.quotes::after {
  background: rgba(132, 132, 132, 0.7);
}

.quotes .quote .image {
  border-radius: 0;
  height: auto;
}

.quotes .quote .image img {
  border-radius: 0;
}

.certificate .row img {
  max-width: 80px;
}

.certificate .row:nth-of-type(2) img {
  max-width: 55%;
}

.certificate .row:nth-of-type(3) img {
  max-width: 80px;
}

.certificate .row:nth-of-type(4) img {
  width: auto;
  height: 90px;
  max-width: 110px;
}

.quotes.quotes-slider .quote .image img {
  width: 160px;
}

.quotes .quote .image {
  overflow: visible;
}

.main-header header {
  background-color: transparent;
}

#grid-layout1 {
  direction: ltr;
  display: grid;
  width: 100%;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto;
  grid-gap: 2em;
}

.grid-layout > div {
  overflow: visible;
  border-radius: 20px;
  position: relative;
  min-height: 15em;
  cursor: pointer;
  transition: all 0.4s;
}

#grid-layout1 div img {
  border-radius: 20px;
}

@media (min-width: 768px) {
  #grid-layout1 .item1 {
    grid-area: 1/1/4/2;
  }

  #grid-layout1 .item2 {
    grid-area: 1/2/5/3;
  }

  #grid-layout1 .item3 {
    grid-area: 4/1/8/2;
  }

  #grid-layout1 .item4 {
    grid-area: 5/2/8/3;
  }
}
.video-wrapper {
  margin: 15px 0;
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  padding: 1rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-wrapper i {
  display: inline-block;
  vertical-align: middle;
  font-size: 34px;
  transition: 0.4s;
}

.video-wrapper p {
  display: inline-block;
  margin: 0 4px;
}

.video-wrapper:hover i {
  color: #0d5ff5;
}

#teaser-1 .mfp-close, #teaser-2 .mfp-close, #teaser-3 .mfp-close, #teaser-4 .mfp-close {
  right: -52px;
  color: white;
  top: -35px;
  border-left: 0;
}

#teaser-1, #teaser-2, #teaser-3, #teaser-4 {
  width: 850px;
}

.factory-images img {
  border-radius: 20px;
  height: 480px;
}

.red-band {
  background-color: var(--primary-color);
  padding-top: 40px;
  height: 150px;
  margin-bottom: 200px;
}

.red-band img {
  max-width: 268px;
}

.exhibition ul {
  list-style: disc;
}

.exhibition ul li {
  margin: 0.75rem 0;
}

.quotes::after, .quotes {
  background-color: #fff;
}

.quotes .text {
  color: #666666;
}

.quotes .owl-buttons span {
  background-color: rgba(102, 102, 102, 0.4) !important;
  border: none;
}

.quotes.quotes-slider .owl-theme .owl-controls .owl-page span {
  background-color: rgba(102, 102, 102, 0.4) !important;
}

.quotes.quotes-slider .owl-theme .owl-controls .owl-page.active span {
  background-color: rgba(76, 76, 76, 0.4) !important;
}

.border-radius-20 {
  border-radius: 20px;
}

.quotes .quote .image {
  width: 168px;
}

@media screen and (max-width: 768px) {
  #teaser-1, #teaser-2, #teaser-3, #teaser-4 {
    width: 100%;
  }

  .main-header {
    padding-bottom: 30px;
  }

  #grid-layout1 {
    grid-template-columns: 100%;
  }

  .factory-images img {
    height: auto;
    margin-bottom: 20px;
  }

  .red-band {
    height: 280px;
    margin-bottom: 140px;
  }
  .red-band .d-flex .d-flex {
    flex-wrap: wrap;
  }
  .red-band .d-flex .d-flex a {
    width: 45%;
    margin: 2.5rem 0.5rem;
    max-height: 140px;
  }
  .red-band .d-flex .d-flex a img {
    max-width: none;
    max-height: 170px;
  }

  .certificate img {
    max-height: 130px;
  }
  .certificate .row:nth-of-type(2) img {
    max-width: 96%;
  }
  .certificate .row:nth-of-type(3) .d-flex {
    flex-wrap: wrap;
  }
  .certificate .row:nth-of-type(3) .d-flex > div:first-child, .certificate .row:nth-of-type(3) .d-flex > div:last-child {
    display: none;
  }
  .certificate .row:nth-of-type(3) .d-flex > div {
    margin: 5px 0 !important;
    width: 45%;
  }
  .certificate .row:nth-of-type(4) .d-flex {
    flex-wrap: wrap;
  }
  .certificate .row:nth-of-type(4) .d-flex > div {
    margin: 5px 0 !important;
    width: 45%;
  }
}
