.generic-type-picker {
    background: @modal-content-bg;

    .modal-body {
        padding: 0;
    }

    .types-list {
        padding: @modal-inner-padding;
        margin: 0;
        list-style: none;

        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;

        .type-entry-btn {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            padding: floor(@grid-gutter-width / 2);
        }

        .type-entry:hover,
        .type-entry.selected {
            .type-entry-btn {
                background-color: @gray-lightest;
                border-radius: @border-radius-base;
            }
        }
    }

    .type-icon { // works with FontAwesome, ResourceIcon and custom Quiz SVG icons
        text-align: center;
        width: 82px;
        height: 82px;
        font-size: 51px;
        padding: 10px;
        border: 2px solid #777;
        border-radius: @border-radius-base;
        fill: #777;
        stroke: #777;
        color: #777;
    }

    .type-name {
        font-size: 20px;
        font-weight: bold;
    }

    .type-desc {
        padding: @modal-inner-padding;
        border-top: 1px solid @modal-header-border-color;
        background: @modal-footer-bg;
        text-align: center;

        p {
            font-style: italic;
            color: #555;
            margin-bottom: 0;
        }
    }
}


@media (max-width: @screen-sm-min) {
    .generic-type-picker {
        .type-icon { // works with FontAwesome, ResourceIcon and custom Quiz SVG icons
            width: 64px;
            height: 64px;
            font-size: 40px;
        }
    }
}