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

.large_record a {
    text-decoration: none;
}

.large_record:hover h2 {
    text-decoration: underline;
}

.large_record .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_record .mdl-card__media img {
    height: calc(100% + 1px);
    width: 100%;
    max-width: 268px;
    max-height: 150px;
    object-fit: cover;
    background-image: url('../../../img/spinner-rosetta-gray-26x26.gif');
    background-repeat: no-repeat;
    background-position: center center;
}

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

.large_record .record_metadata {
    padding: 10px;
}

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

.large_record .record_length {
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding: 4px 6px;

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


.large_record .record_title {
    font-size: 18px;
    font-weight: 500;
}

.large_record .record_title,
.large_record .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_record: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_record:not(:hover) .mdl-card__media .play-icon {
    opacity: 0;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

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

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

    .large_record .record_metadata {
        display: block;
        position: relative;
        width: calc(100% - 20px);
    }
}*/

@media screen and (max-width: 480px){
    .large_record .mdl-card__media {
        height: 96px;
        width: 40%;
    }

    .large_record .mdl-card__media img {
        object-fit: cover;
    }

    .large_record .record_metadata {
        padding: 2px;
    }

    .large_record .description {
        display: none;
    }
}
