/* TIKTOK FEED GRID */
.ctvf-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
@media (max-width: 1024px) {
    .ctvf-container.ctvf-feed {
        width: calc(50% - 20px)!important;
    }
}
@media (max-width: 450px) {
    .ctvf-grid {
      display: block;
    }
    .ctvf-container.ctvf-feed {
        width: 100%!important;
    }
}
.ctvf-grid .ctvf-container.ctvf-feed .ctvf-card {
    width: 100%;
}
/* TIKTOK Card */
.ctvf-card {
    border: 1px solid #ddd;
    text-align: center;
}
.ctvf-card:after {
    content: ""; 
    visibility: hidden; 
    display: block; 
    height: 0; 
    clear: both;
}
.ctvf-card a {
    text-decoration: none;
    box-shadow: none;
}
.ctvf-card a:hover {
    opacity: 0.7;
}
.ctvf-img {
    max-height: 600px;
    overflow: hidden;
}
.ctvf-btn-wrapper {
    margin-bottom: 40px;
}
.ctvf-btn {
    position: absolute;
    top: -30px;
    left: calc(50% - 30px);
    width: 60px;
    height: 60px;
    padding: 0;
    margin: 0;
    font-size: 25px;
    color: #fff;
    border-radius: 100%;
    background-color: #F96B4C;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#F96B4C), to(#F23182));
    background-image: linear-gradient(#F96B4C, #F23182);
    display: block;
    border-radius: 100%;
    box-shadow: 0 2px 0 #D42D78, 0 3px 10px rgba(243, 49, 128, 0.15), 0 0px 10px rgba(243, 49, 128, 0.15), 0 0px 4px rgba(0, 0, 0, 0.35), 0 5px 20px rgba(243, 49, 128, 0.25), 0 15px 40px rgba(243, 49, 128, 0.75), inset 0 0 15px rgba(255, 255, 255, 0.05);
}
.ctvf-btn:hover {
    box-shadow: 0px 0px 30px 10px #ffffff;
    text-decoration: none;
}
.ctvf-desc {
    position: relative;
    padding: 10px;
}
.ctvf-user {
    margin: 10px;
}
.ctvf-user h2 {
    font-weight: 700;
    margin: 0;
}
.ctvf-user span.ctvf-follow {
    display: inline-block;
    margin-left: 5px;
    background-color: #cd2653;
    color: #fff;
    padding: 3px 7px;
    font-size: 12px;
}
.ctvf-watch {
    display: block;
    width: 90%;
    margin: 10px auto;
    background-color: #e1e1e1;
    color: #222;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.ctvf-sound {
    margin: 0 0 0em 0;
}
.ctvf-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px 20px;
}
.ctvf-stats .user-stats {
    width: 32%;
    /* border-right: 1px solid #ddd; */
}
.ctvf-stats .user-stats strong {
    display: block;
    text-transform: uppercase;
}
.ctvf-stats .user-stats:last-child {
    border-right: 0px;
}
@media (max-width: 450px) {
    .ctvf-stats {
        display: block;
    }
    .ctvf-stats .user-stats {
        width: 100%;
        border-right: 0px;
        padding: 6px;
        background-color: rgba(255,255,255,0.4);
        border: 1px solid rgba(170,170,170,0.4);
        margin: 6px;
    }
    .ctvf-stats .user-stats strong {
        display: inline-block;
        margin-right: 5px;
    }
     .ctvf-stats .user-stats strong:after {
        content: ':'
    }
    .ctvf-stats .user-stats span {
      font-size: 18px;
    }
}

.ctvf-shadow {
    position: relative;
    -webkit-transition: -webkit-transform 0.2s ease-in-out;
    transition: -webkit-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    will-change: transform;
}
.ctvf-shadow:before,
.ctvf-shadow:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
    will-change: opacity;
}
.ctvf-shadow:before {
    box-shadow: 0 25px 30px -20px rgba(0,0,0,0.2);
}
.ctvf-shadow:after {
    opacity: 0;
    box-shadow: 0 35px 30px -7px rgba(0,0,0,0.22);
}

/* VIDEO POPUP */
.ctvf-popup-enter {
    opacity: 0
}
.ctvf-popup-enter-active {
    animation: pop-in 1s ease-out forwards;
    transform: opacity 1s;
}

@keyframes pop-in {
    from {
        transform: translateY(50px);
    }
    to {
        transform: translateY(0);
    }
}
@keyframes pop-out {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(50px);
    }
}
.ctvf-vidshow {
    position: fixed;
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 9999;
    cursor: pointer;
}
.ctvf-vidshow [id^='ctvf-'] {
    position: relative;
    top: calc(50% - 360px);
    width:405px; 
    height: 720px;
    margin: auto;
}
@media (max-width: 450px) {
    .ctvf-vidshow [id^='ctvf-'] {
        width: 100%;
        height: 100%;
        margin-top: 0;
    }
}
.tiktok-vid [id^='ctvf-'] video {
    z-index: 9999999;
}
.ctvf-close {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px;
    background-color: #222;
    color: #fff;
    font-weight: 700;
    width: 50px;
    height: 50px;
    border-radius: 100%;
}
@media (max-width: 450px) {
    .ctvf-close {
        top: 10px;
        right: 10px;
        padding: 10px;
        width: 35px;
        height: 35px;
        font-size: 13px;
        line-height: 100%;
    }
}


/* Spinner Kit for Products Widget */
.sk-folding-cube {
    margin: 20px auto;
    width: 40px;
    height: 40px;
    position: relative;
    -webkit-transform: rotateZ(45deg);
            transform: rotateZ(45deg);
  }
  
  .sk-folding-cube .sk-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1); 
  }
  .sk-folding-cube .sk-cube:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d1396f;
    -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
            animation: sk-foldCubeAngle 2.4s infinite linear both;
    -webkit-transform-origin: 100% 100%;
        -ms-transform-origin: 100% 100%;
            transform-origin: 100% 100%;
  }
  .sk-folding-cube .sk-cube2 {
    -webkit-transform: scale(1.1) rotateZ(90deg);
            transform: scale(1.1) rotateZ(90deg);
  }
  .sk-folding-cube .sk-cube3 {
    -webkit-transform: scale(1.1) rotateZ(180deg);
            transform: scale(1.1) rotateZ(180deg);
  }
  .sk-folding-cube .sk-cube4 {
    -webkit-transform: scale(1.1) rotateZ(270deg);
            transform: scale(1.1) rotateZ(270deg);
  }
  .sk-folding-cube .sk-cube2:before {
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s;
  }
  .sk-folding-cube .sk-cube3:before {
    -webkit-animation-delay: 0.6s;
            animation-delay: 0.6s; 
  }
  .sk-folding-cube .sk-cube4:before {
    -webkit-animation-delay: 0.9s;
            animation-delay: 0.9s;
  }
  @-webkit-keyframes sk-foldCubeAngle {
    0%, 10% {
      -webkit-transform: perspective(140px) rotateX(-180deg);
              transform: perspective(140px) rotateX(-180deg);
      opacity: 0; 
    } 25%, 75% {
      -webkit-transform: perspective(140px) rotateX(0deg);
              transform: perspective(140px) rotateX(0deg);
      opacity: 1; 
    } 90%, 100% {
      -webkit-transform: perspective(140px) rotateY(180deg);
              transform: perspective(140px) rotateY(180deg);
      opacity: 0; 
    } 
  }
  
  @keyframes sk-foldCubeAngle {
    0%, 10% {
      -webkit-transform: perspective(140px) rotateX(-180deg);
              transform: perspective(140px) rotateX(-180deg);
      opacity: 0; 
    } 25%, 75% {
      -webkit-transform: perspective(140px) rotateX(0deg);
              transform: perspective(140px) rotateX(0deg);
      opacity: 1; 
    } 90%, 100% {
      -webkit-transform: perspective(140px) rotateY(180deg);
              transform: perspective(140px) rotateY(180deg);
      opacity: 0; 
    }
  }