.solution h2.title {
  margin-bottom: 25px;
  font-size: 35px;
  line-height: 1.5;
  color: #fff;
}

.solution {
  padding: 100px 0;
}

.solution .item {
  height: auto;
}

.solution .item-inner {
  margin: 15px 0;
  padding: 0px 15px;
  height: 100%;
}

.solution .solution-post {
  border-radius: 15px;
  background-color: rgba(97,195,220,0.1);
  color: #fff;
  padding-bottom: 80px;
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100%;
}

.solution .thumb {
  text-align: center;
  padding: 56px 0;
  position: relative;
}

.solution .summary {
  padding: 8px 27px 10px;
  transition: all ease 0.5s;
}

.solution .hover-text {
  position: absolute;
  top: 100%;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  padding: 15px;
  background-color: rgba(2,160,154,0.15);
  transition: all ease 0.5s;
  padding-bottom: 80px;
}

.solution a.box-link {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.solution .summary h5 {
  color: currentColor;
}
.solution .thumb .img-wrap {
  /*this is the section that lays out the dots and animations in the centre of the box*/
  display: inline-block;
  position: relative;
}
/* this affects the size of the umage wrap.*/
.solution .thumb .img-wrap img.main-img {
  max-height: 252px;
  transition: all ease 0.5s;
}

.solution .summary h5 {
  margin-bottom: 6px;
  font-weight: 400;
}

.solution .summary p {
  margin-bottom: 0;
}

.solution {
  font-size: 16px;
}

.solution .summary a.hs-button {
  font-weight: 500;
  min-width: 165px;
  position: absolute;
  bottom: 24px;
  opacity: 1;
  margin: 0;
}

.solution .hover-text h5 {
  margin-bottom: 5px;
  color: currentColor;
}

.solution .hover-text p {
  min-height: 90px;
  margin: 0;
}

.solution .hover-text a.hs-button {
  min-width: 165px;
  position: absolute;
  bottom: 24px;
}
.solution .solution-post:hover .summary {
  opacity: 0;
}

.solution .solution-post:hover .hover-text {
  top: 0;
  opacity: 1;
}

.solution .item.type_1 .img-wrap::before,
.solution .item.type_2 .img-wrap::before{
  content: "";
  /*this lays out the light blue vertical pill box*/
  width: 55px;
  border-radius: 30px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, #00a19a 100%);
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  transition: all ease 1s;
  opacity: 0;
}

.solution .item.type_1 .img-wrap::after,
.solution .item.type_2 .img-wrap::after{
  content: "";
  /*this sets out initial conditions for the light blue domino dot*/
  height: 55px;
  width: 55px;
  background-color: #61c3dc;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.solution .item.type_1 .solution-post:hover .img-wrap::before {
  height: 100%;
  opacity: 1;
}

.solution .item.type_1 .solution-post:hover .img-wrap::after {
  opacity: 1;
}

.solution .item.type_2 .img-wrap:after {
  top: 50%;
  transform: translateY(-50%);
  background-color: #f1bf43;
}

.solution .solution-post:hover .item.type_2 .img-wrap::after {
  opacity: 1;
}

.solution .solution-post:hover .item.type_2 .img-wrap::before {
  height: calc(100% - 45%);
  opacity: 1;
}

.solution .item.type_2 .solution-post:hover .img-wrap::after {
  opacity: 1;
}

.solution .item.type_2 .solution-post:hover .img-wrap::before {
  height: calc(100% - 45%);
  opacity: 1;
}

.solution .item.type_3 .dot-animation {
  position: absolute;
  height: 198px;
  width: 100%;
  top: 35px;
  left: 35px;
  transform: rotate(-47deg);
  transition: all ease 1s;
  opacity: 0;
}

.solution .item.type_3 .dot-animation::before {
  content: "";
  height: 56px;
  width: 56px;
  border-radius: 30px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, #00a19a 100%);
  position: absolute;
  top: 0px;
  left: -1px;
  transition: all ease 1s;
  opacity: 1;
}

.solution .item.type_3 .dot-animation::after {
  right: 0;
  left: auto;
  background-color: #fe5f54;
}

.solution .item.type_3 .solution-post:hover .dot-animation {
  opacity: 1;
}

.solution .item.type_3 .solution-post:hover .dot-animation::before {
  opacity: 1;
  height: 100%;
}

.solution .item.type_3 .img-wrap::after {
  content: "";
  height: 55px;
  width: 55px;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -webkit-transition: opacity .5s ease-in-out;
  right: 0;
  left: auto;
  background-color: #fe5f54;
}

.solution .item.type_3 .solution-post:hover .img-wrap::after {
  opacity: 1;
}
.solution .item.type_4 .img-wrap::before {
  content: "";
  width: 55px;
  border-radius: 30px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, #00a19a 100%);
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  transition: all ease 1s;
  opacity: 0;
  right: 0;
  left: auto;
}

.solution .item.type_4 .img-wrap::after {
  content: "";
  height: 55px;
  width: 55px;
  background-color: #acd8cf;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -webkit-transition: opacity .5s ease-in-out;
  right: 0;
  left: auto;
}

.solution .item.type_4 .solution-post:hover .img-wrap::after {
  opacity: 1;
}

.solution .item.type_4 .solution-post:hover .img-wrap::before {
  height: 100%;
  opacity: 1;
}

/*end of animation section*/

.solution .slick-track {
  display: flex;
}

.solution .page-center {
  padding-right: 15px;
  padding-left: 15px;
}


.solution .solution-post:hover a.hs-button {
  background-color: rgba(,  );
}

.solution .item {
  margin: 15px 0;
}

.solution .item-inner {
  margin: 0;
}

.solution .solution-row {
  width: auto;
  margin: 0 -15px;
}

@media (max-width: 1440px){
  .solution .thumb .img-wrap img.main-img {
    max-height: 220px;
  }
  .solution .thumb {
    padding: 45px 0;
  }
  .solution .summary a.hs-button {
    bottom: 20px;
  }
}


@media (max-width: 1366px){
  .solution .thumb {
    padding: 35px 0;
  }
  .solution .thumb .img-wrap img.main-img {
    max-height: 200px;
  }
  .solution .item.type_4 .img-wrap::before {
    width: 45px;
  }
  .solution .item.type_4 .img-wrap::after {
    width: 45px;
    height: 45px;
  }
  
  .solution .item.type_3 ..img-wrap::before {
      /*needs rewriting*/
    height: 15px;
    width: 30px;
  }
  
    .solution .item.type_3 .img-wrap::after {
    width: 45px;
    height: 45px;
  }
  .solution .item.type_2 .img-wrap::before {
    width: 45px;
  }
  .solution .item.type_2 .img-wrap::after {
    width: 45px;
    height: 45px;
  }
  .solutuion .item.type_3 .dot-animation {
    height: 20px;
  }
  .solution .item.type_3 .dot-animation::before {
    height: 45px;
    width: 45px;
    border-radius: 30px;
    position: absolute;
    top: -4px;
    left: 14px;
    transition: all ease 1s;
    opacity: 1;
}
  .solution .item.type_3 .dot-animation::after {
  right: 0;
  left: 100%;
  background-color: #fe5f54;
}
  .solution .item.type_3 .solution-post:hover .dot-animation::before {
  opacity: 1;
  height: 80%;
}
  .solution .item.type_1 .img-wrap::before {
    width: 45px;
  }
  .solution .item.type_1 .img-wrap::after {
    width: 45px;
    height: 45px;
  }
  
  


@media (max-width: 1199px){
  .solution .page-center {
    padding: 0;
    max-width: 100%;
  }
  .solution h2.title {
    padding: 0px 20px;
  }

  .solution .summary {
    padding: 0px 20px;
  }

  .solution .summary h5 {
    font-size: 18px;
  }

  .solution .summary p {
    font-size: 14px;
  }

  .solution .summary a.hs-button {
    min-width: 140px;
  }

  .solution .hover-text h5 {
    font-size: 18px;
  }
  .solution .slick-list {
    overflow: visible;
    padding: 0px 60px;
  }
  .solution .solution-post {
    padding-bottom: 70px;
  }
  .solution a.hs-button {
    padding: 8px 30px;
    font-size: 14px;
  }
  .solution a.
  
}


@media screen and (max-width: 991px){
  .solution {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .solution h2.title {
    font-size: 26px;
    padding: 0px 25px;
  }

  .solution .hover-text a.hs-button,
  .solution .summary a.hs-button {
    min-width: auto;
    left: 20px;
    width: auto;
    max-width: calc(100% - 40px);
    padding: 7px 18px;
    font-size: 12px;
  }
}

@media screen and (max-width: 767px){
  .solution {
    padding: 60px 0;
  }
  .solution .summary h5 {
    font-size: 16px;
  }
  .solution .hover-text h5 {
    font-size: 16px;
  }
}