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

.courses-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) {
  .courses-related {
    padding: 15% 0 10%;
  }
}
.courses-related:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #a7b8d1;
  opacity: 1;
  padding: 10% 0;
}
.courses-related .page__inner {
  position: relative;
  z-index: 997;
}
.courses-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) {
  .courses-related h2 {
    font-size: 34px;
  }
}
@media (max-width: 1024px) {
  .courses-related h2 {
    font-size: 29px;
  }
}
.courses-related h2:before {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--blue);
}
.courses-related__list {
  flex: 1;
  padding: 0;
  order: 1;
  display: flex;
  margin: 0 -10px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 60px;
}
@media (max-width: 800px) {
  .courses-related__list {
    padding: 0 30px;
  }
}
.courses-related .owl-carousel {
  display: flex;
  justify-content: stretch;
}
.courses-related .owl-stage-outer {
  display: flex;
  justify-content: stretch;
}
.courses-related .owl-stage {
  display: flex;
  justify-content: stretch;
}
.courses-related .owl-item {
  display: flex;
  height: 100%;
  flex: 1 0 auto;
}
.courses-related__item {
  max-width: 100%;
  min-width: 100%;
  padding: 0 10px 20px;
  height: 100%;
}
@media (max-width: 800px) {
  .courses-related__item {
    padding: 0 0 20px;
  }
}
.courses-related__link {
  display: block;
  background: #f6f6f6;
  text-decoration: none;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.courses-related__link:hover .library-listing-results__img img {
  transform: scale(1.1);
}
.courses-related__img {
  overflow: hidden;
}
.courses-related__img img {
  display: block;
  transition: all 0.3s;
}
.courses-related__category {
  list-style: none;
  padding: 0;
  margin: 0 -5px;
  display: flex;
  flex-wrap: wrap;
}
.courses-related__category li {
  white-space: nowrap;
  padding: 0 5px 10px;
  margin: 0;
}
.courses-related__category li span {
  display: block;
  background: var(--blueLighter);
  color: var(--white);
  padding: 8px;
  line-height: 1;
}
.courses-related__details {
  padding: 20px;
}
.courses-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) {
  .courses-related h3 {
    font-size: 21px;
  }
}
@media (max-width: 1024px) {
  .courses-related h3 {
    font-size: 18px;
  }
}
.courses-related p {
  margin: 0;
  color: var(--black);
}
.courses-related .owl-nav .owl-prev,
.courses-related .owl-nav .owl-next {
  width: 36px;
  height: 96px;
  background-size: cover;
  text-indent: -9999em;
}
@media (max-width: 1520px) {
  .courses-related .owl-nav .owl-prev,
  .courses-related .owl-nav .owl-next {
    width: 28px;
    height: 75px;
  }
}
@media (max-width: 800px) {
  .courses-related .owl-nav .owl-prev,
  .courses-related .owl-nav .owl-next {
    width: 14px;
    height: 37px;
  }
}
.courses-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);
}
.courses-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);
}
.courses-related .owl-dots {
  display: flex;
  justify-content: center;
  width: 100%;
}
.courses-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) {
  .courses-related .owl-dots button {
    width: 12px;
    height: 12px;
  }
}
.courses-related .owl-dots button:hover {
  background: rgba(255, 255, 255, 0.5);
}
.courses-related .owl-dots .owl-dot.active {
  background: var(--white);
}
/* ====================
  COURSES - YOU MAY ALSO LIKE
======================= */

.course-details-related {
  margin: 40px 0;
}
@media (max-width: 1024px) {
  .course-details-related {
    padding: 0 0 40px;
  }
}
.course-details-related__list {
  display: flex;
  margin: 0 -10px;
  padding: 0 28px;
}
@media (max-width: 1024px) {
  .course-details-related__list {
    padding: 0 20px;
  }
}
.course-details-related__item {
  padding: 0 10px;
  display: flex;
  flex: 1 0 auto;
  height: 100%;
}
.course-details-related a {
  background: var(--blueLightest2);
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.course-details-related a:hover .course-details-related__img img {
  transform: scale(1.1);
}
.course-details-related__img {
  position: relative;
  overflow: hidden;
}
.course-details-related__img img {
  display: block;
  transition: all 0.5s;
}
.course-details-related__post-type {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--orange);
  color: var(--white);
  line-height: 1;
  padding: 10px 20px;
}
.course-details-related h3 {
  padding: 20px;
  color: var(--blue);
  margin: 0;
  font-family: var(--sans-serif);
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 600;
  font-style: normal;
}
@media (max-width: 1520px) {
  .course-details-related h3 {
    font-size: 16px;
  }
}
@media (max-width: 1024px) {
  .course-details-related h3 {
    font-size: 14px;
  }
}
.course-details-related .owl-carousel .owl-stage {
  display: flex;
}
.course-details-related .owl-nav .owl-prev,
.course-details-related .owl-nav .owl-next {
  width: 18px;
  height: 48px;
  background-size: cover;
  text-indent: -9999em;
  background-repeat: no-repeat;
}
@media (max-width: 800px) {
  .course-details-related .owl-nav .owl-prev,
  .course-details-related .owl-nav .owl-next {
    width: 12px;
    height: 32px;
  }
}
.course-details-related .owl-carousel .owl-nav button.owl-next {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  background-image: url(../img/icon-next-dark.svg);
}
.course-details-related .owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
  background-image: url(../img/icon-prev-dark.svg);
}
.course-details-related .owl-carousel .owl-nav button.owl-next.disabled,
.course-details-related .owl-carousel .owl-nav button.owl-prev.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.course-details-related .owl-dots {
  display: flex;
  justify-content: center;
  margin: 20px 0 0;
}
.course-details-related .owl-dots button {
  width: 18px;
  height: 18px;
  border: 1px solid var(--white);
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s;
}
.course-details-related .owl-dots button:hover {
  background: rgba(255, 255, 255, 0.5);
}
.course-details-related .owl-dots .owl-dot.active {
  background: var(--white);
}
