.how-it-works {
  overflow: hidden;
}
.how-it-works .vert-line-container {
  position: relative;
}
.how-it-works .vert-line-container i {
  margin-top: 300px;
  position: relative;
  text-align: center;
  font-size: 48px;
  background-color: #dddddd;
  color: #333333;
  padding: 24px;
  width: 100px;
  height: 100px;
  border-radius: 100px;
  z-index: 2;
  -webkit-transition: background ease 0.0s;
  -moz-transition: background ease 0.0s;
  transition: background ease 0.0s;
}
.how-it-works .vert-line-container i.active {
  background-color: #005C5C;
  color: #ffffff;
}
.how-it-works .vert-line {
  z-index: 1;
  display: inline-block;
  position: absolute;
  top: 350px;
  left: 0px;
  margin: 0 47%;
  background-color: #dddddd;
  width: 6%;
  height: 900px;
  background: linear-gradient(#005C5C 50%, #dddddd 50%);
  background-size: 100% 200%;
  background-position: left bottom;
  -webkit-transition: background ease 0.8s;
  -moz-transition: background ease 0.8s;
  transition: background ease 0.8s;
}
.how-it-works .vert-line.active {
  background-position: left top;
}
.how-it-works .vert-line.end-point {
  height: 70%;
}
.how-it-works .closing-images {
  height: 800px;
  position: relative;
}
.how-it-works .closing-images .middle-screen {
  width: 100%;
  top: 40px;
  position: absolute;
}
.step-outer {
  position: relative;
}
.step-outer img {
  max-height: 900px;
  border: 1px solid rgba(215, 215, 215, 0.75);
}
.img-col {
  height: 900px;
  background-size: cover;
}
.tech-img {
  background-image: url('../img/howItWorks/tech.jpg');
  background-position: top left;
}
.contract-img {
  background-image: url('../img/howItWorks/contract.jpg');
  background-position: top right;
}
.faucet-img {
  background-image: url('../img/howItWorks/faucet.jpg');
  background-position: top left;
}
.step-page {
  height: 800px;
  position: relative;
}
.step-page .step-caption {
  margin: 120px 0px;
  height: 500px;
}
.step-caption-top .col-sm-3 {
  height: 25px;
  overflow: hidden;
}
.step-caption {
  background-color: rgba(240, 240, 240, 0.34);
  border-radius: 5px;
  border: 1px solid rgba(215, 215, 215, 0.75);
  color: #555555;
  font-size: 24px;
  min-height: 200px;
  display: table;
  width: 100%;
  padding: 40px 80px 40px;
  margin-bottom: 40px;
  text-align: justify;
}
.step-caption .featurette-heading {
  text-align: left;
  font-size: 32px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.step-col .step-header {
  text-align: center;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 500;
  color: #b3b3b3;
  letter-spacing: 0.7px;
}
.step-col .step-header.active {
  color: #005C5C;
}
.step-col .step-header span {
  display: inline-block;
  cursor: pointer;
  height: 50px;
  overflow-y: hidden;
}
.step-col .step-icon {
  margin: 5px 0px 15px;
  position: relative;
  height: 100px;
  width: 100%;
}
.step-col .step-icon .right-line {
  background-color: #dddddd;
  height: 15px;
  position: absolute;
  width: 100%;
  left: 50%;
  top: 45%;
  background: linear-gradient(to left, #dddddd 50%, #005C5C 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  -webkit-transition: all ease 0.8s;
  -moz-transition: all ease 0.8s;
  transition: all ease 0.8s;
}
.step-col .step-icon .right-line.active {
  background-position: left bottom;
}
@media (max-width: 767px) {
  .step-col .step-icon .right-line {
    display: none;
  }
}
@media (max-width: 1200px) {
  .how-it-works .step-caption {
    font-size: 20px;
    padding: 30px;
  }
}
@media (min-width: 767px) {
  .step-page .step-caption {
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
  }
  .step-page .step-caption.right {
    transform: translateX(200%);
    -webkit-transform: translateX(200%);
  }
  .step-page.active-left .step-caption {
    animation: slide-in-left 0.5s forwards;
    -webkit-animation: slide-in-left 0.5s forwards;
  }
  .step-page.active-right .step-caption {
    animation: slide-in-right 0.5s forwards;
    -webkit-animation: slide-in-right 0.5s forwards;
  }
  @keyframes slide-in-left {
    100% {
      transform: translateX(10%);
    }
  }
  @-webkit-keyframes slide-in-left {
    100% {
      -webkit-transform: translateX(10%);
    }
  }
  @keyframes slide-in-right {
    100% {
      transform: translateX(-10%);
    }
  }
  @-webkit-keyframes slide-in-right {
    100% {
      -webkit-transform: translateX(-10%);
    }
  }
}
@media (max-width: 767px) {
  .how-it-works .step-page {
    height: auto;
  }
  .how-it-works .step-caption {
    margin: 10px auto !important;
    padding: 20px;
    height: auto;
  }
  .how-it-works .vert-line-container {
    display: none;
  }
  .how-it-works .tech-img {
    background-position: -100px 0px;
  }
  .how-it-works .contract-img {
    background-position: -400px 0px;
  }
  .how-it-works .closing-images {
    height: auto;
  }
  .how-it-works .middle-screen {
    top: 0px !important;
    position: inherit !important;
  }
}
