/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


/**
Video Card styling
**/

.kcm-video-card {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.kcm-video-card>a {
    width: 100%;
    display: inline-block;
}

.kcm-video-card img {
    width: 100%;
}

.kcm-video-card .card-details h4 {
    margin: 0;
    font-size: 1em;
}

.kcm-video-card .card-details {
    text-align: center;
    padding: 10px;
}

.kcm-video-card .card-details .x-recent-posts-date {
    font-size: .7em;
    color: #aaa;
}

#generic_video {
    display: none;
}


/** Instagram Ready */

.instagram-ready-wrapper {
    margin-bottom: 20px;
}

.instagram-ready {
    padding: 3px 7px;
    color: white;
    background: radial-gradient(circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) top right/140% 220%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.not-instagram-ready {
    padding: 3px 7px;
}


/**
 * Thumbnail styles 
 */

.video-thumbnail-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.video-thumbnail-wrapper video {
    max-width: 100%;
}

.video-thumbnail-wrapper .video-hover-icon {
    transition: all 0.3s;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00aeffb0;
    color: #fff;
    text-align: center;
    font-size: 2.4em;
    display: none;
}

.video-hover-icon span {
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -1em;
}

.video-thumbnail-wrapper:hover .video-hover-icon {
    display: inline-block;
}

.video-sources-wrapper a {
    word-break: break-all;
}