.slider {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1px;
}
.slider__item-playBtn {
  content: "";
  background: url("../assets/img/play-icon.png") no-repeat;
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.slider__item {
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
  align-items: center;
  transition: all 0.5s ease-in-out;
}

.slider__item-img {
  z-index: -1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

.slider__item-body {
  display: flex;
  flex-flow: column nowrap;
  align-items: start;
  max-width: 75%;
}

.slider__item-title {
  display: block;
  font-family: "AndesBold";
  font-size: 32px;
  line-height: 47px;
  text-transform: uppercase;
  color: #EDEF4E;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 58%);
  margin-bottom: 8px;
}

.slider__item-subtitle, .slider__item-subtitle>p {
  display: block;
  font-family: "Andes";
  font-size: 24px;
  line-height: 28px;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.24);
  width: 75%;
}

.slider__item-btn {
  cursor: pointer;
  height: 20px;
  display: block;
  font-family: "Open Sans";
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
  line-height: 19px;
  color: #2F879F;
  background-color: #ffffff;
  padding: 10px 12px;
  border-radius: 2px;
}

.slider__item-btn:hover {
  color: #256c7f;
}

.slider__item-btn img {
  margin-left: 12px;
}

.slider__item-active {
  display: flex;
}

.slider__overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.24);
}

.slider__nav {
  padding: 6px 8px;
  display: block;
  height: 12px;
  width: 8px;
  background-color: #ffffff;
  position: absolute;
  border-radius: 2px;
  top: calc(50% - 12px);
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  background-size: 7px;
}

.slider__nav img {
  display: block;
  height: 12px;
}

.slider__nav-left {
  left: 24px;
  background-image: url("../assets/svg/arrow.svg");
}

.slider__nav-left:hover {
  background-image: url("../assets/svg/arrow-hover.svg");
  background-size: 8px;
  transform: rotate(180deg);
}

.slider__nav-right {
  right: 24px;
  transform: rotate(180deg);
  background-image: url("../assets/svg/arrow.svg");
}

.slider__nav-right:hover {
  transform: none;
  background-size: 8px;
  background-image: url("../assets/svg/arrow-hover.svg");
}
.relative-container {
  position: relative;
}
.slider__dots {
  cursor: pointer;
  display: flex;
  flex-flow: row nowrap;
  justify-content: start;
  align-items: center;
  position: absolute;
  left: 0;
  bottom: 16px;
}

.slider__dots-item {
  display: block;
  width: 16px;
  height: 4px;
  border-radius: 2px;
  margin-right: 4px;
  background-color: rgba(255, 255, 255, 0.6);
}

.slider__dots-active {
  background-color: #ffffff;
}
@media screen and (max-width: 1200px) {
  .slider__item-body, .slider__item-subtitle, .slider__item-subtitle>p {
    width: 100%;
    max-width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  .slider__item-title {
    font-size: 32px;
  }
  .slider__item-subtitle, .slider__item-subtitle>p {
    font-size: 20px;
  }
}
@media screen and (max-width: 768px) {
  .slider {
    height: unset;
  }
  .slider__item {
    padding: 40px 0;
  }
  .slider__nav-right, .slider__nav-left {
    display: none;
  }
  .slider__dots {
    left: 16px;
  }
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 4; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 10% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 50%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}