/* Report pages: images floated beside the write-up (was inline in ntdd.php) */
figure.floatright,
figure.floatleft {
    max-width: 300px;
}
figure.floatright {
    float: right;
    margin: 0 0 1em 1em;
}
figure.floatleft {
    float: left;
    margin: 0 1em 1em 0;
}
figure.floatright img,
figure.floatleft img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile: no float, full width */
@media (max-width: 768px) {
    figure.floatright,
    figure.floatleft {
        float: none;
        max-width: 100%;
        margin: 1em 0;
    }
}
