/* ==========================================================================
   Emblem Styles
   ========================================================================== */

.emblem {
    position: relative;
    margin: auto;
    will-change: transform;
    transition: transform 1s ease-out;
}

.emblem:hover {
    cursor: pointer;
    transform: scale(1.2);
}

.emblem > h2 {
    position: absolute;
    display: block;
    top: 33%;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(var(--app-black-rgb), 0.68);
    letter-spacing: -1px;
    color: rgb(var(--app-white-rgb));
}

.emblem-wrapper {
    position: absolute;
    line-height: 0;
}

/* ==========================================================================
   Emblem Thumbnail
   Small inline emblem used in tables and results
   ========================================================================== */

.emblem-thumb {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 12px;
    margin-top: -8px;
}

.emblem-thumb--sm {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    margin-top: -4px;
}

/* Emblem in a browse-table cell: a fixed box so the rows keep one height
   whatever the emblem's own aspect is (#706). */
.emblem-cell {
    width: 30px;
    height: 30px;
}
