/**
 *
 * Topic/Post Reactions. An extension for the phpBB 3.2.0 Forum Software package.
 * @author Steve <http://www.steven-clark.online/phpBB3-Extensions/>
 * @copyright (c) phpBB Limited <https://www.phpbb.com>
 * @license GNU General Public License, version 2 (GPL-2.0)
 * Blank file to over ride default css file ,0.6.0
 */

/* Four reaction columns with a separate full-width removal action. */
.reaction-button-show .post-reaction-dropdown {
    column-count: auto;
    width: 227px;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    padding: 0;
}

.reaction-button-show .post-reaction-dropdown > li.tpr-reaction-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.reaction-button-show .tpr-reaction-grid > a {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: auto;
    min-width: 0;
    min-height: 56px;
    box-sizing: border-box;
    margin: 0;
    padding: 7px;
    border: 0;
    border-right: 1px dotted #ddd;
    border-bottom: 1px dotted #ddd;
    text-decoration: none;
}

.reaction-button-show .tpr-reaction-grid > a:nth-child(4n) {
    border-right: 0;
}

.reaction-button-show .tpr-reaction-grid > a:hover {
    background-color: #f2f2f2;
}

.reaction-button-show .tpr-reaction-grid .reaction_image_select {
    display: block;
    max-width: 100%;
    object-fit: fill;
}

.reaction-button-show .post-reaction-dropdown > li.tpr-delete-row {
    float: none;
    clear: both;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 6px;
    border: 0;
    list-style: none;
}

.reaction-button-show .tpr-delete-row.hidden {
    display: none !important;
}

.reaction-button-show a.tpr-delete-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    float: none;
    width: 100%;
    min-height: 28px;
    box-sizing: border-box;
    margin: 0;
    padding: 5px 8px;
    border: 0;
    border-radius: 4px;
    background: #ff5277;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.reaction-button-show a.tpr-delete-button:hover,
.reaction-button-show a.tpr-delete-button:focus {
    background: #e53e63;
    color: #fff;
}

.reaction-button-show .tpr-reaction-grid > a:focus-visible,
.reaction-button-show a.tpr-delete-button:focus-visible {
    outline: 2px solid #333;
    outline-offset: -2px;
}

@media (max-width: 430px) {
    .reaction-button-show .post-reaction-dropdown {
        width: 187px;
    }

    .reaction-button-show .tpr-reaction-grid > a {
        min-height: 46px;
        padding: 5px;
    }
}

.reaction-button-show .tpr-reaction-grid > a.is-selected {
    background-color: #f2f2f2;
}