/* Author Bio Shortcode */
.author-bio-shortcode {
  .author_bio_shortcode_wrap {
    position: relative;
    max-width: 730px;
    margin: 0 auto;
    .owl-carousel.owl-loaded {
      margin-bottom: 0;
    }
    .custom-nav {
      display: none;
    }
  }
  text-align: center;
  .bio-text {
    color: $lightColor;
    font-size: 16px;
    padding: 0 15px;
    position: relative;
    max-width: 730px;
  }

  .author-bio-word {
    position: absolute;
    width: 100%;
    top: -50%;
    left: -80px;
    font-size: 240px;
    text-transform: uppercase;
    font-weight: 900;
    color: $mainColor;
    opacity: 0.1;
    @media(max-width: 1350px){
      font-size: 200px;
    }
    @media(max-width: 1200px){
      font-size: 150px;
    }
    @media(max-width: 991px){
      font-size: 120px;
    }
    @media(max-width: 768px){
      font-size: 100px;
    }
    @media(max-width: 575px){
      font-size: 80px;
    }
    @media(max-width: 480px){
      font-size: 50px;
    }
  }

  .owl-carousel-slider {
    transition: left 0.5s ease;
    position: relative;
    margin-top: 94px;
    margin-bottom: 90px;
    transform: translateX(50%);
    height: 5px;
    background-color: rgba($lightColor, 0.1);
    @media(max-width: 1200px){
      margin-bottom: 60px;
    }
    @media(max-width: 991px){
      margin-bottom: 50px;
    }
    @media(max-width: 768px){
      margin-bottom: 40px;
    }
  }

  .ui-slider-handle{
    outline: none;
    display: none;
  }
  .ui-slider-range {
    height: 5px;
    transition: width 0.5s ease;
    background-color: $lightColor;
    position: absolute;
    top:0;
  }

  .author-bio-flex {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;

    //dots
    &:first-child {
      margin-left: -15px;
      margin-right: -15px;
      span {
        transition: background-color 0.5s ease;
        margin-top: -5px;
        cursor: pointer;
        display: block;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background-color: $mainColor;
        box-shadow: 0 0 0 4px rgba($darkColor, 0.4);
        &.active {

          background-color: $mainColor;
        }
      }
      //years
      & + div {
        margin-left: -2.5em;
        margin-right: -1em;
        position: relative;
        top: -60px;
      }
    }

    .year-label {
      transition: color 0.5s ease;
      color: $lightColor;
      font-size: 20px;
      font-weight: bold;
      text-indent: 0.2em;
      &.active{
        color: $mainColor;
      }

    }
  }
}