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

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

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

.slide {
  display: none;
  height: 100%;
  position: absolute;
  width: 100%;
  text-align: center;
}
.slide img{
    position: relative;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.slide:first-child {
  display: block;
}

.slide_buttons {
    margin: 0 auto;
    max-width: 1085px;
    display: flex;
    padding-top: 25px;

}

.slide_btn {
  color: #2C3E53;
  margin: 0 0.375em;
  -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;
  flex: 1;
}

h3.slide-title{
  
    font-family: Galano Grotesque Alt;
    color: #2C3E53;
  font-size: 20px;
  -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;
}
.slide-timer{
  width: 100%;
  height: 5px;
  display: inline-block;
  background: #2C3E53;
  position: relative;
  border-radius: 4px;
}
.timer-sand{
  position: absolute;
  Top:0;
  left:0;
  width: 100%;
  max-width: 0%;
  bottom:0;
  background: #07A0C3;
    border-radius: 4px;
}
.slide_btn.active .timer-sand{
  max-width: 100%;
  transition: 8s linear;
}
.slide_btn.active, .slide_btn.active h3.slide-title, .slide_btn:hover h3.slide-title, .slide_btn:hover{
  color: #07A0C3;
  cursor: pointer;
}

.directional_nav {
  height: 100px;
  margin: 0 auto;
  max-width: 1280px;
  position: relative;
  top: -340px;
}

.previous_btn {
  bottom: 0;
  left: 100px;
  margin: auto;
  position: absolute;
  top: 0;
}

.next_btn {
  bottom: 0;
  margin: auto;
  position: absolute;
  right: 100px;
  top: 0;
}
.slide-step-number{
  font-weight: bold;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 5px;
}
.previous_btn, .next_btn {
  cursor: pointer;
  height: 65px;
  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: 65px;
}

.previous_btn:hover, .next_btn:hover {
  opacity: 1;
}
.mobile-only-content{
  display: none;
}
.how-sp-works-slider-img{
  border-radius: 12px;
  overflow: hidden;
}
@media only screen and (max-width: 767px) {
  .previous_btn {
    left: 50px;
  }
  .next_btn {
    right: 50px;
  }
  .slide_viewer{
    height: 200px;
  }
  .slide_buttons{
    flex-direction: column;  
  }
  .mobile-only-content{
    display: block;  
  }
}



#how-it-works-section .slide svg{
  max-width: 100%;  
}

#how-it-works-section .slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
#how-it-works-section .slide {
  border-radius: 20px;
  overflow: hidden;
}


@media screen and (max-width: 768px){
    .slide-timer {
        max-height: 0px;
    }
    .slide-timer, .timer-sand {
        border-radius: 4px;
        width: 100%;
        transition: 200ms;
        height: 5px;
    }
    .slide-timer {
        background: #dbe0e9;
        display: inline-block;
        height: 5px;
        position: absolute;
        left: 0;
        right: 0;
        max-width: 100%;
        max-height: 0px;
    }
    .timer-sand {
        Top: 0;
        background: #07a0c3;
        bottom: 0;
        left: 0;
        max-width: 0;
        position: absolute;
    }

    .slide-timer, .timer-sand {
        border-radius: 4px;
        width: 100%;
        transition: 200ms;
        height: 5px;
    }

    .slide-step-number {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 5px;
        margin-top: 0;
        padding-left: 10px;
        display: inline-block;
        width: auto;
        margin-top: 10px;
    }
    h3.slide-title {
        font-family: Galano Grotesque Alt;
        font-size: 20px;
    }

    .slide_btn{
        border: 2px solid #dbe0e9;
        margin: 0;
        flex: auto;
        display: block;
        position: relative;
        border-radius: 8px;
        width: 100%;
      margin-top: 15px;
      background: #fff;
    }
    h3.slide-title{
        display: inline-block;
        max-width: fit-content;
        margin-top: 0;
    }
    .slide img {
        height:auto;
        object-fit: cover;
        position: relative;
        width: 100%;
        padding: 10px 15px;
        display: none;
    }
      .slide{
        position: relative;
        /* max-height: 0px; */
        transition: 200ms;
        left: 0!Important;  
      }
      .active .slide img{
        display: block;
      }
      .active .slide{
        display: block!important;
        /* max-height: 100%;  */
        left: 0!Important;  
        top: 0;
      }
      
        height: 0px;
        padding-top: 60%;
      }
      /* #how-it-works-section > div:first-child{
        display: none;
      } */
      #mobileScreen img{
    max-width: 100%;
      }
      .slide_buttons > .slide_btn > img{
        display: none;
      }
      .slide_buttons{
        padding-top: 0px;  
      }
      h3.slide-title{
        margin-bottom: 3px;  
      }
   /* fixes for video on mobile */
  #how-it-works-section .slide_viewer {
    height: 0px;
    padding-top: 60%;
    position: relative;
  }
  #how-it-works-section .slide_group {
    position: absolute;
    top: 0px;
  }
} 