.slider {
  margin: 0 auto;
  max-width: 940px;
}

.slide_viewer {
  height: 370px;
  overflow: hidden;
  position: relative;
}

.slide_group {
  height: 100%;
  position: relative;
  width: 100%;
}

.slide {
  display: none;
  height: 100%;
  position: absolute;
  width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.slide:first-child {
  display: block;
}
.slide_buttons {
  position: relative;
  display:flex;
  align-items: center;
  justify-content:center;
  height:20px;
  margin-top: 10px;
}

div.slide_btn {
  background-color: #428CC6;
  margin: 1rem 0.275em;
  height:13px;
  width: 13px;
  border-radius:50%;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  text-decoration: none;
}

.slide_btn.active, .slide_btn:hover {
  background-color: #474544;
  cursor: pointer;
}



.directional_nav {
  height: 370px;
  margin: 0 auto;
  max-width: 940px;
  position: relative;
  top: -370px;
}

.previous_btn {
  text-align: center;
  bottom: 0;
  left: 20px;
  margin: auto;
  position: absolute;
  font-size: 50px;
  top: 0;
}

.next_btn {
  text-align: center;
  bottom: 0;
  margin: auto;
  position: absolute;
  font-size: 50px;
  right: 20px;
  top: 0;
}

.previous_btn, .next_btn {
  color:#000000;
  cursor: pointer;
  height: 50px;
  opacity: 0.5;
  -webkit-transition: opacity 0.4s ease-in-out;
  -moz-transition: opacity 0.4s ease-in-out;
  -ms-transition: opacity 0.4s ease-in-out;
  -o-transition: opacity 0.4s ease-in-out;
  transition: opacity 0.4s ease-in-out;
  width: 50px;
}

.previous_btn:hover, .next_btn:hover {
  opacity: 1;
  
}

@media only screen and (max-width: 767px) {
  .previous_btn {
    left: 20px;
  }
  .next_btn {
    right: 20px;
  }
  .slide_viewer {
    height: 250px;
  }

  .directional_nav {
    height: 250px;
    top: -250px;
  }

  .previous_btn {
    left: 10px;
  }
  
  .next_btn {
    right: 10px;
  }
}

