.large_clip {
    width: 100%;
    height: 100%;
    min-height: 100%; /* Overring mdl-card styles */
    display: block;
    align-items: center;
}

.large_clip {
    text-decoration: none;
}

.large_clip .mdl-card__media {
    float : left;
    position: relative;
    margin-right: 10px;
    height: 100%;
    max-height: 100%;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
}

.large_clip .mdl-card__media img {
    height: calc(100% + 1px);
    max-width: 100%;
    object-fit: contain;
    background-image: url('../../../img/spinner-rosetta-gray-26x26.gif');
    background-repeat: no-repeat;
    background-position: center;
}

.large_clip .mdl-card__media .play-icon {
    position: absolute;
    top: calc(50% - 24px);
    right: calc(50% - 24px);
    font-size: 48px;
    color: white;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
}


.large_clip .clip_metadata {
    padding: 10px;
}

.large_clip .mdl-card__supporting-text {
    width: auto;
    padding: 4px 0px;
}

.large_clip .clip_length {
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding: 4px 6px;

    color: white;
    background-color: rgba(0,0,0,0.5);
}


.large_clip .clip_title {
    font-size: 18px;
    color: #6f6f6f;
    font-weight: 500;
}

.large_clip .clip_title,
.large_clip .description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 24px;     /* fallback */
    max-height: 46px;      /* fallback */
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
}

.large_clip:hover .clip_title {
    text-decoration: underline;
}

.large_clip .clip-current-state-icon {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 4px 6px;
    color: gray;
}

/*
@media screen and (max-width: 480px){
    .large_clip .mdl-card__media {
        float: none;
        vertical-align: bottom;
        margin-right: initial;
        height: initial;
    }

    .large_clip .mdl-card__media img {
        width: 100%;
    }

    .large_clip .clip_metadata {
        display: block;
        position: relative;
        width: calc(100% - 20px);

    }
}
*/
.large_clip:hover {
    z-index: 2;
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.12), 0px 6px 6px 0px rgba(0,0,0,0.24);
}

.large_clip:not(:hover) .mdl-card__media .play-icon {
    opacity: 0;
    -webkit-transition: opacity, 0.2s;
    -moz-transition: opacity, 0.2s;
    transition: opacity, 0.2s;
}
