/** @format */
.slick-slider {
  padding-top: 2em;
  padding-bottom: 2em;
}
.slick-dots {
  list-style: none;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 2em 0 0 0;
  width: 100%;
  justify-content: center;

  li {
    position: relative;
    display: inline-block;
    height: 20px;
    width: 20px;
    margin: 0px 5px;
    padding: 0px;
    cursor: pointer;

    button {
      border: 0;
      background: transparent;
      display: block;
      height: 20px;
      width: 20px;
      outline: 0;
      line-height: 0;
      font-size: 0;
      color: transparent;
      padding: 5px;
      cursor: pointer;
      &:focus {
        outline: 0;
      }

      &:before {
        position: absolute;
        top: 0;
        left: 0;
        content: " ";
        width: 20px;
        height: 20px;
        border-radius: 50%;

        line-height: 20px;
        text-align: center;
        background-color: #505e86;
        opacity: 0.5;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }
    }

    &.slick-active button:before {
      opacity: 1;
    }
  }
}

.single__slider {
  .slick-dots {
    padding: 0;
    li {
      height: 14px;
      width: 14px;
      button {
        height: 14px;
        width: 14px;
        &:before {
          width: 14px;
          height: 14px;
          background-color: #fff;
        }
      }
    }
  }
}

.projectsSlider {
  position: initial; /*important, allows container-fluid to be the relative*/
  .slick-list {
    overflow: visible !important; /*important, allows overflow slides to be visible*/
  }
}

.sliderButtons {
  margin-top: -2em;
  position: relative;
  z-index: 10;
  button {
    appearance: none;
    border: none;
    padding: 0;
    margin: 0;
    margin-right: 0.5em;
    background: none;
    &.slick-disabled {
      filter: grayscale(100%);
    }
    &:hover {
      cursor: pointer;
    }
  }
}

.fourStepSlider {
  &__buttons {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    justify-content: center;
    margin-top: -4em;
  }
  .slick-dots {
    padding: 0;
    display: flex;
    flex-direction: row;
    background-color: #f5f4f4;
    width: 100%;
    flex-wrap: nowrap;
    margin-top: 2em;
    li {
      height: 6px;
      width: 100%;
      display: flex;
      margin: 0 !important;
      button {
        transition: background-color 0.3s ease-in-out;
        width: 100%;
        height: 6px;
        display: flex;
        border: none;
        padding: 0;
        &:before {
          display: none;
        }
      }
      &.slick-active {
        button {
          background-color: #22293c !important;
        }
      }
    }
  }
}
