.clientsPage {
  .storiesWrap {
    padding-bottom: 205px;
  }
}

.chooseContentWrap {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;

  .chooseItem {
    width: 100%;
    max-width: 16.5%;
    flex: 0 0 16.5%;
    -ms-flex: 0 0 16.5%;
    padding: 15px;
    position: relative;

    &::after {
      width: 1px;
      height: 80%;
      position: absolute;
      content: "";
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.25);
    }

    &::before {
      width: 80%;
      height: 1px;
      position: absolute;
      content: "";
      right: auto;
      left: 50%;
      top: 100%;
      transform: translateX(-50%);
      background-color: rgba(0, 0, 0, 0.25);
    }

    &:last-child,
    &:nth-child(6n) {
      &:after {
        display: none;
      }
    }

    &:nth-last-child(1),
    &:nth-last-child(2),
    &:nth-last-child(3),
    &:nth-last-child(4),
    &:nth-last-child(5),
    &:nth-last-child(6) {
      &::before {
        display: none;
      }
    }

    .chooseInner {
      height: 100%;
      padding: 20px;
      border-radius: 15px;
      transition: 0.5s;

      .chooseIcon {
        width: 60px;
        height: 60px;
        border-radius: 10px;
        margin: 0 auto;
        margin-bottom: 10px;
      }

      .chooseTxt {
        text-align: center;
      }
    }
  }
}

.productCommon {
  .productBox {
    padding-bottom: 145px;
  }

  .clientProject {
    margin-top: 35px;
  }

  &.productSec_1 {
    position: relative;
    z-index: 2;
  }

  .slick-arrow {
    position: absolute;
    font-size: 0px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #D9D9D9;
    border: none;
    top: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
  }

  .slick-arrow {
    background-color: #D9D9D9;
    border: none;
    transform: translateX(-50%);
    transition: 0.5s;
    bottom: -90px;
    top: auto;

    &.slick-next {
      right: calc(50% - 60px);
      background: url(../images/right_arrow_icon_right.png) no-repeat center center #D9D9D9;
      background-size: 80%;
      transform: none;
    }

    &.slick-prev {
      left: calc(50% - 60px);
      background: url(../images/left_arrow_icon_black.png) no-repeat center center #D9D9D9;
      background-size: 80%;
      transform: none;
    }

    &:hover {
      &.slick-next {
        background: url(../images/right_arrow_icon.png) no-repeat center center #00B565;
        background-size: 80%;
      }

      &.slick-prev {
        background: url(../images/left_arrow_icon.png) no-repeat center center #00B565;
        background-size: 80%;
      }
    }
  }

  .productItem {
    margin: 0 15px;

    .productItemImg {
      border-radius: 15px;
      overflow: hidden;
    }

    .productBottom {
      padding: 10px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .productTitle {
        width: 100%;
        padding-right: 10px;

        a {
          font-family: 'Unbounded';
          font-size: 20px;
          color: #000;
          font-weight: 400;
        }
      }

      .btnWrap {
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
      }
    }

    &:hover {
      .btnWrap {
        opacity: 1;
        visibility: visible;
      }
    }
  }
}

/* start responsive */
@media(max-width: 1280px) {
  .chooseContentWrap {
    & .chooseItem {
      max-width: 20%;
      flex: 0 0 20%;

      &:nth-last-child(5n + 2) {
        &::after {
          display: none;
        }
      }

      &:nth-last-child(2n + 6) {
        &::before {
          display: block;
        }
      }
    }
  }
}

@media(max-width: 1199px) {
  .chooseContentWrap {
    & .chooseItem {
      max-width: 25%;
      flex: 0 0 25%;

      &:nth-last-child(3) {
        &::after {
          display: none;
        }
      }

      &:nth-last-child(2) {
        &::after {
          display: block;
        }
      }

      &:nth-last-child(5) {
        &::before {
          display: block;
        }
      }
    }
  }
}

@media(max-width: 991px) {
  .chooseContentWrap {
    & .chooseItem {
      max-width: 33.33%;
      flex: 0 0 33.33%;

      &:nth-last-child(4) {
        &::after {
          display: none;
        }
      }

      &:nth-last-child(3) {
        &::after {
          display: block;
        }
      }

      &:nth-last-child(2) {
        &::after {
          display: block;
        }
      }

      &:nth-last-child(5) {
        &::before {
          display: block;
        }
      }

      &:nth-last-child(4) {
        &::before {
          display: block;
        }
      }
    }
  }
}

@media(max-width: 768px) {

  .clientsPage {
    .storiesWrap {
      padding-bottom: 150px;
    }
  }

  /* start clients */
  .chooseContentWrap {
    & .chooseItem {
      max-width: 50%;
      flex: 0 0 50%;

      &:nth-last-child(3n + 2) {
        &::after {
          display: none;
        }
      }

      &:nth-last-child(4) {
        &::after {
          display: block;
        }
      }

      &:nth-last-child(2) {
        &::after {
          display: block;
        }
      }

      &:nth-last-child(3) {
        &::after {
          display: none;
        }

        &::before {
          display: block;
        }
      }


    }
  }
}

@media(max-width: 500px) {
  .chooseContentWrap {
    margin-top: 0;

    & .chooseItem {
      max-width: 100%;
      flex: 0 0 100%;

      &::before {
        width: 100%;
        top: auto;
        bottom: 0;
      }

      &:nth-last-child(2n + 2) {
        &::after {
          display: none;
        }

        &::before {
          display: block;
        }
      }

      &:nth-last-child(3) {}

      .chooseInner {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
      }
    }
  }
}

@media(max-width: 480px) {
  .clientsPage {
    .storiesWrap {
      padding-bottom: 130px;
    }
  }
}

/* end responsive */