.header_wrapper {
  position: relative;
  width: 100%;
  float: left;
  height: 600px;
  max-height: 600px;
}
.ed_slider {
  position: relative;
}
.slide_img {
  width: 100%;
  height: 600px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  margin-left: auto;
  margin-right: auto;
}
.dot_navi {
  position: absolute;
  left: 50%;
  bottom: 10px;
}

.ed_slider figcaption {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  line-height: 102%;
  color: #fff;
  text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.8);
  position: relative;
}
.ed_slider .inner {
  position: absolute;
  bottom: 20px;
  width: 100%;
  margin: 0 auto;
  width: calc(100% - 400px);
  display: block;
}
.ed_slider h1 {
  color: #fff;
}
.ed_slider p {
  color: #fff;
}
.ed_slider p:empty {
  display: none;
}
.mySlides {
  display: none;
}
.mySlides img {
  vertical-align: middle;
}
/* Next & previous buttons */
.header_wrapper .prev,
.header_wrapper .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.header_wrapper .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active,
.dot:hover {
  background-color: #f9f963;
}
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/*If slider has only one image, then display block*/
.ed_slider[data-slide-count="1"] .mySlides {
  display: block;
}
/*If no images, then show default */
.default_banner .mySlides {
  display: block;
}
.dot_navi {
  text-align: center;
}
.dot_navi.hide_dots,
.arrows.hide_arrows {
  display: none;
}
#pause {
  display: none;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

/* BANNER IMAGE CAPTION */
.ed_slider .inner {
  background-color: #003057;
  width: 671px;
  height: 88px;
  display: flex;
  justify-content: left !important;
  align-items: center;

  padding-left: 100px;
}

.ed_slider .inner h1 {
  font-weight: bold;
  font-size: 30px;
  line-height: 36px;
  font-family: "Roboto_regular";
  font-style: normal;
  font-variant: normal;
  letter-spacing: 0px;
  color: #ffffff;
  margin: 0;
  padding: 0;
  text-decoration: none;
  text-shadow: none;
}

.ed_slider .inner p,
.ed_slider .inner span {
  display: none;
}

@media only screen and (max-width: 999px) {
  .ed_slider .inner h1 {
    letter-spacing: -0.5px;
  }

  .ed_slider .inner {
    min-height: 88px !important;
    height: auto !important;
  }
}

@media only screen and (max-width: 767px) {
  .slide_img {
    height: 240px;
  }
  .ed_slider .inner {
    width: 100%;
    margin: 0;
    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 88px !important;
    height: auto !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1000px) {
  .slide_img {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    margin-left: auto;
    margin-right: auto;
  }
  .ed_slider .inner {
    width: 100%;
    margin-left: 0px;
    margin-bottom: -105px;
    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 25px;
    min-height: 88px !important;
    height: auto !important;
  }
}

@media only screen and (min-width: 1000px) and (max-width: 1200px) {
  .slide_img {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    margin-left: auto;
    margin-right: auto;
  }
}
@media only screen and (min-width: 1000px) and (max-width: 1920px) {
  .slide_img {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    margin-left: auto;
    margin-right: auto;
  }

  .ed_slider .inner {
    margin-left: -83px;
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 1921px) and (max-width: 3440px) {
  .slide_img {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    margin-left: auto;
    margin-right: auto;
  }

  .ed_slider .inner {
    margin-bottom: 20px;
    left: -7%;
  }
}

@media only screen and (min-width: 3440px) {
  .ed_slider .inner {
    left: -7%;
  }
}

@media only screen and (min-width: 0px) and (max-width: 767px) {
  .header_wrapper {
    margin-bottom: 90px;
  }

  .header_wrapper.without-title {
    margin-bottom: 0px;
  }

  .ed_slider .inner {
    margin-bottom: -105px;
    padding-left: 20px;
    min-height: 88px !important;
    height: auto !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 999px) {
  .header_wrapper {
    margin-bottom: 115px;
  }

  .header_wrapper.without-title {
    margin-bottom: 30px;
  }

  .ed_slider .inner {
    min-height: 88px !important;
    height: auto !important;
  }
}
