/* Moved from inline <style> in oem.lookup.cfm. */
.brand-logo {
    padding: 2.5vh 0 0 0;
    margin: 0 auto;
}
    .brand-logo img {
        width: 300px;
        height: 100px;
        object-fit: contain;
    }
h1, h2, h3, h4, h5 {
  font-family: "gill-sans-nova", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
}
h1 {
    border: none !important;
}
.tecdoc-products-container {
    font-family: "gill-sans-nova", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 24px;
    align-items: flex-start;
}
.product-category-container select {
    font-family: "gill-sans-nova", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    font-size: large;
}
.pagination-controls {
    margin: 40px 0;
}
    a.pagination {
        padding: 0 4px;
    }
    a.pagination.pagelink-active {
        background: #f5f5f5;
        text-decoration: none;
        color: #000;
    }
.no-pagination {
    height: 40px;
    width: 100%;
}
.prod-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
  width: 100%;
}

h2.fitting-position {
    font-size: 300%;
    color: #35003a;
    display: inline-block;
    margin: 2.5vh 0;
    text-transform: uppercase;
}

.prod-item {
    flex: 0 0 24%;
    text-align: center;
    align-self: stretch;
    border: 2px solid #ececec;
    padding-bottom: 2vh;
    padding-top: 2vh;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
}
    .prod-item.instock {
        border-color: #78af2d;
    }
    .prod-item .prod-item-container {
        display: flex;
        flex-grow: 1;
        flex-direction: column;
    }
.prod-item-container p {
    margin-left: 20px;
    margin-right: 20px;
}
.prod-item-container h2, .prod-item-container h3 {
    font-family: "gill-sans-nova", sans-serif !important;
    margin: 0 20px;
    font-size: 180%;
    line-height: 1;
}
.prod-item-container h3 {
        margin-top: 10px;
        font-size: 150%;
        font-weight: 600;
    }
    .prod-item-container h4 {
        font-size: 100%;
        margin-top: 10px;
        margin-bottom: 0;
    }
    .prod-item-container h5 {
        margin: 0 20px 20px 20px;
        font-size: 120%;
    }
.prod-item a, .prod-item a:hover, .prod-item a:active, .prod-item a:visited {
    color: #35003a;
    text-decoration: none;
    width: 100%;
}
.prod-pricing {
    font-size: 100%;
    width: 100%;
    margin-bottom: auto;
}

.reduced-price-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    font-size: 150%;
}
.reduction {
    width: auto;
}
.percentage-arrow {
  display: inline-flex;
  align-items: center;
  background-color: red;
  color: white;
  padding: 0.5em 0 0.5em 0.5em;
  font-size: 1rem;
  font-weight: bold;
  position: relative;
  border-radius: 0.5em 0 0 0.5em;
  white-space: nowrap;
}

.percentage-arrow::after {
  content: "";
  position: absolute;
  right: -1em; /* controls how far out the arrow sticks */
  top: 0;
  width: 0;
  border-top: 1.25em solid transparent;
  border-bottom: 1.25em solid transparent;
  border-left: 1em solid red;
}

/* Responsive tweak */
@media (max-width: 600px) {
  .percentage-arrow {
    font-size: 0.875rem;
    padding: 0.4em 0.8em;
  }

  .percentage-arrow::after {
    right: -0.75em;
    border-top: 1.175em solid transparent;
    border-bottom: 1.175em solid transparent;
    border-left: 0.8em solid red;
  }
}
.reduced-price {
    width: auto;
    margin-left: 20px;
}
.reduced-price-container .vat {
    width: auto;
    font-size: 50%;
    line-height: normal;
}
.regular-price {
    width: auto;
    text-decoration:line-through;
    font-size: 70%;
    color: darkgrey;
}

.prod-explanation {
    padding: 2.5vh 7.5vw;
    color: #35003a;
}
.prod-explanation h3 {
    font-size: 200%;
}
.stockMarker {
    width: 3px;
    margin-right: 6px;
    height: 100%;
    display: inline-block;
}
.subPartContainer {
    display: inline-block;
}
.parts-list-container {
    line-height: 1.6;
}
    .parts-list-container a.instock {
        color: #108043;
        text-decoration: underline;
    }
    .parts-list-container a.noStock {
        background-color: #999;
        text-decoration: underline;
    }

.limit-text-length {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 0 20px;
}

@media (max-width: 1280px) {
  .prod-item {
    flex: 0 0 49%;
  }
      .prod-item h3 {
            font-size: 200%;
        }
}

@media (max-width: 800px) {
  .prod-item {
    flex: 0 0 100%;
  }
  .pagination-controls {
    margin: 20px 0;
}
    a.pagination {
        padding: 0 2px;
    }
}
