@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700&subset=latin-ext');

@import '~slick-carousel/slick/slick';
@import '~slick-carousel/slick/slick-theme';

.tik-tok-bootstrap {
  @import "~bootstrap";
  @import "variables";

  a {
    color: #19110b;
    text-decoration: unset;
  }

  .badge {
    font-size: $badge-font-size;
  }

  .fade {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

.tik-tok-feed-wrap {
  //font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-family: 'Quicksand', sans-serif;
  padding: 20px 0;

  * {
    font-family: inherit;
  }

  .user-description {
    text-align: center;
    padding-top: 10px;
  }

  .arrows {
    .left, .right {
      background-color: transparent;
      color: #000000;
      border: unset;
      padding: 0;
    }
  }

  .arrow {
    .up, .down {
      background-color: transparent;
      color: #000000;
      border: unset;
      padding: 0;
    }
  }

  .avatar img {
    border: double 5px transparent;
    background-image: linear-gradient(white, white), radial-gradient(circle at top left, #5bf7f2, #fb3961);
    background-origin: border-box;
    background-clip: content-box, border-box;
  }


  .details {
    .is-verified {
      background-color: #21d5ec;
      color: white;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      padding: 2px;
      margin-top: 8px;
    }

    h2 {
      margin-bottom: 5px;
    }

    h4 {
      margin-bottom: 0;
    }
  }


  .tik-tok-feed-carousel {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;

    .tik-tok-video-cover {
      img {
        padding: 0 10px;
      }
    }

    .views-cover {
      position: absolute;
      bottom: 15px;
      left: 15px;
      color: #fff;
      font-weight: bold;
    }

    .slick-slide:not(:last-child) {
      margin-right: 2px;
    }
  }

  .tik-tok-video {
    padding: 10px;

    .created-date {
      font-size: 14px;
      font-weight: bold;
    }

    .counters .item svg {
      background-color: #f1f1f2;
      color: #2b2f38;
      padding: 6px;
      border-radius: 50%;
      width: 30px;
      height: 30px;
    }

    .bottom-arrows {
      position: absolute;
      bottom: 3.5%;
      right: 3%;
    }
  }



  /*
  * For horizontal
   */
  .slick-slide {
    width: 255px;

    img {
      //max-height: 480px;
      transition: .25s;
      opacity: .5;
    }
  }

  .slick-center {
    img {
      transform: scale(1);
      opacity: 1;
    }
  }

  /*
  * For vertical
   */
  .slick-vertical {
    .slick-slide {
      img {
        max-height: 480px;
        transition: unset;
        opacity: 1;
        margin: 0 auto;
      }
    }

    .slick-center {
      img {
        transform: unset;
        opacity: 1;
      }
    }
  }
}

.slick-loading .slick-list {
  background: #fff url("/wp-content/plugins/tik-tok-feed/images/vendor/slick-carousel/slick/ajax-loader.gif") center center no-repeat;
}

.slick-prev:before,
.slick-next:before {
  color: red;
}

.btn-grad {
  background-image: linear-gradient(to right, #5bf7f2 0%, #fb3961  51%, #000000  100%);
  padding: 5px 10px;
  //margin: 0 auto;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: #000000;
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: inline-block;
  border: unset;
  font-weight: bold;

  &:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
  }
}

/**
* WILL SEE IN FUTURE
 */

.tik-tok-video .controls {
  font-size: 0;
}

.tik-tok-video .controls figcaption {
  background: rgba(0,0,0,0.6);
  display: none;
  padding: .5em;
  color: #fff;
  position: relative;
  top: -1.7rem;
  text-align: right;
  //margin-bottom: -2.2rem;
}

.tik-tok-video .controls figcaption a {
  text-decoration: none;
  font-size: 1rem;
  margin-right: .5rem;
  color: #fff;
  border-bottom: none;
}

.tik-tok-video .controls a:hover {
  color: red;
}

.tik-tok-video .controls a:visited {
  color: #770;
}

@import "profile";