/* MEG - Schede prodotto (Dropfiles, file singolo)
 * Markup: templates/rt_supra/html/layouts/com_dropfiles/dropfiles/singlefile/tpl.php
 *   .meg-scheda > a.meg-scheda__link > img.meg-scheda__anteprima + span.meg-scheda__titolo
 * Contenitore del campo: .meg-schede-download (campo "Downloads allegati")
 * Base minima: da rifinire insieme al custom.css
 */
.meg-scheda {
    display: inline-block;
    vertical-align: top;
    width: 130px;
    margin: 0 12px 12px 0;
}

.meg-scheda__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

.meg-scheda__anteprima {
    display: block;
    height: 100px;
    width: auto;
    max-width: 100%;
    margin-bottom: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.meg-scheda__anteprima--vuota {
    width: 71px;
    line-height: 100px;
    background: #eee;
    font-size: 0.8rem;
}

.meg-scheda__titolo {
    font-size: 0.8rem;
    line-height: 1.3;
}
