/* EXAMPLE USAGE
@media (max-width: @screen-xs) { display: none; }
*/
@media (min-width: 601px) {
  display: none;
}
/* ==========================================================================
library Related
========================================================================== */

.library-related {
  padding: 10% 0;
  clip-path: polygon(0 7vw, 100% 0, 100% calc(100% - 7vw), 0% 100%);
  position: relative;
  overflow: hidden;
  margin-top: -6.8vw;
}
@media (max-width: 1024px) {
  .library-related {
    padding: 15% 0 10%;
  }
}
.library-related:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #a7b8d1;
  opacity: 0.8;
  padding: 10% 0;
}
.library-related .page__inner {
  position: relative;
  z-index: 997;
}
.library-related h2 {
  font-size: 42px;
  font-family: var(--sans-serif);
  color: var(--blue);
  text-transform: uppercase;
  margin: 0 0 40px;
  padding: 0 0 40px;
  position: relative;
  font-weight: 700;
  line-height: 1.2;
}
@media (max-width: 1520px) {
  .library-related h2 {
    font-size: 34px;
  }
}
@media (max-width: 1024px) {
  .library-related h2 {
    font-size: 29px;
  }
}
.library-related h2:before {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--blue);
}
.library-related__list {
  flex: 1;
  padding: 0;
  order: 1;
  display: flex;
  margin: 0 -10px;
  flex-wrap: wrap;
  list-style: none;
  align-items: stretch;
}
@media (max-width: 800px) {
  .library-related__list {
    padding: 0 30px;
    flex-direction: column;
  }
}
.library-related .owl-carousel {
  display: flex;
  justify-content: stretch;
}
.library-related .owl-stage-outer {
  display: flex;
  justify-content: stretch;
}
.library-related .owl-stage {
  display: flex;
  justify-content: stretch;
}
.library-related .owl-item {
  display: flex;
  height: 100%;
  flex: 1 0 auto;
}
.library-related__item {
  width: 33.33%;
  padding: 0 10px 20px;
}
@media (max-width: 800px) {
  .library-related__item {
    padding: 0 0 20px;
    width: auto;
  }
}
.library-related__link {
  display: block;
  background: var(--greyLightest3);
  text-decoration: none;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.library-related__link:hover .library-listing-results__img img {
  transform: scale(1.1);
}
.library-related__img {
  overflow: hidden;
}
.library-related__img img {
  display: block;
  transition: all 0.3s;
}
.library-related__category {
  list-style: none;
  padding: 0;
  margin: 0 -5px;
  display: flex;
  flex-wrap: wrap;
}
.library-related__category li {
  white-space: nowrap;
  padding: 0 5px 10px;
  margin: 0;
}
.library-related__category li span {
  display: block;
  background: var(--blueLighter);
  color: var(--white);
  padding: 8px;
  line-height: 1;
}
.library-related__details {
  padding: 20px;
}
.library-related h3 {
  margin: 0;
  line-height: 1.2;
  color: var(--blue);
  font-family: var(--sans-serif);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
}
@media (max-width: 1520px) {
  .library-related h3 {
    font-size: 21px;
  }
}
@media (max-width: 1024px) {
  .library-related h3 {
    font-size: 18px;
  }
}
.library-related p {
  margin: 0;
  color: var(--black);
}
.library-related .owl-nav .owl-prev,
.library-related .owl-nav .owl-next {
  width: 36px;
  height: 96px;
  background-size: cover;
  text-indent: -9999em;
}
@media (max-width: 1520px) {
  .library-related .owl-nav .owl-prev,
  .library-related .owl-nav .owl-next {
    width: 28px;
    height: 75px;
  }
}
@media (max-width: 800px) {
  .library-related .owl-nav .owl-prev,
  .library-related .owl-nav .owl-next {
    width: 14px;
    height: 37px;
  }
}
.library-related .owl-carousel .owl-nav button.owl-next {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  background-image: url(../img/icon-next.svg);
}
.library-related .owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
  background-image: url(../img/icon-prev.svg);
}
.library-related .owl-dots {
  display: flex;
  justify-content: center;
  width: 100%;
}
.library-related .owl-dots button {
  width: 18px;
  height: 18px;
  border: 1px solid var(--white);
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s;
}
@media (max-width: 800px) {
  .library-related .owl-dots button {
    width: 12px;
    height: 12px;
  }
}
.library-related .owl-dots button:hover {
  background: rgba(255, 255, 255, 0.5);
}
.library-related .owl-dots .owl-dot.active {
  background: var(--white);
}
.library-related__button {
  text-align: center;
}
